Can we use having clause without group by?
Answer / Gaurav Upadhyaya
No, the HAVING clause is used in conjunction with the GROUP BY clause to filter groups and not individual rows. If you want to apply a condition on individual rows, it should be done using WHERE clause.
| Is This Answer Correct ? | 0 Yes | 0 No |
Do you know what is raid and what are different types of raid configurations? : SQL Server Architecture
What does the update command do?
A left outer join B B right outer join A gives the same result then what is the use of two?
What are the different SQL Server Versions you have worked on?
what is meant by deafult in sql server?
What are the various editions of sql server 2017 that are available in the market?
what is package and it uses and how can u call a package
What are the factors you will check for the performane optimization for a database query?
7 Answers CarrizalSoft Technologies, DELL, SoftSol,
Explain timestamp datatype?
What is use of attribute hierarchy optimized state? : sql server analysis services, ssas
How do I find the sql server version?
How to add more data to the testing table in ms sql server?
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)