8 lines
167 B
MySQL
8 lines
167 B
MySQL
|
SELECT
|
||
|
s.name,
|
||
|
s.city,
|
||
|
cl.name AS manager
|
||
|
FROM company c
|
||
|
JOIN supplier s ON s.id = c.id
|
||
|
JOIN client cl ON cl.id = c.workerManagerFk
|
||
|
WHERE c.id = ?
|