def METHOD_NAME(self, start_time: datetime, end_time: datetime) -> str:
    """
    returns sql statement to fetch query logs
    """
    return self.sql_stmt.format(
        start_time=start_time,
        end_time=end_time,
        result_limit=self.config.sourceConfig.config.resultLimit,
        filters=self.get_filters(),
    )