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 `historial` ORDER BY `vuelto` DESC 
Edit inline ] [ Edit ] [ Explain SQL ] [ Create PHP code ] [ Refresh ]
Full texts id vehiculo_id nombre modelo color cajon es_bateria entrada salida cobro_mxn cobro_usd cobro_base descuento abono forma_pago pago_mxn pago_usd vuelto Descending Ascending 1 propina negocio_id negocio_nombre cargo_negocio cobrado_empleado empleado_aprobado cliente_id notas editado edit_log fecha semana mes created_at num_boleto estado pago_mixto es_rapido cargo_boleto
Edit Edit Copy Copy Delete Delete
DELETE FROM historial WHERE `historial`.`id` = '0af201b9-3742-42d3-91a6-39f034a6c4ad'
0af201b9-3742-42d3-91a6-39f034a6c4ad cb2e7104-382c-4825-9895-b77196b323ad Jetta Amarillo (AM) 19 0 2026-05-15 21:48:43 2026-06-02 00:08:46 60.00 0.00 60.00 0.00 0.00 efectivo 0.00 0.00 0.00 0.00 NULL 0.00 0 0 NULL 0 NULL 2026-06-02 2026-23 2026-06 2026-06-02 00:08:46 3 pagado 0 0 0.00
Edit Edit Copy Copy Delete Delete
DELETE FROM historial WHERE `historial`.`id` = '2775df90-03a9-4e9a-852b-ef45daca052c'
2775df90-03a9-4e9a-852b-ef45daca052c b43f2985-00a1-4e6a-8f40-ada614a04a93 Silverado Blanco (BL) NULL 1 2026-05-15 21:45:00 2026-06-02 00:08:57 0.00 0.00 0.00 0.00 0.00 efectivo 0.00 0.00 0.00 0.00 NULL NULL 0.00 0 0 NULL 0 NULL 2026-06-02 2026-23 2026-06 2026-06-02 00:08:57 2 sin_pagar 0 0 0.00
Edit Edit Copy Copy Delete Delete
DELETE FROM historial WHERE `historial`.`id` = '33864d46-65fd-49f1-a30c-1f1bf6710160'
33864d46-65fd-49f1-a30c-1f1bf6710160 4944f911-2300-4e36-afb0-3c877d615d49 Jetta Blanco (BL) 20 0 2026-06-02 00:26:47 2026-06-02 01:05:10 20.00 0.00 20.00 0.00 0.00 efectivo 0.00 0.00 0.00 0.00 NULL 0.00 0 0 NULL 0 NULL 2026-06-02 2026-23 2026-06 2026-06-02 01:05:10 1 pagado 0 0 0.00
Edit Edit Copy Copy Delete Delete
DELETE FROM historial WHERE `historial`.`id` = '4357bb0a-3d4a-439f-b1d5-83bb75264307'
4357bb0a-3d4a-439f-b1d5-83bb75264307 78da51f1-90f3-4254-89ae-6ca3fb1ece2d Ram 1500 Gris (GR) 22 0 2026-03-15 01:46:00 2026-03-15 01:52:00 20.00 0.00 20.00 0.00 0.00 efectivo 0.00 0.00 0.00 0.00 NULL 0.00 0 0 NULL 1 [{"fecha":"2026-05-15 01:52:44","antes":{"id":"435... 2026-05-15 2026-20 2026-05 2026-05-15 01:52:14 1 pagado 0 0 0.00
Edit Edit Copy Copy Delete Delete
DELETE FROM historial WHERE `historial`.`id` = 'd27edc93-e6a4-448c-a9ef-d0f254648994'
d27edc93-e6a4-448c-a9ef-d0f254648994 2d4745d6-d8df-4430-8443-4a998edf44bb Jetta Blanco (BL) 20 0 2026-06-03 18:03:23 2026-06-03 18:04:10 20.00 0.00 20.00 0.00 0.00 efectivo 0.00 0.00 0.00 0.00 NULL 0.00 0 0 NULL 0 NULL 2026-06-03 2026-23 2026-06 2026-06-03 18:04:10 1 pagado 0 0 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