ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Software  >>  Databases  >>  SQL Server
 
 


 

 
 Oracle interview questions  Oracle Interview Questions
 SQL Server interview questions  SQL Server Interview Questions
 MS Access interview questions  MS Access Interview Questions
 MySQL interview questions  MySQL Interview Questions
 Postgre interview questions  Postgre Interview Questions
 Sybase interview questions  Sybase Interview Questions
 DB Architecture interview questions  DB Architecture Interview Questions
 DB Administration interview questions  DB Administration Interview Questions
 DB Development interview questions  DB Development Interview Questions
 SQL PLSQL interview questions  SQL PLSQL Interview Questions
 Databases AllOther interview questions  Databases AllOther Interview Questions
Question
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?
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: 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
# 1
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
Vrinda
 
  Re: 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
# 2
select Publisherid from title where Authorid =(select Authorid from authour where Authourname='Aut3' )
 
Is This Answer Correct ?    3 Yes 0 No
Mythili
 
 
 
  Re: 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
# 3
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
Saravanan P
 

 
 
 
Other SQL Server Interview Questions
 
  Question Asked @ Answers
 
What is MSDE?  2
What is the difference between UNION and UNIONALL? CTS2
can you any body tell me the how to decrease the logfile  4
What does it mean to have quoted_identifier on? What are the implications of having it off?  2
Can you explain the types of Joins that we can have with Sql Server?  2
event classes in sql server Accenture1
system date format is "yy-mm-dd" "select getdate()" ----> 2009-01-24 20:03:28.513 if i write "select dateadd(dd,2,getdate()) ".it returns "2009-01-26 19:59:38.340"...my question is dat could it be possible to retrive da date in da format "26 jan 2009 ...."??  8
how many type of subquery?  2
what is the Surrogate key?and wt is the diff between Primary key and Surrogate Key?  2
Differnce between sel server 2000 and 2005  3
how many joins we can write if at all we have n no of tables Tanla-Solutions4
The Difference between 'Count' and 'Count(*)'  12
i want table name basis on column name.  5
how to know description of a table in sqlserver 2000  7
What is the difference between constraints and triggers? Wipro6
how we can count records as a group of days like sum of records for(four mondays),(four tuesday)........ in a month. group the column for weekdays.  1
select top 5 * from emp order by newid() my question is , how this query get executed?  4
Explain different isolation levels?  3
What are statistics, under what circumstances they go out of date, how do you update them? HCL2
What are three SQL keywords used to change or set someone?s permissions?  3
 
For more SQL Server Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com