get_all_tables_with_alias {RSqlParser} | R Documentation |
This function takes sql statement and returns the list of names of tables and alias for that table, if any present in the sql statement. The first column represent table name and second column represents alias.
get_all_tables_with_alias(sql)
sql |
statement |
names of tables with alias present in sql statement
get_all_tables_with_alias("Select p from abc where xyz = 5")