def query_to_string(query_result: list) -> list:
    """Converts a query result in a well formatted list of rows

    Args:
        query_result (list): query result to be converted

    Returns:
        list: the corrisponding list of rows
    """
    result = []
    for row in query_result:
        result.append([value for value in row.values()])
    return result