Brug LEFT JOIN med fælles id for at kombinere data fra flere tabeller.
SELECT a.id,a.name,b.gender,c.age FROM table_a a LEFT JOIN table_b b ON a.id=b.id LEFT JOIN table_c c ON a.id=c.id;
Brug LEFT JOIN med fælles id for at kombinere data fra flere tabeller.
SELECT a.id,a.name,b.gender,c.age FROM table_a a LEFT JOIN table_b b ON a.id=b.id LEFT JOIN table_c c ON a.id=c.id;