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.

Documentation Use only icons, only text or both.
Documentation Use only icons, only text or both.
Documentation Whether a user should be displayed a "show all (rows)" button.
Documentation Number of rows displayed when browsing a result set. If the result set contains more rows, "Previous" and "Next" links will be shown.
Documentation SMART - i.e. descending order for columns of type TIME, DATE, DATETIME and TIMESTAMP, ascending order otherwise.
Documentation Highlight row pointed by the mouse cursor.
Documentation Highlight selected rows.
Documentation
Documentation
Documentation Repeat the headers every X cells, 0 deactivates this feature.
Documentation Maximum number of characters shown in any non-numeric column on browse view.
Documentation These are Edit, Copy and Delete links.
Documentation Whether to show row links even in the absence of a unique key.
Documentation Default sort order for tables with a primary key.
Documentation When browsing tables, the sorting of each table is remembered.
Documentation For display Options
SELECT * FROM `sales` ORDER BY `id` ASC 
Full texts id Ascending Descending 1 reference_no user_id cash_register_id customer_id warehouse_id biller_id item total_qty total_discount total_tax total_price grand_total order_tax_rate order_tax order_discount_type order_discount_value order_discount coupon_id coupon_discount shipping_cost sale_status payment_status document paid_amount sale_note staff_note created_at updated_at
6 sr-20250104-042240 44 8 1 2 2 4 28 0 0 355000 330000 0 0 Flat 25000 25000 NULL NULL NULL 1 4 NULL 330000 NULL NULL 2025-01-02 00:00:00 2025-01-04 16:22:40
7 sr-20250104-043356 44 8 1 2 2 1 12 0 0 180000 168000 0 0 Flat 12000 12000 NULL NULL 0 1 4 NULL 168000 NULL NULL 2025-01-03 00:00:00 2025-01-04 16:36:19
8 sr-20250104-043729 44 8 1 2 2 3 10 0 0 158000 146000 0 0 Flat 12000 12000 NULL NULL NULL 1 4 NULL 146000 NULL NULL 2025-01-03 00:00:00 2025-01-04 17:29:20
9 sr-20250104-044226 44 9 1 5 3 3 4 0 0 119000 114000 0 0 Flat 5000 5000 NULL NULL 0 1 4 NULL 114000 NULL NULL 2025-01-02 00:00:00 2025-01-05 11:35:11
10 sr-20250104-044350 44 9 1 5 3 2 3 0 0 53000 49000 0 0 Flat 4000 4000 NULL NULL NULL 1 4 NULL 49000 NULL NULL 2025-01-03 00:00:00 2025-01-04 16:43:50
12 posr-20250104-053442 42 11 1 5 3 2 6 0 0 75000 75000 0 0 Flat NULL 0 NULL NULL NULL 1 4 NULL 75000 NULL NULL 2025-01-04 00:00:00 2025-01-04 17:34:42
13 posr-20250105-081953 42 11 2 5 3 1 1 0 0 24000 22000 0 0 Flat 2000 2000 NULL NULL NULL 1 4 NULL 22000 NULL NULL 2025-01-04 00:00:00 2025-01-05 08:19:53
14 sr-20250105-104633 44 8 1 2 2 5 41 0 0 536000 493000 0 0 Flat 43000 43000 NULL NULL NULL 1 4 NULL 493000 NULL NULL 2025-01-04 00:00:00 2025-01-05 10:46:33
15 sr-20250105-105525 44 8 1 2 4 4 4 0 0 47000 47000 0 0 Flat NULL 0 NULL NULL NULL 1 4 NULL 47000 shopee lazada NULL 2025-01-04 00:00:00 2025-01-08 11:41:33
16 posr-20250105-114155 44 8 3 2 2 1 1 0 0 15000 15000 0 0 Flat NULL 0 NULL NULL NULL 1 4 NULL 15000 NULL NULL 2025-01-05 00:00:00 2025-01-05 11:41:55
17 posr-20250105-114217 44 8 3 2 2 1 1 0 0 15000 15000 0 0 Flat NULL 0 NULL NULL NULL 1 4 NULL 15000 NULL NULL 2025-01-05 00:00:00 2025-01-05 12:04:11
19 posr-20250105-013105 41 14 5 2 2 2 2 0 0 20000 22500 0 0 Flat 1000 1000 NULL NULL 3500 1 4 NULL 22500 NULL NULL 2025-01-05 00:00:00 2025-01-05 13:31:05
20 posr-20250105-013408 44 8 4 2 2 1 1 1000 0 14000 12000 0 0 Flat 2000 2000 NULL NULL 0 1 4 NULL 12000 NULL NULL 2025-01-05 00:00:00 2025-01-05 13:41:04
21 posr-20250105-013602 42 11 6 5 3 2 2 0 0 20000 19000 0 0 Flat 1000 1000 NULL NULL NULL 1 4 NULL 19000 NULL NULL 2025-01-05 00:00:00 2025-01-05 13:36:02
22 posr-20250105-013808 42 11 7 5 3 1 1 0 0 5000 5000 0 0 Flat NULL 0 NULL NULL NULL 1 4 NULL 5000 NULL NULL 2025-01-05 00:00:00 2025-01-05 13:38:08
23 posr-20250105-014013 42 11 8 5 3 1 1 0 0 15000 14000 0 0 Flat 1000 1000 NULL NULL NULL 1 4 NULL 14000 NULL NULL 2025-01-05 13:40:13 2025-01-05 13:40:13
24 posr-20250105-014153 42 11 9 5 3 1 1 0 0 24000 22000 0 0 Flat 2000 2000 NULL NULL NULL 1 4 NULL 22000 NULL NULL 2025-01-05 13:41:53 2025-01-05 13:41:53
25 posr-20250105-023435 41 14 10 2 2 1 1 0 0 24000 23000 0 0 Flat 2000 2000 NULL NULL 1000 1 4 NULL 23000 NULL NULL 2025-01-05 00:00:00 2025-01-05 15:04:46
26 posr-20250105-030315 41 14 12 2 2 1 1 0 0 15000 14600 0 0 Flat 1000 1000 NULL NULL 600 1 4 NULL 14600 NULL NULL 2025-01-05 00:00:00 2025-01-05 15:04:17
27 posr-20250105-031329 41 14 13 2 2 3 3 0 0 31000 29000 0 0 Flat 3000 3000 NULL NULL 1000 1 4 NULL 29000 NULL NULL 2025-01-05 00:00:00 2025-01-05 15:14:17
28 posr-20250105-044541 41 14 14 2 2 1 1 0 0 24000 22800 0 0 Flat 2000 2000 NULL NULL 800 1 4 NULL 22800 NULL NULL 2025-01-05 00:00:00 2025-01-05 16:48:02
29 posr-20250105-045133 42 11 15 5 3 1 1 0 0 24000 22000 0 0 Flat 2000 2000 NULL NULL NULL 1 4 NULL 22000 NULL NULL 2025-01-05 00:00:00 2025-01-05 16:51:33
30 posr-20250105-045401 42 11 16 5 3 1 1 0 0 15000 14000 0 0 Flat 1000 1000 NULL NULL NULL 1 4 NULL 14000 NULL NULL 2025-01-05 00:00:00 2025-01-05 16:54:01
31 posr-20250105-045619 42 11 17 5 3 1 1 0 0 15000 14000 0 0 Flat 1000 1000 NULL NULL NULL 1 4 NULL 14000 NULL NULL 2025-01-05 00:00:00 2025-01-05 16:56:19
32 posr-20250105-054205 42 11 18 5 3 1 1 0 0 24000 24000 0 0 Flat NULL 0 NULL NULL NULL 1 4 NULL 24000 NULL NULL 2025-01-05 00:00:00 2025-01-05 17:42:05