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

java - How to handle special characters while unmarshalling xml in JAXB -

ios - Pass NSDictionary from Javascript to Objective-c in JavascriptCore -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -