Hi I need to use order by max(columnName)
in ORMLite. I have the SQL query but I need to know how this query is used. This is my query:
SELECT * FROM table where place = 'somePlace' group by name
order by MAX (statusDate)
statusDate
column contains date in "yyyy-dd-mm"
format. The result I got is the list with recentDates.