Community

SQL Error – ‘SELECT TOP 100’ throws error in SparkSQL – what’s the correct syntax?

(Manoj) In SQL Server to get top-n rows from a table or dataset you just have to use “SELECT TOP” clause by specifying the number of rows you want to return, like in the below query.