Mysql selecting and sorting by the bigger field

Posted by tridat on Stack Overflow See other posts from Stack Overflow or by tridat
Published on 2010-04-19T04:01:33Z Indexed on 2010/04/19 4:03 UTC
Read the original article Hit count: 235

Filed under:
|

I have two fields on my table, lets say date_created and date_updated

I want to select 20 recently updated/created records

so it means i have to choose the top dates from both fields, how do i do that?

© Stack Overflow or respective owner

Related posts about mysql

Related posts about mysql-query