I want to generate a month trend across my entire dataset. Following is the query which works for me in mysql:
**SELECT DATE_FORMAT(SalesDate, '%b-%Y') as groupByDate, DATE_FORMAT(max(SalesDate), '%Y-%m-%d %H:%i:%S') as date, TIMESTAMPDIFF(YEAR, MAX(SubgroupLaunchDate), current_Date) as value FROM <tableName> WHERE <Some condition> GROUP BY DATE_FORMAT(SalesDate, '%b-%Y') ;**
What is the DATE_FORMAT equivalent in dremio to perform a similar query