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 (164)
  • MariaDB (424)
  • Microsoft Access (17)
  • MongoDB (265)
  • MySQL (602)
  • NoSQL (8)
  • Oracle (301)
  • PostgreSQL (480)
  • Redis (210)
  • SQL (697)
  • SQL Server (1,170)
  • SQLite (299)

Category: Relational

MySQL UNION Clause

Posted on February 16, 2022 by Ian

In MySQL, the UNION clause combines the results from multiple queries into a single result set.

Continue reading →
MySQL operators, what is

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

SHOW TABLES in MariaDB

Posted on February 15, 2022 by Ian

In MariaDB, SHOW TABLES is an administrative statement that lists the non-TEMPORARY tables, sequences and views in a given database.

Continue reading →
MariaDB tables, what is

7 Ways to Find Duplicate Rows in SQL Server while Ignoring any Primary Key

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

Here are seven options for finding duplicate rows in SQL Server, when those rows have a primary key or other unique identifier column.

In other words, the table contains two or more rows that share exactly the same values across all columns except for its unique identifier column.

Continue reading →
SQL Server how to

Find All Non-Numeric Values in a Column in MariaDB

Posted on February 10, 2022 by Ian

If you ever encounter a character column that should be a numeric column, there’s always a possibility that it contains non-numeric data that you don’t know about.

In MariaDB, you can run a query like the following to return non-numeric data from the column.

Continue reading →
MariaDB how to

4 Functions to Format a Number to 2 Decimal Places in SQL Server

Posted on February 9, 2022 by Ian

When using T-SQL with SQL Server, we can format numbers using various methods, depending on our desired format.

Below are four functions that can be used to format a number to two decimal places in SQL Server.

Continue reading →
SQL Server how to, number format, t-sql

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

MariaDB MINUS Operator Explained

Posted on February 9, 2022February 9, 2022 by Ian

In MariaDB, the MINUS operator returns distinct rows from the left input query that aren’t output by the right input query.

The MINUS operator was introduced in MariaDB 10.6.1 as a synonym for the EXCEPT operator for the purposes of compatibility with Oracle. Therefore, we can use MINUS and EXCEPT interchangeably (in MariaDB 10.6.1 and later).

Continue reading →
MariaDB operators, what is

4 Ways to Check for Duplicate Rows in SQL Server

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

Here are four methods you can use to find duplicate rows in SQL Server.

By “duplicate rows” I mean two or more rows that share exactly the same values across all columns.

Continue reading →
SQL Server how to, mssql, t-sql

MariaDB UNION Operator Explained

Posted on February 7, 2022 by Ian

In MariaDB, the UNION operator combines the results from multiple SELECT statements into a single result set.

Continue reading →
MariaDB operators, what is
  • «
  • 1
  • …
  • 92
  • 93
  • 94
  • 95
  • 96
  • …
  • 254
  • »

About Database.Guide | Privacy Policy