In case you have your own slow SQL query, you can optimize it automatically here.
For the query above, the following recommendations will be helpful as part of the SQL tuning process.
You'll find 3 sections below:
ALTER TABLE `QB_SCHOOL` ADD INDEX `qb_school_idx_pos` (`pos`);
SELECT
QB_SCHOOL.jersey_number,
QB_SCHOOL.team_nm,
ROW_NUMBER() OVER (PARTITION
BY
Model_Football.member_idn,
Model_Football.Arm_Power_Idn,
Model_Football.Speed_Idn
ORDER BY
Model_Football.member_idn,
Model_Football.Arm_Power_Idn,
Model_Football.Speed_Idn) AS Dual_threat_id
FROM
QB_SCHOOL
WHERE
QB_SCHOOL.pos = 'QB'