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       
 
  Oracle (1591)   SQL Server (704)   MS Access (13)   MySQL (135)   Postgre (4)
  Sybase (13)   DB Architecture (1)   DB Administration (145)   DB Development (41)   SQL PLSQL (451)
  Databases AllOther (56)
 
Suggest New Category 
 


 

View Page with Answers
  Question  Asked @ Answers Views     select
 
What column differentiates the V$ views to the GV$ views and how?  1  409
Give the stages of instance startup to a usable state where normal users may access it.  0  184
What command would you use to create a backup control file?  1  285
Explain the difference between ARCHIVELOG mode and NOARCHIVELOG mode and the benefits and disadvantages to each.  3  860
A table is classified as a parent table and you want to drop and re-create it. How would you do this without affecting the children tables?  0  132
Give two examples of referential integrity constraints.  1  338
What type of index should you use on a fact table?  1  355
Give the two types of tables involved in producing a star schema and the type of data theyhold.  1  254
Give the reasoning behind using an index.  2  582
Compare and contrast TRUNCATE and DELETE for a table.  4  931
Where would you look for errors from the database engine? IBM  0  267
Give two examples of how you might determine the structure of the table DEPT.  2  715
Explain the difference between a data block, an extent and a segment.  1  743
How do you switch from an init.ora file to a spfile? TCS   2  1849
You have just had to restore from backup and do not have any control files. How would you go about bringing up this database?  2  628
E-Mail New Answers        Answer Selected Questions       
 
Prev    1   ... 14   ... 27   ... 40   ... 53   ... 66   ... 79   ... 92   ... 105   ... 118    130   [131]    132  ... 144   ... 157   ... 170   ... 183    Next
 
 
 Programming Languages interview questions   Programming Languages Interview Questions  Scripts interview questions   Scripts Interview Questions  Networking interview questions   Networking Interview Questions
 Microsoft Related interview questions   Microsoft Related Interview Questions  Databases interview questions   Databases Interview Questions  Operating Systems interview questions   Operating Systems Interview Questions
 Testing interview questions   Testing Interview Questions  Servers interview questions   Servers Interview Questions  MainFrame interview questions   MainFrame Interview Questions
 Java Related interview questions   Java Related Interview Questions  Middleware interview questions   Middleware Interview Questions  Web Related interview questions   Web Related Interview Questions
 Data Warehouse interview questions   Data Warehouse Interview Questions  HR Questions interview questions   HR Questions Interview Questions  Software Design interview questions   Software Design Interview Questions
 Debugging interview questions   Debugging Interview Questions  Version Control interview questions   Version Control Interview Questions  Editors interview questions   Editors Interview Questions
 Telecom interview questions   Telecom Interview Questions  ERP CRM interview questions   ERP CRM Interview Questions  Embedded Systems interview questions   Embedded Systems Interview Questions
 Client Server interview questions   Client Server Interview Questions  Artificial Intelligence interview questions   Artificial Intelligence Interview Questions  Cryptography interview questions   Cryptography Interview Questions
 EAI interview questions   EAI Interview Questions  Multimedia interview questions   Multimedia Interview Questions  Software Development Life Cycle interview questions   Software Development Life Cycle Interview Questions
 Image Processing interview questions   Image Processing Interview Questions
 
 
 
Un-Answered Questions
 
 Question Views Asked at   Select
 
How to do Stored procedure testing? Who does this testing (Developer or tester)? 72  
How do you recover a datafile that has not been physically been backed up since its creation and has been deleted. Provide syntax example. 53  
How to customize error conditions. 9  
As a part of your job, what are the DBCC commands that you commonly use for database maintenance? 143  
Hi, I am new in oracle(SQL), could anyone help me in writing a correct SQL. Below is the table structure. Table: Subsc Fields: 1. Sub_no (this field will hold values of subscriber nos, for e.g. S111111, S222222, S333333, S444444, etc.) 2. s_status (this field will hold values for different status of subscriber, for e.g. 'A', 'S', 'C', etc.) 3. cus_id (this field will hold values of bill nos for e.g. 11111111, 22222222, 33333333, 44444444, etc.) Table: Bill Fields: 1. Bill_no this field will hold values of bill nos for e.g. 11111111, 22222222, 33333333, 44444444, etc.) 2. b_status = (this field will hold values for different status of bill for e.g. 'O', 'C', 'S', etc.) Note: 1. The Sub_no is a Primary key of Subsc table. 2. The cus_id is a foreign in Subsc table (referred from Bill_no field of Bill table) 3. The Bill_no field is the Primary key of Bill table. Query A --> I wrote a query to select cus_id/Bill_no which is in status open (b_status = 'O') and having more than two active subscriber (i.e. S_status = 'A') in it ( i.e. more the two subscribers in same bill). select s.cus_id from subsc s where exists (select 1 from bill where bill_no = s.cus_id and b_status = 'O') and s_status = 'A' group by s.cus_id having count(sub_no) = 2 Problem : The above query will give the cus_id (or rather bill_no) which are in open status (b_status ='O) and which are having TWO ACTIVE Subscribers (s_status ='A') in it. However, this query will also lists the cus_id/bill_no which are having more than TWO subscribers in it (but only two subscriber will be in Active status (s_status = 'A') and the others will be in s_status = 'C' or s_status = 'S'. Help needed: I want to write a query which will fetch ONLY the cus_id/bill_no which are in open status (b_status ='O') and which are having ONLY TWO ACTIVE subscribers (s_status ='A') in it. B--> If I include the sub_no in the above query then NO row are returned. select s.cus_id, s.sub_no from subsc s where exists (select 1 from bill where bill_no = s.cus_id and b_status = 'O') and s_status = 'A' group by s.cus_id, s.sub_no having count(sub_no) = 2 Help needed: I want to modify the above query which will fetch ONLY the cus_id/bill_no which are in open status (b_status ='O') and which are having ONLY TWO ACTIVE subscribers (s_status ='A') in it ALONG with the sub_no. Thanks a lot in advance. Regards, Nitin 156  
what is diff between pre insert,on insert,post insert triggers? 251  
Which one is the Best approach to put code, among Triggers and Procedures? Explain? 172 Sierra-Atlantica
types of indexes and the rationale behind choosing a particular index for a situation. 86  
Explain the classification of Database Management System? 214 CSC
What view would you use to look at the size of a data file? 119  
what is difference between 1.append to media 2.overright the existing media when we take back up in sql server2000 255 Indian-Web-Technology
where the connection string store in the database 115 HCL
how to get the values if source table & target table having duplicate values that matches the lookup condition ?(i want all duplicate match) 114  
issues involved in modeling and building data werahouses 75  
Can you have a nested transaction? 216  
You have modified 100 store procedures and want to replicate these changes from development to prodution, and production can have users using the Server/DB, how would you replicate without causing issues? 103  
what is the role of auditor in auditing data oriented applications? 160  
when we login sql editor using username and password then it says this error "could not resolve service name" then what can we do at client side.( here thing is tnsnames.ora file is ok till yesterday and worked well, but now it giving error. 5  
how do u setup a replication site? 67  
How To Find That One Week Change in My DataBase we Have Done Like We Have A database Test I Change Table,Stored Procd. Then I Find Which SP,Table We Have Edit/Change in Seven Dayes 144  
E-Mail New Answers        Answer Selected Questions
 
 
 
 
 
 
   
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