Drop files here

SQL upload ( 0 ) x -

Page-related settings Click on the bar to scroll to top of page
Press Ctrl+Enter to execute query Press Enter to execute query
ascending
descending
Order:
Debug SQL
Count
Execution order
Time taken
Order by:
Group queries
Ungroup queries
Collapse Expand Show trace Hide trace Count : Time taken :
Options
Set default





Collapse Expand Requery Edit Explain Profiling Query failed Database : Queried time :
Browse mode
Customize browse mode.
Browse mode
Documentation Use only icons, only text or both. Restore default value
Documentation Use only icons, only text or both. Restore default value
Documentation Whether a user should be displayed a "show all (rows)" button. Restore default value
Documentation Number of rows displayed when browsing a result set. If the result set contains more rows, "Previous" and "Next" links will be shown. Restore default value
Documentation SMART - i.e. descending order for columns of type TIME, DATE, DATETIME and TIMESTAMP, ascending order otherwise. Restore default value
Documentation Highlight row pointed by the mouse cursor. Restore default value
Documentation Highlight selected rows. Restore default value
Documentation Restore default value
Documentation Restore default value
Documentation Repeat the headers every X cells, 0 deactivates this feature. Restore default value
Documentation Maximum number of characters shown in any non-numeric column on browse view. Restore default value
Documentation These are Edit, Copy and Delete links. Restore default value
Documentation Whether to show row links even in the absence of a unique key. Restore default value
Documentation Default sort order for tables with a primary key. Restore default value
Documentation When browsing tables, the sorting of each table is remembered. Restore default value
Documentation For display Options Restore default value
SELECT * FROM `shift_definitions`
[ Edit inline ] [ Edit ] [ Explain SQL ] [ Create PHP code ] [ Refresh ]
Full texts id number name shift_type resp_id is_active time_from time_to extra_hours additional_hours break_min break_threshold_min break_retained_min break_keep combinable exclusive working_days excl_holidays must_cover cover_rule cover_threshold deleted added_by added_on modified_by modified_on
Edit Edit Copy Copy Delete Delete
DELETE FROM shift_definitions WHERE `shift_definitions`.`id` = 1
1 1 Patient Registration patient 1 1 NULL NULL NULL NULL 60 15 5 5 1 0 all 0 1 all NULL 0 1 2026-07-23 03:26:02 8 2026-08-07 02:48:33
Edit Edit Copy Copy Delete Delete
DELETE FROM shift_definitions WHERE `shift_definitions`.`id` = 2
2 2 Dispensing of Medication patient 1 1 NULL NULL NULL NULL 60 15 5 0 1 0 all 0 1 all NULL 0 1 2026-07-23 03:26:02 1 2026-07-23 03:26:02
Edit Edit Copy Copy Delete Delete
DELETE FROM shift_definitions WHERE `shift_definitions`.`id` = 3
3 3 Examination of Patients patient 1 1 NULL NULL NULL NULL 0 15 5 0 1 0 all 0 1 one NULL 0 1 2026-07-23 03:26:02 1 2026-07-23 03:26:02
Edit Edit Copy Copy Delete Delete
DELETE FROM shift_definitions WHERE `shift_definitions`.`id` = 4
4 4 Lab Work patient 1 1 NULL NULL NULL NULL 60 15 5 0 1 0 all 0 1 all NULL 0 1 2026-07-23 03:26:02 1 2026-07-23 03:26:02
Edit Edit Copy Copy Delete Delete
DELETE FROM shift_definitions WHERE `shift_definitions`.`id` = 5
5 5 Early Shift in the Ward fixed 1 1 06:00:00 14:00:00 NULL NULL 0 15 5 0 0 1 all 0 1 one NULL 0 1 2026-07-23 03:26:02 1 2026-07-23 03:26:02
Edit Edit Copy Copy Delete Delete
DELETE FROM shift_definitions WHERE `shift_definitions`.`id` = 6
6 6 Late Shift in the Ward fixed 1 1 14:00:00 22:00:00 NULL NULL 0 15 5 0 0 1 all 0 1 one NULL 0 1 2026-07-23 03:26:02 1 2026-07-23 03:26:02
Edit Edit Copy Copy Delete Delete
DELETE FROM shift_definitions WHERE `shift_definitions`.`id` = 7
7 7 Night Shift in the Ward fixed 1 1 22:00:00 06:00:00 NULL NULL 0 15 5 0 0 1 all 0 1 one NULL 0 1 2026-07-23 03:26:02 1 2026-07-23 03:26:02
Edit Edit Copy Copy Delete Delete
DELETE FROM shift_definitions WHERE `shift_definitions`.`id` = 8
8 8 On-call Duty: Patients and Ward Rounds oncall 1 1 NULL NULL 1.00 NULL 0 15 5 0 1 0 all 0 0 one NULL 0 1 2026-07-23 03:26:02 1 2026-07-23 03:26:02
Edit Edit Copy Copy Delete Delete
DELETE FROM shift_definitions WHERE `shift_definitions`.`id` = 9
9 9 On-call Duty: Dispensing Medication oncall 1 1 NULL NULL 1.00 NULL 30 15 5 0 1 0 all 0 0 one NULL 0 1 2026-07-23 03:26:02 1 2026-07-23 03:26:02
Edit Edit Copy Copy Delete Delete
DELETE FROM shift_definitions WHERE `shift_definitions`.`id` = 10
10 10 On-call Duty: Maternity Ward oncall 1 1 NULL NULL 1.00 NULL 30 15 5 0 1 0 all 0 0 one NULL 0 1 2026-07-23 03:26:02 1 2026-07-23 03:26:02
Edit Edit Copy Copy Delete Delete
DELETE FROM shift_definitions WHERE `shift_definitions`.`id` = 11
11 11 On-call Duty: Assistance in Maternity Ward oncall 1 1 NULL NULL 1.00 NULL 0 15 5 0 1 0 all 0 0 one NULL 0 1 2026-07-23 03:26:02 1 2026-07-23 03:26:02
Edit Edit Copy Copy Delete Delete
DELETE FROM shift_definitions WHERE `shift_definitions`.`id` = 12
12 12 Working Hours in the Maternity Ward multi 1 1 NULL NULL NULL NULL 0 15 5 0 1 0 all 0 0 one NULL 0 1 2026-07-23 03:26:02 1 2026-07-23 03:26:02
Edit Edit Copy Copy Delete Delete
DELETE FROM shift_definitions WHERE `shift_definitions`.`id` = 13
13 13 Stock-taking of the Hospital Store fixed 1 1 08:00:00 16:00:00 NULL NULL 60 15 5 0 0 1 weekdays 1 0 all NULL 0 1 2026-07-23 03:26:02 1 2026-07-23 03:26:02
Edit Edit Copy Copy Delete Delete
DELETE FROM shift_definitions WHERE `shift_definitions`.`id` = 14
14 14 Stock-taking in the Medicines Dispensary fixed 1 1 08:00:00 16:00:00 NULL NULL 0 15 5 0 0 1 weekdays 1 0 all NULL 0 1 2026-07-23 03:26:02 1 2026-07-23 03:26:02
Edit Edit Copy Copy Delete Delete
DELETE FROM shift_definitions WHERE `shift_definitions`.`id` = 15
15 15 Ambulance Journeys and Shopping fixed 2 1 08:00:00 16:00:00 NULL NULL 0 15 5 0 0 1 all 0 0 all NULL 0 1 2026-07-23 03:26:02 1 2026-07-23 03:26:02
Edit Edit Copy Copy Delete Delete
DELETE FROM shift_definitions WHERE `shift_definitions`.`id` = 16
16 16 Cleaning Duties at the Hospital and Nursery fixed 3 1 07:00:00 14:00:00 NULL NULL 0 15 5 0 0 1 weekdays 1 1 all NULL 0 1 2026-07-23 03:26:02 1 2026-07-23 03:26:02
Edit Edit Copy Copy Delete Delete
DELETE FROM shift_definitions WHERE `shift_definitions`.`id` = 17
17 17 Gardening Work at the Hospital and Nursery fixed 3 1 07:00:00 14:00:00 NULL NULL 0 15 5 0 0 1 weekdays 1 0 all NULL 0 1 2026-07-23 03:26:02 1 2026-07-23 03:26:02
Edit Edit Copy Copy Delete Delete
DELETE FROM shift_definitions WHERE `shift_definitions`.`id` = 18
18 18 Day Security Duty in Jahaly fixed 4 1 06:00:00 18:00:00 NULL NULL 0 15 5 0 0 1 all 0 1 one NULL 0 1 2026-07-23 03:26:02 1 2026-07-23 03:26:02
Edit Edit Copy Copy Delete Delete
DELETE FROM shift_definitions WHERE `shift_definitions`.`id` = 19
19 19 Night Security Duty in Jahaly fixed 4 1 18:00:00 06:00:00 NULL NULL 0 15 5 0 0 1 all 0 1 one NULL 0 1 2026-07-23 03:26:02 1 2026-07-23 03:26:02
Edit Edit Copy Copy Delete Delete
DELETE FROM shift_definitions WHERE `shift_definitions`.`id` = 20
20 20 Office Duties fixed 2 1 08:30:00 16:00:00 NULL NULL 60 15 5 0 0 1 weekdays 1 1 all NULL 0 1 2026-07-23 03:26:02 1 2026-07-23 03:26:02
Edit Edit Copy Copy Delete Delete
DELETE FROM shift_definitions WHERE `shift_definitions`.`id` = 21
21 21 Caretaker Duties in Manjai fixed 4 1 07:00:00 16:00:00 NULL NULL 0 15 5 0 0 1 all 0 0 all NULL 0 1 2026-07-23 03:26:02 1 2026-07-23 03:26:02
Edit Edit Copy Copy Delete Delete
DELETE FROM shift_definitions WHERE `shift_definitions`.`id` = 22
22 22 Courier Services Provided by Drivers fixed 2 1 08:00:00 16:00:00 NULL NULL 60 15 5 0 0 1 weekdays 1 0 all NULL 0 1 2026-07-23 03:26:02 1 2026-07-23 03:26:02
Edit Edit Copy Copy Delete Delete
DELETE FROM shift_definitions WHERE `shift_definitions`.`id` = 23
23 23 Day Security Duty in Manjai fixed 4 1 06:00:00 18:00:00 NULL NULL 0 15 5 0 0 1 all 0 1 one NULL 0 1 2026-07-23 03:26:02 1 2026-07-23 03:26:02
Edit Edit Copy Copy Delete Delete
DELETE FROM shift_definitions WHERE `shift_definitions`.`id` = 24
24 24 Night Security in Manjai fixed 4 1 18:00:00 06:00:00 NULL NULL 0 15 5 0 0 1 all 0 1 one NULL 0 1 2026-07-23 03:26:02 1 2026-07-23 03:26:02
With selected: With selected:
Query results operations Copy to clipboard Copy to clipboard Export Export Display chart Display chart Create view Create view