Mysql
 sql >> Datenbank >  >> RDS >> Mysql

SQL Join-Daten aus mehreren Tabellen mit MYSQL

versuchen Sie Folgendes:

select x.time, a.value as value_tba, b.value as value_tbb, c.value as value_tbc from (select time from a union select time from b union select time from c) x left join a on x.time = a.time left join b on x.time = b.time left join c on x.time = c.time