About 302,000 results
Open links in new tab
  1. SQL SELECT DISTINCT Statement - W3Schools

    The SQL SELECT DISTINCT Statement. The SELECT DISTINCT statement is used to return only distinct (different) values.

  2. database - How to select unique records by SQL - Stack Overflow

    With the distinct keyword with single and multiple column names, you get distinct records: SELECT DISTINCT column 1, column 2, ... FROM table_name;

  3. SQL DISTINCT - SQL Tutorial

    This tutorial shows you how to use the SQL DISTINCT operator to select distinct rows from a result set in the SELECT statement.

  4. SQL Distinct Clause - GeeksforGeeks

    Dec 4, 2024 · The SQL DISTINCT keyword is used in queries to retrieve unique values from a database. It helps in eliminating duplicate records from the result set. It ensures that only …

  5. What Is the Role of DISTINCT in SQL? - LearnSQL.com

    Apr 23, 2021 · The DISTINCT keyword in SQL plays an important role in removing duplicate values from your results. This article provides examples showing exactly how DISTINCT …

  6. Common use cases of SQL SELECT Distinct - SQL Shack

    Feb 2, 2023 · We can use SQL SELECT Distinct to find unique references of data. For example, we have a result set that shows different rows of a table and each row consists of columns. …

  7. SQL DISTINCT: The Complete Guide - Database Star

    Aug 16, 2023 · What is SQL DISTINCT? DISTINCT is a keyword in SQL that allows you to show unique or distinct results. It’s added to a SELECT query to eliminate duplicates in the data it …

  8. SELECT DISTINCT SQL Command Examples - SQL Server Tips

    Feb 23, 2023 · As its name implies, the DISTINCT keyword is commonly used in a SQL SELECT statement to return a distinct set of values. This tip will look at several simple examples of …

  9. How to Use Select Distinct in SQL: A Simple Guide for Efficient ...

    Sep 24, 2023 · If you’re not familiar already, SELECT DISTINCT is a handy tool in our SQL arsenal that helps to return unique values within a database column. Here’s how we can use it …

  10. SQL - Select Distinct Records - TutorialsTeacher.com

    Jul 25, 2018 · The SELECT DISTINCT statement is used to retrieve unique values of a column or combination of one or more columns. Syntax: SELECT DISTINCT column_name1, …

  11. Some results have been removed
Refresh