B
Bonzol
Hey there, been doing some basic SQL for a while now, can do most
things like inner joins n such. But I am now trying to do an innerjoin
within in the pubs database that comes with SQL server. I'm trying to
return the titles in the title folder based on the authors last name.
Now the only thing that gets me here is the fact that to get these
values The author has a key that relates to key in the titleauthor
table which then relates to a key to the titles table.
My question is, how do I do an inner join that goes through 3 tables
like that.
author to titleAuthor to titles,,, then display titles.
I have no problems doing innerjoins between 2 tables, but not sure
about 3. Code examples would be great. thanx.
things like inner joins n such. But I am now trying to do an innerjoin
within in the pubs database that comes with SQL server. I'm trying to
return the titles in the title folder based on the authors last name.
Now the only thing that gets me here is the fact that to get these
values The author has a key that relates to key in the titleauthor
table which then relates to a key to the titles table.
My question is, how do I do an inner join that goes through 3 tables
like that.
author to titleAuthor to titles,,, then display titles.
I have no problems doing innerjoins between 2 tables, but not sure
about 3. Code examples would be great. thanx.