Can we use where clause with group by?
Answer / Mohd Ehtishamul Haque
Yes, the WHERE clause can be used before the GROUP BY clause to filter records before they are grouped. This allows you to perform a preliminary filtering of data and then group the filtered results.
| Is This Answer Correct ? | 0 Yes | 0 No |
How do you measure the performance of a stored procedure?
‘Order by’ is not allowed in a view how can you sort information from a view?
How can you see what type of locks used?
What do you mean by authentication modes in sql server?
when you create a database how is it stored? : Sql server database administration
When would you prefer to have a minimum number of indexes?
What is sqlcmd?
What are actions, how many types of actions are there, explain with example? : sql server analysis services, ssas
Explain the benefits of user-defined functions?
how to improve the speed of SQL database server and how to avoid dead lock?
employee table has employee id ----------- empid ---------------- 1 2 3 3 3 4 5 5 5 6 6 6 7 here the values r repeated two times.how to select the repeated values only.i.e 3,5,6 should alone come.
What stored by the msdb?
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)