Postgresql – SQL (standard) join count by several columns
I have these tables: CREATE TABLE poster ( poster_id SERIAL NOT NULL PRIMARY KEY, country VARCHAR ( 50 ) NOT NULL ); CREATE TABLE batch ( batch_id SERIAL NOT NULL PRIMARY KEY, price VARCHAR ( 50 ) NOT NULL );…