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 `by_user` DESC 
Edit inline ] [ Edit ] [ Explain SQL ] [ Create PHP code ] [ Refresh ]
Full texts id branch item type qty balance_after ts by_user Descending Ascending 1 note
Edit Edit Copy Copy Delete Delete
DELETE FROM bar_stock_log WHERE `bar_stock_log`.`id` = 256
256 Two Rivers Sprite sale -1 20 2026-07-23 17:52:59 vw
Edit Edit Copy Copy Delete Delete
DELETE FROM bar_stock_log WHERE `bar_stock_log`.`id` = 257
257 Two Rivers Coke sale -3 17 2026-07-23 17:52:59 vw
Edit Edit Copy Copy Delete Delete
DELETE FROM bar_stock_log WHERE `bar_stock_log`.`id` = 258
258 Two Rivers Urban Bites sale -1 9 2026-07-23 17:52:59 vw
Edit Edit Copy Copy Delete Delete
DELETE FROM bar_stock_log WHERE `bar_stock_log`.`id` = 259
259 Two Rivers Fanta Passion sale -1 0 2026-07-23 17:53:38 vw
Edit Edit Copy Copy Delete Delete
DELETE FROM bar_stock_log WHERE `bar_stock_log`.`id` = 260
260 Two Rivers Urban Bites sale -1 8 2026-07-23 17:53:38 vw
Edit Edit Copy Copy Delete Delete
DELETE FROM bar_stock_log WHERE `bar_stock_log`.`id` = 261
261 Two Rivers Urban Bites sale -1 7 2026-07-23 17:54:22 vw
Edit Edit Copy Copy Delete Delete
DELETE FROM bar_stock_log WHERE `bar_stock_log`.`id` = 262
262 Two Rivers Heineken sale -2 2 2026-07-23 18:00:00 vw
Edit Edit Copy Copy Delete Delete
DELETE FROM bar_stock_log WHERE `bar_stock_log`.`id` = 388
388 Two Rivers Guinness sale -3 4 2026-07-28 15:33:31 vw
Edit Edit Copy Copy Delete Delete
DELETE FROM bar_stock_log WHERE `bar_stock_log`.`id` = 389
389 Two Rivers Pineapple Punch sale -3 0 2026-07-28 15:33:31 vw
Edit Edit Copy Copy Delete Delete
DELETE FROM bar_stock_log WHERE `bar_stock_log`.`id` = 390
390 Two Rivers Smirnoff Guarana sale -2 11 2026-07-28 15:33:31 vw
Edit Edit Copy Copy Delete Delete
DELETE FROM bar_stock_log WHERE `bar_stock_log`.`id` = 391
391 Two Rivers Sprite sale -1 25 2026-07-28 15:33:31 vw
Edit Edit Copy Copy Delete Delete
DELETE FROM bar_stock_log WHERE `bar_stock_log`.`id` = 244
244 Two Rivers Monster sale -1 13 2026-07-23 17:40:07 vw
Edit Edit Copy Copy Delete Delete
DELETE FROM bar_stock_log WHERE `bar_stock_log`.`id` = 245
245 Two Rivers Coke sale -3 21 2026-07-23 17:40:07 vw
Edit Edit Copy Copy Delete Delete
DELETE FROM bar_stock_log WHERE `bar_stock_log`.`id` = 246
246 Two Rivers Dasani Water sale -15 93 2026-07-23 17:40:07 vw
Edit Edit Copy Copy Delete Delete
DELETE FROM bar_stock_log WHERE `bar_stock_log`.`id` = 247
247 Two Rivers Fanta Orange sale -1 19 2026-07-23 17:40:07 vw
Edit Edit Copy Copy Delete Delete
DELETE FROM bar_stock_log WHERE `bar_stock_log`.`id` = 248
248 Two Rivers Tusker Cider sale -1 4 2026-07-23 17:42:39 vw
Edit Edit Copy Copy Delete Delete
DELETE FROM bar_stock_log WHERE `bar_stock_log`.`id` = 249
249 Two Rivers Dasani Water sale -1 92 2026-07-23 17:43:13 vw
Edit Edit Copy Copy Delete Delete
DELETE FROM bar_stock_log WHERE `bar_stock_log`.`id` = 250
250 Two Rivers Coke sale -1 20 2026-07-23 17:46:19 vw
Edit Edit Copy Copy Delete Delete
DELETE FROM bar_stock_log WHERE `bar_stock_log`.`id` = 251
251 Two Rivers Dasani Water sale -4 88 2026-07-23 17:46:19 vw
Edit Edit Copy Copy Delete Delete
DELETE FROM bar_stock_log WHERE `bar_stock_log`.`id` = 252
252 Two Rivers Urban Bites sale -2 10 2026-07-23 17:46:19 vw
Edit Edit Copy Copy Delete Delete
DELETE FROM bar_stock_log WHERE `bar_stock_log`.`id` = 253
253 Two Rivers Fanta Orange sale -1 18 2026-07-23 17:52:59 vw
Edit Edit Copy Copy Delete Delete
DELETE FROM bar_stock_log WHERE `bar_stock_log`.`id` = 254
254 Two Rivers Tusker Cider sale -1 3 2026-07-23 17:52:59 vw
Edit Edit Copy Copy Delete Delete
DELETE FROM bar_stock_log WHERE `bar_stock_log`.`id` = 255
255 Two Rivers Pineapple Punch sale -1 4 2026-07-23 17:52:59 vw
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
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