What are hive derived tables, how to create it and when to use it?
Should it be created using the same CREATE TABLE statement?
For instance, regarding this primary table
CREATE TABLE NYSE (`exchange` STRING, stock_symbol STRING, stock_date DATE, stock_price_open FLOAT, stock_price_high FLOAT, stock_price_low FLOAT, stock_price_close FLOAT, stock_volume INT, stock_price_avg_close FLOAT) ROW FORMAT DELIMITED FIELDS TERMINATED BY ',' ;
How to create a derived table to aggregate and do some max/min functions?