SQL optimization

This commit is contained in:
Vincent Riquer 2013-10-28 13:34:20 +01:00
parent e4f588324d
commit 2f2c18177e

View File

@ -338,8 +338,8 @@ SELECT
tags.track, tags.track,
tags.year, tags.year,
source_files.size source_files.size
FROM source_files FROM mime_types
INNER JOIN mime_types INNER JOIN source_files
ON source_files.mime_type=mime_types.id ON source_files.mime_type=mime_types.id
INNER JOIN tags INNER JOIN tags
ON source_files.id=tags.source_file ON source_files.id=tags.source_file