Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL Problem in 3 files
Message
 
To
23/07/1997 09:41:50
Vinod Parwani
United Creations L.L.C.
Ad-Dulayl, Jordan
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00041299
Message ID:
00041317
Views:
65
>Parent->Name -> 1 Rec
>Child->contact -> 2 rec (contact nos. of name)
>child->address -> 2 rec (2 address, off, res)
>
>simply I want
>Name from name, phone from contact, address from address
>same way in the second record
>
>name from name, 2nd phone from contact, 2nd address from address.
>
>Now, Pls tell me the way..
>
>SQL is not fun...Always I face problem in it...
select distinct name, contact_code, address from parent ;
    right join child1 on parent.code = child1.code ;
    right join child2 on parent.code = child2.code ;
    where parent.name = 'whatever'
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform