Skip to content

Instantly share code, notes, and snippets.

@Fhernd
Created August 28, 2012 15:03
Show Gist options
  • Save Fhernd/3498865 to your computer and use it in GitHub Desktop.
Save Fhernd/3498865 to your computer and use it in GitHub Desktop.
Database scripts
CREATE TABLE T_Pedido (
PedidoId INTEGER NOT NULL UNIQUE,
clienteId INTEGER NOT NULL UNIQUE,
FOREIGN KEY (clienteID) REFERENCES
T_Cliente,
PRIMARY KEY (PedidoId, clienteId));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment