Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Answers were Sorted based on User's Feedback



4 Please write a querry to find repeated numbers in the following table. Table Name: Table1 F..

Answer / 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

4 Please write a querry to find repeated numbers in the following table. Table Name: Table1 F..

Answer / pritesh

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

Is This Answer Correct ?    8 Yes 0 No

4 Please write a querry to find repeated numbers in the following table. Table Name: Table1 F..

Answer / arun kumar

SELECT Field1 FROM Table1 WHERE Field1%5=0

Is This Answer Correct ?    1 Yes 3 No

4 Please write a querry to find repeated numbers in the following table. Table Name: Table1 F..

Answer / murtaza

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

Is This Answer Correct ?    0 Yes 2 No

4 Please write a querry to find repeated numbers in the following table. Table Name: Table1 F..

Answer / anjali

select count (distinct columnname)
from tablename

Is This Answer Correct ?    1 Yes 5 No

4 Please write a querry to find repeated numbers in the following table. Table Name: Table1 F..

Answer / phani

select distinct field1 from table1

Is This Answer Correct ?    0 Yes 5 No

4 Please write a querry to find repeated numbers in the following table. Table Name: Table1 F..

Answer / vivek

Select distinct Field1 from Table1 where Field1 between 10
and 15

Is This Answer Correct ?    2 Yes 17 No

Post New Answer

More SQL Server Interview Questions

How to find 6th highest salary from Employee table ?

10 Answers  


How to maintain a fill factor in existing indexes?

0 Answers  


How you can move data or databases between servers and databases in sql server?

0 Answers  


Describe in brief authentication modes in sql server.

0 Answers  


Differentiate between a having clause and a where clause.

0 Answers  


What is a cube? : sql server analysis services, ssas

0 Answers  


tell me what is blocking and how would you troubleshoot it? : Sql server database administration

0 Answers  


How to trouble shoot if unable to connect SQL Server

0 Answers  


what stored procedure can you use to display the current processes? : Sql server administration

0 Answers  


how will add additional conditions in sql?

0 Answers   Amdocs, Apps Associates,


What is ms sql server index?

0 Answers  


How to disable a login name in ms sql server?

0 Answers  


Categories