I am trying to better optimize my queries, and this is one that runs a ton...
This query uses three tables to get the information needed. Is this efficient?PHP Code:SELECT trailers.trailer_id, trailers.trailer_title, films.film_title, films.image
FROM films,trailers,tags
WHERE tags.snub='$var'
AND tags.trailer_id=trailers.trailer_id
AND trailers.film_id=films.film_id
ORDER BY trailers.trailer_id DESC
LIMIT 0,10
All help appreciated
Ryan











Bookmarks