GeekInterview.com
Series: Subject: Topic:

Database Interview Questions

 
Sub Categories (+ View)
Subject Name
Questions
Answers
Last updated
58
204
Apr
2nd,
2013
212
1054
Apr
15th,
2013
74
180
Apr
26th,
2013
11
0
Jul
19th,
2007
Showing Questions 1 - 20 of 92 Questions
First | Prev | | Next | Last Page
Sort by: 
 | 

SQL query

Asked By: rohitdeepu17 | Asked On: Mar 8th, 2013

How to display nth lowest record in a table for example? How to display 4th lowest (salary) record from customer table?

Excessive redo generation.

Asked By: muralikasya | Asked On: Mar 5th, 2013

Why excessive redo generation in hot backups ?How to resolve it ?

What is meant by ontology?

Asked By: AnantharajManoj | Asked On: Sep 2nd, 2012

Answered by: daniel.doboseru on: Feb 6th, 2013

An ontology refers to a model that contains a set of classes (individuals) plus a set of relations between them. Lets consider a relational database model, having three tables: Human, Man, Woman. As ...

Multiset table with upi

Asked By: maheshanna | Asked On: Jan 30th, 2013

Multiset table with upi will allow duplicates or not?

Answered by: daniel.doboseru on: Feb 6th, 2013

UPI stands for Unique Primary Key, which constrain us to have unique keys, thus unique rows. Now even if the Multiset table allows duplicate rows by definition, the UPI constraint overrules it.

Answer: No.

Can you store data from a database to excel file without using any tool? How?

Asked By: Cool_Guy007 | Asked On: Sep 3rd, 2012

Answered by: avinash on: Jan 21st, 2013

Yes to store excel file in data base just you have to save the excel file in .CSV(comma delimiter) format and then insert the value as usually in database.....

Answered by: Waqas Ahmed on: Oct 6th, 2012

Here is the query to export data into csv file.

Code
  1. SELECT *
  2. INTO OUTFILE /tmp/products.csv
  3. FIELDS TERMINATED BY ,
  4. ENCLOSED BY "
  5. ESCAPED BY
  6. LINES TERMINATED BY
  7. FROM products

Remove one duplicate column value from multiple

Asked By: chiru099 | Asked On: Sep 13th, 2012

How to remove only one column values from the duplication of values in that column without using any other column references in that table?

Answered by: dhanraj varshney on: Jan 5th, 2013

Two methods..
Use unique key
Run query such way-insert ignore into table.

What is the difference between transaction database and data warehouse databases?

Asked By: Mojtaba Kamalian | Asked On: Apr 8th, 2006

Answered by: sreenivas on: Nov 25th, 2012

A transactional database is defined for day-to-day operations like insert, delete and update and in a Datawarehouse databases (OLAP databases) are designed for Analytical purpose. So they require historical data for analysis. These databases are huge databases to store historical data.

Answered by: karthickmsc on: Sep 7th, 2009

1) Transaction database is designed for a specific application.Datawarehouse is designed to integrate data from multiple datasource.2) Transaction focuses on the details, Datawarehouse focuses on high...

Difference between two tier architecture and three tier architecture?

Asked By: geetha | Asked On: Oct 20th, 2005

Answered by: Avinash on: Nov 24th, 2012

If I am not wrong

Class variables are variables which we create inside a class.

&

Class member are the variables & function declared inside class.

Answered by: Manoj Kumar Chagantipati on: Jun 12th, 2012

In Two tier there will be Presentation layer and Data base layer
Where as in Three tire there will be Presentation layer,Data access layer and Data base layer

Difference between database & database server?

Asked By: Rana Irfan | Asked On: Mar 24th, 2006

Answered by: iriabije albert on: Nov 6th, 2012

database is the collection of data in a well manner form

Answered by: RAMAN SHARMA on: Mar 2nd, 2012

database is called when one computer are not connected with each other and only data are stored in one computer that called database and when computer are connected with each other or particular server so we can access the data every computer its called database server

Names of constraints

Asked By: Krishna.Bhar | Asked On: Feb 5th, 2010

Oracle stores information regarding the names of all the constraints on which table? A)user_constraints b)dual c)user d)none of these

Answered by: Naresh kumar on: Oct 3rd, 2012

Constraints divided into 3 types those are: 1. domain integrity constraints:- not null,check 2. entity integrity constraints:- unique,Primary key 3. referential integrity constraints:- foreign key In...

Answered by: sukrampal on: Jul 12th, 2012

user-constraints and all_constraints

What are the different methods to make query faster?

Asked By: ashis kumar mohanty | Asked On: Feb 7th, 2006

Answered by: prathap on: Sep 14th, 2012

We can use "parallel" in the query and in the 11g we can use dynamic sampling.

