1
2.07 ms
SELECT DISTINCT r0_ . id AS id_0 , r0_ . sub_section_id AS sclr_1 FROM resource_assignment r0_ LEFT JOIN resource_sub_section r1_ ON r0_ . sub_section_id = r1_ . id ORDER BY r0_ . sub_section_id DESC LIMIT 20
SELECT DISTINCT r0_ . id AS id_0 , r0_ . sub_section_id AS sclr_1 FROM resource_assignment r0_ LEFT JOIN resource_sub_section r1_ ON r0_ . sub_section_id = r1_ . id ORDER BY r0_ . sub_section_id DESC LIMIT 20 ;
Copy
2
1.07 ms
SELECT r0_ . id AS id_0 , r0_ . resource_id AS resource_id_1 , r0_ . sub_section_id AS sub_section_id_2 FROM resource_assignment r0_ LEFT JOIN resource_sub_section r1_ ON r0_ . sub_section_id = r1_ . id WHERE r0_ . id IN (? , ? , ? , ? , ? , ? , ? , ? , ? ) ORDER BY r0_ . sub_section_id DESC
Parameters :
[
3
2
1
9
8
7
6
5
4
]
SELECT r0_ . id AS id_0 , r0_ . resource_id AS resource_id_1 , r0_ . sub_section_id AS sub_section_id_2 FROM resource_assignment r0_ LEFT JOIN resource_sub_section r1_ ON r0_ . sub_section_id = r1_ . id WHERE r0_ . id IN (3 , 2 , 1 , 9 , 8 , 7 , 6 , 5 , 4 ) ORDER BY r0_ . sub_section_id DESC ;
Copy
3
0.88 ms
SELECT t0 . id AS id_3 , t0 . title AS title_4 , t0 . resource_type , t1 . author AS author_5 , t1 . file_path AS file_path_6 , t2 . url AS url_7 FROM resource t0 LEFT JOIN resource_documents t1 ON t0 . id = t1 . id LEFT JOIN resource_web t2 ON t0 . id = t2 . id WHERE t0 . id = ?
SELECT t0 . id AS id_3 , t0 . title AS title_4 , t0 . resource_type , t1 . author AS author_5 , t1 . file_path AS file_path_6 , t2 . url AS url_7 FROM resource t0 LEFT JOIN resource_documents t1 ON t0 . id = t1 . id LEFT JOIN resource_web t2 ON t0 . id = t2 . id WHERE t0 . id = 2 ;
Copy
4
0.68 ms
SELECT t0 . id AS id_3 , t0 . title AS title_4 , t0 . resource_type , t1 . author AS author_5 , t1 . file_path AS file_path_6 , t2 . url AS url_7 FROM resource t0 LEFT JOIN resource_documents t1 ON t0 . id = t1 . id LEFT JOIN resource_web t2 ON t0 . id = t2 . id WHERE t0 . id = ?
SELECT t0 . id AS id_3 , t0 . title AS title_4 , t0 . resource_type , t1 . author AS author_5 , t1 . file_path AS file_path_6 , t2 . url AS url_7 FROM resource t0 LEFT JOIN resource_documents t1 ON t0 . id = t1 . id LEFT JOIN resource_web t2 ON t0 . id = t2 . id WHERE t0 . id = 3 ;
Copy
5
0.63 ms
SELECT t0 . id AS id_3 , t0 . title AS title_4 , t0 . resource_type , t1 . author AS author_5 , t1 . file_path AS file_path_6 , t2 . url AS url_7 FROM resource t0 LEFT JOIN resource_documents t1 ON t0 . id = t1 . id LEFT JOIN resource_web t2 ON t0 . id = t2 . id WHERE t0 . id = ?
SELECT t0 . id AS id_3 , t0 . title AS title_4 , t0 . resource_type , t1 . author AS author_5 , t1 . file_path AS file_path_6 , t2 . url AS url_7 FROM resource t0 LEFT JOIN resource_documents t1 ON t0 . id = t1 . id LEFT JOIN resource_web t2 ON t0 . id = t2 . id WHERE t0 . id = 1 ;
Copy
6
0.62 ms
SELECT t0 . id AS id_3 , t0 . title AS title_4 , t0 . resource_type , t1 . author AS author_5 , t1 . file_path AS file_path_6 , t2 . url AS url_7 FROM resource t0 LEFT JOIN resource_documents t1 ON t0 . id = t1 . id LEFT JOIN resource_web t2 ON t0 . id = t2 . id WHERE t0 . id = ?
SELECT t0 . id AS id_3 , t0 . title AS title_4 , t0 . resource_type , t1 . author AS author_5 , t1 . file_path AS file_path_6 , t2 . url AS url_7 FROM resource t0 LEFT JOIN resource_documents t1 ON t0 . id = t1 . id LEFT JOIN resource_web t2 ON t0 . id = t2 . id WHERE t0 . id = 46 ;
Copy
7
0.54 ms
SELECT t0 . id AS id_3 , t0 . title AS title_4 , t0 . resource_type , t1 . author AS author_5 , t1 . file_path AS file_path_6 , t2 . url AS url_7 FROM resource t0 LEFT JOIN resource_documents t1 ON t0 . id = t1 . id LEFT JOIN resource_web t2 ON t0 . id = t2 . id WHERE t0 . id = ?
SELECT t0 . id AS id_3 , t0 . title AS title_4 , t0 . resource_type , t1 . author AS author_5 , t1 . file_path AS file_path_6 , t2 . url AS url_7 FROM resource t0 LEFT JOIN resource_documents t1 ON t0 . id = t1 . id LEFT JOIN resource_web t2 ON t0 . id = t2 . id WHERE t0 . id = 48 ;
Copy
8
0.55 ms
SELECT t0 . id AS id_3 , t0 . title AS title_4 , t0 . resource_type , t1 . author AS author_5 , t1 . file_path AS file_path_6 , t2 . url AS url_7 FROM resource t0 LEFT JOIN resource_documents t1 ON t0 . id = t1 . id LEFT JOIN resource_web t2 ON t0 . id = t2 . id WHERE t0 . id = ?
SELECT t0 . id AS id_3 , t0 . title AS title_4 , t0 . resource_type , t1 . author AS author_5 , t1 . file_path AS file_path_6 , t2 . url AS url_7 FROM resource t0 LEFT JOIN resource_documents t1 ON t0 . id = t1 . id LEFT JOIN resource_web t2 ON t0 . id = t2 . id WHERE t0 . id = 49 ;
Copy
9
0.48 ms
SELECT t0 . id AS id_3 , t0 . title AS title_4 , t0 . resource_type , t1 . author AS author_5 , t1 . file_path AS file_path_6 , t2 . url AS url_7 FROM resource t0 LEFT JOIN resource_documents t1 ON t0 . id = t1 . id LEFT JOIN resource_web t2 ON t0 . id = t2 . id WHERE t0 . id = ?
SELECT t0 . id AS id_3 , t0 . title AS title_4 , t0 . resource_type , t1 . author AS author_5 , t1 . file_path AS file_path_6 , t2 . url AS url_7 FROM resource t0 LEFT JOIN resource_documents t1 ON t0 . id = t1 . id LEFT JOIN resource_web t2 ON t0 . id = t2 . id WHERE t0 . id = 50 ;
Copy
10
0.64 ms
SELECT t0 . id AS id_3 , t0 . title AS title_4 , t0 . resource_type , t1 . author AS author_5 , t1 . file_path AS file_path_6 , t2 . url AS url_7 FROM resource t0 LEFT JOIN resource_documents t1 ON t0 . id = t1 . id LEFT JOIN resource_web t2 ON t0 . id = t2 . id WHERE t0 . id = ?
SELECT t0 . id AS id_3 , t0 . title AS title_4 , t0 . resource_type , t1 . author AS author_5 , t1 . file_path AS file_path_6 , t2 . url AS url_7 FROM resource t0 LEFT JOIN resource_documents t1 ON t0 . id = t1 . id LEFT JOIN resource_web t2 ON t0 . id = t2 . id WHERE t0 . id = 51 ;
Copy
11
0.49 ms
SELECT t0 . id AS id_3 , t0 . title AS title_4 , t0 . resource_type , t1 . author AS author_5 , t1 . file_path AS file_path_6 , t2 . url AS url_7 FROM resource t0 LEFT JOIN resource_documents t1 ON t0 . id = t1 . id LEFT JOIN resource_web t2 ON t0 . id = t2 . id WHERE t0 . id = ?
SELECT t0 . id AS id_3 , t0 . title AS title_4 , t0 . resource_type , t1 . author AS author_5 , t1 . file_path AS file_path_6 , t2 . url AS url_7 FROM resource t0 LEFT JOIN resource_documents t1 ON t0 . id = t1 . id LEFT JOIN resource_web t2 ON t0 . id = t2 . id WHERE t0 . id = 52 ;
Copy
12
0.56 ms
SELECT count (DISTINCT r0_ . id ) AS sclr_0 FROM resource_assignment r0_ LEFT JOIN resource_sub_section r1_ ON r0_ . sub_section_id = r1_ . id
SELECT count (DISTINCT r0_ . id ) AS sclr_0 FROM resource_assignment r0_ LEFT JOIN resource_sub_section r1_ ON r0_ . sub_section_id = r1_ . id ;
Copy
13
0.60 ms
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . section_id AS section_id_3 FROM resource_sub_section t0 WHERE t0 . id = ?
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . section_id AS section_id_3 FROM resource_sub_section t0 WHERE t0 . id = 7 ;
Copy
14
0.65 ms
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . part_id AS part_id_3 FROM resource_section t0 WHERE t0 . id = ?
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . part_id AS part_id_3 FROM resource_section t0 WHERE t0 . id = 4 ;
Copy
15
0.64 ms
SELECT t0 . id AS id_1 , t0 . name AS name_2 FROM resource_part t0 WHERE t0 . id = ?
SELECT t0 . id AS id_1 , t0 . name AS name_2 FROM resource_part t0 WHERE t0 . id = 1 ;
Copy
16
0.62 ms
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . section_id AS section_id_3 FROM resource_sub_section t0 WHERE t0 . id = ?
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . section_id AS section_id_3 FROM resource_sub_section t0 WHERE t0 . id = 2 ;
Copy
17
0.55 ms
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . part_id AS part_id_3 FROM resource_section t0 WHERE t0 . id = ?
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . part_id AS part_id_3 FROM resource_section t0 WHERE t0 . id = 2 ;
Copy
18
0.49 ms
SELECT t0 . id AS id_1 , t0 . name AS name_2 FROM resource_part t0 WHERE t0 . id = ?
SELECT t0 . id AS id_1 , t0 . name AS name_2 FROM resource_part t0 WHERE t0 . id = 2 ;
Copy
19
0.59 ms
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . section_id AS section_id_3 FROM resource_sub_section t0 WHERE t0 . id = ?
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . section_id AS section_id_3 FROM resource_sub_section t0 WHERE t0 . id = 1 ;
Copy
20
0.59 ms
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . part_id AS part_id_3 FROM resource_section t0 WHERE t0 . id = ?
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . part_id AS part_id_3 FROM resource_section t0 WHERE t0 . id = 1 ;
Copy