Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SELECT ubicacion, COUNT(*) AS Ejemplares
- FROM mascotas
- WHERE estado='A'
- GROUP BY Ubicacion
- HAVING COUNT(*) BETWEEN 2 AND 3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement