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

Which is faster joins or subqueries?

0 Answers  


Do prepared statements prevent sql injection?

0 Answers  


Can pl sql procedure have a return statement?

0 Answers  


How does left join work in sql?

0 Answers  


How many LONG columns are allowed in a table?

6 Answers   CTS,


What are the different types of a subquery?

0 Answers  


What is a schema? How is it useful in sql servers?

0 Answers  


What is the command used to fetch first 5 characters of the string?

0 Answers  


Is join an inner join?

0 Answers  


what is a sub query?how will you calculate working days in a month using sub query?

4 Answers   InteQ,


What view means?

0 Answers  


What is a record in pl/sql?

0 Answers  


Categories