id string | db_id string | question string | qpl list | qd list | conversations list |
|---|---|---|---|---|---|
80592e5d97f133869abf94a23234b3aee1f23c7307896f203d1ef7628a8fb305_4 | farm | What is the host city id of all competitions? | [
"#1 = Scan Table [ farm_competition ] Output [ Host_city_ID ]"
] | [
"What is the host city id of all competitions?"
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
4aa1ee3fe85a5f572bf6c57214ba9550cb9c5d0e66902dc0e1c06fc19aba0d3d_0 | farm | What is the status of the city that has hosted the most competitions? | [
"#1 = Scan Table [ farm_competition ] Output [ Host_city_ID ]",
"#2 = Aggregate [ #1 ] GroupBy [ Host_city_ID ] Output [ countstar AS Count_Star , Host_city_ID ]",
"#3 = Scan Table [ city ] Output [ Status , City_ID ]",
"#4 = Join [ #2 , #3 ] Predicate [ #2.Host_city_ID = #3.City_ID ] Output [ #3.Status , #2.... | [
"What is the host city id of all competitions?",
"What are the different host city ids and the number of competitions has hosted?",
"What is the id and status of all cities?",
"For each host city id, what is the status of the city and the number of competitions has hosted.",
"What is the status of the city ... | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
4aa1ee3fe85a5f572bf6c57214ba9550cb9c5d0e66902dc0e1c06fc19aba0d3d_1 | farm | For each host city id, what is the status of the city and the number of competitions has hosted. | [
"#1 = Scan Table [ farm_competition ] Output [ Host_city_ID ]",
"#2 = Aggregate [ #1 ] GroupBy [ Host_city_ID ] Output [ countstar AS Count_Star , Host_city_ID ]",
"#3 = Scan Table [ city ] Output [ Status , City_ID ]",
"#4 = Join [ #2 , #3 ] Predicate [ #2.Host_city_ID = #3.City_ID ] Output [ #3.Status , #2.... | [
"What is the host city id of all competitions?",
"What are the different host city ids and the number of competitions has hosted?",
"What is the id and status of all cities?",
"For each host city id, what is the status of the city and the number of competitions has hosted."
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
4aa1ee3fe85a5f572bf6c57214ba9550cb9c5d0e66902dc0e1c06fc19aba0d3d_2 | farm | What are the different host city ids and the number of competitions has hosted? | [
"#1 = Scan Table [ farm_competition ] Output [ Host_city_ID ]",
"#2 = Aggregate [ #1 ] GroupBy [ Host_city_ID ] Output [ countstar AS Count_Star , Host_city_ID ]"
] | [
"What is the host city id of all competitions?",
"What are the different host city ids and the number of competitions has hosted?"
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
4aa1ee3fe85a5f572bf6c57214ba9550cb9c5d0e66902dc0e1c06fc19aba0d3d_3 | farm | What is the id and status of all cities? | [
"#1 = Scan Table [ city ] Output [ Status , City_ID ]"
] | [
"What is the id and status of all cities?"
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
4aa1ee3fe85a5f572bf6c57214ba9550cb9c5d0e66902dc0e1c06fc19aba0d3d_4 | farm | What is the host city id of all competitions? | [
"#1 = Scan Table [ farm_competition ] Output [ Host_city_ID ]"
] | [
"What is the host city id of all competitions?"
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
358e31e4cf42ff4b98619163c161a7bf76dcf45d3eca74f9afff2882169f1ea9_0 | farm | What are the themes of competitions that have corresponding host cities with more than 1000 residents? | [
"#1 = Scan Table [ city ] Predicate [ Population > 1000.0 ] Output [ Population , City_ID ]",
"#2 = Scan Table [ farm_competition ] Output [ Theme , Host_city_ID ]",
"#3 = Join [ #1 , #2 ] Predicate [ #1.City_ID = #2.Host_city_ID ] Output [ #2.Theme ]"
] | [
"What are the city ids of cities with more than 1000 residents?",
"What are the themes and host cities ids of all competitions?",
"What are the themes of competitions that have corresponding host cities with more than 1000 residents?"
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
358e31e4cf42ff4b98619163c161a7bf76dcf45d3eca74f9afff2882169f1ea9_1 | farm | What are the city ids of cities with more than 1000 residents? | [
"#1 = Scan Table [ city ] Predicate [ Population > 1000.0 ] Output [ Population , City_ID ]"
] | [
"What are the city ids of cities with more than 1000 residents?"
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
358e31e4cf42ff4b98619163c161a7bf76dcf45d3eca74f9afff2882169f1ea9_2 | farm | What are the themes and host cities ids of all competitions? | [
"#1 = Scan Table [ farm_competition ] Output [ Theme , Host_city_ID ]"
] | [
"What are the themes and host cities ids of all competitions?"
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
70dab9d41178f8c33dad649256b9217b4ee8600fad7c4d095fef0971ac501592_0 | farm | What are the themes of competitions that have corresponding host cities with more than 1000 residents? | [
"#1 = Scan Table [ city ] Predicate [ Population > 1000.0 ] Output [ Population , City_ID ]",
"#2 = Scan Table [ farm_competition ] Output [ Theme , Host_city_ID ]",
"#3 = Join [ #1 , #2 ] Predicate [ #1.City_ID = #2.Host_city_ID ] Output [ #2.Theme ]"
] | [
"What are the city ids of cities with more than 1000 residents?",
"What are the themes and host cities ids of all competitions?",
"What are the themes of competitions that have corresponding host cities with more than 1000 residents?"
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
70dab9d41178f8c33dad649256b9217b4ee8600fad7c4d095fef0971ac501592_1 | farm | What are the city ids of cities with more than 1000 residents? | [
"#1 = Scan Table [ city ] Predicate [ Population > 1000.0 ] Output [ Population , City_ID ]"
] | [
"What are the city ids of cities with more than 1000 residents?"
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
70dab9d41178f8c33dad649256b9217b4ee8600fad7c4d095fef0971ac501592_2 | farm | What are the themes and host cities ids of all competitions? | [
"#1 = Scan Table [ farm_competition ] Output [ Theme , Host_city_ID ]"
] | [
"What are the themes and host cities ids of all competitions?"
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
5facfc7fd711b6935823289e9d8ca510e6520c8592709de0ca0a63183e58849a_0 | farm | Please show the different statuses of cities and the average population of cities with each status. | [
"#1 = Scan Table [ city ] Output [ Population , Status ]",
"#2 = Aggregate [ #1 ] GroupBy [ Status ] Output [ Status , AVG(Population) AS Avg_Population ]"
] | [
"Please show the statuses and population of cities.",
"Please show the different statuses of cities and the average population of cities with each status."
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
5facfc7fd711b6935823289e9d8ca510e6520c8592709de0ca0a63183e58849a_1 | farm | Please show the statuses and population of cities. | [
"#1 = Scan Table [ city ] Output [ Population , Status ]"
] | [
"Please show the statuses and population of cities."
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
3beabbe28d7a9466b3517488e0a99a0fac065846d9092759306c579d9edfce12_0 | farm | Please show the different statuses of cities and the average population of cities with each status. | [
"#1 = Scan Table [ city ] Output [ Population , Status ]",
"#2 = Aggregate [ #1 ] GroupBy [ Status ] Output [ Status , AVG(Population) AS Avg_Population ]"
] | [
"Please show the statuses and population of cities.",
"Please show the different statuses of cities and the average population of cities with each status."
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
3beabbe28d7a9466b3517488e0a99a0fac065846d9092759306c579d9edfce12_1 | farm | Please show the statuses and population of cities. | [
"#1 = Scan Table [ city ] Output [ Population , Status ]"
] | [
"Please show the statuses and population of cities."
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
67fac65e398a5f4e09432aa8d1a58a670ac395916495c28a836c081928eb05b0_0 | farm | Return the different statuses of cities, ascending by frequency. | [
"#1 = Scan Table [ city ] Output [ Status ]",
"#2 = Aggregate [ #1 ] GroupBy [ Status ] Output [ countstar AS Count_Star , Status ]",
"#3 = Sort [ #2 ] OrderBy [ Count_Star ASC ] Output [ Count_Star , Status ]"
] | [
"Return the status of all cities.",
"Return the different statuses and their frequency.",
"Return the different statuses of cities, ascending by frequency."
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
67fac65e398a5f4e09432aa8d1a58a670ac395916495c28a836c081928eb05b0_1 | farm | Return the different statuses and their frequency. | [
"#1 = Scan Table [ city ] Output [ Status ]",
"#2 = Aggregate [ #1 ] GroupBy [ Status ] Output [ countstar AS Count_Star , Status ]"
] | [
"Return the status of all cities.",
"Return the different statuses and their frequency."
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
67fac65e398a5f4e09432aa8d1a58a670ac395916495c28a836c081928eb05b0_2 | farm | Return the status of all cities. | [
"#1 = Scan Table [ city ] Output [ Status ]"
] | [
"Return the status of all cities."
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
1a173468b826d169d284e14a868c6bdf70125edacfefeeb0d6e668027405ecf9_0 | farm | Return the different statuses of cities, ascending by frequency. | [
"#1 = Scan Table [ city ] Output [ Status ]",
"#2 = Aggregate [ #1 ] GroupBy [ Status ] Output [ countstar AS Count_Star , Status ]",
"#3 = Sort [ #2 ] OrderBy [ Count_Star ASC ] Output [ Count_Star , Status ]"
] | [
"Return the status of all cities.",
"Return the different statuses and their frequency.",
"Return the different statuses of cities, ascending by frequency."
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
1a173468b826d169d284e14a868c6bdf70125edacfefeeb0d6e668027405ecf9_1 | farm | Return the different statuses and their frequency. | [
"#1 = Scan Table [ city ] Output [ Status ]",
"#2 = Aggregate [ #1 ] GroupBy [ Status ] Output [ countstar AS Count_Star , Status ]"
] | [
"Return the status of all cities.",
"Return the different statuses and their frequency."
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
1a173468b826d169d284e14a868c6bdf70125edacfefeeb0d6e668027405ecf9_2 | farm | Return the status of all cities. | [
"#1 = Scan Table [ city ] Output [ Status ]"
] | [
"Return the status of all cities."
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
d5c43b3de2893451910c07c5f40b5b8be9d3442655fbb0f6c0a633eb508d207d_0 | farm | List the most common type of Status across cities. | [
"#1 = Scan Table [ city ] Output [ Status ]",
"#2 = Aggregate [ #1 ] GroupBy [ Status ] Output [ countstar AS Count_Star , Status ]",
"#3 = TopSort [ #2 ] Rows [ 1 ] OrderBy [ Count_Star DESC ] Output [ Count_Star , Status ]"
] | [
"List the status of all cities.",
"List the different statuses and the number of cities that have each.",
"List the most common type of Status across cities."
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
d5c43b3de2893451910c07c5f40b5b8be9d3442655fbb0f6c0a633eb508d207d_1 | farm | List the different statuses and the number of cities that have each. | [
"#1 = Scan Table [ city ] Output [ Status ]",
"#2 = Aggregate [ #1 ] GroupBy [ Status ] Output [ countstar AS Count_Star , Status ]"
] | [
"List the status of all cities.",
"List the different statuses and the number of cities that have each."
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
d5c43b3de2893451910c07c5f40b5b8be9d3442655fbb0f6c0a633eb508d207d_2 | farm | List the status of all cities. | [
"#1 = Scan Table [ city ] Output [ Status ]"
] | [
"List the status of all cities."
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
97bb984cc3f800c5574aa8d4b77574135408840ce9b0c292cfd0317cd6bd5ab9_0 | farm | List the most common type of Status across cities. | [
"#1 = Scan Table [ city ] Output [ Status ]",
"#2 = Aggregate [ #1 ] GroupBy [ Status ] Output [ countstar AS Count_Star , Status ]",
"#3 = TopSort [ #2 ] Rows [ 1 ] OrderBy [ Count_Star DESC ] Output [ Count_Star , Status ]"
] | [
"List the status of all cities.",
"List the different statuses and the number of cities that have each.",
"List the most common type of Status across cities."
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
97bb984cc3f800c5574aa8d4b77574135408840ce9b0c292cfd0317cd6bd5ab9_1 | farm | List the different statuses and the number of cities that have each. | [
"#1 = Scan Table [ city ] Output [ Status ]",
"#2 = Aggregate [ #1 ] GroupBy [ Status ] Output [ countstar AS Count_Star , Status ]"
] | [
"List the status of all cities.",
"List the different statuses and the number of cities that have each."
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
97bb984cc3f800c5574aa8d4b77574135408840ce9b0c292cfd0317cd6bd5ab9_2 | farm | List the status of all cities. | [
"#1 = Scan Table [ city ] Output [ Status ]"
] | [
"List the status of all cities."
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
85a22b9437c08ee2879b152c269a3899f83c59136649b7d6c846911a06ea47e7_0 | farm | List the official names of cities that have not held any competition. | [
"#1 = Scan Table [ city ] Output [ City_ID , Official_Name ]",
"#2 = Scan Table [ farm_competition ] Output [ Host_city_ID ]",
"#3 = Except [ #1 , #2 ] Predicate [ #2.Host_city_ID IS NULL OR #1.City_ID = #2.Host_city_ID ] Output [ #1.Official_Name ]"
] | [
"List the city ids and official names of all cities.",
"List the host city ids of all competitions.",
"List the official names of cities that have not held any competition."
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
85a22b9437c08ee2879b152c269a3899f83c59136649b7d6c846911a06ea47e7_1 | farm | List the city ids and official names of all cities. | [
"#1 = Scan Table [ city ] Output [ City_ID , Official_Name ]"
] | [
"List the city ids and official names of all cities."
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
85a22b9437c08ee2879b152c269a3899f83c59136649b7d6c846911a06ea47e7_2 | farm | List the host city ids of all competitions. | [
"#1 = Scan Table [ farm_competition ] Output [ Host_city_ID ]"
] | [
"List the host city ids of all competitions."
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
138f1e4b52f0e50d8ccd52842727f1acce2f89c8a6d96c84746297bd80567c8e_0 | farm | List the official names of cities that have not held any competition. | [
"#1 = Scan Table [ city ] Output [ City_ID , Official_Name ]",
"#2 = Scan Table [ farm_competition ] Output [ Host_city_ID ]",
"#3 = Except [ #1 , #2 ] Predicate [ #2.Host_city_ID IS NULL OR #1.City_ID = #2.Host_city_ID ] Output [ #1.Official_Name ]"
] | [
"List the city ids and official names of all cities.",
"List the host city ids of all competitions.",
"List the official names of cities that have not held any competition."
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
138f1e4b52f0e50d8ccd52842727f1acce2f89c8a6d96c84746297bd80567c8e_1 | farm | List the city ids and official names of all cities. | [
"#1 = Scan Table [ city ] Output [ City_ID , Official_Name ]"
] | [
"List the city ids and official names of all cities."
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
138f1e4b52f0e50d8ccd52842727f1acce2f89c8a6d96c84746297bd80567c8e_2 | farm | List the host city ids of all competitions. | [
"#1 = Scan Table [ farm_competition ] Output [ Host_city_ID ]"
] | [
"List the host city ids of all competitions."
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
d6d71756af2a4df40ca99d4264cc5ee2f26dd569476540355bd1e2fdffe7ce7d_0 | farm | Show the status shared by cities with population bigger than 1500 and smaller than 500. | [
"#1 = Scan Table [ city ] Predicate [ Population > 1500.0 ] Output [ Population , Status ]",
"#2 = Scan Table [ city ] Predicate [ Population < 500.0 ] Output [ Population , Status ]",
"#3 = Intersect [ #1 , #2 ] Predicate [ #1.Status = #2.Status ] Output [ #1.Status ]"
] | [
"Show the status by cities with population bigger than 1500.",
"Show the status by cities with population smaller than 500.",
"Show the status shared by cities with population bigger than 1500 and smaller than 500."
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
d6d71756af2a4df40ca99d4264cc5ee2f26dd569476540355bd1e2fdffe7ce7d_1 | farm | Show the status by cities with population bigger than 1500. | [
"#1 = Scan Table [ city ] Predicate [ Population > 1500.0 ] Output [ Population , Status ]"
] | [
"Show the status by cities with population bigger than 1500."
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
d6d71756af2a4df40ca99d4264cc5ee2f26dd569476540355bd1e2fdffe7ce7d_2 | farm | Show the status by cities with population smaller than 500. | [
"#1 = Scan Table [ city ] Predicate [ Population < 500.0 ] Output [ Population , Status ]"
] | [
"Show the status by cities with population smaller than 500."
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
eaff9045bbbc5f3f828eb3c1593f7da4f710d1c103ecc29ca1daaf0f109cdcf5_0 | farm | Show the status shared by cities with population bigger than 1500 and smaller than 500. | [
"#1 = Scan Table [ city ] Predicate [ Population > 1500.0 ] Output [ Population , Status ]",
"#2 = Scan Table [ city ] Predicate [ Population < 500.0 ] Output [ Population , Status ]",
"#3 = Intersect [ #1 , #2 ] Predicate [ #1.Status = #2.Status ] Output [ #1.Status ]"
] | [
"Show the status by cities with population bigger than 1500.",
"Show the status by cities with population smaller than 500.",
"Show the status shared by cities with population bigger than 1500 and smaller than 500."
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
eaff9045bbbc5f3f828eb3c1593f7da4f710d1c103ecc29ca1daaf0f109cdcf5_1 | farm | Show the status by cities with population bigger than 1500. | [
"#1 = Scan Table [ city ] Predicate [ Population > 1500.0 ] Output [ Population , Status ]"
] | [
"Show the status by cities with population bigger than 1500."
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
eaff9045bbbc5f3f828eb3c1593f7da4f710d1c103ecc29ca1daaf0f109cdcf5_2 | farm | Show the status by cities with population smaller than 500. | [
"#1 = Scan Table [ city ] Predicate [ Population < 500.0 ] Output [ Population , Status ]"
] | [
"Show the status by cities with population smaller than 500."
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
f676b126234f264c8e532c4433baf888c0ca07a223e3221b6a1fec74e4be13a2_0 | farm | Find the official names of cities with population bigger than 1500 or smaller than 500. | [
"#1 = Scan Table [ city ] Predicate [ Population < 500.0 OR Population > 1500.0 ] Output [ Population , Official_Name ]"
] | [
"Find the official names of cities with population bigger than 1500 or smaller than 500."
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
fe63d1e29af14dbae58e1504acd0143e249ce78e4964da486099d6ea32826697_0 | farm | What are the official names of cities that have population over 1500 or less than 500? | [
"#1 = Scan Table [ city ] Predicate [ Population < 500.0 OR Population > 1500.0 ] Output [ Population , Official_Name ]"
] | [
"What are the official names of cities that have population over 1500 or less than 500?"
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
2037239cf66641149856f7af24a5f93c6e212d486e09390dd85a1c05d5684521_0 | farm | Show the census ranking of cities whose status are not "Village". | [
"#1 = Scan Table [ city ] Predicate [ Status <> 'Village' ] Output [ Census_Ranking , Status ]"
] | [
"Show the census ranking of cities whose status are not \"Village\"."
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
34132b06ff4be7d108694deb46787824bbb18ee1de094051132fd31ef4b538af_0 | farm | What are the census rankings of cities that do not have the status "Village"? | [
"#1 = Scan Table [ city ] Predicate [ Status <> 'Village' ] Output [ Census_Ranking , Status ]"
] | [
"What are the census rankings of cities that do not have the status \"Village\"?"
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
f6a3d3c30b46b65d8766c4e9ee18a3fb6da5a4ec250a7187e15a093f6fbabbb8_0 | student_assessment | What is the name of the course with the most registered students? | [
"#1 = Scan Table [ Student_Course_Registrations ] Output [ course_id ]",
"#2 = Aggregate [ #1 ] GroupBy [ course_id ] Output [ countstar AS Count_Star , course_id ]",
"#3 = Scan Table [ Courses ] Output [ course_name , course_id ]",
"#4 = Join [ #2 , #3 ] Predicate [ #2.course_id = #3.course_id ] Output [ #3.... | [
"What is the course id of all student registrations?",
"What is the number of registered students for each course id?",
"What is the id and name of all courses?",
"What is the number of registered students for each course.",
"What is the name of the course with the most registered students?"
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
f6a3d3c30b46b65d8766c4e9ee18a3fb6da5a4ec250a7187e15a093f6fbabbb8_1 | student_assessment | What is the number of registered students for each course. | [
"#1 = Scan Table [ Student_Course_Registrations ] Output [ course_id ]",
"#2 = Aggregate [ #1 ] GroupBy [ course_id ] Output [ countstar AS Count_Star , course_id ]",
"#3 = Scan Table [ Courses ] Output [ course_name , course_id ]",
"#4 = Join [ #2 , #3 ] Predicate [ #2.course_id = #3.course_id ] Output [ #3.... | [
"What is the course id of all student registrations?",
"What is the number of registered students for each course id?",
"What is the id and name of all courses?",
"What is the number of registered students for each course."
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
f6a3d3c30b46b65d8766c4e9ee18a3fb6da5a4ec250a7187e15a093f6fbabbb8_2 | student_assessment | What is the number of registered students for each course id? | [
"#1 = Scan Table [ Student_Course_Registrations ] Output [ course_id ]",
"#2 = Aggregate [ #1 ] GroupBy [ course_id ] Output [ countstar AS Count_Star , course_id ]"
] | [
"What is the course id of all student registrations?",
"What is the number of registered students for each course id?"
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
f6a3d3c30b46b65d8766c4e9ee18a3fb6da5a4ec250a7187e15a093f6fbabbb8_3 | student_assessment | What is the id and name of all courses? | [
"#1 = Scan Table [ Courses ] Output [ course_name , course_id ]"
] | [
"What is the id and name of all courses?"
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
f6a3d3c30b46b65d8766c4e9ee18a3fb6da5a4ec250a7187e15a093f6fbabbb8_4 | student_assessment | What is the course id of all student registrations? | [
"#1 = Scan Table [ Student_Course_Registrations ] Output [ course_id ]"
] | [
"What is the course id of all student registrations?"
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
fb3d5e25bfbe7234076dec055bf6c72690eb2db10136a7b4865dbcb67a2a2a3c_0 | student_assessment | What is the name of the course with the most registered students? | [
"#1 = Scan Table [ Student_Course_Registrations ] Output [ course_id ]",
"#2 = Aggregate [ #1 ] GroupBy [ course_id ] Output [ countstar AS Count_Star , course_id ]",
"#3 = Scan Table [ Courses ] Output [ course_name , course_id ]",
"#4 = Join [ #2 , #3 ] Predicate [ #2.course_id = #3.course_id ] Output [ #3.... | [
"What is the course id of all student registrations?",
"What is the number of registered students for each course id?",
"What is the id and name of all courses?",
"What is the number of registered students for each course.",
"What is the name of the course with the most registered students?"
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
fb3d5e25bfbe7234076dec055bf6c72690eb2db10136a7b4865dbcb67a2a2a3c_1 | student_assessment | What is the number of registered students for each course. | [
"#1 = Scan Table [ Student_Course_Registrations ] Output [ course_id ]",
"#2 = Aggregate [ #1 ] GroupBy [ course_id ] Output [ countstar AS Count_Star , course_id ]",
"#3 = Scan Table [ Courses ] Output [ course_name , course_id ]",
"#4 = Join [ #2 , #3 ] Predicate [ #2.course_id = #3.course_id ] Output [ #3.... | [
"What is the course id of all student registrations?",
"What is the number of registered students for each course id?",
"What is the id and name of all courses?",
"What is the number of registered students for each course."
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
fb3d5e25bfbe7234076dec055bf6c72690eb2db10136a7b4865dbcb67a2a2a3c_2 | student_assessment | What is the number of registered students for each course id? | [
"#1 = Scan Table [ Student_Course_Registrations ] Output [ course_id ]",
"#2 = Aggregate [ #1 ] GroupBy [ course_id ] Output [ countstar AS Count_Star , course_id ]"
] | [
"What is the course id of all student registrations?",
"What is the number of registered students for each course id?"
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
fb3d5e25bfbe7234076dec055bf6c72690eb2db10136a7b4865dbcb67a2a2a3c_3 | student_assessment | What is the id and name of all courses? | [
"#1 = Scan Table [ Courses ] Output [ course_name , course_id ]"
] | [
"What is the id and name of all courses?"
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
fb3d5e25bfbe7234076dec055bf6c72690eb2db10136a7b4865dbcb67a2a2a3c_4 | student_assessment | What is the course id of all student registrations? | [
"#1 = Scan Table [ Student_Course_Registrations ] Output [ course_id ]"
] | [
"What is the course id of all student registrations?"
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
64bf70c21831c531b02d222774e169a79da009aa766e235896d7ee7f2f830c4d_0 | student_assessment | what is id of students who registered some courses but the least number of courses in these students? | [
"#1 = Scan Table [ Student_Course_Registrations ] Output [ student_id ]",
"#2 = Aggregate [ #1 ] GroupBy [ student_id ] Output [ student_id , countstar AS Count_Star ]",
"#3 = TopSort [ #2 ] Rows [ 1 ] OrderBy [ Count_Star ASC ] Output [ student_id , Count_Star ]"
] | [
"What is the student id of all course registrations?",
"What is the student id and the number of courses the student registered for each student?",
"what is id of students who registered some courses but the least number of courses in these students?"
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
64bf70c21831c531b02d222774e169a79da009aa766e235896d7ee7f2f830c4d_1 | student_assessment | What is the student id and the number of courses the student registered for each student? | [
"#1 = Scan Table [ Student_Course_Registrations ] Output [ student_id ]",
"#2 = Aggregate [ #1 ] GroupBy [ student_id ] Output [ student_id , countstar AS Count_Star ]"
] | [
"What is the student id of all course registrations?",
"What is the student id and the number of courses the student registered for each student?"
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
64bf70c21831c531b02d222774e169a79da009aa766e235896d7ee7f2f830c4d_2 | student_assessment | What is the student id of all course registrations? | [
"#1 = Scan Table [ Student_Course_Registrations ] Output [ student_id ]"
] | [
"What is the student id of all course registrations?"
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
5107c3e865233b7af33d3c084f4dcb13d2721e5d2186208fef436cab79fdc2c3_0 | student_assessment | what is id of students who registered some courses but the least number of courses in these students? | [
"#1 = Scan Table [ Student_Course_Registrations ] Output [ student_id ]",
"#2 = Aggregate [ #1 ] GroupBy [ student_id ] Output [ student_id , countstar AS Count_Star ]",
"#3 = TopSort [ #2 ] Rows [ 1 ] OrderBy [ Count_Star ASC ] Output [ student_id , Count_Star ]"
] | [
"What is the student id of all course registrations?",
"What is the student id and the number of courses the student registered for each student?",
"what is id of students who registered some courses but the least number of courses in these students?"
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
5107c3e865233b7af33d3c084f4dcb13d2721e5d2186208fef436cab79fdc2c3_1 | student_assessment | What is the student id and the number of courses the student registered for each student? | [
"#1 = Scan Table [ Student_Course_Registrations ] Output [ student_id ]",
"#2 = Aggregate [ #1 ] GroupBy [ student_id ] Output [ student_id , countstar AS Count_Star ]"
] | [
"What is the student id of all course registrations?",
"What is the student id and the number of courses the student registered for each student?"
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
5107c3e865233b7af33d3c084f4dcb13d2721e5d2186208fef436cab79fdc2c3_2 | student_assessment | What is the student id of all course registrations? | [
"#1 = Scan Table [ Student_Course_Registrations ] Output [ student_id ]"
] | [
"What is the student id of all course registrations?"
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
cf64197edf01bb123e73f066f448377dd1c270df30ae6ec1a7543b125618cf38_0 | student_assessment | What are the first and last names of all the candidates? | [
"#1 = Scan Table [ Candidates ] Output [ candidate_id ]",
"#2 = Scan Table [ People ] Output [ last_name , person_id , first_name ]",
"#3 = Join [ #1 , #2 ] Predicate [ #1.candidate_id = #2.person_id ] Output [ #2.first_name , #2.last_name ]"
] | [
"What are the id of all the candidates?",
"What are the id, first name and last name of all the people?",
"What are the first and last names of all the candidates?"
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
cf64197edf01bb123e73f066f448377dd1c270df30ae6ec1a7543b125618cf38_1 | student_assessment | What are the id of all the candidates? | [
"#1 = Scan Table [ Candidates ] Output [ candidate_id ]"
] | [
"What are the id of all the candidates?"
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
cf64197edf01bb123e73f066f448377dd1c270df30ae6ec1a7543b125618cf38_2 | student_assessment | What are the id, first name and last name of all the people? | [
"#1 = Scan Table [ People ] Output [ last_name , person_id , first_name ]"
] | [
"What are the id, first name and last name of all the people?"
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
50dc44b0bb8ab0787b469440dfb85d68569dceba680168f344478fb16beb405a_0 | student_assessment | What are the first and last names of all the candidates? | [
"#1 = Scan Table [ Candidates ] Output [ candidate_id ]",
"#2 = Scan Table [ People ] Output [ last_name , person_id , first_name ]",
"#3 = Join [ #1 , #2 ] Predicate [ #1.candidate_id = #2.person_id ] Output [ #2.first_name , #2.last_name ]"
] | [
"What are the id of all the candidates?",
"What are the id, first name and last name of all the people?",
"What are the first and last names of all the candidates?"
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
50dc44b0bb8ab0787b469440dfb85d68569dceba680168f344478fb16beb405a_1 | student_assessment | What are the id of all the candidates? | [
"#1 = Scan Table [ Candidates ] Output [ candidate_id ]"
] | [
"What are the id of all the candidates?"
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
50dc44b0bb8ab0787b469440dfb85d68569dceba680168f344478fb16beb405a_2 | student_assessment | What are the id, first name and last name of all the people? | [
"#1 = Scan Table [ People ] Output [ last_name , person_id , first_name ]"
] | [
"What are the id, first name and last name of all the people?"
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
47cb3592ae31420ae9d267217a540dbb8bb1bb2ebdeb808497983583bc822582_0 | student_assessment | List the id of students who never attends courses? | [
"#1 = Scan Table [ Students ] Output [ student_id ]",
"#2 = Scan Table [ Student_Course_Attendance ] Output [ student_id ]",
"#3 = Aggregate [ #2 ] GroupBy [ student_id ] Output [ student_id ]",
"#4 = Except [ #1 , #3 ] Predicate [ #3.student_id = #1.student_id ] Output [ #1.student_id ]"
] | [
"List the id of all students.",
"List the id of students in all student attendances.",
"List the distinct id of students in all student attendances.",
"List the id of students who never attends courses?"
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
47cb3592ae31420ae9d267217a540dbb8bb1bb2ebdeb808497983583bc822582_1 | student_assessment | List the id of all students. | [
"#1 = Scan Table [ Students ] Output [ student_id ]"
] | [
"List the id of all students."
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
47cb3592ae31420ae9d267217a540dbb8bb1bb2ebdeb808497983583bc822582_2 | student_assessment | List the distinct id of students in all student attendances. | [
"#1 = Scan Table [ Student_Course_Attendance ] Output [ student_id ]",
"#2 = Aggregate [ #1 ] GroupBy [ student_id ] Output [ student_id ]"
] | [
"List the id of students in all student attendances.",
"List the distinct id of students in all student attendances."
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
47cb3592ae31420ae9d267217a540dbb8bb1bb2ebdeb808497983583bc822582_3 | student_assessment | List the id of students in all student attendances. | [
"#1 = Scan Table [ Student_Course_Attendance ] Output [ student_id ]"
] | [
"List the id of students in all student attendances."
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
81755edadd0cf4bfde3e2dd44df8c63684ce6259c4713adad223eba8ac7c69e4_0 | student_assessment | List the id of students who never attends courses? | [
"#1 = Scan Table [ Students ] Output [ student_id ]",
"#2 = Scan Table [ Student_Course_Attendance ] Output [ student_id ]",
"#3 = Aggregate [ #2 ] GroupBy [ student_id ] Output [ student_id ]",
"#4 = Except [ #1 , #3 ] Predicate [ #3.student_id = #1.student_id ] Output [ #1.student_id ]"
] | [
"List the id of all students.",
"List the id of students in all student attendances.",
"List the distinct id of students in all student attendances.",
"List the id of students who never attends courses?"
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
81755edadd0cf4bfde3e2dd44df8c63684ce6259c4713adad223eba8ac7c69e4_1 | student_assessment | List the id of all students. | [
"#1 = Scan Table [ Students ] Output [ student_id ]"
] | [
"List the id of all students."
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
81755edadd0cf4bfde3e2dd44df8c63684ce6259c4713adad223eba8ac7c69e4_2 | student_assessment | List the distinct id of students in all student attendances. | [
"#1 = Scan Table [ Student_Course_Attendance ] Output [ student_id ]",
"#2 = Aggregate [ #1 ] GroupBy [ student_id ] Output [ student_id ]"
] | [
"List the id of students in all student attendances.",
"List the distinct id of students in all student attendances."
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
81755edadd0cf4bfde3e2dd44df8c63684ce6259c4713adad223eba8ac7c69e4_3 | student_assessment | List the id of students in all student attendances. | [
"#1 = Scan Table [ Student_Course_Attendance ] Output [ student_id ]"
] | [
"List the id of students in all student attendances."
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
7f4b4aa0ed1001add86a582823b0b2406084ef964137c8942975fb42ef1d770a_0 | student_assessment | List the id of students who attended some courses? | [
"#1 = Scan Table [ Student_Course_Attendance ] Output [ student_id ]"
] | [
"List the id of students who attended some courses?"
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
54c1d491895de46fd68be3754c28453c7f3d06a235a6f4fcf644b11aab2e2bbf_0 | student_assessment | What are the ids of all students who have attended at least one course? | [
"#1 = Scan Table [ Student_Course_Attendance ] Output [ student_id ]"
] | [
"What are the ids of all students who have attended at least one course?"
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
b1d7e82ef55f07d167307e1aec6aa5c443b812a3a3c7a14c7bd17821ade0a2cc_0 | student_assessment | What are the ids of all students for courses and what are the names of those courses? | [
"#1 = Scan Table [ Courses ] Output [ course_name , course_id ]",
"#2 = Scan Table [ Student_Course_Registrations ] Output [ student_id , course_id ]",
"#3 = Join [ #1 , #2 ] Predicate [ #1.course_id = #2.course_id ] Output [ #1.course_name , #2.student_id ]"
] | [
"What are the ids and names of all courses?",
"What are the all pairs of student id and course id in registrations?",
"What are the ids of all students for courses and what are the names of those courses?"
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
b1d7e82ef55f07d167307e1aec6aa5c443b812a3a3c7a14c7bd17821ade0a2cc_1 | student_assessment | What are the ids and names of all courses? | [
"#1 = Scan Table [ Courses ] Output [ course_name , course_id ]"
] | [
"What are the ids and names of all courses?"
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
b1d7e82ef55f07d167307e1aec6aa5c443b812a3a3c7a14c7bd17821ade0a2cc_2 | student_assessment | What are the all pairs of student id and course id in registrations? | [
"#1 = Scan Table [ Student_Course_Registrations ] Output [ student_id , course_id ]"
] | [
"What are the all pairs of student id and course id in registrations?"
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
e06273940266e32990ff8c0ec94e6cacd1873a393519f9fa44299786f5cab07c_0 | student_assessment | What is detail of the student who most recently registered course? | [
"#1 = Scan Table [ Students ] Output [ student_id , student_details ]",
"#2 = Scan Table [ Student_Course_Registrations ] Output [ student_id , registration_date ]",
"#3 = Join [ #1 , #2 ] Predicate [ #1.student_id = #2.student_id ] Output [ #1.student_details , #2.registration_date ]",
"#4 = TopSort [ #3 ] R... | [
"What is the id and details of all students?",
"What is id of the student and the registration date in all student registrations?",
"What is detail of the student and the registration date in all student registrations?",
"What is detail of the student who most recently registered course?"
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
e06273940266e32990ff8c0ec94e6cacd1873a393519f9fa44299786f5cab07c_1 | student_assessment | What is detail of the student and the registration date in all student registrations? | [
"#1 = Scan Table [ Students ] Output [ student_id , student_details ]",
"#2 = Scan Table [ Student_Course_Registrations ] Output [ student_id , registration_date ]",
"#3 = Join [ #1 , #2 ] Predicate [ #1.student_id = #2.student_id ] Output [ #1.student_details , #2.registration_date ]"
] | [
"What is the id and details of all students?",
"What is id of the student and the registration date in all student registrations?",
"What is detail of the student and the registration date in all student registrations?"
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
e06273940266e32990ff8c0ec94e6cacd1873a393519f9fa44299786f5cab07c_2 | student_assessment | What is the id and details of all students? | [
"#1 = Scan Table [ Students ] Output [ student_id , student_details ]"
] | [
"What is the id and details of all students?"
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
e06273940266e32990ff8c0ec94e6cacd1873a393519f9fa44299786f5cab07c_3 | student_assessment | What is id of the student and the registration date in all student registrations? | [
"#1 = Scan Table [ Student_Course_Registrations ] Output [ student_id , registration_date ]"
] | [
"What is id of the student and the registration date in all student registrations?"
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
8bdf30f44f898ab25909e0862ff6c1bb13f058dd4dac18ab8fe0224a404c5e77_0 | student_assessment | What is detail of the student who most recently registered course? | [
"#1 = Scan Table [ Students ] Output [ student_id , student_details ]",
"#2 = Scan Table [ Student_Course_Registrations ] Output [ student_id , registration_date ]",
"#3 = Join [ #1 , #2 ] Predicate [ #1.student_id = #2.student_id ] Output [ #1.student_details , #2.registration_date ]",
"#4 = TopSort [ #3 ] R... | [
"What is the id and details of all students?",
"What is id of the student and the registration date in all student registrations?",
"What is detail of the student and the registration date in all student registrations?",
"What is detail of the student who most recently registered course?"
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
8bdf30f44f898ab25909e0862ff6c1bb13f058dd4dac18ab8fe0224a404c5e77_1 | student_assessment | What is detail of the student and the registration date in all student registrations? | [
"#1 = Scan Table [ Students ] Output [ student_id , student_details ]",
"#2 = Scan Table [ Student_Course_Registrations ] Output [ student_id , registration_date ]",
"#3 = Join [ #1 , #2 ] Predicate [ #1.student_id = #2.student_id ] Output [ #1.student_details , #2.registration_date ]"
] | [
"What is the id and details of all students?",
"What is id of the student and the registration date in all student registrations?",
"What is detail of the student and the registration date in all student registrations?"
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
8bdf30f44f898ab25909e0862ff6c1bb13f058dd4dac18ab8fe0224a404c5e77_2 | student_assessment | What is the id and details of all students? | [
"#1 = Scan Table [ Students ] Output [ student_id , student_details ]"
] | [
"What is the id and details of all students?"
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
8bdf30f44f898ab25909e0862ff6c1bb13f058dd4dac18ab8fe0224a404c5e77_3 | student_assessment | What is id of the student and the registration date in all student registrations? | [
"#1 = Scan Table [ Student_Course_Registrations ] Output [ student_id , registration_date ]"
] | [
"What is id of the student and the registration date in all student registrations?"
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
dfdf85e06a6e3b2a155381b5b042e865db1c481794fbbe1027de4e3c4b66e9e7_0 | student_assessment | How many students attend course English? | [
"#1 = Scan Table [ Courses ] Predicate [ course_name = 'English' ] Output [ course_name , course_id ]",
"#2 = Scan Table [ Student_Course_Attendance ] Output [ course_id ]",
"#3 = Join [ #1 , #2 ] Predicate [ #1.course_id = #2.course_id ] Output [ 1 AS One ]",
"#4 = Aggregate [ #3 ] Output [ countstar AS Coun... | [
"Find the id of the course English.",
"Find the course id in all student attendances.",
"List 1 for each student attends course English.",
"How many students attend course English?"
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
dfdf85e06a6e3b2a155381b5b042e865db1c481794fbbe1027de4e3c4b66e9e7_1 | student_assessment | List 1 for each student attends course English. | [
"#1 = Scan Table [ Courses ] Predicate [ course_name = 'English' ] Output [ course_name , course_id ]",
"#2 = Scan Table [ Student_Course_Attendance ] Output [ course_id ]",
"#3 = Join [ #1 , #2 ] Predicate [ #1.course_id = #2.course_id ] Output [ 1 AS One ]"
] | [
"Find the id of the course English.",
"Find the course id in all student attendances.",
"List 1 for each student attends course English."
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
dfdf85e06a6e3b2a155381b5b042e865db1c481794fbbe1027de4e3c4b66e9e7_2 | student_assessment | Find the id of the course English. | [
"#1 = Scan Table [ Courses ] Predicate [ course_name = 'English' ] Output [ course_name , course_id ]"
] | [
"Find the id of the course English."
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
dfdf85e06a6e3b2a155381b5b042e865db1c481794fbbe1027de4e3c4b66e9e7_3 | student_assessment | Find the course id in all student attendances. | [
"#1 = Scan Table [ Student_Course_Attendance ] Output [ course_id ]"
] | [
"Find the course id in all student attendances."
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
e1efb519932f8937b319f4c2982155f3ae8776b0ea491a997cc554762d4ed70d_0 | student_assessment | How many students attend course English? | [
"#1 = Scan Table [ Courses ] Predicate [ course_name = 'English' ] Output [ course_name , course_id ]",
"#2 = Scan Table [ Student_Course_Attendance ] Output [ course_id ]",
"#3 = Join [ #1 , #2 ] Predicate [ #1.course_id = #2.course_id ] Output [ 1 AS One ]",
"#4 = Aggregate [ #3 ] Output [ countstar AS Coun... | [
"Find the id of the course English.",
"Find the course id in all student attendances.",
"List 1 for each student attends course English.",
"How many students attend course English?"
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
e1efb519932f8937b319f4c2982155f3ae8776b0ea491a997cc554762d4ed70d_1 | student_assessment | List 1 for each student attends course English. | [
"#1 = Scan Table [ Courses ] Predicate [ course_name = 'English' ] Output [ course_name , course_id ]",
"#2 = Scan Table [ Student_Course_Attendance ] Output [ course_id ]",
"#3 = Join [ #1 , #2 ] Predicate [ #1.course_id = #2.course_id ] Output [ 1 AS One ]"
] | [
"Find the id of the course English.",
"Find the course id in all student attendances.",
"List 1 for each student attends course English."
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
e1efb519932f8937b319f4c2982155f3ae8776b0ea491a997cc554762d4ed70d_2 | student_assessment | Find the id of the course English. | [
"#1 = Scan Table [ Courses ] Predicate [ course_name = 'English' ] Output [ course_name , course_id ]"
] | [
"Find the id of the course English."
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
e1efb519932f8937b319f4c2982155f3ae8776b0ea491a997cc554762d4ed70d_3 | student_assessment | Find the course id in all student attendances. | [
"#1 = Scan Table [ Student_Course_Attendance ] Output [ course_id ]"
] | [
"Find the course id in all student attendances."
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
da9c2036f9c51deb4a8173cc060e8a5481dd76d53b84cd6d19ee1ebda7e85ec1_0 | student_assessment | How many courses does the student with id 171 actually attend? | [
"#1 = Scan Table [ Student_Course_Attendance ] Predicate [ student_id = 171 ] Output [ student_id , course_id ]",
"#2 = Scan Table [ Courses ] Output [ course_id ]",
"#3 = Join [ #1 , #2 ] Predicate [ #1.course_id = #2.course_id ] Output [ 1 AS One ]",
"#4 = Aggregate [ #3 ] Output [ countstar AS Count_Star ]... | [
"List the courses ids the student with id 171 actually attends.",
"List the ids of all courses.",
"List 1 for each course the student with id 171 actually attends.",
"How many courses does the student with id 171 actually attend?"
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
da9c2036f9c51deb4a8173cc060e8a5481dd76d53b84cd6d19ee1ebda7e85ec1_1 | student_assessment | List 1 for each course the student with id 171 actually attends. | [
"#1 = Scan Table [ Student_Course_Attendance ] Predicate [ student_id = 171 ] Output [ student_id , course_id ]",
"#2 = Scan Table [ Courses ] Output [ course_id ]",
"#3 = Join [ #1 , #2 ] Predicate [ #1.course_id = #2.course_id ] Output [ 1 AS One ]"
] | [
"List the courses ids the student with id 171 actually attends.",
"List the ids of all courses.",
"List 1 for each course the student with id 171 actually attends."
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
da9c2036f9c51deb4a8173cc060e8a5481dd76d53b84cd6d19ee1ebda7e85ec1_2 | student_assessment | List the courses ids the student with id 171 actually attends. | [
"#1 = Scan Table [ Student_Course_Attendance ] Predicate [ student_id = 171 ] Output [ student_id , course_id ]"
] | [
"List the courses ids the student with id 171 actually attends."
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
da9c2036f9c51deb4a8173cc060e8a5481dd76d53b84cd6d19ee1ebda7e85ec1_3 | student_assessment | List the ids of all courses. | [
"#1 = Scan Table [ Courses ] Output [ course_id ]"
] | [
"List the ids of all courses."
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
648da2c60c6ceebe2027885253a645b536c730c30924bf29cc7b0591394ab7c8_0 | student_assessment | How many courses does the student with id 171 actually attend? | [
"#1 = Scan Table [ Student_Course_Attendance ] Predicate [ student_id = 171 ] Output [ student_id , course_id ]",
"#2 = Scan Table [ Courses ] Output [ course_id ]",
"#3 = Join [ #1 , #2 ] Predicate [ #1.course_id = #2.course_id ] Output [ 1 AS One ]",
"#4 = Aggregate [ #3 ] Output [ countstar AS Count_Star ]... | [
"List the courses ids the student with id 171 actually attends.",
"List the ids of all courses.",
"List 1 for each course the student with id 171 actually attends.",
"How many courses does the student with id 171 actually attend?"
] | [
{
"content": "You are a question decomposition expert. You are given a database schema and a complex database input question in natural language, and your task is to break down the complex database input question into simpler sub-questions in a recursive way, like a tree. In each step you will be given a questi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.