SQL Logical Operators

Learn about and how to use the SQL Logical Operators – OR, AND, NOT, etc. in T-SQL queries and stored procedures for fine-tuned control.

Title Author Date
Find Missing SQL Server Data with NOT EXISTS Jared Westover2026-06-17
SQL EXISTS Use Cases and Examples Eric Blinn2025-10-03
SQL IS [NOT] DISTINCT FROM predicate in SQL Server 2022 Rajendra Gupta2025-05-22
SQL BETWEEN Examples Daniel Calbimonte2025-03-19
SQL NOT IN Operator Eric Blinn2025-03-14
SQL CASE Statement in JOIN Clause Jared Westover2025-01-15
SQL NOT EQUAL Examples Eric Blinn2024-12-31
Build SQL Queries with AND, OR, NOT Logical Operators Joe Gavin2023-03-14
SQL IF Statement for Conditional Logic Eric Blinn2022-09-12
SQL IN Operator Eric Blinn2021-05-06
SQL Server IN vs EXISTS Koen Verbeeck2021-04-29
CASE Statement in SQL Examples Koen Verbeeck2021-04-20
SQL EXISTS vs IN vs JOIN Performance Comparison Eric Blinn2020-12-14
SQL Server CASE Statement Example Sergey Gigoyan2020-02-11
SQL Server CASE Expression Overview Aaron Bertrand2019-04-30
Using a SQL Server Case Statement for IF/Else Logic Tim Wiseman2016-12-02