Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What is wrong with my SQL-SELECT
Message
From
27/04/2003 10:13:51
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
What is wrong with my SQL-SELECT
Miscellaneous
Thread ID:
00781951
Message ID:
00781951
Views:
41
Here's what I entered to create a cursor for a report

select produit.code, produit.nom, produit_prix.prix_achat, produit.stoc;
from produit;
left outer join produit_prix on produit.code = produit_prix.cod;
where produit.produit = 1;
order by produit.code

But certain items are doubled others tripled.

What I want to do is to get prices for some products. Some products don't have prices defined yet (outer join is needed).

Why would I have those results?
*******************************************************
Save a tree, eat a beaver.
Denis Chassé
Next
Reply
Map
View

Click here to load this message in the networking platform