Skip to content

Instantly share code, notes, and snippets.

@palmerabollo
Created June 27, 2013 05:58
Show Gist options
  • Save palmerabollo/5874275 to your computer and use it in GitHub Desktop.
Save palmerabollo/5874275 to your computer and use it in GitHub Desktop.
CLIENTES
========
id: INT
nombre: VARCHAR(255)
dni: VARCHAR(12)
PEDIDOS
=======
id: INT
id_producto: INT
id_cliente: INT, FOREIGN KEY CLIENTES
PRODUCTOS
=========
id: INT
nombre_producto: VARCHAR(255)
Consulta para obtener nombre_cliente y nombre_producto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment