Special Query#
Special Query refer to a query that performs a specific or complex task beyond a simple SELECT query statement. There are various special query in our platform which retrieves a complex query with a simple word or short forms .The special query is given to Athena to obtain the insights
Here are some examples of Special Queries:
Query |
Description |
---|---|
YTD |
YTD stands for Year to Date and it indicates the time period starting from the beginning of the current year up to the present day which shows how the graph has changed over a time period. For example, to retrieve data from previous year or any other year, it is necessary to include the time frame to avoid misunderstandings and confusions. |
QTD |
QTD stands for Quarter to Date and it indicates the time period starting from the current quarter up to present day. The quarter may differ based on their organization and the command works based on the quarter for that specific organization. To retrieve report or data from different Quarter of the year or month, it is necessary to include the time frame to avoid misunderstandings and confusions. |
MTD |
MTD stands for Month to Date and it indicates the time period starting from the current month up to present day. To retrieve report or data from different months of the year till date, it is necessary to include the time frame to avoid misunderstandings and confusions |
WTD |
WTD stands for Week to Date and it represents the time period starting from the current week up to present day. To retrieve report or data from different week of the year till date, it is necessary to include the time frame to avoid misunderstandings. |
YOY |
YOY stands for Year over Year. This command compares the difference between a year with the previous year of all the years present in the database. If data has to be retrieved on a specific year, then time frame can be used for the data extraction of the specific year. |
QOQ |
QOQ stands for Quarter over Quarter. This command compares the difference between a quarter with the previous quarter and displays the difference as QOQ column and it also displays the difference of the quarters present in all the years of the database. If data must be retrieved on a specific quarter, then time frame can be used for the data extraction of that specific quarter. |
MOM |
MOM stands for Month over Month. This command compares the difference between a month with the previous month and displays the difference as MOM column and it also displays the difference of the months present in all the years of the database. If data must be retrieved on a specific month, then time frame can be used for the data extraction of that specific month. |
WOW |
WOW stands for Week over Week. This command compares the difference between a week with the previous week and displays the difference as WOW column and it also displays the difference of the weeks present in all the years of the database. If data must be retrieved on a specific week, then time frame can be used for the data extraction of that specific week. |
Compare |
Compare query is a special query which is not a standard function but a customized query for the users. Compare is typically used to compare two values and return values based on their relationship. Compare function is used to compare data within the table. |
Top |
Top query is a special query which is followed by “n” where n can be any number. It retrieves the data based on the default metric set by the users. User has the privilege to set the default metric in the configure SME and there can be more than one default metric |
per |
per command retrieves the data on an overall average basis |
Trending |
Trending query is a special query which retrieves the trending data based on current trend on the default metric set by the users. User has the privilege to set the default metric in the configure SME and there can be more than one default metric |