Mysql
 sql >> Database >  >> RDS >> Mysql

Query MySQL:utilizzo di join/union ecc

Prova questo:

select p1.*,p2.total,p2.paid,p3.hotel from customers p1 
inner join payments p2 on p1.uid=p2.uid 
inner join projects p3 on p1.pid=p3.pid