How to select Distinct columns from the table, table having
20 columns and i want all coulmns

Answer Posted / latha.s

select distinct * from tablename;

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Disadvantages of the indexes?

768


How to enable/disable indexes?

788


What is transaction server consistency?

736


How many instances per computer are there in sql server 2000?

782


What are the types of containers in ssis?

796


Is it safe to delete log files?

680


Can sql servers linked to other servers?

745


Differentiate between a primary key and a unique key.

802


What is function of ROLLUP ?

815


which backup strategy you are following at ur company

1936


Suppose you want to implement the many-to-many relationships while designing tables. How would you do it?

734


What function does a database engine serve in the sql server?

780


How to copy data from one table to another table?

754


Why do you want to join software field as you have done your BE in Electronics?

1905


Name 3 ways to get an accurate count of the number of records in a table?

772