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 `bar_stock_log` ORDER BY `ts` ASC 
[ Edit inline ] [ Edit ] [ Explain SQL ] [ Create PHP code ] [ Refresh ]
Full texts id branch item type qty balance_after ts Ascending Descending 1 by_user note
Edit Edit Copy Copy Delete Delete
DELETE FROM bar_stock_log WHERE `bar_stock_log`.`id` = 1
1 Two Rivers Mocktail Juice sale -1 7 2026-07-13 15:38:08 av
Edit Edit Copy Copy Delete Delete
DELETE FROM bar_stock_log WHERE `bar_stock_log`.`id` = 2
2 Two Rivers Fanta Orange sale -1 21 2026-07-13 15:41:07 av
Edit Edit Copy Copy Delete Delete
DELETE FROM bar_stock_log WHERE `bar_stock_log`.`id` = 3
3 Two Rivers Dasani Water sale -2 7 2026-07-13 15:41:07 av
Edit Edit Copy Copy Delete Delete
DELETE FROM bar_stock_log WHERE `bar_stock_log`.`id` = 4
4 Two Rivers White Cap sale -1 -1 2026-07-13 16:24:52 av
Edit Edit Copy Copy Delete Delete
DELETE FROM bar_stock_log WHERE `bar_stock_log`.`id` = 5
5 Two Rivers Tusker Cider sale -1 0 2026-07-13 16:25:03 av
Edit Edit Copy Copy Delete Delete
DELETE FROM bar_stock_log WHERE `bar_stock_log`.`id` = 6
6 Two Rivers White Cap restock 6 5 2026-07-14 10:30:30 restock-script Bar restock 14/07/2026
Edit Edit Copy Copy Delete Delete
DELETE FROM bar_stock_log WHERE `bar_stock_log`.`id` = 7
7 Two Rivers Tusker Lager restock 6 6 2026-07-14 10:30:30 restock-script Bar restock 14/07/2026
Edit Edit Copy Copy Delete Delete
DELETE FROM bar_stock_log WHERE `bar_stock_log`.`id` = 8
8 Two Rivers Tusker Lite restock 6 6 2026-07-14 10:30:30 restock-script Bar restock 14/07/2026
Edit Edit Copy Copy Delete Delete
DELETE FROM bar_stock_log WHERE `bar_stock_log`.`id` = 9
9 Two Rivers Smirnoff Guarana restock 6 6 2026-07-14 10:30:30 restock-script Bar restock 14/07/2026
Edit Edit Copy Copy Delete Delete
DELETE FROM bar_stock_log WHERE `bar_stock_log`.`id` = 10
10 Two Rivers Smirnoff Ice restock 6 6 2026-07-14 10:30:30 restock-script Bar restock 14/07/2026
Edit Edit Copy Copy Delete Delete
DELETE FROM bar_stock_log WHERE `bar_stock_log`.`id` = 11
11 Two Rivers Coke restock 48 52 2026-07-14 10:30:30 restock-script Bar restock 14/07/2026
Edit Edit Copy Copy Delete Delete
DELETE FROM bar_stock_log WHERE `bar_stock_log`.`id` = 12
12 Two Rivers Fanta Orange restock 24 45 2026-07-14 10:30:30 restock-script Bar restock 14/07/2026
Edit Edit Copy Copy Delete Delete
DELETE FROM bar_stock_log WHERE `bar_stock_log`.`id` = 13
13 Two Rivers Dasani Water restock 48 55 2026-07-14 10:30:30 restock-script Bar restock 14/07/2026
Edit Edit Copy Copy Delete Delete
DELETE FROM bar_stock_log WHERE `bar_stock_log`.`id` = 14
14 Two Rivers Sparkling Water restock 10 10 2026-07-14 10:30:30 restock-script Bar restock 14/07/2026
Edit Edit Copy Copy Delete Delete
DELETE FROM bar_stock_log WHERE `bar_stock_log`.`id` = 15
15 Two Rivers Schweppes restock 4 4 2026-07-14 10:30:30 restock-script Bar restock 14/07/2026
Edit Edit Copy Copy Delete Delete
DELETE FROM bar_stock_log WHERE `bar_stock_log`.`id` = 16
16 Two Rivers Urban Bites restock 29 29 2026-07-14 10:30:30 restock-script Bar restock 14/07/2026
Edit Edit Copy Copy Delete Delete
DELETE FROM bar_stock_log WHERE `bar_stock_log`.`id` = 17
17 Two Rivers White Cap adjust 1 6 2026-07-14 11:05:04 stocktake-script Physical stock-take 14/07/2026
Edit Edit Copy Copy Delete Delete
DELETE FROM bar_stock_log WHERE `bar_stock_log`.`id` = 18
18 Two Rivers Tusker Cider adjust 1 1 2026-07-14 11:05:04 stocktake-script Physical stock-take 14/07/2026
Edit Edit Copy Copy Delete Delete
DELETE FROM bar_stock_log WHERE `bar_stock_log`.`id` = 19
19 Two Rivers Sparkling Water sale -1 9 2026-07-14 17:29:48 rr
Edit Edit Copy Copy Delete Delete
DELETE FROM bar_stock_log WHERE `bar_stock_log`.`id` = 20
20 Two Rivers Dasani Water sale -1 54 2026-07-14 17:30:40 rr
Edit Edit Copy Copy Delete Delete
DELETE FROM bar_stock_log WHERE `bar_stock_log`.`id` = 21
21 Two Rivers Smirnoff Guarana sale -1 5 2026-07-14 17:30:40 rr
Edit Edit Copy Copy Delete Delete
DELETE FROM bar_stock_log WHERE `bar_stock_log`.`id` = 22
22 Two Rivers Tusker Malt sale -1 2 2026-07-14 17:32:59 rr
Edit Edit Copy Copy Delete Delete
DELETE FROM bar_stock_log WHERE `bar_stock_log`.`id` = 23
23 Two Rivers Snapp sale -1 0 2026-07-14 17:32:59 rr
Edit Edit Copy Copy Delete Delete
DELETE FROM bar_stock_log WHERE `bar_stock_log`.`id` = 24
24 Two Rivers Sprite sale -1 29 2026-07-14 17:32:59 rr
Edit Edit Copy Copy Delete Delete
DELETE FROM bar_stock_log WHERE `bar_stock_log`.`id` = 25
25 Two Rivers Dasani Water sale -1 53 2026-07-14 17:33:46 rr
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