i am beginner in query mysql
i have table rows and value like this
i want to select from the table : order by ID descending and group by Phone so result will be like this
pls any body help me..
i already put like this
select * from messages where 1 group by phone order by ID desc
but its wrong
thank you