Now you can use that in a join with the original table, to get all file paths that have one or more dups:CREATE VIEW md5_dups AS SELECT md5, COUNT(*) AS instances FROM media GROUP BY md5 HAVING COUNT +(*)>1
And you can use it from anywhere.CREATE VIEW media_dups AS SELECT media.* FROM media INNER JOIN md5_dups ON media.md5=md5_dups.md5 ORDER BY media.md5
I know that I wouldn't be so happy if I had just used any other SQL database...
In reply to Re: What kind of database should I use?
by bart
in thread What kind of database should I use?
by bart
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |