how can u select the Distinct values in the table, table
having 20 columns , i want all columns

Answer Posted / krishnamoorthy.n

select distinct * from <tablename>

Is This Answer Correct ?    4 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the process of normalising?

757


What is clustered vs nonclustered index?

690


What is an expression in ms sql server?

725


What are the essential components of sql server service broker?

761


How to enter unicode character string literals in ms sql server?

751






Does sql server 2000 full-text search support clustering?

673


What are the functions in sql server?

709


what is an extended stored procedure? Can you instantiate a com object by using t-sql? : Sql server database administration

787


Where does the copy job runs in the log shipping primary or secondary? : sql server database administration

768


What is change tracking in sql server?

707


What is the difference RDBMS and Graph Database?

804


How to use clusters?

695


explain different types of constraints? : Sql server database administration

704


1.what are diff types of joins , and explain diff between cross join and full outer join 2.diff types of views 3. Diff types of index 4. What is diff b/w stores procedure and function procedure 5.diff between double and int in SQL 6.diff between char and varchar in SQL. 7.Oracle or SQL whice you will preferred and why.

1290


What is the default order of an order by clause?

778