Mysql – SQL WHERE clause matching on the same field twice (or more). What is the right JOIN statement to be used?
I have a DB with two tables: employees table: fields = {ID, name} turnShift table: fields = {ID, date, ID_employee1, ID_employee2} Here is an example of this DB. Using MYSQL, I'd like to execute a SELECT query able to show…