Databases Interview Questions
Questions Answers Views Company eMail

Can somebody helps me to arrange these into ascending order depending on their sizes: 1)OLTP 2)ODS 3)DWH 4)DATA MART

Wipro,

2 4971

What is the maximum number of triggers,can apply to a single table?

2 7918

What packages(if any) has oracle provided for use by developers?

1 5031

What's dateware house and what's clustor with practicle example

1639

what's query optimization and without use of IN AND Exist can we get another way data from query

1666

What is tablespace in oracle? how can we create? how is it manage? . . . Thnx 2 All in Advnc....:)

3 3848

Simple example for difference between select and cursor in sql

1 3759

can we drop dual table

Metric Stream,

7 13949

25.67,-1 Trunc = 20 Round= 30 HOW????

Karrox,

2 6736

I want to make a query where I want to eliminate the duplicate rows from the table. For example : Input : Table : NAME Column1 Column2 India USA USA India UK India India UK The desired output that I want to eliminate the duplicates Output India USA UK India Thanks

Sun Life,

2 4249

i have a customer table. trans_id trans_date trans_amt debit_credit_indicator 001 01-JAN-13 1099 cr 001 12-JAN-13 500 db 002 24-FEB-13 400 db 002 23-MAR-13 345 cr 001 18-APR-13 800 cr 002 15-MAR-13 600 db 001 12-FEB-13 200 cr i want like this output. trans_id trans_amt debit_credit_indicator i want get highest credit amount and lowest credit amount and highest debit amount and lowest debit amount for each trans_id.

Oracle,

2 5096

trans_id trans_date trans_amt debit_credit_indicator 001 01-JAN-13 1099 cr 001 12-JAN-13 500 db 002 24-FEB-13 400 db 002 23-MAR-13 345 cr 001 18-APR-13 800 cr 002 15-MAR-13 600 db 001 12-FEB-13 200 cr i want like this output trans_id trans_date trans_amt debit_credit_indicator 001 JAN 1599 cr no.of trans 2 i want trans_id and trans_date like 'JAN' or 'FEB' etc, trans_amt i want all credit amount - debit amount per each trans_id. and debit_credit_indicator and no.of transactions in a month.

Oracle,

1 4618

I Have A Table Like This. Cityno Cityname Mails 1 Bangalore 8km 2 Hsr Layout 20km 3 Mejistic 30km 4 Jayadeva 55km 5 Itpl 80km 6 Hebbal 115km I Have Data Like This I Want O/p Like This Distance No.ofcity 0-50km 3 51-100km 2 101-150km 4 And So On

DELL, HCL, Oracle,

6 11450

i have a customer table. trans_id trans_date trans_amt debit_credit_indicator 001 01-JAN-13 1099 cr 001 12-JAN-13 500 db 002 24-FEB-13 400 db 002 23-MAR-13 345 cr 001 18-APR-13 800 cr 002 15-MAR-13 600 db 001 12-FEB-13 200 cr i want like this output. trans_id trans_amt debit_credit_indicator i want get highest credit amount and lowest credit amount and highest debit amount and lowest debit amount for each trans_id. pls give me answer. i want urgent

3 4921

i have a table like this. cityno cityname mails 1 BANGALORE 8KM 2 HSR LAYOUT 20KM 3 MEJISTIC 30KM 4 JAYADEVA 55KM 5 ITPL 80KM 6 HEBBAL 115KM I HAVE DATA LIKE THIS I WANT O/P LIKE THIS DISTANCE NO.OFCITY 0-50KM 3 51-100KM 2 101-150KM 4 AND SO ON pls give me answer. i want urgent

6 6914


Un-Answered Questions { Databases }

Describe the functionalities that views support.

660


What are journaling in mongodb?

5


What are the new features in sql server 2005 when compared to sql server 2000? : sql server DBA

612


What is inline table-value user-defined function?

590


How to pass parameters to procedures in oracle?

570






What is the advantage of varchar2 over char?

796


How to initialize variables with default values?

634


What is a form used for in a database?

502


What is the importance of a recovery model?

609


Write a SQL query to delete a table?

653


What is the advantage of using preparedstatement?

476


Why is a primary key important?

547


Mention what is the function that is used to transfer a pl/sql table log to a database table?

486


Illustrate how to determine the amount of physical CPUs a Unix Box possesses (LINUX and/or Solaris).

1493


What is new mysqli?

488