3.58 ms (38.85%)
1
SELECT s0_ . id AS id_0 , s0_ . name AS name_1 , s0_ . link AS link_2 , s0_ . title AS title_3 , s0_ . subtitle AS subtitle_4 , s0_ . description AS description_5 , s0_ . visible AS visible_6 , s0_ . position AS position_7 , s0_ . discover_button_text AS discover_button_text_8 , s0_ . update_date AS update_date_9 FROM solution_categories s0_ LEFT JOIN software_pages s1_ ON s0_ . id = s1_ . solution_category_id AND (s1_ . is_active = 1 ) LEFT JOIN solution_category_links s2_ ON s0_ . id = s2_ . category_id LEFT JOIN software_pages s3_ ON s2_ . software_page_id = s3_ . id AND (s3_ . is_active = 1 ) WHERE s0_ . visible = 1 GROUP BY s0_ . id HAVING COUNT (DISTINCT s1_ . id ) > 0 OR COUNT (DISTINCT s2_ . id ) > 0 ORDER BY s0_ . position ASC
SELECT s0_ . id AS id_0 , s0_ . name AS name_1 , s0_ . link AS link_2 , s0_ . title AS title_3 , s0_ . subtitle AS subtitle_4 , s0_ . description AS description_5 , s0_ . visible AS visible_6 , s0_ . position AS position_7 , s0_ . discover_button_text AS discover_button_text_8 , s0_ . update_date AS update_date_9 FROM solution_categories s0_ LEFT JOIN software_pages s1_ ON s0_ . id = s1_ . solution_category_id AND (s1_ . is_active = 1 ) LEFT JOIN solution_category_links s2_ ON s0_ . id = s2_ . category_id LEFT JOIN software_pages s3_ ON s2_ . software_page_id = s3_ . id AND (s3_ . is_active = 1 ) WHERE s0_ . visible = 1 GROUP BY s0_ . id HAVING COUNT (DISTINCT s1_ . id ) > 0 OR COUNT (DISTINCT s2_ . id ) > 0 ORDER BY s0_ . position ASC ;
Copy
1.28 ms (13.88%)
1
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . font_type AS font_type_3 , t0 . font_import AS font_import_4 , t0 . font_file AS font_file_5 , t0 . font_name AS font_name_6 , t0 . font_weight AS font_weight_7 , t0 . font_style AS font_style_8 , t0 . text_transform AS text_transform_9 , t0 . target_words AS target_words_10 , t0 . is_active AS is_active_11 , t0 . no_wrap AS no_wrap_12 , t0 . created_at AS created_at_13 , t0 . updated_at AS updated_at_14 FROM font_rules t0 WHERE t0 . is_active = ? ORDER BY t0 . created_at DESC
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . font_type AS font_type_3 , t0 . font_import AS font_import_4 , t0 . font_file AS font_file_5 , t0 . font_name AS font_name_6 , t0 . font_weight AS font_weight_7 , t0 . font_style AS font_style_8 , t0 . text_transform AS text_transform_9 , t0 . target_words AS target_words_10 , t0 . is_active AS is_active_11 , t0 . no_wrap AS no_wrap_12 , t0 . created_at AS created_at_13 , t0 . updated_at AS updated_at_14 FROM font_rules t0 WHERE t0 . is_active = 1 ORDER BY t0 . created_at DESC ;
Copy