About 26,900,000 results
Open links in new tab
  1. How to retrieve specific rows from SQL Server table?

    Sep 15, 2013 · If you are on SQL Server 2005 or above, you could use Row_Number() function. Ex: Ex: ;With CTE as ( select col1, ..., row_number() over (order by yourOrderingCol) rn from …

  2. How to Select the nth Row in a SQL Server Database Table?

    Mar 12, 2024 · Using the OFFSET and FETCH clauses, which is one of the easiest ways to choose the Nth row in SQL Server. The OFFSET clause in SQL is used to skip a certain …

  3. SQL WHERE Clause - SQL Tutorial

    To select specific rows from a table based on one or more conditions, you use the WHERE clause in the SELECT statement. Here’s the syntax of the WHERE clause: column1, column2, ...

  4. How To SELECT Rows FROM Tables in SQL - DigitalOcean

    Dec 19, 2020 · In relational database management systems, any operation used to retrieve information from a table is referred to as a query. In this guide, we will discuss the syntax of …

  5. SQL SELECT TOP, LIMIT, FETCH FIRST ROWS ONLY, ROWNUM - W3Schools

    MySQL supports the LIMIT clause to select a limited number of records, while Oracle uses FETCH FIRST n ROWS ONLY and ROWNUM. SQL Server / MS Access Syntax: SELECT …

  6. SELECT Statement: How to Select Specific Values - SQLCourse

    The select statement is used to query the database and retrieve selected data that match the criteria that you specify. Here is the format of a simple select statement:

  7. SQL - Selecting data between specific data rows - Microsoft Q&A

    Oct 8, 2020 · How do I select specific data rows from a table? Example: Table_A has 1,000,000 data rows and data columns VAR_1, VAR_2, VAR_3. A Microsoft extension to the ANSI SQL …

  8. Select specific row from mysql table - Stack Overflow

    select * from customer order by id where row_number() = 3 (sometimes MySQL tables are shown with an internal order but you cannot rely on this behaviour). Then you can use LIMIT offset, …

  9. How to Select Rows in SQL Where a Column Contains Specific

    Mar 26, 2025 · In this tutorial, we explored different options to filter rows that contain specific words or phrases. Combined with wildcards, the LIKE operator offers a powerful and flexible …

  10. SQL - How to return first encountered row that matches specific

    Jul 3, 2019 · Is there a simpler SQL command to just fetches any row whatsoever that matches price=null and category = hardware without grouping, sorting, or indexing? In SQL Server …

  11. Some results have been removed
Refresh