Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select - SQL dilemma
Message
 
À
21/07/1998 15:33:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00119839
Message ID:
00119848
Vues:
19
>I have a problem getting my syntax down on the following problem:
>
>I have a table which contains a status code,an employee code,and a resolution code. I want to create a view that is an INNER JOIN between the master table and three subtables (status,employee,resolution) containing a descriptive field from each subtable in the result view.
>
>Can somebody post a good example of this? Thanks

does the 'master record' have to have all 3 fields filled?
select S.status_desc, E.emp_desc, R.res_desc from ;
    master_table M, status S, employee E, resolution R where ;
    M.status_code = S.status_code and ;
    M.emp_code    = E.emp_code    and ;
    M.res_code    = R.res_code into cursor does_this_work
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform