10 lines
185 B
MySQL
10 lines
185 B
MySQL
|
SELECT
|
||
|
e.id,
|
||
|
e.ref,
|
||
|
e.notes,
|
||
|
c.code companyCode,
|
||
|
t.landed
|
||
|
FROM entry e
|
||
|
JOIN travel t ON t.id = e.travelFk
|
||
|
JOIN company c ON c.id = e.companyFk
|
||
|
WHERE e.id = ?
|