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
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 |
Answer / pritesh
SELECT field1
FROM table1
GROUP BY field1
HAVING COUNT(field1)>1;
Is This Answer Correct ? | 8 Yes | 0 No |
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 |
Answer / anjali
select count (distinct columnname)
from tablename
Is This Answer Correct ? | 1 Yes | 5 No |
Answer / vivek
Select distinct Field1 from Table1 where Field1 between 10
and 15
Is This Answer Correct ? | 2 Yes | 17 No |
What is a data source or ds? : sql server analysis services, ssas
What is bulkcopy in sql?
Explain different types of BACKUPs avaialabe in SQL Server? Given a particular scenario, how would you go about choosing a backup plan?
State the difference between union and union all?
Wht is Stuff in sql ser
what are different types of backups available in sql server? Given a particular scenario, how would you go about choosing a backup plan? : Sql server database administration
Do you know what is sql injection?
Which joins are sql server default?
Do you know what is raid and what are different types of raid configurations? : SQL Server Architecture
Do you know what is bit data type and whats the information that can be stored inside a bit column?
What is the maximum size per database for sql server express?
What is recursion? Is it possible for a stored procedure to call itself or recursive stored procedure? How many levels of sp nesting is possible?