system
stringlengths 30
393
| conversations
list |
---|---|
CREATE TABLE restaurant (id VARCHAR, name VARCHAR), CREATE TABLE LOCATION (house_number VARCHAR, city_name VARCHAR, restaurant_id VARCHAR, street_name VARCHAR) | [
{
"from": "user",
"value": "我们在哪里可以找到在“鼓浪屿”“龙头路”上的餐厅?"
},
{
"from": "assistant",
"value": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"鼓浪屿\" AND t2.street_name = \"龙头路\";"
}
] |
CREATE TABLE restaurant (id VARCHAR, name VARCHAR), CREATE TABLE LOCATION (house_number VARCHAR, city_name VARCHAR, restaurant_id VARCHAR, street_name VARCHAR) | [
{
"from": "user",
"value": "我们在哪里可以找出位置在“鼓浪屿”“龙头路”的一些餐厅?"
},
{
"from": "assistant",
"value": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"鼓浪屿\" AND t2.street_name = \"龙头路\";"
}
] |
CREATE TABLE restaurant (rating INTEGER, city_name VARCHAR, name VARCHAR, food_type VARCHAR, id VARCHAR), CREATE TABLE geographic (region VARCHAR, city_name VARCHAR), CREATE TABLE LOCATION (house_number VARCHAR, restaurant_id VARCHAR) | [
{
"from": "user",
"value": "“厦门”最好的吃的“四川”菜餐馆在哪里?"
},
{
"from": "assistant",
"value": "SELECT t3.house_number , t1.name FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name JOIN LOCATION AS t3 ON t1.id = t3.restaurant_id WHERE t2.region = \"厦门\" AND t1.food_type = \"四川\" AND t1.rating = ( SELECT MAX ( t1.rating ) FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name WHERE t2.region = \"厦门\" AND t1.food_type = \"四川\" );"
}
] |
CREATE TABLE restaurant (rating INTEGER, city_name VARCHAR, name VARCHAR, food_type VARCHAR, id VARCHAR), CREATE TABLE geographic (region VARCHAR, city_name VARCHAR), CREATE TABLE LOCATION (house_number VARCHAR, restaurant_id VARCHAR) | [
{
"from": "user",
"value": "“厦门”吃“四川”菜最好的餐馆在哪里?"
},
{
"from": "assistant",
"value": "SELECT t3.house_number , t1.name FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name JOIN LOCATION AS t3 ON t1.id = t3.restaurant_id WHERE t2.region = \"厦门\" AND t1.food_type = \"四川\" AND t1.rating = ( SELECT MAX ( t1.rating ) FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name WHERE t2.region = \"厦门\" AND t1.food_type = \"四川\" );"
}
] |
CREATE TABLE restaurant (rating INTEGER, city_name VARCHAR, name VARCHAR, food_type VARCHAR, id VARCHAR), CREATE TABLE geographic (region VARCHAR, city_name VARCHAR), CREATE TABLE LOCATION (house_number VARCHAR, restaurant_id VARCHAR) | [
{
"from": "user",
"value": "“厦门”最好的“四川”菜餐厅是什么?"
},
{
"from": "assistant",
"value": "SELECT t3.house_number , t1.name FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name JOIN LOCATION AS t3 ON t1.id = t3.restaurant_id WHERE t2.region = \"厦门\" AND t1.food_type = \"四川\" AND t1.rating = ( SELECT MAX ( t1.rating ) FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name WHERE t2.region = \"厦门\" AND t1.food_type = \"四川\" );"
}
] |
CREATE TABLE restaurant (rating INTEGER, city_name VARCHAR, name VARCHAR, food_type VARCHAR, id VARCHAR), CREATE TABLE geographic (region VARCHAR, city_name VARCHAR), CREATE TABLE LOCATION (house_number VARCHAR, restaurant_id VARCHAR) | [
{
"from": "user",
"value": "“厦门”最好的“四川”餐馆是什么?"
},
{
"from": "assistant",
"value": "SELECT t3.house_number , t1.name FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name JOIN LOCATION AS t3 ON t1.id = t3.restaurant_id WHERE t2.region = \"厦门\" AND t1.food_type = \"四川\" AND t1.rating = ( SELECT MAX ( t1.rating ) FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name WHERE t2.region = \"厦门\" AND t1.food_type = \"四川\" );"
}
] |
CREATE TABLE restaurant (rating INTEGER, city_name VARCHAR, name VARCHAR, food_type VARCHAR, id VARCHAR), CREATE TABLE geographic (region VARCHAR, city_name VARCHAR), CREATE TABLE LOCATION (house_number VARCHAR, restaurant_id VARCHAR) | [
{
"from": "user",
"value": "“厦门”最好的“四川”餐馆在哪里?"
},
{
"from": "assistant",
"value": "SELECT t3.house_number , t1.name FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name JOIN LOCATION AS t3 ON t1.id = t3.restaurant_id WHERE t2.region = \"厦门\" AND t1.food_type = \"四川\" AND t1.rating = ( SELECT MAX ( t1.rating ) FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name WHERE t2.region = \"厦门\" AND t1.food_type = \"四川\" );"
}
] |
CREATE TABLE restaurant (rating INTEGER, city_name VARCHAR, name VARCHAR, food_type VARCHAR, id VARCHAR), CREATE TABLE geographic (region VARCHAR, city_name VARCHAR), CREATE TABLE LOCATION (house_number VARCHAR, restaurant_id VARCHAR) | [
{
"from": "user",
"value": "“厦门”最好的“四川”餐厅是哪一个?"
},
{
"from": "assistant",
"value": "SELECT t3.house_number , t1.name FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name JOIN LOCATION AS t3 ON t1.id = t3.restaurant_id WHERE t2.region = \"厦门\" AND t1.food_type = \"四川\" AND t1.rating = ( SELECT MAX ( t1.rating ) FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name WHERE t2.region = \"厦门\" AND t1.food_type = \"四川\" );"
}
] |
CREATE TABLE restaurant (rating INTEGER, city_name VARCHAR, name VARCHAR, food_type VARCHAR, id VARCHAR), CREATE TABLE geographic (region VARCHAR, city_name VARCHAR), CREATE TABLE LOCATION (house_number VARCHAR, restaurant_id VARCHAR) | [
{
"from": "user",
"value": "给出“厦门”最好的吃“四川”菜的餐厅"
},
{
"from": "assistant",
"value": "SELECT t3.house_number , t1.name FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name JOIN LOCATION AS t3 ON t1.id = t3.restaurant_id WHERE t2.region = \"厦门\" AND t1.food_type = \"四川\" AND t1.rating = ( SELECT MAX ( t1.rating ) FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name WHERE t2.region = \"厦门\" AND t1.food_type = \"四川\" );"
}
] |
CREATE TABLE restaurant (rating INTEGER, city_name VARCHAR, name VARCHAR, food_type VARCHAR, id VARCHAR), CREATE TABLE geographic (region VARCHAR, city_name VARCHAR), CREATE TABLE LOCATION (house_number VARCHAR, restaurant_id VARCHAR) | [
{
"from": "user",
"value": "位置是“厦门”的“四川”菜最好的餐厅"
},
{
"from": "assistant",
"value": "SELECT t3.house_number , t1.name FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name JOIN LOCATION AS t3 ON t1.id = t3.restaurant_id WHERE t2.region = \"厦门\" AND t1.food_type = \"四川\" AND t1.rating = ( SELECT MAX ( t1.rating ) FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name WHERE t2.region = \"厦门\" AND t1.food_type = \"四川\" );"
}
] |
CREATE TABLE restaurant (rating INTEGER, city_name VARCHAR, name VARCHAR, food_type VARCHAR, id VARCHAR), CREATE TABLE geographic (region VARCHAR, city_name VARCHAR), CREATE TABLE LOCATION (house_number VARCHAR, restaurant_id VARCHAR) | [
{
"from": "user",
"value": "“厦门”最好的中餐厅是哪一家?"
},
{
"from": "assistant",
"value": "SELECT t3.house_number , t1.name FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name JOIN LOCATION AS t3 ON t1.id = t3.restaurant_id WHERE t2.region = \"厦门\" AND t1.food_type = \"四川\" AND t1.rating = ( SELECT MAX ( t1.rating ) FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name WHERE t2.region = \"厦门\" AND t1.food_type = \"四川\" );"
}
] |
CREATE TABLE restaurant (rating INTEGER, city_name VARCHAR, name VARCHAR, food_type VARCHAR, id VARCHAR), CREATE TABLE geographic (region VARCHAR, city_name VARCHAR), CREATE TABLE LOCATION (house_number VARCHAR, restaurant_id VARCHAR) | [
{
"from": "user",
"value": "“厦门”最好的“四川”菜餐厅在哪里?"
},
{
"from": "assistant",
"value": "SELECT t3.house_number , t1.name FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name JOIN LOCATION AS t3 ON t1.id = t3.restaurant_id WHERE t2.region = \"厦门\" AND t1.food_type = \"四川\" AND t1.rating = ( SELECT MAX ( t1.rating ) FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name WHERE t2.region = \"厦门\" AND t1.food_type = \"四川\" );"
}
] |
CREATE TABLE restaurant (rating INTEGER, city_name VARCHAR, name VARCHAR, food_type VARCHAR, id VARCHAR), CREATE TABLE geographic (region VARCHAR, city_name VARCHAR), CREATE TABLE LOCATION (house_number VARCHAR, restaurant_id VARCHAR) | [
{
"from": "user",
"value": "“厦门”评价最好的“四川”菜馆"
},
{
"from": "assistant",
"value": "SELECT t3.house_number , t1.name FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name JOIN LOCATION AS t3 ON t1.id = t3.restaurant_id WHERE t2.region = \"厦门\" AND t1.food_type = \"四川\" AND t1.rating = ( SELECT MAX ( t1.rating ) FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name WHERE t2.region = \"厦门\" AND t1.food_type = \"四川\" );"
}
] |
CREATE TABLE restaurant (rating INTEGER, city_name VARCHAR, name VARCHAR, food_type VARCHAR, id VARCHAR), CREATE TABLE geographic (region VARCHAR, city_name VARCHAR), CREATE TABLE LOCATION (house_number VARCHAR, restaurant_id VARCHAR) | [
{
"from": "user",
"value": "“厦门”最好的“四川”餐馆"
},
{
"from": "assistant",
"value": "SELECT t3.house_number , t1.name FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name JOIN LOCATION AS t3 ON t1.id = t3.restaurant_id WHERE t2.region = \"厦门\" AND t1.food_type = \"四川\" AND t1.rating = ( SELECT MAX ( t1.rating ) FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name WHERE t2.region = \"厦门\" AND t1.food_type = \"四川\" );"
}
] |
CREATE TABLE restaurant (rating INTEGER, city_name VARCHAR, name VARCHAR, food_type VARCHAR, id VARCHAR), CREATE TABLE geographic (region VARCHAR, city_name VARCHAR), CREATE TABLE LOCATION (house_number VARCHAR, restaurant_id VARCHAR) | [
{
"from": "user",
"value": "一些在“西湖”地区适合吃“淮南”菜的餐馆?"
},
{
"from": "assistant",
"value": "SELECT t3.house_number , t1.name FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name JOIN LOCATION AS t3 ON t1.id = t3.restaurant_id WHERE t2.region = \"西湖\" AND t1.food_type = \"淮南\" AND t1.rating > 2.5;"
}
] |
CREATE TABLE restaurant (rating INTEGER, city_name VARCHAR, name VARCHAR, food_type VARCHAR, id VARCHAR), CREATE TABLE geographic (region VARCHAR, city_name VARCHAR), CREATE TABLE LOCATION (house_number VARCHAR, restaurant_id VARCHAR) | [
{
"from": "user",
"value": "“西湖”有哪些好地方可以吃“淮南”菜?"
},
{
"from": "assistant",
"value": "SELECT t3.house_number , t1.name FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name JOIN LOCATION AS t3 ON t1.id = t3.restaurant_id WHERE t2.region = \"西湖\" AND t1.food_type = \"淮南\" AND t1.rating > 2.5;"
}
] |
CREATE TABLE restaurant (rating INTEGER, city_name VARCHAR, name VARCHAR, food_type VARCHAR, id VARCHAR), CREATE TABLE geographic (region VARCHAR, city_name VARCHAR), CREATE TABLE LOCATION (house_number VARCHAR, restaurant_id VARCHAR) | [
{
"from": "user",
"value": "在“西湖”地区的一家吃“淮南”菜的好餐馆"
},
{
"from": "assistant",
"value": "SELECT t3.house_number , t1.name FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name JOIN LOCATION AS t3 ON t1.id = t3.restaurant_id WHERE t2.region = \"西湖\" AND t1.food_type = \"淮南\" AND t1.rating > 2.5;"
}
] |
CREATE TABLE restaurant (rating INTEGER, city_name VARCHAR, name VARCHAR, food_type VARCHAR, id VARCHAR), CREATE TABLE geographic (region VARCHAR, city_name VARCHAR), CREATE TABLE LOCATION (house_number VARCHAR, restaurant_id VARCHAR) | [
{
"from": "user",
"value": "在“西湖”地区一家好的“淮南”餐厅?"
},
{
"from": "assistant",
"value": "SELECT t3.house_number , t1.name FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name JOIN LOCATION AS t3 ON t1.id = t3.restaurant_id WHERE t2.region = \"西湖\" AND t1.food_type = \"淮南\" AND t1.rating > 2.5;"
}
] |
CREATE TABLE restaurant (rating INTEGER, city_name VARCHAR, name VARCHAR, food_type VARCHAR, id VARCHAR), CREATE TABLE geographic (region VARCHAR, city_name VARCHAR), CREATE TABLE LOCATION (house_number VARCHAR, restaurant_id VARCHAR) | [
{
"from": "user",
"value": "“西湖”哪里有“淮南”菜的好地方?"
},
{
"from": "assistant",
"value": "SELECT t3.house_number , t1.name FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name JOIN LOCATION AS t3 ON t1.id = t3.restaurant_id WHERE t2.region = \"西湖\" AND t1.food_type = \"淮南\" AND t1.rating > 2.5;"
}
] |
CREATE TABLE restaurant (rating INTEGER, city_name VARCHAR, name VARCHAR, food_type VARCHAR, id VARCHAR), CREATE TABLE geographic (region VARCHAR, city_name VARCHAR), CREATE TABLE LOCATION (house_number VARCHAR, restaurant_id VARCHAR) | [
{
"from": "user",
"value": "在“西湖”区哪里有适合吃“淮南”菜的餐馆?"
},
{
"from": "assistant",
"value": "SELECT t3.house_number , t1.name FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name JOIN LOCATION AS t3 ON t1.id = t3.restaurant_id WHERE t2.region = \"西湖\" AND t1.food_type = \"淮南\" AND t1.rating > 2.5;"
}
] |
CREATE TABLE restaurant (rating INTEGER, city_name VARCHAR, name VARCHAR, food_type VARCHAR, id VARCHAR), CREATE TABLE geographic (region VARCHAR, city_name VARCHAR), CREATE TABLE LOCATION (house_number VARCHAR, restaurant_id VARCHAR) | [
{
"from": "user",
"value": "在“西湖”区吃“淮南”菜的不错的地方"
},
{
"from": "assistant",
"value": "SELECT t3.house_number , t1.name FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name JOIN LOCATION AS t3 ON t1.id = t3.restaurant_id WHERE t2.region = \"西湖\" AND t1.food_type = \"淮南\" AND t1.rating > 2.5;"
}
] |
CREATE TABLE restaurant (rating INTEGER, city_name VARCHAR, name VARCHAR, food_type VARCHAR, id VARCHAR), CREATE TABLE geographic (region VARCHAR, city_name VARCHAR), CREATE TABLE LOCATION (house_number VARCHAR, restaurant_id VARCHAR) | [
{
"from": "user",
"value": "“西湖”附近的好吃的“淮南”餐厅在哪里?"
},
{
"from": "assistant",
"value": "SELECT t3.house_number , t1.name FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name JOIN LOCATION AS t3 ON t1.id = t3.restaurant_id WHERE t2.region = \"西湖\" AND t1.food_type = \"淮南\" AND t1.rating > 2.5;"
}
] |
CREATE TABLE restaurant (rating INTEGER, city_name VARCHAR, name VARCHAR, food_type VARCHAR, id VARCHAR), CREATE TABLE geographic (region VARCHAR, city_name VARCHAR), CREATE TABLE LOCATION (house_number VARCHAR, restaurant_id VARCHAR) | [
{
"from": "user",
"value": "在“西湖”地区有什么可以吃“淮南”菜的好餐厅?"
},
{
"from": "assistant",
"value": "SELECT t3.house_number , t1.name FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name JOIN LOCATION AS t3 ON t1.id = t3.restaurant_id WHERE t2.region = \"西湖\" AND t1.food_type = \"淮南\" AND t1.rating > 2.5;"
}
] |
CREATE TABLE restaurant (rating INTEGER, city_name VARCHAR, name VARCHAR, food_type VARCHAR, id VARCHAR), CREATE TABLE geographic (region VARCHAR, city_name VARCHAR), CREATE TABLE LOCATION (house_number VARCHAR, restaurant_id VARCHAR) | [
{
"from": "user",
"value": "“西湖”区域的优秀的“淮南”餐厅在哪里?"
},
{
"from": "assistant",
"value": "SELECT t3.house_number , t1.name FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name JOIN LOCATION AS t3 ON t1.id = t3.restaurant_id WHERE t2.region = \"西湖\" AND t1.food_type = \"淮南\" AND t1.rating > 2.5;"
}
] |
CREATE TABLE restaurant (rating INTEGER, city_name VARCHAR, name VARCHAR, food_type VARCHAR, id VARCHAR), CREATE TABLE geographic (region VARCHAR, city_name VARCHAR), CREATE TABLE LOCATION (house_number VARCHAR, restaurant_id VARCHAR) | [
{
"from": "user",
"value": "在“西湖”,我在哪里可以吃到好的“淮南”菜?"
},
{
"from": "assistant",
"value": "SELECT t3.house_number , t1.name FROM restaurant AS t1 JOIN geographic AS t2 ON t1.city_name = t2.city_name JOIN LOCATION AS t3 ON t1.id = t3.restaurant_id WHERE t2.region = \"西湖\" AND t1.food_type = \"淮南\" AND t1.rating > 2.5;"
}
] |
CREATE TABLE restaurant (food_type VARCHAR, id VARCHAR, name VARCHAR, rating INTEGER), CREATE TABLE LOCATION (house_number VARCHAR, city_name VARCHAR, restaurant_id VARCHAR) | [
{
"from": "user",
"value": "在“南山”有哪些餐馆适合吃“东北”食品?"
},
{
"from": "assistant",
"value": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"南山\" AND t1.food_type = \"东北\" AND t1.rating > 2.5;"
}
] |
CREATE TABLE restaurant (food_type VARCHAR, id VARCHAR, name VARCHAR, rating INTEGER), CREATE TABLE LOCATION (house_number VARCHAR, city_name VARCHAR, restaurant_id VARCHAR) | [
{
"from": "user",
"value": "在“南山”中有什么好地方可以吃“东北”菜?"
},
{
"from": "assistant",
"value": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"南山\" AND t1.food_type = \"东北\" AND t1.rating > 2.5;"
}
] |
CREATE TABLE restaurant (food_type VARCHAR, id VARCHAR, name VARCHAR, rating INTEGER), CREATE TABLE LOCATION (house_number VARCHAR, city_name VARCHAR, restaurant_id VARCHAR) | [
{
"from": "user",
"value": "“南山”中哪里有好的“东北”餐厅?"
},
{
"from": "assistant",
"value": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"南山\" AND t1.food_type = \"东北\" AND t1.rating > 2.5;"
}
] |
CREATE TABLE restaurant (food_type VARCHAR, id VARCHAR, name VARCHAR, rating INTEGER), CREATE TABLE LOCATION (house_number VARCHAR, city_name VARCHAR, restaurant_id VARCHAR) | [
{
"from": "user",
"value": "显示在“南山”好的“东北”餐厅吗"
},
{
"from": "assistant",
"value": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"南山\" AND t1.food_type = \"东北\" AND t1.rating > 2.5;"
}
] |
CREATE TABLE restaurant (food_type VARCHAR, id VARCHAR, name VARCHAR, rating INTEGER), CREATE TABLE LOCATION (house_number VARCHAR, city_name VARCHAR, restaurant_id VARCHAR) | [
{
"from": "user",
"value": "在“南山”地区一个好的“东北”菜餐馆"
},
{
"from": "assistant",
"value": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"南山\" AND t1.food_type = \"东北\" AND t1.rating > 2.5;"
}
] |
CREATE TABLE restaurant (food_type VARCHAR, id VARCHAR, name VARCHAR, rating INTEGER), CREATE TABLE LOCATION (house_number VARCHAR, city_name VARCHAR, restaurant_id VARCHAR) | [
{
"from": "user",
"value": "给出位置在“南山”的一家好的“东北”餐厅"
},
{
"from": "assistant",
"value": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"南山\" AND t1.food_type = \"东北\" AND t1.rating > 2.5;"
}
] |
CREATE TABLE restaurant (food_type VARCHAR, id VARCHAR, name VARCHAR, rating INTEGER), CREATE TABLE LOCATION (house_number VARCHAR, city_name VARCHAR, restaurant_id VARCHAR) | [
{
"from": "user",
"value": "请一个在“南山”的吃“东北”菜的好地方"
},
{
"from": "assistant",
"value": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"南山\" AND t1.food_type = \"东北\" AND t1.rating > 2.5;"
}
] |
CREATE TABLE restaurant (food_type VARCHAR, id VARCHAR, name VARCHAR, rating INTEGER), CREATE TABLE LOCATION (house_number VARCHAR, city_name VARCHAR, restaurant_id VARCHAR) | [
{
"from": "user",
"value": "“南山”中哪里有好的“东北”食物?"
},
{
"from": "assistant",
"value": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"南山\" AND t1.food_type = \"东北\" AND t1.rating > 2.5;"
}
] |
CREATE TABLE restaurant (food_type VARCHAR, id VARCHAR, name VARCHAR, rating INTEGER), CREATE TABLE LOCATION (house_number VARCHAR, city_name VARCHAR, restaurant_id VARCHAR) | [
{
"from": "user",
"value": "在“南山”有什么餐厅可以吃到好吃的“东北”食品呢?"
},
{
"from": "assistant",
"value": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"南山\" AND t1.food_type = \"东北\" AND t1.rating > 2.5;"
}
] |
CREATE TABLE restaurant (food_type VARCHAR, id VARCHAR, name VARCHAR, rating INTEGER), CREATE TABLE LOCATION (house_number VARCHAR, city_name VARCHAR, restaurant_id VARCHAR) | [
{
"from": "user",
"value": "“南山”地区有什么好的餐馆可以吃到“东北”菜?"
},
{
"from": "assistant",
"value": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"南山\" AND t1.food_type = \"东北\" AND t1.rating > 2.5;"
}
] |
CREATE TABLE restaurant (food_type VARCHAR, id VARCHAR, name VARCHAR, rating INTEGER), CREATE TABLE LOCATION (house_number VARCHAR, city_name VARCHAR, restaurant_id VARCHAR) | [
{
"from": "user",
"value": "请一些“南山”地区好的“东北”餐馆"
},
{
"from": "assistant",
"value": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"南山\" AND t1.food_type = \"东北\" AND t1.rating > 2.5;"
}
] |
CREATE TABLE restaurant (food_type VARCHAR, id VARCHAR, name VARCHAR, rating INTEGER), CREATE TABLE LOCATION (house_number VARCHAR, city_name VARCHAR, restaurant_id VARCHAR) | [
{
"from": "user",
"value": "我能在“南山”附近的什么地方吃些好吃的“东北”菜呢?"
},
{
"from": "assistant",
"value": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"南山\" AND t1.food_type = \"东北\" AND t1.rating > 2.5;"
}
] |
CREATE TABLE restaurant (food_type VARCHAR, id VARCHAR, name VARCHAR, rating INTEGER), CREATE TABLE LOCATION (house_number VARCHAR, city_name VARCHAR, restaurant_id VARCHAR) | [
{
"from": "user",
"value": "一些在“南山”附近吃“东北”菜的好地方"
},
{
"from": "assistant",
"value": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"南山\" AND t1.food_type = \"东北\" AND t1.rating > 2.5;"
}
] |
CREATE TABLE restaurant (food_type VARCHAR, id VARCHAR, name VARCHAR, rating INTEGER), CREATE TABLE LOCATION (house_number VARCHAR, city_name VARCHAR, restaurant_id VARCHAR) | [
{
"from": "user",
"value": "“南山”这边有哪里有好的“东北”菜餐厅"
},
{
"from": "assistant",
"value": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"南山\" AND t1.food_type = \"东北\" AND t1.rating > 2.5;"
}
] |
CREATE TABLE restaurant (food_type VARCHAR, id VARCHAR, name VARCHAR, rating INTEGER), CREATE TABLE LOCATION (house_number VARCHAR, city_name VARCHAR, restaurant_id VARCHAR) | [
{
"from": "user",
"value": "一家在“南山”的供应美味的“东北”食品的餐厅"
},
{
"from": "assistant",
"value": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"南山\" AND t1.food_type = \"东北\" AND t1.rating > 2.5;"
}
] |
CREATE TABLE restaurant (food_type VARCHAR, id VARCHAR, name VARCHAR, rating INTEGER), CREATE TABLE LOCATION (house_number VARCHAR, city_name VARCHAR, restaurant_id VARCHAR) | [
{
"from": "user",
"value": "在“南山”地区一些好的“东北”餐厅"
},
{
"from": "assistant",
"value": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"南山\" AND t1.food_type = \"东北\" AND t1.rating > 2.5;"
}
] |
CREATE TABLE restaurant (food_type VARCHAR, id VARCHAR, name VARCHAR, rating INTEGER), CREATE TABLE LOCATION (house_number VARCHAR, city_name VARCHAR, restaurant_id VARCHAR) | [
{
"from": "user",
"value": "在“南山”品尝“东北”菜的好地方在哪里?"
},
{
"from": "assistant",
"value": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"南山\" AND t1.food_type = \"东北\" AND t1.rating > 2.5;"
}
] |
CREATE TABLE restaurant (food_type VARCHAR, id VARCHAR, name VARCHAR, rating INTEGER), CREATE TABLE LOCATION (house_number VARCHAR, city_name VARCHAR, restaurant_id VARCHAR) | [
{
"from": "user",
"value": "在“南山”中一些味道好的“东北”餐厅"
},
{
"from": "assistant",
"value": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"南山\" AND t1.food_type = \"东北\" AND t1.rating > 2.5;"
}
] |
CREATE TABLE restaurant (food_type VARCHAR, id VARCHAR, name VARCHAR, rating INTEGER), CREATE TABLE LOCATION (house_number VARCHAR, city_name VARCHAR, restaurant_id VARCHAR) | [
{
"from": "user",
"value": "一个在“南山”口碑好的餐馆吃“东北”菜"
},
{
"from": "assistant",
"value": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"南山\" AND t1.food_type = \"东北\" AND t1.rating > 2.5;"
}
] |
CREATE TABLE restaurant (food_type VARCHAR, id VARCHAR, name VARCHAR, rating INTEGER), CREATE TABLE LOCATION (house_number VARCHAR, city_name VARCHAR, restaurant_id VARCHAR) | [
{
"from": "user",
"value": "“南山”什么位置有好的“东北”餐厅?"
},
{
"from": "assistant",
"value": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"南山\" AND t1.food_type = \"东北\" AND t1.rating > 2.5;"
}
] |
CREATE TABLE restaurant (food_type VARCHAR, id VARCHAR, name VARCHAR, rating INTEGER), CREATE TABLE LOCATION (house_number VARCHAR, city_name VARCHAR, restaurant_id VARCHAR) | [
{
"from": "user",
"value": "“南山”地区吃“东北”菜哪些地方比较好?"
},
{
"from": "assistant",
"value": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"南山\" AND t1.food_type = \"东北\" AND t1.rating > 2.5;"
}
] |
CREATE TABLE restaurant (food_type VARCHAR, id VARCHAR, name VARCHAR, rating INTEGER), CREATE TABLE LOCATION (house_number VARCHAR, city_name VARCHAR, restaurant_id VARCHAR) | [
{
"from": "user",
"value": "“南山”中的哪家餐馆能吃到可口的“东北”菜?"
},
{
"from": "assistant",
"value": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"南山\" AND t1.food_type = \"东北\" AND t1.rating > 2.5;"
}
] |
CREATE TABLE restaurant (food_type VARCHAR, id VARCHAR, name VARCHAR, rating INTEGER), CREATE TABLE LOCATION (house_number VARCHAR, city_name VARCHAR, restaurant_id VARCHAR) | [
{
"from": "user",
"value": "在“南山”附近要品尝“东北”食物的一个合适的地方是哪里?"
},
{
"from": "assistant",
"value": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"南山\" AND t1.food_type = \"东北\" AND t1.rating > 2.5;"
}
] |
CREATE TABLE restaurant (id VARCHAR, name VARCHAR), CREATE TABLE LOCATION (house_number VARCHAR, city_name VARCHAR, restaurant_id VARCHAR) | [
{
"from": "user",
"value": "在“深圳”哪里可以找出“四川”菜肴?"
},
{
"from": "assistant",
"value": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"深圳\" AND t1.name = \"四川\";"
}
] |
CREATE TABLE restaurant (id VARCHAR, name VARCHAR), CREATE TABLE LOCATION (house_number VARCHAR, city_name VARCHAR, restaurant_id VARCHAR) | [
{
"from": "user",
"value": "“深圳”的“四川”菜餐馆在哪里?"
},
{
"from": "assistant",
"value": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"深圳\" AND t1.name = \"四川\";"
}
] |
CREATE TABLE restaurant (id VARCHAR, name VARCHAR), CREATE TABLE LOCATION (house_number VARCHAR, city_name VARCHAR, restaurant_id VARCHAR) | [
{
"from": "user",
"value": "“深圳”的“四川”美食在哪里?"
},
{
"from": "assistant",
"value": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t2.city_name = \"深圳\" AND t1.name = \"四川\";"
}
] |
CREATE TABLE LOCATION (house_number VARCHAR, restaurant_id VARCHAR), CREATE TABLE restaurant (city_name VARCHAR, id VARCHAR, name VARCHAR), CREATE TABLE geographic (region VARCHAR, city_name VARCHAR) | [
{
"from": "user",
"value": "在“厦门”我们可以在哪里找出一些餐厅?"
},
{
"from": "assistant",
"value": "SELECT t2.house_number , t1.name FROM LOCATION AS t2 JOIN restaurant AS t1 ON t1.id = t2.restaurant_id WHERE t1.city_name IN ( SELECT city_name FROM geographic WHERE region = \"厦门\" );"
}
] |
CREATE TABLE LOCATION (house_number VARCHAR, restaurant_id VARCHAR), CREATE TABLE restaurant (city_name VARCHAR, id VARCHAR, name VARCHAR), CREATE TABLE geographic (region VARCHAR, city_name VARCHAR) | [
{
"from": "user",
"value": "一些在“厦门”的餐馆"
},
{
"from": "assistant",
"value": "SELECT t2.house_number , t1.name FROM LOCATION AS t2 JOIN restaurant AS t1 ON t1.id = t2.restaurant_id WHERE t1.city_name IN ( SELECT city_name FROM geographic WHERE region = \"厦门\" );"
}
] |
CREATE TABLE LOCATION (house_number VARCHAR, restaurant_id VARCHAR), CREATE TABLE restaurant (city_name VARCHAR, id VARCHAR, name VARCHAR), CREATE TABLE geographic (region VARCHAR, city_name VARCHAR) | [
{
"from": "user",
"value": "一个位于“厦门”的饭店"
},
{
"from": "assistant",
"value": "SELECT t2.house_number , t1.name FROM LOCATION AS t2 JOIN restaurant AS t1 ON t1.id = t2.restaurant_id WHERE t1.city_name IN ( SELECT city_name FROM geographic WHERE region = \"厦门\" );"
}
] |
CREATE TABLE LOCATION (house_number VARCHAR, restaurant_id VARCHAR), CREATE TABLE restaurant (city_name VARCHAR, id VARCHAR, name VARCHAR), CREATE TABLE geographic (region VARCHAR, city_name VARCHAR) | [
{
"from": "user",
"value": "我在哪里可以找到“厦门”的餐厅?"
},
{
"from": "assistant",
"value": "SELECT t2.house_number , t1.name FROM LOCATION AS t2 JOIN restaurant AS t1 ON t1.id = t2.restaurant_id WHERE t1.city_name IN ( SELECT city_name FROM geographic WHERE region = \"厦门\" );"
}
] |
CREATE TABLE LOCATION (house_number VARCHAR, restaurant_id VARCHAR), CREATE TABLE restaurant (city_name VARCHAR, id VARCHAR, name VARCHAR, rating INTEGER), CREATE TABLE geographic (region VARCHAR, city_name VARCHAR) | [
{
"from": "user",
"value": "一家在“厦门”的好餐馆"
},
{
"from": "assistant",
"value": "SELECT t2.house_number , t1.name FROM LOCATION AS t2 JOIN restaurant AS t1 ON t1.id = t2.restaurant_id WHERE t1.city_name IN ( SELECT city_name FROM geographic WHERE region = \"厦门\" ) AND t1.rating > 2.5;"
}
] |
CREATE TABLE LOCATION (house_number VARCHAR, restaurant_id VARCHAR), CREATE TABLE restaurant (city_name VARCHAR, id VARCHAR, name VARCHAR, rating INTEGER), CREATE TABLE geographic (region VARCHAR, city_name VARCHAR) | [
{
"from": "user",
"value": "“厦门”有什么好的餐馆?"
},
{
"from": "assistant",
"value": "SELECT t2.house_number , t1.name FROM LOCATION AS t2 JOIN restaurant AS t1 ON t1.id = t2.restaurant_id WHERE t1.city_name IN ( SELECT city_name FROM geographic WHERE region = \"厦门\" ) AND t1.rating > 2.5;"
}
] |
CREATE TABLE LOCATION (house_number VARCHAR, restaurant_id VARCHAR), CREATE TABLE restaurant (city_name VARCHAR, id VARCHAR, name VARCHAR, rating INTEGER), CREATE TABLE geographic (region VARCHAR, city_name VARCHAR) | [
{
"from": "user",
"value": "一些地址在“厦门”的好餐馆"
},
{
"from": "assistant",
"value": "SELECT t2.house_number , t1.name FROM LOCATION AS t2 JOIN restaurant AS t1 ON t1.id = t2.restaurant_id WHERE t1.city_name IN ( SELECT city_name FROM geographic WHERE region = \"厦门\" ) AND t1.rating > 2.5;"
}
] |
CREATE TABLE LOCATION (house_number VARCHAR, restaurant_id VARCHAR), CREATE TABLE restaurant (city_name VARCHAR, id VARCHAR, name VARCHAR, rating INTEGER), CREATE TABLE geographic (region VARCHAR, city_name VARCHAR) | [
{
"from": "user",
"value": "“厦门”的一家好餐馆是什么?"
},
{
"from": "assistant",
"value": "SELECT t2.house_number , t1.name FROM LOCATION AS t2 JOIN restaurant AS t1 ON t1.id = t2.restaurant_id WHERE t1.city_name IN ( SELECT city_name FROM geographic WHERE region = \"厦门\" ) AND t1.rating > 2.5;"
}
] |