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
Why are views required in the sql server or in any other database?
What is de-normalization in sql database administration? Give examples?
How to change the ownership of a schema in ms sql server?
How to attach adventureworkslt physical files to the server?
What is the fillfactor concept in indexes?
you have couple of stored procedures that depend on a table you dropped the table and recreated it what do you have to do to reestablish those stored procedure dependencies?
What is difference between global temporary tables and local temporary tables?
How do clustered indexes store data?
What is the command used to check locks in microsoft sql server?
what's sql server? : Sql server database administration
How to create a scrollable cursor with the scroll option?
what are cursors? : Sql server database administration
What is model database in sql server?
what is new philosophy for database devises for sql server 7.0? : Sql server database administration
How to create user defined functions with parameters?