Jump to content

Speed up this query


netstormx

Recommended Posts

How can i speed this up? It takes half a second which is way too long.

 

SELECT ratings.rating_id,games.gameid as gamenumber,gametitle as gametitle,gameimage as gameimage,ROUND(AVG(ratings.rating_num),2) as rating FROM ratings,games WHERE games.gameid = ratings.rating_id AND caturl LIKE '%games%' GROUP BY rating_id ORDER BY rating DESC

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/171746-speed-up-this-query/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.