I need to use CTAS (Create Table As Select)
to create a table named Au_Books_ZL
that contains au_id, fname, lname, title_id, title, Pub_id, price and revenue (which is price*sales)
.
I have browsed other questions online, but they don't show how to include all the attributes (lname, fname, title_id ect.) in the query. How could I write up my CTAS to create the new table?