db_id
stringclasses
11 values
instruction
stringlengths
1.63k
14k
role
stringclasses
45 values
policy
unknown
input
stringlengths
23
477
output
stringlengths
23
2.22k
difficulty
stringclasses
3 values
metadata
dict
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
List all the names of events that had an attendance of over 20 students but were not fundraisers.
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT T1.event_name FROM event AS T1 INNER JOIN attendance AS T2 ON T1.event_id = T2.link_to_event WHERE T1.type != 'Fundraiser' GROUP BY T1.event_id HAVING COUNT(T2.link_to_event) > 20", "permission": "denied", "query_columns": { "event": [ "event_id", "event_name", "type" ...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
What is the average attendance of meetings in 2020?
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT CAST(COUNT(T2.link_to_event) AS REAL) / COUNT(DISTINCT T2.link_to_event) FROM event AS T1 INNER JOIN attendance AS T2 ON T1.event_id = T2.link_to_event WHERE SUBSTR(T1.event_date, 1, 4) = '2020' AND T1.type = 'Meeting'", "permission": "denied", "query_columns": { "event": [ "event_...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
What is the most expensive item that was spent in support of club events?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT expense_description FROM expense ORDER BY cost DESC LIMIT 1", "permission": "denied", "query_columns": { "expense": [ "cost", "expense_description" ] }, "missing_columns": { "expense": [ "cost" ] }, "reason": "Missing column permissions: expense: cos...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
How many members of the Student_Club have majored Environmental Engineering?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT COUNT(T1.member_id) FROM member AS T1 INNER JOIN major AS T2 ON T1.link_to_major = T2.major_id WHERE T2.major_name = 'Environmental Engineering'", "permission": "denied", "query_columns": { "major": [ "major_id", "major_name" ], "member": [ "link_to_major", ...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
List the full name of all the members of the Student_Club who attended the "Laugh Out Loud" event.
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT T1.first_name, T1.last_name FROM member AS T1 INNER JOIN attendance AS T2 ON T1.member_id = T2.link_to_member INNER JOIN event AS T3 ON T2.link_to_event = T3.event_id WHERE T3.event_name = 'Laugh Out Loud'", "permission": "denied", "query_columns": { "event": [ "event_id", "e...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
List the last name of all the students who majored Law and Constitutional Studies.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T1.last_name FROM member AS T1 INNER JOIN major AS T2 ON T1.link_to_major = T2.major_id WHERE T2.major_name = 'Law and Constitutional Studies'", "permission": "denied", "query_columns": { "major": [ "major_id", "major_name" ], "member": [ "last_name", "lin...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
What county did Sherri Ramsey grew up?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T2.county FROM member AS T1 INNER JOIN zip_code AS T2 ON T1.zip = T2.zip_code WHERE T1.first_name = 'Sherri' AND T1.last_name = 'Ramsey'", "permission": "denied", "query_columns": { "zip_code": [ "county", "zip_code" ], "member": [ "first_name", "last_name...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
What college offers the major that Tyler Hewitt took?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T2.college FROM member AS T1 INNER JOIN major AS T2 ON T1.link_to_major = T2.major_id WHERE T1.first_name = 'Tyler' AND T1.last_name = 'Hewitt'", "permission": "denied", "query_columns": { "major": [ "college", "major_id" ], "member": [ "first_name", "last...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
What is the amount of the funds that the Vice President received?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T2.amount\nFROM member AS T1\nINNER JOIN income AS T2 ON T1.member_id = T2.link_to_member\nWHERE T1.position = 'Vice President';", "permission": "denied", "query_columns": { "income": [ "amount", "link_to_member" ], "member": [ "member_id", "position" ...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
How much did the Student_Club members spend on food in the September Meeting?
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT T2.spent FROM event AS T1 INNER JOIN budget AS T2 ON T1.event_id = T2.link_to_event WHERE T1.event_name = 'September Meeting' AND T2.category = 'Food'", "permission": "denied", "query_columns": { "event": [ "event_id", "event_name" ], "budget": [ "category", ...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
What is the hometown city and state of the Student Club President?
SELECT T2.city, T2.state FROM member AS T1 INNER JOIN zip_code AS T2 ON T1.zip = T2.zip_code WHERE T1.position = 'President'
simple
{ "gold_sql": "SELECT T2.city, T2.state FROM member AS T1 INNER JOIN zip_code AS T2 ON T1.zip = T2.zip_code WHERE T1.position = 'President'", "permission": "allowed", "query_columns": { "zip_code": [ "city", "state", "zip_code" ], "member": [ "position", "zip" ] }, ...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
List the full name of the Student_Club members that grew up in Illinois state.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T1.first_name, T1.last_name FROM member AS T1 INNER JOIN zip_code AS T2 ON T1.zip = T2.zip_code WHERE T2.state = 'Illinois'", "permission": "denied", "query_columns": { "zip_code": [ "state", "zip_code" ], "member": [ "first_name", "last_name", "zip"...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
How much did the Student_Club members spend on advertisement in September Meeting?
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT T2.spent FROM event AS T1 INNER JOIN budget AS T2 ON T1.event_id = T2.link_to_event WHERE T1.event_name = 'September Meeting' AND T2.category = 'Advertisement'", "permission": "denied", "query_columns": { "event": [ "event_id", "event_name" ], "budget": [ "categ...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
What department offers the major that Pierce and Guidi took?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T2.department FROM member AS T1 INNER JOIN major AS T2 ON T1.link_to_major = T2.major_id WHERE T1.last_name = 'Pierce' OR T1.last_name = 'Guidi'", "permission": "denied", "query_columns": { "major": [ "department", "major_id" ], "member": [ "last_name", "l...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
What is the total budgeted amount for all category in "October Speaker" event?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT SUM(T2.amount) FROM event AS T1 INNER JOIN budget AS T2 ON T1.event_id = T2.link_to_event WHERE T1.event_name = 'October Speaker'", "permission": "denied", "query_columns": { "event": [ "event_id", "event_name" ], "budget": [ "amount", "link_to_event" ...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
Was each expense in October Meeting on October 8, 2019 approved?
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT T3.approved FROM event AS T1 INNER JOIN budget AS T2 ON T1.event_id = T2.link_to_event INNER JOIN expense AS T3 ON T2.budget_id = T3.link_to_budget WHERE T1.event_name = 'October Meeting' AND T1.event_date LIKE '2019-10-08%'", "permission": "denied", "query_columns": { "event": [ "...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
Calculate the total average cost that Elijah Allen spent in the events on September and October.
Sorry, I cannot answer.
challenging
{ "gold_sql": "SELECT AVG(T2.cost) FROM member AS T1 INNER JOIN expense AS T2 ON T1.member_id = T2.link_to_member WHERE T1.last_name = 'Allen' AND T1.first_name = 'Elijah' AND (SUBSTR(T2.expense_date, 6, 2) = '09' OR SUBSTR(T2.expense_date, 6, 2) = '10')", "permission": "denied", "query_columns": { "expense":...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
Calculate the difference of the total amount spent in all events by the Student_Club in year 2019 and 2020.
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT SUM(CASE WHEN SUBSTR(T1.event_date, 1, 4) = '2019' THEN T2.spent ELSE 0 END) - SUM(CASE WHEN SUBSTR(T1.event_date, 1, 4) = '2020' THEN T2.spent ELSE 0 END) AS num FROM event AS T1 INNER JOIN budget AS T2 ON T1.event_id = T2.link_to_event", "permission": "denied", "query_columns": { "even...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
Give the location for "Spring Budget Review".
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT location FROM event WHERE event_name = 'Spring Budget Review'", "permission": "denied", "query_columns": { "event": [ "event_name" ] }, "missing_columns": { "event": [ "event_name" ] }, "reason": "Missing column permissions: event: event_name", "question...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
What was the cost for the "Posters" on 2019/9/4?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT cost FROM expense WHERE expense_description = 'Posters' AND expense_date = '2019-09-04'", "permission": "denied", "query_columns": { "expense": [ "cost", "expense_date", "expense_description" ] }, "missing_columns": { "expense": [ "cost" ] }, "...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
With the biggest budget for the "Food", what was the remaining of it?
SELECT remaining FROM budget WHERE category = 'Food' AND amount = ( SELECT MAX(amount) FROM budget WHERE category = 'Food' )
simple
{ "gold_sql": "SELECT remaining FROM budget WHERE category = 'Food' AND amount = ( SELECT MAX(amount) FROM budget WHERE category = 'Food' )", "permission": "allowed", "query_columns": { "budget": [ "amount", "category", "remaining" ] }, "missing_columns": {}, "reason": "All require...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
What was the notes of the fundraising on 2019/9/14?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT notes FROM income WHERE source = 'Fundraising' AND date_received = '2019-09-14'", "permission": "denied", "query_columns": { "income": [ "date_received", "notes" ] }, "missing_columns": { "income": [ "date_received", "notes" ] }, "reason": "Mis...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
How many majors are there in "College of Humanities and Social Sciences"?
SELECT COUNT(major_name) FROM major WHERE college = 'College of Humanities and Social Sciences'
simple
{ "gold_sql": "SELECT COUNT(major_name) FROM major WHERE college = 'College of Humanities and Social Sciences'", "permission": "allowed", "query_columns": { "major": [ "college", "major_name" ] }, "missing_columns": {}, "reason": "All required columns are permitted", "question_id": 134...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
Tell the phone number of "Carlo Jacobs".
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT phone FROM member WHERE first_name = 'Carlo' AND last_name = 'Jacobs'", "permission": "denied", "query_columns": { "member": [ "first_name", "last_name", "phone" ] }, "missing_columns": { "member": [ "last_name" ] }, "reason": "Missing column p...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
Tell the hometown county for "Adela O'Gallagher".
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T2.county FROM member AS T1 INNER JOIN zip_code AS T2 ON T1.zip = T2.zip_code WHERE T1.first_name = 'Adela' AND T1.last_name = 'O''Gallagher'", "permission": "denied", "query_columns": { "zip_code": [ "county", "zip_code" ], "member": [ "first_name", "last...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
For all the budgets for "November Meeting", how many of them had exceeded the budget?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT COUNT(T2.event_id) FROM budget AS T1 INNER JOIN event AS T2 ON T1.link_to_event = T2.event_id WHERE T2.event_name = 'November Meeting' AND T1.remaining < 0", "permission": "denied", "query_columns": { "event": [ "event_id", "event_name" ], "budget": [ "link_to_e...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
Provide the total number of the budget amount for "September Speaker" event.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT SUM(T1.amount) FROM budget AS T1 INNER JOIN event AS T2 ON T1.link_to_event = T2.event_id WHERE T2.event_name = 'September Speaker'", "permission": "denied", "query_columns": { "event": [ "event_id", "event_name" ], "budget": [ "amount", "link_to_event" ...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
What is the status of the event which bought "Post Cards, Posters" on 2019/8/20?
SELECT T1.event_status FROM budget AS T1 INNER JOIN expense AS T2 ON T1.budget_id = T2.link_to_budget WHERE T2.expense_description = 'Post Cards, Posters' AND T2.expense_date = '2019-08-20'
moderate
{ "gold_sql": "SELECT T1.event_status FROM budget AS T1 INNER JOIN expense AS T2 ON T1.budget_id = T2.link_to_budget WHERE T2.expense_description = 'Post Cards, Posters' AND T2.expense_date = '2019-08-20'", "permission": "allowed", "query_columns": { "expense": [ "expense_date", "expense_descripti...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
What was Brent Thomason's major?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T2.major_name FROM member AS T1 INNER JOIN major AS T2 ON T1.link_to_major = T2.major_id WHERE T1.first_name = 'Brent' AND T1.last_name = 'Thomason'", "permission": "denied", "query_columns": { "major": [ "major_id", "major_name" ], "member": [ "first_name", ...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
For all the club members from "Business" major, how many of them wear medium size t-shirt?
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT COUNT(T1.member_id) FROM member AS T1 INNER JOIN major AS T2 ON T1.link_to_major = T2.major_id WHERE T2.major_name = 'Business' AND T1.t_shirt_size = 'Medium'", "permission": "denied", "query_columns": { "major": [ "major_id", "major_name" ], "member": [ "link_t...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
What's Christof Nielson's zip code type?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T2.type FROM member AS T1 INNER JOIN zip_code AS T2 ON T1.zip = T2.zip_code WHERE T1.first_name = 'Christof' AND T1.last_name = 'Nielson'", "permission": "denied", "query_columns": { "zip_code": [ "type", "zip_code" ], "member": [ "first_name", "last_name"...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
State the major name for the Vice President of the club.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T2.major_name FROM member AS T1 INNER JOIN major AS T2 ON T1.link_to_major = T2.major_id WHERE T1.position = 'Vice President'", "permission": "denied", "query_columns": { "major": [ "major_id", "major_name" ], "member": [ "link_to_major", "position" ] ...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
Where is the hometown state for "Sacha Harrison"?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T2.state FROM member AS T1 INNER JOIN zip_code AS T2 ON T1.zip = T2.zip_code WHERE T1.first_name = 'Sacha' AND T1.last_name = 'Harrison'", "permission": "denied", "query_columns": { "zip_code": [ "state", "zip_code" ], "member": [ "first_name", "last_name"...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
Which department was the President of the club in?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T2.department FROM member AS T1 INNER JOIN major AS T2 ON T1.link_to_major = T2.major_id WHERE T1.position = 'President'", "permission": "denied", "query_columns": { "major": [ "department", "major_id" ], "member": [ "link_to_major", "position" ] }, ...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
State the date Connor Hilton paid his/her dues.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T2.date_received FROM member AS T1 INNER JOIN income AS T2 ON T1.member_id = T2.link_to_member WHERE T1.first_name = 'Connor' AND T1.last_name = 'Hilton' AND T2.source = 'Dues'", "permission": "denied", "query_columns": { "income": [ "date_received", "link_to_member", "...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
Who was the first one paid his/her dues? Tell the full name.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T1.first_name, T1.last_name\nFROM member AS T1\nINNER JOIN income AS T2 ON T1.member_id = T2.link_to_member\nWHERE T2.source = 'Dues'\nORDER BY T2.date_received ASC, T1.member_id ASC\nLIMIT 1;", "permission": "denied", "query_columns": { "income": [ "date_received", "link_to_...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
How many times was the budget in Advertisement for "Yearly Kickoff" meeting more than "October Meeting"?
Sorry, I cannot answer.
challenging
{ "gold_sql": "SELECT CAST(SUM(CASE WHEN T2.event_name = 'Yearly Kickoff' THEN T1.amount ELSE 0 END) AS REAL) / SUM(CASE WHEN T2.event_name = 'October Meeting' THEN T1.amount ELSE 0 END) FROM budget AS T1 INNER JOIN event AS T2 ON T1.link_to_event = T2.event_id WHERE T1.category = 'Advertisement' AND T2.type = 'Meeti...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
What percentage was the budget for Parking to the total budget for the "November Speaker"?
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT CAST(SUM(CASE WHEN T1.category = 'Parking' THEN T1.amount ELSE 0 END) AS REAL) * 100 / SUM(T1.amount) FROM budget AS T1 INNER JOIN event AS T2 ON T1.link_to_event = T2.event_id WHERE T2.event_name = 'November Speaker'", "permission": "denied", "query_columns": { "event": [ "event_i...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
What is the total cost of the pizzas for all the events?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT SUM(cost) FROM expense WHERE expense_description = 'Pizza'", "permission": "denied", "query_columns": { "expense": [ "cost", "expense_description" ] }, "missing_columns": { "expense": [ "cost" ] }, "reason": "Missing column permissions: expense: cost...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
How many cities are there in Orange County, Virginia?
SELECT COUNT(city) FROM zip_code WHERE county = 'Orange County' AND state = 'Virginia'
simple
{ "gold_sql": "SELECT COUNT(city) FROM zip_code WHERE county = 'Orange County' AND state = 'Virginia'", "permission": "allowed", "query_columns": { "zip_code": [ "city", "county", "state" ] }, "missing_columns": {}, "reason": "All required columns are permitted", "question_id": 1...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
List all of the College of Humanities and Social Sciences' departments.
SELECT DISTINCT department FROM major WHERE college = 'College of Humanities and Social Sciences'
simple
{ "gold_sql": "SELECT DISTINCT department FROM major WHERE college = 'College of Humanities and Social Sciences'", "permission": "allowed", "query_columns": { "major": [ "college", "department" ] }, "missing_columns": {}, "reason": "All required columns are permitted", "question_id": 1...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
Where is Amy Firth's hometown?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T2.city, T2.county, T2.state FROM member AS T1 INNER JOIN zip_code AS T2 ON T1.zip = T2.zip_code WHERE T1.first_name = 'Amy' AND T1.last_name = 'Firth'", "permission": "denied", "query_columns": { "zip_code": [ "city", "county", "state", "zip_code" ], "mem...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
What are the expenses of the budget with the lowest remaining?
SELECT T2.expense_description FROM budget AS T1 INNER JOIN expense AS T2 ON T1.budget_id = T2.link_to_budget ORDER BY T1.remaining LIMIT 1
simple
{ "gold_sql": "SELECT T2.expense_description FROM budget AS T1 INNER JOIN expense AS T2 ON T1.budget_id = T2.link_to_budget ORDER BY T1.remaining LIMIT 1", "permission": "allowed", "query_columns": { "expense": [ "expense_description", "link_to_budget" ], "budget": [ "budget_id", ...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
List all the members who attended the event "October Meeting".
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT DISTINCT T3.member_id FROM event AS T1 INNER JOIN attendance AS T2 ON T1.event_id = T2.link_to_event INNER JOIN member AS T3 ON T2.link_to_member = T3.member_id WHERE T1.event_name = 'October Meeting'", "permission": "denied", "query_columns": { "event": [ "event_id", "event_...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
Which college do most of the members go to?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T2.college FROM member AS T1 INNER JOIN major AS T2 ON T1.link_to_major = T2.major_id GROUP BY T2.college ORDER BY COUNT(T2.college) DESC LIMIT 1", "permission": "denied", "query_columns": { "major": [ "college", "major_id" ], "member": [ "link_to_major" ] ...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
What does the person with the phone number "809-555-3360" major in?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T2.major_name FROM member AS T1 INNER JOIN major AS T2 ON T1.link_to_major = T2.major_id WHERE T1.phone = '809-555-3360'", "permission": "denied", "query_columns": { "major": [ "major_id", "major_name" ], "member": [ "link_to_major", "phone" ] }, "...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
Which event has the highest budget amount?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T2.event_name FROM budget AS T1 INNER JOIN event AS T2 ON T1.link_to_event = T2.event_id ORDER BY T1.amount DESC LIMIT 1", "permission": "denied", "query_columns": { "event": [ "event_id", "event_name" ], "budget": [ "amount", "link_to_event" ] }, ...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
List all the expenses incurred by the vice president.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T2.expense_id, T2.expense_description\nFROM member AS T1\nINNER JOIN expense AS T2 ON T1.member_id = T2.link_to_member\nWHERE T1.position = 'Vice President';", "permission": "denied", "query_columns": { "expense": [ "expense_description", "expense_id", "link_to_member" ...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
How many members attended the "Women's Soccer" event?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT COUNT(T2.link_to_member) FROM event AS T1 INNER JOIN attendance AS T2 ON T1.event_id = T2.link_to_event WHERE T1.event_name = 'Women''s Soccer'", "permission": "denied", "query_columns": { "event": [ "event_id", "event_name" ], "attendance": [ "link_to_event", ...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
When did the member, Casey Mason, received the income?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T2.date_received FROM member AS T1 INNER JOIN income AS T2 ON T1.member_id = T2.link_to_member WHERE T1.first_name = 'Casey' AND T1.last_name = 'Mason'", "permission": "denied", "query_columns": { "income": [ "date_received", "link_to_member" ], "member": [ "fir...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
How many of the members' hometowns are from Maryland state?
SELECT COUNT(T2.member_id) FROM zip_code AS T1 INNER JOIN member AS T2 ON T1.zip_code = T2.zip WHERE T1.state = 'Maryland';
simple
{ "gold_sql": "SELECT COUNT(T2.member_id)\nFROM zip_code AS T1\nINNER JOIN member AS T2 ON T1.zip_code = T2.zip\nWHERE T1.state = 'Maryland';", "permission": "allowed", "query_columns": { "zip_code": [ "state", "zip_code" ], "member": [ "member_id", "zip" ] }, "missing_...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
How many events did the member with the phone number "954-555-6240" attend?
SELECT COUNT(T2.link_to_event) FROM member AS T1 INNER JOIN attendance AS T2 ON T1.member_id = T2.link_to_member WHERE T1.phone = '954-555-6240'
simple
{ "gold_sql": "SELECT COUNT(T2.link_to_event) FROM member AS T1 INNER JOIN attendance AS T2 ON T1.member_id = T2.link_to_member WHERE T1.phone = '954-555-6240'", "permission": "allowed", "query_columns": { "attendance": [ "link_to_event", "link_to_member" ], "member": [ "member_id", ...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
List all the members of the "School of Applied Sciences, Technology and Education" department.
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT T1.first_name, T1.last_name FROM member AS T1 INNER JOIN major AS T2 ON T1.link_to_major = T2.major_id WHERE T2.department = 'School of Applied Sciences, Technology and Education'", "permission": "denied", "query_columns": { "major": [ "department", "major_id" ], "mem...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
Among all the closed events, which event has the highest spend-to-budget ratio?
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT T2.event_name FROM budget AS T1 INNER JOIN event AS T2 ON T1.link_to_event = T2.event_id WHERE T2.status = 'Closed' ORDER BY T1.spent / T1.amount DESC LIMIT 1", "permission": "denied", "query_columns": { "event": [ "event_id", "event_name", "status" ], "budget":...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
How many student have the position of president?
SELECT COUNT(member_id) FROM member WHERE position = 'President'
simple
{ "gold_sql": "SELECT COUNT(member_id) FROM member WHERE position = 'President'", "permission": "allowed", "query_columns": { "member": [ "member_id" ] }, "missing_columns": {}, "reason": "All required columns are permitted", "question_id": 1377, "evidence": "'President' is a position of S...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
What is the highest amount of budget spend for an event?
SELECT MAX(spent) FROM budget
simple
{ "gold_sql": "SELECT MAX(spent) FROM budget", "permission": "allowed", "query_columns": { "budget": [ "spent" ] }, "missing_columns": {}, "reason": "All required columns are permitted", "question_id": 1378, "evidence": "highest amount of budget spend refers to MAX(spent)" }
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
How many meeting events were held in 2020?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT COUNT(event_id) FROM event WHERE type = 'Meeting' AND SUBSTR(event_date, 1, 4) = '2020'", "permission": "denied", "query_columns": { "event": [ "event_date", "event_id" ] }, "missing_columns": { "event": [ "event_date", "event_id" ] }, "reason"...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
What is the total amount of money spent for food?
SELECT SUM(spent) FROM budget WHERE category = 'Food'
simple
{ "gold_sql": "SELECT SUM(spent) FROM budget WHERE category = 'Food'", "permission": "allowed", "query_columns": { "budget": [ "category", "spent" ] }, "missing_columns": {}, "reason": "All required columns are permitted", "question_id": 1380, "evidence": "total amount of money spent...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
List the name of students that have attended more than 7 events.
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT T1.first_name, T1.last_name FROM member AS T1 INNER JOIN attendance AS T2 ON T1.member_id = T2.link_to_member GROUP BY T2.link_to_member HAVING COUNT(T2.link_to_event) > 7", "permission": "denied", "query_columns": { "attendance": [ "link_to_event", "link_to_member" ], ...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
Among the students majored in interior design, who have attended the Community Theater event?
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT T2.first_name, T2.last_name FROM major AS T1 INNER JOIN member AS T2 ON T1.major_id = T2.link_to_major INNER JOIN attendance AS T3 ON T2.member_id = T3.link_to_member INNER JOIN event AS T4 ON T3.link_to_event = T4.event_id WHERE T4.event_name = 'Community Theater' AND T1.major_name = 'Interior ...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
State the name of students from Georgetown, South Carolina.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T1.first_name, T1.last_name FROM member AS T1 INNER JOIN zip_code AS T2 ON T1.zip = T2.zip_code WHERE T2.city = 'Georgetown' AND T2.state = 'South Carolina'", "permission": "denied", "query_columns": { "zip_code": [ "city", "state", "zip_code" ], "member": [ ...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
How many income generated by Grant Gilmour?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT SUM(T2.amount) FROM member AS T1 INNER JOIN income AS T2 ON T1.member_id = T2.link_to_member WHERE T1.first_name = 'Grant' AND T1.last_name = 'Gilmour'", "permission": "denied", "query_columns": { "income": [ "amount", "link_to_member" ], "member": [ "first_name...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
Which students were able to generate income more than $40?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T1.first_name, T1.last_name FROM member AS T1 INNER JOIN income AS T2 ON T1.member_id = T2.link_to_member WHERE T2.amount > 40", "permission": "denied", "query_columns": { "income": [ "amount", "link_to_member" ], "member": [ "first_name", "last_name", ...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
What is the total expense for the Yearly Kickoff?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT SUM(T3.cost) FROM event AS T1 INNER JOIN budget AS T2 ON T1.event_id = T2.link_to_event INNER JOIN expense AS T3 ON T2.budget_id = T3.link_to_budget WHERE T1.event_name = 'Yearly Kickoff'", "permission": "denied", "query_columns": { "event": [ "event_id", "event_name" ], ...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
Which student has been entrusted to manage the budget for the Yearly Kickoff?
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT T4.first_name, T4.last_name FROM event AS T1 INNER JOIN budget AS T2 ON T1.event_id = T2.link_to_event INNER JOIN expense AS T3 ON T2.budget_id = T3.link_to_budget INNER JOIN member AS T4 ON T3.link_to_member = T4.member_id WHERE T1.event_name = 'Yearly Kickoff'", "permission": "denied", "qu...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
Which students manage to generate the highest income. State his/her full name along with the income source.
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT T1.first_name, T1.last_name, T2.source FROM member AS T1 INNER JOIN income AS T2 ON T1.member_id = T2.link_to_member GROUP BY T1.first_name, T1.last_name, T2.source ORDER BY SUM(T2.amount) DESC LIMIT 1", "permission": "denied", "query_columns": { "income": [ "amount", "link_t...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
Which event has the lowest cost?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T1.event_name FROM event AS T1 INNER JOIN budget AS T2 ON T1.event_id = T2.link_to_event INNER JOIN expense AS T3 ON T2.budget_id = T3.link_to_budget ORDER BY T3.cost LIMIT 1", "permission": "denied", "query_columns": { "event": [ "event_id", "event_name" ], "expense"...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
Based on the total cost for all event, what is the percentage of cost for Yearly Kickoff event?
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT CAST(SUM(CASE WHEN T1.event_name = 'Yearly Kickoff' THEN T3.cost ELSE 0 END) AS REAL) * 100 / SUM(T3.cost) FROM event AS T1 INNER JOIN budget AS T2 ON T1.event_id = T2.link_to_event INNER JOIN expense AS T3 ON T2.budget_id = T3.link_to_budget", "permission": "denied", "query_columns": { ...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
What is the ratio of students majoring in finance to those majoring in physics?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT CAST(SUM(CASE WHEN m2.major_name = 'Finance' THEN 1 ELSE 0 END) AS FLOAT) / NULLIF(CAST(SUM(CASE WHEN m2.major_name = 'Physics' THEN 1 ELSE 0 END) AS FLOAT), 0) AS ratio FROM member m1 JOIN major m2 ON m1.link_to_major = m2.major_id", "permission": "denied", "query_columns": { "major": [...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
Indicate the top source of funds received in September 2019 based on their amount.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT source FROM income WHERE date_received BETWEEN '2019-09-01' and '2019-09-30' ORDER BY source DESC LIMIT 1", "permission": "denied", "query_columns": { "income": [ "date_received" ] }, "missing_columns": { "income": [ "date_received" ] }, "reason": "Missing...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
Provide the full name and email address of the Student_Club's Secretary.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT first_name, last_name, email FROM member WHERE position = 'Secretary'", "permission": "denied", "query_columns": { "member": [ "email", "first_name", "last_name" ] }, "missing_columns": { "member": [ "last_name" ] }, "reason": "Missing column p...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
How many members of the Student_Club have major in 'Physics Teaching'?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT COUNT(T2.member_id) FROM major AS T1 INNER JOIN member AS T2 ON T1.major_id = T2.link_to_major WHERE T1.major_name = 'Physics Teaching'", "permission": "denied", "query_columns": { "major": [ "major_id", "major_name" ], "member": [ "link_to_major", "member...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
How many members did attend the event 'Community Theater' in 2019?
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT COUNT(T2.link_to_member) FROM event AS T1 INNER JOIN attendance AS T2 ON T1.event_id = T2.link_to_event WHERE T1.event_name = 'Community Theater' AND SUBSTR(T1.event_date, 1, 4) = '2019'", "permission": "denied", "query_columns": { "event": [ "event_date", "event_id", "...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
Provide the number of events attended by Luisa Guidi. What is her major?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT COUNT(T3.link_to_event), T1.major_name FROM major AS T1 INNER JOIN member AS T2 ON T1.major_id = T2.link_to_major INNER JOIN attendance AS T3 ON T2.member_id = T3.link_to_member WHERE T2.first_name = 'Luisa' AND T2.last_name = 'Guidi'", "permission": "denied", "query_columns": { "major":...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
On average, how much did the Student_Club spend on food for the typical event in the past?
SELECT SUM(spent) / COUNT(spent) FROM budget WHERE category = 'Food' AND event_status = 'Closed'
simple
{ "gold_sql": "SELECT SUM(spent) / COUNT(spent) FROM budget WHERE category = 'Food' AND event_status = 'Closed'", "permission": "allowed", "query_columns": { "budget": [ "category", "event_status", "spent" ] }, "missing_columns": {}, "reason": "All required columns are permitted", ...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
Name the event with the highest amount spent on advertisement.
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT T2.event_name FROM budget AS T1 INNER JOIN event AS T2 ON T1.link_to_event = T2.event_id WHERE T1.category = 'Advertisement' ORDER BY T1.spent DESC, T2.event_id ASC LIMIT 1", "permission": "denied", "query_columns": { "event": [ "event_id", "event_name" ], "budget": [...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
Did Maya Mclean attend the 'Women's Soccer' event?
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT \n CASE \n WHEN EXISTS (\n SELECT 1 \n FROM member T1\n INNER JOIN attendance T2 ON T1.member_id = T2.link_to_member\n INNER JOIN event T3 ON T2.link_to_event = T3.event_id\n WHERE T1.first_name = 'Maya' \n AND T1.last...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
Among all events hold by the Student_Club in 2019, find the percentage share of events related to 'Community Service'
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT CAST(SUM(CASE WHEN type = 'Community Service' THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(type) FROM event WHERE SUBSTR(event_date, 1, 4) = '2019'", "permission": "denied", "query_columns": { "event": [ "event_date" ] }, "missing_columns": { "event": [ "event_date" ...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
Indicate the cost of posters for 'September Speaker' event.
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT T3.cost FROM event AS T1 INNER JOIN budget AS T2 ON T1.event_id = T2.link_to_event INNER JOIN expense AS T3 ON T2.budget_id = T3.link_to_budget WHERE T1.event_name = 'September Speaker' AND T3.expense_description = 'Posters'", "permission": "denied", "query_columns": { "event": [ "...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
What is the most popular size of t-shirt ordered by the club members?
SELECT t_shirt_size FROM member GROUP BY t_shirt_size ORDER BY COUNT(t_shirt_size) DESC LIMIT 1
simple
{ "gold_sql": "SELECT t_shirt_size FROM member GROUP BY t_shirt_size ORDER BY COUNT(t_shirt_size) DESC LIMIT 1", "permission": "allowed", "query_columns": { "member": [ "t_shirt_size" ] }, "missing_columns": {}, "reason": "All required columns are permitted", "question_id": 1402, "evidence...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
Indicate the name of the closed event whose cost has exceeded the budget the most.
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT T2.event_name FROM budget AS T1 INNER JOIN event AS T2 ON T2.event_id = T1.link_to_event WHERE T1.event_status = 'Closed' AND T1.remaining < 0 ORDER BY T1.remaining LIMIT 1", "permission": "denied", "query_columns": { "event": [ "event_id", "event_name" ], "budget": [...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
Identify the type of expenses and their total value approved for 'October Meeting' event.
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT T3.expense_description, SUM(T3.cost) \nFROM event AS T1 \nINNER JOIN budget AS T2 ON T1.event_id = T2.link_to_event \nINNER JOIN expense AS T3 ON T2.budget_id = T3.link_to_budget \nWHERE T1.event_name = 'October Meeting' AND T3.approved = 'true'\nGROUP BY T3.expense_description", "permission":...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
Calculate the amount budgeted for 'April Speaker' event. List all the budgeted categories for said event in an ascending order based on their amount budgeted.
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT T2.category, SUM(T2.amount) FROM event AS T1 JOIN budget AS T2 ON T1.event_id = T2.link_to_event WHERE T1.event_name = 'April Speaker' GROUP BY T2.category ORDER BY SUM(T2.amount) ASC", "permission": "denied", "query_columns": { "event": [ "event_id", "event_name" ], ...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
Among the budgets for Food, which one has the highest budgeted amount?
SELECT budget_id FROM budget WHERE category = 'Food' AND amount = (SELECT MAX(amount) FROM budget WHERE category = 'Food')
simple
{ "gold_sql": "SELECT budget_id \nFROM budget \nWHERE category = 'Food' \n AND amount = (SELECT MAX(amount) FROM budget WHERE category = 'Food')", "permission": "allowed", "query_columns": { "budget": [ "amount", "budget_id", "category" ] }, "missing_columns": {}, "reason": "All r...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
Among the budgets for Advertising, list out top three which have the most budgeted amount?
SELECT budget_id FROM budget WHERE category = 'Advertisement' ORDER BY amount DESC, budget_id ASC LIMIT 3
simple
{ "gold_sql": "SELECT budget_id FROM budget WHERE category = 'Advertisement' ORDER BY amount DESC, budget_id ASC LIMIT 3", "permission": "allowed", "query_columns": { "budget": [ "amount", "budget_id", "category" ] }, "missing_columns": {}, "reason": "All required columns are permi...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
Calculate the total cost spent for Parking in the list.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT SUM(cost) FROM expense WHERE expense_description = 'Parking'", "permission": "denied", "query_columns": { "expense": [ "cost", "expense_description" ] }, "missing_columns": { "expense": [ "cost" ] }, "reason": "Missing column permissions: expense: co...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
Mention the total expense used on 8/20/2019.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT SUM(cost) FROM expense WHERE expense_date = '2019-08-20'", "permission": "denied", "query_columns": { "expense": [ "cost", "expense_date" ] }, "missing_columns": { "expense": [ "cost" ] }, "reason": "Missing column permissions: expense: cost", "que...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
List out the full name and total cost that member id "rec4BLdZHS2Blfp4v" incurred?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T1.first_name, T1.last_name, SUM(T2.cost) FROM member AS T1 INNER JOIN expense AS T2 ON T1.member_id = T2.link_to_member WHERE T1.member_id = 'rec4BLdZHS2Blfp4v'", "permission": "denied", "query_columns": { "expense": [ "cost", "link_to_member" ], "member": [ "f...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
State what kind of expenses that Sacha Harrison incurred?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T2.expense_description FROM member AS T1 INNER JOIN expense AS T2 ON T1.member_id = T2.link_to_member WHERE T1.first_name = 'Sacha' AND T1.last_name = 'Harrison'", "permission": "denied", "query_columns": { "expense": [ "expense_description", "link_to_member" ], "memb...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
What kind of expenses incurred by members who have X-Large in size of tee shirt?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T2.expense_description FROM member AS T1 INNER JOIN expense AS T2 ON T1.member_id = T2.link_to_member WHERE T1.t_shirt_size = 'X-Large'", "permission": "denied", "query_columns": { "expense": [ "expense_description", "link_to_member" ], "member": [ "member_id", ...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
Mention the zip code of members who incurred less than 50USD.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T1.zip FROM member AS T1 INNER JOIN expense AS T2 ON T1.member_id = T2.link_to_member WHERE T2.cost < 50", "permission": "denied", "query_columns": { "expense": [ "cost", "link_to_member" ], "member": [ "member_id", "zip" ] }, "missing_columns": { ...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
State the name of major that Phillip Cullen has joined.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T1.major_name FROM major AS T1 INNER JOIN member AS T2 ON T1.major_id = T2.link_to_major WHERE T2.first_name = 'Phillip' AND T2.last_name = 'Cullen'", "permission": "denied", "query_columns": { "major": [ "major_id", "major_name" ], "member": [ "first_name", ...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
List out the position of members who joined major of Business.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T2.position FROM major AS T1 INNER JOIN member AS T2 ON T1.major_id = T2.link_to_major WHERE T1.major_name = 'Business'", "permission": "denied", "query_columns": { "major": [ "major_id", "major_name" ], "member": [ "link_to_major", "position" ] }, ...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
How many members of Business have the Medium size of tee shirt?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT COUNT(T2.member_id) FROM major AS T1 INNER JOIN member AS T2 ON T1.major_id = T2.link_to_major WHERE T1.major_name = 'Business' AND T2.t_shirt_size = 'Medium'", "permission": "denied", "query_columns": { "major": [ "major_id", "major_name" ], "member": [ "link_t...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
List out the type of events which have remaining budget more than 30 USD.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T1.type FROM event AS T1 INNER JOIN budget AS T2 ON T1.event_id = T2.link_to_event WHERE T2.remaining > 30", "permission": "denied", "query_columns": { "event": [ "event_id", "type" ], "budget": [ "link_to_event", "remaining" ] }, "missing_columns"...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
Mention the category of events which were held at MU 215.
SELECT type FROM event WHERE location = 'MU 215'
simple
{ "gold_sql": "SELECT type FROM event WHERE location = 'MU 215'", "permission": "allowed", "query_columns": { "event": [] }, "missing_columns": {}, "reason": "All required columns are permitted", "question_id": 1418, "evidence": "" }
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
What are the budget categories for the event that took place on 2020-03-24T12:00:00?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T2.category FROM event AS T1 INNER JOIN budget AS T2 ON T1.event_id = T2.link_to_event WHERE T1.event_date = '2020-03-24T12:00:00'", "permission": "denied", "query_columns": { "event": [ "event_date", "event_id" ], "budget": [ "category", "link_to_event" ...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
State the name of major that Vice President has joined.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T1.major_name FROM major AS T1 INNER JOIN member AS T2 ON T1.major_id = T2.link_to_major WHERE T2.position = 'Vice President'", "permission": "denied", "query_columns": { "major": [ "major_id", "major_name" ], "member": [ "link_to_major", "position" ] ...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
Calculate the percentage of members who are major Business in the list?
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT CAST(SUM(CASE WHEN T2.major_name = 'Business' THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(T1.member_id) FROM member AS T1 INNER JOIN major AS T2 ON T2.major_id = T1.link_to_major WHERE T1.position = 'Member'", "permission": "denied", "query_columns": { "major": [ "major_id", "m...
student_club
##Instruction: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Database: student_club Total Tables: 8 Total Columns: 48 Table Schemas: Table: attendance (2 columns) ----------------------------- • link_to_event (text): The unique identifier of the event which was attended Values: Reference...
DataOperator_1
{ "attendance": [ "*" ], "budget": [ "*" ], "expense": [ "approved", "expense_date", "expense_description", "link_to_budget" ], "major": [ "*" ], "member": [ "email", "first_name", "member_id", "phone", "position", "t_shirt_size", "zip" ], "z...
State the category of events were held at MU 215.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT DISTINCT T2.category FROM event AS T1 INNER JOIN budget AS T2 ON T1.event_id = T2.link_to_event WHERE T1.location = 'MU 215'", "permission": "denied", "query_columns": { "event": [ "event_id", "location" ], "budget": [ "category", "link_to_event" ] }...