Selecting and sorting Mysql into a larger field

I have two fields on my table, let's give date_created and date_updated

I want to select 20 recently updated / created entries

means i need to select the top dates from both fields, how to do that?

+2


a source to share


1 answer


found it!



largest (field1, field2)

+1


a source







All Articles