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 `product_purchases` ORDER BY `discount` ASC 
Full texts id purchase_id product_id product_batch_id variant_id imei_number qty recieved purchase_unit_id net_unit_cost discount Ascending Descending 1 tax_rate tax total created_at updated_at
6 6 19 NULL NULL NULL 62 62 1 0 0 0 0 0 2025-01-04 15:28:53 2025-01-04 15:28:53
7 7 19 NULL NULL NULL 4 4 1 0 0 0 0 0 2025-01-04 15:31:05 2025-01-04 15:31:05
9 8 25 NULL NULL NULL 14 14 1 0 0 0 0 0 2025-01-04 15:33:55 2025-01-04 15:33:55
10 9 29 NULL NULL NULL 171 171 1 0 0 0 0 0 2025-01-04 15:34:35 2025-01-04 15:34:35
11 10 30 NULL NULL NULL 54 54 1 0 0 0 0 0 2025-01-04 15:35:35 2025-01-04 15:35:35
12 11 31 NULL NULL NULL 53 53 1 0 0 0 0 0 2025-01-04 15:36:03 2025-01-04 15:36:03
13 12 25 NULL NULL NULL 10 10 1 0 0 0 0 0 2025-01-04 15:36:42 2025-01-04 15:36:42
15 13 29 NULL NULL NULL 6 6 1 0 0 0 0 0 2025-01-04 15:37:31 2025-01-04 15:37:31
16 14 30 NULL NULL NULL 17 17 1 0 0 0 0 0 2025-01-04 15:38:02 2025-01-04 15:38:02
17 15 31 NULL NULL NULL 14 14 1 0 0 0 0 0 2025-01-04 15:38:35 2025-01-04 15:38:35
18 16 20 NULL NULL NULL 2 2 1 0 0 0 0 0 2025-01-04 15:39:43 2025-01-04 15:39:43
19 17 25 NULL NULL NULL 60 60 1 0 0 0 0 0 2025-01-04 15:50:09 2025-01-04 15:50:09
20 18 30 NULL NULL NULL 300 300 1 0 0 0 0 0 2025-01-04 15:50:40 2025-01-04 15:50:40
21 19 31 NULL NULL NULL 380 380 1 0 0 0 0 0 2025-01-04 15:51:09 2025-01-04 15:51:09
22 20 18 NULL NULL NULL 200 200 1 0 0 0 0 0 2025-01-04 16:24:36 2025-01-04 16:24:36
23 21 20 NULL NULL NULL 8 8 1 0 0 0 0 0 2025-01-04 16:45:50 2025-01-04 16:45:50
25 22 19 NULL NULL NULL 1 1 1 0 0 0 0 0 2025-01-08 18:13:42 2025-01-08 18:13:42
27 24 19 NULL NULL NULL 1 1 1 0 0 0 0 0 2025-01-10 12:59:06 2025-01-10 12:59:06
28 25 34 NULL NULL NULL 3 3 1 0 0 0 0 0 2025-01-12 17:20:02 2025-01-12 17:20:02
29 26 19 NULL NULL NULL 1 1 1 0 0 0 0 0 2025-01-12 17:42:16 2025-01-12 17:42:16
30 27 26 NULL NULL NULL 50 50 1 0 0 0 0 0 2025-01-13 13:45:02 2025-01-13 13:45:02
31 28 21 NULL NULL NULL 100 100 1 0 0 0 0 0 2025-01-17 13:12:16 2025-01-17 13:12:16
32 29 28 NULL NULL NULL 10 10 1 0 0 0 0 0 2025-01-17 13:43:22 2025-01-17 13:43:22
33 29 23 NULL NULL NULL 24 24 1 0 0 0 0 0 2025-01-17 13:43:22 2025-01-17 13:43:22
34 29 22 NULL NULL NULL 24 24 1 0 0 0 0 0 2025-01-17 13:43:22 2025-01-17 13:43:22