get_table_names function

Get the names of the tables of a star database