17.17 ms (80.26%)
|
1 |
SELECT p0_.id AS id_0, p0_.salutation AS salutation_1, p0_.first_name AS first_name_2, p0_.last_name AS last_name_3, p0_.street AS street_4, p0_.postal_code AS postal_code_5, p0_.city AS city_6, p0_.phone AS phone_7, p0_.fax AS fax_8, p0_.mobile AS mobile_9, p0_.email AS email_10, p0_.country AS country_11, p0_.date_of_birth AS date_of_birth_12, p0_.notes AS notes_13, p0_.allergies AS allergies_14, p0_.permanent_medication AS permanent_medication_15, p0_.temporary_street AS temporary_street_16, p0_.temporary_postal_code AS temporary_postal_code_17, p0_.temporary_city AS temporary_city_18, p0_.temporary_phone AS temporary_phone_19, p0_.temporary_fax AS temporary_fax_20, p0_.temporary_mobile AS temporary_mobile_21, p0_.blood_type AS blood_type_22, p0_.insurance_number AS insurance_number_23, p0_.insured AS insured_24, p0_.registered_at AS registered_at_25, p0_.medical_history AS medical_history_26, p0_.passport_number AS passport_number_27, CASE WHEN p0_.last_name IS NULL THEN 1 ELSE 0 END AS sclr_28 FROM patient p0_ ORDER BY sclr_28 ASC, p0_.last_name ASC, p0_.id ASC LIMIT 25
SELECT p0_.id AS id_0, p0_.salutation AS salutation_1, p0_.first_name AS first_name_2, p0_.last_name AS last_name_3, p0_.street AS street_4, p0_.postal_code AS postal_code_5, p0_.city AS city_6, p0_.phone AS phone_7, p0_.fax AS fax_8, p0_.mobile AS mobile_9, p0_.email AS email_10, p0_.country AS country_11, p0_.date_of_birth AS date_of_birth_12, p0_.notes AS notes_13, p0_.allergies AS allergies_14, p0_.permanent_medication AS permanent_medication_15, p0_.temporary_street AS temporary_street_16, p0_.temporary_postal_code AS temporary_postal_code_17, p0_.temporary_city AS temporary_city_18, p0_.temporary_phone AS temporary_phone_19, p0_.temporary_fax AS temporary_fax_20, p0_.temporary_mobile AS temporary_mobile_21, p0_.blood_type AS blood_type_22, p0_.insurance_number AS insurance_number_23, p0_.insured AS insured_24, p0_.registered_at AS registered_at_25, p0_.medical_history AS medical_history_26, p0_.passport_number AS passport_number_27, CASE WHEN p0_.last_name IS NULL THEN 1 ELSE 0 END AS sclr_28 FROM patient p0_ ORDER BY sclr_28 ASC, p0_.last_name ASC, p0_.id ASC LIMIT 25;
|