Home > Back-end >  SQL JOIN query needs over 15s to run
SQL JOIN query needs over 15s to run

Time:01-11

I have a pretty big SQL query to get data from multiple database tables. I use the ON condition to check if the guild_ids are always the same and in some cases, he check's for an user_id too.

That is my query:

SELECT
    SUM( f.guild_id = 787672220503244800 AND f.winner_id LIKE '           
  • Related