2.88 ms (22.72%)
1
SELECT s0_ . id AS id_0 , s0_ . name AS name_1 , s0_ . image AS image_2 , s0_ . year AS year_3 , s0_ . sector AS sector_4 , s0_ . featured AS featured_5 , s0_ . active AS active_6 , s0_ . rank AS rank_7 , s0_ . updated_at AS updated_at_8 , s0_ . university_id AS university_id_9 , s0_ . course_id AS course_id_10 FROM student s0_ WHERE s0_ . active = ? AND s0_ . featured = ? GROUP BY s0_ . year ORDER BY s0_ . year DESC LIMIT 4
SELECT s0_ . id AS id_0 , s0_ . name AS name_1 , s0_ . image AS image_2 , s0_ . year AS year_3 , s0_ . sector AS sector_4 , s0_ . featured AS featured_5 , s0_ . active AS active_6 , s0_ . rank AS rank_7 , s0_ . updated_at AS updated_at_8 , s0_ . university_id AS university_id_9 , s0_ . course_id AS course_id_10 FROM student s0_ WHERE s0_ . active = 1 AND s0_ . featured = 1 GROUP BY s0_ . year ORDER BY s0_ . year DESC LIMIT 4 ;
Copy
2.39 ms (18.89%)
1
SELECT DISTINCT id_0 FROM (SELECT DISTINCT id_0 , date_2 FROM (SELECT n0_ . id AS id_0 , n0_ . title AS title_1 , n0_ . date AS date_2 , n0_ . publish_date AS publish_date_3 , n0_ . cover AS cover_4 , n0_ . content AS content_5 , n0_ . headline AS headline_6 , n0_ . active AS active_7 , n0_ . type AS type_8 , n0_ . expire_date AS expire_date_9 , n0_ . updated_at AS updated_at_10 FROM notice n0_ WHERE n0_ . type = ? AND n0_ . active = ? ) dctrn_result_inner ORDER BY date_2 DESC ) dctrn_result LIMIT 3
SELECT DISTINCT id_0 FROM (SELECT DISTINCT id_0 , date_2 FROM (SELECT n0_ . id AS id_0 , n0_ . title AS title_1 , n0_ . date AS date_2 , n0_ . publish_date AS publish_date_3 , n0_ . cover AS cover_4 , n0_ . content AS content_5 , n0_ . headline AS headline_6 , n0_ . active AS active_7 , n0_ . type AS type_8 , n0_ . expire_date AS expire_date_9 , n0_ . updated_at AS updated_at_10 FROM notice n0_ WHERE n0_ . type = 1 AND n0_ . active = 1 ) dctrn_result_inner ORDER BY date_2 DESC ) dctrn_result LIMIT 3 ;
Copy
1.65 ms (13.06%)
1
SELECT n0_ . id AS id_0 , n0_ . title AS title_1 , n0_ . date AS date_2 , n0_ . publish_date AS publish_date_3 , n0_ . cover AS cover_4 , n0_ . content AS content_5 , n0_ . headline AS headline_6 , n0_ . active AS active_7 , n0_ . type AS type_8 , n0_ . expire_date AS expire_date_9 , n0_ . updated_at AS updated_at_10 , n0_ . category_id AS category_id_11 FROM notice n0_ WHERE n0_ . type = ? AND n0_ . active = ? ORDER BY n0_ . date DESC
SELECT n0_ . id AS id_0 , n0_ . title AS title_1 , n0_ . date AS date_2 , n0_ . publish_date AS publish_date_3 , n0_ . cover AS cover_4 , n0_ . content AS content_5 , n0_ . headline AS headline_6 , n0_ . active AS active_7 , n0_ . type AS type_8 , n0_ . expire_date AS expire_date_9 , n0_ . updated_at AS updated_at_10 , n0_ . category_id AS category_id_11 FROM notice n0_ WHERE n0_ . type = 2 AND n0_ . active = 1 ORDER BY n0_ . date DESC ;
Copy
1.37 ms (10.78%)
1
SELECT t0 . id AS id_1 , t0 . title AS title_2 , t0 . image AS image_3 , t0 . link AS link_4 , t0 . sector AS sector_5 , t0 . active AS active_6 , t0 . position AS position_7 , t0 . updated_at AS updated_at_8 FROM banner t0 WHERE t0 . sector = ? AND t0 . active = ? ORDER BY t0 . position ASC
SELECT t0 . id AS id_1 , t0 . title AS title_2 , t0 . image AS image_3 , t0 . link AS link_4 , t0 . sector AS sector_5 , t0 . active AS active_6 , t0 . position AS position_7 , t0 . updated_at AS updated_at_8 FROM banner t0 WHERE t0 . sector = 0 AND t0 . active = 1 ORDER BY t0 . position ASC ;
Copy
1.23 ms (9.71%)
1
SELECT n0_ . id AS id_0 , n0_ . title AS title_1 , n0_ . date AS date_2 , n0_ . publish_date AS publish_date_3 , n0_ . cover AS cover_4 , n0_ . content AS content_5 , n0_ . headline AS headline_6 , n0_ . active AS active_7 , n0_ . type AS type_8 , n0_ . expire_date AS expire_date_9 , n0_ . updated_at AS updated_at_10 , n0_ . category_id AS category_id_11 FROM notice n0_ WHERE n0_ . type = ? AND n0_ . active = ? AND n0_ . id IN (? , ? , ? ) ORDER BY n0_ . date DESC
Parameters :
[
1
1
487
486
485
]
SELECT n0_ . id AS id_0 , n0_ . title AS title_1 , n0_ . date AS date_2 , n0_ . publish_date AS publish_date_3 , n0_ . cover AS cover_4 , n0_ . content AS content_5 , n0_ . headline AS headline_6 , n0_ . active AS active_7 , n0_ . type AS type_8 , n0_ . expire_date AS expire_date_9 , n0_ . updated_at AS updated_at_10 , n0_ . category_id AS category_id_11 FROM notice n0_ WHERE n0_ . type = 1 AND n0_ . active = 1 AND n0_ . id IN (487 , 486 , 485 ) ORDER BY n0_ . date DESC ;
Copy
1.18 ms (9.29%)
1
SELECT t0_ . id AS id_0 , t0_ . name AS name_1 , t0_ . description AS description_2 , t0_ . picture AS picture_3 , t0_ . sector AS sector_4 , t0_ . active AS active_5 , t0_ . date AS date_6 , t0_ . type AS type_7 , t0_ . updated_at AS updated_at_8 FROM testimony t0_ WHERE t0_ . active = ? ORDER BY t0_ . date DESC LIMIT 3
SELECT t0_ . id AS id_0 , t0_ . name AS name_1 , t0_ . description AS description_2 , t0_ . picture AS picture_3 , t0_ . sector AS sector_4 , t0_ . active AS active_5 , t0_ . date AS date_6 , t0_ . type AS type_7 , t0_ . updated_at AS updated_at_8 FROM testimony t0_ WHERE t0_ . active = 1 ORDER BY t0_ . date DESC LIMIT 3 ;
Copy
1.04 ms (8.17%)
2
SELECT t0 . id AS id_1 , t0 . name AS name_2 FROM course t0 WHERE t0 . id = ?
SELECT t0 . id AS id_1 , t0 . name AS name_2 FROM course t0 WHERE t0 . id = 213 ;
Copy
0.94 ms (7.38%)
1
SELECT t0 . id AS id_1 , t0 . title AS title_2 , t0 . active AS active_3 , t0 . type AS type_4 FROM notice_category t0 WHERE t0 . id = ?
SELECT t0 . id AS id_1 , t0 . title AS title_2 , t0 . active AS active_3 , t0 . type AS type_4 FROM notice_category t0 WHERE t0 . id = 1 ;
Copy