skip to Main Content

Min dates from group by postgresql

I have table with data: create table measure_app_scalemeasurement ( store_code text, certificate_id text, audit_ending date); insert into measure_app_scalemeasurement values ('K010','vwv', '10.12.2023'), ('K010','cert1','12.12.2023'), ('K054','vwv', '14.12.2023'), ('K054','cert1','20.01.2024'); I want to select min audit_ending date for each market store_code, also getting its corresponding…

VIEW QUESTION

Mysql – How do I fix this "Error in From clause"?

for this specific problem I had to enter the query: SELECT ProductName, Quantity FROM Products JOIN OrderDetails on OrderDetails.Productid= Products.Productid WHERE Quantity <5 On the website: https://www.w3schools.com/sql/trysql.asp?filename=trysql_select_all The question that I got this query from from was "Can you modify…

VIEW QUESTION
Back To Top
Search