Skip to content

Instantly share code, notes, and snippets.

@samuelsonbrito
Created December 13, 2014 17:22
Show Gist options
  • Save samuelsonbrito/a86ead72bb8243e0fe16 to your computer and use it in GitHub Desktop.
Save samuelsonbrito/a86ead72bb8243e0fe16 to your computer and use it in GitHub Desktop.
create table vendedor (
codigo_vendedor int not null primary key,
nome varchar (50),
idade char (3),
sexo char (1),
salario decimal (10,2)
)
create table cliente (
codigo_cliente int not null primary key,
nome varchar (50),
cidade varchar (10),
tipo_industria char (1)
)
create table pedido (
numero_pedido int not null primary key,
codigo_cliente int,
codigo_vendedor int,
valor_pedido decimal (10,2)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment