i have a date field in a table..i want to retrieve the data with latest date...is there any query for that.....
how to retrive latest date from mysql table
Collapse
X
-
Tags: None
-
-
Are you looking at something like:Originally posted by selvialagari have a date field in a table..i want to retrieve the data with latest date...is there any query for that.....
[code=mysql]
SELECT * FROM table_name1 WHERE date_column = (SELECT MAX(date_column ) FROM table_name1);
[/code]Comment
Comment