CREATE TABLE useracct (u_id NUMBER, name CLOB)
CREATE TABLE item (i_id NUMBER, title CLOB)
CREATE TABLE review (a_id NUMBER, u_id NUMBER, i_id NUMBER, rating NUMBER, rank NUMBER)
CREATE TABLE trust (source_u_id NUMBER, target_u_id NUMBER, trust NUMBER)

Find the average and maximum rating of all reviews.
SELECT AVG(rating), MAX(rating) FROM review
SELECT AVG("rating"), MAX("rating") FROM "review"