mysql - need a select query? count the number of id's which appear unique time? -


this question has answer here:

need select query should count cat_id table [output should 4][1]

[1]: https://i.stack.imgur.com/caqmc.pngoutput 4

select count (distinct cat_id) table_name 

Comments

Popular posts from this blog

4x4 Matrix in Python -

python - String indices must be integers and while issue -

python - PyInstaller UAC not working in onefile mode -