Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What is wrong with my SQL-SELECT
Message
De
27/04/2003 10:13:51
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
What is wrong with my SQL-SELECT
Divers
Thread ID:
00781951
Message ID:
00781951
Vues:
40
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é
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform