select c.name,
lastname, city, zip, address, count(n.id), n.name, passwd FROM customers c
LEFT JOIN nodes n ON n.ownerid = c.id WHERE deleted=0 GROUP BY c.id;
dzięki
-- Interconnect Sp.j.
R. Wróbel, K. Gambu¶
ul. 1 Maja 84
42-660 Kalety
KRS 0000329294
tel. 507118259