powered by
This function takes sql statement and returns all the columns selected in the sql statement.
get_all_select_cols_with_alias(sql)
statement
names of columns selected in sql statement
# NOT RUN { get_all_select_cols_with_alias("Select p from abc where xyz = 5") # }
Run the code above in your browser using DataLab