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

javascript - Clear button on addentry page doesn't work -

python - Error: Unresolved reference 'selenium' What is the reason? -

asp.net ajax - Jquery scroll to element just goes to top of page -