0
I want to find the id of the most recent match in relation to and date, like "timestamp".
I used the command:
select partida_id from partida
where 'data' = max('data');
But of error:
SQL Error [1111] [HY000]: Invalid use of group Function
What I have to change to make it work.