I have 3 tables :
Table A1 : ID|Name|Date|Id_person
Table B1 : ID|Name|Date|Id_person
Table C1 : ID|Name|Date|Id_person
I want a query like:
select * from table A1 as a , table B1 as b , table C1 as c where a.Id_person=1 or b.Id_person=1 or c.Id_person=1
I get result only if id_person=1 in the 3 tables, And i get no result if just one the 3 table don't respect the condition.
How to get result from the tables even if one of theme don't respect the condition (id_person=1).