def METHOD_NAME(sql, uri=None, engine=None):
    if engine is None:
        engine = create_engine(uri, echo=True)
    res = engine.execute(sql)
    data_res = res.fetchall()
    col_res = res.keys()
    columns = []
    for col_data in col_res:
        columns.append(col_data)
    sql_result = []
    for row in data_res:
        rows = []
        for item in row:
            rows.append(item)
        sql_result.append(rows)
    return [columns, sql_result]