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 `previous_stock` DESC 
Edit inline ] [ Edit ] [ Explain SQL ] [ Create PHP code ] [ Refresh ]
Full texts id item_type item_id quantity action notes created_at user_id previous_stock Descending Ascending 1 new_stock
Edit Edit Copy Copy Delete Delete
DELETE FROM inventory_logs WHERE `inventory_logs`.`id` = 768
768 ingredient 5 -1.50 sale 2026-05-10 18:58:39 0 0.00 0.00
Edit Edit Copy Copy Delete Delete
DELETE FROM inventory_logs WHERE `inventory_logs`.`id` = 1024
1024 product 51 -1.00 sale 2026-05-10 20:20:23 0 0.00 0.00
Edit Edit Copy Copy Delete Delete
DELETE FROM inventory_logs WHERE `inventory_logs`.`id` = 1280
1280 product 33 -1.00 sale 2026-05-10 22:13:10 0 0.00 0.00
Edit Edit Copy Copy Delete Delete
DELETE FROM inventory_logs WHERE `inventory_logs`.`id` = 1536
1536 product 84 -1.00 sale 2026-05-11 19:52:07 0 0.00 0.00
Edit Edit Copy Copy Delete Delete
DELETE FROM inventory_logs WHERE `inventory_logs`.`id` = 1792
1792 ingredient 8 -1.00 sale 2026-05-11 21:48:36 0 0.00 0.00
Edit Edit Copy Copy Delete Delete
DELETE FROM inventory_logs WHERE `inventory_logs`.`id` = 2048
2048 product 47 -1.00 sale 2026-05-12 20:21:50 0 0.00 0.00
Edit Edit Copy Copy Delete Delete
DELETE FROM inventory_logs WHERE `inventory_logs`.`id` = 2304
2304 product 87 -1.00 sale 2026-05-12 23:33:05 0 0.00 0.00
Edit Edit Copy Copy Delete Delete
DELETE FROM inventory_logs WHERE `inventory_logs`.`id` = 2560
2560 product 16 -1.00 sale 2026-05-13 20:57:17 0 0.00 0.00
Edit Edit Copy Copy Delete Delete
DELETE FROM inventory_logs WHERE `inventory_logs`.`id` = 2816
2816 product 98 -1.00 sale 2026-05-14 19:02:01 0 0.00 0.00
Edit Edit Copy Copy Delete Delete
DELETE FROM inventory_logs WHERE `inventory_logs`.`id` = 3072
3072 product 47 -1.00 sale 2026-05-14 21:20:45 0 0.00 0.00
Edit Edit Copy Copy Delete Delete
DELETE FROM inventory_logs WHERE `inventory_logs`.`id` = 3328
3328 ingredient 7 -2.00 sale 2026-05-15 19:39:51 0 0.00 0.00
Edit Edit Copy Copy Delete Delete
DELETE FROM inventory_logs WHERE `inventory_logs`.`id` = 3584
3584 ingredient 5 -1.50 sale Selección en Punta de anca $ 15000 2026-05-15 21:59:52 0 0.00 0.00
Edit Edit Copy Copy Delete Delete
DELETE FROM inventory_logs WHERE `inventory_logs`.`id` = 3840
3840 ingredient 5 -1.00 sale 2026-05-16 19:39:55 0 0.00 0.00
Edit Edit Copy Copy Delete Delete
DELETE FROM inventory_logs WHERE `inventory_logs`.`id` = 4096
4096 product 16 -1.00 sale 2026-05-16 21:06:18 0 0.00 0.00
Edit Edit Copy Copy Delete Delete
DELETE FROM inventory_logs WHERE `inventory_logs`.`id` = 4352
4352 ingredient 6 -1.00 sale 2026-05-16 23:54:12 0 0.00 0.00
Edit Edit Copy Copy Delete Delete
DELETE FROM inventory_logs WHERE `inventory_logs`.`id` = 4608
4608 product 103 -1.00 sale 2026-05-17 20:22:40 0 0.00 0.00
Edit Edit Copy Copy Delete Delete
DELETE FROM inventory_logs WHERE `inventory_logs`.`id` = 4864
4864 ingredient 7 -2.00 sale 2026-05-17 23:00:49 0 0.00 0.00
Edit Edit Copy Copy Delete Delete
DELETE FROM inventory_logs WHERE `inventory_logs`.`id` = 5120
5120 product 85 -1.00 sale 2026-05-18 20:42:08 0 0.00 0.00
Edit Edit Copy Copy Delete Delete
DELETE FROM inventory_logs WHERE `inventory_logs`.`id` = 5376
5376 product 87 -1.00 sale 2026-05-19 19:18:45 0 0.00 0.00
Edit Edit Copy Copy Delete Delete
DELETE FROM inventory_logs WHERE `inventory_logs`.`id` = 5632
5632 ingredient 4 -2.00 sale 2026-05-19 21:16:25 0 0.00 0.00
Edit Edit Copy Copy Delete Delete
DELETE FROM inventory_logs WHERE `inventory_logs`.`id` = 5888
5888 product 16 -1.00 sale 2026-05-20 19:29:15 0 0.00 0.00
Edit Edit Copy Copy Delete Delete
DELETE FROM inventory_logs WHERE `inventory_logs`.`id` = 6144
6144 ingredient 3 -1.00 sale 2026-05-20 21:45:08 0 0.00 0.00
Edit Edit Copy Copy Delete Delete
DELETE FROM inventory_logs WHERE `inventory_logs`.`id` = 6400
6400 product 45 -1.00 sale 2026-05-21 19:34:16 0 0.00 0.00
Edit Edit Copy Copy Delete Delete
DELETE FROM inventory_logs WHERE `inventory_logs`.`id` = 6656
6656 ingredient 5 -1.00 sale 2026-05-21 22:02:15 0 0.00 0.00
Edit Edit Copy Copy Delete Delete
DELETE FROM inventory_logs WHERE `inventory_logs`.`id` = 6912
6912 product 42 -1.00 sale 2026-05-22 19:51:48 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