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
Options
Set default





Collapse Expand Requery Edit Explain Profiling Query failed Database : Queried time :
Untitled *
v Show/Hide tables list View in fullscreen Add tables from other databases New page Open page Save page Save page as Delete pages Create table Create relationship Choose column to display Reload Help Angular links / Direct links Snap to grid v Small/Big All Toggle small/big Toggle relationship lines Export schema > Move Menu > Pin text
Number of tables: 0
v simple_invoice_hipodromo categorias
* idCategoria : int(11)
* nombreCategoria : varchar(250)
* idRecinto : int(11)
v simple_invoice_hipodromo clientes
* id_cliente : int(11)
* nombre_cliente : varchar(255)
* direccion_cliente : varchar(256)
* porcentaje : double(8,2)
* porcentaje_ocesa : varchar(10)
* tipo.pdv : varchar(100)
* status_cliente : tinyint(4)
* date_added : datetime
* catCliente : varchar(200)
* id_recinto : int(11)
v simple_invoice_hipodromo detalle_factura
* id_detalle : int(11)
* numero_factura : int(11)
* id_producto : int(11)
* cantidad : int(11)
* cant.devuelta : double(8,2)
* cant.cort.ocesa : double(8,2)
* cant.cort.int : double(8,2)
* cant.final : double(8,2)
* precio_venta : double
v simple_invoice_hipodromo eventos
* idEvento : int(4)
* nombreEvento : varchar(300)
* idrecinto : int(11)
* fechainicio : datetime
* fechafin : datetime
* aforoEstimado : int(11)
* aforoReal : int(11)
* estatus : tinyint(1)
v simple_invoice_hipodromo facturas
* id_factura : int(11)
* numero_factura : int(11)
* fecha_factura : datetime
* id_cliente : int(11)
* id_vendedor : int(11)
* condiciones : varchar(30)
* total_venta : varchar(20)
* estado_factura : tinyint(1)
* evento : varchar(300)
v simple_invoice_hipodromo pdv
* id_pdv : int(11)
* clave : varchar(16)
* descripcion : varchar(64)
* tipo : int(11)
* comision : int(11)
* idrecinto : int(11)
* clasificacion : int(11)
* status : int(11)
* tmp2 : int(11)
* rmp3 : int(11)
v simple_invoice_hipodromo products
* id_producto : int(11)
* codigo_producto : char(20)
* nombre_producto : char(255)
* status_producto : tinyint(4)
* date_added : datetime
* precio_producto : double
* marca : varchar(100)
* stock : double(9,2)
* factor_conv : varchar(6)
* CatProd : varchar(250)
* id_recinto : int(11)
* id_area : int(11)
v simple_invoice_hipodromo recintos
* idrecinto : int(11)
* Descripcion : varchar(64)
* Direccion : varchar(265)
* idtiporesinto : int(11)
* estatus : int(1)
v simple_invoice_hipodromo tmp
* id_tmp : int(11)
* id_producto : int(11)
* cantidad_tmp : int(11)
* precio_tmp : double(8,2)
* session_id : varchar(100)
v simple_invoice_hipodromo users
* user_id : int(11)
* firstname : varchar(20)
* lastname : varchar(20)
* user_name : varchar(64)
* user_password_hash : varchar(255)
* user_email : varchar(64)
* date_added : datetime
* nivel : varchar(100)
v simple_invoice_hipodromo usuariosclientes
* id : int(11)
* idUsuario : int(11)
* idCliente : int(11)
Create relationship
FOREIGN KEY
on delete
on update
Delete relationship