About 457,000 results
Open links in new tab
  1. MySQL :: MySQL 8.4 Reference Manual :: 14.4.3 Logical Operators

    If the PIPES_AS_CONCAT SQL mode is enabled, || signifies the SQL-standard string concatenation operator (like CONCAT()). The ||, operator is a nonstandard extension, and is deprecated; expect …

  2. SQL - Logical Operators - GeeksforGeeks

    Nov 12, 2025 · The OR operator combines multiple conditions in a SQL query and returns TRUE if at least one of the conditions is satisfied. It is ideal for situations where you want to retrieve records that …

  3. SQL Operators: 6 Different Types (w/ 45 Code Examples) - Dataquest

    Dec 16, 2025 · Here's a quick reference guide to all of the different types of SQL operators, with examples that illustrate when and how to use them.

  4. Logical Operators (Transact-SQL) - SQL Server | Microsoft Learn

    Feb 28, 2023 · Logical Operators (Transact-SQL) Applies to: SQL Server Azure SQL Managed Instance Logical operators test for the truth of some condition. Logical operators, like comparison operators, …

  5. SQL - Logical Operators - Online Tutorials Library

    The SQL OR operator is used to combine multiple conditions in a WHERE clause or a HAVING clause. It allows us to retrieve rows that meet at least one of the specified conditions.

  6. SQL Operators - W3Schools

    Well organized and easy to understand Web building tutorials with lots of examples of how to use HTML, CSS, JavaScript, SQL, Python, PHP, Bootstrap, Java, XML and more.

  7. SQL Logical Operators Code Examples - BETWEEN, EXISTS, IN, LIKE, NOT

    Aug 7, 2023 · The purpose of logical operators is to test for the truth of some condition and return a Boolean value that can be true, false, or unknown. The following is a list of operators and what is …

  8. SQL Operators (With Examples) - Programiz

    In this tutorial, you will learn about SQL operators with the help of examples.

  9. SQL Operators - Database.Guide

    Nov 20, 2020 · The operators listed on this page can be used to construct complex SQL queries that can help you return the data you need. For more examples, see 12 Commonly Used SQL Operators.

  10. Logical Operators in SQL - Rajanand

    Logical operators (AND, OR, NOT) are used to combine or negate conditions in SQL queries. Use parentheses to control the order of evaluation when combining multiple logical operators.