cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
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?

2 REPLIES 2

Kaniz
Community Manager
Community Manager

Hi @Sethu Srinivasan! My name is Kaniz, and I'm the technical moderator here. Great to meet you, and thanks for your question! Let's see if your peers on the Forum have an answer to your questions first. Or else I will follow up shortly with a response.

Kaniz
Community Manager
Community Manager

I am extremely sorry, this feature is not available at databricks.

You can request for this feature here:-

https://docs.databricks.com/resources/ideas.html

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.