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 `inventory_logs` ORDER BY `item_type` DESC 
Edit inline ] [ Edit ] [ Explain SQL ] [ Create PHP code ] [ Refresh ]
Full texts id item_type Descending Ascending 1 item_id quantity action notes created_at user_id previous_stock new_stock
Edit Edit Copy Copy Delete Delete
DELETE FROM inventory_logs WHERE `inventory_logs`.`id` = 11776
11776 ingredient 4 -1.00 sale 2026-06-28 19:46:43 0 0.00 0.00
Edit Edit Copy Copy Delete Delete
DELETE FROM inventory_logs WHERE `inventory_logs`.`id` = 12544
12544 ingredient 4 -1.00 sale 2026-06-30 19:30:03 0 0.00 0.00
Edit Edit Copy Copy Delete Delete
DELETE FROM inventory_logs WHERE `inventory_logs`.`id` = 15616
15616 ingredient 5 -1.00 sale 2026-07-09 22:42:48 0 0.00 0.00
Edit Edit Copy Copy Delete Delete
DELETE FROM inventory_logs WHERE `inventory_logs`.`id` = 15872
15872 ingredient 4 -1.00 sale 2026-07-10 21:53:05 0 0.00 0.00
Edit Edit Copy Copy Delete Delete
DELETE FROM inventory_logs WHERE `inventory_logs`.`id` = 17664
17664 ingredient 2 -1.00 sale 2026-07-19 20:59:54 0 0.00 0.00
Edit Edit Copy Copy Delete Delete
DELETE FROM inventory_logs WHERE `inventory_logs`.`id` = 17920
17920 ingredient 10 -1.00 sale 2026-07-20 19:15:35 0 0.00 0.00
Edit Edit Copy Copy Delete Delete
DELETE FROM inventory_logs WHERE `inventory_logs`.`id` = 18688
18688 ingredient 2 -1.00 sale 2026-07-23 19:38:46 0 0.00 0.00
Edit Edit Copy Copy Delete Delete
DELETE FROM inventory_logs WHERE `inventory_logs`.`id` = 20480
20480 ingredient 10 -1.00 sale 2026-07-29 20:38:56 0 0.00 0.00
Edit Edit Copy Copy Delete Delete
DELETE FROM inventory_logs WHERE `inventory_logs`.`id` = 6401
6401 ingredient 4 -1.00 sale 2026-06-11 19:47:08 0 0.00 0.00
Edit Edit Copy Copy Delete Delete
DELETE FROM inventory_logs WHERE `inventory_logs`.`id` = 6913
6913 ingredient 9 -1.00 sale 2026-06-12 20:49:21 0 0.00 0.00
Edit Edit Copy Copy Delete Delete
DELETE FROM inventory_logs WHERE `inventory_logs`.`id` = 7937
7937 ingredient 3 -1.00 sale 2026-06-14 21:13:39 0 0.00 0.00
Edit Edit Copy Copy Delete Delete
DELETE FROM inventory_logs WHERE `inventory_logs`.`id` = 22017
22017 ingredient 2 -1.00 sale 2026-08-02 21:24:26 0 0.00 0.00
Edit Edit Copy Copy Delete Delete
DELETE FROM inventory_logs WHERE `inventory_logs`.`id` = 3586
3586 ingredient 5 -1.00 sale 2026-05-31 20:46:18 0 0.00 0.00
Edit Edit Copy Copy Delete Delete
DELETE FROM inventory_logs WHERE `inventory_logs`.`id` = 6658
6658 ingredient 5 -1.00 sale 2026-06-11 22:46:51 0 0.00 0.00
Edit Edit Copy Copy Delete Delete
DELETE FROM inventory_logs WHERE `inventory_logs`.`id` = 7426
7426 ingredient 3 -1.00 sale 2026-06-13 21:28:16 0 0.00 0.00
Edit Edit Copy Copy Delete Delete
DELETE FROM inventory_logs WHERE `inventory_logs`.`id` = 17410
17410 ingredient 13 -1.00 sale 2026-07-19 00:10:20 0 0.00 0.00
Edit Edit Copy Copy Delete Delete
DELETE FROM inventory_logs WHERE `inventory_logs`.`id` = 21506
21506 ingredient 2 -1.00 sale 2026-08-01 21:21:38 0 0.00 0.00
Edit Edit Copy Copy Delete Delete
DELETE FROM inventory_logs WHERE `inventory_logs`.`id` = 5379
5379 ingredient 4 -2.00 sale 2026-06-07 22:19:25 0 0.00 0.00
Edit Edit Copy Copy Delete Delete
DELETE FROM inventory_logs WHERE `inventory_logs`.`id` = 8451
8451 ingredient 4 -2.00 sale 2026-06-16 19:43:02 0 0.00 0.00
Edit Edit Copy Copy Delete Delete
DELETE FROM inventory_logs WHERE `inventory_logs`.`id` = 8963
8963 ingredient 2 -1.00 sale 2026-06-18 21:26:03 0 0.00 0.00
Edit Edit Copy Copy Delete Delete
DELETE FROM inventory_logs WHERE `inventory_logs`.`id` = 9731
9731 ingredient 4 -2.00 sale 2026-06-20 23:45:57 0 0.00 0.00
Edit Edit Copy Copy Delete Delete
DELETE FROM inventory_logs WHERE `inventory_logs`.`id` = 10499
10499 ingredient 3 -1.00 sale 2026-06-23 21:47:50 0 0.00 0.00
Edit Edit Copy Copy Delete Delete
DELETE FROM inventory_logs WHERE `inventory_logs`.`id` = 10755
10755 ingredient 2 -1.00 sale 2026-06-24 21:15:26 0 0.00 0.00
Edit Edit Copy Copy Delete Delete
DELETE FROM inventory_logs WHERE `inventory_logs`.`id` = 13315
13315 ingredient 5 -1.00 sale 2026-07-03 19:28:26 0 0.00 0.00
Edit Edit Copy Copy Delete Delete
DELETE FROM inventory_logs WHERE `inventory_logs`.`id` = 15875
15875 ingredient 13 -1.00 sale 2026-07-10 21:53:05 0 0.00 0.00
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