Бесплатный подбор
клиники или врача
+7 (495) 646 71 97
Запись на прием
(единая регистратура)
Профессиональная медицина для Вас
debug sql count: 8, sql time: 0,393
time: 0.000
        

SET SQL_AUTO_IS_NULL = 0

time: 0.041
        

SELECT `core_metro`.`id`, `core_metro`.`position`, `core_metro`.`slug`,
`core_metro`.`name`, `core_metro`.`code`, `core_metro`.`line`,
`core_metro`.`latitude`, `core_metro`.`longitude`
FROM `core_metro`
WHERE `core_metro`.`slug` = 'selyatino' LIMIT 21

time: 0.076
        

SELECT `core_city`.`id`, `core_city`.`position`, `core_city`.`slug`,
`core_city`.`name`, `core_city`.`region`, `core_city`.`latitude`,
`core_city`.`longitude`
FROM `core_city`
WHERE `core_city`.`slug` = 'selyatino' LIMIT 21

time: 0.014
        

SELECT `core_specialization`.`id`, `core_specialization`.`slug`, `core_specialization`.`name`,
`core_specialization`.`name_mn`, `core_specialization`.`name_rod`, `core_specialization`.`name_im2`,
`core_specialization`.`description`
FROM `core_specialization`
WHERE `core_specialization`.`slug` = 'flebolog' LIMIT 21

time: 0.085
        

SELECT COUNT(*)
FROM `clinic_clinic` INNER JOIN `clinic_clinic_cities` ON ( `clinic_clinic`.`id` = `clinic_clinic_cities`.`clinic_id` ) INNER JOIN `clinic_clinic_specializations` ON ( `clinic_clinic`.`id` = `clinic_clinic_specializations`.`clinic_id` )
WHERE (`clinic_clinic`.`active` = 1 AND `clinic_clinic_cities`.`city_id` = 64 AND `clinic_clinic_specializations`.`specialization_id` = 43)

time: 0.015
        

SELECT `core_setting`.`id`, `core_setting`.`meta_title`, `core_setting`.`meta_keywords`,
`core_setting`.`meta_description`, `core_setting`.`name`, `core_setting`.`from_email`,
`core_setting`.`notification_emails`, `core_setting`.`description`, `core_setting`.`static_block_id`,
`core_setting`.`phone_code`, `core_setting`.`phone_number`, `core_setting`.`worktime`,
`core_setting`.`address`, `core_setting`.`footer`, `core_setting`.`soc_facebook`,
`core_setting`.`soc_twitter`, `core_setting`.`soc_vkontakte`, `core_setting`.`soc_gplus`
FROM `core_setting`
WHERE `core_setting`.`id` = 1 LIMIT 21

time: 0.083
        

SELECT `core_specialization`.`id`, `core_specialization`.`slug`, `core_specialization`.`name`,
`core_specialization`.`name_mn`, `core_specialization`.`name_rod`, `core_specialization`.`name_im2`,
`core_specialization`.`description`
FROM `core_specialization` ORDER BY `core_specialization`.`name` ASC

time: 0.079
        

SELECT `core_specialization`.`id`, `core_specialization`.`slug`, `core_specialization`.`name`,
`core_specialization`.`name_mn`, `core_specialization`.`name_rod`, `core_specialization`.`name_im2`,
`core_specialization`.`description`, COUNT(`clinic_clinic_specializations`.`clinic_id`) AS `specialization_clinics__count`
FROM `core_specialization` LEFT OUTER JOIN `clinic_clinic_specializations` ON ( `core_specialization`.`id` = `clinic_clinic_specializations`.`specialization_id` ) GROUP BY `core_specialization`.`id` HAVING COUNT(`clinic_clinic_specializations`.`clinic_id`) > 0 ORDER BY `core_specialization`.`name` ASC