If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ANSI SQL > sql query

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-30-03, 13:26
hallosenthil hallosenthil is offline
Registered User
 
Join Date: Sep 2003
Posts: 14
Post sql query

1

Last edited by hallosenthil; 10-03-03 at 16:34.
Reply With Quote
  #2 (permalink)  
Old 10-01-03, 04:25
neelamchalam neelamchalam is offline
Registered User
 
Join Date: Jul 2003
Location: india
Posts: 15
HI, for your first question try with the following
SELECT D.initials || D.surname as DoctorName, Pe.initials || Pe.surname as Personnam, Pe.membership_number As membername FROM DOCTOR D, MEMBERSHIP M, PERSON PE,
PROVIDED_SERVICE PS
WHERE
PE.membership_number = M.membership_number AND
PE.person_number = PS.person_number AND
D.doctor_number = ps.doctor_number ;
Reply With Quote
  #3 (permalink)  
Old 10-01-03, 04:32
neelamchalam neelamchalam is offline
Registered User
 
Join Date: Jul 2003
Location: india
Posts: 15
Re: sql query

can you give me some detail description for your second question.

Chalam N
Reply With Quote
  #4 (permalink)  
Old 10-01-03, 05:17
hallosenthil hallosenthil is offline
Registered User
 
Join Date: Sep 2003
Posts: 14
1

Last edited by hallosenthil; 10-03-03 at 16:33.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On