How do we use distinct statement? What is its use?



How do we use distinct statement? What is its use?..

Answer / Md Ataul Mustafa

The DISTINCT keyword in SQL is used to return unique values from a column. It can be used with SELECT statements to eliminate duplicate rows. Its use is helpful for improving query performance and reducing storage space when dealing with large datasets.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More SQL PLSQL Interview Questions

How do I restart sql?

1 Answers  


Differentiate between syntax and runtime errors.

1 Answers  


if a table is getting updated what happens if a function is called from sql query?

2 Answers   RBS,


Describe types of sql statements?

1 Answers  


How to write a procedure for displying the data in a TREE or (PARENT and CHILD ) relationship , for ex: A is the main project id, for this project B,C,D are sub tasks(sub project id's) for B the sub tasks are e,f,g and for c is h ,i ,j and for d is k,l,m now i need to display the o/p in a TREE fashion pls help me , thanks in advance surendra

2 Answers   Zensar,


What are the types of triggers ?

26 Answers   Aspire, BirlaSoft, TCS,


What is an Integrity Constraint?

4 Answers  


What is a unique constraint?

1 Answers  


What is self-join and what is the requirement of self-join?

1 Answers  


What are records give examples?

1 Answers  


what is the order of pre-defined exceptions.

6 Answers   TCS,


how to create table with in the procedure or function?

2 Answers   Genpact, HCL,


Categories