### Database Schema:
CREATE TABLE Demog (
	GEOID	INTEGER	NULL	PRIMARY KEY,
	INHABITANTS_K	REAL	NULL,
	INCOME_K	REAL	NULL,
	A_VAR1	REAL	NULL,
	A_VAR2	REAL	NULL,
	A_VAR3	REAL	NULL,
	A_VAR4	REAL	NULL,
	A_VAR5	REAL	NULL,
	A_VAR6	REAL	NULL,
	A_VAR7	REAL	NULL,
	A_VAR8	REAL	NULL,
	A_VAR9	REAL	NULL,
	A_VAR10	REAL	NULL,
	A_VAR11	REAL	NULL,
	A_VAR12	REAL	NULL,
	A_VAR13	REAL	NULL,
	A_VAR14	REAL	NULL,
	A_VAR15	REAL	NULL,
	A_VAR16	REAL	NULL,
	A_VAR17	REAL	NULL,
	A_VAR18	REAL	NULL
);

CREATE TABLE Sales (
	EVENTID	INTEGER	NULL	PRIMARY KEY,
	REFID	INTEGER	NULL,
	EVENT_DATE	DATETIME	NULL,
	AMOUNT	REAL	NULL,
	foreign key (REFID) references Customers (ID)
);

CREATE TABLE mailings3 (
	REFID	INTEGER	NULL	PRIMARY KEY,
	REF_DATE	DATETIME	NULL,
	RESPONSE	TEXT	NULL
);

CREATE TABLE Mailings1_2 (
	REFID	INTEGER	NULL	PRIMARY KEY,
	REF_DATE	DATETIME	NULL,
	RESPONSE	TEXT	NULL,
	foreign key (REFID) references Customers (ID)
);

CREATE TABLE Customers (
	ID	INTEGER	NULL	PRIMARY KEY,
	SEX	TEXT	NULL,
	MARITAL_STATUS	TEXT	NULL,
	GEOID	INTEGER	NULL,
	EDUCATIONNUM	INTEGER	NULL,
	OCCUPATION	TEXT	NULL,
	age	INTEGER	NULL,
	foreign key (GEOID) references Demog (GEOID)
);

### User's Query:
What is the number of inhabitants of male customers ages from 20 to 30 years old who are farming or fishing?

### Extra Knowledge:
male customers ages from 20 to 30 years old refer to SEX = 'Male' where age BETWEEN 20 AND 30; farming or fishing refers to OCCUPATION; number of inhabitants refers to INHABITANTS_K;
SELECT T2.INHABITANTS_K FROM Customers AS T1 INNER JOIN Demog AS T2 ON T1.GEOID = T2.GEOID WHERE T1.OCCUPATION = 'Farming-fishing' AND T1.SEX = 'Male' AND T1.age >= 20 AND T1.age <= 30