Advertisement
mikjaer

Untitled

Jan 10th, 2022
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. SELECT `services`.`name`, `services`.`id`, `services`.`description`, `services`.`wait_time_on`, `services`.`wait_time`, `services`.`roundup_time`, `services`.`time`, `services`.`category`, `service_employees`.`price`, `addon_services`.`connected_service_id`, `services`.`break_after`, `services`.`fromset`
  2. FROM `services`
  3. JOIN `addon_services` ON `addon_services`.`service_id` = `services`.`id`
  4. JOIN `service_employees` ON `service_employees`.`service_id` = `addon_services`.`service_id`
  5. WHERE `services`.`active` = 1
  6. AND `services`.`show_in_widget` = 1
  7. AND `services`.`active` = 1
  8. AND `service_employees`.`department_id` = '2523'
  9. AND `service_employees`.`disable_online_booking` = 0
  10. ORDER BY `services`.`orderby`, `services`.`id`, `service_employees`.`price` asc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement