book_table, primary key book_key.
book_authors, foreign key book_key
the function get_book_authors returns a set of rows from the book_authors_table given a book_key. Here's a sample query:
Expand|Select|Wrap|Line Numbers
- select * from get_book_authors(3);
I'd like to get all the book_authors for a particular book_store, or for all the books in the book_table.
I tried
Expand|Select|Wrap|Line Numbers
- select book_key,get_book_authors(book_key) from book_table;
Any ideas on how to do this?
Thanks