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

Answer Posted / murtaza

SELECT COUNT(FIELD1)AS "NO OF OCCURENCES"
FROM TABLE1
WHERE FIELD1 BETWEEN 10 AND 15

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 compare the top two records using sql?

952


What is microsoft sql server?

694


Can you create a logon trigger in sql server 2005 express edition?

789


What is the dbcc command and why is it used?

758


What is “begin trans”, “commit tran”, “rollback tran” and “savetran”?

764






How to delete exactly duplicate records from a table?

803


How to create user defined functions with parameters?

838


How to skip remaining statements in a loop block using continue statements?

742


What is the sql server agent?

776


What is indexing explain it with an example?

713


what method you can use to reduce the overhead of Reporting Services data sources?

201


How to modify existing triggers using "alter trigger"?

698


Explain the difference between function and stored procedure?

680


What is the difference between dropping a database and taking a database offline?

905


What is normalization and its types?

746