PC(code, model, speed, ram, hd, cd, price)
Find the hard drive sizes that are equal among two or more
PCs.



Answer Posted / piko1989

Select distinct hd
from pc
GROUP BY hd
having count(hd)>=2

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is there a performance difference between two similar queries where one uses union and the other uses union all?

506


What is an indexing technique?

486


What command do we use to rename a db, a table and a column?

497


When do you think a developer should use sql server-based cursors?

516


How you can get a list of all the table constraints in a database?

507






What is the use of nvl work?

557


please differentiate between delete and truncate?

549


What is the process of normalising?

581


What stored procedure can you use to display the current processes?

490


What is store procedure? How do they work?

571


What is the use of set nocount on/off statement?

620


How to round a numeric value to a specific precision?

566


What are the rules to use the rowguidcol property to define a globally unique identifier column?

587


what are the reporting service components in SSRS?

118


How real and float literal values are rounded?

576