16 lines
254 B
MySQL
16 lines
254 B
MySQL
|
SELECT
|
||
|
b.itemFk,
|
||
|
b.quantity,
|
||
|
b.buyingValue,
|
||
|
b.stickers box,
|
||
|
b.packing,
|
||
|
i.name itemName,
|
||
|
i.tag5,
|
||
|
i.value5,
|
||
|
i.tag6,
|
||
|
i.value6,
|
||
|
i.tag7,
|
||
|
i.value7
|
||
|
FROM buy b
|
||
|
JOIN item i ON i.id = b.itemFk
|
||
|
WHERE b.entryFk = ?
|