Untitled

Anonymous
mysql
05/04/2023 9:02 PM
412 B
42
Indexable
SELECT 
    COUNT(serialnumber) serials,
    product,
    size,
    bin,
    location,
    lastscandate,
    SUBSTRING_INDEX(locationhistory, ']', 1) LocHis,
    ponum
FROM
    inventoryitem
WHERE
    location = 'gift pack pending'
        AND qtyonhand = 1
        group by product
ORDER BY lastscandate ASC
Editor is loading...