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 `document_items`
[ Edit inline ] [ Edit ] [ Explain SQL ] [ Create PHP code ] [ Refresh ]
Full texts id document_id product_id description quantity qty_done qty_billed qty_returned qty_system unit_price unit_cost discount_pct tax_rate line_total tax_amount source_item_id notes
Edit Edit Copy Copy Delete Delete
DELETE FROM document_items WHERE `document_items`.`id` = 1
1 1 1 NULL 48.00 48.00 48.00 0.00 NULL 8294700.00 0.0000 0.00 11.00 398145600.00 43796016.00 NULL NULL
Edit Edit Copy Copy Delete Delete
DELETE FROM document_items WHERE `document_items`.`id` = 2
2 1 2 NULL 20.00 20.00 20.00 0.00 NULL 12668400.00 0.0000 0.00 11.00 253368000.00 27870480.00 NULL NULL
Edit Edit Copy Copy Delete Delete
DELETE FROM document_items WHERE `document_items`.`id` = 3
3 1 3 NULL 60.00 60.00 60.00 0.00 NULL 1374000.00 0.0000 0.00 11.00 82440000.00 9068400.00 NULL NULL
Edit Edit Copy Copy Delete Delete
DELETE FROM document_items WHERE `document_items`.`id` = 4
4 1 4 NULL 24.00 24.00 24.00 0.00 NULL 2344200.00 0.0000 0.00 11.00 56260800.00 6188688.00 NULL NULL
Edit Edit Copy Copy Delete Delete
DELETE FROM document_items WHERE `document_items`.`id` = 5
5 1 5 NULL 120.00 120.00 120.00 0.00 NULL 173600.00 0.0000 0.00 11.00 20832000.00 2291520.00 NULL NULL
Edit Edit Copy Copy Delete Delete
DELETE FROM document_items WHERE `document_items`.`id` = 6
6 1 6 NULL 140.00 140.00 140.00 0.00 NULL 87400.00 0.0000 0.00 11.00 12236000.00 1345960.00 NULL NULL
Edit Edit Copy Copy Delete Delete
DELETE FROM document_items WHERE `document_items`.`id` = 7
7 1 7 NULL 80.00 80.00 80.00 0.00 NULL 468800.00 0.0000 0.00 11.00 37504000.00 4125440.00 NULL NULL
Edit Edit Copy Copy Delete Delete
DELETE FROM document_items WHERE `document_items`.`id` = 8
8 2 8 NULL 28.00 28.00 28.00 0.00 NULL 1610000.00 0.0000 0.00 11.00 45080000.00 4958800.00 NULL NULL
Edit Edit Copy Copy Delete Delete
DELETE FROM document_items WHERE `document_items`.`id` = 9
9 2 9 NULL 60.00 60.00 60.00 0.00 NULL 394100.00 0.0000 0.00 11.00 23646000.00 2601060.00 NULL NULL
Edit Edit Copy Copy Delete Delete
DELETE FROM document_items WHERE `document_items`.`id` = 10
10 2 10 NULL 28.00 28.00 28.00 0.00 NULL 1068600.00 0.0000 0.00 11.00 29920800.00 3291288.00 NULL NULL
Edit Edit Copy Copy Delete Delete
DELETE FROM document_items WHERE `document_items`.`id` = 11
11 2 11 NULL 3000.00 3000.00 3000.00 0.00 NULL 4400.00 0.0000 0.00 11.00 13200000.00 1452000.00 NULL NULL
Edit Edit Copy Copy Delete Delete
DELETE FROM document_items WHERE `document_items`.`id` = 12
12 3 1 NULL 48.00 48.00 0.00 0.00 NULL 8294700.00 8294700.0000 0.00 11.00 398145600.00 0.00 1 NULL
Edit Edit Copy Copy Delete Delete
DELETE FROM document_items WHERE `document_items`.`id` = 13
13 3 2 NULL 20.00 20.00 0.00 0.00 NULL 12668400.00 12668400.0000 0.00 11.00 253368000.00 0.00 2 NULL
Edit Edit Copy Copy Delete Delete
DELETE FROM document_items WHERE `document_items`.`id` = 14
14 3 3 NULL 60.00 60.00 0.00 0.00 NULL 1374000.00 1374000.0000 0.00 11.00 82440000.00 0.00 3 NULL
Edit Edit Copy Copy Delete Delete
DELETE FROM document_items WHERE `document_items`.`id` = 15
15 3 4 NULL 24.00 24.00 0.00 0.00 NULL 2344200.00 2344200.0000 0.00 11.00 56260800.00 0.00 4 NULL
Edit Edit Copy Copy Delete Delete
DELETE FROM document_items WHERE `document_items`.`id` = 16
16 3 5 NULL 120.00 120.00 0.00 0.00 NULL 173600.00 173600.0000 0.00 11.00 20832000.00 0.00 5 NULL
Edit Edit Copy Copy Delete Delete
DELETE FROM document_items WHERE `document_items`.`id` = 17
17 3 6 NULL 140.00 140.00 0.00 0.00 NULL 87400.00 87400.0000 0.00 11.00 12236000.00 0.00 6 NULL
Edit Edit Copy Copy Delete Delete
DELETE FROM document_items WHERE `document_items`.`id` = 18
18 3 7 NULL 80.00 80.00 0.00 0.00 NULL 468800.00 468800.0000 0.00 11.00 37504000.00 0.00 7 NULL
Edit Edit Copy Copy Delete Delete
DELETE FROM document_items WHERE `document_items`.`id` = 19
19 4 12 NULL 72.00 72.00 72.00 0.00 NULL 732000.00 0.0000 0.00 11.00 52704000.00 5797440.00 NULL NULL
Edit Edit Copy Copy Delete Delete
DELETE FROM document_items WHERE `document_items`.`id` = 20
20 4 13 NULL 40.00 40.00 40.00 0.00 NULL 856500.00 0.0000 0.00 11.00 34260000.00 3768600.00 NULL NULL
Edit Edit Copy Copy Delete Delete
DELETE FROM document_items WHERE `document_items`.`id` = 21
21 4 14 NULL 20.00 20.00 20.00 0.00 NULL 1320700.00 0.0000 0.00 11.00 26414000.00 2905540.00 NULL NULL
Edit Edit Copy Copy Delete Delete
DELETE FROM document_items WHERE `document_items`.`id` = 22
22 4 15 NULL 28.00 28.00 28.00 0.00 NULL 322200.00 0.0000 0.00 11.00 9021600.00 992376.00 NULL NULL
Edit Edit Copy Copy Delete Delete
DELETE FROM document_items WHERE `document_items`.`id` = 23
23 5 1 NULL 48.00 48.00 0.00 0.00 NULL 8294700.00 0.0000 0.00 11.00 398145600.00 43796016.00 1 NULL
Edit Edit Copy Copy Delete Delete
DELETE FROM document_items WHERE `document_items`.`id` = 24
24 5 2 NULL 20.00 20.00 0.00 0.00 NULL 12668400.00 0.0000 0.00 11.00 253368000.00 27870480.00 2 NULL
Edit Edit Copy Copy Delete Delete
DELETE FROM document_items WHERE `document_items`.`id` = 25
25 5 3 NULL 60.00 60.00 0.00 0.00 NULL 1374000.00 0.0000 0.00 11.00 82440000.00 9068400.00 3 NULL
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