### Database Schema:
CREATE TABLE location (
	id_restaurant	INTEGER	NOT NULL	PRIMARY KEY,
	street_num	INTEGER	NULL,
	street_name	TEXT	NULL,
	city	TEXT	NULL,
	foreign key (city) references geographic (city),
	foreign key (id_restaurant) references generalinfo (id_restaurant)
);

CREATE TABLE geographic (
	city	TEXT	NOT NULL	PRIMARY KEY,
	county	TEXT	NULL,
	region	TEXT	NULL
);

CREATE TABLE generalinfo (
	id_restaurant	INTEGER	NOT NULL	PRIMARY KEY,
	label	TEXT	NULL,
	food_type	TEXT	NULL,
	city	TEXT	NULL,
	review	REAL	NULL,
	foreign key (city) references geographic (city)
);

### User's Query:
In the Bay Area, what is the most common type of food served by restaurants?

### Extra Knowledge:
the Bay Area refers to region = 'bay area'; the most common type of food refers to max(count(food_type))
SELECT T2.food_type FROM geographic AS T1 INNER JOIN generalinfo AS T2 ON T1.city = T2.city WHERE T1.region = 'bay area' GROUP BY T2.food_type ORDER BY COUNT(T2.food_type) DESC LIMIT 1