Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Left outer join and just one match
Message
De
03/09/2007 14:25:18
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01251976
Message ID:
01252026
Vues:
18
>Hi all,
>
>I am using a left outer join between two tables basisverzekering and wiskunde:
>
>
>
>Select basisverzekering.* from basisverzekering;
>left outer join wiskunde on basisverzekering.mijbrpls = wiskunde.mijbrpls
>
>
>
>Basisverzekering is unique on mijbrpls, but in wiskunde it is not. If I just want one record (the first match) from wiskunde instead of all the matches, how do I achieve this within one query

I guess this must be done through a GROUP BY clause.

BTW, do they speak Dutch in Morocco?
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform