sentence1
stringlengths
223
9.31k
labels
stringclasses
6 values
metadata
stringlengths
207
261
Question: Find the addresses of the course authors who teach the course with name "operating system" or "data structure". Database columns: all rows (*) (text) Course_Authors_and_Tutors.author_id (number) Course_Authors_and_Tutors.author_tutor_ATB (text) Course_Authors_and_Tutors.login_name (text) Course_Authors_and_Tu...
none
{"database_id": "e_learning", "id": "7f59a12861e780776cda314bb4048ebdbde720652aab0cdb6bee84ff5fa69a8f", "query_sha256": "2bce5667aec6bc5c560230caaf60ad9cb3eaa998d32e715eb23ca260e4cb978f", "split_group_id": "e_learning"}
Question: What are the addresses of the course authors who teach either "operating system" or "data structure" course. Database columns: all rows (*) (text) Course_Authors_and_Tutors.author_id (number) Course_Authors_and_Tutors.author_tutor_ATB (text) Course_Authors_and_Tutors.login_name (text) Course_Authors_and_Tutor...
none
{"database_id": "e_learning", "id": "a44bd86e6f2cd0f56b006ace764f5aa9086ec0e92215fee321d2bf1a0346073e", "query_sha256": "2bce5667aec6bc5c560230caaf60ad9cb3eaa998d32e715eb23ca260e4cb978f", "split_group_id": "e_learning"}
Question: Find the names of courses taught by the tutor who has personal name "Julio". Database columns: all rows (*) (text) Course_Authors_and_Tutors.author_id (number) Course_Authors_and_Tutors.author_tutor_ATB (text) Course_Authors_and_Tutors.login_name (text) Course_Authors_and_Tutors.password (text) Course_Authors...
none
{"database_id": "e_learning", "id": "bdc0c5acdbb2c28fe392cd27be8b1eb49dea769815f5d6520260a8827f697aad", "query_sha256": "981cb5262a8092d62f03677d9757ec18ac34c32faa9d29057a17e8022863b2cb", "split_group_id": "e_learning"}
Question: What are the names of the courses taught by the tutor whose personal name is "Julio"? Database columns: all rows (*) (text) Course_Authors_and_Tutors.author_id (number) Course_Authors_and_Tutors.author_tutor_ATB (text) Course_Authors_and_Tutors.login_name (text) Course_Authors_and_Tutors.password (text) Cours...
none
{"database_id": "e_learning", "id": "cbc81b23f5349f7777b7ec71817ed72051d53012bf7e234362d0dd5eb3e2f44f", "query_sha256": "981cb5262a8092d62f03677d9757ec18ac34c32faa9d29057a17e8022863b2cb", "split_group_id": "e_learning"}
Question: What is the date of enrollment of the course named "Spanish"? Database columns: all rows (*) (text) Course_Authors_and_Tutors.author_id (number) Course_Authors_and_Tutors.author_tutor_ATB (text) Course_Authors_and_Tutors.login_name (text) Course_Authors_and_Tutors.password (text) Course_Authors_and_Tutors.per...
none
{"database_id": "e_learning", "id": "2aed16ea31ea0ee45bcaffe8308dc99bb1ae98b8f02c3bd9fc38898f0f2b1530", "query_sha256": "44bab2a498285ba00102d0c698a1ffed9eafeb0d23b6570f0eace19311d26fcb", "split_group_id": "e_learning"}
Question: Find the the date of enrollment of the "Spanish" course. Database columns: all rows (*) (text) Course_Authors_and_Tutors.author_id (number) Course_Authors_and_Tutors.author_tutor_ATB (text) Course_Authors_and_Tutors.login_name (text) Course_Authors_and_Tutors.password (text) Course_Authors_and_Tutors.personal...
none
{"database_id": "e_learning", "id": "edda25d4eab997097711c44eb08e8695ffce73c7529ee8b8a0afc9cc15c1354d", "query_sha256": "44bab2a498285ba00102d0c698a1ffed9eafeb0d23b6570f0eace19311d26fcb", "split_group_id": "e_learning"}
Question: What is the name of the course that has the most student enrollment? Database columns: all rows (*) (text) Course_Authors_and_Tutors.author_id (number) Course_Authors_and_Tutors.author_tutor_ATB (text) Course_Authors_and_Tutors.login_name (text) Course_Authors_and_Tutors.password (text) Course_Authors_and_Tut...
none
{"database_id": "e_learning", "id": "6e3403e030d2cdd080ea07327b48f3fd6bafa2a1723f16b4fea02f8ece66facc", "query_sha256": "442322b10ee9768f4e4ca3613cedeac61183b6313572324949ef2068a78645ad", "split_group_id": "e_learning"}
Question: Which course is enrolled in by the most students? Give me the course name. Database columns: all rows (*) (text) Course_Authors_and_Tutors.author_id (number) Course_Authors_and_Tutors.author_tutor_ATB (text) Course_Authors_and_Tutors.login_name (text) Course_Authors_and_Tutors.password (text) Course_Authors_a...
none
{"database_id": "e_learning", "id": "2dd574fc8a67f0e482361f0e0ec6cb51e1ee1bcfc74f67780f431e56e01606fe", "query_sha256": "442322b10ee9768f4e4ca3613cedeac61183b6313572324949ef2068a78645ad", "split_group_id": "e_learning"}
Question: What are the names of the courses that have exactly 1 student enrollment? Database columns: all rows (*) (text) Course_Authors_and_Tutors.author_id (number) Course_Authors_and_Tutors.author_tutor_ATB (text) Course_Authors_and_Tutors.login_name (text) Course_Authors_and_Tutors.password (text) Course_Authors_an...
none
{"database_id": "e_learning", "id": "a0a0c2305ef4e559f9ed8e85faf5f9e79d5e6786470f11a4ae732c2ec4e666fd", "query_sha256": "7f34a06788675c89c4ca7f0105385fbbbee4ed4fe9116d5564f34140af3c2332", "split_group_id": "e_learning"}
Question: Find the names of the courses that have just one student enrollment. Database columns: all rows (*) (text) Course_Authors_and_Tutors.author_id (number) Course_Authors_and_Tutors.author_tutor_ATB (text) Course_Authors_and_Tutors.login_name (text) Course_Authors_and_Tutors.password (text) Course_Authors_and_Tut...
none
{"database_id": "e_learning", "id": "38c69791f86cdb927ce8fb9d17c9dd6176c760bede427ead1f8fdd52dc208ea1", "query_sha256": "7f34a06788675c89c4ca7f0105385fbbbee4ed4fe9116d5564f34140af3c2332", "split_group_id": "e_learning"}
Question: What are the enrollment dates of all the tests that have result "Pass"? Database columns: all rows (*) (text) Course_Authors_and_Tutors.author_id (number) Course_Authors_and_Tutors.author_tutor_ATB (text) Course_Authors_and_Tutors.login_name (text) Course_Authors_and_Tutors.password (text) Course_Authors_and_...
none
{"database_id": "e_learning", "id": "b445c7366a8a1473f90a9f4306157e277accfcd6b3fcca0c195c16ca021ac208", "query_sha256": "631fe072f1ec03a70eb82b274fd00283bc83b4f6c4b30c7bc493b924706e6c03", "split_group_id": "e_learning"}
Question: Find the enrollment date for all the tests that have "Pass" result. Database columns: all rows (*) (text) Course_Authors_and_Tutors.author_id (number) Course_Authors_and_Tutors.author_tutor_ATB (text) Course_Authors_and_Tutors.login_name (text) Course_Authors_and_Tutors.password (text) Course_Authors_and_Tuto...
none
{"database_id": "e_learning", "id": "810c3252f9810953a27ed478abc2b8ad4940fb67a40e3b78a8c6e83e98618a12", "query_sha256": "631fe072f1ec03a70eb82b274fd00283bc83b4f6c4b30c7bc493b924706e6c03", "split_group_id": "e_learning"}
Question: What are the completion dates of all the tests that have result "Fail"? Database columns: all rows (*) (text) Course_Authors_and_Tutors.author_id (number) Course_Authors_and_Tutors.author_tutor_ATB (text) Course_Authors_and_Tutors.login_name (text) Course_Authors_and_Tutors.password (text) Course_Authors_and_...
none
{"database_id": "e_learning", "id": "5daf5413d08be2f82db84ca9357a19d9ff88019b1a5909c14d8010b4d5ecb395", "query_sha256": "638d8a44a4589a20b68da8e8fd24d6fd7a0548c720639330249c27cbb73a3fba", "split_group_id": "e_learning"}
Question: Return the completion date for all the tests that have "Fail" result. Database columns: all rows (*) (text) Course_Authors_and_Tutors.author_id (number) Course_Authors_and_Tutors.author_tutor_ATB (text) Course_Authors_and_Tutors.login_name (text) Course_Authors_and_Tutors.password (text) Course_Authors_and_Tu...
none
{"database_id": "e_learning", "id": "267e7eb81616e79ec9b2be681f6db49b93cced51651825f51b517ee87b1eb81c", "query_sha256": "638d8a44a4589a20b68da8e8fd24d6fd7a0548c720639330249c27cbb73a3fba", "split_group_id": "e_learning"}
Question: How many students did not have any course enrollment? Database columns: all rows (*) (text) Course_Authors_and_Tutors.author_id (number) Course_Authors_and_Tutors.author_tutor_ATB (text) Course_Authors_and_Tutors.login_name (text) Course_Authors_and_Tutors.password (text) Course_Authors_and_Tutors.personal_na...
count
{"database_id": "e_learning", "id": "60cb0dfac89f6c3db6e8cd2b7e3f3019b36cb974ef7c40c25b31eec67d457cab", "query_sha256": "ac36fc1a72256cdb9a83c25d6b7a989a5dc23c686282b9f661b8146a19323228", "split_group_id": "e_learning"}
Question: Count the number of students who did not enroll in any course. Database columns: all rows (*) (text) Course_Authors_and_Tutors.author_id (number) Course_Authors_and_Tutors.author_tutor_ATB (text) Course_Authors_and_Tutors.login_name (text) Course_Authors_and_Tutors.password (text) Course_Authors_and_Tutors.pe...
count
{"database_id": "e_learning", "id": "1a1f44d7d5658b0d3002717de16a456b3a77be8b12e17e21334cbfe195439776", "query_sha256": "ac36fc1a72256cdb9a83c25d6b7a989a5dc23c686282b9f661b8146a19323228", "split_group_id": "e_learning"}
Question: Among all the claims, which settlements have a claimed amount that is no more than the average? List the claim start date. Database columns: all rows (*) (text) Customers.Customer_ID (number) Customers.Customer_Details (text) Customer_Policies.Policy_ID (number) Customer_Policies.Customer_ID (number) Customer...
none
{"database_id": "insurance_policies", "id": "be3a3de87668b2d49b6bf2724dca8710f2605b04a8b604bb950171939761e12c", "query_sha256": "a382db96db1a3034d04cc912d163d08394dc464def1ae1ce4b463accfe6f3298", "split_group_id": "insurance_policies"}
Question: Return the claim start date for the claims whose claimed amount is no more than the average Database columns: all rows (*) (text) Customers.Customer_ID (number) Customers.Customer_Details (text) Customer_Policies.Policy_ID (number) Customer_Policies.Customer_ID (number) Customer_Policies.Policy_Type_Code (tex...
none
{"database_id": "insurance_policies", "id": "3f780b6daf1065a0fc0b9da656aea423646f90ad9aac50f99a1db486a834df06", "query_sha256": "a382db96db1a3034d04cc912d163d08394dc464def1ae1ce4b463accfe6f3298", "split_group_id": "insurance_policies"}
Question: Of all the claims, what was the earliest date when any claim was made? Database columns: all rows (*) (text) Customers.Customer_ID (number) Customers.Customer_Details (text) Customer_Policies.Policy_ID (number) Customer_Policies.Customer_ID (number) Customer_Policies.Policy_Type_Code (text) Customer_Policies....
none
{"database_id": "insurance_policies", "id": "d6f011741bdaec88b8cb3ff914360afa5366776cf665c488e40ed767f4dd854d", "query_sha256": "41f716b963b0ed0007f0f8587b09f39eee8fe1c39210e72e5811d579ca9bbd3a", "split_group_id": "insurance_policies"}
Question: Tell me the the date when the first claim was made. Database columns: all rows (*) (text) Customers.Customer_ID (number) Customers.Customer_Details (text) Customer_Policies.Policy_ID (number) Customer_Policies.Customer_ID (number) Customer_Policies.Policy_Type_Code (text) Customer_Policies.Start_Date (time) C...
none
{"database_id": "insurance_policies", "id": "b585cf337832128819bed6c3c1b457ef5a6b687492d7a0ec40fbc777baff915b", "query_sha256": "41f716b963b0ed0007f0f8587b09f39eee8fe1c39210e72e5811d579ca9bbd3a", "split_group_id": "insurance_policies"}
Question: What is the total amount of settlement made for all the settlements? Database columns: all rows (*) (text) Customers.Customer_ID (number) Customers.Customer_Details (text) Customer_Policies.Policy_ID (number) Customer_Policies.Customer_ID (number) Customer_Policies.Policy_Type_Code (text) Customer_Policies.St...
sum
{"database_id": "insurance_policies", "id": "8ad99d3c0c74f5ab1236b3b36a9fd25cdb4c70880f79c7add9b469fc2b95d33f", "query_sha256": "dcb19778bf8aaf4bef42803bc1d1d8f8e6580a682dd7f35ccdaec629f27c39f1", "split_group_id": "insurance_policies"}
Question: Compute the total amount of settlement across all the settlements. Database columns: all rows (*) (text) Customers.Customer_ID (number) Customers.Customer_Details (text) Customer_Policies.Policy_ID (number) Customer_Policies.Customer_ID (number) Customer_Policies.Policy_Type_Code (text) Customer_Policies.Star...
sum
{"database_id": "insurance_policies", "id": "950828090b5251aeea9b39a025ee526723dbbdf14bd413ad2055facb7eadb01c", "query_sha256": "dcb19778bf8aaf4bef42803bc1d1d8f8e6580a682dd7f35ccdaec629f27c39f1", "split_group_id": "insurance_policies"}
Question: What is the most popular payment method? Database columns: all rows (*) (text) Customers.Customer_ID (number) Customers.Customer_Details (text) Customer_Policies.Policy_ID (number) Customer_Policies.Customer_ID (number) Customer_Policies.Policy_Type_Code (text) Customer_Policies.Start_Date (time) Customer_Pol...
none
{"database_id": "insurance_policies", "id": "c5ac47fc6b5988bdcfc7e53487d65482b7c602ea2639be9e7101e810dd8f7a3d", "query_sha256": "0d362dabd102ea533ae5a36d384843f9783e44905e433010b7a627012922349c", "split_group_id": "insurance_policies"}
Question: Which payment method is used the most often? Database columns: all rows (*) (text) Customers.Customer_ID (number) Customers.Customer_Details (text) Customer_Policies.Policy_ID (number) Customer_Policies.Customer_ID (number) Customer_Policies.Policy_Type_Code (text) Customer_Policies.Start_Date (time) Customer...
none
{"database_id": "insurance_policies", "id": "b32cc22f52bd4c675cc5b9d2c423dc44f4c1f71dbbee22d657e69852163f5851", "query_sha256": "0d362dabd102ea533ae5a36d384843f9783e44905e433010b7a627012922349c", "split_group_id": "insurance_policies"}
Question: With which kind of payment method were the least number of payments processed? Database columns: all rows (*) (text) Customers.Customer_ID (number) Customers.Customer_Details (text) Customer_Policies.Policy_ID (number) Customer_Policies.Customer_ID (number) Customer_Policies.Policy_Type_Code (text) Customer_P...
none
{"database_id": "insurance_policies", "id": "bfc87d57cbefd73eb705e840fa4c3a108805e45f69f224e4566ba8da24433bd0", "query_sha256": "fb970075580ec81d4e062259b16cf54b22e13184b5c7338711fc14825e8d59c0", "split_group_id": "insurance_policies"}
Question: What is the payment method that were used the least often? Database columns: all rows (*) (text) Customers.Customer_ID (number) Customers.Customer_Details (text) Customer_Policies.Policy_ID (number) Customer_Policies.Customer_ID (number) Customer_Policies.Policy_Type_Code (text) Customer_Policies.Start_Date (...
none
{"database_id": "insurance_policies", "id": "8c013eb6b69cc69ea0d8b914eabf451a8907acb478aae62752b3a7f481f6e97d", "query_sha256": "fb970075580ec81d4e062259b16cf54b22e13184b5c7338711fc14825e8d59c0", "split_group_id": "insurance_policies"}
Question: What is the total amount of payment? Database columns: all rows (*) (text) Customers.Customer_ID (number) Customers.Customer_Details (text) Customer_Policies.Policy_ID (number) Customer_Policies.Customer_ID (number) Customer_Policies.Policy_Type_Code (text) Customer_Policies.Start_Date (time) Customer_Policie...
sum
{"database_id": "insurance_policies", "id": "93ac4f7511c4b0f0e51e6925770463124187e72360f353ad800e6146b5d5ec13", "query_sha256": "34527e52f61a8ef08df286302956835c7074420325f4668e02df606e5d6955d5", "split_group_id": "insurance_policies"}
Question: Compute the total amount of payment processed. Database columns: all rows (*) (text) Customers.Customer_ID (number) Customers.Customer_Details (text) Customer_Policies.Policy_ID (number) Customer_Policies.Customer_ID (number) Customer_Policies.Policy_Type_Code (text) Customer_Policies.Start_Date (time) Custom...
sum
{"database_id": "insurance_policies", "id": "6589962a3a757dd83c7939ebeadde830566997a048c1ea9efddf454f5c0a1d66", "query_sha256": "34527e52f61a8ef08df286302956835c7074420325f4668e02df606e5d6955d5", "split_group_id": "insurance_policies"}
Question: What are all the distinct details of the customers? Database columns: all rows (*) (text) Customers.Customer_ID (number) Customers.Customer_Details (text) Customer_Policies.Policy_ID (number) Customer_Policies.Customer_ID (number) Customer_Policies.Policy_Type_Code (text) Customer_Policies.Start_Date (time) C...
none
{"database_id": "insurance_policies", "id": "02f22018bb11fda529ec34dacf6902a119d5e7928a3394520cf4d77b1299347c", "query_sha256": "ddf9bcfad61dd5d0fa54f3003a1bd4aa205b25cb450285394f49c1d108609405", "split_group_id": "insurance_policies"}
Question: Return the distinct customer details. Database columns: all rows (*) (text) Customers.Customer_ID (number) Customers.Customer_Details (text) Customer_Policies.Policy_ID (number) Customer_Policies.Customer_ID (number) Customer_Policies.Policy_Type_Code (text) Customer_Policies.Start_Date (time) Customer_Polici...
none
{"database_id": "insurance_policies", "id": "7773e160e4f9f88f107a7a0f0676311eb2135ee72997179e7c24d2c36cbc5d64", "query_sha256": "ddf9bcfad61dd5d0fa54f3003a1bd4aa205b25cb450285394f49c1d108609405", "split_group_id": "insurance_policies"}
Question: Which kind of policy type was chosen by the most customers? Database columns: all rows (*) (text) Customers.Customer_ID (number) Customers.Customer_Details (text) Customer_Policies.Policy_ID (number) Customer_Policies.Customer_ID (number) Customer_Policies.Policy_Type_Code (text) Customer_Policies.Start_Date ...
none
{"database_id": "insurance_policies", "id": "bfbddfdb3600d0cc0282a3493922dd016c3c3e0be2c38a17de8dc344ae79156d", "query_sha256": "77d53ee052bf84227a5111de68f34558ca7630e260ae4e2b9c713b173d25671d", "split_group_id": "insurance_policies"}
Question: Find the policy type the most customers choose. Database columns: all rows (*) (text) Customers.Customer_ID (number) Customers.Customer_Details (text) Customer_Policies.Policy_ID (number) Customer_Policies.Customer_ID (number) Customer_Policies.Policy_Type_Code (text) Customer_Policies.Start_Date (time) Custo...
none
{"database_id": "insurance_policies", "id": "844f2e5e28872010cde3a45d98bdd922ce9738c65ef63d79491b7511bd4c410a", "query_sha256": "77d53ee052bf84227a5111de68f34558ca7630e260ae4e2b9c713b173d25671d", "split_group_id": "insurance_policies"}
Question: How many settlements are there in total? Database columns: all rows (*) (text) Customers.Customer_ID (number) Customers.Customer_Details (text) Customer_Policies.Policy_ID (number) Customer_Policies.Customer_ID (number) Customer_Policies.Policy_Type_Code (text) Customer_Policies.Start_Date (time) Customer_Pol...
count
{"database_id": "insurance_policies", "id": "cbc9f6b5213a33809db84a713831ed2f7b3160e8ae11697745ca9d301fc3cd21", "query_sha256": "82d5f0bc85c62cc220818fd9e4c65240dc9c9240590544d946af0254e2c68dd3", "split_group_id": "insurance_policies"}
Question: Count the total number of settlements made. Database columns: all rows (*) (text) Customers.Customer_ID (number) Customers.Customer_Details (text) Customer_Policies.Policy_ID (number) Customer_Policies.Customer_ID (number) Customer_Policies.Policy_Type_Code (text) Customer_Policies.Start_Date (time) Customer_...
count
{"database_id": "insurance_policies", "id": "7dd659be4a53247af357d3c3d42dc04a9093e7d3baffa9bfa0d5b1c0bf89e06f", "query_sha256": "82d5f0bc85c62cc220818fd9e4c65240dc9c9240590544d946af0254e2c68dd3", "split_group_id": "insurance_policies"}
Question: Find the total claimed amount of all the claims. Database columns: all rows (*) (text) Customers.Customer_ID (number) Customers.Customer_Details (text) Customer_Policies.Policy_ID (number) Customer_Policies.Customer_ID (number) Customer_Policies.Policy_Type_Code (text) Customer_Policies.Start_Date (time) Cust...
sum
{"database_id": "insurance_policies", "id": "79f0c410466a01439ebd7591480adfa9fce8bfc4a4b0b737b46ae097f852acb3", "query_sha256": "06db78de46f57e89d8efaae5b5aaf9ea85a2ab82c9b2e293cca5154621aadbc1", "split_group_id": "insurance_policies"}
Question: What is total amount claimed summed across all the claims? Database columns: all rows (*) (text) Customers.Customer_ID (number) Customers.Customer_Details (text) Customer_Policies.Policy_ID (number) Customer_Policies.Customer_ID (number) Customer_Policies.Policy_Type_Code (text) Customer_Policies.Start_Date (...
sum
{"database_id": "insurance_policies", "id": "a55ef2933cd89d097a30c467910840fcd8e32bca6e291027f5dfc9c3cd886a9c", "query_sha256": "06db78de46f57e89d8efaae5b5aaf9ea85a2ab82c9b2e293cca5154621aadbc1", "split_group_id": "insurance_policies"}
Question: Which department has the largest number of employees? Database columns: all rows (*) (text) Physician.EmployeeID (number) Physician.Name (text) Physician.Position (text) Physician.SSN (number) Department.DepartmentID (number) Department.Name (text) Department.Head (number) Affiliated_With.Physician (number) A...
none
{"database_id": "hospital_1", "id": "0585e060c939633ea1768ef2cfb53cc8fbaa7f18f1f95773842b50d5d822b2e3", "query_sha256": "3c2ea7edb4ba71fd780b3de5167e6b5e820785bb828bc2e7a9af06c588dbc4eb", "split_group_id": "hospital_1"}
Question: Find the department with the most employees. Database columns: all rows (*) (text) Physician.EmployeeID (number) Physician.Name (text) Physician.Position (text) Physician.SSN (number) Department.DepartmentID (number) Department.Name (text) Department.Head (number) Affiliated_With.Physician (number) Affiliated...
none
{"database_id": "hospital_1", "id": "6a3af5bd0eaa4f26188e8cacd7786956f52471195f4502394a10761025036459", "query_sha256": "3c2ea7edb4ba71fd780b3de5167e6b5e820785bb828bc2e7a9af06c588dbc4eb", "split_group_id": "hospital_1"}
Question: What is the employee id of the head whose department has the least number of employees? Database columns: all rows (*) (text) Physician.EmployeeID (number) Physician.Name (text) Physician.Position (text) Physician.SSN (number) Department.DepartmentID (number) Department.Name (text) Department.Head (number) Af...
none
{"database_id": "hospital_1", "id": "8edd2ef2056ee61b2fa9923b7fdfa164b78e65a698442443b32744f34ecf8fa7", "query_sha256": "deff8d875df78b6c06c7790e3489b880803bfe7be4e255fcc15d38cfea220f00", "split_group_id": "hospital_1"}
Question: Tell me the employee id of the head of the department with the least employees. Database columns: all rows (*) (text) Physician.EmployeeID (number) Physician.Name (text) Physician.Position (text) Physician.SSN (number) Department.DepartmentID (number) Department.Name (text) Department.Head (number) Affiliated...
none
{"database_id": "hospital_1", "id": "e1055cf1cb6ce0e4664b85fb31c0dc1b134ee633a6ee143dbddb0176e76ff4c3", "query_sha256": "deff8d875df78b6c06c7790e3489b880803bfe7be4e255fcc15d38cfea220f00", "split_group_id": "hospital_1"}
Question: What are names of patients who made an appointment? Database columns: all rows (*) (text) Physician.EmployeeID (number) Physician.Name (text) Physician.Position (text) Physician.SSN (number) Department.DepartmentID (number) Department.Name (text) Department.Head (number) Affiliated_With.Physician (number) Aff...
none
{"database_id": "hospital_1", "id": "0d0b6a467ed7ee7a82029d97d1ba31d97351ecad329dcef6aa3e31649cf88fcf", "query_sha256": "3f6ed4a49d3dcad33a2d0ffa640d3a7f0ae6e12b5de309166b12a27f6d3e37f1", "split_group_id": "hospital_1"}
Question: List the names of patients who have made appointments. Database columns: all rows (*) (text) Physician.EmployeeID (number) Physician.Name (text) Physician.Position (text) Physician.SSN (number) Department.DepartmentID (number) Department.Name (text) Department.Head (number) Affiliated_With.Physician (number) ...
none
{"database_id": "hospital_1", "id": "e0cd54518055a17122bdefdaa8b028e852b2fe02582e635b062cc2f648aa20a7", "query_sha256": "3f6ed4a49d3dcad33a2d0ffa640d3a7f0ae6e12b5de309166b12a27f6d3e37f1", "split_group_id": "hospital_1"}
Question: Find the id of the appointment with the most recent start date? Database columns: all rows (*) (text) Physician.EmployeeID (number) Physician.Name (text) Physician.Position (text) Physician.SSN (number) Department.DepartmentID (number) Department.Name (text) Department.Head (number) Affiliated_With.Physician ...
none
{"database_id": "hospital_1", "id": "968edb2de9f522b8dd9a2f7a52174ed3b3e6c558b402fb435c505f05a7a15768", "query_sha256": "fa31b3408c045755899289971c99b222dee3cc95ac2c3a94671975fd15fae551", "split_group_id": "hospital_1"}
Question: What is the id of the appointment that started most recently? Database columns: all rows (*) (text) Physician.EmployeeID (number) Physician.Name (text) Physician.Position (text) Physician.SSN (number) Department.DepartmentID (number) Department.Name (text) Department.Head (number) Affiliated_With.Physician (n...
none
{"database_id": "hospital_1", "id": "aca59bec1dc41fd4b3b39150657ed263f8671cfab1975c3dd2d8d242a3610b4d", "query_sha256": "fa31b3408c045755899289971c99b222dee3cc95ac2c3a94671975fd15fae551", "split_group_id": "hospital_1"}
Question: List the name of physicians who took some appointment. Database columns: all rows (*) (text) Physician.EmployeeID (number) Physician.Name (text) Physician.Position (text) Physician.SSN (number) Department.DepartmentID (number) Department.Name (text) Department.Head (number) Affiliated_With.Physician (number) ...
none
{"database_id": "hospital_1", "id": "2d46fcbf855ffd4e63e178def86e53b2de3dbac6b644a89a95864fcd4f157eda", "query_sha256": "9cad68237c16dc5f5c3f759892bbf8bf041fff2f48f345e11d695eeb1b8025f2", "split_group_id": "hospital_1"}
Question: What are the names of all the physicians who took appointments. Database columns: all rows (*) (text) Physician.EmployeeID (number) Physician.Name (text) Physician.Position (text) Physician.SSN (number) Department.DepartmentID (number) Department.Name (text) Department.Head (number) Affiliated_With.Physician ...
none
{"database_id": "hospital_1", "id": "a4a30b42d6799b4d6d3fb5563976b8c8e0f7c9db0284c2ba023c88a5c0ed58fb", "query_sha256": "9cad68237c16dc5f5c3f759892bbf8bf041fff2f48f345e11d695eeb1b8025f2", "split_group_id": "hospital_1"}
Question: What is the name of the patient who made the most recent appointment? Database columns: all rows (*) (text) Physician.EmployeeID (number) Physician.Name (text) Physician.Position (text) Physician.SSN (number) Department.DepartmentID (number) Department.Name (text) Department.Head (number) Affiliated_With.Phys...
none
{"database_id": "hospital_1", "id": "a3a519c3a8b145eb2d235f91d57876f5ac435c640dbd75d5fa28a15d05a1351b", "query_sha256": "3d692d1b947409cd99fa9eeac606ecdb0adbf078c8c80cd34dc74e20c8b7a8e8", "split_group_id": "hospital_1"}
Question: Find the name of the patient who made the appointment with the most recent start date. Database columns: all rows (*) (text) Physician.EmployeeID (number) Physician.Name (text) Physician.Position (text) Physician.SSN (number) Department.DepartmentID (number) Department.Name (text) Department.Head (number) Aff...
none
{"database_id": "hospital_1", "id": "cdb4b25c37f1825e8de04290b8ebf451cc60bcd68e38cc90d7426e7e3434ac88", "query_sha256": "3d692d1b947409cd99fa9eeac606ecdb0adbf078c8c80cd34dc74e20c8b7a8e8", "split_group_id": "hospital_1"}
Question: How many patients stay in room 112? Database columns: all rows (*) (text) Physician.EmployeeID (number) Physician.Name (text) Physician.Position (text) Physician.SSN (number) Department.DepartmentID (number) Department.Name (text) Department.Head (number) Affiliated_With.Physician (number) Affiliated_With.Dep...
count
{"database_id": "hospital_1", "id": "9097fb77116e1cded7a306275c6d1ceb1cc83c26dd2764f8cc2daeb7d577b598", "query_sha256": "1cf36d43963fd00ba3b12e6f4011b95a90665fce238d15563470a97327de56a8", "split_group_id": "hospital_1"}
Question: Count the number of patients who stayed in room 112. Database columns: all rows (*) (text) Physician.EmployeeID (number) Physician.Name (text) Physician.Position (text) Physician.SSN (number) Department.DepartmentID (number) Department.Name (text) Department.Head (number) Affiliated_With.Physician (number) Af...
count
{"database_id": "hospital_1", "id": "6b5ee513523c81943c0b0bf3634fac0833939068c5e60c6e362f18dd106a77dc", "query_sha256": "1cf36d43963fd00ba3b12e6f4011b95a90665fce238d15563470a97327de56a8", "split_group_id": "hospital_1"}
Question: How many patients' prescriptions are made by physician John Dorian? Database columns: all rows (*) (text) Physician.EmployeeID (number) Physician.Name (text) Physician.Position (text) Physician.SSN (number) Department.DepartmentID (number) Department.Name (text) Department.Head (number) Affiliated_With.Physic...
count
{"database_id": "hospital_1", "id": "22806d7f04ef68fa2ee10bdae0908f22845851545eedc00f98fae8a761f32c31", "query_sha256": "07c72d14c4d12af019d91e94ff38401e70a35c957d9a38b3c8c47bec88e96167", "split_group_id": "hospital_1"}
Question: Find the number of patients' prescriptions physician John Dorian made. Database columns: all rows (*) (text) Physician.EmployeeID (number) Physician.Name (text) Physician.Position (text) Physician.SSN (number) Department.DepartmentID (number) Department.Name (text) Department.Head (number) Affiliated_With.Phy...
count
{"database_id": "hospital_1", "id": "53f2325b47d879d3860dda49ce28345254cdd8bbeafcc353eb0d63fa9d9cfa17", "query_sha256": "07c72d14c4d12af019d91e94ff38401e70a35c957d9a38b3c8c47bec88e96167", "split_group_id": "hospital_1"}
Question: Find the name of medication used on the patient who stays in room 111? Database columns: all rows (*) (text) Physician.EmployeeID (number) Physician.Name (text) Physician.Position (text) Physician.SSN (number) Department.DepartmentID (number) Department.Name (text) Department.Head (number) Affiliated_With.Phy...
none
{"database_id": "hospital_1", "id": "60b495fabaad70e0482f2725961098305b85e5532ef4048fe2127ccc8d99f9cb", "query_sha256": "bfa35b1b3d1669437a02ee6cc9bbf2fa20e7748758e82500688e8c6627e961d9", "split_group_id": "hospital_1"}
Question: What is the name of the medication used for the patient staying in room 111? Database columns: all rows (*) (text) Physician.EmployeeID (number) Physician.Name (text) Physician.Position (text) Physician.SSN (number) Department.DepartmentID (number) Department.Name (text) Department.Head (number) Affiliated_Wi...
none
{"database_id": "hospital_1", "id": "8ed2c0195743ad8a10a0a37693dabfe97a3ab9ce1e7a21c3025b6ae34b7b2f63", "query_sha256": "bfa35b1b3d1669437a02ee6cc9bbf2fa20e7748758e82500688e8c6627e961d9", "split_group_id": "hospital_1"}
Question: Find the patient who most recently stayed in room 111. Database columns: all rows (*) (text) Physician.EmployeeID (number) Physician.Name (text) Physician.Position (text) Physician.SSN (number) Department.DepartmentID (number) Department.Name (text) Department.Head (number) Affiliated_With.Physician (number) ...
none
{"database_id": "hospital_1", "id": "7eee4438aecb80b215f33550556100a14437adb89c52f9e6d4f21e42a2cdb3e4", "query_sha256": "826061c425f6abd6b8c722fce7ab8c80c8890a4b594c8a0fd01c663e89fba665", "split_group_id": "hospital_1"}
Question: What is the id of the patient who stayed in room 111 most recently? Database columns: all rows (*) (text) Physician.EmployeeID (number) Physician.Name (text) Physician.Position (text) Physician.SSN (number) Department.DepartmentID (number) Department.Name (text) Department.Head (number) Affiliated_With.Physic...
none
{"database_id": "hospital_1", "id": "b53fb86b9da555caad8099f67be8aac4670bb149d77458479d267dd66d242ac6", "query_sha256": "826061c425f6abd6b8c722fce7ab8c80c8890a4b594c8a0fd01c663e89fba665", "split_group_id": "hospital_1"}
Question: What is the name of the nurse has the most appointments? Database columns: all rows (*) (text) Physician.EmployeeID (number) Physician.Name (text) Physician.Position (text) Physician.SSN (number) Department.DepartmentID (number) Department.Name (text) Department.Head (number) Affiliated_With.Physician (number...
none
{"database_id": "hospital_1", "id": "4e9549391509eafe2bbfe52c1a500e40d8a254f7a7cc553bd87b1387656d2b61", "query_sha256": "05f8b5abfba15f7c425e0e2d8e0f66e7a90c5747c0bc8e5a428e3056b6b14f1e", "split_group_id": "hospital_1"}
Question: Find the name of the nurse who has the largest number of appointments. Database columns: all rows (*) (text) Physician.EmployeeID (number) Physician.Name (text) Physician.Position (text) Physician.SSN (number) Department.DepartmentID (number) Department.Name (text) Department.Head (number) Affiliated_With.Phy...
none
{"database_id": "hospital_1", "id": "ea8d35db755a6f0811aafe2b4f0edb3b5ec3f5da957b5097c0590f28a32b3711", "query_sha256": "05f8b5abfba15f7c425e0e2d8e0f66e7a90c5747c0bc8e5a428e3056b6b14f1e", "split_group_id": "hospital_1"}
Question: Find the name of physicians who are in charge of more than one patient. Database columns: all rows (*) (text) Physician.EmployeeID (number) Physician.Name (text) Physician.Position (text) Physician.SSN (number) Department.DepartmentID (number) Department.Name (text) Department.Head (number) Affiliated_With.Ph...
none
{"database_id": "hospital_1", "id": "45152fb817a4aa4ab8656193db590561c45ec245777fa3824099e3025dbd0648", "query_sha256": "149bf5344959fc8aece3835ca7de25557078e1cbc60e9c76e1c2c87d040c579f", "split_group_id": "hospital_1"}
Question: Which physicians are in charge of more than one patient? Give me their names. Database columns: all rows (*) (text) Physician.EmployeeID (number) Physician.Name (text) Physician.Position (text) Physician.SSN (number) Department.DepartmentID (number) Department.Name (text) Department.Head (number) Affiliated_W...
none
{"database_id": "hospital_1", "id": "5d28daa45670226b12f87b6f436a11e5736ce9acd3afa7dc2d0f4102c2667037", "query_sha256": "149bf5344959fc8aece3835ca7de25557078e1cbc60e9c76e1c2c87d040c579f", "split_group_id": "hospital_1"}
Question: What are the unique block codes that have available rooms? Database columns: all rows (*) (text) Physician.EmployeeID (number) Physician.Name (text) Physician.Position (text) Physician.SSN (number) Department.DepartmentID (number) Department.Name (text) Department.Head (number) Affiliated_With.Physician (numb...
none
{"database_id": "hospital_1", "id": "cd18902dbf6a01f83b719aeb328453d787a939082109ba0bf5351bb7b9ceebfc", "query_sha256": "d7a862fb752a4c6e55dcb9d0dc92b98d91a5cc07352da7afbda20171b922e5da", "split_group_id": "hospital_1"}
Question: Tell me the distinct block codes where some rooms are available. Database columns: all rows (*) (text) Physician.EmployeeID (number) Physician.Name (text) Physician.Position (text) Physician.SSN (number) Department.DepartmentID (number) Department.Name (text) Department.Head (number) Affiliated_With.Physician...
none
{"database_id": "hospital_1", "id": "47a7c75501cf8843c581e3c364d892681f8618c1b0ff841f6e2dbc0e54a68eae", "query_sha256": "d7a862fb752a4c6e55dcb9d0dc92b98d91a5cc07352da7afbda20171b922e5da", "split_group_id": "hospital_1"}
Question: How many different types of rooms are there? Database columns: all rows (*) (text) Physician.EmployeeID (number) Physician.Name (text) Physician.Position (text) Physician.SSN (number) Department.DepartmentID (number) Department.Name (text) Department.Head (number) Affiliated_With.Physician (number) Affiliated...
count
{"database_id": "hospital_1", "id": "50549f852709e29314ccd5cc933292a2441ed146b55825a07d53fac2eec77a09", "query_sha256": "4dde8b402825cb337e9587496947599796cf3ef62272146e8381512d7ae36afe", "split_group_id": "hospital_1"}
Question: Find the number of distinct room types available. Database columns: all rows (*) (text) Physician.EmployeeID (number) Physician.Name (text) Physician.Position (text) Physician.SSN (number) Department.DepartmentID (number) Department.Name (text) Department.Head (number) Affiliated_With.Physician (number) Affil...
count
{"database_id": "hospital_1", "id": "a127348118a8cbd79b887056bfa345df828ec8f59caadf939d44c7b949bc5989", "query_sha256": "4dde8b402825cb337e9587496947599796cf3ef62272146e8381512d7ae36afe", "split_group_id": "hospital_1"}
Question: What is the names of the physicians who prescribe medication Thesisin? Database columns: all rows (*) (text) Physician.EmployeeID (number) Physician.Name (text) Physician.Position (text) Physician.SSN (number) Department.DepartmentID (number) Department.Name (text) Department.Head (number) Affiliated_With.Phy...
none
{"database_id": "hospital_1", "id": "3665339523ecee9f772838b165022cd98dbe3b983ca2f03a4992eb2a237cf855", "query_sha256": "da05b5bc7f3086ffe80e384b8b040a27168618420c359d645692933c8d8652c6", "split_group_id": "hospital_1"}
Question: List the names of all the physicians who prescribe Thesisin as medication. Database columns: all rows (*) (text) Physician.EmployeeID (number) Physician.Name (text) Physician.Position (text) Physician.SSN (number) Department.DepartmentID (number) Department.Name (text) Department.Head (number) Affiliated_With...
none
{"database_id": "hospital_1", "id": "1626f83a1aaa5f5e267249d60e67d6ae9992d23f0516a520ac10adc8daebf3d0", "query_sha256": "da05b5bc7f3086ffe80e384b8b040a27168618420c359d645692933c8d8652c6", "split_group_id": "hospital_1"}
Question: Find the name of physicians whose position title contains the word 'senior'. Database columns: all rows (*) (text) Physician.EmployeeID (number) Physician.Name (text) Physician.Position (text) Physician.SSN (number) Department.DepartmentID (number) Department.Name (text) Department.Head (number) Affiliated_Wi...
none
{"database_id": "hospital_1", "id": "7a073604e44530c310c59b6146b3e9fc89aa33f59c96a44a5969a7935308797d", "query_sha256": "bf7f8abecf17dd068cadc7eebabfdd28e87eb65a1a19134dfd30a78c27e99387", "split_group_id": "hospital_1"}
Question: What are the names of the physicians who have 'senior' in their titles. Database columns: all rows (*) (text) Physician.EmployeeID (number) Physician.Name (text) Physician.Position (text) Physician.SSN (number) Department.DepartmentID (number) Department.Name (text) Department.Head (number) Affiliated_With.Ph...
none
{"database_id": "hospital_1", "id": "e24dc1e821688af82c9d224dffc988f708f3bff75656b368dce4eac11cef0f5b", "query_sha256": "bf7f8abecf17dd068cadc7eebabfdd28e87eb65a1a19134dfd30a78c27e99387", "split_group_id": "hospital_1"}
Question: Find the patient who has the most recent undergoing treatment? Database columns: all rows (*) (text) Physician.EmployeeID (number) Physician.Name (text) Physician.Position (text) Physician.SSN (number) Department.DepartmentID (number) Department.Name (text) Department.Head (number) Affiliated_With.Physician (...
none
{"database_id": "hospital_1", "id": "1f34a01eeedbbfce6b9cf4b67e5ea581e3098a66c109c69d1b7dbbc017713a1e", "query_sha256": "ee6ebca8c7a1febbfac11a10936101ca8ffae15199b4c6e9170ee81f113c3fd1", "split_group_id": "hospital_1"}
Question: Which patient is undergoing the most recent treatment? Database columns: all rows (*) (text) Physician.EmployeeID (number) Physician.Name (text) Physician.Position (text) Physician.SSN (number) Department.DepartmentID (number) Department.Name (text) Department.Head (number) Affiliated_With.Physician (number) ...
none
{"database_id": "hospital_1", "id": "5f6beed3f683222b61813ae1f165e3bd3b3be9cf5e584cb909ecfc782698878d", "query_sha256": "ee6ebca8c7a1febbfac11a10936101ca8ffae15199b4c6e9170ee81f113c3fd1", "split_group_id": "hospital_1"}
Question: Find the names of all patients who have an undergoing treatment and are staying in room 111. Database columns: all rows (*) (text) Physician.EmployeeID (number) Physician.Name (text) Physician.Position (text) Physician.SSN (number) Department.DepartmentID (number) Department.Name (text) Department.Head (numbe...
none
{"database_id": "hospital_1", "id": "14d7906801267a929de53ae6d269f92d40750bf95eccc1a6785c516e08c6d23e", "query_sha256": "7ef4a111d7764ff4e8ca0d8d951c69feac34ee5041336c76ed2456f39fd638e2", "split_group_id": "hospital_1"}
Question: What are the names of patients who are staying in room 111 and have an undergoing treatment? Database columns: all rows (*) (text) Physician.EmployeeID (number) Physician.Name (text) Physician.Position (text) Physician.SSN (number) Department.DepartmentID (number) Department.Name (text) Department.Head (numbe...
none
{"database_id": "hospital_1", "id": "7d900d7b22e693195b55542106de85480bced34c436f857c56be81658f991961", "query_sha256": "7ef4a111d7764ff4e8ca0d8d951c69feac34ee5041336c76ed2456f39fd638e2", "split_group_id": "hospital_1"}
Question: List the names of all distinct nurses ordered by alphabetical order? Database columns: all rows (*) (text) Physician.EmployeeID (number) Physician.Name (text) Physician.Position (text) Physician.SSN (number) Department.DepartmentID (number) Department.Name (text) Department.Head (number) Affiliated_With.Physi...
none
{"database_id": "hospital_1", "id": "15e4128ab43a96921c16899ce4090f752b7df6ae4743b676e1c207933d1e7a8b", "query_sha256": "d9705ebc8a5d566a851cc699b94def1148f8355d3eed0ed44b4c56bffa5f9c00", "split_group_id": "hospital_1"}
Question: What is the alphabetically ordered list of all the distinct names of nurses? Database columns: all rows (*) (text) Physician.EmployeeID (number) Physician.Name (text) Physician.Position (text) Physician.SSN (number) Department.DepartmentID (number) Department.Name (text) Department.Head (number) Affiliated_Wi...
none
{"database_id": "hospital_1", "id": "7e39076cf238c78796ce18da23ec1c09b6725f8cfcacd9b5df388fbe57137b39", "query_sha256": "d9705ebc8a5d566a851cc699b94def1148f8355d3eed0ed44b4c56bffa5f9c00", "split_group_id": "hospital_1"}
Question: Find the names of nurses who are nursing an undergoing treatment. Database columns: all rows (*) (text) Physician.EmployeeID (number) Physician.Name (text) Physician.Position (text) Physician.SSN (number) Department.DepartmentID (number) Department.Name (text) Department.Head (number) Affiliated_With.Physicia...
none
{"database_id": "hospital_1", "id": "e8d5f5e7f241bc1874766723c794e0ece13a9124212965cdca1774c2743b6ee8", "query_sha256": "17a778bfeefc78dcd8b3e93d8f58d5d2c5d4cde779a793c4d088bbaf13e4d9c3", "split_group_id": "hospital_1"}
Question: Which nurses are in charge of patients undergoing treatments? Database columns: all rows (*) (text) Physician.EmployeeID (number) Physician.Name (text) Physician.Position (text) Physician.SSN (number) Department.DepartmentID (number) Department.Name (text) Department.Head (number) Affiliated_With.Physician (n...
none
{"database_id": "hospital_1", "id": "2a040b52d11e19ce82c609c13cefd2251f3b880433c29e98e7d4fb24ae278523", "query_sha256": "17a778bfeefc78dcd8b3e93d8f58d5d2c5d4cde779a793c4d088bbaf13e4d9c3", "split_group_id": "hospital_1"}
Question: List the names of all distinct medications, ordered in an alphabetical order. Database columns: all rows (*) (text) Physician.EmployeeID (number) Physician.Name (text) Physician.Position (text) Physician.SSN (number) Department.DepartmentID (number) Department.Name (text) Department.Head (number) Affiliated_W...
none
{"database_id": "hospital_1", "id": "b1390bfe22d1cb8bf3a56464332456642238711728b088fae509563c4fa922ad", "query_sha256": "af374eee65193e7871eb922d3b319a15cadb137c439a326cdae6568dfbbf3ac5", "split_group_id": "hospital_1"}
Question: What is the alphabetically ordered list of all distinct medications? Database columns: all rows (*) (text) Physician.EmployeeID (number) Physician.Name (text) Physician.Position (text) Physician.SSN (number) Department.DepartmentID (number) Department.Name (text) Department.Head (number) Affiliated_With.Physi...
none
{"database_id": "hospital_1", "id": "4fb1207c6c5c470a616247e4e56b2f149e7819997d915e39720df639964f87d3", "query_sha256": "af374eee65193e7871eb922d3b319a15cadb137c439a326cdae6568dfbbf3ac5", "split_group_id": "hospital_1"}
Question: What are the names of the physician who prescribed the highest dose? Database columns: all rows (*) (text) Physician.EmployeeID (number) Physician.Name (text) Physician.Position (text) Physician.SSN (number) Department.DepartmentID (number) Department.Name (text) Department.Head (number) Affiliated_With.Physi...
none
{"database_id": "hospital_1", "id": "b06843aaa57a21e141689653d348338183271f1f93b799fc78e46aac376daaec", "query_sha256": "fb1a25076e68a882dffdf41acc80a96b7d09b31e0627f9937abf7d077d4423be", "split_group_id": "hospital_1"}
Question: Find the physician who prescribed the highest dose. What is his or her name? Database columns: all rows (*) (text) Physician.EmployeeID (number) Physician.Name (text) Physician.Position (text) Physician.SSN (number) Department.DepartmentID (number) Department.Name (text) Department.Head (number) Affiliated_Wi...
none
{"database_id": "hospital_1", "id": "9a7dae07ccb07ea0d64d0dddaeabb550f2e57d538aaa97362ec20a4138d9369d", "query_sha256": "fb1a25076e68a882dffdf41acc80a96b7d09b31e0627f9937abf7d077d4423be", "split_group_id": "hospital_1"}
Question: List the names of departments where some physicians are primarily affiliated with. Database columns: all rows (*) (text) Physician.EmployeeID (number) Physician.Name (text) Physician.Position (text) Physician.SSN (number) Department.DepartmentID (number) Department.Name (text) Department.Head (number) Affilia...
none
{"database_id": "hospital_1", "id": "3727bdf5c02d92faf7095554c8fba48ca6a465e8a679a3e3ce3edd84bb09848e", "query_sha256": "409af5fac2103e6c6d87fe4014798df4f65753e6e222602d40e29fd83526a222", "split_group_id": "hospital_1"}
Question: What are the names of departments that have primarily affiliated physicians. Database columns: all rows (*) (text) Physician.EmployeeID (number) Physician.Name (text) Physician.Position (text) Physician.SSN (number) Department.DepartmentID (number) Department.Name (text) Department.Head (number) Affiliated_Wi...
none
{"database_id": "hospital_1", "id": "a4a3ef0c7788344e0b899e41505532f090965f9b486ee711f429381e6e267fee", "query_sha256": "409af5fac2103e6c6d87fe4014798df4f65753e6e222602d40e29fd83526a222", "split_group_id": "hospital_1"}
Question: What nurses are on call with block floor 1 and block code 1? Tell me their names. Database columns: all rows (*) (text) Physician.EmployeeID (number) Physician.Name (text) Physician.Position (text) Physician.SSN (number) Department.DepartmentID (number) Department.Name (text) Department.Head (number) Affiliat...
none
{"database_id": "hospital_1", "id": "f8d12cabe70df64d9f9e8880e0771cbe5e778759da653cc39756ab71ac91befa", "query_sha256": "cd803ac84f20617189a66659c4bae0f126a430abcebea435f320e4f304845081", "split_group_id": "hospital_1"}
Question: Find the ids of the nurses who are on call in block floor 1 and block code 1. Database columns: all rows (*) (text) Physician.EmployeeID (number) Physician.Name (text) Physician.Position (text) Physician.SSN (number) Department.DepartmentID (number) Department.Name (text) Department.Head (number) Affiliated_W...
none
{"database_id": "hospital_1", "id": "ca225572755a5b788d59c83e28ad9aadcf61c10bdd71b44c5ee26db4d943d249", "query_sha256": "cd803ac84f20617189a66659c4bae0f126a430abcebea435f320e4f304845081", "split_group_id": "hospital_1"}
Question: Find the three most expensive procedures. Database columns: all rows (*) (text) Physician.EmployeeID (number) Physician.Name (text) Physician.Position (text) Physician.SSN (number) Department.DepartmentID (number) Department.Name (text) Department.Head (number) Affiliated_With.Physician (number) Affiliated_Wi...
none
{"database_id": "hospital_1", "id": "3716df1d617fccb50301aeb8bbdeaccc314a7cd81de450de1680bef11c5c44e4", "query_sha256": "12da7857278e1f79cc1a58d4e1395058580ef2d51c0160770eeef02246854d5a", "split_group_id": "hospital_1"}
Question: What are the three most costly procedures? Database columns: all rows (*) (text) Physician.EmployeeID (number) Physician.Name (text) Physician.Position (text) Physician.SSN (number) Department.DepartmentID (number) Department.Name (text) Department.Head (number) Affiliated_With.Physician (number) Affiliated_W...
none
{"database_id": "hospital_1", "id": "01794ef236c384c955f61e4988bc5aca47a937119b97c5a7b53a906499d108c3", "query_sha256": "12da7857278e1f79cc1a58d4e1395058580ef2d51c0160770eeef02246854d5a", "split_group_id": "hospital_1"}
Question: Find the physicians who are trained in a procedure that costs more than 5000. Database columns: all rows (*) (text) Physician.EmployeeID (number) Physician.Name (text) Physician.Position (text) Physician.SSN (number) Department.DepartmentID (number) Department.Name (text) Department.Head (number) Affiliated_W...
none
{"database_id": "hospital_1", "id": "9f4de9ca369c1ed076e693899d6e16cfcf001a67676f98de843e03ce5f724ded", "query_sha256": "d78661c5333a9ca6256c4f72691126cba26d8eb765fe2b94b9aca7034d2d8c6d", "split_group_id": "hospital_1"}
Question: Which physicians are trained in procedures that are more expensive than 5000? Database columns: all rows (*) (text) Physician.EmployeeID (number) Physician.Name (text) Physician.Position (text) Physician.SSN (number) Department.DepartmentID (number) Department.Name (text) Department.Head (number) Affiliated_W...
none
{"database_id": "hospital_1", "id": "e1c5119653627f8a6337f93e9e54f2a1e3ac75272aed4bd10300c4250c077cf4", "query_sha256": "d78661c5333a9ca6256c4f72691126cba26d8eb765fe2b94b9aca7034d2d8c6d", "split_group_id": "hospital_1"}
Question: Find the physician who was trained in the most expensive procedure? Database columns: all rows (*) (text) Physician.EmployeeID (number) Physician.Name (text) Physician.Position (text) Physician.SSN (number) Department.DepartmentID (number) Department.Name (text) Department.Head (number) Affiliated_With.Physic...
none
{"database_id": "hospital_1", "id": "2018bd5a6dda83385b9dc4cf9cdc77328229c3efbeb1d0177d5051bcff053e4b", "query_sha256": "8147ca4811d4bc95e4956d61c6fb5fca2731a8d83312e9320fedd0938675e0e0", "split_group_id": "hospital_1"}
Question: Which physician was trained in the procedure that costs the most. Database columns: all rows (*) (text) Physician.EmployeeID (number) Physician.Name (text) Physician.Position (text) Physician.SSN (number) Department.DepartmentID (number) Department.Name (text) Department.Head (number) Affiliated_With.Physicia...
none
{"database_id": "hospital_1", "id": "cc9fe9b9cd79829a38b734fec6602253aba66693e8e1964429e80aba3481b714", "query_sha256": "8147ca4811d4bc95e4956d61c6fb5fca2731a8d83312e9320fedd0938675e0e0", "split_group_id": "hospital_1"}
Question: What is the average cost of procedures that physician John Wen was trained in? Database columns: all rows (*) (text) Physician.EmployeeID (number) Physician.Name (text) Physician.Position (text) Physician.SSN (number) Department.DepartmentID (number) Department.Name (text) Department.Head (number) Affiliated_...
average
{"database_id": "hospital_1", "id": "7f96b5c89f5bfbcd16b2cf33e9eb58de0ddc16d95e679b55ca5dc63ce90aa15b", "query_sha256": "c2d9e9793a3589fcf73db7eef63fe8c7c691de66bcbb7a02b6bb24d78a88761d", "split_group_id": "hospital_1"}
Question: Compute the mean price of procedures physician John Wen was trained in. Database columns: all rows (*) (text) Physician.EmployeeID (number) Physician.Name (text) Physician.Position (text) Physician.SSN (number) Department.DepartmentID (number) Department.Name (text) Department.Head (number) Affiliated_With.Ph...
average
{"database_id": "hospital_1", "id": "f897cd80c5f1f6be9bbe1bfde7eb4b8aae1d6f0c0396d624bba0969f3060c3e6", "query_sha256": "c2d9e9793a3589fcf73db7eef63fe8c7c691de66bcbb7a02b6bb24d78a88761d", "split_group_id": "hospital_1"}
Question: Find the names of procedures which physician John Wen was trained in. Database columns: all rows (*) (text) Physician.EmployeeID (number) Physician.Name (text) Physician.Position (text) Physician.SSN (number) Department.DepartmentID (number) Department.Name (text) Department.Head (number) Affiliated_With.Phys...
none
{"database_id": "hospital_1", "id": "01712820060a9b002b75dece3c63c8d9e6e7f0406146aceeb339faed01fe001d", "query_sha256": "949693fdf694b6b46b8fbdb1788c5def014fe06379ac6aa8deda9aa7816529b4", "split_group_id": "hospital_1"}
Question: What are the names of procedures physician John Wen was trained in? Database columns: all rows (*) (text) Physician.EmployeeID (number) Physician.Name (text) Physician.Position (text) Physician.SSN (number) Department.DepartmentID (number) Department.Name (text) Department.Head (number) Affiliated_With.Physic...
none
{"database_id": "hospital_1", "id": "0022003c412d13fe246cf1795237aa983e2eaa61c70bd17a887ee38318718df8", "query_sha256": "949693fdf694b6b46b8fbdb1788c5def014fe06379ac6aa8deda9aa7816529b4", "split_group_id": "hospital_1"}
Question: Find the name of physicians who are affiliated with Surgery or Psychiatry department. Database columns: all rows (*) (text) Physician.EmployeeID (number) Physician.Name (text) Physician.Position (text) Physician.SSN (number) Department.DepartmentID (number) Department.Name (text) Department.Head (number) Affi...
none
{"database_id": "hospital_1", "id": "8c52915bbfe7af552a35fd10fd9f332ab4173d276bb386ec25c84a33fedd2ace", "query_sha256": "af883a20bed6f45d7ee04af9554d43aa5d997f7907bf4f8f807678fb26b9d219", "split_group_id": "hospital_1"}
Question: Which physicians are affiliated with either Surgery or Psychiatry department? Give me their names. Database columns: all rows (*) (text) Physician.EmployeeID (number) Physician.Name (text) Physician.Position (text) Physician.SSN (number) Department.DepartmentID (number) Department.Name (text) Department.Head ...
none
{"database_id": "hospital_1", "id": "573081b59522cb3a8ed784801a112a2a98d9fcba977af84c5501f66666449b6d", "query_sha256": "af883a20bed6f45d7ee04af9554d43aa5d997f7907bf4f8f807678fb26b9d219", "split_group_id": "hospital_1"}
Question: Find the number of patients who are not using the medication of Procrastin-X. Database columns: all rows (*) (text) Physician.EmployeeID (number) Physician.Name (text) Physician.Position (text) Physician.SSN (number) Department.DepartmentID (number) Department.Name (text) Department.Head (number) Affiliated_W...
count
{"database_id": "hospital_1", "id": "f1553d144a05559645741c4740f5e85485e87b43ad716e5352fd0833f2c040c9", "query_sha256": "e2becb13f073c0143b287a8d7a4fdd27b3cfdbc73bbc7c87a654fb0276af23af", "split_group_id": "hospital_1"}
Question: How many patients are not using Procrastin-X as medication? Database columns: all rows (*) (text) Physician.EmployeeID (number) Physician.Name (text) Physician.Position (text) Physician.SSN (number) Department.DepartmentID (number) Department.Name (text) Department.Head (number) Affiliated_With.Physician (num...
count
{"database_id": "hospital_1", "id": "2c33ddd129ba32201fddb41e1f5939d2c891c8c5c129eb5818f51fb96127af40", "query_sha256": "e2becb13f073c0143b287a8d7a4fdd27b3cfdbc73bbc7c87a654fb0276af23af", "split_group_id": "hospital_1"}
Question: How many appointments are there? Database columns: all rows (*) (text) Physician.EmployeeID (number) Physician.Name (text) Physician.Position (text) Physician.SSN (number) Department.DepartmentID (number) Department.Name (text) Department.Head (number) Affiliated_With.Physician (number) Affiliated_With.Depart...
count
{"database_id": "hospital_1", "id": "65df03291fcc8e2debf5da19e94641f9e65279d0bbe6c0d0775c7df3bb6e218c", "query_sha256": "bb04361e545bbb6fb53dfff8c72793f938a516560b7d2b094f89b24f6be99154", "split_group_id": "hospital_1"}
Question: Count how many appointments have been made in total. Database columns: all rows (*) (text) Physician.EmployeeID (number) Physician.Name (text) Physician.Position (text) Physician.SSN (number) Department.DepartmentID (number) Department.Name (text) Department.Head (number) Affiliated_With.Physician (number) Af...
count
{"database_id": "hospital_1", "id": "9756560f0fefec856953fdea331ec55c74dc4abdfccc697741a4e4f005b6127e", "query_sha256": "bb04361e545bbb6fb53dfff8c72793f938a516560b7d2b094f89b24f6be99154", "split_group_id": "hospital_1"}