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 all db objects can be found in MSDB database of a SQL Server instance?
What is a View ? Can we insert, Update and delete a view?
Explain the steps needed to create a scheduled job?
Which tcp/ip port does sql server run on? How can it be changed?
How to create a dynamic cursor with the dynamic option?
what are the basic functions for master, msdb, model, tempdb and resource system databases? : sql server database administration
Which tcp/ip port does the sql server run on? How can it be changed?
How to set a database state to offline in ms sql server?
Using query analyzer, name 3 ways you can get an accurate count of the number of records in a table?
Define compound operators?
What is a non-clustered index?
can any one please send sql quries most used in applications.
Oracle (3253)
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)