Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Showing multiple lines of data on same line

Status
Not open for further replies.

ja01

Technical User
Dec 14, 2005
48
0
0
US
Here is my situation. I have a script
select schoollookup, degree, schoolname from
school left outer join degrees degr where degr.table_code=degree

Output:
If a person has 2 degrees, the first degree will be schoollookup 1 and the second will be schoollookup2. They will display veritically (schoolllookup 1 will be on top). I want to display the data horizontally in a spreadsheet display. In other words, schoolookup1 will be on the left of schoolllokup 2 if any. What revision can I make to the script to accomplish this.
 
I don't understand that query
Code:
select schoollookup, degree, schoolname from
school  left outer join degrees degr where degr.table_code=degree

Isn't this equivalent to this:

Code:
select schoollookup, degree, schoolname from
school

??


<.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top