Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
3 Table SQL Join
Message
From
07/12/1999 17:03:19
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
3 Table SQL Join
Miscellaneous
Thread ID:
00300033
Message ID:
00300033
Views:
70
For the tables described below:

    Table A (ForeignKey, Identifier, DataA) 
        : Primary Key = ForeignKey+Identifier

    Table B (ForeignKey, Identifier, Filter, DataB) 
        : Primary Key = ForeignKey+Identifier

    Table C (Identifier, Filter, DataC) 
        : Primary Key = Identifier

Desired query result:

    For ForeignKey = a single value and Filter = a single value

    Result Table R (Identifier, DataB, DataC)

    Where there is exactly one row for each Identifier in Table A, 
    even if there are no matching rows in Table B or Table C.

What is the SQL Select Statement using SQL 95 Join syntax to generate 
the desired result?
Next
Reply
Map
View

Click here to load this message in the networking platform