cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

Requesting support for "SELECT TOP n from Table"

SethuSrinivasan
New Contributor II

In notebook, It looks like if I need to select top N rows, I can rely on "LIMIT" keyword. It would be nice if you can support "TOP" as well

The current approach to select 10 rows:

select * from table1 LIMIT 10

Requesting TOP support:

SELECT TOP 10 * from table1

It is quite common for SQL Server users to use TOP clause in their queries. Can you please add this support to your SQL language?

0 REPLIES 0

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group