Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Left outer join and just one match
Message
From
03/09/2007 14:25:18
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01251976
Message ID:
01252026
Views:
19
>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)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform