for a particular query where I need to show an entire tuple, based on the max value of a particular field, for this I need to use max at where clause, how can I use it? Right now I am achieving the same by limit 1
select * from
(select count(some_field) as field1 ..........order by field1 desc) as kil
limit 1