Chinastark/bird_dataset huggingface dataset:
Database: restaurant
Question: Indicate the street numbers where Aux Delices Vietnamese Restaurant are located.
Evidence: street numbers refers to street_num; Aux Delices Vietnamese Restaurant refers to label = 'aux delices vietnamese restaurant'
SQL: SELECT DISTINCT T1.street_num FROM location AS T1 INNER JOIN generalinfo AS T2 ON T1.id_restaurant = T2.id_restaurant WHERE T2.label = 'aux delices vietnamese restaurant'
Database: restaurant
Question: Identify all the restaurants in Marin County by their id.
SQL: SELECT T1.id_restaurant FROM generalinfo AS T1 INNER JOIN geographic AS T2 ON T1.city = T2.city WHERE T2.county = 'marin county'
Database: restaurant
Question: In which regions are there no pizza restaurants?
Evidence: no pizza restaurants refers to food_type = 'pizza'
SQL: SELECT DISTINCT T2.region FROM generalinfo AS T1 INNER JOIN geographic AS T2 ON T1.city = T2.city WHERE T1.food_type = 'pizza' AND T2.region != 'unknown'
Database: restaurant
Question: Calculate the average rating of reviews for restaurants in Santa Cruz County.
Evidence: average rating = divide(sum(review where county = 'santa cruz county'), count(id_restaurant where county = 'santa cruz county'))
SQL: SELECT AVG(T2.review) FROM geographic AS T1 INNER JOIN generalinfo AS T2 ON T1.city = T2.city WHERE T1.county = 'santa cruz county'
Database: restaurant
Question: What percentage of restaurants in Monterey County have Mexican food?
Evidence: Mexican food refers to food_type = 'mexican'; percentage = divide(count(id_restaurant where food_type = 'mexican'), count(id_restaurant)) where county = 'monterey county' * 100%
SQL: SELECT CAST(SUM(IIF(T2.food_type = 'mexican', 1, 0)) AS REAL) * 100 / COUNT(T2.id_restaurant) FROM geographic AS T1 INNER JOIN generalinfo AS T2 ON T1.city = T2.city WHERE T1.county = 'monterey county'
Database: restaurant
Question: What percentage of streets named 11th Street are in Alameda County?
Evidence: street named 11th Street refers to street_name = '11th st'; percentage = divide(count(street_name = '11th st' and County = 'alameda county'), count(street_name where County = 'alameda county')) * 100%
SQL: SELECT CAST(SUM(IIF(T1.street_name = '11th st', 1, 0)) AS REAL) * 100 / COUNT(T1.id_restaurant) FROM location AS T1 INNER JOIN geographic AS T2 ON T1.city = T2.city WHERE T2.County = 'alameda county'
Database: restaurant
Question: Please list all of the restaurants that serve European food.
Evidence: restaurant refers to label; European food refers to food_type = 'european'
SQL: SELECT label FROM generalinfo WHERE food_type = 'european'
Database: restaurant
Question: What cities are located in Northern California?
Evidence: Northern California refers to region = 'northern california'
SQL: SELECT city FROM geographic WHERE region = 'northern california'
Database: restaurant
Question: What does the one and only 24-hour diner's name?
Evidence: 24-hour diner refers to food_type = '24 hour diner'; diner name refers to label
SQL: SELECT label FROM generalinfo WHERE food_type = '24 hour diner'
Database: restaurant
Question: Please list any five cities that have an unidentified county and region.
Evidence: unidentified county and region refers to county = 'unknown' AND region = 'unknown'
SQL: SELECT city FROM geographic WHERE county = 'unknown' AND region = 'unknown' LIMIT 5
Database: restaurant
Question: Please list all of the street names in Clayton City.
SQL: SELECT street_name FROM location WHERE city = 'Clayton'
Database: restaurant
Question: What are the most popular restaurants in San Francisco among diners?
Evidence: the most popular refers to max(review); restaurant refers to label; San Francisco refers to city = 'San Francisco'
SQL: SELECT id_restaurant, label FROM generalinfo WHERE city = 'San Francisco' AND review = ( SELECT MAX(review) FROM generalinfo WHERE city = 'San Francisco' )
Database: restaurant
Question: How many American food restaurants are unpopular in Carmel?
Evidence: American Food Restaurant refers to food_type = 'ameraican'; unpopular refers to min(review); Carmel refers to city = 'Carmel'
SQL: 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' )
Database: restaurant
Question: What is the percentage of restaurants that serve American food in Dublin city?
Evidence: American food refers to food_type = 'american food'; percentage = divide(count(id_restaurant), count(id_restaurant where food_type = 'american food')) where city = 'dublin' * 100%
SQL: SELECT CAST(SUM(IIF(food_type = 'american food', 1, 0)) AS REAL) * 100 / COUNT(id_restaurant) FROM generalinfo WHERE city = 'dublin'
Database: restaurant
Question: What is the full address of Albert's Café?
Evidence: full address = street_num, street_name, city; Albert's Café refers to label = 'Albert's Café'
SQL: 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é'
Database: restaurant
Question: What are the restaurants that are located at "19th St. Oakland"?
Evidence: restaurant refers to label; "19th St. Oakland" refers to street_name = '19th St' AND city = 'Oakland'
SQL: 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'
Database: restaurant
Question: What kind of restaurants can be found at "106 E 25th Ave"?
Evidence: kind of restaurant refers to food_type; "106 E 25th Ave" refers to street_name = 'e 25th ave'
SQL: 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'
Database: restaurant
Question: Please name any three restaurants that have an unidentified region.
Evidence: restaurant name refers to label; unidentified region refers to region = 'unknown'
SQL: 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
Database: restaurant
Question: What is the name of the Chinese restaurant that can be found at 104 San Tomas Aquino Road, Campbell?
Evidence: restaurant name refers to label; Chinese restaurant refers to food_type = 'chinese'; 104 San Tomas Aquino Road Campbell refers to street_num = 104 AND street_name = 'san tomas aquino road' AND city = 'campbell'
SQL: 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'
Database: restaurant
Question: How many Thai restaurants can be found in San Pablo Ave, Albany?
Evidence: Thai restaurant refers to food_type = 'thai'; San Pablo Ave Albany refers to street_name = 'san pablo ave' AND T1.city = 'albany'
SQL: 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'
Database: restaurant
Question: What is the county and region of Plearn-Thai Cuisine restaurant?
Evidence: Plearn-Thai Cuisine restaurant refers to label = 'plearn-thai cuisine'
SQL: 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'
Database: restaurant
Question: What is the name of the restaurant that is located in El Dorado County, Lake Tahoe region?
Evidence: restaurant name refers to label
SQL: 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'
Database: restaurant
Question: Which county and region does the street E. El Camino Real belong to?
Evidence: street E. El Camino Real refers to street_name = 'E. El Camino Real'
SQL: 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'
Database: restaurant
Question: What is the name of the least popular Indian restaurant on Shattuck Avenue in Berkeley?
Evidence: restaurant name refers to label; the least popular refers to min(review); Indian restaurant refers to food_type = 'Indian restaurant'; Shattuck Avenue in Berkeley refers to street_name = 'shattuck ave' and city = 'berkeley'
SQL: 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
Database: restaurant
Question: What is the percentage of restaurants in the Bay Area region that scored over 4 for the review rating?
Evidence: scored over 4 refers to review > 4; percentage = divide(count(id_restaurant where region = 'bay area' and review > 4), count(id_restaurant where region = 'Bay Area')) * 100%
SQL: 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'
Database: restaurant
Question: How many restaurants have more than 4 star reviews?
Evidence: more than 4 star review refers to review > 4
SQL: SELECT COUNT(id_restaurant) AS cnt FROM generalinfo WHERE review > 4
Database: restaurant
Question: Which street has the most restaurants?
Evidence: street refers to street_name; the most restaurants refers to max(count(street_name))
SQL: SELECT street_name FROM location GROUP BY street_name ORDER BY COUNT(street_name) DESC LIMIT 1
Database: restaurant
Question: Which chicken restaurant has the highest review?
Evidence: chicken restaurant refers to food_type = 'chicken'; the highest review refers to max(review)
SQL: SELECT label FROM generalinfo WHERE food_type = 'chicken' ORDER BY review DESC LIMIT 1
Database: restaurant
Question: Which county is El Cerrito from?
Evidence: El Cerrito refers to city = 'el cerrito'
SQL: SELECT county FROM geographic WHERE city = 'el cerrito'
Database: restaurant
Question: How many restaurants are on Irving Street?
Evidence: Irving Street refers to street_name = 'irving'
SQL: SELECT COUNT(id_restaurant) FROM location WHERE street_name = 'irving'
Database: restaurant
Question: Provide a list of restaurants from Marin county.
Evidence: restaurant refers to label
SQL: SELECT T1.label FROM generalinfo AS T1 INNER JOIN geographic AS T2 ON T1.city = T2.city WHERE T2.county = 'marin county'
Database: restaurant
Question: What is the address of the Peking Duck restaurant?
Evidence: address refers to street_num, street_name; Peking Duck restaurant refers to label = 'peking duck restaurant'
SQL: 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'
Database: restaurant
Question: List all the streets with more than 10 restaurants in Alameda county.
Evidence: street refers to street_name; more than 10 restaurants refers to count(id_restaurant) > 10
SQL: 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
Database: restaurant
Question: What are the regions with Greek restaurants?
Evidence: Greek restaurant refers to food_type = 'greek'
SQL: SELECT DISTINCT T1.region FROM geographic AS T1 INNER JOIN generalinfo AS T2 ON T1.city = T2.city WHERE T2.food_type = 'greek'
Database: restaurant
Question: List all of the restaurant addresses from an unknown region.
Evidence: restaurant address refers to street_num, street_name; unknown region refers to region = 'unknown'
SQL: SELECT T2.street_name FROM geographic AS T1 INNER JOIN location AS T2 ON T1.city = T2.city WHERE T1.region = 'unknown'
Database: restaurant
Question: What is the review of the restaurant at 8440 Murray Ave?
Evidence: 8440 Murray Ave refers to street_num = 8440 and street_name = 'murray ave'
SQL: 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
Database: restaurant
Question: What type of restaurant is most common in Monterey county?
Evidence: type refers to food_type; most common refers to max(count(food_type))
SQL: 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
Database: restaurant
Question: Which street in San Francisco has the most burger restaurants?
Evidence: street refers to street_name; San Francisco refers to city = 'san francisco'; burger restaurant refers to food_type = 'burgers'; the most burger restaurants refers to max(count(street_name where food_type = 'burgers' and city = 'san francisco'))
SQL: 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
Database: restaurant
Question: What is the region of 1149 El Camino Real?
Evidence: 1149 El Camino Real refers to street_num = 1149 and street_name = 'el camino real'
SQL: 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'
Database: restaurant
Question: What is the county of the Sankee restaurant?
Evidence: Sankee restaurant refers to label = 'sankee'
SQL: SELECT T2.county FROM generalinfo AS T1 INNER JOIN geographic AS T2 ON T1.city = T2.city WHERE T1.label = 'sankee'
Database: restaurant
Question: How many streets with restaurants are there in the Northern California region?
SQL: SELECT COUNT(T1.city) FROM geographic AS T1 INNER JOIN location AS T2 ON T1.city = T2.city WHERE T1.region = 'northern california'
Database: restaurant
Question: List all of the restaurants on Park St.
Evidence: restaurant refers to label; Park St refers to street_name = 'park st'
SQL: 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'
Database: restaurant
Question: What percentage of restaurants are from the Bay Area?
Evidence: Bay Area refers to region = 'bay area'; percentage = divide(count(id_restaurant where region = 'bay area'), count(id_restaurant)) * 100%
SQL: 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
Database: restaurant
Question: List all the average reviews of Chinese restaurants for each county from highest to lowest.
Evidence: Chinese restaurant refers to food_type = 'chinese'; average review refers to divide(sum(review), count(review))
SQL: 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
Database: restaurant
Question: List street names in San Francisco city.
SQL: SELECT street_name FROM location WHERE city = 'San Francisco'
Database: restaurant
Question: List restaurant ids located in Danville city.
SQL: SELECT id_restaurant FROM location WHERE city = 'Danville'
Database: restaurant
Question: How many cities are located in the Bay Area?
Evidence: the Bay Area refers to region = 'bay area'
SQL: SELECT COUNT(city) FROM geographic WHERE region = 'bay area'
Database: restaurant
Question: How many labels of the restaurant have an unknown country?
Evidence: unknown county refers to county = 'unknown'
SQL: SELECT COUNT(T1.label) FROM generalinfo AS T1 INNER JOIN geographic AS T2 ON T1.city = T2.city WHERE T2.county = 'unknown'
Database: restaurant
Question: Please indicate the street names of restaurants with food type is American.
SQL: SELECT T1.street_name FROM location AS T1 INNER JOIN generalinfo AS T2 ON T1.city = T2.city WHERE T2.food_type = 'American'
Database: restaurant
Question: Please indicate which labels have the city located in Santa Cruz.
Evidence: Santa Cruz refers to county = 'Santa Cruz county'
SQL: SELECT T1.label FROM generalinfo AS T1 INNER JOIN geographic AS T2 ON T1.city = T2.city WHERE T2.county = 'Santa Cruz county'
Database: restaurant
Question: Give the review of the restaurant at 430, Broadway.
Evidence: 430 Broadway refers to street_num = 430 and street_name = 'Broadway'
SQL: 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
Database: restaurant
Question: Indicate the address of the restaurant with the most popular reviews.
Evidence: address refers to street_num, street_name; the most popular review refers to max(review)
SQL: 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
Database: restaurant
Question: Which country has the most restaurants with Italian food?
Evidence: Italian food refers to food_type = 'Italian'
SQL: 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
Database: restaurant
Question: Find the percentage of restaurant in Napa Valley.
Evidence: Napa Valley refers to region = 'Napa Valley'; percentage = divide(count(id_restaurant where region = 'Napa Valley'), count(id_restaurant)) * 100%
SQL: SELECT CAST(SUM(IIF(region = 'Napa Valley', 1, 0)) AS REAL) * 100 / COUNT(region) FROM geographic
Database: restaurant
Question: How many of the cities are in a Bay Area?
Evidence: Bay Area refers to region = 'bay area'
SQL: SELECT COUNT(city) FROM geographic WHERE region = 'bay area'
Database: restaurant
Question: List down the cities with unknown country.
Evidence: unknown county refers to county = 'unknown'
SQL: SELECT city FROM geographic WHERE county = 'unknown'
Database: restaurant
Question: What is the city located in Bay Area of Santa Clara?
Evidence: Bay Area refers to region = 'bay area'; Santa Clara refers to county = 'santa clara county'
SQL: SELECT city FROM geographic WHERE region = 'bay area' AND county = 'santa clara county'
Database: restaurant
Question: List down the restaurant ID of restaurants located in Sunnyvale.
Evidence: Sunnyvale refers to city = 'sunnyvale'
SQL: SELECT id_restaurant FROM location WHERE city = 'sunnyvale'
Database: restaurant
Question: Among the restaurants on street number below 1000, how many of them are in Railroad St.?
Evidence: street number below 1000 refers to street_num < 1000; Railroad St. refers to street_name = 'railroad'
SQL: SELECT COUNT(city) FROM location WHERE street_name = 'railroad' AND street_num < 1000
Database: restaurant
Question: What is the name of the 24 hour diner at San Francisco?
Evidence: name refers to label; 24 hour diner refers to food_type = '24 hour diner'; San Francisco refers to city = 'san francisco'
SQL: SELECT label FROM generalinfo WHERE food_type = '24 hour diner' AND city = 'san francisco'
Database: restaurant
Question: Give the review of the restaurant located in Ocean St., Santa Cruz.
Evidence: Ocean St. refers to street_name = 'ocean st'; Santa Cruz refers to city = 'santa cruz'
SQL: 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'
Database: restaurant
Question: Give the street number of a bar in Oakland with a 2.7 review.
Evidence: street number refers to street_num; bar refers to food_type = 'bar'; Oakland refers to city = 'oakland'; 2.7 review refers to review = 2.7
SQL: 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'
Database: restaurant
Question: Among the bakeries, what is total number of bakery located at University Avenue, Palo Alto?
Evidence: bakery refers to food_type = 'bakery'; University Avenue refers to street_name = 'university ave.'; Palo Alto refers to city = 'palo alto'
SQL: 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.'
Database: restaurant
Question: Among the listed winery, what is the street number of the winery named "Tulocay Winery"?
Evidence: winery refers to food_type = 'winery'; street number refers to street_num; "Tulocay Winery" refers to label = 'Tulocay winery'
SQL: 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'
Database: restaurant
Question: List the review and label of the restaurants in Mission Blvd., Hayward.
Evidence: Mission Blvd. refers to street_name = 'mission blvd'; Hayward refers to city = 'hayward'
SQL: 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'
Database: restaurant
Question: Among all indian restaurants in Castro St., Mountainview, how many of them is about cookhouse in their label?
Evidence: indian restaurant refers to food_type = 'indian'; Castro St. refers to street_name = 'castro st'; Mountainview refers to city = 'mountainview'; have the word "Indian" in label refers to label = 'indian'
SQL: 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%'
Database: restaurant
Question: In restaurants with a review of 2, how many restaurants have a street number below 500?
Evidence: review of 2 refers to review = 2; street number below 500 refers to street_num < 500
SQL: 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
Database: restaurant
Question: Among all asian restaurants in N. Milpitas Blvd., Milpitas, how many of them have restaurant ID greater than 385?
Evidence: asian restaurant refers to food_type = 'asian'; N. Milpitas Blvd. refers to street_name = 'n milpitas blvd'; Milpitas refers to city = 'milpitas'; restaurant ID greater than 385 refers to id_restaurant > 385
SQL: 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
Database: restaurant
Question: What is the restaurant's name and ID located at Ocean Avenue, San Francisco?
Evidence: restaurant's name refers to label; Ocean Avenue refers to street_name = 'ocean avenue'; San Francisco refers to city = 'san francisco'
SQL: 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'
Database: restaurant
Question: What is the full address of the restaurant named "Sanuki Restaurant"?
Evidence: full address refers to city, street_num, street_name; restaurant named "Sanuki Restaurant" refers to label = 'sanuki restaurant'
SQL: 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'
Database: restaurant
Question: List the food type of the restaurant located in 22779 6th St., Hayward City.
Evidence: 22779 refers to street_num = 22779; 6th St. refers to street_name = '6th St'
SQL: 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'