[docs]classSql:""" The SQL class is used to query Database tables using SQL queries. """def__init__(self,api_key:str):""" Initialize the SQL class. :param api_key: The API key for the Data Solutions API :type api_key: str """self.t=TransactionalQuery(api_key)self.a=AnalyticalQuery(api_key)@propertydeftransactional_query(self)->TransactionalQuery:""" Call the transactional_query property to query transactional tables. """returnself.t@propertydefanalytical_query(self)->AnalyticalQuery:""" Call the analytical_query property to query analytical tables. """returnself.a@propertydeftransactional(self)->TransactionalQuery:""" The transactional property is depricated. Use `transactional_query` instead. """warn("The transactional property is depricated. Use `transactional_query` instead.")returnself.transactional_query@propertydefanalytical(self)->AnalyticalQuery:""" The analytical property is depricated. Use `analytical_query` instead. """warn("The analytical property is depricated. Use `analytical_query` instead.")returnself.analytical_query