Advertisement
manhattanxl

Contador de repetidos SQL

Dec 15th, 2018
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MySQL 0.12 KB | None | 0 0
  1. SELECT id, count(*) AS count_ , titulo, id_medio FROM noticias GROUP BY titulo HAVING count(*) > 1 ORDER BY count_ DESC
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement