Database.Guide

Skip to content

Beginners

  • What is a Database?
  • Database Tutorial

SQL

  • SQL Tutorial
  • SQL Reference
  • SQL Joins Tutorial
  • SQL Transactions Tutorial
  • Basic SQL Queries

Categories

  • Azure SQL Edge (17)
  • Database Concepts (99)
  • Database Tools (72)
  • DBMS (9)
  • DuckDB (170)
  • MariaDB (424)
  • Microsoft Access (17)
  • MongoDB (265)
  • MySQL (602)
  • NoSQL (8)
  • Oracle (301)
  • PostgreSQL (480)
  • Redis (210)
  • SQL (697)
  • SQL Server (1,170)
  • SQLite (300)

Category: SQLite

SQLite INTERSECT Operator

Posted on February 22, 2022 by Ian

In SQLite, the INTERSECT operator is used to create a compound SELECT statement that returns the intersection of the results of the left and right SELECT statements. In other words, it combines two queries, but returns only those rows that are returned in both queries.

Continue reading →
SQLite operators, what is

SQLite EXCEPT Operator

Posted on February 21, 2022 by Ian

In SQLite, the EXCEPT operator can be used to create a compound SELECT statement that returns the subset of rows returned by the left SELECT that are not returned by the right SELECT.

Continue reading →
SQLite operators, what is

SQLite UNION Operator

Posted on February 20, 2022 by Ian

In SQLite, the UNION operator creates a compound SELECT statement that returns the results of the left and right SELECT statements. In other words, it combines the results from two queries into a single result set.

Continue reading →
SQLite operators, what is

5 Ways to Select Rows with the Minimum Value for their Group in SQL

Posted on February 16, 2022July 21, 2023 by Ian

Here are five options for using SQL to return only those rows that have the minimum value within their group.

These examples work in most major RDBMSs, including MySQL, MariaDB, Oracle, PostgreSQL, SQLite, and SQL Server.

Continue reading →
MariaDB, MySQL, Oracle, PostgreSQL, SQL, SQL Server, SQLite how to, window functions

3 Ways to Select the Row with the Minimum Value in SQL

Posted on February 15, 2022 by Ian

Here are three examples of using SQL to find and select the row with the minimum value in a given column.

The examples work in most major RDBMSs, including MySQL, MariaDB, PostgreSQL, SQLite, Oracle, and SQL Server.

Continue reading →
MariaDB, MySQL, Oracle, PostgreSQL, SQL, SQL Server, SQLite how to

3 Ways to Find Rows that Contain Lowercase Letters in SQLite

Posted on February 9, 2022 by Ian

Here are three options for returning rows that contain lowercase characters in SQLite.

Continue reading →
SQLite how to

Return Rows that Only Contain Non-Alphanumeric Characters in SQLite

Posted on February 6, 2022 by Ian

Here’s an example of returning rows that contain only non-alphanumeric characters in SQLite.

Non-alphanumeric characters include punctuation characters like !@#&()–[{}]:;',?/* and symbols like `~$^+=<>“, as well as whitespace characters like the space or tab characters.

Continue reading →
SQLite how to

6 Ways to Select Duplicate Rows in SQLite

Posted on February 5, 2022July 23, 2023 by Ian

The following queries can be used to return duplicate rows in SQLite.

Here, the duplicate rows contain duplicate values across all columns, including the ID column.

Continue reading →
SQLite how to, window functions

5 Ways to Select Rows with the Maximum Value for their Group in SQL

Posted on February 4, 2022July 21, 2023 by Ian

Here are five options for using SQL to return only those rows that have the maximum value within their group.

These examples work in most major RDBMSs, including MySQL, MariaDB, Oracle, PostgreSQL, SQLite, and SQL Server.

Continue reading →
MariaDB, MySQL, Oracle, PostgreSQL, SQL, SQL Server, SQLite how to, window functions

3 Ways to Select the Row with the Maximum Value in SQL

Posted on February 2, 2022February 2, 2022 by Ian

Here are three examples that use SQL to find and select the row with the maximum value in a given column.

The examples work in most major RDBMSs, including MySQL, MariaDB, PostgreSQL, SQLite, Oracle, and SQL Server.

Continue reading →
MariaDB, MySQL, Oracle, PostgreSQL, SQL Server, SQLite how to
  • «
  • 1
  • …
  • 15
  • 16
  • 17
  • 18
  • 19
  • …
  • 30
  • »

About Database.Guide | Privacy Policy