PC(code, model, speed, ram, hd, cd, price)
Find the hard drive sizes that are equal among two or more
PCs.
Answers were Sorted based on User's Feedback
Answer / sandeep
Select hd from PC
Group by hd
having count(hd)<>1
| Is This Answer Correct ? | 16 Yes | 1 No |
Answer / cullen
Select hd from PC
Group by hd
having count(*)>=2
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / piko1989
Select distinct hd
from pc
GROUP BY hd
having count(hd)>=2
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / rafal
select hd
from PC
group by hd having count(model) >= 2
| Is This Answer Correct ? | 0 Yes | 0 No |
What is NOT NULL Constraint in sql server 2012?
Does full backup break log chain?
List some advantages and disadvantages of stored procedure?
What is use of attribute hierarchy optimized state? : sql server analysis services, ssas
What is the default isolation level of the sql server database?
Do you know what are the restrictions that views have to follow?
What are explicit and implicit transactions?
Mention the uses of stored procedures.
What is trigger explain with program?
How do I find the port number for sql server?
Explain system functions or built-in functions? What are different types of system functions?
Tell me what is log shipping?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)