1
17.70 ms
SELECT DISTINCT id_0 , MIN (sclr_14 ) AS dctrn_minrownum FROM (SELECT DISTINCT e0_ . id AS id_0 , e0_ . title AS title_1 , e0_ . slug AS slug_2 , e0_ . description AS description_3 , e0_ . instructions AS instructions_4 , e0_ . video_url AS video_url_5 , e0_ . thumbnail AS thumbnail_6 , e0_ . duration AS duration_7 , e0_ . players_min AS players_min_8 , e0_ . players_max AS players_max_9 , e0_ . difficulty AS difficulty_10 , e0_ . published AS published_11 , e0_ . created_at AS created_at_12 , e0_ . updated_at AS updated_at_13 , ROW_NUMBER () OVER (ORDER BY e0_ . created_at DESC ) AS sclr_14 FROM exercise e0_ WHERE e0_ . published = true ) dctrn_result GROUP BY id_0 ORDER BY dctrn_minrownum ASC LIMIT 12
SELECT DISTINCT id_0 , MIN (sclr_14 ) AS dctrn_minrownum FROM (SELECT DISTINCT e0_ . id AS id_0 , e0_ . title AS title_1 , e0_ . slug AS slug_2 , e0_ . description AS description_3 , e0_ . instructions AS instructions_4 , e0_ . video_url AS video_url_5 , e0_ . thumbnail AS thumbnail_6 , e0_ . duration AS duration_7 , e0_ . players_min AS players_min_8 , e0_ . players_max AS players_max_9 , e0_ . difficulty AS difficulty_10 , e0_ . published AS published_11 , e0_ . created_at AS created_at_12 , e0_ . updated_at AS updated_at_13 , ROW_NUMBER () OVER (ORDER BY e0_ . created_at DESC ) AS sclr_14 FROM exercise e0_ WHERE e0_ . published = true ) dctrn_result GROUP BY id_0 ORDER BY dctrn_minrownum ASC LIMIT 12 ;
Copy
2
2.69 ms
SELECT DISTINCT e0_ . id AS id_0 , e0_ . title AS title_1 , e0_ . slug AS slug_2 , e0_ . description AS description_3 , e0_ . instructions AS instructions_4 , e0_ . video_url AS video_url_5 , e0_ . thumbnail AS thumbnail_6 , e0_ . duration AS duration_7 , e0_ . players_min AS players_min_8 , e0_ . players_max AS players_max_9 , e0_ . difficulty AS difficulty_10 , e0_ . published AS published_11 , e0_ . created_at AS created_at_12 , e0_ . updated_at AS updated_at_13 FROM exercise e0_ WHERE e0_ . published = true AND e0_ . id IN (? , ? , ? , ? , ? , ? , ? , ? ) ORDER BY e0_ . created_at DESC
Parameters :
[
1
2
3
4
5
6
7
8
]
SELECT DISTINCT e0_ . id AS id_0 , e0_ . title AS title_1 , e0_ . slug AS slug_2 , e0_ . description AS description_3 , e0_ . instructions AS instructions_4 , e0_ . video_url AS video_url_5 , e0_ . thumbnail AS thumbnail_6 , e0_ . duration AS duration_7 , e0_ . players_min AS players_min_8 , e0_ . players_max AS players_max_9 , e0_ . difficulty AS difficulty_10 , e0_ . published AS published_11 , e0_ . created_at AS created_at_12 , e0_ . updated_at AS updated_at_13 FROM exercise e0_ WHERE e0_ . published = true AND e0_ . id IN (1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 ) ORDER BY e0_ . created_at DESC ;
Copy
3
1.92 ms
SELECT COUNT (* ) AS dctrn_count FROM (SELECT DISTINCT id_0 FROM (SELECT DISTINCT e0_ . id AS id_0 , e0_ . title AS title_1 , e0_ . slug AS slug_2 , e0_ . description AS description_3 , e0_ . instructions AS instructions_4 , e0_ . video_url AS video_url_5 , e0_ . thumbnail AS thumbnail_6 , e0_ . duration AS duration_7 , e0_ . players_min AS players_min_8 , e0_ . players_max AS players_max_9 , e0_ . difficulty AS difficulty_10 , e0_ . published AS published_11 , e0_ . created_at AS created_at_12 , e0_ . updated_at AS updated_at_13 FROM exercise e0_ WHERE e0_ . published = true ORDER BY e0_ . created_at DESC ) dctrn_result ) dctrn_table
SELECT COUNT (* ) AS dctrn_count FROM (SELECT DISTINCT id_0 FROM (SELECT DISTINCT e0_ . id AS id_0 , e0_ . title AS title_1 , e0_ . slug AS slug_2 , e0_ . description AS description_3 , e0_ . instructions AS instructions_4 , e0_ . video_url AS video_url_5 , e0_ . thumbnail AS thumbnail_6 , e0_ . duration AS duration_7 , e0_ . players_min AS players_min_8 , e0_ . players_max AS players_max_9 , e0_ . difficulty AS difficulty_10 , e0_ . published AS published_11 , e0_ . created_at AS created_at_12 , e0_ . updated_at AS updated_at_13 FROM exercise e0_ WHERE e0_ . published = true ORDER BY e0_ . created_at DESC ) dctrn_result ) dctrn_table ;
Copy
4
1.94 ms
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . slug AS slug_3 , t0 . description AS description_4 FROM exercise_category t0 ORDER BY t0 . name ASC
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . slug AS slug_3 , t0 . description AS description_4 FROM exercise_category t0 ORDER BY t0 . name ASC ;
Copy
5
3.30 ms
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . slug AS slug_3 FROM exercise_level t0 ORDER BY t0 . name ASC
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . slug AS slug_3 FROM exercise_level t0 ORDER BY t0 . name ASC ;
Copy
6
4.20 ms
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . slug AS slug_3 FROM age_group t0 ORDER BY t0 . name ASC
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . slug AS slug_3 FROM age_group t0 ORDER BY t0 . name ASC ;
Copy
7
1.91 ms
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . slug AS slug_3 FROM skill t0 ORDER BY t0 . name ASC
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . slug AS slug_3 FROM skill t0 ORDER BY t0 . name ASC ;
Copy
8
3.66 ms
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . slug AS slug_3 , t0 . description AS description_4 FROM exercise_category t0 INNER JOIN exercise_exercise_category ON t0 . id = exercise_exercise_category . exercise_category_id WHERE exercise_exercise_category . exercise_id = ?
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . slug AS slug_3 , t0 . description AS description_4 FROM exercise_category t0 INNER JOIN exercise_exercise_category ON t0 . id = exercise_exercise_category . exercise_category_id WHERE exercise_exercise_category . exercise_id = 1 ;
Copy
9
1.40 ms
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . slug AS slug_3 , t0 . description AS description_4 FROM exercise_category t0 INNER JOIN exercise_exercise_category ON t0 . id = exercise_exercise_category . exercise_category_id WHERE exercise_exercise_category . exercise_id = ?
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . slug AS slug_3 , t0 . description AS description_4 FROM exercise_category t0 INNER JOIN exercise_exercise_category ON t0 . id = exercise_exercise_category . exercise_category_id WHERE exercise_exercise_category . exercise_id = 2 ;
Copy
10
1.40 ms
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . slug AS slug_3 , t0 . description AS description_4 FROM exercise_category t0 INNER JOIN exercise_exercise_category ON t0 . id = exercise_exercise_category . exercise_category_id WHERE exercise_exercise_category . exercise_id = ?
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . slug AS slug_3 , t0 . description AS description_4 FROM exercise_category t0 INNER JOIN exercise_exercise_category ON t0 . id = exercise_exercise_category . exercise_category_id WHERE exercise_exercise_category . exercise_id = 3 ;
Copy
11
2.73 ms
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . slug AS slug_3 , t0 . description AS description_4 FROM exercise_category t0 INNER JOIN exercise_exercise_category ON t0 . id = exercise_exercise_category . exercise_category_id WHERE exercise_exercise_category . exercise_id = ?
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . slug AS slug_3 , t0 . description AS description_4 FROM exercise_category t0 INNER JOIN exercise_exercise_category ON t0 . id = exercise_exercise_category . exercise_category_id WHERE exercise_exercise_category . exercise_id = 4 ;
Copy
12
1.41 ms
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . slug AS slug_3 , t0 . description AS description_4 FROM exercise_category t0 INNER JOIN exercise_exercise_category ON t0 . id = exercise_exercise_category . exercise_category_id WHERE exercise_exercise_category . exercise_id = ?
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . slug AS slug_3 , t0 . description AS description_4 FROM exercise_category t0 INNER JOIN exercise_exercise_category ON t0 . id = exercise_exercise_category . exercise_category_id WHERE exercise_exercise_category . exercise_id = 5 ;
Copy
13
1.36 ms
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . slug AS slug_3 , t0 . description AS description_4 FROM exercise_category t0 INNER JOIN exercise_exercise_category ON t0 . id = exercise_exercise_category . exercise_category_id WHERE exercise_exercise_category . exercise_id = ?
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . slug AS slug_3 , t0 . description AS description_4 FROM exercise_category t0 INNER JOIN exercise_exercise_category ON t0 . id = exercise_exercise_category . exercise_category_id WHERE exercise_exercise_category . exercise_id = 6 ;
Copy
14
1.39 ms
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . slug AS slug_3 , t0 . description AS description_4 FROM exercise_category t0 INNER JOIN exercise_exercise_category ON t0 . id = exercise_exercise_category . exercise_category_id WHERE exercise_exercise_category . exercise_id = ?
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . slug AS slug_3 , t0 . description AS description_4 FROM exercise_category t0 INNER JOIN exercise_exercise_category ON t0 . id = exercise_exercise_category . exercise_category_id WHERE exercise_exercise_category . exercise_id = 7 ;
Copy
15
1.29 ms
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . slug AS slug_3 , t0 . description AS description_4 FROM exercise_category t0 INNER JOIN exercise_exercise_category ON t0 . id = exercise_exercise_category . exercise_category_id WHERE exercise_exercise_category . exercise_id = ?
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . slug AS slug_3 , t0 . description AS description_4 FROM exercise_category t0 INNER JOIN exercise_exercise_category ON t0 . id = exercise_exercise_category . exercise_category_id WHERE exercise_exercise_category . exercise_id = 8 ;
Copy