Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
452 B
0
Indexable
Never
SELECT 
    CONCAT('s', serialnumber) AS Serial,
    Product,
    Size,
    Bin,
    Location,
    Previousbin AS PrevBin,
    PreviousLocation AS PrevLoc,
    Lastscandate,
    Username AS User
FROM
    shard.inventoryitemupdate 
WHERE
    username = 'Maria Guadalupe Guzman Sotelo'
        AND lastscandate >= '2023-03-31 06:00:00'
        AND lastscandate <= '2023-03-31 18:30:00'
        AND qtyonhand = 1
#GROUP BY Serial
ORDER BY lastscandate ASC