How to select Distinct columns from the table, table having
20 columns and i want all coulmns
Answer Posted / amit
select distinct * from table_name
| Is This Answer Correct ? | 18 Yes | 7 No |
Post New Answer View All Answers
What is an execution plan? When would you use it?
How can we get count of the number of records in a table?
Explain the steps to create and execute a user-defined function in the sql server?
How to drop an existing table with "drop table" statements in ms sql server?
How to skip remaining statements in a loop block using continue statements?
what is spatial nonclustered index
Tell about MOM Tool(Microsoft Operator Manager)?
What is the difference between implicit and explicit transaction?
When is update_statistics command used?
Define msdb database?
Is it important for a database administrator to understand the operating system and file access?
Explain what are the basic functions for master, msdb, model, tempdb databases?
can a database be shrunk to 0 bytes, if not, why? : Sql server administration
Can you explain how long are locks retained within the repeatable_read and serializable isolation levels, during a read operation with row-level locking?
What command is used to delete a table from the database in the sql server and how?