Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

sql where max date

SELECT report_id, computer_id, date_entered
FROM reports AS a
WHERE date_entered = ( SELECT MAX(date_entered) FROM reports );
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #sql #max #date
ADD COMMENT
Topic
Name
2+2 =