reenadak

mysql query having count critearea

Sep 25th, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MySQL 0.15 KB | None | 0 0
  1. SELECT count(*),location from observations group by location having count(*)<2
  2.  
  3. # Useful, if we wish to list items having unique locations or no locations
Add Comment
Please, Sign In to add comment