9 lines
160 B
MySQL
9 lines
160 B
MySQL
|
SELECT
|
||
|
e.id,
|
||
|
t.landed,
|
||
|
e.ref
|
||
|
FROM entry e
|
||
|
JOIN invoiceIn i ON i.id = e.invoiceInFk
|
||
|
JOIN travel t ON t.id = e.travelFk
|
||
|
WHERE i.id = ?
|