CREATE TABLE company (
id integer NOT NULL,
name character varying,
CONSTRAINT company_pkey PRIMARY KEY (id));
CREATE TABLE person (
id integer NOT NULL,
name character varying,
company_id integer,
CONSTRAINT person_pkey PRIMARY KEY (id));
Есть две таблицы. Нужно: Select the name of the company with the maximum number of persons + number of persons in this company.
Upd. Разобрался, решил.