Skip to content

Instantly share code, notes, and snippets.

@TyDraniu
Created February 10, 2016 15:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save TyDraniu/4caabdb9ae54cf4da02f to your computer and use it in GitHub Desktop.
Save TyDraniu/4caabdb9ae54cf4da02f to your computer and use it in GitHub Desktop.
SELECT b.title, p.url, count(*) ile
FROM moz_places p
JOIN moz_bookmarks b ON p.id = b.fk
WHERE b.title is not null
GROUP BY p.url
HAVING count(1) > 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment