db_id
stringlengths
4
31
SQL
stringlengths
18
1.45k
input_sequence
stringlengths
148
11k
question
stringlengths
16
325
restaurant
select label from generalinfo where food_type = 'european'
Question: please list all of the restaurants that serve european food. | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.id_restaurant = generalinfo.i...
please list all of the restaurants that serve european food.
restaurant
select city from geographic where region = 'northern california'
Question: what cities are located in northern california? | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.id_restaurant = generalinfo.id_restaurant,...
what cities are located in northern california?
restaurant
select label from generalinfo where food_type = '24 hour diner'
Question: what does the one and only 24-hour diner's name? | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.id_restaurant = generalinfo.id_restaurant...
what does the one and only 24-hour diner's name?
restaurant
select city from geographic where county = 'unknown' and region = 'unknown' limit 5
Question: please list any five cities that have an unidentified county and region. | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.id_restaurant = g...
please list any five cities that have an unidentified county and region.
restaurant
select county, region from geographic where city = 'davis'
Question: what is the county and region of davis city? | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.id_restaurant = generalinfo.id_restaurant, lo...
what is the county and region of davis city?
restaurant
select street_name from location where city = 'clayton'
Question: please list all of the street names in clayton city. | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.id_restaurant = generalinfo.id_restau...
please list all of the street names in clayton city.
restaurant
select id_restaurant, label from generalinfo where city = 'san francisco' and review = ( select max(review) from generalinfo where city = 'san francisco' )
Question: what are the most popular restaurants in san francisco among diners? | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.id_restaurant = gener...
what are the most popular restaurants in san francisco among diners?
restaurant
select count(id_restaurant) from generalinfo where food_type = 'american' and city = 'carmel' and review = ( select min(review) from generalinfo where food_type = 'american' and city = 'carmel' )
Question: how many american food restaurants are unpopular in carmel? | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.id_restaurant = generalinfo.id...
how many american food restaurants are unpopular in carmel?
restaurant
select cast(sum(iif(food_type = 'american food', 1, 0)) as real) * 100 / count(id_restaurant) from generalinfo where city = 'dublin'
Question: what is the percentage of restaurants that serve american food in dublin city? | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.id_restaura...
what is the percentage of restaurants that serve american food in dublin city?
restaurant
select t2.street_num, t2.street_name, t1.city from generalinfo as t1 inner join location as t2 on t1.id_restaurant = t2.id_restaurant where t1.label = 'albert''s caf'
Question: what is the full address of albert's caf? | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.id_restaurant = generalinfo.id_restaurant, locat...
what is the full address of albert's caf?
restaurant
select t1.id_restaurant from generalinfo as t1 inner join location as t2 on t1.id_restaurant = t2.id_restaurant where t1.city = 'oakland' and t2.street_name = '19th st'
Question: what are the restaurants that are located at '19th st. oakland'? | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.id_restaurant = generalin...
what are the restaurants that are located at '19th st. oakland'?
restaurant
select t1.food_type from generalinfo as t1 inner join location as t2 on t1.id_restaurant = t2.id_restaurant where t2.street_num = 106 and t2.street_name = 'e 25th ave'
Question: what kind of restaurants can be found at '106 e 25th ave'? | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.id_restaurant = generalinfo.id_...
what kind of restaurants can be found at '106 e 25th ave'?
restaurant
select t2.label from location as t1 inner join generalinfo as t2 on t1.id_restaurant = t2.id_restaurant inner join geographic as t3 on t2.city = t3.city where t3.region = 'unknown' limit 3
Question: please name any three restaurants that have an unidentified region. | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.id_restaurant = genera...
please name any three restaurants that have an unidentified region.
restaurant
select t1.label from generalinfo as t1 inner join location as t2 on t1.id_restaurant = t2.id_restaurant where t2.street_num = 104 and t1.city = 'campbell' and t2.street_name = 'san tomas aquino road'
Question: what is the name of the chinese restaurant that can be found at 104 san tomas aquino road, campbell? | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city...
what is the name of the chinese restaurant that can be found at 104 san tomas aquino road, campbell?
restaurant
select count(t1.id_restaurant) from generalinfo as t1 inner join location as t2 on t1.id_restaurant = t2.id_restaurant where t1.food_type = 'thai' and t1.city = 'albany' and t2.street_name = 'san pablo ave'
Question: how many thai restaurants can be found in san pablo ave, albany? | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.id_restaurant = generalin...
how many thai restaurants can be found in san pablo ave, albany?
restaurant
select t1.county, t1.region, t2.label from geographic as t1 inner join generalinfo as t2 on t1.city = t2.city where t2.label = 'plearn-thai cuisine'
Question: what is the county and region of plearn-thai cuisine restaurant? | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.id_restaurant = generalin...
what is the county and region of plearn-thai cuisine restaurant?
restaurant
select t2.label from geographic as t1 inner join generalinfo as t2 on t1.city = t2.city where t1.region = 'lake tahoe' and t1.county = 'el dorado county'
Question: what is the name of the restaurant that is located in el dorado county, lake tahoe region? | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location...
what is the name of the restaurant that is located in el dorado county, lake tahoe region?
restaurant
select distinct t2.county, t2.region from location as t1 inner join geographic as t2 on t1.city = t2.city where t1.street_name = 'e. el camino real'
Question: which county and region does the street e. el camino real belong to? | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.id_restaurant = gener...
which county and region does the street e. el camino real belong to?
restaurant
select t1.id_restaurant from generalinfo as t1 inner join location as t2 on t1.id_restaurant = t2.id_restaurant where t1.city = 'berkeley' and t2.street_name = 'shattuck ave' and t1.food_type = 'indian restaurant' order by t1.review limit 1
Question: what is the name of the least popular indian restaurant on shattuck avenue in berkeley? | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.id...
what is the name of the least popular indian restaurant on shattuck avenue in berkeley?
restaurant
select cast(sum(iif(t2.review > 4, 1, 0)) as real) * 100 / count(t2.id_restaurant) from geographic as t1 right join generalinfo as t2 on t1.city = t2.city where t1.region = 'bay area'
Question: what is the percentage of restaurants in the bay area region that scored over 4 for the review rating? | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.ci...
what is the percentage of restaurants in the bay area region that scored over 4 for the review rating?
restaurant
select city from geographic where county = 'san mateo county'
Question: list every city in san mateo county. | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.id_restaurant = generalinfo.id_restaurant, location.c...
list every city in san mateo county.
restaurant
select count(id_restaurant) as cnt from generalinfo where review > 4
Question: how many restaurants have more than 4 star reviews? | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.id_restaurant = generalinfo.id_restaur...
how many restaurants have more than 4 star reviews?
restaurant
select street_name from location group by street_name order by count(street_name) desc limit 1
Question: which street has the most restaurants? | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.id_restaurant = generalinfo.id_restaurant, location...
which street has the most restaurants?
restaurant
select label from generalinfo where food_type = 'chicken' order by review desc limit 1
Question: which chicken restaurant has the highest review? | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.id_restaurant = generalinfo.id_restaurant...
which chicken restaurant has the highest review?
restaurant
select county from geographic where city = 'el cerrito'
Question: which county is el cerrito from? | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.id_restaurant = generalinfo.id_restaurant, location.city ...
which county is el cerrito from?
restaurant
select count(id_restaurant) from location where street_name = 'irving'
Question: how many restaurants are on irving street? | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.id_restaurant = generalinfo.id_restaurant, loca...
how many restaurants are on irving street?
restaurant
select t1.label from generalinfo as t1 inner join geographic as t2 on t1.city = t2.city where t2.county = 'marin county'
Question: provide a list of restaurants from marin county. | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.id_restaurant = generalinfo.id_restaurant...
provide a list of restaurants from marin county.
restaurant
select t2.street_name from generalinfo as t1 inner join location as t2 on t1.id_restaurant = t2.id_restaurant where t1.label = 'peking duck restaurant'
Question: what is the address of the peking duck restaurant? | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.id_restaurant = generalinfo.id_restaura...
what is the address of the peking duck restaurant?
restaurant
select t2.street_name from geographic as t1 inner join location as t2 on t1.city = t2.city where t1.county = 'alameda county' group by t2.street_name having count(t2.id_restaurant) > 10
Question: list all the streets with more than 10 restaurants in alameda county. | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.id_restaurant = gene...
list all the streets with more than 10 restaurants in alameda county.
restaurant
select distinct t1.region from geographic as t1 inner join generalinfo as t2 on t1.city = t2.city where t2.food_type = 'greek'
Question: what are the regions with greek restaurants? | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.id_restaurant = generalinfo.id_restaurant, lo...
what are the regions with greek restaurants?
restaurant
select t2.street_name from geographic as t1 inner join location as t2 on t1.city = t2.city where t1.region = 'unknown'
Question: list all of the restaurant addresses from an unknown region. | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.id_restaurant = generalinfo.i...
list all of the restaurant addresses from an unknown region.
restaurant
select t2.review from location as t1 inner join generalinfo as t2 on t1.id_restaurant = t2.id_restaurant where t1.street_name = 'murray ave' and t1.street_num = 8440
Question: what is the review of the restaurant at 8440 murray ave? | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.id_restaurant = generalinfo.id_re...
what is the review of the restaurant at 8440 murray ave?
restaurant
select t2.food_type from geographic as t1 inner join generalinfo as t2 on t1.city = t2.city where t1.county = 'monterey' group by t2.food_type order by count(t2.food_type) desc limit 1
Question: what type of restaurant is most common in monterey county? | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.id_restaurant = generalinfo.id_...
what type of restaurant is most common in monterey county?
restaurant
select t2.street_name from generalinfo as t1 inner join location as t2 on t1.id_restaurant = t2.id_restaurant where t1.city = 'san francisco' and t1.food_type = 'burgers' group by t2.street_name order by count(t2.id_restaurant) desc limit 1
Question: which street in san francisco has the most burger restaurants? | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.id_restaurant = generalinfo...
which street in san francisco has the most burger restaurants?
restaurant
select t2.region from location as t1 inner join geographic as t2 on t1.city = t2.city where t1.street_num = 1149 and t1.street_name = 'el camino real'
Question: what is the region of 1149 el camino real? | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.id_restaurant = generalinfo.id_restaurant, loca...
what is the region of 1149 el camino real?
restaurant
select t2.county from generalinfo as t1 inner join geographic as t2 on t1.city = t2.city where t1.label = 'sankee'
Question: what is the county of the sankee restaurant? | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.id_restaurant = generalinfo.id_restaurant, lo...
what is the county of the sankee restaurant?
restaurant
select count(t1.city) from geographic as t1 inner join location as t2 on t1.city = t2.city where t1.region = 'northern california'
Question: how many streets with restaurants are there in the northern california region? | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.id_restaura...
how many streets with restaurants are there in the northern california region?
restaurant
select t2.label from location as t1 inner join generalinfo as t2 on t1.id_restaurant = t2.id_restaurant where t1.street_name = 'park st'
Question: list all of the restaurants on park st. | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.id_restaurant = generalinfo.id_restaurant, locatio...
list all of the restaurants on park st.
restaurant
select cast(sum(iif(t1.region = 'bay area', 1, 0)) as real) * 100 / count(t2.id_restaurant) from geographic as t1 inner join location as t2 on t1.city = t2.city
Question: what percentage of restaurants are from the bay area? | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.id_restaurant = generalinfo.id_resta...
what percentage of restaurants are from the bay area?
restaurant
select avg(t1.review) from generalinfo as t1 inner join geographic as t2 on t1.city = t2.city where t1.food_type = 'chinese' group by t1.id_restaurant order by avg(t1.review) desc
Question: list all the average reviews of chinese restaurants for each county from highest to lowest. | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, locatio...
list all the average reviews of chinese restaurants for each county from highest to lowest.
restaurant
select street_name from location where city = 'san francisco'
Question: list street names in san francisco city. | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.id_restaurant = generalinfo.id_restaurant, locati...
list street names in san francisco city.
restaurant
select id_restaurant from location where city = 'danville'
Question: list restaurant ids located in danville city. | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.id_restaurant = generalinfo.id_restaurant, l...
list restaurant ids located in danville city.
restaurant
select count(city) from geographic where region = 'bay area'
Question: how many cities are located in the bay area? | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.id_restaurant = generalinfo.id_restaurant, lo...
how many cities are located in the bay area?
restaurant
select count(t1.label) from generalinfo as t1 inner join geographic as t2 on t1.city = t2.city where t2.county = 'unknown'
Question: how many labels of the restaurant have an unknown country? | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.id_restaurant = generalinfo.id_...
how many labels of the restaurant have an unknown country?
restaurant
select t1.street_name from location as t1 inner join generalinfo as t2 on t1.city = t2.city where t2.food_type = 'american'
Question: please indicate the street names of restaurants with food type is american. | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.id_restaurant ...
please indicate the street names of restaurants with food type is american.
restaurant
select t1.label from generalinfo as t1 inner join geographic as t2 on t1.city = t2.city where t2.county = 'santa cruz county'
Question: please indicate which labels have the city located in santa cruz. | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.id_restaurant = generali...
please indicate which labels have the city located in santa cruz.
restaurant
select t1.review from generalinfo as t1 inner join location as t2 on t1.id_restaurant = t2.id_restaurant where t2.street_name = 'broadway' and t2.street_num = 430
Question: give the review of the restaurant at 430, broadway. | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.id_restaurant = generalinfo.id_restaur...
give the review of the restaurant at 430, broadway.
restaurant
select t2.street_num, t2.street_name from generalinfo as t1 inner join location as t2 on t1.id_restaurant = t2.id_restaurant order by t1.review desc limit 1
Question: indicate the address of the restaurant with the most popular reviews. | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.id_restaurant = gene...
indicate the address of the restaurant with the most popular reviews.
restaurant
select t2.county from generalinfo as t1 inner join geographic as t2 on t1.city = t2.city where t1.food_type = 'italian' group by t2.county order by count(t1.id_restaurant) desc limit 1
Question: which country has the most restaurants with italian food? | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.id_restaurant = generalinfo.id_r...
which country has the most restaurants with italian food?
restaurant
select cast(sum(iif(region = 'napa valley', 1, 0)) as real) * 100 / count(region) from geographic
Question: find the percentage of restaurant in napa valley. | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.id_restaurant = generalinfo.id_restauran...
find the percentage of restaurant in napa valley.
restaurant
select count(city) from geographic where region = 'bay area'
Question: how many of the cities are in a bay area? | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.id_restaurant = generalinfo.id_restaurant, locat...
how many of the cities are in a bay area?
restaurant
select city from geographic where county = 'unknown'
Question: list down the cities with unknown country. | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.id_restaurant = generalinfo.id_restaurant, loca...
list down the cities with unknown country.
restaurant
select city from geographic where region = 'bay area' and county = 'santa clara county'
Question: what is the city located in bay area of santa clara? | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.id_restaurant = generalinfo.id_restau...
what is the city located in bay area of santa clara?
restaurant
select id_restaurant from location where city = 'sunnyvale'
Question: list down the restaurant id of restaurants located in sunnyvale. | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.id_restaurant = generalin...
list down the restaurant id of restaurants located in sunnyvale.
restaurant
select count(city) from location where street_name = 'railroad' and street_num < 1000
Question: among the restaurants on street number below 1000, how many of them are in railroad st.? | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.i...
among the restaurants on street number below 1000, how many of them are in railroad st.?
restaurant
select label from generalinfo where food_type = '24 hour diner' and city = 'san francisco'
Question: what is the name of the 24 hour diner at san francisco? | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.id_restaurant = generalinfo.id_res...
what is the name of the 24 hour diner at san francisco?
restaurant
select t2.review from location as t1 inner join generalinfo as t2 on t1.id_restaurant = t2.id_restaurant where t2.city = 'santa cruz' and t1.street_name = 'ocean st'
Question: give the review of the restaurant located in ocean st., santa cruz. | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.id_restaurant = genera...
give the review of the restaurant located in ocean st., santa cruz.
restaurant
select t2.street_num from generalinfo as t1 inner join location as t2 on t1.id_restaurant = t2.id_restaurant where t1.review = 2.7 and t2.city = 'oakland' and t1.food_type = 'bar'
Question: give the street number of a bar in oakland with a 2.7 review. | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.id_restaurant = generalinfo....
give the street number of a bar in oakland with a 2.7 review.
restaurant
select count(t1.id_restaurant) from location as t1 inner join generalinfo as t2 on t1.id_restaurant = t2.id_restaurant where t2.food_type = 'bakery' and t2.city = 'palo alto' and t1.street_name = 'university ave.'
Question: among the bakeries, what is total number of bakery located at university avenue, palo alto? | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, locatio...
among the bakeries, what is total number of bakery located at university avenue, palo alto?
restaurant
select t1.street_num from location as t1 inner join generalinfo as t2 on t1.id_restaurant = t2.id_restaurant where t2.label = 'tulocay winery' and t2.food_type = 'winery'
Question: among the listed winery, what is the street number of the winery named 'tulocay winery'? | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.i...
among the listed winery, what is the street number of the winery named 'tulocay winery'?
restaurant
select t2.review, t2.label from location as t1 inner join generalinfo as t2 on t1.id_restaurant = t2.id_restaurant where t2.city = 'hayward' and t1.street_name = 'mission blvd'
Question: list the review and label of the restaurants in mission blvd., hayward. | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.id_restaurant = ge...
list the review and label of the restaurants in mission blvd., hayward.
restaurant
select count(t1.id_restaurant) from location as t1 inner join generalinfo as t2 on t1.id_restaurant = t2.id_restaurant where t1.street_name = 'castro st' and t1.city = 'mountain view' and t2.food_type = 'indian' and t2.label like '%cookhouse%'
Question: among all indian restaurants in castro st., mountainview, how many of them is about cookhouse in their label? | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geogra...
among all indian restaurants in castro st., mountainview, how many of them is about cookhouse in their label?
restaurant
select count(t1.id_restaurant) from location as t1 inner join generalinfo as t2 on t1.id_restaurant = t2.id_restaurant where t2.review = 2 and t1.street_num < 500
Question: in restaurants with a review of 2, how many restaurants have a street number below 500? | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.id...
in restaurants with a review of 2, how many restaurants have a street number below 500?
restaurant
select count(t1.id_restaurant) as num from location as t1 inner join generalinfo as t2 on t1.id_restaurant = t2.id_restaurant where t2.city = 'milpitas' and t2.food_type = 'asian' and t1.street_name = 'n milpitas blvd' and t1.id_restaurant > 385
Question: among all asian restaurants in n. milpitas blvd., milpitas, how many of them have restaurant id greater than 385? | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = ge...
among all asian restaurants in n. milpitas blvd., milpitas, how many of them have restaurant id greater than 385?
restaurant
select t2.label, t1.id_restaurant from location as t1 inner join generalinfo as t2 on t1.id_restaurant = t2.id_restaurant where t1.city = 'san francisco' and t1.street_name = 'ocean avenue'
Question: what is the restaurant's name and id located at ocean avenue, san francisco? | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.id_restaurant...
what is the restaurant's name and id located at ocean avenue, san francisco?
restaurant
select t2.city, t1.street_num, t1.street_name from location as t1 inner join generalinfo as t2 on t1.id_restaurant = t2.id_restaurant where t2.label = 'sanuki restaurant'
Question: what is the full address of the restaurant named 'sanuki restaurant'? | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.id_restaurant = gene...
what is the full address of the restaurant named 'sanuki restaurant'?
restaurant
select t2.food_type from location as t1 inner join generalinfo as t2 on t1.id_restaurant = t2.id_restaurant where t1.street_num = 22779 and t1.street_name = '6th st' and t2.city = 'hayward'
Question: list the food type of the restaurant located in 22779 6th st., hayward city. | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.id_restaurant...
list the food type of the restaurant located in 22779 6th st., hayward city.
restaurant
select count(t2.food_type = 'american') from location as t1 inner join generalinfo as t2 on t1.id_restaurant = t2.id_restaurant where t1.city = 'san francisco' and t1.street_name = 'front'
Question: how many american restaurants are located in front, san francisco? | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.id_restaurant = general...
how many american restaurants are located in front, san francisco?
restaurant
select t1.id_restaurant from location as t1 inner join generalinfo as t2 on t1.id_restaurant = t2.id_restaurant where t2.food_type = 'american' and t1.street_num > 2000 group by t1.id_restaurant order by avg(t2.review) * 0.7 desc
Question: list the restaurant's id that has a review greater than the 70% of average review of all american restaurants with street number greater than 2000. | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, ci...
list the restaurant's id that has a review greater than the 70% of average review of all american restaurants with street number greater than 2000.
restaurant
select cast(sum(iif(t2.food_type = 'afghani', 1, 0)) as real) * 100 / count(t1.id_restaurant) from location as t1 inner join generalinfo as t2 on t1.id_restaurant = t2.id_restaurant where 1000 <= t1.street_num <= 2000
Question: among the restaurants located on the street number ranges from 1000 to 2000, what is the percentage of afghani restaurants are there? | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: g...
among the restaurants located on the street number ranges from 1000 to 2000, what is the percentage of afghani restaurants are there?
restaurant
select label from generalinfo where food_type = 'asian' and city = 'san francisco' and review = ( select max(review) from generalinfo where food_type = 'asian' and city = 'san francisco' )
Question: what is the name of the most popular restaurant serving asian foods in san francisco? | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.id_r...
what is the name of the most popular restaurant serving asian foods in san francisco?
restaurant
select count(distinct city) from geographic where region = 'monterey'
Question: how many cities are there in monterey? | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.id_restaurant = generalinfo.id_restaurant, location...
how many cities are there in monterey?
restaurant
select count(id_restaurant) from generalinfo where city = 'belmont' and review > 2 and food_type = 'deli'
Question: how many deli in belmont have a review rating of 2 or more? | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.id_restaurant = generalinfo.id...
how many deli in belmont have a review rating of 2 or more?
restaurant
select county from geographic where region = 'northern california' group by county order by count(city) desc limit 1
Question: which county in northern california has the highest number of cities? | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.id_restaurant = gene...
which county in northern california has the highest number of cities?
restaurant
select count(id_restaurant) from location where city = 'concord'
Question: how many restaurants can you find in concord? | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.id_restaurant = generalinfo.id_restaurant, l...
how many restaurants can you find in concord?
restaurant
select t2.region from generalinfo as t1 inner join geographic as t2 on t1.city = t2.city order by t1.review desc limit 4
Question: in which region can you find the top 4 most popular restaurants? | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.id_restaurant = generalin...
in which region can you find the top 4 most popular restaurants?
restaurant
select count(t1.id_restaurant) from generalinfo as t1 inner join location as t2 on t1.id_restaurant = t2.id_restaurant where t1.city = 'livermore' and t1.food_type = 'chinese' and t2.street_name = '1st st'
Question: how many chinese restaurants are there on 1st st, livermore? | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.id_restaurant = generalinfo.i...
how many chinese restaurants are there on 1st st, livermore?
restaurant
select count(t1.city) from geographic as t1 inner join generalinfo as t2 on t1.city = t2.city where t2.food_type = 'indian' and t1.region = 'los angeles area'
Question: how many indian restaurants are there in the los angeles area? | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.id_restaurant = generalinfo...
how many indian restaurants are there in the los angeles area?
restaurant
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
Question: in the bay area, what is the most common type of food served by restaurants? | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.id_restaurant...
in the bay area, what is the most common type of food served by restaurants?
restaurant
select count(t1.id_restaurant) from location as t1 inner join generalinfo as t2 on t1.city = t2.city where t1.street_name = 'broadway' and t2.review < 3 and t1.city = 'oakland'
Question: how many restaurants in broadway, oakland received a review of no more than 3? | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.id_restaura...
how many restaurants in broadway, oakland received a review of no more than 3?
restaurant
select t2.region as num from generalinfo as t1 inner join geographic as t2 on t1.city = t2.city where t1.label = 'baskin robbins' group by t2.region order by count(t1.city) desc limit 1
Question: in which region can you find the highest number of baskin robbins restaurants? | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.id_restaura...
in which region can you find the highest number of baskin robbins restaurants?
restaurant
select t1.street_name from location as t1 inner join generalinfo as t2 on t1.city = t2.city where t2.food_type = 'pizza' and t1.city = 'san jose'
Question: list all the streets where pizza-serving restaurants are found in san jose. | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.id_restaurant ...
list all the streets where pizza-serving restaurants are found in san jose.
restaurant
select count(t2.food_type) from geographic as t1 inner join generalinfo as t2 on t1.city = t2.city where t1.region = 'yosemite and mono lake area'
Question: how many types of restaurants are there in the yosemite and mono lake area? | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.id_restaurant ...
how many types of restaurants are there in the yosemite and mono lake area?
restaurant
select t2.street_name, t2.street_num, t2.city from generalinfo as t1 inner join location as t2 on t1.id_restaurant = t2.id_restaurant order by t1.review desc limit 1
Question: what is the full address of the most popular restaurant among the diners? | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.id_restaurant = ...
what is the full address of the most popular restaurant among the diners?
restaurant
select t2.county from generalinfo as t1 inner join geographic as t2 on t1.city = t2.city group by t2.county order by count(t1.label) desc limit 1
Question: in which counties can you find the restaurant with the highest number of branches? | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.id_rest...
in which counties can you find the restaurant with the highest number of branches?
restaurant
select t1.region from geographic as t1 inner join location as t2 on t1.city = t2.city group by t1.region order by count(t2.id_restaurant) desc limit 1
Question: which region has the highest number of restaurants? | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.id_restaurant = generalinfo.id_restaur...
which region has the highest number of restaurants?
restaurant
select t1.street_num, t1.street_name, t1.city from location as t1 inner join generalinfo as t2 on t1.city = t2.city where t2.review >= 4
Question: list the full address of all the american restaurants with a review of 4 or more? | Tables: geographic -> city, county, region. generalinfo -> id_restaurant, label, food_type, city, review. location -> id_restaurant, street_num, street_name, city. | Joins: generalinfo.city = geographic.city, location.id_resta...
list the full address of all the american restaurants with a review of 4 or more?
soccer_2016
select count(player_id) from player where substr(dob, 1, 4) > 1985
Question: how many players were born after the year 1985? | Tables: Batting_Style -> Batting_Id, Batting_hand. Bowling_Style -> Bowling_Id, Bowling_skill. City -> City_Id, City_Name, Country_id. Country -> Country_Id, Country_Name. Extra_Type -> Extra_Id, Extra_Name. Extra_Runs -> Match_Id, Over_Id, Ball_Id, Extra_Type...
how many players were born after the year 1985?
soccer_2016
select count(match_id) from `match` where substr(match_date, 1, 4) = '2008' and substr(match_date, 7, 1) = '5'
Question: how many matches were there in may, 2008? | Tables: Batting_Style -> Batting_Id, Batting_hand. Bowling_Style -> Bowling_Id, Bowling_skill. City -> City_Id, City_Name, Country_id. Country -> Country_Id, Country_Name. Extra_Type -> Extra_Id, Extra_Name. Extra_Runs -> Match_Id, Over_Id, Ball_Id, Extra_Type_Id, E...
how many matches were there in may, 2008?
soccer_2016
select count(match_id) from `match` where man_of_the_match = 41
Question: for how many times has player no.41 won the 'man of the match' award? | Tables: Batting_Style -> Batting_Id, Batting_hand. Bowling_Style -> Bowling_Id, Bowling_skill. City -> City_Id, City_Name, Country_id. Country -> Country_Id, Country_Name. Extra_Type -> Extra_Id, Extra_Name. Extra_Runs -> Match_Id, Over_I...
for how many times has player no.41 won the 'man of the match' award?
soccer_2016
select match_id from `match` where substr(match_date, 1, 4) = '2008'
Question: please list the ids of all the matches in the year 2008. | Tables: Batting_Style -> Batting_Id, Batting_hand. Bowling_Style -> Bowling_Id, Bowling_skill. City -> City_Id, City_Name, Country_id. Country -> Country_Id, Country_Name. Extra_Type -> Extra_Id, Extra_Name. Extra_Runs -> Match_Id, Over_Id, Ball_Id, E...
please list the ids of all the matches in the year 2008.
soccer_2016
select count(case when t2.country_name = 'australia' then t1.player_id else null end) from player as t1 inner join country as t2 on t1.country_name = t2.country_id
Question: how many players are from australia? | Tables: Batting_Style -> Batting_Id, Batting_hand. Bowling_Style -> Bowling_Id, Bowling_skill. City -> City_Id, City_Name, Country_id. Country -> Country_Id, Country_Name. Extra_Type -> Extra_Id, Extra_Name. Extra_Runs -> Match_Id, Over_Id, Ball_Id, Extra_Type_Id, Extra_...
how many players are from australia?
soccer_2016
select t1.country_name from country as t1 inner join player as t2 on t2.country_name = t1.country_id where t2.country_name is not null order by t2.dob limit 1
Question: which country is the oldest player from? | Tables: Batting_Style -> Batting_Id, Batting_hand. Bowling_Style -> Bowling_Id, Bowling_skill. City -> City_Id, City_Name, Country_id. Country -> Country_Id, Country_Name. Extra_Type -> Extra_Id, Extra_Name. Extra_Runs -> Match_Id, Over_Id, Ball_Id, Extra_Type_Id, Ex...
which country is the oldest player from?
soccer_2016
select t1.bowling_skill from bowling_style as t1 inner join player as t2 on t2.bowling_skill = t1.bowling_id where t2.player_name = 'sc ganguly'
Question: what is the bowling skill of sc ganguly? | Tables: Batting_Style -> Batting_Id, Batting_hand. Bowling_Style -> Bowling_Id, Bowling_skill. City -> City_Id, City_Name, Country_id. Country -> Country_Id, Country_Name. Extra_Type -> Extra_Id, Extra_Name. Extra_Runs -> Match_Id, Over_Id, Ball_Id, Extra_Type_Id, Ex...
what is the bowling skill of sc ganguly?
soccer_2016
select sum(case when substr(t1.dob, 1, 4) > 1985 then 1 else 0 end) from player as t1 inner join batting_style as t2 on t1.batting_hand = t2.batting_id where t2.batting_hand = 'right-hand bat'
Question: among the players who use the right hand as their batting hand, how many of them were born after 1985? | Tables: Batting_Style -> Batting_Id, Batting_hand. Bowling_Style -> Bowling_Id, Bowling_skill. City -> City_Id, City_Name, Country_id. Country -> Country_Id, Country_Name. Extra_Type -> Extra_Id, Extra_Nam...
among the players who use the right hand as their batting hand, how many of them were born after 1985?
soccer_2016
select t2.player_name from country as t1 inner join player as t2 on t2.country_name = t1.country_id inner join batting_style as t3 on t2.batting_hand = t3.batting_id where t1.country_name = 'australia' and t3.batting_hand = 'right-hand bat'
Question: please list the names of the players who use the right hand as their batting hand and are from australia. | Tables: Batting_Style -> Batting_Id, Batting_hand. Bowling_Style -> Bowling_Id, Bowling_skill. City -> City_Id, City_Name, Country_id. Country -> Country_Id, Country_Name. Extra_Type -> Extra_Id, Extra_...
please list the names of the players who use the right hand as their batting hand and are from australia.
soccer_2016
select t2.bowling_skill from player as t1 inner join bowling_style as t2 on t1.bowling_skill = t2.bowling_id inner join country as t3 on t1.country_name = t3.country_id where t3.country_name = 'australia' group by t2.bowling_skill
Question: please list the bowling skills of all the players from australia. | Tables: Batting_Style -> Batting_Id, Batting_hand. Bowling_Style -> Bowling_Id, Bowling_skill. City -> City_Id, City_Name, Country_id. Country -> Country_Id, Country_Name. Extra_Type -> Extra_Id, Extra_Name. Extra_Runs -> Match_Id, Over_Id, B...
please list the bowling skills of all the players from australia.
soccer_2016
select min(t1.dob) from player as t1 inner join bowling_style as t2 on t1.bowling_skill = t2.bowling_id where t2.bowling_skill = 'legbreak'
Question: among the players whose bowling skill is 'legbreak', when was the oldest one of them born? | Tables: Batting_Style -> Batting_Id, Batting_hand. Bowling_Style -> Bowling_Id, Bowling_skill. City -> City_Id, City_Name, Country_id. Country -> Country_Id, Country_Name. Extra_Type -> Extra_Id, Extra_Name. Extra_Run...
among the players whose bowling skill is 'legbreak', when was the oldest one of them born?
soccer_2016
select t1.bowling_skill from bowling_style as t1 inner join player as t2 on t2.bowling_skill = t1.bowling_id group by t1.bowling_skill order by count(t1.bowling_skill) desc limit 1
Question: what is the bowling skill used by most players? | Tables: Batting_Style -> Batting_Id, Batting_hand. Bowling_Style -> Bowling_Id, Bowling_skill. City -> City_Id, City_Name, Country_id. Country -> Country_Id, Country_Name. Extra_Type -> Extra_Id, Extra_Name. Extra_Runs -> Match_Id, Over_Id, Ball_Id, Extra_Type...
what is the bowling skill used by most players?
soccer_2016
select t2.player_name from match as t1 inner join player as t2 on t2.player_id = t1.man_of_the_match where t1.match_date = '2008-04-18'
Question: what is the name of the player who won the 'man of the match' award in the match on 2008/4/18? | Tables: Batting_Style -> Batting_Id, Batting_hand. Bowling_Style -> Bowling_Id, Bowling_skill. City -> City_Id, City_Name, Country_id. Country -> Country_Id, Country_Name. Extra_Type -> Extra_Id, Extra_Name. Extra...
what is the name of the player who won the 'man of the match' award in the match on 2008/4/18?