Created
December 13, 2014 17:22
-
-
Save samuelsonbrito/a86ead72bb8243e0fe16 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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