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 :
Bookmarks
Refresh
Add
No bookmarks
Add bookmark
Options
Set default





Collapse Expand Requery Edit Explain Profiling Bookmark 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 `patient_consents`
Edit inline ] [ Edit ] [ Explain SQL ] [ Create PHP code ] [ Refresh ]
Full texts id opd_patient_id
FK อ้างอิง opd_patients
consent_form_id
FK อ้างอิง consent_forms (Template ที่ใช้)
signing_doctor_id
FK อ้างอิง users (แพทย์ที่เซ็นร่วม)
signed_datetime
วันเวลาที่บันทึกการยินยอม
status
สถานะการยินยอม (Signed=ยินยอมแล้ว)
generated_pdf_path
Path ที่เก็บไฟล์ PDF ที่สร้างขึ้น
created_by
FK อ้างอิง users (ผู้บันทึกข้อมูล)
created_at updated_at
Edit Edit Copy Copy Delete Delete
DELETE FROM patient_consents WHERE `patient_consents`.`id` = 14
14 3 2 NULL 2025-04-04 19:37:42 Signed uploads/consent_forms/3/consent_2_1743791862.pdf 1 2025-04-04 19:37:42 2025-04-04 19:37:42
Edit Edit Copy Copy Delete Delete
DELETE FROM patient_consents WHERE `patient_consents`.`id` = 35
35 65 8 7 2025-06-23 16:15:36 Signed uploads/consent_forms/65/consent_8_1750691736.pdf 1 2025-06-23 16:15:37 2025-06-23 16:15:37
Edit Edit Copy Copy Delete Delete
DELETE FROM patient_consents WHERE `patient_consents`.`id` = 37
37 71 5 7 2025-06-25 13:11:44 Signed uploads/consent_forms/71/consent_5_1750853504.pdf 1 2025-06-25 13:11:44 2025-06-25 13:11:44
Edit Edit Copy Copy Delete Delete
DELETE FROM patient_consents WHERE `patient_consents`.`id` = 38
38 70 5 7 2025-06-25 13:13:03 Signed uploads/consent_forms/70/consent_5_1750853583.pdf 1 2025-06-25 13:13:03 2025-06-25 13:13:03
Edit Edit Copy Copy Delete Delete
DELETE FROM patient_consents WHERE `patient_consents`.`id` = 39
39 70 35 7 2025-06-25 13:13:32 Signed uploads/consent_forms/70/consent_35_1750853612.pdf 1 2025-06-25 13:13:32 2025-06-25 13:13:32
Edit Edit Copy Copy Delete Delete
DELETE FROM patient_consents WHERE `patient_consents`.`id` = 41
41 72 5 7 2025-06-25 14:49:24 Signed uploads/consent_forms/72/consent_5_1750859364.pdf 1 2025-06-25 14:49:24 2025-06-25 14:49:24
Edit Edit Copy Copy Delete Delete
DELETE FROM patient_consents WHERE `patient_consents`.`id` = 42
42 74 6 7 2025-06-28 13:10:01 Signed uploads/consent_forms/74/consent_6_1751112601.pdf 1 2025-06-28 13:10:01 2025-06-28 13:10:01
Edit Edit Copy Copy Delete Delete
DELETE FROM patient_consents WHERE `patient_consents`.`id` = 43
43 76 35 7 2025-06-29 09:23:30 Signed uploads/consent_forms/76/consent_35_1751185410.pdf 1 2025-06-29 09:23:30 2025-06-29 09:23:30
Edit Edit Copy Copy Delete Delete
DELETE FROM patient_consents WHERE `patient_consents`.`id` = 44
44 77 6 7 2025-06-29 10:42:46 Signed uploads/consent_forms/77/consent_6_1751190166.pdf 1 2025-06-29 10:42:46 2025-06-29 10:42:46
Edit Edit Copy Copy Delete Delete
DELETE FROM patient_consents WHERE `patient_consents`.`id` = 45
45 77 5 7 2025-06-29 10:43:35 Signed uploads/consent_forms/77/consent_5_1751190215.pdf 1 2025-06-29 10:43:35 2025-06-29 10:43:35
Edit Edit Copy Copy Delete Delete
DELETE FROM patient_consents WHERE `patient_consents`.`id` = 46
46 78 5 7 2025-06-29 12:44:49 Signed uploads/consent_forms/78/consent_5_1751197489.pdf 1 2025-06-29 12:44:50 2025-06-29 12:44:50
Edit Edit Copy Copy Delete Delete
DELETE FROM patient_consents WHERE `patient_consents`.`id` = 47
47 65 8 7 2025-06-30 16:49:27 Signed uploads/consent_forms/65/consent_8_1751298567.pdf 1 2025-06-30 16:49:28 2025-06-30 16:49:28
Edit Edit Copy Copy Delete Delete
DELETE FROM patient_consents WHERE `patient_consents`.`id` = 48
48 82 8 7 2025-06-30 17:01:01 Signed uploads/consent_forms/82/consent_8_1751299261.pdf 1 2025-06-30 17:01:01 2025-06-30 17:01:01
Edit Edit Copy Copy Delete Delete
DELETE FROM patient_consents WHERE `patient_consents`.`id` = 49
49 83 34 7 2025-06-30 18:26:47 Signed uploads/consent_forms/83/consent_34_1751304407.pdf 1 2025-06-30 18:26:47 2025-06-30 18:26:47
Edit Edit Copy Copy Delete Delete
DELETE FROM patient_consents WHERE `patient_consents`.`id` = 50
50 83 19 7 2025-06-30 18:27:35 Signed uploads/consent_forms/83/consent_19_1751304455.pdf 1 2025-06-30 18:27:35 2025-06-30 18:27:35
Edit Edit Copy Copy Delete Delete
DELETE FROM patient_consents WHERE `patient_consents`.`id` = 51
51 85 8 7 2025-07-06 12:20:46 Signed uploads/consent_forms/85/consent_8_1751800846.pdf 1 2025-07-06 12:20:47 2025-07-06 12:20:47
Edit Edit Copy Copy Delete Delete
DELETE FROM patient_consents WHERE `patient_consents`.`id` = 52
52 86 5 7 2025-07-06 14:44:28 Signed uploads/consent_forms/86/consent_5_1751809468.pdf 1 2025-07-06 14:44:29 2025-07-06 14:44:29
Edit Edit Copy Copy Delete Delete
DELETE FROM patient_consents WHERE `patient_consents`.`id` = 53
53 86 19 7 2025-07-06 16:22:37 Signed uploads/consent_forms/86/consent_19_1751815357.pdf 1 2025-07-06 16:22:37 2025-07-06 16:22:37
Edit Edit Copy Copy Delete Delete
DELETE FROM patient_consents WHERE `patient_consents`.`id` = 54
54 87 19 7 2025-07-06 16:37:30 Signed uploads/consent_forms/87/consent_19_1751816250.pdf 1 2025-07-06 16:37:31 2025-07-06 16:37:31
Edit Edit Copy Copy Delete Delete
DELETE FROM patient_consents WHERE `patient_consents`.`id` = 55
55 88 19 7 2025-07-06 18:05:20 Signed uploads/consent_forms/88/consent_19_1751821520.pdf 1 2025-07-06 18:05:20 2025-07-06 18:05:20
Edit Edit Copy Copy Delete Delete
DELETE FROM patient_consents WHERE `patient_consents`.`id` = 56
56 63 19 7 2025-07-06 18:58:12 Signed uploads/consent_forms/63/consent_19_1751824692.pdf 1 2025-07-06 18:58:13 2025-07-06 18:58:13
Edit Edit Copy Copy Delete Delete
DELETE FROM patient_consents WHERE `patient_consents`.`id` = 57
57 89 5 7 2025-07-07 13:40:45 Signed uploads/consent_forms/89/consent_5_1751892045.pdf 1 2025-07-07 13:40:46 2025-07-07 13:40:46
Edit Edit Copy Copy Delete Delete
DELETE FROM patient_consents WHERE `patient_consents`.`id` = 58
58 90 5 7 2025-07-07 13:47:19 Signed uploads/consent_forms/90/consent_5_1751892439.pdf 1 2025-07-07 13:47:19 2025-07-07 13:47:19
Edit Edit Copy Copy Delete Delete
DELETE FROM patient_consents WHERE `patient_consents`.`id` = 59
59 91 5 7 2025-07-07 14:50:11 Signed uploads/consent_forms/91/consent_5_1751896211.pdf 1 2025-07-07 14:50:11 2025-07-07 14:50:11
Edit Edit Copy Copy Delete Delete
DELETE FROM patient_consents WHERE `patient_consents`.`id` = 60
60 91 8 7 2025-07-07 14:51:13 Signed uploads/consent_forms/91/consent_8_1751896273.pdf 1 2025-07-07 14:51:13 2025-07-07 14:51:13
With selected: With selected:
Query results operations Copy to clipboard Copy to clipboard Export Export Display chart Display chart Create view Create view
Bookmark this SQL query Bookmark this SQL query