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?
Answers were Sorted based on User's Feedback
Answer / mythili
select Publisherid from title where Authorid =(select Authorid from authour where Authourname='Aut3' )
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / 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 |
Answer / saravanan p
select [Publiser ID] from Title where [Author ID] in(select
[Author ID] from Author where [Author Name]='AuthorName')
Is This Answer Correct ? | 2 Yes | 0 No |
Which is the latest version of sql server and when it is released?
What is change tracking in sql server?
Can group by and orderby be used together?
when inserting to a table how many rows will be effected using triggers
What is a View ? Can we insert, Update and delete a view?
What are the difficulties faced in cube development? : sql server analysis services, ssas
What are the new security features added in sql server 2012? : sql server security
Who is the owner of a schema in ms sql server?
What does select 1 mean?
Explain try...catch with sql server?
How can you swap values between two rows in a table using single- SQL statement?
1 Answers Tavant Technologies, Virtusa,
What is dbcc command in sql server?