Skip to content

Commit 132bce9

Browse files
committed
Commit 3
1 parent 72995d7 commit 132bce9

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

docs/SQL/SQL-Where-Clause.md

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
1-
# Introduction to SQL WHERE Clause
1+
---
2+
id: sql-where-clause
3+
title: Where Clause in SQL
4+
sidebar_label: Where Clause
5+
sidebar_position: 3
6+
tags: [sql, database, clause ]
7+
description: In this tutorial, you will learn how to build query with condition to get desired output.
8+
---
9+
210

311
The WHERE clause in SQL is used to filter records from a result set. It specifies the conditions that must be met for the rows to be included in the result. The WHERE clause is often used in SELECT, UPDATE, DELETE, and other SQL statements to narrow down the data returned or affected.
412

@@ -59,4 +67,14 @@ WHERE order_date BETWEEN '2023-01-01' AND '2023-12-31';`
5967
WHERE manager_id IS NULL;`
6068

6169
# Conclusion
62-
The WHERE clause in SQL is a powerful tool for filtering data in various SQL statements. It allows you to specify conditions that rows must meet to be included in the result set, thereby enabling precise data retrieval and manipulation. By using comparison operators, logical operators, pattern matching, range checks, and handling null values, you can create complex queries tailored to your specific data requirements. Mastering the WHERE clause is essential for efficient database management and analysis, providing the ability to focus on relevant data and perform targeted updates and deletions.
70+
The WHERE clause in SQL is a powerful tool for filtering data in various SQL statements. It allows you to specify conditions that rows must meet to be included in the result set, thereby enabling precise data retrieval and manipulation. By using comparison operators, logical operators, pattern matching, range checks, and handling null values, you can create complex queries tailored to your specific data requirements. Mastering the WHERE clause is essential for efficient database management and analysis, providing the ability to focus on relevant data and perform targeted updates and deletions.
71+
72+
73+
---
74+
75+
<h2>Authors:</h2>
76+
<div style={{display: 'flex', flexWrap: 'wrap', justifyContent: 'space-between', gap: '10px'}}>
77+
{['damini-chachane'].map(username => (
78+
<Author key={username} username={username} />
79+
))}
80+
</div>

0 commit comments

Comments
 (0)