8.11 ms (22.09%)
15
SELECT t0 . id AS id_1 , t0 . title AS title_2 , t0 . private AS private_3 , t0 . sort AS sort_4 , t0 . file_path AS file_path_5 FROM media t0 INNER JOIN transaction_files ON t0 . id = transaction_files . file_id WHERE transaction_files . transaction_id = ?
SELECT t0 . id AS id_1 , t0 . title AS title_2 , t0 . private AS private_3 , t0 . sort AS sort_4 , t0 . file_path AS file_path_5 FROM media t0 INNER JOIN transaction_files ON t0 . id = transaction_files . file_id WHERE transaction_files . transaction_id = 1523 ;
Copy
7.20 ms (19.62%)
5
SELECT t0 . id AS id_1 , t0 . title AS title_2 , t0 . private AS private_3 , t0 . sort AS sort_4 , t0 . file_path AS file_path_5 FROM media t0 INNER JOIN help_program_images ON t0 . id = help_program_images . image_id WHERE help_program_images . help_program_id = ?
SELECT t0 . id AS id_1 , t0 . title AS title_2 , t0 . private AS private_3 , t0 . sort AS sort_4 , t0 . file_path AS file_path_5 FROM media t0 INNER JOIN help_program_images ON t0 . id = help_program_images . image_id WHERE help_program_images . help_program_id = 31 ;
Copy
5.39 ms (14.68%)
15
SELECT t0 . id AS id_1 , t0 . sum AS sum_2 , t0 . transaction_id AS transaction_id_3 , t0 . help_person_id AS help_person_id_4 FROM sub_transaction t0 WHERE t0 . transaction_id = ?
SELECT t0 . id AS id_1 , t0 . sum AS sum_2 , t0 . transaction_id AS transaction_id_3 , t0 . help_person_id AS help_person_id_4 FROM sub_transaction t0 WHERE t0 . transaction_id = 1523 ;
Copy
2.41 ms (6.56%)
5
SELECT t0 . id AS id_1 , t0 . status AS status_2 , t0 . sum_collected AS sum_collected_3 , t0 . sum_transmitted AS sum_transmitted_4 , t0 . active AS active_5 , t0 . active_home_page AS active_home_page_6 , t0 . title AS title_7 , t0 . slug AS slug_8 , t0 . target AS target_9 , t0 . start_at AS start_at_10 , t0 . description AS description_11 , t0 . description_short AS description_short_12 , t0 . description_short_payment AS description_short_payment_13 , t0 . result_description AS result_description_14 , t0 . video AS video_15 , t0 . sort_order AS sort_order_16 , t0 . ekzeget_view_count AS ekzeget_view_count_17 , t0 . meta_title AS meta_title_18 , t0 . meta_description AS meta_description_19 , t0 . meta_keywords AS meta_keywords_20 , t0 . image_id AS image_id_21 FROM help_program t0 WHERE t0 . id = ?
SELECT t0 . id AS id_1 , t0 . status AS status_2 , t0 . sum_collected AS sum_collected_3 , t0 . sum_transmitted AS sum_transmitted_4 , t0 . active AS active_5 , t0 . active_home_page AS active_home_page_6 , t0 . title AS title_7 , t0 . slug AS slug_8 , t0 . target AS target_9 , t0 . start_at AS start_at_10 , t0 . description AS description_11 , t0 . description_short AS description_short_12 , t0 . description_short_payment AS description_short_payment_13 , t0 . result_description AS result_description_14 , t0 . video AS video_15 , t0 . sort_order AS sort_order_16 , t0 . ekzeget_view_count AS ekzeget_view_count_17 , t0 . meta_title AS meta_title_18 , t0 . meta_description AS meta_description_19 , t0 . meta_keywords AS meta_keywords_20 , t0 . image_id AS image_id_21 FROM help_program t0 WHERE t0 . id = 31 ;
Copy
2.38 ms (6.48%)
5
SELECT t0 . id AS id_1 , t0 . title AS title_2 , t0 . private AS private_3 , t0 . sort AS sort_4 , t0 . file_path AS file_path_5 FROM media t0 INNER JOIN help_program_files ON t0 . id = help_program_files . file_id WHERE help_program_files . help_program_id = ?
SELECT t0 . id AS id_1 , t0 . title AS title_2 , t0 . private AS private_3 , t0 . sort AS sort_4 , t0 . file_path AS file_path_5 FROM media t0 INNER JOIN help_program_files ON t0 . id = help_program_files . file_id WHERE help_program_files . help_program_id = 31 ;
Copy
2.14 ms (5.83%)
1
SELECT count (* ) AS sclr_0 FROM transactions t0_ WHERE t0_ . payment_status = ? AND t0_ . type IN (? , ? , ? ) AND t0_ . is_hidden = ?
Parameters :
[
"succeeded "
"yoomoney "
"income "
"consumption "
"false "
]
SELECT count (* ) AS sclr_0 FROM transactions t0_ WHERE t0_ . payment_status = 'succeeded' AND t0_ . type IN ('yoomoney' , 'income' , 'consumption' ) AND t0_ . is_hidden = 'false' ;
Copy
2.02 ms (5.51%)
5
SELECT t0 . id AS id_1 , t0 . title AS title_2 , t0 . private AS private_3 , t0 . sort AS sort_4 , t0 . file_path AS file_path_5 FROM media t0 INNER JOIN help_program_report_images ON t0 . id = help_program_report_images . image_id WHERE help_program_report_images . help_program_id = ?
SELECT t0 . id AS id_1 , t0 . title AS title_2 , t0 . private AS private_3 , t0 . sort AS sort_4 , t0 . file_path AS file_path_5 FROM media t0 INNER JOIN help_program_report_images ON t0 . id = help_program_report_images . image_id WHERE help_program_report_images . help_program_id = 31 ;
Copy
1.78 ms (4.84%)
3
SELECT t0 . id AS id_1 , t0 . sort_order AS sort_order_2 , t0 . status AS status_3 , t0 . sum_necessary AS sum_necessary_4 , t0 . sum_collected AS sum_collected_5 , t0 . sum_transmitted AS sum_transmitted_6 , t0 . start_at AS start_at_7 , t0 . end_at AS end_at_8 , t0 . active AS active_9 , t0 . finished AS finished_10 , t0 . active_photo_block AS active_photo_block_11 , t0 . active_home_page AS active_home_page_12 , t0 . title AS title_13 , t0 . slug AS slug_14 , t0 . age AS age_15 , t0 . sub_title AS sub_title_16 , t0 . person_count AS person_count_17 , t0 . target AS target_18 , t0 . description_short AS description_short_19 , t0 . description_short_payment AS description_short_payment_20 , t0 . description AS description_21 , t0 . result_description AS result_description_22 , t0 . video AS video_23 , t0 . ekzeget_view_count AS ekzeget_view_count_24 , t0 . meta_title AS meta_title_25 , t0 . meta_description AS meta_description_26 , t0 . meta_keywords AS meta_keywords_27 , t0 . trustee_id AS trustee_id_28 , t0 . help_program_id AS help_program_id_29 , t0 . image_id AS image_id_30 FROM help_person t0 WHERE t0 . id = ?
SELECT t0 . id AS id_1 , t0 . sort_order AS sort_order_2 , t0 . status AS status_3 , t0 . sum_necessary AS sum_necessary_4 , t0 . sum_collected AS sum_collected_5 , t0 . sum_transmitted AS sum_transmitted_6 , t0 . start_at AS start_at_7 , t0 . end_at AS end_at_8 , t0 . active AS active_9 , t0 . finished AS finished_10 , t0 . active_photo_block AS active_photo_block_11 , t0 . active_home_page AS active_home_page_12 , t0 . title AS title_13 , t0 . slug AS slug_14 , t0 . age AS age_15 , t0 . sub_title AS sub_title_16 , t0 . person_count AS person_count_17 , t0 . target AS target_18 , t0 . description_short AS description_short_19 , t0 . description_short_payment AS description_short_payment_20 , t0 . description AS description_21 , t0 . result_description AS result_description_22 , t0 . video AS video_23 , t0 . ekzeget_view_count AS ekzeget_view_count_24 , t0 . meta_title AS meta_title_25 , t0 . meta_description AS meta_description_26 , t0 . meta_keywords AS meta_keywords_27 , t0 . trustee_id AS trustee_id_28 , t0 . help_program_id AS help_program_id_29 , t0 . image_id AS image_id_30 FROM help_person t0 WHERE t0 . id = 60 ;
Copy
1.46 ms (3.97%)
3
SELECT t0 . id AS id_1 , t0 . title AS title_2 , t0 . private AS private_3 , t0 . sort AS sort_4 , t0 . file_path AS file_path_5 FROM media t0 INNER JOIN help_person_report_images ON t0 . id = help_person_report_images . image_id WHERE help_person_report_images . help_person_id = ?
SELECT t0 . id AS id_1 , t0 . title AS title_2 , t0 . private AS private_3 , t0 . sort AS sort_4 , t0 . file_path AS file_path_5 FROM media t0 INNER JOIN help_person_report_images ON t0 . id = help_person_report_images . image_id WHERE help_person_report_images . help_person_id = 60 ;
Copy
1.42 ms (3.87%)
3
SELECT t0 . id AS id_1 , t0 . title AS title_2 , t0 . private AS private_3 , t0 . sort AS sort_4 , t0 . file_path AS file_path_5 FROM media t0 INNER JOIN help_person_images ON t0 . id = help_person_images . image_id WHERE help_person_images . help_person_id = ?
SELECT t0 . id AS id_1 , t0 . title AS title_2 , t0 . private AS private_3 , t0 . sort AS sort_4 , t0 . file_path AS file_path_5 FROM media t0 INNER JOIN help_person_images ON t0 . id = help_person_images . image_id WHERE help_person_images . help_person_id = 60 ;
Copy
1.32 ms (3.58%)
3
SELECT t0 . id AS id_1 , t0 . title AS title_2 , t0 . private AS private_3 , t0 . sort AS sort_4 , t0 . file_path AS file_path_5 FROM media t0 INNER JOIN help_person_files ON t0 . id = help_person_files . file_id WHERE help_person_files . help_person_id = ?
SELECT t0 . id AS id_1 , t0 . title AS title_2 , t0 . private AS private_3 , t0 . sort AS sort_4 , t0 . file_path AS file_path_5 FROM media t0 INNER JOIN help_person_files ON t0 . id = help_person_files . file_id WHERE help_person_files . help_person_id = 60 ;
Copy
1.09 ms (2.96%)
1
SELECT t0_ . id AS id_0 , t0_ . for_everyone AS for_everyone_1 , t0_ . created_at AS created_at_2 , t0_ . updated_at AS updated_at_3 , t0_ . payment_method_id AS payment_method_id_4 , t0_ . source AS source_5 , t0_ . type AS type_6 , t0_ . status AS status_7 , t0_ . period AS period_8 , t0_ . sum AS sum_9 , t0_ . from_full_name AS from_full_name_10 , t0_ . email AS email_11 , t0_ . comment AS comment_12 , t0_ . payment_data_json AS payment_data_json_13 , t0_ . payment_id AS payment_id_14 , t0_ . payment_status AS payment_status_15 , t0_ . is_hidden AS is_hidden_16 , t0_ . is_return AS is_return_17 , t0_ . hide_from_statistics AS hide_from_statistics_18 , t0_ . commission_percent AS commission_percent_19 , t0_ . commission_text AS commission_text_20 , t0_ . parent_id AS parent_id_21 , t0_ . from_user_id AS from_user_id_22 , t0_ . help_person_id AS help_person_id_23 , t0_ . from_help_person_id AS from_help_person_id_24 , t0_ . help_program_id AS help_program_id_25 , t0_ . transaction_every_period_id AS transaction_every_period_id_26 FROM transactions t0_ WHERE t0_ . payment_status = ? AND t0_ . type IN (? , ? , ? ) AND t0_ . is_hidden = ? ORDER BY t0_ . id DESC LIMIT 15
Parameters :
[
"succeeded "
"yoomoney "
"income "
"consumption "
"false "
]
SELECT t0_ . id AS id_0 , t0_ . for_everyone AS for_everyone_1 , t0_ . created_at AS created_at_2 , t0_ . updated_at AS updated_at_3 , t0_ . payment_method_id AS payment_method_id_4 , t0_ . source AS source_5 , t0_ . type AS type_6 , t0_ . status AS status_7 , t0_ . period AS period_8 , t0_ . sum AS sum_9 , t0_ . from_full_name AS from_full_name_10 , t0_ . email AS email_11 , t0_ . comment AS comment_12 , t0_ . payment_data_json AS payment_data_json_13 , t0_ . payment_id AS payment_id_14 , t0_ . payment_status AS payment_status_15 , t0_ . is_hidden AS is_hidden_16 , t0_ . is_return AS is_return_17 , t0_ . hide_from_statistics AS hide_from_statistics_18 , t0_ . commission_percent AS commission_percent_19 , t0_ . commission_text AS commission_text_20 , t0_ . parent_id AS parent_id_21 , t0_ . from_user_id AS from_user_id_22 , t0_ . help_person_id AS help_person_id_23 , t0_ . from_help_person_id AS from_help_person_id_24 , t0_ . help_program_id AS help_program_id_25 , t0_ . transaction_every_period_id AS transaction_every_period_id_26 FROM transactions t0_ WHERE t0_ . payment_status = 'succeeded' AND t0_ . type IN ('yoomoney' , 'income' , 'consumption' ) AND t0_ . is_hidden = 'false' ORDER BY t0_ . id DESC LIMIT 15 ;
Copy