Mysql
 sql >> Base de données >  >> RDS >> Mysql

MySQL :4 Table has-many-through Join ?

select a.* 
from Trucks t
inner join Boxes b on t.id = b.truck_id
inner join Apples a on b.id = a.box_id
where t.owner_id = 34