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 `vehicles` ORDER BY `insurance_co` DESC 
Edit inline ] [ Edit ] [ Explain SQL ] [ Create PHP code ] [ Refresh ]
Full texts id car_plate car_type res_car_type vehicle_kind brand model car_year color fuel_type engine_cc engine_cylinders horsepower_hp cargo_width_m cargo_length_m cargo_height_m timing_system timing_note chassis_no engine_no reg_date
???????????????
reg_date_text vehicle_age_years reg_expire
?????????????????
insurance_co Descending Ascending 1 insurance_no insurance_expire inspect_expire
??????????????????
last_service_km last_service_date next_service_km next_service_date current_km gross_weight_kg curb_weight_kg payload_weight_kg department assigned_driver
FK drivers.id
remark status created_at
Edit Edit Copy Copy Delete Delete
DELETE FROM vehicles WHERE `vehicles`.`id` = 1
1 82-0161 truck_large 6ล้อธรรมดา_ISUZU_มีลิฟท์ รถบรรทุกส่วนบุคคล ISUZU FRR90NNXXQ 0000 ขาว diesel NULL 4 190 2.22 3.10 2.20 chain ส่วนใหญ่เป็นโซ่เดี่ยว MP1FRR90NDT001385 4HK1154922 2015-01-29 29 มกราคม 2558 11 NULL NULL NULL NULL NULL NULL NULL NULL NULL 4574541 9700 5700 4000 NULL NULL นำเข้าจากไฟล์แนบ active 2026-05-09 11:39:38
Edit Edit Copy Copy Delete Delete
DELETE FROM vehicles WHERE `vehicles`.`id` = 2
2 82-1213 truck_large 6ล้อธรรมดา_ISUZU_มีลิฟท์ รถบรรทุกส่วนบุคคล ISUZU FRR90NNXXS 0000 ขาว diesel NULL 4 190 2.22 3.10 2.20 chain ส่วนใหญ่เป็นโซ่เดี่ยว MP1FRR90NFT001871 4HK1PG9470 NULL 2559 10 NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL 10400 5600 4800 NULL NULL นำเข้าจากไฟล์แนบ active 2026-05-09 11:39:38
Edit Edit Copy Copy Delete Delete
DELETE FROM vehicles WHERE `vehicles`.`id` = 3
3 82-2157 truck_large 6ล้อจัมโบ้_HINO_มีลิฟท์ รถบรรทุกส่วนบุคคล HINO FG8JT1A-JGT 0000 ขาว diesel NULL 6 240 2.40 8.50 2.40 gear Timing Gear / Gear Train MNKFG8JT1XHX10299 J08EWJH53861 2018-02-09 9 กุมภาพันธ์ 2561 8 NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL 15000 9300 5700 NULL NULL นำเข้าจากไฟล์แนบ active 2026-05-09 11:39:38
Edit Edit Copy Copy Delete Delete
DELETE FROM vehicles WHERE `vehicles`.`id` = 4
4 3ฒฮ6665 pickup 4ล้อพื้นเรียบ รถกระบะบรรทุก TOYOTA HILUX CHAMP 2024 0000 ขาว diesel 2393 4 150 1.70 2.70 1.00 chain Timing Chain MR3AA9CA106300822 2GD5571758 2024-08-05 5 สิงหาคม 2567 2 NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL 2790 1500 1290 NULL NULL นำเข้าจากไฟล์แนบ active 2026-05-09 11:39:38
Edit Edit Copy Copy Delete Delete
DELETE FROM vehicles WHERE `vehicles`.`id` = 5
5 2ฒจ6940 pickup 4ล้อพื้นเรียบ รถกระบะบรรทุก ISUZU D-MAX 2017 0000 ขาว diesel 1898 4 150 1.70 2.47 1.00 chain Single Chain MP1TFR87JHT039653 RZ4ERN3133 2017-10-18 18 ตุลาคม 2560 9 NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL 2700 1900 800 NULL NULL นำเข้าจากไฟล์แนบ active 2026-05-09 11:39:38
Edit Edit Copy Copy Delete Delete
DELETE FROM vehicles WHERE `vehicles`.`id` = 6
6 1ฒษ4308 pickup 4ล้อพื้นเรียบ รถกระบะบรรทุก ISUZU D-MAX 2016 0000 ขาว diesel 1898 4 150 1.70 2.47 1.00 chain Single Chain MP1TFR87JGT029284 RZ4EPG6809 2016-08-22 22 สิงหาคม 2559 10 NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL 2700 1800 900 NULL NULL นำเข้าจากไฟล์แนบ active 2026-05-09 11:39:38
Edit Edit Copy Copy Delete Delete
DELETE FROM vehicles WHERE `vehicles`.`id` = 7
7 2ฒฒ3281 pickup 4ล้อพื้นเรียบ รถกระบะบรรทุก ISUZU D-MAX 2018 0000 ขาว diesel 1890 4 150 1.70 2.47 1.00 chain Single Chain MP1TFR87JKT011728 RZ4ETII6247 2019-02-22 22 กุมภาพันธ์ 2562 7 NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL 2700 1800 900 NULL NULL นำเข้าจากไฟล์แนบ active 2026-05-09 11:39:38
Edit Edit Copy Copy Delete Delete
DELETE FROM vehicles WHERE `vehicles`.`id` = 8
8 ฒฉ1332 pickup 4ล้อSupport_NISSAN_CAP รถกระบะบรรทุก NISSAN NAVARA 2011 0000 เทา diesel 2188 4 111 NULL NULL NULL chain มี 2 เส้น (โซ่ + โซ่เดี่ยว) MNTNCGD10Z0016776 YD25332183T 2008-07-25 25 กรกฎาคม 2551 18 NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL 2570 1550 1020 NULL NULL นำเข้าจากไฟล์แนบ active 2026-05-09 11:39:38
Edit Edit Copy Copy Delete Delete
DELETE FROM vehicles WHERE `vehicles`.`id` = 9
9 2ฒต3012 truck_small 4ล้อกลาง_HINO_มีลิฟท์ รถบรรทุกส่วนบุคคล HINO XZU600R-HKMLKT3 2018 0000 ขาว diesel 4009 4 136 1.58 3.10 1.75 gear Timing Gear MNKACK4H002004364 NO4CVH12093 2018-07-24 24 กรกฎาคม 2561 8 NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL 4500 2200 2300 NULL NULL นำเข้าจากไฟล์แนบ active 2026-05-09 11:39:38
Edit Edit Copy Copy Delete Delete
DELETE FROM vehicles WHERE `vehicles`.`id` = 10
10 1กอ2340 pickup 4ล้อSupport_TOYOTA รถกระบะ 4 ประตู TOYOTA KUN36R-PRASYT AV 2012 0000 ขาว diesel 2982 4 171 NULL NULL NULL belt สายพานราวลิ้น MR0EZ39G908561667 1KD-U159765 2012-11-22 22 พฤศจิกายน 2555 14 NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL 1800 1800 NULL NULL NULL นำเข้าจากไฟล์แนบ active 2026-05-09 11:39:38
Edit Edit Copy Copy Delete Delete
DELETE FROM vehicles WHERE `vehicles`.`id` = 11
11 ฒท72 truck_small 4ล้อกลาง_HINO_ไม่มีลิฟท์ รถบรรทุกส่วนบุคคล HINO XZU600R-HKMLKT3 2017 0000 ขาว diesel 4009 4 136 1.58 3.10 1.75 gear Timing Gear MNKACK4H002003831 NO4CVAH11752 2017-11-16 16 พฤศจิกายน 2560 9 NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL 4500 2200 2300 NULL NULL นำเข้าจากไฟล์แนบ active 2026-05-09 11:39:38
Edit Edit Copy Copy Delete Delete
DELETE FROM vehicles WHERE `vehicles`.`id` = 12
12 5กภ2840 pickup 4ล้อSupport_FORD รถกระบะ 4 ประตู FORD FORD RANGER 2016 0000 แดง diesel 2198 4 160 NULL NULL NULL chain Ranger 2016 ใช้โซ่ราวลิ้น MNBLMF080GW619688 P4AT2255314 2016-10-04 4 ตุลาคม 2559 10 NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL 1750 1750 NULL NULL NULL นำเข้าจากไฟล์แนบ active 2026-05-09 11:39:38
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