2.37 ms (34.01%)
1
SELECT a0_ . id AS id_0 , a0_ . title AS title_1 , a0_ . description AS description_2 , a0_ . appointment_date AS appointment_date_3 , a0_ . appointment_time AS appointment_time_4 , a0_ . duration AS duration_5 , a0_ . status AS status_6 , a0_ . type AS type_7 , a0_ . estimated_cost AS estimated_cost_8 , a0_ . notes AS notes_9 , a0_ . created_at AS created_at_10 , a0_ . updated_at AS updated_at_11 , a0_ . customer_id AS customer_id_12 , a0_ . vehicle_id AS vehicle_id_13 , a0_ . mechanic_id AS mechanic_id_14 FROM appointment a0_ LEFT JOIN customer c1_ ON a0_ . customer_id = c1_ . id LEFT JOIN vehicle v2_ ON a0_ . vehicle_id = v2_ . id ORDER BY a0_ . appointment_date ASC
SELECT a0_ . id AS id_0 , a0_ . title AS title_1 , a0_ . description AS description_2 , a0_ . appointment_date AS appointment_date_3 , a0_ . appointment_time AS appointment_time_4 , a0_ . duration AS duration_5 , a0_ . status AS status_6 , a0_ . type AS type_7 , a0_ . estimated_cost AS estimated_cost_8 , a0_ . notes AS notes_9 , a0_ . created_at AS created_at_10 , a0_ . updated_at AS updated_at_11 , a0_ . customer_id AS customer_id_12 , a0_ . vehicle_id AS vehicle_id_13 , a0_ . mechanic_id AS mechanic_id_14 FROM appointment a0_ LEFT JOIN customer c1_ ON a0_ . customer_id = c1_ . id LEFT JOIN vehicle v2_ ON a0_ . vehicle_id = v2_ . id ORDER BY a0_ . appointment_date ASC ;
Copy
0.91 ms (13.01%)
1
SELECT COUNT (a0_ . id ) AS sclr_0 FROM appointment a0_ WHERE a0_ . appointment_date > = ? AND a0_ . appointment_date < ?
Parameters :
[
"2026-02-11 00:00:00 "
"2026-02-12 00:00:00 "
]
SELECT COUNT (a0_ . id ) AS sclr_0 FROM appointment a0_ WHERE a0_ . appointment_date > = '2026-02-11 00:00:00' AND a0_ . appointment_date < '2026-02-12 00:00:00' ;
Copy
0.90 ms (12.85%)
1
SELECT t0 . id AS id_1 , t0 . brand AS brand_2 , t0 . model AS model_3 , t0 . year AS year_4 , t0 . license_plate AS license_plate_5 , t0 . registration_number AS registration_number_6 , t0 . vin AS vin_7 , t0 . mileage AS mileage_8 , t0 . fuel_type AS fuel_type_9 , t0 . color AS color_10 , t0 . notes AS notes_11 , t0 . created_at AS created_at_12 , t0 . updated_at AS updated_at_13 , t0 . customer_id AS customer_id_14 FROM vehicle t0 WHERE t0 . id = ?
SELECT t0 . id AS id_1 , t0 . brand AS brand_2 , t0 . model AS model_3 , t0 . year AS year_4 , t0 . license_plate AS license_plate_5 , t0 . registration_number AS registration_number_6 , t0 . vin AS vin_7 , t0 . mileage AS mileage_8 , t0 . fuel_type AS fuel_type_9 , t0 . color AS color_10 , t0 . notes AS notes_11 , t0 . created_at AS created_at_12 , t0 . updated_at AS updated_at_13 , t0 . customer_id AS customer_id_14 FROM vehicle t0 WHERE t0 . id = 3 ;
Copy
0.68 ms (9.83%)
1
SELECT COUNT (* ) FROM appointment t0
SELECT COUNT (* ) FROM appointment t0 ;
Copy
0.61 ms (8.81%)
1
SELECT COUNT (a0_ . id ) AS sclr_0 FROM appointment a0_ WHERE a0_ . appointment_date > ?
Parameters :
[
"2026-02-11 18:25:39 "
]
SELECT COUNT (a0_ . id ) AS sclr_0 FROM appointment a0_ WHERE a0_ . appointment_date > '2026-02-11 18:25:39' ;
Copy
0.59 ms (8.49%)
1
SELECT COUNT (a0_ . id ) AS sclr_0 FROM appointment a0_ WHERE a0_ . appointment_date < ?
Parameters :
[
"2026-02-11 18:25:39 "
]
SELECT COUNT (a0_ . id ) AS sclr_0 FROM appointment a0_ WHERE a0_ . appointment_date < '2026-02-11 18:25:39' ;
Copy
0.50 ms (7.12%)
1
SELECT t0 . id AS id_1 , t0 . first_name AS first_name_2 , t0 . last_name AS last_name_3 , t0 . email AS email_4 , t0 . phone AS phone_5 , t0 . address AS address_6 , t0 . city AS city_7 , t0 . postal_code AS postal_code_8 , t0 . nature AS nature_9 , t0 . notes AS notes_10 , t0 . created_at AS created_at_11 , t0 . updated_at AS updated_at_12 FROM customer t0 WHERE t0 . id = ?
SELECT t0 . id AS id_1 , t0 . first_name AS first_name_2 , t0 . last_name AS last_name_3 , t0 . email AS email_4 , t0 . phone AS phone_5 , t0 . address AS address_6 , t0 . city AS city_7 , t0 . postal_code AS postal_code_8 , t0 . nature AS nature_9 , t0 . notes AS notes_10 , t0 . created_at AS created_at_11 , t0 . updated_at AS updated_at_12 FROM customer t0 WHERE t0 . id = 4 ;
Copy
0.41 ms (5.87%)
1
SELECT t0 . id AS id_1 , t0 . garage AS garage_2 , t0 . currency AS currency_3 , t0 . date_format AS date_format_4 , t0 . time_format AS time_format_5 , t0 . notifications AS notifications_6 , t0 . created_at AS created_at_7 , t0 . updated_at AS updated_at_8 , t0 . logo AS logo_9 FROM app_settings t0 LIMIT 1
SELECT t0 . id AS id_1 , t0 . garage AS garage_2 , t0 . currency AS currency_3 , t0 . date_format AS date_format_4 , t0 . time_format AS time_format_5 , t0 . notifications AS notifications_6 , t0 . created_at AS created_at_7 , t0 . updated_at AS updated_at_8 , t0 . logo AS logo_9 FROM app_settings t0 LIMIT 1 ;
Copy