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 `departments`
[ Edit inline ] [ Edit ] [ Explain SQL ] [ Create PHP code ] [ Refresh ]
Full texts id code name_th group_name org_chart_group parent_dept_id parent_user_id chain_top_level top_signer_pdf_col created_at
Edit Edit Copy Copy Delete Delete
DELETE FROM departments WHERE `departments`.`id` = 1
1 PD Production Factory PD NULL 16 GM W 2026-06-22 10:50:59
Edit Edit Copy Copy Delete Delete
DELETE FROM departments WHERE `departments`.`id` = 2
2 WH Warehouse Factory PC_LG_WH 4 NULL GM W 2026-06-22 10:50:59
Edit Edit Copy Copy Delete Delete
DELETE FROM departments WHERE `departments`.`id` = 3
3 LG Logistics Factory PC_LG_WH 4 NULL GM W 2026-06-22 10:50:59
Edit Edit Copy Copy Delete Delete
DELETE FROM departments WHERE `departments`.`id` = 4
4 PC Production Control Factory PC_LG_WH NULL 16 GM W 2026-06-22 10:50:59
Edit Edit Copy Copy Delete Delete
DELETE FROM departments WHERE `departments`.`id` = 5
5 TM Tool & Maintenance Engineering TM NULL 15 President W 2026-06-22 10:50:59
Edit Edit Copy Copy Delete Delete
DELETE FROM departments WHERE `departments`.`id` = 6
6 PE Product Engineer Engineering PE NULL 15 President W 2026-06-22 10:50:59
Edit Edit Copy Copy Delete Delete
DELETE FROM departments WHERE `departments`.`id` = 7
7 QA Quality Assurance QA-QC QC_QA NULL 17 GM W 2026-06-22 10:50:59
Edit Edit Copy Copy Delete Delete
DELETE FROM departments WHERE `departments`.`id` = 8
8 QC Quality Control QA-QC QC_QA NULL 17 GM W 2026-06-22 10:50:59
Edit Edit Copy Copy Delete Delete
DELETE FROM departments WHERE `departments`.`id` = 9
9 AC Accounting Director AC NULL 18 Director W 2026-06-22 10:50:59
Edit Edit Copy Copy Delete Delete
DELETE FROM departments WHERE `departments`.`id` = 10
10 PN Personnel Director PN NULL 18 Director W 2026-06-22 10:50:59
Edit Edit Copy Copy Delete Delete
DELETE FROM departments WHERE `departments`.`id` = 11
11 PU จัดซื้อ Director PU_MK NULL 18 Director W 2026-06-22 10:50:59
Edit Edit Copy Copy Delete Delete
DELETE FROM departments WHERE `departments`.`id` = 13
13 EDP EDP / IT Director EDP NULL 18 Director V 2026-06-22 10:50:59
Edit Edit Copy Copy Delete Delete
DELETE FROM departments WHERE `departments`.`id` = 14
14 PA1 ประกอบ 1 Factory PD 1 NULL GM W 2026-07-15 10:47:14
Edit Edit Copy Copy Delete Delete
DELETE FROM departments WHERE `departments`.`id` = 15
15 PA2 ประกอบ 2 Factory PD 1 NULL GM W 2026-07-15 10:47:14
Edit Edit Copy Copy Delete Delete
DELETE FROM departments WHERE `departments`.`id` = 16
16 PP แผนกปั๊ม/เชื่อม/แทปปิ้ง Factory PD 1 NULL GM W 2026-07-15 10:47:14
Edit Edit Copy Copy Delete Delete
DELETE FROM departments WHERE `departments`.`id` = 17
17 PI แผนกฉีดพลาสติก Factory PD 1 NULL GM W 2026-07-15 10:47:14
Edit Edit Copy Copy Delete Delete
DELETE FROM departments WHERE `departments`.`id` = 18
18 QMS ระบบบริหารคุณภาพ QA-QC QMS NULL 17 GM W 2026-07-15 10:47:14
Edit Edit Copy Copy Delete Delete
DELETE FROM departments WHERE `departments`.`id` = 19
19 Interpreter ล่าม Director INTERPRETER NULL 16 GM W 2026-07-15 10:47:14
Edit Edit Copy Copy Delete Delete
DELETE FROM departments WHERE `departments`.`id` = 20
20 EXEC ผู้บริหารระดับสูง Executive EXEC NULL NULL President W 2026-07-15 15:31:49
Edit Edit Copy Copy Delete Delete
DELETE FROM departments WHERE `departments`.`id` = 21
21 MK การตลาด Director PU_MK NULL 18 Director W 2026-08-31 16:49:25
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