Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Selection problem
Message
 
À
29/06/2011 05:02:38
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Divers
Thread ID:
01516648
Message ID:
01516649
Vues:
38
>Hi
>
>I have a list of individuals with a key of individual_ref
>those individuals can be linked to a partner by family_ref
>
>so I would have a row
>
>individual_ref family ref
>58056 174279
>174279 58056
>
>I am selecting a random number of individual but I don't want partners to be selected
>
>How can I do that.
>
>Thanks
>
>Nick


UPDATE:
I just saw that your data has cross reference. How do you know what is partner and what is family?
From the data you provided which record you want?
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform