kalimuthu123 commented on issue #7831:
URL: 
https://github.com/apache/incubator-superset/issues/7831#issuecomment-753986728


   
   this is the query i expected to do : 
   
   the aim of the query is to display top 5 of every month 
   
   select * from (SELECT Month , Revenue, City, Financial_Year, 
Financial_Quarter,InvoiceDate, dense_rank()
   OVER ( partition by Month order by Revenue desc )
   AS 'dense_rank' FROM table ) t where t.dense_rank<6 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to