About 480,000 results
Open links in new tab
  1. SQL COUNT () Function - W3Schools

    The SQL COUNT () Function The COUNT() function returns the number of rows that matches a specified criterion.

  2. SQL COUNT Aggregate Function

    The SQL COUNT function is an aggregate function that returns the number of rows returned by a query. For example, you can use the COUNT function in the SELECT statement to get the number of …

  3. SQL Count () Function - GeeksforGeeks

    Nov 22, 2025 · We can use the COUNT () function along with CASE WHEN to count rows that match a specific condition. This is helpful when we want to count rows based on certain criteria without …

  4. COUNT (Transact-SQL) - SQL Server | Microsoft Learn

    Nov 18, 2025 · COUNT(*) doesn't require an expression parameter because by definition, it doesn't use information about any particular column. COUNT(*) returns the number of rows in a specified table, …

  5. sql - Is it possible to specify condition in Count ()? - Stack Overflow

    Is it possible to specify a condition in Count ()? I would like to count only the rows that have, for example, "Manager" in the Position column. I want to do it in the count statement, not using WH...

  6. SQL COUNT () with distinct - w3resource

    Feb 7, 2025 · In SQL, the COUNT () function is used to count the number of rows that match a specified condition. The DISTINCT keyword is used to return only distinct (unique) values.

  7. SQL Server COUNT() Function

    This tutorial shows you how to use the SQL Server COUNT () aggregate function to count values in a set of values.

  8. The SQL COUNT() Function: A Detailed Guide - LearnSQL.com

    Mar 16, 2023 · The SQL COUNT() function returns the number of rows returned by a query. In practice, the COUNT() function can help you calculate the number of films in a database, the number of films …

  9. SQL COUNT () (With Examples) - Programiz

    The COUNT () function in SQL is used to get the number of rows with the SELECT statement. In this tutorial, you will learn about the SQL COUNT () function with the help of examples.

  10. COUNT () SQL FUNCTION - DataCamp

    Dec 12, 2024 · Whether you're identifying duplicates, calculating group totals, or filtering data, the COUNT() function is here to help. In this article, I'll show you the many ways in which COUNT() is …