relacinamentos
como faço para criar um relacionamento entre duas tabelas criadas no interbase sever
Tabela1
cod
nome
tabela2
cod
nome
Tabela1
cod
nome
tabela2
cod
nome
Radolpho
Curtidas 0
Respostas
Afarias
24/08/2004
admitindo q a relação seja nos campos tabela1.cod e tabela2.cod temos:
select t1.nome, t2.nome from Tabela1 t1
inner join tabela2 t2 on (t1.cod = t2.cod)
T+
select t1.nome, t2.nome from Tabela1 t1
inner join tabela2 t2 on (t1.cod = t2.cod)
T+
GOSTEI 0