Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems with a where in a sql statement
Message
From
26/09/2003 12:21:13
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Problems with a where in a sql statement
Miscellaneous
Thread ID:
00832743
Message ID:
00832743
Views:
53
Hello, i'm creating a query but everytime i use the last condition it doesn't bring any results, this is my query:
select * from hardware h, usuarios_cia u, oficina o, modelos m, marcas ma, hard_local hl; 
where h.usuario=u.codigo and u.oficina=o.codigo and h.modelo=m.codigo and m.marca=ma.codigo;
and h.host=hl.host
And i know that accomplish this query, even i build a query in order to probe this:
select * from hardware, hard_local, tipo_local where hardware.host=hard_local.host and hard_local.tipo=tipo_local.tipo
what is wrong in the first query?
Thanks.
Next
Reply
Map
View

Click here to load this message in the networking platform