Answered by: dhivyavetriselvan on: Jul 26th, 2007

Select query can be made faster by using indexes.

Degree of relationship

Asked By: kh_trnh | Asked On: Jul 7th, 2008

What is the degree of relationship? Name the three degrees.

Answered by: kishorkakade on: Jul 27th, 2012

The number of entity type involved
i.e
One : Unary
Two : Binary
Three : Ternary

Answered by: Sandhya.Kishan on: Jul 6th, 2012

Degree of relationship is the cardinality of relationship that defines the number of instances of one entity as it relates to the number of instances of the other entity.Depending on the combinations ...

Indexes searching capabilities

Asked By: Darsh_singh | Asked On: Oct 21st, 2010

How do indexes increase the searching capabilities?

Answered by: Sandhya.Kishan on: Jul 25th, 2012

By using the concept of serial scanning the indexes can increase the searching capabilities.

Intersection table

Asked By: kh_trnh | Asked On: Jul 18th, 2008

What is an intersection table and why is it important?

Answered by: Sandhya.Kishan on: Jul 6th, 2012

An intersection table implements a many-to-many relationship between two business components.

Answered by: scud021 on: Jul 19th, 2008

A table added to the database to break down a many-to-many relationship to form two one-to-many relationships

The relational model has _____ components?

Asked By: amarjit singh | Asked On: Jan 24th, 2007

Answered by: Sandhya.Kishan on: Jul 6th, 2012

The Relational model contains 3 components 1)set of relations and set of domains ( data structure).
2)Integrity rules (data integrity) and
3)The operation that can be operate on the data (data manipulation).

Answered by: Mohd Imran on: Mar 26th, 2007

Relational model consists of three components:

  1. A SET OF RULES for maintaining the INTEGRITY of the database.
  2. MANIPULATIVE component consisting of a set of high-level operations which act upon and produce whole tables.
  3. A Structural component -- a set of TABLES (also called RELATIONS).

Post block trigger belongs to which type of trigger?

Asked By: vamsi | Asked On: Sep 18th, 2007

Answered by: Sandhya.Kishan on: Jul 6th, 2012

Post block trigger belongs to Navigational triggers.

Answered by: gemini burj on: Oct 24th, 2007

Navigation Trigger

What is a value set?

Asked By: shiraaz | Asked On: Sep 6th, 2007

Answered by: Sandhya.Kishan on: Jul 6th, 2012

Value set is a collection of values.A value set associated with a report parameters, provides a list of values to the end user to accept one of the values as report parameter value.

Answered by: kashyap_aseem on: Feb 14th, 2008

i thhink it is simmilar to enum in c/c++

What is the difference between delete,drop and truncate?

Asked By: Periyasamy | Asked On: Mar 10th, 2006

Answered by: arunkumar on: Jun 18th, 2012

Delete: delete a single row or multiple row it is DML operation so rollback is enable. Truncate: delete from all record in table. commit or rollback is not using. trigger will not fired.but column ...

Answered by: lokesh on: Jun 5th, 2012

In truncate all the data will be deleted whereas in delete also same but the difference in delete we again reback the data by using flashback (without use commit) in truncate it is not possible while drop the total table is drop

Session creation

Asked By: mfsi_chinmayb | Asked On: May 22nd, 2012

Why session is created ? how is it related to security concern for the application? why session id is created ?

Answered by: ashwani on: Jun 18th, 2012

we use session to store the users information ,and can be use on next page when user click on next page. like we have a page for login which consist 2 text box one for username and another for passwo...

Test cases for login screen

Asked By: ranjit rajendran | Asked On: Mar 21st, 2012

Login screen user id -> textbox password -> textbox sign in-> button.. can someone send me how to write test cases for the above requirement?

Answered by: pavan naphde on: May 19th, 2012

hi, when someone asked for test cases then test cases must be fulfill all the conditions, 1. Enter Valid User name and valid password And Click On Submit. 2. Enter Valid User name and valid passwor...

Answered by: prashanth on: Mar 28th, 2012

Expected result Actual result Launch the application Application should be launched Ente...

First | Prev | | Next | Last Page

 

 

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Question Categories

Btrieve Interview Questions

Clipper Interview Questions

Database Admin Interview Questions

Firebird Interview Questions

Informix Interview Questions

Microsoft Access Interview Questions

MYSQL Interview Questions

PostgreSQL Interview Questions

Progress Interview Questions

SAP DB Interview Questions

SQL Interview Questions

SQL Server Interview Questions

Stored Procedures Interview Questions

Sybase Interview Questions

Teradata Interview Questions

Unify Interview Questions

Interview Question

 Ask Interview Question?

 

Latest Questions

Ads

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.