4 Please write a querry to find repeated numbers in the
following table.
Table Name: Table1
Field1
10
15
20
15
10

Answer Posted / anjali

select count (distinct columnname)
from tablename

Is This Answer Correct ?    1 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are triggers? How many triggers you can have on a table? How to invoke a trigger on demand?

926


in the physical file layout, where should the transaction log be stored in relation to the data file? : Sql server administration

739


How can we rewrite sub-queries into simple select statements or with joins?

703


What is the difference between a clustered index and a non-clustered index?

706


How can you control the amount of free space in your index pages?

787






Tell me what is the order in which the sql query is executed?

703


What is row_number function?

736


How do you create a clustered index?

708


How to get the query of a table in sql server?

664


Is sql server implemented as a service or an application? : Sql server database administration

698


Why I am getting this error when dropping a database in ms sql server?

771


How do you identify a foreign key?

775


What number sorts of privileges are accessible in sql?

742


How to stop log file growing too big?

746


Explain can SSRS reports Cache results?

136