Fórum Sub select no from #52462
25/08/2005
0
No oracle eu consigo fazer sub select no from ex:
select a.campo from (select ....) a
alguem poderia me dizer como fazer este sql para firebird???
:)
Josafat
Curtir tópico
+ 0Posts
25/08/2005
Lynx
select codcliente, nome from CLIENTES where codcliente in (outro select)
Gostei + 0
25/08/2005
Gandalf.nho
Gostei + 0
25/08/2005
Lynx
fiz um teste aqui no ibexpert (Firebird 1.5)
select * from SYSUSUARIOS where CODUSUARIO in (select CODCLIENTE from clientes where CODCLIENTE = ´1´)
e funcionou
Gostei + 0
25/08/2005
Lynx
Realmente no FB não tem.
Desculpas
Gostei + 0
25/08/2005
Josafat
:D :D
Gostei + 0
Clique aqui para fazer login e interagir na Comunidade :)