Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


how to delete duplicate rows from a specified table(only
single table)
how do you know which join is need to be used

Answers were Sorted based on User's Feedback



how to delete duplicate rows from a specified table(only single table) how do you know which join..

Answer / yankee

If you wish to remove duplicate values, then use the
DISTINCT parameter.
Consider there is a table:emp, with deptno. as one of its
coloumn. This coloumn has repeated values. Then you should
use the following query to remove the duplicate values:
SELECT DISTINCT deptno FROM emp;

Is This Answer Correct ?    2 Yes 3 No

Post New Answer

More SQL PLSQL Interview Questions

How to order siblings in oracle hierarchy queries?

0 Answers  


Does sql*plus have a pl/sql engine?

0 Answers  


What is cursor and why it is required?

0 Answers  


what is the difernece between named and anonymous pl/sql blocks??

8 Answers   TCS, Wells Fargo,


column A column b | output 10 7 | 10 5 8 | 8 7 -9 | 7 3 5 | 5 0 6 | 6 Write a sql query to print such output.

4 Answers  


Do you know the basic structure of PL/SQL?

3 Answers  


Are stored procedures faster than queries?

0 Answers  


What is sqlerrm?

0 Answers  


Is it possible to create startup or shutdown trigger for on-schema?

0 Answers  


How to make a copy values from one column to another in sql?

0 Answers  


what is sql in mysql? : Sql dba

0 Answers  


Can we use insert statement in function?

0 Answers  


Categories