Generation

text to sql syntaxSun, 13 Nov 2022

Select all records with maximum existing date

SELECT * FROM table_name WHERE date=(SELECT MAX(date) FROM table_name);

Questions about programming?Chat with your personal AI assistant