I have the following two tables:
Table: user_has_academy_teamColumns:user_id int(11) PKacademy_team_id int(11) PKtimestamp datetime
Table: user_has_academy_moduleColumns:id int(11) AI PKuser_id int(11)module_id int(11)academy_team_id int(11)academy_id int(11)sort_number int(11)is_complete int(11)score_to_pass int(11)is_open int(11)deadline datetimemodule_version_id int(11)waiting_approval int(11)
I wish to find all the records in the table user_has_academy_module
where academy_team_id
and user_id
does not match in user_has_academy_team