
Enviado em 19/02/2017 - 12:55h
Pessoal, bom diaCREATE TABLE clientes
(
id INTEGER DEFAULT nextval('clientes_id_seq'::regclass) PRIMARY KEY NOT NULL,
nome TEXT[] NOT NULL,
endereco TEXT[] NOT NULL,
data_cad DATE NOT NULL,
ativo BOOLEAN,
email VARCHAR(100),
rg VARCHAR(12),
cpf VARCHAR(15),
id_bairro INTEGER[] NOT NULL,
ddd INTEGER[] NOT NULL,
telefone TEXT[] NOT NULL,
telefone_descricao TEXT[],
id_operador INTEGER,
data_nasc DATE
);
CREATE TABLE bairros
(
id INTEGER DEFAULT nextval('bairros_id_seq'::regclass) PRIMARY KEY NOT NULL,
nome VARCHAR(50) NOT NULL,
id_cidade INTEGER NOT NULL,
ativo BOOLEAN NOT NULL
);
SELECT clientes.id as id, clientes.nome as nome,
clientes.endereco as endereco, (bairros.nome) as bairro, clientes.telefone as telefone,
clientes.ativo as ativo FROM clientes
INNER JOIN bairros on (clientes.id_bairro) = bairros.id order by id DESC
Gentoo binário em 2026: UEFI, LUKS, Btrfs e Systemd
Trabalhando Nativamente com Logs no Linux
Jogando Daikatana (Steam) com Patch 1.3 via Luxtorpeda no Linux
LazyDocker – Interface de Usuário em Tempo Real para o Docker
Em qual Arquivo colocar as Configurações
Forçar resolução teimosa no Wayland
Como fazer um pendrive bootável utilizando a ferramenta Rufus









