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...

in tabase table having a column in it empname field is
there which having 5 duplicate values is there i want
deleted all the duplicates i want showing only one name
only.

Answer Posted / dinesh gupta

use distinct commond

distinct(ename) from table name

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to assign new column names in a view?

957


How can you know if the row fetched from cursor is still valid in underlying table?

1041


What is the rdl file?

141


What are clustered and non-clustered index?

1049


How to create new databases with "create database" statements?

1065


What are the advantages of using stored procedures?

1004


Can you explain important index characteristics?

1029


How to create a store procedure with encryption?

1050


What is sql or structured query language?

1197


What is tempdb database? : SQL Server Architecture

1254


what are the steps you will take, if you are tasked with securing an sql server? : Sql server database administration

1104


What are the types of stored procedures in an sql server?

1031


What is a trigger in sql server?

1225


Find first and last day of current month in sql server

1080


How to drop an existing table with "drop table" statements in ms sql server?

1144