Skip to content
Advertisement

how to query the max value of count

I try to get the max count value but error

this is my data

I need to get the max count of tool_id

I use this code to get tool_count

and I use

to get max tool_count but it error

the result I need :

Advertisement

Answer

You can try using order by desc with limit 1

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement