1
3.88 ms
SELECT id , name , parent_id FROM goods . category
SELECT id , name , parent_id FROM goods . category ;
Copy
2
2.44 ms
SELECT id FROM goods . proposal WHERE (NOT is_private ) AND (NOT is_archive ) ORDER BY date_add DESC LIMIT 6
SELECT id FROM goods . proposal WHERE (NOT is_private ) AND (NOT is_archive ) ORDER BY date_add DESC LIMIT 6 ;
Copy
3
1.46 ms
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . price AS price_3 , t0 . description AS description_4 , t0 . is_archive AS is_archive_5 , t0 . date_add AS date_add_6 , t0 . end_date AS end_date_7 , t0 . is_private AS is_private_8 , t0 . items_count AS items_count_9 , t0 . delivery_method AS delivery_method_10 , t0 . payload AS payload_11 , t0 . category_id AS category_id_12 , t0 . item_id AS item_id_13 , t0 . owner_id AS owner_id_14 FROM goods . proposal t0 WHERE t0 . id = ?
Parameters :
[
"5c03c357-27e1-483d-8425-248f812e72bc "
]
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . price AS price_3 , t0 . description AS description_4 , t0 . is_archive AS is_archive_5 , t0 . date_add AS date_add_6 , t0 . end_date AS end_date_7 , t0 . is_private AS is_private_8 , t0 . items_count AS items_count_9 , t0 . delivery_method AS delivery_method_10 , t0 . payload AS payload_11 , t0 . category_id AS category_id_12 , t0 . item_id AS item_id_13 , t0 . owner_id AS owner_id_14 FROM goods . proposal t0 WHERE t0 . id = '5c03c357-27e1-483d-8425-248f812e72bc' ;
Copy
4
2.43 ms
SELECT COUNT (id ) AS total , MIN (price ):: int AS start_price , MAX (price ):: int AS end_price FROM trade . auction_offer WHERE proposal_id = ? GROUP BY proposal_id
Parameters :
[
"5c03c357-27e1-483d-8425-248f812e72bc "
]
SELECT COUNT (id ) AS total , MIN (price ):: int AS start_price , MAX (price ):: int AS end_price FROM trade . auction_offer WHERE proposal_id = '5c03c357-27e1-483d-8425-248f812e72bc' GROUP BY proposal_id ;
Copy
5
0.42 ms
SELECT cnt FROM counters . proposal_view WHERE id = ?
Parameters :
[
"5c03c357-27e1-483d-8425-248f812e72bc "
]
SELECT cnt FROM counters . proposal_view WHERE id = '5c03c357-27e1-483d-8425-248f812e72bc' ;
Copy
6
0.84 ms
SELECT p0_ . id AS id_0 , p0_ . name AS name_1 , p0_ . surname AS surname_2 , p0_ . patronymic AS patronymic_3 , p0_ . gender AS gender_4 , p0_ . birthdate AS birthdate_5 , p0_ . email AS email_6 , p0_ . phone AS phone_7 , p0_ . avatar AS avatar_8 , p0_ . user_id AS user_id_9 FROM account . person p0_ WHERE p0_ . user_id = ?
SELECT p0_ . id AS id_0 , p0_ . name AS name_1 , p0_ . surname AS surname_2 , p0_ . patronymic AS patronymic_3 , p0_ . gender AS gender_4 , p0_ . birthdate AS birthdate_5 , p0_ . email AS email_6 , p0_ . phone AS phone_7 , p0_ . avatar AS avatar_8 , p0_ . user_id AS user_id_9 FROM account . person p0_ WHERE p0_ . user_id = '0ca6c62b-3d61-469e-96d4-4082c4093a39' ;
Copy
7
0.33 ms
SELECT avatar FROM account . person WHERE user_id = ?
Parameters :
[
"0ca6c62b-3d61-469e-96d4-4082c4093a39 "
]
SELECT avatar FROM account . person WHERE user_id = '0ca6c62b-3d61-469e-96d4-4082c4093a39' ;
Copy
8
1.99 ms
SELECT pg . id AS pg_id , pg . name AS pg_name , p . name AS p_name , p . in_short AS p_short , pp . value AS value FROM goods . proposal_parameter pp INNER JOIN goods . parameter p ON p . id = pp . parameter_id INNER JOIN goods . parameters_group pg ON pg . id = p . parameters_group_id WHERE pp . proposal_id = ? ORDER BY pg . id ASC , p . id ASC
Parameters :
[
"5c03c357-27e1-483d-8425-248f812e72bc "
]
SELECT pg . id AS pg_id , pg . name AS pg_name , p . name AS p_name , p . in_short AS p_short , pp . value AS value FROM goods . proposal_parameter pp INNER JOIN goods . parameter p ON p . id = pp . parameter_id INNER JOIN goods . parameters_group pg ON pg . id = p . parameters_group_id WHERE pp . proposal_id = '5c03c357-27e1-483d-8425-248f812e72bc' ORDER BY pg . id ASC , p . id ASC ;
Copy
9
0.36 ms
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . price AS price_3 , t0 . description AS description_4 , t0 . is_archive AS is_archive_5 , t0 . date_add AS date_add_6 , t0 . end_date AS end_date_7 , t0 . is_private AS is_private_8 , t0 . items_count AS items_count_9 , t0 . delivery_method AS delivery_method_10 , t0 . payload AS payload_11 , t0 . category_id AS category_id_12 , t0 . item_id AS item_id_13 , t0 . owner_id AS owner_id_14 FROM goods . proposal t0 WHERE t0 . id = ?
Parameters :
[
"2fa0c1ad-038f-4ed7-be79-3633bfd00ba0 "
]
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . price AS price_3 , t0 . description AS description_4 , t0 . is_archive AS is_archive_5 , t0 . date_add AS date_add_6 , t0 . end_date AS end_date_7 , t0 . is_private AS is_private_8 , t0 . items_count AS items_count_9 , t0 . delivery_method AS delivery_method_10 , t0 . payload AS payload_11 , t0 . category_id AS category_id_12 , t0 . item_id AS item_id_13 , t0 . owner_id AS owner_id_14 FROM goods . proposal t0 WHERE t0 . id = '2fa0c1ad-038f-4ed7-be79-3633bfd00ba0' ;
Copy
10
0.30 ms
SELECT COUNT (id ) AS total , MIN (price ):: int AS start_price , MAX (price ):: int AS end_price FROM trade . auction_offer WHERE proposal_id = ? GROUP BY proposal_id
Parameters :
[
"2fa0c1ad-038f-4ed7-be79-3633bfd00ba0 "
]
SELECT COUNT (id ) AS total , MIN (price ):: int AS start_price , MAX (price ):: int AS end_price FROM trade . auction_offer WHERE proposal_id = '2fa0c1ad-038f-4ed7-be79-3633bfd00ba0' GROUP BY proposal_id ;
Copy
11
0.20 ms
SELECT cnt FROM counters . proposal_view WHERE id = ?
Parameters :
[
"2fa0c1ad-038f-4ed7-be79-3633bfd00ba0 "
]
SELECT cnt FROM counters . proposal_view WHERE id = '2fa0c1ad-038f-4ed7-be79-3633bfd00ba0' ;
Copy
12
0.64 ms
SELECT pg . id AS pg_id , pg . name AS pg_name , p . name AS p_name , p . in_short AS p_short , pp . value AS value FROM goods . proposal_parameter pp INNER JOIN goods . parameter p ON p . id = pp . parameter_id INNER JOIN goods . parameters_group pg ON pg . id = p . parameters_group_id WHERE pp . proposal_id = ? ORDER BY pg . id ASC , p . id ASC
Parameters :
[
"2fa0c1ad-038f-4ed7-be79-3633bfd00ba0 "
]
SELECT pg . id AS pg_id , pg . name AS pg_name , p . name AS p_name , p . in_short AS p_short , pp . value AS value FROM goods . proposal_parameter pp INNER JOIN goods . parameter p ON p . id = pp . parameter_id INNER JOIN goods . parameters_group pg ON pg . id = p . parameters_group_id WHERE pp . proposal_id = '2fa0c1ad-038f-4ed7-be79-3633bfd00ba0' ORDER BY pg . id ASC , p . id ASC ;
Copy
13
0.45 ms
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . price AS price_3 , t0 . description AS description_4 , t0 . is_archive AS is_archive_5 , t0 . date_add AS date_add_6 , t0 . end_date AS end_date_7 , t0 . is_private AS is_private_8 , t0 . items_count AS items_count_9 , t0 . delivery_method AS delivery_method_10 , t0 . payload AS payload_11 , t0 . category_id AS category_id_12 , t0 . item_id AS item_id_13 , t0 . owner_id AS owner_id_14 FROM goods . proposal t0 WHERE t0 . id = ?
Parameters :
[
"0005a3f2-558b-4702-b8ec-bdc722d9b92a "
]
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . price AS price_3 , t0 . description AS description_4 , t0 . is_archive AS is_archive_5 , t0 . date_add AS date_add_6 , t0 . end_date AS end_date_7 , t0 . is_private AS is_private_8 , t0 . items_count AS items_count_9 , t0 . delivery_method AS delivery_method_10 , t0 . payload AS payload_11 , t0 . category_id AS category_id_12 , t0 . item_id AS item_id_13 , t0 . owner_id AS owner_id_14 FROM goods . proposal t0 WHERE t0 . id = '0005a3f2-558b-4702-b8ec-bdc722d9b92a' ;
Copy
14
0.26 ms
SELECT COUNT (id ) AS total , MIN (price ):: int AS start_price , MAX (price ):: int AS end_price FROM trade . auction_offer WHERE proposal_id = ? GROUP BY proposal_id
Parameters :
[
"0005a3f2-558b-4702-b8ec-bdc722d9b92a "
]
SELECT COUNT (id ) AS total , MIN (price ):: int AS start_price , MAX (price ):: int AS end_price FROM trade . auction_offer WHERE proposal_id = '0005a3f2-558b-4702-b8ec-bdc722d9b92a' GROUP BY proposal_id ;
Copy
15
0.18 ms
SELECT cnt FROM counters . proposal_view WHERE id = ?
Parameters :
[
"0005a3f2-558b-4702-b8ec-bdc722d9b92a "
]
SELECT cnt FROM counters . proposal_view WHERE id = '0005a3f2-558b-4702-b8ec-bdc722d9b92a' ;
Copy
16
0.55 ms
SELECT pg . id AS pg_id , pg . name AS pg_name , p . name AS p_name , p . in_short AS p_short , pp . value AS value FROM goods . proposal_parameter pp INNER JOIN goods . parameter p ON p . id = pp . parameter_id INNER JOIN goods . parameters_group pg ON pg . id = p . parameters_group_id WHERE pp . proposal_id = ? ORDER BY pg . id ASC , p . id ASC
Parameters :
[
"0005a3f2-558b-4702-b8ec-bdc722d9b92a "
]
SELECT pg . id AS pg_id , pg . name AS pg_name , p . name AS p_name , p . in_short AS p_short , pp . value AS value FROM goods . proposal_parameter pp INNER JOIN goods . parameter p ON p . id = pp . parameter_id INNER JOIN goods . parameters_group pg ON pg . id = p . parameters_group_id WHERE pp . proposal_id = '0005a3f2-558b-4702-b8ec-bdc722d9b92a' ORDER BY pg . id ASC , p . id ASC ;
Copy
17
0.31 ms
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . price AS price_3 , t0 . description AS description_4 , t0 . is_archive AS is_archive_5 , t0 . date_add AS date_add_6 , t0 . end_date AS end_date_7 , t0 . is_private AS is_private_8 , t0 . items_count AS items_count_9 , t0 . delivery_method AS delivery_method_10 , t0 . payload AS payload_11 , t0 . category_id AS category_id_12 , t0 . item_id AS item_id_13 , t0 . owner_id AS owner_id_14 FROM goods . proposal t0 WHERE t0 . id = ?
Parameters :
[
"7b097602-b738-4803-a972-982a8083e2f5 "
]
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . price AS price_3 , t0 . description AS description_4 , t0 . is_archive AS is_archive_5 , t0 . date_add AS date_add_6 , t0 . end_date AS end_date_7 , t0 . is_private AS is_private_8 , t0 . items_count AS items_count_9 , t0 . delivery_method AS delivery_method_10 , t0 . payload AS payload_11 , t0 . category_id AS category_id_12 , t0 . item_id AS item_id_13 , t0 . owner_id AS owner_id_14 FROM goods . proposal t0 WHERE t0 . id = '7b097602-b738-4803-a972-982a8083e2f5' ;
Copy
18
0.25 ms
SELECT COUNT (id ) AS total , MIN (price ):: int AS start_price , MAX (price ):: int AS end_price FROM trade . auction_offer WHERE proposal_id = ? GROUP BY proposal_id
Parameters :
[
"7b097602-b738-4803-a972-982a8083e2f5 "
]
SELECT COUNT (id ) AS total , MIN (price ):: int AS start_price , MAX (price ):: int AS end_price FROM trade . auction_offer WHERE proposal_id = '7b097602-b738-4803-a972-982a8083e2f5' GROUP BY proposal_id ;
Copy
19
0.24 ms
SELECT cnt FROM counters . proposal_view WHERE id = ?
Parameters :
[
"7b097602-b738-4803-a972-982a8083e2f5 "
]
SELECT cnt FROM counters . proposal_view WHERE id = '7b097602-b738-4803-a972-982a8083e2f5' ;
Copy
20
0.63 ms
SELECT pg . id AS pg_id , pg . name AS pg_name , p . name AS p_name , p . in_short AS p_short , pp . value AS value FROM goods . proposal_parameter pp INNER JOIN goods . parameter p ON p . id = pp . parameter_id INNER JOIN goods . parameters_group pg ON pg . id = p . parameters_group_id WHERE pp . proposal_id = ? ORDER BY pg . id ASC , p . id ASC
Parameters :
[
"7b097602-b738-4803-a972-982a8083e2f5 "
]
SELECT pg . id AS pg_id , pg . name AS pg_name , p . name AS p_name , p . in_short AS p_short , pp . value AS value FROM goods . proposal_parameter pp INNER JOIN goods . parameter p ON p . id = pp . parameter_id INNER JOIN goods . parameters_group pg ON pg . id = p . parameters_group_id WHERE pp . proposal_id = '7b097602-b738-4803-a972-982a8083e2f5' ORDER BY pg . id ASC , p . id ASC ;
Copy
21
0.28 ms
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . price AS price_3 , t0 . description AS description_4 , t0 . is_archive AS is_archive_5 , t0 . date_add AS date_add_6 , t0 . end_date AS end_date_7 , t0 . is_private AS is_private_8 , t0 . items_count AS items_count_9 , t0 . delivery_method AS delivery_method_10 , t0 . payload AS payload_11 , t0 . category_id AS category_id_12 , t0 . item_id AS item_id_13 , t0 . owner_id AS owner_id_14 FROM goods . proposal t0 WHERE t0 . id = ?
Parameters :
[
"18379cc7-62c3-4901-9ce0-3fbdc786440a "
]
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . price AS price_3 , t0 . description AS description_4 , t0 . is_archive AS is_archive_5 , t0 . date_add AS date_add_6 , t0 . end_date AS end_date_7 , t0 . is_private AS is_private_8 , t0 . items_count AS items_count_9 , t0 . delivery_method AS delivery_method_10 , t0 . payload AS payload_11 , t0 . category_id AS category_id_12 , t0 . item_id AS item_id_13 , t0 . owner_id AS owner_id_14 FROM goods . proposal t0 WHERE t0 . id = '18379cc7-62c3-4901-9ce0-3fbdc786440a' ;
Copy
22
0.25 ms
SELECT COUNT (id ) AS total , MIN (price ):: int AS start_price , MAX (price ):: int AS end_price FROM trade . auction_offer WHERE proposal_id = ? GROUP BY proposal_id
Parameters :
[
"18379cc7-62c3-4901-9ce0-3fbdc786440a "
]
SELECT COUNT (id ) AS total , MIN (price ):: int AS start_price , MAX (price ):: int AS end_price FROM trade . auction_offer WHERE proposal_id = '18379cc7-62c3-4901-9ce0-3fbdc786440a' GROUP BY proposal_id ;
Copy
23
0.19 ms
SELECT cnt FROM counters . proposal_view WHERE id = ?
Parameters :
[
"18379cc7-62c3-4901-9ce0-3fbdc786440a "
]
SELECT cnt FROM counters . proposal_view WHERE id = '18379cc7-62c3-4901-9ce0-3fbdc786440a' ;
Copy
24
0.58 ms
SELECT pg . id AS pg_id , pg . name AS pg_name , p . name AS p_name , p . in_short AS p_short , pp . value AS value FROM goods . proposal_parameter pp INNER JOIN goods . parameter p ON p . id = pp . parameter_id INNER JOIN goods . parameters_group pg ON pg . id = p . parameters_group_id WHERE pp . proposal_id = ? ORDER BY pg . id ASC , p . id ASC
Parameters :
[
"18379cc7-62c3-4901-9ce0-3fbdc786440a "
]
SELECT pg . id AS pg_id , pg . name AS pg_name , p . name AS p_name , p . in_short AS p_short , pp . value AS value FROM goods . proposal_parameter pp INNER JOIN goods . parameter p ON p . id = pp . parameter_id INNER JOIN goods . parameters_group pg ON pg . id = p . parameters_group_id WHERE pp . proposal_id = '18379cc7-62c3-4901-9ce0-3fbdc786440a' ORDER BY pg . id ASC , p . id ASC ;
Copy
25
0.25 ms
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . price AS price_3 , t0 . description AS description_4 , t0 . is_archive AS is_archive_5 , t0 . date_add AS date_add_6 , t0 . end_date AS end_date_7 , t0 . is_private AS is_private_8 , t0 . items_count AS items_count_9 , t0 . delivery_method AS delivery_method_10 , t0 . payload AS payload_11 , t0 . category_id AS category_id_12 , t0 . item_id AS item_id_13 , t0 . owner_id AS owner_id_14 FROM goods . proposal t0 WHERE t0 . id = ?
Parameters :
[
"41fbb6a9-21fd-464c-916b-93aedbdfc16d "
]
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . price AS price_3 , t0 . description AS description_4 , t0 . is_archive AS is_archive_5 , t0 . date_add AS date_add_6 , t0 . end_date AS end_date_7 , t0 . is_private AS is_private_8 , t0 . items_count AS items_count_9 , t0 . delivery_method AS delivery_method_10 , t0 . payload AS payload_11 , t0 . category_id AS category_id_12 , t0 . item_id AS item_id_13 , t0 . owner_id AS owner_id_14 FROM goods . proposal t0 WHERE t0 . id = '41fbb6a9-21fd-464c-916b-93aedbdfc16d' ;
Copy
26
0.22 ms
SELECT COUNT (id ) AS total , MIN (price ):: int AS start_price , MAX (price ):: int AS end_price FROM trade . auction_offer WHERE proposal_id = ? GROUP BY proposal_id
Parameters :
[
"41fbb6a9-21fd-464c-916b-93aedbdfc16d "
]
SELECT COUNT (id ) AS total , MIN (price ):: int AS start_price , MAX (price ):: int AS end_price FROM trade . auction_offer WHERE proposal_id = '41fbb6a9-21fd-464c-916b-93aedbdfc16d' GROUP BY proposal_id ;
Copy
27
0.13 ms
SELECT cnt FROM counters . proposal_view WHERE id = ?
Parameters :
[
"41fbb6a9-21fd-464c-916b-93aedbdfc16d "
]
SELECT cnt FROM counters . proposal_view WHERE id = '41fbb6a9-21fd-464c-916b-93aedbdfc16d' ;
Copy
28
0.22 ms
SELECT p0_ . id AS id_0 , p0_ . name AS name_1 , p0_ . surname AS surname_2 , p0_ . patronymic AS patronymic_3 , p0_ . gender AS gender_4 , p0_ . birthdate AS birthdate_5 , p0_ . email AS email_6 , p0_ . phone AS phone_7 , p0_ . avatar AS avatar_8 , p0_ . user_id AS user_id_9 FROM account . person p0_ WHERE p0_ . user_id = ?
SELECT p0_ . id AS id_0 , p0_ . name AS name_1 , p0_ . surname AS surname_2 , p0_ . patronymic AS patronymic_3 , p0_ . gender AS gender_4 , p0_ . birthdate AS birthdate_5 , p0_ . email AS email_6 , p0_ . phone AS phone_7 , p0_ . avatar AS avatar_8 , p0_ . user_id AS user_id_9 FROM account . person p0_ WHERE p0_ . user_id = '1e2b8d5f-6c6d-46d8-80a8-81b842cea733' ;
Copy
29
0.15 ms
SELECT avatar FROM account . person WHERE user_id = ?
Parameters :
[
"1e2b8d5f-6c6d-46d8-80a8-81b842cea733 "
]
SELECT avatar FROM account . person WHERE user_id = '1e2b8d5f-6c6d-46d8-80a8-81b842cea733' ;
Copy
30
0.62 ms
SELECT pg . id AS pg_id , pg . name AS pg_name , p . name AS p_name , p . in_short AS p_short , pp . value AS value FROM goods . proposal_parameter pp INNER JOIN goods . parameter p ON p . id = pp . parameter_id INNER JOIN goods . parameters_group pg ON pg . id = p . parameters_group_id WHERE pp . proposal_id = ? ORDER BY pg . id ASC , p . id ASC
Parameters :
[
"41fbb6a9-21fd-464c-916b-93aedbdfc16d "
]
SELECT pg . id AS pg_id , pg . name AS pg_name , p . name AS p_name , p . in_short AS p_short , pp . value AS value FROM goods . proposal_parameter pp INNER JOIN goods . parameter p ON p . id = pp . parameter_id INNER JOIN goods . parameters_group pg ON pg . id = p . parameters_group_id WHERE pp . proposal_id = '41fbb6a9-21fd-464c-916b-93aedbdfc16d' ORDER BY pg . id ASC , p . id ASC ;
Copy
31
0.34 ms
SELECT id FROM goods . proposal WHERE (NOT is_private ) AND (NOT is_archive ) ORDER BY date_add DESC
SELECT id FROM goods . proposal WHERE (NOT is_private ) AND (NOT is_archive ) ORDER BY date_add DESC ;
Copy
32
0.28 ms
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . price AS price_3 , t0 . description AS description_4 , t0 . is_archive AS is_archive_5 , t0 . date_add AS date_add_6 , t0 . end_date AS end_date_7 , t0 . is_private AS is_private_8 , t0 . items_count AS items_count_9 , t0 . delivery_method AS delivery_method_10 , t0 . payload AS payload_11 , t0 . category_id AS category_id_12 , t0 . item_id AS item_id_13 , t0 . owner_id AS owner_id_14 FROM goods . proposal t0 WHERE t0 . id = ?
Parameters :
[
"d34ab539-71bd-4483-b1a0-4a810148bd5c "
]
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . price AS price_3 , t0 . description AS description_4 , t0 . is_archive AS is_archive_5 , t0 . date_add AS date_add_6 , t0 . end_date AS end_date_7 , t0 . is_private AS is_private_8 , t0 . items_count AS items_count_9 , t0 . delivery_method AS delivery_method_10 , t0 . payload AS payload_11 , t0 . category_id AS category_id_12 , t0 . item_id AS item_id_13 , t0 . owner_id AS owner_id_14 FROM goods . proposal t0 WHERE t0 . id = 'd34ab539-71bd-4483-b1a0-4a810148bd5c' ;
Copy
33
0.21 ms
SELECT COUNT (id ) AS total , MIN (price ):: int AS start_price , MAX (price ):: int AS end_price FROM trade . auction_offer WHERE proposal_id = ? GROUP BY proposal_id
Parameters :
[
"d34ab539-71bd-4483-b1a0-4a810148bd5c "
]
SELECT COUNT (id ) AS total , MIN (price ):: int AS start_price , MAX (price ):: int AS end_price FROM trade . auction_offer WHERE proposal_id = 'd34ab539-71bd-4483-b1a0-4a810148bd5c' GROUP BY proposal_id ;
Copy
34
0.12 ms
SELECT cnt FROM counters . proposal_view WHERE id = ?
Parameters :
[
"d34ab539-71bd-4483-b1a0-4a810148bd5c "
]
SELECT cnt FROM counters . proposal_view WHERE id = 'd34ab539-71bd-4483-b1a0-4a810148bd5c' ;
Copy
35
0.20 ms
SELECT p0_ . id AS id_0 , p0_ . name AS name_1 , p0_ . surname AS surname_2 , p0_ . patronymic AS patronymic_3 , p0_ . gender AS gender_4 , p0_ . birthdate AS birthdate_5 , p0_ . email AS email_6 , p0_ . phone AS phone_7 , p0_ . avatar AS avatar_8 , p0_ . user_id AS user_id_9 FROM account . person p0_ WHERE p0_ . user_id = ?
SELECT p0_ . id AS id_0 , p0_ . name AS name_1 , p0_ . surname AS surname_2 , p0_ . patronymic AS patronymic_3 , p0_ . gender AS gender_4 , p0_ . birthdate AS birthdate_5 , p0_ . email AS email_6 , p0_ . phone AS phone_7 , p0_ . avatar AS avatar_8 , p0_ . user_id AS user_id_9 FROM account . person p0_ WHERE p0_ . user_id = 'd690b55f-5fdd-4df6-840d-eec994dd4693' ;
Copy
36
0.15 ms
SELECT avatar FROM account . person WHERE user_id = ?
Parameters :
[
"d690b55f-5fdd-4df6-840d-eec994dd4693 "
]
SELECT avatar FROM account . person WHERE user_id = 'd690b55f-5fdd-4df6-840d-eec994dd4693' ;
Copy
37
0.51 ms
SELECT pg . id AS pg_id , pg . name AS pg_name , p . name AS p_name , p . in_short AS p_short , pp . value AS value FROM goods . proposal_parameter pp INNER JOIN goods . parameter p ON p . id = pp . parameter_id INNER JOIN goods . parameters_group pg ON pg . id = p . parameters_group_id WHERE pp . proposal_id = ? ORDER BY pg . id ASC , p . id ASC
Parameters :
[
"d34ab539-71bd-4483-b1a0-4a810148bd5c "
]
SELECT pg . id AS pg_id , pg . name AS pg_name , p . name AS p_name , p . in_short AS p_short , pp . value AS value FROM goods . proposal_parameter pp INNER JOIN goods . parameter p ON p . id = pp . parameter_id INNER JOIN goods . parameters_group pg ON pg . id = p . parameters_group_id WHERE pp . proposal_id = 'd34ab539-71bd-4483-b1a0-4a810148bd5c' ORDER BY pg . id ASC , p . id ASC ;
Copy
38
0.30 ms
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . price AS price_3 , t0 . description AS description_4 , t0 . is_archive AS is_archive_5 , t0 . date_add AS date_add_6 , t0 . end_date AS end_date_7 , t0 . is_private AS is_private_8 , t0 . items_count AS items_count_9 , t0 . delivery_method AS delivery_method_10 , t0 . payload AS payload_11 , t0 . category_id AS category_id_12 , t0 . item_id AS item_id_13 , t0 . owner_id AS owner_id_14 FROM goods . proposal t0 WHERE t0 . id = ?
Parameters :
[
"9ed00a92-72a0-47d9-97f9-5c0dc7e2f47e "
]
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . price AS price_3 , t0 . description AS description_4 , t0 . is_archive AS is_archive_5 , t0 . date_add AS date_add_6 , t0 . end_date AS end_date_7 , t0 . is_private AS is_private_8 , t0 . items_count AS items_count_9 , t0 . delivery_method AS delivery_method_10 , t0 . payload AS payload_11 , t0 . category_id AS category_id_12 , t0 . item_id AS item_id_13 , t0 . owner_id AS owner_id_14 FROM goods . proposal t0 WHERE t0 . id = '9ed00a92-72a0-47d9-97f9-5c0dc7e2f47e' ;
Copy
39
0.20 ms
SELECT COUNT (id ) AS total , MIN (price ):: int AS start_price , MAX (price ):: int AS end_price FROM trade . auction_offer WHERE proposal_id = ? GROUP BY proposal_id
Parameters :
[
"9ed00a92-72a0-47d9-97f9-5c0dc7e2f47e "
]
SELECT COUNT (id ) AS total , MIN (price ):: int AS start_price , MAX (price ):: int AS end_price FROM trade . auction_offer WHERE proposal_id = '9ed00a92-72a0-47d9-97f9-5c0dc7e2f47e' GROUP BY proposal_id ;
Copy
40
0.14 ms
SELECT cnt FROM counters . proposal_view WHERE id = ?
Parameters :
[
"9ed00a92-72a0-47d9-97f9-5c0dc7e2f47e "
]
SELECT cnt FROM counters . proposal_view WHERE id = '9ed00a92-72a0-47d9-97f9-5c0dc7e2f47e' ;
Copy
41
0.49 ms
SELECT pg . id AS pg_id , pg . name AS pg_name , p . name AS p_name , p . in_short AS p_short , pp . value AS value FROM goods . proposal_parameter pp INNER JOIN goods . parameter p ON p . id = pp . parameter_id INNER JOIN goods . parameters_group pg ON pg . id = p . parameters_group_id WHERE pp . proposal_id = ? ORDER BY pg . id ASC , p . id ASC
Parameters :
[
"9ed00a92-72a0-47d9-97f9-5c0dc7e2f47e "
]
SELECT pg . id AS pg_id , pg . name AS pg_name , p . name AS p_name , p . in_short AS p_short , pp . value AS value FROM goods . proposal_parameter pp INNER JOIN goods . parameter p ON p . id = pp . parameter_id INNER JOIN goods . parameters_group pg ON pg . id = p . parameters_group_id WHERE pp . proposal_id = '9ed00a92-72a0-47d9-97f9-5c0dc7e2f47e' ORDER BY pg . id ASC , p . id ASC ;
Copy
42
0.31 ms
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . price AS price_3 , t0 . description AS description_4 , t0 . is_archive AS is_archive_5 , t0 . date_add AS date_add_6 , t0 . end_date AS end_date_7 , t0 . is_private AS is_private_8 , t0 . items_count AS items_count_9 , t0 . delivery_method AS delivery_method_10 , t0 . payload AS payload_11 , t0 . category_id AS category_id_12 , t0 . item_id AS item_id_13 , t0 . owner_id AS owner_id_14 FROM goods . proposal t0 WHERE t0 . id = ?
Parameters :
[
"ad7eee0d-dc55-48dc-9ec2-f6b8ee7b566d "
]
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . price AS price_3 , t0 . description AS description_4 , t0 . is_archive AS is_archive_5 , t0 . date_add AS date_add_6 , t0 . end_date AS end_date_7 , t0 . is_private AS is_private_8 , t0 . items_count AS items_count_9 , t0 . delivery_method AS delivery_method_10 , t0 . payload AS payload_11 , t0 . category_id AS category_id_12 , t0 . item_id AS item_id_13 , t0 . owner_id AS owner_id_14 FROM goods . proposal t0 WHERE t0 . id = 'ad7eee0d-dc55-48dc-9ec2-f6b8ee7b566d' ;
Copy
43
0.20 ms
SELECT COUNT (id ) AS total , MIN (price ):: int AS start_price , MAX (price ):: int AS end_price FROM trade . auction_offer WHERE proposal_id = ? GROUP BY proposal_id
Parameters :
[
"ad7eee0d-dc55-48dc-9ec2-f6b8ee7b566d "
]
SELECT COUNT (id ) AS total , MIN (price ):: int AS start_price , MAX (price ):: int AS end_price FROM trade . auction_offer WHERE proposal_id = 'ad7eee0d-dc55-48dc-9ec2-f6b8ee7b566d' GROUP BY proposal_id ;
Copy
44
0.17 ms
SELECT cnt FROM counters . proposal_view WHERE id = ?
Parameters :
[
"ad7eee0d-dc55-48dc-9ec2-f6b8ee7b566d "
]
SELECT cnt FROM counters . proposal_view WHERE id = 'ad7eee0d-dc55-48dc-9ec2-f6b8ee7b566d' ;
Copy
45
0.18 ms
SELECT p0_ . id AS id_0 , p0_ . name AS name_1 , p0_ . surname AS surname_2 , p0_ . patronymic AS patronymic_3 , p0_ . gender AS gender_4 , p0_ . birthdate AS birthdate_5 , p0_ . email AS email_6 , p0_ . phone AS phone_7 , p0_ . avatar AS avatar_8 , p0_ . user_id AS user_id_9 FROM account . person p0_ WHERE p0_ . user_id = ?
SELECT p0_ . id AS id_0 , p0_ . name AS name_1 , p0_ . surname AS surname_2 , p0_ . patronymic AS patronymic_3 , p0_ . gender AS gender_4 , p0_ . birthdate AS birthdate_5 , p0_ . email AS email_6 , p0_ . phone AS phone_7 , p0_ . avatar AS avatar_8 , p0_ . user_id AS user_id_9 FROM account . person p0_ WHERE p0_ . user_id = 'e2350144-be17-4130-bca9-2f200ed36640' ;
Copy
46
0.13 ms
SELECT avatar FROM account . person WHERE user_id = ?
Parameters :
[
"e2350144-be17-4130-bca9-2f200ed36640 "
]
SELECT avatar FROM account . person WHERE user_id = 'e2350144-be17-4130-bca9-2f200ed36640' ;
Copy
47
0.61 ms
SELECT pg . id AS pg_id , pg . name AS pg_name , p . name AS p_name , p . in_short AS p_short , pp . value AS value FROM goods . proposal_parameter pp INNER JOIN goods . parameter p ON p . id = pp . parameter_id INNER JOIN goods . parameters_group pg ON pg . id = p . parameters_group_id WHERE pp . proposal_id = ? ORDER BY pg . id ASC , p . id ASC
Parameters :
[
"ad7eee0d-dc55-48dc-9ec2-f6b8ee7b566d "
]
SELECT pg . id AS pg_id , pg . name AS pg_name , p . name AS p_name , p . in_short AS p_short , pp . value AS value FROM goods . proposal_parameter pp INNER JOIN goods . parameter p ON p . id = pp . parameter_id INNER JOIN goods . parameters_group pg ON pg . id = p . parameters_group_id WHERE pp . proposal_id = 'ad7eee0d-dc55-48dc-9ec2-f6b8ee7b566d' ORDER BY pg . id ASC , p . id ASC ;
Copy
48
0.25 ms
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . price AS price_3 , t0 . description AS description_4 , t0 . is_archive AS is_archive_5 , t0 . date_add AS date_add_6 , t0 . end_date AS end_date_7 , t0 . is_private AS is_private_8 , t0 . items_count AS items_count_9 , t0 . delivery_method AS delivery_method_10 , t0 . payload AS payload_11 , t0 . category_id AS category_id_12 , t0 . item_id AS item_id_13 , t0 . owner_id AS owner_id_14 FROM goods . proposal t0 WHERE t0 . id = ?
Parameters :
[
"db2d4121-3309-4483-9b60-153288623a86 "
]
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . price AS price_3 , t0 . description AS description_4 , t0 . is_archive AS is_archive_5 , t0 . date_add AS date_add_6 , t0 . end_date AS end_date_7 , t0 . is_private AS is_private_8 , t0 . items_count AS items_count_9 , t0 . delivery_method AS delivery_method_10 , t0 . payload AS payload_11 , t0 . category_id AS category_id_12 , t0 . item_id AS item_id_13 , t0 . owner_id AS owner_id_14 FROM goods . proposal t0 WHERE t0 . id = 'db2d4121-3309-4483-9b60-153288623a86' ;
Copy
49
0.24 ms
SELECT COUNT (id ) AS total , MIN (price ):: int AS start_price , MAX (price ):: int AS end_price FROM trade . auction_offer WHERE proposal_id = ? GROUP BY proposal_id
Parameters :
[
"db2d4121-3309-4483-9b60-153288623a86 "
]
SELECT COUNT (id ) AS total , MIN (price ):: int AS start_price , MAX (price ):: int AS end_price FROM trade . auction_offer WHERE proposal_id = 'db2d4121-3309-4483-9b60-153288623a86' GROUP BY proposal_id ;
Copy
50
0.27 ms
SELECT COUNT (id ) AS new FROM trade . auction_offer WHERE (proposal_id = ? ) AND (state = 0 ) GROUP BY proposal_id
Parameters :
[
"db2d4121-3309-4483-9b60-153288623a86 "
]
SELECT COUNT (id ) AS new FROM trade . auction_offer WHERE (proposal_id = 'db2d4121-3309-4483-9b60-153288623a86' ) AND (state = 0 ) GROUP BY proposal_id ;
Copy
51
0.13 ms
SELECT cnt FROM counters . proposal_view WHERE id = ?
Parameters :
[
"db2d4121-3309-4483-9b60-153288623a86 "
]
SELECT cnt FROM counters . proposal_view WHERE id = 'db2d4121-3309-4483-9b60-153288623a86' ;
Copy
52
0.15 ms
SELECT p0_ . id AS id_0 , p0_ . name AS name_1 , p0_ . surname AS surname_2 , p0_ . patronymic AS patronymic_3 , p0_ . gender AS gender_4 , p0_ . birthdate AS birthdate_5 , p0_ . email AS email_6 , p0_ . phone AS phone_7 , p0_ . avatar AS avatar_8 , p0_ . user_id AS user_id_9 FROM account . person p0_ WHERE p0_ . user_id = ?
SELECT p0_ . id AS id_0 , p0_ . name AS name_1 , p0_ . surname AS surname_2 , p0_ . patronymic AS patronymic_3 , p0_ . gender AS gender_4 , p0_ . birthdate AS birthdate_5 , p0_ . email AS email_6 , p0_ . phone AS phone_7 , p0_ . avatar AS avatar_8 , p0_ . user_id AS user_id_9 FROM account . person p0_ WHERE p0_ . user_id = '2acf326f-54d2-4646-93fe-77f3b13d5b58' ;
Copy
53
0.11 ms
SELECT avatar FROM account . person WHERE user_id = ?
Parameters :
[
"2acf326f-54d2-4646-93fe-77f3b13d5b58 "
]
SELECT avatar FROM account . person WHERE user_id = '2acf326f-54d2-4646-93fe-77f3b13d5b58' ;
Copy
54
0.52 ms
SELECT pg . id AS pg_id , pg . name AS pg_name , p . name AS p_name , p . in_short AS p_short , pp . value AS value FROM goods . proposal_parameter pp INNER JOIN goods . parameter p ON p . id = pp . parameter_id INNER JOIN goods . parameters_group pg ON pg . id = p . parameters_group_id WHERE pp . proposal_id = ? ORDER BY pg . id ASC , p . id ASC
Parameters :
[
"db2d4121-3309-4483-9b60-153288623a86 "
]
SELECT pg . id AS pg_id , pg . name AS pg_name , p . name AS p_name , p . in_short AS p_short , pp . value AS value FROM goods . proposal_parameter pp INNER JOIN goods . parameter p ON p . id = pp . parameter_id INNER JOIN goods . parameters_group pg ON pg . id = p . parameters_group_id WHERE pp . proposal_id = 'db2d4121-3309-4483-9b60-153288623a86' ORDER BY pg . id ASC , p . id ASC ;
Copy
55
0.20 ms
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . price AS price_3 , t0 . description AS description_4 , t0 . is_archive AS is_archive_5 , t0 . date_add AS date_add_6 , t0 . end_date AS end_date_7 , t0 . is_private AS is_private_8 , t0 . items_count AS items_count_9 , t0 . delivery_method AS delivery_method_10 , t0 . payload AS payload_11 , t0 . category_id AS category_id_12 , t0 . item_id AS item_id_13 , t0 . owner_id AS owner_id_14 FROM goods . proposal t0 WHERE t0 . id = ?
Parameters :
[
"1a7b60d7-950e-46e4-993a-61470d3c11b2 "
]
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . price AS price_3 , t0 . description AS description_4 , t0 . is_archive AS is_archive_5 , t0 . date_add AS date_add_6 , t0 . end_date AS end_date_7 , t0 . is_private AS is_private_8 , t0 . items_count AS items_count_9 , t0 . delivery_method AS delivery_method_10 , t0 . payload AS payload_11 , t0 . category_id AS category_id_12 , t0 . item_id AS item_id_13 , t0 . owner_id AS owner_id_14 FROM goods . proposal t0 WHERE t0 . id = '1a7b60d7-950e-46e4-993a-61470d3c11b2' ;
Copy
56
0.20 ms
SELECT COUNT (id ) AS total , MIN (price ):: int AS start_price , MAX (price ):: int AS end_price FROM trade . auction_offer WHERE proposal_id = ? GROUP BY proposal_id
Parameters :
[
"1a7b60d7-950e-46e4-993a-61470d3c11b2 "
]
SELECT COUNT (id ) AS total , MIN (price ):: int AS start_price , MAX (price ):: int AS end_price FROM trade . auction_offer WHERE proposal_id = '1a7b60d7-950e-46e4-993a-61470d3c11b2' GROUP BY proposal_id ;
Copy
57
0.14 ms
SELECT cnt FROM counters . proposal_view WHERE id = ?
Parameters :
[
"1a7b60d7-950e-46e4-993a-61470d3c11b2 "
]
SELECT cnt FROM counters . proposal_view WHERE id = '1a7b60d7-950e-46e4-993a-61470d3c11b2' ;
Copy
58
0.54 ms
SELECT pg . id AS pg_id , pg . name AS pg_name , p . name AS p_name , p . in_short AS p_short , pp . value AS value FROM goods . proposal_parameter pp INNER JOIN goods . parameter p ON p . id = pp . parameter_id INNER JOIN goods . parameters_group pg ON pg . id = p . parameters_group_id WHERE pp . proposal_id = ? ORDER BY pg . id ASC , p . id ASC
Parameters :
[
"1a7b60d7-950e-46e4-993a-61470d3c11b2 "
]
SELECT pg . id AS pg_id , pg . name AS pg_name , p . name AS p_name , p . in_short AS p_short , pp . value AS value FROM goods . proposal_parameter pp INNER JOIN goods . parameter p ON p . id = pp . parameter_id INNER JOIN goods . parameters_group pg ON pg . id = p . parameters_group_id WHERE pp . proposal_id = '1a7b60d7-950e-46e4-993a-61470d3c11b2' ORDER BY pg . id ASC , p . id ASC ;
Copy
59
0.22 ms
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . price AS price_3 , t0 . description AS description_4 , t0 . is_archive AS is_archive_5 , t0 . date_add AS date_add_6 , t0 . end_date AS end_date_7 , t0 . is_private AS is_private_8 , t0 . items_count AS items_count_9 , t0 . delivery_method AS delivery_method_10 , t0 . payload AS payload_11 , t0 . category_id AS category_id_12 , t0 . item_id AS item_id_13 , t0 . owner_id AS owner_id_14 FROM goods . proposal t0 WHERE t0 . id = ?
Parameters :
[
"bcd81f86-a9ae-4b23-bbc3-40aeb0e97f21 "
]
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . price AS price_3 , t0 . description AS description_4 , t0 . is_archive AS is_archive_5 , t0 . date_add AS date_add_6 , t0 . end_date AS end_date_7 , t0 . is_private AS is_private_8 , t0 . items_count AS items_count_9 , t0 . delivery_method AS delivery_method_10 , t0 . payload AS payload_11 , t0 . category_id AS category_id_12 , t0 . item_id AS item_id_13 , t0 . owner_id AS owner_id_14 FROM goods . proposal t0 WHERE t0 . id = 'bcd81f86-a9ae-4b23-bbc3-40aeb0e97f21' ;
Copy
60
0.19 ms
SELECT COUNT (id ) AS total , MIN (price ):: int AS start_price , MAX (price ):: int AS end_price FROM trade . auction_offer WHERE proposal_id = ? GROUP BY proposal_id
Parameters :
[
"bcd81f86-a9ae-4b23-bbc3-40aeb0e97f21 "
]
SELECT COUNT (id ) AS total , MIN (price ):: int AS start_price , MAX (price ):: int AS end_price FROM trade . auction_offer WHERE proposal_id = 'bcd81f86-a9ae-4b23-bbc3-40aeb0e97f21' GROUP BY proposal_id ;
Copy
61
0.13 ms
SELECT cnt FROM counters . proposal_view WHERE id = ?
Parameters :
[
"bcd81f86-a9ae-4b23-bbc3-40aeb0e97f21 "
]
SELECT cnt FROM counters . proposal_view WHERE id = 'bcd81f86-a9ae-4b23-bbc3-40aeb0e97f21' ;
Copy
62
1.02 ms
SELECT pg . id AS pg_id , pg . name AS pg_name , p . name AS p_name , p . in_short AS p_short , pp . value AS value FROM goods . proposal_parameter pp INNER JOIN goods . parameter p ON p . id = pp . parameter_id INNER JOIN goods . parameters_group pg ON pg . id = p . parameters_group_id WHERE pp . proposal_id = ? ORDER BY pg . id ASC , p . id ASC
Parameters :
[
"bcd81f86-a9ae-4b23-bbc3-40aeb0e97f21 "
]
SELECT pg . id AS pg_id , pg . name AS pg_name , p . name AS p_name , p . in_short AS p_short , pp . value AS value FROM goods . proposal_parameter pp INNER JOIN goods . parameter p ON p . id = pp . parameter_id INNER JOIN goods . parameters_group pg ON pg . id = p . parameters_group_id WHERE pp . proposal_id = 'bcd81f86-a9ae-4b23-bbc3-40aeb0e97f21' ORDER BY pg . id ASC , p . id ASC ;
Copy
63
0.29 ms
SELECT id FROM goods . proposal WHERE (NOT is_private ) AND (NOT is_archive ) ORDER BY date_add DESC
SELECT id FROM goods . proposal WHERE (NOT is_private ) AND (NOT is_archive ) ORDER BY date_add DESC ;
Copy
64
0.29 ms
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . price AS price_3 , t0 . description AS description_4 , t0 . is_archive AS is_archive_5 , t0 . date_add AS date_add_6 , t0 . end_date AS end_date_7 , t0 . is_private AS is_private_8 , t0 . items_count AS items_count_9 , t0 . delivery_method AS delivery_method_10 , t0 . payload AS payload_11 , t0 . category_id AS category_id_12 , t0 . item_id AS item_id_13 , t0 . owner_id AS owner_id_14 FROM goods . proposal t0 WHERE t0 . id = ?
Parameters :
[
"4339bd72-8e8a-47e7-ac43-7c35ddecbfa3 "
]
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . price AS price_3 , t0 . description AS description_4 , t0 . is_archive AS is_archive_5 , t0 . date_add AS date_add_6 , t0 . end_date AS end_date_7 , t0 . is_private AS is_private_8 , t0 . items_count AS items_count_9 , t0 . delivery_method AS delivery_method_10 , t0 . payload AS payload_11 , t0 . category_id AS category_id_12 , t0 . item_id AS item_id_13 , t0 . owner_id AS owner_id_14 FROM goods . proposal t0 WHERE t0 . id = '4339bd72-8e8a-47e7-ac43-7c35ddecbfa3' ;
Copy
65
0.20 ms
SELECT COUNT (id ) AS total , MIN (price ):: int AS start_price , MAX (price ):: int AS end_price FROM trade . auction_offer WHERE proposal_id = ? GROUP BY proposal_id
Parameters :
[
"4339bd72-8e8a-47e7-ac43-7c35ddecbfa3 "
]
SELECT COUNT (id ) AS total , MIN (price ):: int AS start_price , MAX (price ):: int AS end_price FROM trade . auction_offer WHERE proposal_id = '4339bd72-8e8a-47e7-ac43-7c35ddecbfa3' GROUP BY proposal_id ;
Copy
66
0.14 ms
SELECT cnt FROM counters . proposal_view WHERE id = ?
Parameters :
[
"4339bd72-8e8a-47e7-ac43-7c35ddecbfa3 "
]
SELECT cnt FROM counters . proposal_view WHERE id = '4339bd72-8e8a-47e7-ac43-7c35ddecbfa3' ;
Copy
67
1.08 ms
SELECT pg . id AS pg_id , pg . name AS pg_name , p . name AS p_name , p . in_short AS p_short , pp . value AS value FROM goods . proposal_parameter pp INNER JOIN goods . parameter p ON p . id = pp . parameter_id INNER JOIN goods . parameters_group pg ON pg . id = p . parameters_group_id WHERE pp . proposal_id = ? ORDER BY pg . id ASC , p . id ASC
Parameters :
[
"4339bd72-8e8a-47e7-ac43-7c35ddecbfa3 "
]
SELECT pg . id AS pg_id , pg . name AS pg_name , p . name AS p_name , p . in_short AS p_short , pp . value AS value FROM goods . proposal_parameter pp INNER JOIN goods . parameter p ON p . id = pp . parameter_id INNER JOIN goods . parameters_group pg ON pg . id = p . parameters_group_id WHERE pp . proposal_id = '4339bd72-8e8a-47e7-ac43-7c35ddecbfa3' ORDER BY pg . id ASC , p . id ASC ;
Copy
68
0.29 ms
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . price AS price_3 , t0 . description AS description_4 , t0 . is_archive AS is_archive_5 , t0 . date_add AS date_add_6 , t0 . end_date AS end_date_7 , t0 . is_private AS is_private_8 , t0 . items_count AS items_count_9 , t0 . delivery_method AS delivery_method_10 , t0 . payload AS payload_11 , t0 . category_id AS category_id_12 , t0 . item_id AS item_id_13 , t0 . owner_id AS owner_id_14 FROM goods . proposal t0 WHERE t0 . id = ?
Parameters :
[
"611efe99-a19a-425e-8801-99044595b67f "
]
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . price AS price_3 , t0 . description AS description_4 , t0 . is_archive AS is_archive_5 , t0 . date_add AS date_add_6 , t0 . end_date AS end_date_7 , t0 . is_private AS is_private_8 , t0 . items_count AS items_count_9 , t0 . delivery_method AS delivery_method_10 , t0 . payload AS payload_11 , t0 . category_id AS category_id_12 , t0 . item_id AS item_id_13 , t0 . owner_id AS owner_id_14 FROM goods . proposal t0 WHERE t0 . id = '611efe99-a19a-425e-8801-99044595b67f' ;
Copy
69
0.20 ms
SELECT COUNT (id ) AS total , MIN (price ):: int AS start_price , MAX (price ):: int AS end_price FROM trade . auction_offer WHERE proposal_id = ? GROUP BY proposal_id
Parameters :
[
"611efe99-a19a-425e-8801-99044595b67f "
]
SELECT COUNT (id ) AS total , MIN (price ):: int AS start_price , MAX (price ):: int AS end_price FROM trade . auction_offer WHERE proposal_id = '611efe99-a19a-425e-8801-99044595b67f' GROUP BY proposal_id ;
Copy
70
0.11 ms
SELECT cnt FROM counters . proposal_view WHERE id = ?
Parameters :
[
"611efe99-a19a-425e-8801-99044595b67f "
]
SELECT cnt FROM counters . proposal_view WHERE id = '611efe99-a19a-425e-8801-99044595b67f' ;
Copy
71
0.49 ms
SELECT pg . id AS pg_id , pg . name AS pg_name , p . name AS p_name , p . in_short AS p_short , pp . value AS value FROM goods . proposal_parameter pp INNER JOIN goods . parameter p ON p . id = pp . parameter_id INNER JOIN goods . parameters_group pg ON pg . id = p . parameters_group_id WHERE pp . proposal_id = ? ORDER BY pg . id ASC , p . id ASC
Parameters :
[
"611efe99-a19a-425e-8801-99044595b67f "
]
SELECT pg . id AS pg_id , pg . name AS pg_name , p . name AS p_name , p . in_short AS p_short , pp . value AS value FROM goods . proposal_parameter pp INNER JOIN goods . parameter p ON p . id = pp . parameter_id INNER JOIN goods . parameters_group pg ON pg . id = p . parameters_group_id WHERE pp . proposal_id = '611efe99-a19a-425e-8801-99044595b67f' ORDER BY pg . id ASC , p . id ASC ;
Copy
72
0.29 ms
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . price AS price_3 , t0 . description AS description_4 , t0 . is_archive AS is_archive_5 , t0 . date_add AS date_add_6 , t0 . end_date AS end_date_7 , t0 . is_private AS is_private_8 , t0 . items_count AS items_count_9 , t0 . delivery_method AS delivery_method_10 , t0 . payload AS payload_11 , t0 . category_id AS category_id_12 , t0 . item_id AS item_id_13 , t0 . owner_id AS owner_id_14 FROM goods . proposal t0 WHERE t0 . id = ?
Parameters :
[
"569ffe50-05b2-40b2-b355-198add23a824 "
]
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . price AS price_3 , t0 . description AS description_4 , t0 . is_archive AS is_archive_5 , t0 . date_add AS date_add_6 , t0 . end_date AS end_date_7 , t0 . is_private AS is_private_8 , t0 . items_count AS items_count_9 , t0 . delivery_method AS delivery_method_10 , t0 . payload AS payload_11 , t0 . category_id AS category_id_12 , t0 . item_id AS item_id_13 , t0 . owner_id AS owner_id_14 FROM goods . proposal t0 WHERE t0 . id = '569ffe50-05b2-40b2-b355-198add23a824' ;
Copy
73
0.23 ms
SELECT COUNT (id ) AS total , MIN (price ):: int AS start_price , MAX (price ):: int AS end_price FROM trade . auction_offer WHERE proposal_id = ? GROUP BY proposal_id
Parameters :
[
"569ffe50-05b2-40b2-b355-198add23a824 "
]
SELECT COUNT (id ) AS total , MIN (price ):: int AS start_price , MAX (price ):: int AS end_price FROM trade . auction_offer WHERE proposal_id = '569ffe50-05b2-40b2-b355-198add23a824' GROUP BY proposal_id ;
Copy
74
0.17 ms
SELECT cnt FROM counters . proposal_view WHERE id = ?
Parameters :
[
"569ffe50-05b2-40b2-b355-198add23a824 "
]
SELECT cnt FROM counters . proposal_view WHERE id = '569ffe50-05b2-40b2-b355-198add23a824' ;
Copy
75
1.11 ms
SELECT pg . id AS pg_id , pg . name AS pg_name , p . name AS p_name , p . in_short AS p_short , pp . value AS value FROM goods . proposal_parameter pp INNER JOIN goods . parameter p ON p . id = pp . parameter_id INNER JOIN goods . parameters_group pg ON pg . id = p . parameters_group_id WHERE pp . proposal_id = ? ORDER BY pg . id ASC , p . id ASC
Parameters :
[
"569ffe50-05b2-40b2-b355-198add23a824 "
]
SELECT pg . id AS pg_id , pg . name AS pg_name , p . name AS p_name , p . in_short AS p_short , pp . value AS value FROM goods . proposal_parameter pp INNER JOIN goods . parameter p ON p . id = pp . parameter_id INNER JOIN goods . parameters_group pg ON pg . id = p . parameters_group_id WHERE pp . proposal_id = '569ffe50-05b2-40b2-b355-198add23a824' ORDER BY pg . id ASC , p . id ASC ;
Copy
76
0.30 ms
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . price AS price_3 , t0 . description AS description_4 , t0 . is_archive AS is_archive_5 , t0 . date_add AS date_add_6 , t0 . end_date AS end_date_7 , t0 . is_private AS is_private_8 , t0 . items_count AS items_count_9 , t0 . delivery_method AS delivery_method_10 , t0 . payload AS payload_11 , t0 . category_id AS category_id_12 , t0 . item_id AS item_id_13 , t0 . owner_id AS owner_id_14 FROM goods . proposal t0 WHERE t0 . id = ?
Parameters :
[
"bdccfa55-644f-405e-82ac-6a82ef6c9d8c "
]
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . price AS price_3 , t0 . description AS description_4 , t0 . is_archive AS is_archive_5 , t0 . date_add AS date_add_6 , t0 . end_date AS end_date_7 , t0 . is_private AS is_private_8 , t0 . items_count AS items_count_9 , t0 . delivery_method AS delivery_method_10 , t0 . payload AS payload_11 , t0 . category_id AS category_id_12 , t0 . item_id AS item_id_13 , t0 . owner_id AS owner_id_14 FROM goods . proposal t0 WHERE t0 . id = 'bdccfa55-644f-405e-82ac-6a82ef6c9d8c' ;
Copy
77
0.23 ms
SELECT COUNT (id ) AS total , MIN (price ):: int AS start_price , MAX (price ):: int AS end_price FROM trade . auction_offer WHERE proposal_id = ? GROUP BY proposal_id
Parameters :
[
"bdccfa55-644f-405e-82ac-6a82ef6c9d8c "
]
SELECT COUNT (id ) AS total , MIN (price ):: int AS start_price , MAX (price ):: int AS end_price FROM trade . auction_offer WHERE proposal_id = 'bdccfa55-644f-405e-82ac-6a82ef6c9d8c' GROUP BY proposal_id ;
Copy
78
0.17 ms
SELECT cnt FROM counters . proposal_view WHERE id = ?
Parameters :
[
"bdccfa55-644f-405e-82ac-6a82ef6c9d8c "
]
SELECT cnt FROM counters . proposal_view WHERE id = 'bdccfa55-644f-405e-82ac-6a82ef6c9d8c' ;
Copy
79
0.24 ms
SELECT p0_ . id AS id_0 , p0_ . name AS name_1 , p0_ . surname AS surname_2 , p0_ . patronymic AS patronymic_3 , p0_ . gender AS gender_4 , p0_ . birthdate AS birthdate_5 , p0_ . email AS email_6 , p0_ . phone AS phone_7 , p0_ . avatar AS avatar_8 , p0_ . user_id AS user_id_9 FROM account . person p0_ WHERE p0_ . user_id = ?
SELECT p0_ . id AS id_0 , p0_ . name AS name_1 , p0_ . surname AS surname_2 , p0_ . patronymic AS patronymic_3 , p0_ . gender AS gender_4 , p0_ . birthdate AS birthdate_5 , p0_ . email AS email_6 , p0_ . phone AS phone_7 , p0_ . avatar AS avatar_8 , p0_ . user_id AS user_id_9 FROM account . person p0_ WHERE p0_ . user_id = '7bb2c305-0384-40ee-8c13-f490a91adbeb' ;
Copy
80
0.17 ms
SELECT avatar FROM account . person WHERE user_id = ?
Parameters :
[
"7bb2c305-0384-40ee-8c13-f490a91adbeb "
]
SELECT avatar FROM account . person WHERE user_id = '7bb2c305-0384-40ee-8c13-f490a91adbeb' ;
Copy
81
1.08 ms
SELECT pg . id AS pg_id , pg . name AS pg_name , p . name AS p_name , p . in_short AS p_short , pp . value AS value FROM goods . proposal_parameter pp INNER JOIN goods . parameter p ON p . id = pp . parameter_id INNER JOIN goods . parameters_group pg ON pg . id = p . parameters_group_id WHERE pp . proposal_id = ? ORDER BY pg . id ASC , p . id ASC
Parameters :
[
"bdccfa55-644f-405e-82ac-6a82ef6c9d8c "
]
SELECT pg . id AS pg_id , pg . name AS pg_name , p . name AS p_name , p . in_short AS p_short , pp . value AS value FROM goods . proposal_parameter pp INNER JOIN goods . parameter p ON p . id = pp . parameter_id INNER JOIN goods . parameters_group pg ON pg . id = p . parameters_group_id WHERE pp . proposal_id = 'bdccfa55-644f-405e-82ac-6a82ef6c9d8c' ORDER BY pg . id ASC , p . id ASC ;
Copy
82
0.28 ms
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . price AS price_3 , t0 . description AS description_4 , t0 . is_archive AS is_archive_5 , t0 . date_add AS date_add_6 , t0 . end_date AS end_date_7 , t0 . is_private AS is_private_8 , t0 . items_count AS items_count_9 , t0 . delivery_method AS delivery_method_10 , t0 . payload AS payload_11 , t0 . category_id AS category_id_12 , t0 . item_id AS item_id_13 , t0 . owner_id AS owner_id_14 FROM goods . proposal t0 WHERE t0 . id = ?
Parameters :
[
"9b8c3a2e-bb3b-477b-ba05-f3248d6279f8 "
]
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . price AS price_3 , t0 . description AS description_4 , t0 . is_archive AS is_archive_5 , t0 . date_add AS date_add_6 , t0 . end_date AS end_date_7 , t0 . is_private AS is_private_8 , t0 . items_count AS items_count_9 , t0 . delivery_method AS delivery_method_10 , t0 . payload AS payload_11 , t0 . category_id AS category_id_12 , t0 . item_id AS item_id_13 , t0 . owner_id AS owner_id_14 FROM goods . proposal t0 WHERE t0 . id = '9b8c3a2e-bb3b-477b-ba05-f3248d6279f8' ;
Copy
83
0.25 ms
SELECT COUNT (id ) AS total , MIN (price ):: int AS start_price , MAX (price ):: int AS end_price FROM trade . auction_offer WHERE proposal_id = ? GROUP BY proposal_id
Parameters :
[
"9b8c3a2e-bb3b-477b-ba05-f3248d6279f8 "
]
SELECT COUNT (id ) AS total , MIN (price ):: int AS start_price , MAX (price ):: int AS end_price FROM trade . auction_offer WHERE proposal_id = '9b8c3a2e-bb3b-477b-ba05-f3248d6279f8' GROUP BY proposal_id ;
Copy
84
0.18 ms
SELECT cnt FROM counters . proposal_view WHERE id = ?
Parameters :
[
"9b8c3a2e-bb3b-477b-ba05-f3248d6279f8 "
]
SELECT cnt FROM counters . proposal_view WHERE id = '9b8c3a2e-bb3b-477b-ba05-f3248d6279f8' ;
Copy
85
0.54 ms
SELECT pg . id AS pg_id , pg . name AS pg_name , p . name AS p_name , p . in_short AS p_short , pp . value AS value FROM goods . proposal_parameter pp INNER JOIN goods . parameter p ON p . id = pp . parameter_id INNER JOIN goods . parameters_group pg ON pg . id = p . parameters_group_id WHERE pp . proposal_id = ? ORDER BY pg . id ASC , p . id ASC
Parameters :
[
"9b8c3a2e-bb3b-477b-ba05-f3248d6279f8 "
]
SELECT pg . id AS pg_id , pg . name AS pg_name , p . name AS p_name , p . in_short AS p_short , pp . value AS value FROM goods . proposal_parameter pp INNER JOIN goods . parameter p ON p . id = pp . parameter_id INNER JOIN goods . parameters_group pg ON pg . id = p . parameters_group_id WHERE pp . proposal_id = '9b8c3a2e-bb3b-477b-ba05-f3248d6279f8' ORDER BY pg . id ASC , p . id ASC ;
Copy
86
0.25 ms
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . price AS price_3 , t0 . description AS description_4 , t0 . is_archive AS is_archive_5 , t0 . date_add AS date_add_6 , t0 . end_date AS end_date_7 , t0 . is_private AS is_private_8 , t0 . items_count AS items_count_9 , t0 . delivery_method AS delivery_method_10 , t0 . payload AS payload_11 , t0 . category_id AS category_id_12 , t0 . item_id AS item_id_13 , t0 . owner_id AS owner_id_14 FROM goods . proposal t0 WHERE t0 . id = ?
Parameters :
[
"2f561b5a-51dd-420a-866b-465d5b411768 "
]
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . price AS price_3 , t0 . description AS description_4 , t0 . is_archive AS is_archive_5 , t0 . date_add AS date_add_6 , t0 . end_date AS end_date_7 , t0 . is_private AS is_private_8 , t0 . items_count AS items_count_9 , t0 . delivery_method AS delivery_method_10 , t0 . payload AS payload_11 , t0 . category_id AS category_id_12 , t0 . item_id AS item_id_13 , t0 . owner_id AS owner_id_14 FROM goods . proposal t0 WHERE t0 . id = '2f561b5a-51dd-420a-866b-465d5b411768' ;
Copy
87
0.25 ms
SELECT COUNT (id ) AS total , MIN (price ):: int AS start_price , MAX (price ):: int AS end_price FROM trade . auction_offer WHERE proposal_id = ? GROUP BY proposal_id
Parameters :
[
"2f561b5a-51dd-420a-866b-465d5b411768 "
]
SELECT COUNT (id ) AS total , MIN (price ):: int AS start_price , MAX (price ):: int AS end_price FROM trade . auction_offer WHERE proposal_id = '2f561b5a-51dd-420a-866b-465d5b411768' GROUP BY proposal_id ;
Copy
88
0.19 ms
SELECT COUNT (id ) AS new FROM trade . auction_offer WHERE (proposal_id = ? ) AND (state = 0 ) GROUP BY proposal_id
Parameters :
[
"2f561b5a-51dd-420a-866b-465d5b411768 "
]
SELECT COUNT (id ) AS new FROM trade . auction_offer WHERE (proposal_id = '2f561b5a-51dd-420a-866b-465d5b411768' ) AND (state = 0 ) GROUP BY proposal_id ;
Copy
89
0.15 ms
SELECT cnt FROM counters . proposal_view WHERE id = ?
Parameters :
[
"2f561b5a-51dd-420a-866b-465d5b411768 "
]
SELECT cnt FROM counters . proposal_view WHERE id = '2f561b5a-51dd-420a-866b-465d5b411768' ;
Copy
90
0.21 ms
SELECT p0_ . id AS id_0 , p0_ . name AS name_1 , p0_ . surname AS surname_2 , p0_ . patronymic AS patronymic_3 , p0_ . gender AS gender_4 , p0_ . birthdate AS birthdate_5 , p0_ . email AS email_6 , p0_ . phone AS phone_7 , p0_ . avatar AS avatar_8 , p0_ . user_id AS user_id_9 FROM account . person p0_ WHERE p0_ . user_id = ?
SELECT p0_ . id AS id_0 , p0_ . name AS name_1 , p0_ . surname AS surname_2 , p0_ . patronymic AS patronymic_3 , p0_ . gender AS gender_4 , p0_ . birthdate AS birthdate_5 , p0_ . email AS email_6 , p0_ . phone AS phone_7 , p0_ . avatar AS avatar_8 , p0_ . user_id AS user_id_9 FROM account . person p0_ WHERE p0_ . user_id = '013239b0-b19f-4944-b285-e9dfbcd5704d' ;
Copy
91
0.15 ms
SELECT avatar FROM account . person WHERE user_id = ?
Parameters :
[
"013239b0-b19f-4944-b285-e9dfbcd5704d "
]
SELECT avatar FROM account . person WHERE user_id = '013239b0-b19f-4944-b285-e9dfbcd5704d' ;
Copy
92
0.63 ms
SELECT pg . id AS pg_id , pg . name AS pg_name , p . name AS p_name , p . in_short AS p_short , pp . value AS value FROM goods . proposal_parameter pp INNER JOIN goods . parameter p ON p . id = pp . parameter_id INNER JOIN goods . parameters_group pg ON pg . id = p . parameters_group_id WHERE pp . proposal_id = ? ORDER BY pg . id ASC , p . id ASC
Parameters :
[
"2f561b5a-51dd-420a-866b-465d5b411768 "
]
SELECT pg . id AS pg_id , pg . name AS pg_name , p . name AS p_name , p . in_short AS p_short , pp . value AS value FROM goods . proposal_parameter pp INNER JOIN goods . parameter p ON p . id = pp . parameter_id INNER JOIN goods . parameters_group pg ON pg . id = p . parameters_group_id WHERE pp . proposal_id = '2f561b5a-51dd-420a-866b-465d5b411768' ORDER BY pg . id ASC , p . id ASC ;
Copy
93
1.36 ms
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . price AS price_3 , t0 . description AS description_4 , t0 . is_archive AS is_archive_5 , t0 . date_add AS date_add_6 , t0 . end_date AS end_date_7 , t0 . items_count AS items_count_8 , t0 . payload AS payload_9 , t0 . category_id AS category_id_10 , t0 . owner_id AS owner_id_11 FROM goods . price_request t0 WHERE t0 . is_archive = ? ORDER BY t0 . date_add DESC LIMIT 4
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . price AS price_3 , t0 . description AS description_4 , t0 . is_archive AS is_archive_5 , t0 . date_add AS date_add_6 , t0 . end_date AS end_date_7 , t0 . items_count AS items_count_8 , t0 . payload AS payload_9 , t0 . category_id AS category_id_10 , t0 . owner_id AS owner_id_11 FROM goods . price_request t0 WHERE t0 . is_archive = 0 ORDER BY t0 . date_add DESC LIMIT 4 ;
Copy
94
0.91 ms
SELECT price_request_id AS id , COUNT (id ) AS total , MIN (price ) AS min_price , MAX (price ) AS max_price FROM trade . price_request_answer WHERE price_request_id IN (? , ? , ? , ? ) GROUP BY price_request_id
Parameters :
[
"3fb3349d-ce57-4d5a-90ab-7a5c99600460 "
"8748cbef-b46b-4944-893e-a5f3380a9654 "
"e1489e3f-99db-4038-8f5b-3890a31a6df8 "
"b0eb2cde-2a3a-4146-b0d6-f6e48c7c1a02 "
]
SELECT price_request_id AS id , COUNT (id ) AS total , MIN (price ) AS min_price , MAX (price ) AS max_price FROM trade . price_request_answer WHERE price_request_id IN ('3fb3349d-ce57-4d5a-90ab-7a5c99600460' , '8748cbef-b46b-4944-893e-a5f3380a9654' , 'e1489e3f-99db-4038-8f5b-3890a31a6df8' , 'b0eb2cde-2a3a-4146-b0d6-f6e48c7c1a02' ) GROUP BY price_request_id ;
Copy
95
0.78 ms
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . price AS price_3 , t0 . description AS description_4 , t0 . is_archive AS is_archive_5 , t0 . date_add AS date_add_6 , t0 . end_date AS end_date_7 , t0 . items_count AS items_count_8 , t0 . payload AS payload_9 , t0 . category_id AS category_id_10 , t0 . owner_id AS owner_id_11 FROM goods . price_request t0 WHERE t0 . is_archive = ? ORDER BY t0 . end_date ASC LIMIT 4
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . price AS price_3 , t0 . description AS description_4 , t0 . is_archive AS is_archive_5 , t0 . date_add AS date_add_6 , t0 . end_date AS end_date_7 , t0 . items_count AS items_count_8 , t0 . payload AS payload_9 , t0 . category_id AS category_id_10 , t0 . owner_id AS owner_id_11 FROM goods . price_request t0 WHERE t0 . is_archive = 0 ORDER BY t0 . end_date ASC LIMIT 4 ;
Copy
96
0.34 ms
SELECT price_request_id AS id , COUNT (id ) AS total , MIN (price ) AS min_price , MAX (price ) AS max_price FROM trade . price_request_answer WHERE price_request_id IN (? , ? , ? , ? ) GROUP BY price_request_id
Parameters :
[
"93261506-100e-4181-a40c-5dcb1eb9f22b "
"095a3e27-6bdd-4736-b2a4-071c12cbe02c "
"aaf4a2db-4ad5-4ab7-b2a6-c574d6c39974 "
"85dbf9ad-345c-4c78-8910-b23f4533ee78 "
]
SELECT price_request_id AS id , COUNT (id ) AS total , MIN (price ) AS min_price , MAX (price ) AS max_price FROM trade . price_request_answer WHERE price_request_id IN ('93261506-100e-4181-a40c-5dcb1eb9f22b' , '095a3e27-6bdd-4736-b2a4-071c12cbe02c' , 'aaf4a2db-4ad5-4ab7-b2a6-c574d6c39974' , '85dbf9ad-345c-4c78-8910-b23f4533ee78' ) GROUP BY price_request_id ;
Copy
97
0.56 ms
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . price AS price_3 , t0 . description AS description_4 , t0 . is_archive AS is_archive_5 , t0 . date_add AS date_add_6 , t0 . end_date AS end_date_7 , t0 . items_count AS items_count_8 , t0 . payload AS payload_9 , t0 . category_id AS category_id_10 , t0 . owner_id AS owner_id_11 FROM goods . price_request t0 WHERE t0 . is_archive = ? LIMIT 100
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . price AS price_3 , t0 . description AS description_4 , t0 . is_archive AS is_archive_5 , t0 . date_add AS date_add_6 , t0 . end_date AS end_date_7 , t0 . items_count AS items_count_8 , t0 . payload AS payload_9 , t0 . category_id AS category_id_10 , t0 . owner_id AS owner_id_11 FROM goods . price_request t0 WHERE t0 . is_archive = 0 LIMIT 100 ;
Copy
98
0.30 ms
SELECT price_request_id AS id , COUNT (id ) AS total , MIN (price ) AS min_price , MAX (price ) AS max_price FROM trade . price_request_answer WHERE price_request_id IN (? , ? , ? , ? , ? , ? , ? , ? ) GROUP BY price_request_id
Parameters :
[
"aaf4a2db-4ad5-4ab7-b2a6-c574d6c39974 "
"01655dad-396a-4061-a475-6b30d4fb5ca8 "
"d4b4d4e9-dad4-4ea8-a009-5de15bd80c5f "
"8fd98b8e-da87-4853-b9a0-821c2599c026 "
"dac72e6e-ff01-4bde-9edc-8074f861d104 "
"85dbf9ad-345c-4c78-8910-b23f4533ee78 "
"e276723d-4441-4da3-a0bd-5fca5e737089 "
"095a3e27-6bdd-4736-b2a4-071c12cbe02c "
]
SELECT price_request_id AS id , COUNT (id ) AS total , MIN (price ) AS min_price , MAX (price ) AS max_price FROM trade . price_request_answer WHERE price_request_id IN ('aaf4a2db-4ad5-4ab7-b2a6-c574d6c39974' , '01655dad-396a-4061-a475-6b30d4fb5ca8' , 'd4b4d4e9-dad4-4ea8-a009-5de15bd80c5f' , '8fd98b8e-da87-4853-b9a0-821c2599c026' , 'dac72e6e-ff01-4bde-9edc-8074f861d104' , '85dbf9ad-345c-4c78-8910-b23f4533ee78' , 'e276723d-4441-4da3-a0bd-5fca5e737089' , '095a3e27-6bdd-4736-b2a4-071c12cbe02c' ) GROUP BY price_request_id ;
Copy