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 do I find the sql server instance name?

0 Answers  


What is onf in normalization form?

0 Answers  


What is serializable?

0 Answers  


How do you set a trace flag in sql server?

0 Answers  


What is sql server schema compare? How we can compare two database schemas?

0 Answers  


Every night you run a full backup after every 3 three hours you make a differential backup every hour you make an incremental backup in a worst-case scenario, how much work you can lose?

0 Answers  


Can you explain the role of each service?

1 Answers  


How to select top 5 coloumn from a table without using coloumn name

5 Answers  


How many types of functions are there in sql server?

0 Answers  


What are the recovery models in sql server 2000?

0 Answers  


If you're given a raw data table, how would perform etl (extract, transform, load) with sql to obtain the data in a desired format?

0 Answers   Facebook,


What is indexed view?

0 Answers  


Categories