I am having table Title with TITLE id,Author ID, Publiser
ID , table AUTHOR with Author ID, Author Name, table
PUBLISER with Pub ID, Pub name Here hot to find out the
publiser id who have relesed the books of patriticular
author?

Answer Posted / vrinda

SELECT t1.PUBID,t3.AuthorName
FROM Publisher t1 join Title t2
on t1.PUBID = t2.PUBID
join Author t3
on t3.AuthorID = t2.AuthorID.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by a Composite primary key?

590


How many types of functions are there in sql server?

457


What is the difference between substr and charindex in the sql server?

508


What is extent? Types of extents?

587


What does <> symbol mean?

548






What is the usage of sign function?

591


Stored Procedure returns data from multiple tables. How to access it in your ASP.Net code?

548


Can you tell me some of the common replication dmv's and their use? : sql server replication

533


What is query parameter in ssrs?

118


How except clause is differs from not in clause?

534


How to test subquery results with the exists operator?

558


but what if you have to create a database with two filegroups, one on drive c and the other on drive d with log on drive e with an initial size of 600 mb and with a growth factor of 15%? : Sql server database administration

525


How to backup SQL Server Reporting Services ?

103


What is snapshot parameter in ssrs?

109


What is sql server programming?

550