About 1,340,000 results
Open links in new tab
  1. FIRST_VALUE (Transact-SQL) - SQL Server | Microsoft Learn

    Nov 18, 2025 · The following example uses FIRST_VALUE to return the employee with the fewest number of vacation hours compared to other employees with the same job title. The …

  2. FIRST_VALUE – SQL Tutorial

    The SQL FIRST_VALUE () function is a window function that returns the first value of an ordered set of values within a group. It is commonly used in data analysis and reporting to retrieve the …

  3. FIRST_VALUE - Oracle Help Center

    FIRST_VALUE is an analytic function. It returns the first value in an ordered set of values. If the first value in the set is null, then the function returns NULL unless you specify IGNORE …

  4. SQL FIRST_VALUE Function - LearnSQL.com

    May 13, 2024 · FIRST_VALUE is a SQL window function that returns the first value in an ordered partition. Explore its applications in practical data analysis examples.

  5. How to find first value from any table in SQL Server

    Jul 23, 2025 · We could use FIRST_VALUE () in SQL Server to find the first value from any table. FIRST_VALUE () function used in SQL server is a type of window function that results in the …

  6. FIRST_VALUE - Snowflake Documentation

    This example shows a simple query that uses the FIRST_VALUE function. This query contains two ORDER BY clauses: one to control the order of rows in each partition, and one to sort the …

  7. SQL Server FIRST_VALUE Function

    In this tutorial, you will learn how to use the SQL Server FIRST_VALUE () function to get the first value in an ordered partition of a result set.

  8. FIRST_VALUE () in SQL: Examples, Use Cases & Error Handling

    The FIRST_VALUE() function in SQL returns the first value within an ordered partition of a result set. It is commonly used for retrieving the earliest record, identifying baseline values, and …

  9. Understanding the FIRST_VALUE () Function in SQL

    Sep 30, 2023 · In SQL databases, the FIRST_VALUE() function is a window function that returns the first value in an ordered set of values. The exact syntax will probably depend on your …

  10. Oracle FIRST_VALUE Function

    Summary: in this tutorial, you will learn how to return the first value in an ordered set of values by using the Oracle FIRST_VALUE() function. The FIRST_VALUE() is an analytic function that …