4 Please write a querry to find repeated numbers in the
following table.
Table Name: Table1
Field1
10
15
20
15
10
Answer Posted / lalit pandey
SELECT field1,count(field1) "Number of Occurrence"
FROM table1
GROUP BY field1
HAVING COUNT(field1)>1;
| Is This Answer Correct ? | 37 Yes | 0 No |
Post New Answer View All Answers
How do you Implement SSIS Packages in your Project?
What is xml datatype?
Who is the owner of a schema in ms sql server?
Explain what are the restrictions while creating batches in sql server?
What are constraints in microsoft sql server?
How can I track the changes or identify the latest insert-update-delete from a table?
What are the steps to follow to configure SQL*Net?
How the authentication mode can be changed?
Does a specific recovery model need to be used for a replicated database? : sql server replication
How to check if stored procedure is running in sql server?
Can we write a distributed query and get some data which is located on other server and oracle database?
What is a join in sql?
What is the difference between Triggers and Stored Procedure?
What's new in sql management studio for sql server? : sql server management studio
List out a number of the wants to setup a SQL Server failover cluster?