---
title: "Discussion on \"SQL - WHERE VS HAVING DIFFERENCE\" | Hashnode"
description: "Discussion on \"SQL - WHERE VS HAVING DIFFERENCE\". WHERE\nHAVING\n\n\n\nWhere clause applied to single row.\nHaving clause applied to groups.\n\n\nWhere clause filter the records before grouping the data. ( pre -filer )\nHaving filter the records after grouping"
url: "https://hashnode.com/posts/sql-where-vs-having-difference/6a7a3053291b8d75535e3ea6"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [SQL - WHERE VS HAVING DIFFERENCE](https://blagos.hashnode.dev/sql-where-vs-having-difference?utm_source=hashnode&utm_medium=feed)

WHERE HAVING Where clause applied to single row. Having clause applied to groups. Where clause filter the records before grouping the data. ( pre -filer ) Having filter the records after grouping

Aug 10 · 1 min read · blagos.hashnode.dev  
Read the article

## Written by

[The Noid](https://hashnode.com/@thenoid)

@thenoid · Pune, India

  
[View profile](https://hashnode.com/@thenoid)

SYSTEMS DON'T SLEEP. NEITHER DO I.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
