Interview questions
Database Administrator (dba) interview questions – page 6
1,040 questions. Tap “Show answer” to check yourself.
-
How to join two table?
-
Define candidate key, alternate key, composite key.
-
Define sql
-
Sell me this stapler?(this pencil?this clock?or some other object on interviewer's desk).
-
Write a query to find five highest salaries from EMP table.(there is a column SALARY)
-
What type of documents you receiving from client later wtcan you do? what type of documents have to prepare?
-
I am having two tables,say table1 having cols Empid,firstname,lastname,middlename and table2 having Empid,firstname,lastname can i union them using Union t/f?
-
How to find the particular row in table?(means suppose one table contain 10 rows , in these 10 rows how to find the particular row(example in 10 rows i want 5 row how)?
-
How to fetch the last inserted record in a particular table?
-
Write a query to get last 10 records from the table.
-
What are field expressions and what are the diff types?
-
Do you have the stomach to fire people? Have you had experience firing many people?
-
What is the method of seperating unique and duplicaterecords in session level?
-
What is for foreign key ?
-
Why we use SET ROWCOUNT in Sql
-
How can one connect two fact tables ? is it possible ? how?
-
How to return multiple columes through through un-connectlookup?
-
What's the most difficult part of being a (job title)?
-
What is COALESCE / Why do we use COALESCE?
-
What is a join and explain different types of joins.
-
How to find nth highest salary
-
What is NOLOCK?
-
Can we insert ,update ,delete in target tables with oneupdate strategy tran.?
-
What are the different index configurations a table can have?
-
Can we use a having cluase in groupby clause.if there are 500 records i will give rownumber<250 then howmany records does it retrieve.wt is the result of nvl2(null,notnull,null)if there are four tables without using cartesian how manyjoins can be there.in the sql subqueries wt is the parent ans1)select2)update,3) delete 4)2&3
-
Is it passive or active when check and uncheck the box of DISTINCT in Sorter transformation? why?
-
On a day i load 10 rows in my target and on nextday i get 10 more rows add to my target but out of 5 are update row how ican send them to target?how i can insert and update the records
-
Where could you use some improvement?
-
What is difference between "Primary key" and "Unique key"?
-
Explain different types of constraints.