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 / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between materialized view and view?

488


What is bookmark link in ssrs?

108


How can delete duplicate records in cte in sql server?

518


How to define and use table alias names in ms sql server?

563


Explain about the command-line tool SQLCMD?

554






What is recursion? Is it possible for a stored procedure to call itself or recursive stored procedure? How many levels of sp nesting is possible?

488


What is a fill factor?

625


Explain magic tables in sql server?

549


How does SSIS(Sql Server Integration Services) deffer from DTS(Data Transformation Services)?

599


Write a sql query to delete duplicate records from a table called table1

586


what is the difference between count(*) and count(1) ?

629


is it important for a database administrator to understand the operating system and file access? : Sql server administration

583


You want to use bids to deploy a report to a different server than the one you chose in the report wizard. How can you change the server url?

110


what happens on checkpoint? : Sql server database administration

508


What is used to replicate sessions between instances in coldfusion clusters?

580