def METHOD_NAME(sub_query:QueryDesc):
    # SELECT ${EXPRS} FROM (${SUB_SELECT}) AS ${SUB_ALIAS}
    sql_string = SIMPLE_SUB_SELECT
    sql_string = sql_string.replace("${EXPRS}", ", ".join([e.name for e in sub_query.columns]))
    sql_string = sql_string.replace("${SUB_SELECT}", sub_query.text)
    sql_string = sql_string.replace("${SUB_ALIAS}", sub_query.alias)
    query_desc = QueryDesc(sql_string, sub_query.columns)
    return query_desc