1
0.51 ms
SELECT p0_ . id AS id_0 , p0_ . title AS title_1 , p0_ . description AS description_2 , p0_ . price_amount AS price_amount_3 , p0_ . price_unit AS price_unit_4 , p0_ . deposit_amount AS deposit_amount_5 , p0_ . manual_included AS manual_included_6 , p0_ . consumables_policy AS consumables_policy_7 , p0_ . created_at AS created_at_8 , p0_ . updated_at AS updated_at_9 , p0_ . deleted_at AS deleted_at_10 , p0_ . view_count AS view_count_11 , p0_ . owner_id AS owner_id_12 , p0_ . city_id AS city_id_13 FROM product p0_ WHERE p0_ . deleted_at IS NULL ORDER BY p0_ . view_count DESC , p0_ . created_at DESC LIMIT 8
SELECT p0_ . id AS id_0 , p0_ . title AS title_1 , p0_ . description AS description_2 , p0_ . price_amount AS price_amount_3 , p0_ . price_unit AS price_unit_4 , p0_ . deposit_amount AS deposit_amount_5 , p0_ . manual_included AS manual_included_6 , p0_ . consumables_policy AS consumables_policy_7 , p0_ . created_at AS created_at_8 , p0_ . updated_at AS updated_at_9 , p0_ . deleted_at AS deleted_at_10 , p0_ . view_count AS view_count_11 , p0_ . owner_id AS owner_id_12 , p0_ . city_id AS city_id_13 FROM product p0_ WHERE p0_ . deleted_at IS NULL ORDER BY p0_ . view_count DESC , p0_ . created_at DESC LIMIT 8 ;
Copy
2
0.47 ms
SELECT t0 . id AS id_1 , t0 . title AS title_2 , t0 . description AS description_3 , t0 . price_amount AS price_amount_4 , t0 . price_unit AS price_unit_5 , t0 . deposit_amount AS deposit_amount_6 , t0 . manual_included AS manual_included_7 , t0 . consumables_policy AS consumables_policy_8 , t0 . created_at AS created_at_9 , t0 . updated_at AS updated_at_10 , t0 . deleted_at AS deleted_at_11 , t0 . view_count AS view_count_12 , t0 . owner_id AS owner_id_13 , t0 . city_id AS city_id_14 FROM product t0 ORDER BY t0 . created_at DESC LIMIT 8
SELECT t0 . id AS id_1 , t0 . title AS title_2 , t0 . description AS description_3 , t0 . price_amount AS price_amount_4 , t0 . price_unit AS price_unit_5 , t0 . deposit_amount AS deposit_amount_6 , t0 . manual_included AS manual_included_7 , t0 . consumables_policy AS consumables_policy_8 , t0 . created_at AS created_at_9 , t0 . updated_at AS updated_at_10 , t0 . deleted_at AS deleted_at_11 , t0 . view_count AS view_count_12 , t0 . owner_id AS owner_id_13 , t0 . city_id AS city_id_14 FROM product t0 ORDER BY t0 . created_at DESC LIMIT 8 ;
Copy
3
0.49 ms
SELECT t0 . id AS id_1 , t0 . path AS path_2 , t0 . position AS position_3 , t0 . product_id AS product_id_4 FROM product_image t0 WHERE t0 . product_id = ? ORDER BY t0 . position ASC , t0 . id ASC
SELECT t0 . id AS id_1 , t0 . path AS path_2 , t0 . position AS position_3 , t0 . product_id AS product_id_4 FROM product_image t0 WHERE t0 . product_id = 1 ORDER BY t0 . position ASC , t0 . id ASC ;
Copy
4
0.34 ms
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . slug AS slug_3 , t0 . latitude AS latitude_4 , t0 . longitude AS longitude_5 , t0 . deleted_at AS deleted_at_6 FROM city t0 WHERE t0 . id = ?
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . slug AS slug_3 , t0 . latitude AS latitude_4 , t0 . longitude AS longitude_5 , t0 . deleted_at AS deleted_at_6 FROM city t0 WHERE t0 . id = 50 ;
Copy
5
0.42 ms
SELECT t0 . id AS id_1 , t0 . path AS path_2 , t0 . position AS position_3 , t0 . product_id AS product_id_4 FROM product_image t0 WHERE t0 . product_id = ? ORDER BY t0 . position ASC , t0 . id ASC
SELECT t0 . id AS id_1 , t0 . path AS path_2 , t0 . position AS position_3 , t0 . product_id AS product_id_4 FROM product_image t0 WHERE t0 . product_id = 2 ORDER BY t0 . position ASC , t0 . id ASC ;
Copy
6
0.38 ms
SELECT t0 . id AS id_1 , t0 . path AS path_2 , t0 . position AS position_3 , t0 . product_id AS product_id_4 FROM product_image t0 WHERE t0 . product_id = ? ORDER BY t0 . position ASC , t0 . id ASC
SELECT t0 . id AS id_1 , t0 . path AS path_2 , t0 . position AS position_3 , t0 . product_id AS product_id_4 FROM product_image t0 WHERE t0 . product_id = 3 ORDER BY t0 . position ASC , t0 . id ASC ;
Copy
7
0.41 ms
SELECT t0 . id AS id_1 , t0 . path AS path_2 , t0 . position AS position_3 , t0 . product_id AS product_id_4 FROM product_image t0 WHERE t0 . product_id = ? ORDER BY t0 . position ASC , t0 . id ASC
SELECT t0 . id AS id_1 , t0 . path AS path_2 , t0 . position AS position_3 , t0 . product_id AS product_id_4 FROM product_image t0 WHERE t0 . product_id = 4 ORDER BY t0 . position ASC , t0 . id ASC ;
Copy
8
0.28 ms
SELECT t0 . id AS id_1 , t0 . path AS path_2 , t0 . position AS position_3 , t0 . product_id AS product_id_4 FROM product_image t0 WHERE t0 . product_id = ? ORDER BY t0 . position ASC , t0 . id ASC
SELECT t0 . id AS id_1 , t0 . path AS path_2 , t0 . position AS position_3 , t0 . product_id AS product_id_4 FROM product_image t0 WHERE t0 . product_id = 5 ORDER BY t0 . position ASC , t0 . id ASC ;
Copy
9
0.26 ms
SELECT t0 . id AS id_1 , t0 . path AS path_2 , t0 . position AS position_3 , t0 . product_id AS product_id_4 FROM product_image t0 WHERE t0 . product_id = ? ORDER BY t0 . position ASC , t0 . id ASC
SELECT t0 . id AS id_1 , t0 . path AS path_2 , t0 . position AS position_3 , t0 . product_id AS product_id_4 FROM product_image t0 WHERE t0 . product_id = 6 ORDER BY t0 . position ASC , t0 . id ASC ;
Copy
10
0.25 ms
SELECT t0 . id AS id_1 , t0 . path AS path_2 , t0 . position AS position_3 , t0 . product_id AS product_id_4 FROM product_image t0 WHERE t0 . product_id = ? ORDER BY t0 . position ASC , t0 . id ASC
SELECT t0 . id AS id_1 , t0 . path AS path_2 , t0 . position AS position_3 , t0 . product_id AS product_id_4 FROM product_image t0 WHERE t0 . product_id = 7 ORDER BY t0 . position ASC , t0 . id ASC ;
Copy
11
0.33 ms
SELECT t0 . id AS id_1 , t0 . path AS path_2 , t0 . position AS position_3 , t0 . product_id AS product_id_4 FROM product_image t0 WHERE t0 . product_id = ? ORDER BY t0 . position ASC , t0 . id ASC
SELECT t0 . id AS id_1 , t0 . path AS path_2 , t0 . position AS position_3 , t0 . product_id AS product_id_4 FROM product_image t0 WHERE t0 . product_id = 8 ORDER BY t0 . position ASC , t0 . id ASC ;
Copy