9 lines
157 B
MySQL
9 lines
157 B
MySQL
|
SELECT
|
||
|
r.id,
|
||
|
r.amountPaid,
|
||
|
r.amountUnpaid,
|
||
|
r.payed,
|
||
|
r.companyFk
|
||
|
FROM receipt r
|
||
|
JOIN client c ON c.id = r.clientFk
|
||
|
WHERE r.id = ?
|