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

Answer Posted / pritesh

SELECT field1
FROM table1
GROUP BY field1
HAVING COUNT(field1)>1;

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

create index myindex on mytable(mycolumn) what type of index will get created after executing the above statement? : Sql server database administration

713


Do you know what are the ways available in sql server to execute sql statements?

724


Tell me what is difference between view and materialized view?

689


What are scalar functions in sql?

809


What is ms sql server reporting services?

724






How to generate create procedure script on an existing stored procedure?

694


What does <> symbol mean?

703


What is the use of tempdb? What values does it hold?

742


Do you know what are the restrictions applicable while creating views? : SQL Server Architecture

733


Explain the commands in sql server?

730


How to create new table with "create table" statements?

726


What is the importance of three tier architecture?

813


as a part of your job, what are the dbcc commands that you commonly use for database maintenance? : Sql server database administration

644


Explain what is row_number function?

755


Can you explain what is the use of custom fields in report?

787