Skip to content

Tag: sql

SQL Query for records

I want to write a SQL query to get problem solution given below – I have a table something like this: CREATE TABLE order ( id INT, name VARCHAR(255), income INT, order_date DATE ) …

Sum with latest date in SQL

Below is my SQL query Select [Item No_][Expiration Date],[Manufacturing Date] ,([Lot No_] ), Sum(Quantity)Quantity from [Warehouse Entry] Group by [Lot No_],[Expiration Date],[Manufacturing Date],[…