SELECT FROM dbo.MediaEntry INNER JOIN dbo.Thumbnail ON dbo.MediaEntry.EntryID = dbo.Thumbnail.EntryID INNER JOIN dbo.Category ON dbo.MediaEntry.CategoryID = dbo.Category.CategoryID