in reply to Dumb SQL Question

try SELECT path FROM files, md5s WHERE files.md5 = md5s.md5

Replies are listed 'Best First'.
Re^2: Dumb SQL Question
by pileofrogs (Priest) on Mar 02, 2010 at 20:55 UTC

    files.md5 is the integer id corresponding to the text md5s.md5, so the above SQL will return nothing.

    Said another way...

    select files.path,md5s.md5 where files.md5=md5s.id;

    returns a list of every file with it's MD5 sum.