sentence1 stringlengths 223 9.31k | labels stringclasses 6
values | metadata stringlengths 207 261 |
|---|---|---|
Question: Show the names of people aged either 35 or 36.
Database columns:
all rows (*) (text)
people.People_ID (number)
people.District (text)
people.Name (text)
people.Party (text)
people.Age (number)
debate.Debate_ID (number)
debate.Date (text)
debate.Venue (text)
debate.Num_of_Audience (number)
debate_people.Debate... | none | {"database_id": "debate", "id": "62ba6c0b1ba18f2d2d916d846401e19c3fc4baf84edb57262a5467a15f8f72da", "query_sha256": "8a5d209cffc9f50ee1078c530b76ed2de8a31259a6784c6e41019ee107ab2aa3", "split_group_id": "debate"} |
Question: What is the party of the youngest people?
Database columns:
all rows (*) (text)
people.People_ID (number)
people.District (text)
people.Name (text)
people.Party (text)
people.Age (number)
debate.Debate_ID (number)
debate.Date (text)
debate.Venue (text)
debate.Num_of_Audience (number)
debate_people.Debate_ID (... | none | {"database_id": "debate", "id": "45cec0891df5cad154fe7e41c0be5eea154f30938e8adffeea7bd58f21b6eb21", "query_sha256": "3755642804ce58f5d741d4de9c4e14a9a1beffb3c22520cda93a055e03d1e77b", "split_group_id": "debate"} |
Question: Show the party that has the most people.
Database columns:
all rows (*) (text)
people.People_ID (number)
people.District (text)
people.Name (text)
people.Party (text)
people.Age (number)
debate.Debate_ID (number)
debate.Date (text)
debate.Venue (text)
debate.Num_of_Audience (number)
debate_people.Debate_ID (n... | none | {"database_id": "debate", "id": "c8fb032c9444bd937c1c85b4f2406528317d096a6e3b5e3ef11576e6296c4904", "query_sha256": "35a313028e700ae594963bc49de6dfe262b8c7f61684f82228a74cbb73d45bc5", "split_group_id": "debate"} |
Question: Show the distinct venues of debates
Database columns:
all rows (*) (text)
people.People_ID (number)
people.District (text)
people.Name (text)
people.Party (text)
people.Age (number)
debate.Debate_ID (number)
debate.Date (text)
debate.Venue (text)
debate.Num_of_Audience (number)
debate_people.Debate_ID (number... | none | {"database_id": "debate", "id": "9d9956ab8cb705be375e67eb5f8e28dcc7b26b415996f8de534f60228fa4d389", "query_sha256": "c58f358c6cb4d0c3a0c0e8366a79bc3902f6165010422d5fa0fd192caebecbae", "split_group_id": "debate"} |
Question: Show the names of people that are on affirmative side of debates with number of audience bigger than 200.
Database columns:
all rows (*) (text)
people.People_ID (number)
people.District (text)
people.Name (text)
people.Party (text)
people.Age (number)
debate.Debate_ID (number)
debate.Date (text)
debate.Venue ... | none | {"database_id": "debate", "id": "64afda6a06f41fc23a36ecab2ce929440da965df9901df0c082c53b0bf62dfae", "query_sha256": "112d4fd1ceabfdb151126d35b6f69e9717489fc6e018fedc5354331945042158", "split_group_id": "debate"} |
Question: Show the names of people who have been on the negative side of debates at least twice.
Database columns:
all rows (*) (text)
people.People_ID (number)
people.District (text)
people.Name (text)
people.Party (text)
people.Age (number)
debate.Debate_ID (number)
debate.Date (text)
debate.Venue (text)
debate.Num_o... | none | {"database_id": "debate", "id": "ec2d371142d8b5ac2dcb52e93de73d6367e614aba6d15d16255ff8f5e84cd882", "query_sha256": "68563a32800e766426bfe85d931969b5fb0bc415c1d6480aec87b773ec8b3238", "split_group_id": "debate"} |
Question: List the names of people that have not been on the affirmative side of debates.
Database columns:
all rows (*) (text)
people.People_ID (number)
people.District (text)
people.Name (text)
people.Party (text)
people.Age (number)
debate.Debate_ID (number)
debate.Date (text)
debate.Venue (text)
debate.Num_of_Audie... | none | {"database_id": "debate", "id": "ae474dfa1396dc9631a6a6df354c01afb0a6c19e303bda8cbc34b0acfcef78aa", "query_sha256": "62325b69bd89563a9f58700da1b44169107f3909a5de2df97dcceb00f0949062", "split_group_id": "debate"} |
Question: List the names of all the customers in alphabetical order.
Database columns:
all rows (*) (text)
Customers.Customer_ID (number)
Customers.Customer_Details (text)
Staff.Staff_ID (number)
Staff.Staff_Details (text)
Policies.Policy_ID (number)
Policies.Customer_ID (number)
Policies.Policy_Type_Code (text)
Polici... | none | {"database_id": "insurance_and_eClaims", "id": "5ae11b121a9aa666eceb3aa1ec91bf63319fc352a8e35d326296bd5217c24826", "query_sha256": "94f7bc05ff77e0844bdff2042129dbc49e63a2186e4b691346d9d19eb0d8ed22", "split_group_id": "insurance_and_eClaims"} |
Question: Sort the customer names in alphabetical order.
Database columns:
all rows (*) (text)
Customers.Customer_ID (number)
Customers.Customer_Details (text)
Staff.Staff_ID (number)
Staff.Staff_Details (text)
Policies.Policy_ID (number)
Policies.Customer_ID (number)
Policies.Policy_Type_Code (text)
Policies.Start_Dat... | none | {"database_id": "insurance_and_eClaims", "id": "5429c2076b8f878c8d66f4b157619250c6f21c46937ac3b4725954e34024547a", "query_sha256": "94f7bc05ff77e0844bdff2042129dbc49e63a2186e4b691346d9d19eb0d8ed22", "split_group_id": "insurance_and_eClaims"} |
Question: Find all the policy type codes associated with the customer "Dayana Robel"
Database columns:
all rows (*) (text)
Customers.Customer_ID (number)
Customers.Customer_Details (text)
Staff.Staff_ID (number)
Staff.Staff_Details (text)
Policies.Policy_ID (number)
Policies.Customer_ID (number)
Policies.Policy_Type_Co... | none | {"database_id": "insurance_and_eClaims", "id": "ceba9d16de8196c0b659a2d55b0ae216b32ce3ce7fb9ca9c70dbafe0b444dbcd", "query_sha256": "59649316a80923abbacf739ed28288687815cb2845d6e6f3fe699329d0a401ed", "split_group_id": "insurance_and_eClaims"} |
Question: What are the type codes of the policies used by the customer "Dayana Robel"?
Database columns:
all rows (*) (text)
Customers.Customer_ID (number)
Customers.Customer_Details (text)
Staff.Staff_ID (number)
Staff.Staff_Details (text)
Policies.Policy_ID (number)
Policies.Customer_ID (number)
Policies.Policy_Type_... | none | {"database_id": "insurance_and_eClaims", "id": "26d977e1a61e46dd9f892fff06da909a0d275a526553b790838025b0908af6eb", "query_sha256": "59649316a80923abbacf739ed28288687815cb2845d6e6f3fe699329d0a401ed", "split_group_id": "insurance_and_eClaims"} |
Question: Which type of policy is most frequently used? Give me the policy type code.
Database columns:
all rows (*) (text)
Customers.Customer_ID (number)
Customers.Customer_Details (text)
Staff.Staff_ID (number)
Staff.Staff_Details (text)
Policies.Policy_ID (number)
Policies.Customer_ID (number)
Policies.Policy_Type_C... | none | {"database_id": "insurance_and_eClaims", "id": "46cb71d85ef89f542819d48c68bffba3cd05e1d103e660159b84b269b918a901", "query_sha256": "bd75f97f9a1e46b85cb55ac1fc705fe3511b62a5de056e07c88c36333e35d838", "split_group_id": "insurance_and_eClaims"} |
Question: Find the type code of the most frequently used policy.
Database columns:
all rows (*) (text)
Customers.Customer_ID (number)
Customers.Customer_Details (text)
Staff.Staff_ID (number)
Staff.Staff_Details (text)
Policies.Policy_ID (number)
Policies.Customer_ID (number)
Policies.Policy_Type_Code (text)
Policies.S... | none | {"database_id": "insurance_and_eClaims", "id": "ad405554e7e56dc41e6ff5d79ed7fa652d3ed0d29e421a7f9edbacdf7011765f", "query_sha256": "bd75f97f9a1e46b85cb55ac1fc705fe3511b62a5de056e07c88c36333e35d838", "split_group_id": "insurance_and_eClaims"} |
Question: Find all the policy types that are used by more than 2 customers.
Database columns:
all rows (*) (text)
Customers.Customer_ID (number)
Customers.Customer_Details (text)
Staff.Staff_ID (number)
Staff.Staff_Details (text)
Policies.Policy_ID (number)
Policies.Customer_ID (number)
Policies.Policy_Type_Code (text)... | none | {"database_id": "insurance_and_eClaims", "id": "87fbefaa0b3e7c9c5c25dc1f65b31e1bf9310c71ac9d42420f597c03c8b4287f", "query_sha256": "ded7739951f7c342d7b7fc793c58a7c6ce998ec5550b45e175c61384e79e3ebd", "split_group_id": "insurance_and_eClaims"} |
Question: Which types of policy are chosen by more than 2 customers? Give me the policy type codes.
Database columns:
all rows (*) (text)
Customers.Customer_ID (number)
Customers.Customer_Details (text)
Staff.Staff_ID (number)
Staff.Staff_Details (text)
Policies.Policy_ID (number)
Policies.Customer_ID (number)
Policies... | none | {"database_id": "insurance_and_eClaims", "id": "4927456ad8a814575d787ef039fa6c256aab9e72517d1676e67359e09fee3f6a", "query_sha256": "ded7739951f7c342d7b7fc793c58a7c6ce998ec5550b45e175c61384e79e3ebd", "split_group_id": "insurance_and_eClaims"} |
Question: Find the total amount claimed in the most recently created document.
Database columns:
all rows (*) (text)
Customers.Customer_ID (number)
Customers.Customer_Details (text)
Staff.Staff_ID (number)
Staff.Staff_Details (text)
Policies.Policy_ID (number)
Policies.Customer_ID (number)
Policies.Policy_Type_Code (te... | sum | {"database_id": "insurance_and_eClaims", "id": "7aa40728c10233fa805ca3d57b5397c45c719243b98c4ddeae31fff397dd5355", "query_sha256": "b25b6629888c8a59f1366bd9643f343b34e460a129d7b34d1004e6caa2dd6898", "split_group_id": "insurance_and_eClaims"} |
Question: How much amount in total were claimed in the most recently created document?
Database columns:
all rows (*) (text)
Customers.Customer_ID (number)
Customers.Customer_Details (text)
Staff.Staff_ID (number)
Staff.Staff_Details (text)
Policies.Policy_ID (number)
Policies.Customer_ID (number)
Policies.Policy_Type_... | sum | {"database_id": "insurance_and_eClaims", "id": "9adef44f115f5db2a6f5d79436f58c88c9f69e96733c5e10049f06bb782890a0", "query_sha256": "b25b6629888c8a59f1366bd9643f343b34e460a129d7b34d1004e6caa2dd6898", "split_group_id": "insurance_and_eClaims"} |
Question: What is the name of the customer who has made the largest amount of claim in a single claim?
Database columns:
all rows (*) (text)
Customers.Customer_ID (number)
Customers.Customer_Details (text)
Staff.Staff_ID (number)
Staff.Staff_Details (text)
Policies.Policy_ID (number)
Policies.Customer_ID (number)
Polic... | none | {"database_id": "insurance_and_eClaims", "id": "1658c707d989437345911c493ab8a5211de4f427c728c4b0bad5247d8470a864", "query_sha256": "fc6c3f26d2f6ef01f43dcdbff5a09c8d5bf3836d1dfdb9ef20de548b7b1210ee", "split_group_id": "insurance_and_eClaims"} |
Question: Which customer made the largest amount of claim in a single claim? Return the customer details.
Database columns:
all rows (*) (text)
Customers.Customer_ID (number)
Customers.Customer_Details (text)
Staff.Staff_ID (number)
Staff.Staff_Details (text)
Policies.Policy_ID (number)
Policies.Customer_ID (number)
Po... | none | {"database_id": "insurance_and_eClaims", "id": "97926ebcfa0d5db4e19976a65f468d2cae3172df41edfa492037490e177bcf42", "query_sha256": "fc6c3f26d2f6ef01f43dcdbff5a09c8d5bf3836d1dfdb9ef20de548b7b1210ee", "split_group_id": "insurance_and_eClaims"} |
Question: What is the name of the customer who has made the minimum amount of payment in one claim?
Database columns:
all rows (*) (text)
Customers.Customer_ID (number)
Customers.Customer_Details (text)
Staff.Staff_ID (number)
Staff.Staff_Details (text)
Policies.Policy_ID (number)
Policies.Customer_ID (number)
Policies... | none | {"database_id": "insurance_and_eClaims", "id": "f1593e660d1c8a7b50b549c564e7aa31dbfc591b01a5af8bdf86b547f196d1a0", "query_sha256": "411002564cd95bc400c1eab134471437a923b376156d541ca785a77ce3ca601f", "split_group_id": "insurance_and_eClaims"} |
Question: Which customer made the smallest amount of claim in one claim? Return the customer details.
Database columns:
all rows (*) (text)
Customers.Customer_ID (number)
Customers.Customer_Details (text)
Staff.Staff_ID (number)
Staff.Staff_Details (text)
Policies.Policy_ID (number)
Policies.Customer_ID (number)
Polici... | none | {"database_id": "insurance_and_eClaims", "id": "56691ec964c50400c40fab9bfae4fb11cd252ac78e76028e027284baff1fa248", "query_sha256": "411002564cd95bc400c1eab134471437a923b376156d541ca785a77ce3ca601f", "split_group_id": "insurance_and_eClaims"} |
Question: How many claim processing stages are there in total?
Database columns:
all rows (*) (text)
Customers.Customer_ID (number)
Customers.Customer_Details (text)
Staff.Staff_ID (number)
Staff.Staff_Details (text)
Policies.Policy_ID (number)
Policies.Customer_ID (number)
Policies.Policy_Type_Code (text)
Policies.Sta... | count | {"database_id": "insurance_and_eClaims", "id": "acead115537c8bdf50e436caef317fe770856e05cd8a6b2c3efbc5b736b8e095", "query_sha256": "8f8d5633a610a9657d641abd5ae915184e64f7dbd67fc9c1672125ef85e87652", "split_group_id": "insurance_and_eClaims"} |
Question: Find the number of distinct stages in claim processing.
Database columns:
all rows (*) (text)
Customers.Customer_ID (number)
Customers.Customer_Details (text)
Staff.Staff_ID (number)
Staff.Staff_Details (text)
Policies.Policy_ID (number)
Policies.Customer_ID (number)
Policies.Policy_Type_Code (text)
Policies.... | count | {"database_id": "insurance_and_eClaims", "id": "83500fe3b85f605a52450f40576937faf75db39b7e2f2188807b06bf134a46d0", "query_sha256": "8f8d5633a610a9657d641abd5ae915184e64f7dbd67fc9c1672125ef85e87652", "split_group_id": "insurance_and_eClaims"} |
Question: What is the name of the claim processing stage that most of the claims are on?
Database columns:
all rows (*) (text)
Customers.Customer_ID (number)
Customers.Customer_Details (text)
Staff.Staff_ID (number)
Staff.Staff_Details (text)
Policies.Policy_ID (number)
Policies.Customer_ID (number)
Policies.Policy_Typ... | none | {"database_id": "insurance_and_eClaims", "id": "429af7a652d1e61ae5088f444ba30f5a9c84dcea704f9b70d38d988c562ec20d", "query_sha256": "9a38428d69fe4fba631c0ef1f7ff921718bd41eacb72e3954cc9b7f958cf2809", "split_group_id": "insurance_and_eClaims"} |
Question: Which claim processing stage has the most claims? Show the claim status name.
Database columns:
all rows (*) (text)
Customers.Customer_ID (number)
Customers.Customer_Details (text)
Staff.Staff_ID (number)
Staff.Staff_Details (text)
Policies.Policy_ID (number)
Policies.Customer_ID (number)
Policies.Policy_Type... | none | {"database_id": "insurance_and_eClaims", "id": "e47be7b2da15df975e13dd42bf736f50b655247f7e99715b8da8e30afa1d0ebf", "query_sha256": "9a38428d69fe4fba631c0ef1f7ff921718bd41eacb72e3954cc9b7f958cf2809", "split_group_id": "insurance_and_eClaims"} |
Question: Find the names of customers whose name contains "Diana".
Database columns:
all rows (*) (text)
Customers.Customer_ID (number)
Customers.Customer_Details (text)
Staff.Staff_ID (number)
Staff.Staff_Details (text)
Policies.Policy_ID (number)
Policies.Customer_ID (number)
Policies.Policy_Type_Code (text)
Policies... | none | {"database_id": "insurance_and_eClaims", "id": "c01fcc5c2666c1ad6ecefb0b334976664994e87e5617b40ee8f07b20022b3656", "query_sha256": "d114f0fd64700ec039c2967089d65873f47a7ca0b5ccf5d271c069693435ddc0", "split_group_id": "insurance_and_eClaims"} |
Question: Which customers have the substring "Diana" in their names? Return the customer details.
Database columns:
all rows (*) (text)
Customers.Customer_ID (number)
Customers.Customer_Details (text)
Staff.Staff_ID (number)
Staff.Staff_Details (text)
Policies.Policy_ID (number)
Policies.Customer_ID (number)
Policies.P... | none | {"database_id": "insurance_and_eClaims", "id": "f03e36e7fc8c01a5be874616ed720de66e82238c54740b916f43cf5a96283514", "query_sha256": "d114f0fd64700ec039c2967089d65873f47a7ca0b5ccf5d271c069693435ddc0", "split_group_id": "insurance_and_eClaims"} |
Question: Find the names of the customers who have an deputy policy.
Database columns:
all rows (*) (text)
Customers.Customer_ID (number)
Customers.Customer_Details (text)
Staff.Staff_ID (number)
Staff.Staff_Details (text)
Policies.Policy_ID (number)
Policies.Customer_ID (number)
Policies.Policy_Type_Code (text)
Polici... | none | {"database_id": "insurance_and_eClaims", "id": "02ee304b9e34f97cebea0cb55c71a9c6d39382dad791a27936b92cc4f7d44791", "query_sha256": "d48c5716ee44d0f6330825bb9e21c50c86dd640b1b087e7a89fa5d0169031d8b", "split_group_id": "insurance_and_eClaims"} |
Question: Which customers have an insurance policy with the type code "Deputy"? Give me the customer details.
Database columns:
all rows (*) (text)
Customers.Customer_ID (number)
Customers.Customer_Details (text)
Staff.Staff_ID (number)
Staff.Staff_Details (text)
Policies.Policy_ID (number)
Policies.Customer_ID (number... | none | {"database_id": "insurance_and_eClaims", "id": "3939b5ab8108ea529b3aae84f692047861c701be46b21c6fddd9451ec4b81a8b", "query_sha256": "d48c5716ee44d0f6330825bb9e21c50c86dd640b1b087e7a89fa5d0169031d8b", "split_group_id": "insurance_and_eClaims"} |
Question: Find the names of customers who either have an deputy policy or uniformed policy.
Database columns:
all rows (*) (text)
Customers.Customer_ID (number)
Customers.Customer_Details (text)
Staff.Staff_ID (number)
Staff.Staff_Details (text)
Policies.Policy_ID (number)
Policies.Customer_ID (number)
Policies.Policy_... | none | {"database_id": "insurance_and_eClaims", "id": "87c6b7a1673c53ac3f5afe7d3a32c9ddd3da9f2df75083c5b22e2424e6052706", "query_sha256": "ab5ea442ff04a404ad34c63007069542b6f8a4813a6eb9f3708463e801fd21bd", "split_group_id": "insurance_and_eClaims"} |
Question: Which customers have an insurance policy with the type code "Deputy" or "Uniform"? Return the customer details.
Database columns:
all rows (*) (text)
Customers.Customer_ID (number)
Customers.Customer_Details (text)
Staff.Staff_ID (number)
Staff.Staff_Details (text)
Policies.Policy_ID (number)
Policies.Custome... | none | {"database_id": "insurance_and_eClaims", "id": "ea06bff3b55511f542a5c951d382b3f83927fd63cb9faafe91e1bb54281558bc", "query_sha256": "ab5ea442ff04a404ad34c63007069542b6f8a4813a6eb9f3708463e801fd21bd", "split_group_id": "insurance_and_eClaims"} |
Question: Find the name of the customer that has been involved in the most policies.
Database columns:
all rows (*) (text)
Customers.Customer_ID (number)
Customers.Customer_Details (text)
Staff.Staff_ID (number)
Staff.Staff_Details (text)
Policies.Policy_ID (number)
Policies.Customer_ID (number)
Policies.Policy_Type_Co... | none | {"database_id": "insurance_and_eClaims", "id": "3f54d00b0307db162c9a7b351bf842f67a8ae37e0892a3f8d59ba167d142c42b", "query_sha256": "c2558355cf233220257e945c402f5dc4728f2ffc72cc74fad039992edb728163", "split_group_id": "insurance_and_eClaims"} |
Question: Which customer have the most policies? Give me the customer details.
Database columns:
all rows (*) (text)
Customers.Customer_ID (number)
Customers.Customer_Details (text)
Staff.Staff_ID (number)
Staff.Staff_Details (text)
Policies.Policy_ID (number)
Policies.Customer_ID (number)
Policies.Policy_Type_Code (te... | none | {"database_id": "insurance_and_eClaims", "id": "46bb93a0d2588af632d4a99d9587a8add41ca562af765c467b02812fc95e241a", "query_sha256": "c2558355cf233220257e945c402f5dc4728f2ffc72cc74fad039992edb728163", "split_group_id": "insurance_and_eClaims"} |
Question: What is the description of the claim status "Open"?
Database columns:
all rows (*) (text)
Customers.Customer_ID (number)
Customers.Customer_Details (text)
Staff.Staff_ID (number)
Staff.Staff_Details (text)
Policies.Policy_ID (number)
Policies.Customer_ID (number)
Policies.Policy_Type_Code (text)
Policies.Star... | none | {"database_id": "insurance_and_eClaims", "id": "e77bd9be32a7fbac28c9069f5f674b2a93183f077504f3ad9e22f9439483e65d", "query_sha256": "50647f067c03d2cfbd788133cfdcea13b06d04e1cd11d4db636bcea427173013", "split_group_id": "insurance_and_eClaims"} |
Question: Find the description of the claim status "Open".
Database columns:
all rows (*) (text)
Customers.Customer_ID (number)
Customers.Customer_Details (text)
Staff.Staff_ID (number)
Staff.Staff_Details (text)
Policies.Policy_ID (number)
Policies.Customer_ID (number)
Policies.Policy_Type_Code (text)
Policies.Start_D... | none | {"database_id": "insurance_and_eClaims", "id": "232243464433c3ea9f1a02cfb35e1301ab4015b5a9e441904aecc62db1eee6e4", "query_sha256": "50647f067c03d2cfbd788133cfdcea13b06d04e1cd11d4db636bcea427173013", "split_group_id": "insurance_and_eClaims"} |
Question: How many distinct claim outcome codes are there?
Database columns:
all rows (*) (text)
Customers.Customer_ID (number)
Customers.Customer_Details (text)
Staff.Staff_ID (number)
Staff.Staff_Details (text)
Policies.Policy_ID (number)
Policies.Customer_ID (number)
Policies.Policy_Type_Code (text)
Policies.Start_D... | count | {"database_id": "insurance_and_eClaims", "id": "e6199f82d3d90a52f892996c7f6a10373734bd90069de354832192c716c4e094", "query_sha256": "878bf8ba62634c071f88e990825c8cb80060538a9bfe10ed42f259c6ad232d01", "split_group_id": "insurance_and_eClaims"} |
Question: Count the number of distinct claim outcome codes.
Database columns:
all rows (*) (text)
Customers.Customer_ID (number)
Customers.Customer_Details (text)
Staff.Staff_ID (number)
Staff.Staff_Details (text)
Policies.Policy_ID (number)
Policies.Customer_ID (number)
Policies.Policy_Type_Code (text)
Policies.Start_... | count | {"database_id": "insurance_and_eClaims", "id": "09bc076301df5876cdd1ff9387879925868fde17cf55620435eadb5521f2a7bd", "query_sha256": "878bf8ba62634c071f88e990825c8cb80060538a9bfe10ed42f259c6ad232d01", "split_group_id": "insurance_and_eClaims"} |
Question: Which customer is associated with the latest policy?
Database columns:
all rows (*) (text)
Customers.Customer_ID (number)
Customers.Customer_Details (text)
Staff.Staff_ID (number)
Staff.Staff_Details (text)
Policies.Policy_ID (number)
Policies.Customer_ID (number)
Policies.Policy_Type_Code (text)
Policies.Sta... | none | {"database_id": "insurance_and_eClaims", "id": "a6ad8ddb8ab6efddb13b2c6a5469472591d49915a20522bfcd939fe033ff7cb9", "query_sha256": "3ea6cbbddcf72764c8698b4a52838dc365a8eb9a9dcaaacf74b2605713d349a7", "split_group_id": "insurance_and_eClaims"} |
Question: Find the customer who started a policy most recently.
Database columns:
all rows (*) (text)
Customers.Customer_ID (number)
Customers.Customer_Details (text)
Staff.Staff_ID (number)
Staff.Staff_Details (text)
Policies.Policy_ID (number)
Policies.Customer_ID (number)
Policies.Policy_Type_Code (text)
Policies.St... | none | {"database_id": "insurance_and_eClaims", "id": "f449c7266fbb63d3351d5f769769dd69d94661831e49d6ffe8cd5970619076a9", "query_sha256": "3ea6cbbddcf72764c8698b4a52838dc365a8eb9a9dcaaacf74b2605713d349a7", "split_group_id": "insurance_and_eClaims"} |
Question: Show the number of accounts.
Database columns:
all rows (*) (text)
Customers.customer_id (number)
Customers.customer_first_name (text)
Customers.customer_middle_initial (text)
Customers.customer_last_name (text)
Customers.gender (text)
Customers.email_address (text)
Customers.login_name (text)
Customers.login... | count | {"database_id": "customers_and_invoices", "id": "aafff0cdaf2198f41c932c46bd9129f8c5ffdc46143c6383ec0ea06c6072ff8c", "query_sha256": "736cc8b5e12549fc074d2a5a75d65c37edcedac4866ecfff18e9127bbf2b9214", "split_group_id": "customers_and_invoices"} |
Question: How many accounts are there?
Database columns:
all rows (*) (text)
Customers.customer_id (number)
Customers.customer_first_name (text)
Customers.customer_middle_initial (text)
Customers.customer_last_name (text)
Customers.gender (text)
Customers.email_address (text)
Customers.login_name (text)
Customers.login... | count | {"database_id": "customers_and_invoices", "id": "c1a5b4a96c1e15a2ec6c2b0d7f066f2dc7500c022580b69c8e6263f01ec2fedb", "query_sha256": "736cc8b5e12549fc074d2a5a75d65c37edcedac4866ecfff18e9127bbf2b9214", "split_group_id": "customers_and_invoices"} |
Question: How many customers have opened an account?
Database columns:
all rows (*) (text)
Customers.customer_id (number)
Customers.customer_first_name (text)
Customers.customer_middle_initial (text)
Customers.customer_last_name (text)
Customers.gender (text)
Customers.email_address (text)
Customers.login_name (text)
C... | count | {"database_id": "customers_and_invoices", "id": "3831787a9f79408d0bef7493e20dde2d6317a132c9b24e9711f2b8bd6a48d7ff", "query_sha256": "2ab5cfa796f016bc87fc582e93376203138954e6924d577a53b3fdcfcd553155", "split_group_id": "customers_and_invoices"} |
Question: Count the number of customers who have an account.
Database columns:
all rows (*) (text)
Customers.customer_id (number)
Customers.customer_first_name (text)
Customers.customer_middle_initial (text)
Customers.customer_last_name (text)
Customers.gender (text)
Customers.email_address (text)
Customers.login_name ... | count | {"database_id": "customers_and_invoices", "id": "2e1638e1869bb7834d92b0bca9d9b3f3f232579c7585ca688cc8f3b794d8b2a2", "query_sha256": "2ab5cfa796f016bc87fc582e93376203138954e6924d577a53b3fdcfcd553155", "split_group_id": "customers_and_invoices"} |
Question: How many customers don't have an account?
Database columns:
all rows (*) (text)
Customers.customer_id (number)
Customers.customer_first_name (text)
Customers.customer_middle_initial (text)
Customers.customer_last_name (text)
Customers.gender (text)
Customers.email_address (text)
Customers.login_name (text)
Cu... | count | {"database_id": "customers_and_invoices", "id": "c5405f5a9fd970400dc7d09ce2619a77432f268f63c5be6c91e5cd373bbd1f18", "query_sha256": "d4c2fab193ccb831d972f45431dcd239780e0167809bfd54c0d327b022d04140", "split_group_id": "customers_and_invoices"} |
Question: Count the number of customers who do not have an account.
Database columns:
all rows (*) (text)
Customers.customer_id (number)
Customers.customer_first_name (text)
Customers.customer_middle_initial (text)
Customers.customer_last_name (text)
Customers.gender (text)
Customers.email_address (text)
Customers.logi... | count | {"database_id": "customers_and_invoices", "id": "a398ec93854b90fbf6374e8f9754ffb06b2f1db1efe0746c9006657ab09313a7", "query_sha256": "d4c2fab193ccb831d972f45431dcd239780e0167809bfd54c0d327b022d04140", "split_group_id": "customers_and_invoices"} |
Question: Show the number of customers.
Database columns:
all rows (*) (text)
Customers.customer_id (number)
Customers.customer_first_name (text)
Customers.customer_middle_initial (text)
Customers.customer_last_name (text)
Customers.gender (text)
Customers.email_address (text)
Customers.login_name (text)
Customers.logi... | count | {"database_id": "customers_and_invoices", "id": "95bf5fb491b7b6d533b6765a85f454e1daa8d5e689433ea0b7968db683bf2240", "query_sha256": "40f34818e8bad348e339da05a791ed41d849222ffb32d503fa8a8e0885144d82", "split_group_id": "customers_and_invoices"} |
Question: Count the number of customers.
Database columns:
all rows (*) (text)
Customers.customer_id (number)
Customers.customer_first_name (text)
Customers.customer_middle_initial (text)
Customers.customer_last_name (text)
Customers.gender (text)
Customers.email_address (text)
Customers.login_name (text)
Customers.log... | count | {"database_id": "customers_and_invoices", "id": "cc63e2bce75e3706ad2e3a078a158555ec7b3be84cec8ee7c639c9408bac3547", "query_sha256": "40f34818e8bad348e339da05a791ed41d849222ffb32d503fa8a8e0885144d82", "split_group_id": "customers_and_invoices"} |
Question: How many transactions do we have?
Database columns:
all rows (*) (text)
Customers.customer_id (number)
Customers.customer_first_name (text)
Customers.customer_middle_initial (text)
Customers.customer_last_name (text)
Customers.gender (text)
Customers.email_address (text)
Customers.login_name (text)
Customers.... | count | {"database_id": "customers_and_invoices", "id": "8d8ed98d4cd0b6052c504b9b921521caffba839a3346a9b5563477bf83e32816", "query_sha256": "aea277914d1b65ae6384ad46cd1e01223499c4df0b761a4aec37e9ec0a984ce0", "split_group_id": "customers_and_invoices"} |
Question: Count the number of transactions.
Database columns:
all rows (*) (text)
Customers.customer_id (number)
Customers.customer_first_name (text)
Customers.customer_middle_initial (text)
Customers.customer_last_name (text)
Customers.gender (text)
Customers.email_address (text)
Customers.login_name (text)
Customers.... | count | {"database_id": "customers_and_invoices", "id": "364563ce45d15688177bcd3c6221ac6154836f0789f7b322a53088375230eddf", "query_sha256": "aea277914d1b65ae6384ad46cd1e01223499c4df0b761a4aec37e9ec0a984ce0", "split_group_id": "customers_and_invoices"} |
Question: How many transaction does account with name 337 have?
Database columns:
all rows (*) (text)
Customers.customer_id (number)
Customers.customer_first_name (text)
Customers.customer_middle_initial (text)
Customers.customer_last_name (text)
Customers.gender (text)
Customers.email_address (text)
Customers.login_na... | count | {"database_id": "customers_and_invoices", "id": "408b74efc589e85707b2804f82822e8d5f8b5fb30215ee1cede5052902e75263", "query_sha256": "6d25e37b775d7205941790c5e56bfcc1ec2ec7c8584a6af87a65521dfd89aac7", "split_group_id": "customers_and_invoices"} |
Question: Count the number of financial transactions that the account with the name 337 has.
Database columns:
all rows (*) (text)
Customers.customer_id (number)
Customers.customer_first_name (text)
Customers.customer_middle_initial (text)
Customers.customer_last_name (text)
Customers.gender (text)
Customers.email_addr... | count | {"database_id": "customers_and_invoices", "id": "00c2fb9b54d42fc12b31b46a31834650cc81d80d20572f2883af0794d89aba2c", "query_sha256": "6d25e37b775d7205941790c5e56bfcc1ec2ec7c8584a6af87a65521dfd89aac7", "split_group_id": "customers_and_invoices"} |
Question: Show ids for all transactions whose amounts are greater than the average.
Database columns:
all rows (*) (text)
Customers.customer_id (number)
Customers.customer_first_name (text)
Customers.customer_middle_initial (text)
Customers.customer_last_name (text)
Customers.gender (text)
Customers.email_address (text... | none | {"database_id": "customers_and_invoices", "id": "32e82ad8d64564516da1f7fbc447641a1ddc5d2eee8959e56542b2f4691a2990", "query_sha256": "b1567bc51b6730080f8ce11ffec58b34edcb7ee573e89649db1fe6eac1892b38", "split_group_id": "customers_and_invoices"} |
Question: What are the ids for transactions that have an amount greater than the average amount of a transaction?
Database columns:
all rows (*) (text)
Customers.customer_id (number)
Customers.customer_first_name (text)
Customers.customer_middle_initial (text)
Customers.customer_last_name (text)
Customers.gender (text)... | none | {"database_id": "customers_and_invoices", "id": "ae30684543d1facfb187f98f5be8f26a0823fe56112965e99157ce478159a458", "query_sha256": "b1567bc51b6730080f8ce11ffec58b34edcb7ee573e89649db1fe6eac1892b38", "split_group_id": "customers_and_invoices"} |
Question: Show the account id with most number of transactions.
Database columns:
all rows (*) (text)
Customers.customer_id (number)
Customers.customer_first_name (text)
Customers.customer_middle_initial (text)
Customers.customer_last_name (text)
Customers.gender (text)
Customers.email_address (text)
Customers.login_na... | none | {"database_id": "customers_and_invoices", "id": "5f37f8aa4b8deb291b2ac66ee9c179de3cf02b1e904d8f69d42598f636c9848c", "query_sha256": "6862ce68c964971db7c89c4a99e3af37f6534faeb721bed5de930cae90bccc9c", "split_group_id": "customers_and_invoices"} |
Question: What is the id of the account with the most transactions?
Database columns:
all rows (*) (text)
Customers.customer_id (number)
Customers.customer_first_name (text)
Customers.customer_middle_initial (text)
Customers.customer_last_name (text)
Customers.gender (text)
Customers.email_address (text)
Customers.logi... | none | {"database_id": "customers_and_invoices", "id": "796ea948ccad4943ede28b7c48c3e10b7501406147571da661e9ecb1cac9eade", "query_sha256": "6862ce68c964971db7c89c4a99e3af37f6534faeb721bed5de930cae90bccc9c", "split_group_id": "customers_and_invoices"} |
Question: Show all product sizes.
Database columns:
all rows (*) (text)
Customers.customer_id (number)
Customers.customer_first_name (text)
Customers.customer_middle_initial (text)
Customers.customer_last_name (text)
Customers.gender (text)
Customers.email_address (text)
Customers.login_name (text)
Customers.login_pass... | none | {"database_id": "customers_and_invoices", "id": "5b85e3fb258053dbe5c24672824452d938c6e21eff92425b1cdc54070cc4d355", "query_sha256": "996c1cc1de27a0817f7d6d25fbcdbe4ea74232497c74255b4851c50a82ec2adb", "split_group_id": "customers_and_invoices"} |
Question: What are the different product sizes?
Database columns:
all rows (*) (text)
Customers.customer_id (number)
Customers.customer_first_name (text)
Customers.customer_middle_initial (text)
Customers.customer_last_name (text)
Customers.gender (text)
Customers.email_address (text)
Customers.login_name (text)
Custom... | none | {"database_id": "customers_and_invoices", "id": "ef2cb31eb2a409748e084a3f128cdb0da495227302e15dbcf22671da3b6776aa", "query_sha256": "996c1cc1de27a0817f7d6d25fbcdbe4ea74232497c74255b4851c50a82ec2adb", "split_group_id": "customers_and_invoices"} |
Question: Show all product colors.
Database columns:
all rows (*) (text)
Customers.customer_id (number)
Customers.customer_first_name (text)
Customers.customer_middle_initial (text)
Customers.customer_last_name (text)
Customers.gender (text)
Customers.email_address (text)
Customers.login_name (text)
Customers.login_pas... | none | {"database_id": "customers_and_invoices", "id": "6d4fb308ed480c7131d665aa9099a80afbda93df26b979667c36eae1c4a0dc36", "query_sha256": "73b2079522d2f0326f0682314af146f9e92e8e3ad5efdd93ae2817dac5feb3c1", "split_group_id": "customers_and_invoices"} |
Question: What are the different product colors?
Database columns:
all rows (*) (text)
Customers.customer_id (number)
Customers.customer_first_name (text)
Customers.customer_middle_initial (text)
Customers.customer_last_name (text)
Customers.gender (text)
Customers.email_address (text)
Customers.login_name (text)
Custo... | none | {"database_id": "customers_and_invoices", "id": "7664263aee952d82732a8e6b1d711c78752532fd56b202ef29da04517bd7f9f9", "query_sha256": "73b2079522d2f0326f0682314af146f9e92e8e3ad5efdd93ae2817dac5feb3c1", "split_group_id": "customers_and_invoices"} |
Question: How many invoices do we have?
Database columns:
all rows (*) (text)
Customers.customer_id (number)
Customers.customer_first_name (text)
Customers.customer_middle_initial (text)
Customers.customer_last_name (text)
Customers.gender (text)
Customers.email_address (text)
Customers.login_name (text)
Customers.logi... | count | {"database_id": "customers_and_invoices", "id": "b0670a7a0ff7e95ec6cdebbd223ad483bb655efcd475470245a9191b4d2ad2d1", "query_sha256": "7dec81c0f94224187e7b502904400ca986d6e2af81ad1b346fff882c2a08564a", "split_group_id": "customers_and_invoices"} |
Question: Count the number of invoices.
Database columns:
all rows (*) (text)
Customers.customer_id (number)
Customers.customer_first_name (text)
Customers.customer_middle_initial (text)
Customers.customer_last_name (text)
Customers.gender (text)
Customers.email_address (text)
Customers.login_name (text)
Customers.logi... | count | {"database_id": "customers_and_invoices", "id": "0f6d2b8a78a87ec1af8c1eb617f1d357a7a90d7c8ecd0035fddd993d2405c0d1", "query_sha256": "7dec81c0f94224187e7b502904400ca986d6e2af81ad1b346fff882c2a08564a", "split_group_id": "customers_and_invoices"} |
Question: How many products were not included in any order?
Database columns:
all rows (*) (text)
Customers.customer_id (number)
Customers.customer_first_name (text)
Customers.customer_middle_initial (text)
Customers.customer_last_name (text)
Customers.gender (text)
Customers.email_address (text)
Customers.login_name (... | count | {"database_id": "customers_and_invoices", "id": "e66019d162b593a4559e19099e6ff575b8b22d18b1f2c232c727c9df2bff2729", "query_sha256": "6fde3c597e1a65d40589712f6dd9aa17329200746844b42e7b123e32bbdd700e", "split_group_id": "customers_and_invoices"} |
Question: Count the number of products that were never ordered.
Database columns:
all rows (*) (text)
Customers.customer_id (number)
Customers.customer_first_name (text)
Customers.customer_middle_initial (text)
Customers.customer_last_name (text)
Customers.gender (text)
Customers.email_address (text)
Customers.login_na... | count | {"database_id": "customers_and_invoices", "id": "5432a06c5442bacca787604d5bbfd5e2e66230091ee8bc602c254fb5d040b8ae", "query_sha256": "6fde3c597e1a65d40589712f6dd9aa17329200746844b42e7b123e32bbdd700e", "split_group_id": "customers_and_invoices"} |
Question: How many churches opened before 1850 are there?
Database columns:
all rows (*) (text)
people.People_ID (number)
people.Name (text)
people.Country (text)
people.Is_Male (text)
people.Age (number)
church.Church_ID (number)
church.Name (text)
church.Organized_by (text)
church.Open_Date (number)
church.Continuati... | count | {"database_id": "wedding", "id": "933a0a6ad9fc5d4171ce32d60c502e5f04d11e8198523bcb1f1a5e1ac2130424", "query_sha256": "97cfa1dbaf291a2bb7e5d5d4b91d2cdcb669c5fb0e0af0226a2de9a701be9ab9", "split_group_id": "wedding"} |
Question: List all church names in descending order of opening date.
Database columns:
all rows (*) (text)
people.People_ID (number)
people.Name (text)
people.Country (text)
people.Is_Male (text)
people.Age (number)
church.Church_ID (number)
church.Name (text)
church.Organized_by (text)
church.Open_Date (number)
church... | none | {"database_id": "wedding", "id": "f208dd186440b3359a2f0a86dc85f41d2647b5843e2f235a6e76236dc059dff2", "query_sha256": "e4a789bd3b18e6aabd7bdd5be69387b6da40ecfcf68674cbbe279bc294cecde3", "split_group_id": "wedding"} |
Question: Show the opening year in whcih at least two churches opened.
Database columns:
all rows (*) (text)
people.People_ID (number)
people.Name (text)
people.Country (text)
people.Is_Male (text)
people.Age (number)
church.Church_ID (number)
church.Name (text)
church.Organized_by (text)
church.Open_Date (number)
chur... | none | {"database_id": "wedding", "id": "44e321327101713c18d24416e6adbd25a1c9f7b80dbbd4065da802ee5320b701", "query_sha256": "6fccc473f8a33802ee58a49f12900888df5a023bfa953e9696b0123ec0881a70", "split_group_id": "wedding"} |
Question: How many female people are older than 30 in our record?
Database columns:
all rows (*) (text)
people.People_ID (number)
people.Name (text)
people.Country (text)
people.Is_Male (text)
people.Age (number)
church.Church_ID (number)
church.Name (text)
church.Organized_by (text)
church.Open_Date (number)
church.Co... | count | {"database_id": "wedding", "id": "44c24d85d591598d75d2711c67da67f80bd9feec61cf0928e2efc40ced98fca8", "query_sha256": "27eb1c738a37c844a5a638ba790a5db4738d62aca704094c863501d92d7b127d", "split_group_id": "wedding"} |
Question: Show all church names that have hosted least two weddings.
Database columns:
all rows (*) (text)
people.People_ID (number)
people.Name (text)
people.Country (text)
people.Is_Male (text)
people.Age (number)
church.Church_ID (number)
church.Name (text)
church.Organized_by (text)
church.Open_Date (number)
church... | none | {"database_id": "wedding", "id": "872ca79d5ff9f1972f8c56365f673fe3eabee69b15cad12f588c96ebcf744200", "query_sha256": "f927da960bb2e65d8c8b6e9dc5cae84f8205640b2a3cc2cb375c2c9af58943fa", "split_group_id": "wedding"} |
Question: Show the names for all females from Canada having a wedding in year 2016.
Database columns:
all rows (*) (text)
people.People_ID (number)
people.Name (text)
people.Country (text)
people.Is_Male (text)
people.Age (number)
church.Church_ID (number)
church.Name (text)
church.Organized_by (text)
church.Open_Date ... | none | {"database_id": "wedding", "id": "5a1f679905c79db7eab094c541bfc1ba6e8baf349f4704b7b60399b842536809", "query_sha256": "e1f188c68b61cb5a73d04531cfaa0474cb5c2c26df2a828bcf0ba56e48494f12", "split_group_id": "wedding"} |
Question: How many weddings are there in year 2016?
Database columns:
all rows (*) (text)
people.People_ID (number)
people.Name (text)
people.Country (text)
people.Is_Male (text)
people.Age (number)
church.Church_ID (number)
church.Name (text)
church.Organized_by (text)
church.Open_Date (number)
church.Continuation_of ... | count | {"database_id": "wedding", "id": "fedf9cd85eacf5e5615abaeab83c7511b21c659dc058dda220f935ace460313b", "query_sha256": "0019cc9ffec4a8d65f828cbd83020c25a2f147e278e2684163c1fc0c474f7e81", "split_group_id": "wedding"} |
Question: Show the church names for the weddings of all people older than 30.
Database columns:
all rows (*) (text)
people.People_ID (number)
people.Name (text)
people.Country (text)
people.Is_Male (text)
people.Age (number)
church.Church_ID (number)
church.Name (text)
church.Organized_by (text)
church.Open_Date (numbe... | none | {"database_id": "wedding", "id": "11a2af60b8ed68f83f9a266c0e2f42085258198e2167b3b047d52dabdd594fee", "query_sha256": "0b09ea53d25e621ac38eb22cd213b3017f96fcfc2bb0112f318d5406ed17cb99", "split_group_id": "wedding"} |
Question: How many churches have a wedding in year 2016?
Database columns:
all rows (*) (text)
people.People_ID (number)
people.Name (text)
people.Country (text)
people.Is_Male (text)
people.Age (number)
church.Church_ID (number)
church.Name (text)
church.Organized_by (text)
church.Open_Date (number)
church.Continuatio... | count | {"database_id": "wedding", "id": "1c46f7810ff5fc7bea1c759c04b87bad67cdcf1edd1198fbc3346c1ab444d4e3", "query_sha256": "b8b6cd40f8f376139c3611d71f7e9bc07d54c3abf869619d940c3be44c9ba1f4", "split_group_id": "wedding"} |
Question: How many artists do we have?
Database columns:
all rows (*) (text)
artist.Artist_ID (number)
artist.Name (text)
artist.Country (text)
artist.Year_Join (number)
artist.Age (number)
exhibition.Exhibition_ID (number)
exhibition.Year (number)
exhibition.Theme (text)
exhibition.Artist_ID (number)
exhibition.Ticket... | count | {"database_id": "theme_gallery", "id": "4aff9ff05f6aab7b714dcb68a2b1f859b2bd62e947b8df445af3e2a6a60d2bd6", "query_sha256": "014d96060b435f7c55ecc017e0fc55138cdffe98c1071a5f4fe6de63f97a7f18", "split_group_id": "theme_gallery"} |
Question: Count the number of artists.
Database columns:
all rows (*) (text)
artist.Artist_ID (number)
artist.Name (text)
artist.Country (text)
artist.Year_Join (number)
artist.Age (number)
exhibition.Exhibition_ID (number)
exhibition.Year (number)
exhibition.Theme (text)
exhibition.Artist_ID (number)
exhibition.Ticket... | count | {"database_id": "theme_gallery", "id": "163e887054c78e9cd319e9f3fe0be74c0bc96b07683e10c36e964e9c35a9a5bc", "query_sha256": "014d96060b435f7c55ecc017e0fc55138cdffe98c1071a5f4fe6de63f97a7f18", "split_group_id": "theme_gallery"} |
Question: What are all distinct country for artists?
Database columns:
all rows (*) (text)
artist.Artist_ID (number)
artist.Name (text)
artist.Country (text)
artist.Year_Join (number)
artist.Age (number)
exhibition.Exhibition_ID (number)
exhibition.Year (number)
exhibition.Theme (text)
exhibition.Artist_ID (number)
exh... | none | {"database_id": "theme_gallery", "id": "4e9320d753f67091295ab67695fc529305c9d276d68de25b760b6340f9c72210", "query_sha256": "ece878b44dd9fff42967aa82c287c3899fea67998b87c431b26533ae407c3c45", "split_group_id": "theme_gallery"} |
Question: Return the different countries for artists.
Database columns:
all rows (*) (text)
artist.Artist_ID (number)
artist.Name (text)
artist.Country (text)
artist.Year_Join (number)
artist.Age (number)
exhibition.Exhibition_ID (number)
exhibition.Year (number)
exhibition.Theme (text)
exhibition.Artist_ID (number)
ex... | none | {"database_id": "theme_gallery", "id": "9fbf9fba224996aaf7a53e35feb62d5679893776d14d8b310f1379c376860998", "query_sha256": "ece878b44dd9fff42967aa82c287c3899fea67998b87c431b26533ae407c3c45", "split_group_id": "theme_gallery"} |
Question: How many artists are above age 46 and joined after 1990?
Database columns:
all rows (*) (text)
artist.Artist_ID (number)
artist.Name (text)
artist.Country (text)
artist.Year_Join (number)
artist.Age (number)
exhibition.Exhibition_ID (number)
exhibition.Year (number)
exhibition.Theme (text)
exhibition.Artist_I... | count | {"database_id": "theme_gallery", "id": "8d362781c13f3521cc00a5dd8aebef6ee27c542647729cdcb5d65afe971003e1", "query_sha256": "57b375cdfefad5a06e8057298c1ac318b24e125a765c3eb3f681b5f4f88dc6b0", "split_group_id": "theme_gallery"} |
Question: Count the number of artists who are older than 46 and joined after 1990.
Database columns:
all rows (*) (text)
artist.Artist_ID (number)
artist.Name (text)
artist.Country (text)
artist.Year_Join (number)
artist.Age (number)
exhibition.Exhibition_ID (number)
exhibition.Year (number)
exhibition.Theme (text)
exh... | count | {"database_id": "theme_gallery", "id": "777a6bd3682e5e3350fe1a17f3a628ce7913e94ccc21c6428323bed8c7cebe73", "query_sha256": "57b375cdfefad5a06e8057298c1ac318b24e125a765c3eb3f681b5f4f88dc6b0", "split_group_id": "theme_gallery"} |
Question: What is the name of the artist who joined latest?
Database columns:
all rows (*) (text)
artist.Artist_ID (number)
artist.Name (text)
artist.Country (text)
artist.Year_Join (number)
artist.Age (number)
exhibition.Exhibition_ID (number)
exhibition.Year (number)
exhibition.Theme (text)
exhibition.Artist_ID (numb... | none | {"database_id": "theme_gallery", "id": "e408beba09aca48e2243839abc80c02b909feeef63b640f188edf0bf92ab6c26", "query_sha256": "32776096bff8778e4bc2538b46879843790fa8879895af4b720c0d3751a746ef", "split_group_id": "theme_gallery"} |
Question: Return the name of the artist who has the latest join year.
Database columns:
all rows (*) (text)
artist.Artist_ID (number)
artist.Name (text)
artist.Country (text)
artist.Year_Join (number)
artist.Age (number)
exhibition.Exhibition_ID (number)
exhibition.Year (number)
exhibition.Theme (text)
exhibition.Artis... | none | {"database_id": "theme_gallery", "id": "4f749dcb35473214e2b9f7dff1a1010617b2986411b6277ae6d69c0728e45b52", "query_sha256": "32776096bff8778e4bc2538b46879843790fa8879895af4b720c0d3751a746ef", "split_group_id": "theme_gallery"} |
Question: How many exhibition are there in year 2005 or after?
Database columns:
all rows (*) (text)
artist.Artist_ID (number)
artist.Name (text)
artist.Country (text)
artist.Year_Join (number)
artist.Age (number)
exhibition.Exhibition_ID (number)
exhibition.Year (number)
exhibition.Theme (text)
exhibition.Artist_ID (n... | count | {"database_id": "theme_gallery", "id": "c0346331704fc335567e37abccd390b2529d4572671fda3633825051bcdb0694", "query_sha256": "2a0f754f16f216627aa44578ef26a4f3287b43a4a510c874648b8e26e905676b", "split_group_id": "theme_gallery"} |
Question: Count the number of exhibitions that happened in or after 2005.
Database columns:
all rows (*) (text)
artist.Artist_ID (number)
artist.Name (text)
artist.Country (text)
artist.Year_Join (number)
artist.Age (number)
exhibition.Exhibition_ID (number)
exhibition.Year (number)
exhibition.Theme (text)
exhibition.A... | count | {"database_id": "theme_gallery", "id": "d9fe7e7b391397ff90fd26608d89c4005d13069f7241a07b69fe71a3d1654a83", "query_sha256": "2a0f754f16f216627aa44578ef26a4f3287b43a4a510c874648b8e26e905676b", "split_group_id": "theme_gallery"} |
Question: Show names for artists without any exhibition.
Database columns:
all rows (*) (text)
artist.Artist_ID (number)
artist.Name (text)
artist.Country (text)
artist.Year_Join (number)
artist.Age (number)
exhibition.Exhibition_ID (number)
exhibition.Year (number)
exhibition.Theme (text)
exhibition.Artist_ID (number)... | none | {"database_id": "theme_gallery", "id": "3d031cf3c0d1ed027e8df490eea0a1b41b6e0fdc93f8659df7fcba1adef0e633", "query_sha256": "caba06ca8d879ba90143cfd8bdaf795de1cd3b7ddce2845ef1a44f863149c5ad", "split_group_id": "theme_gallery"} |
Question: What are the names of artists that have not had any exhibitions?
Database columns:
all rows (*) (text)
artist.Artist_ID (number)
artist.Name (text)
artist.Country (text)
artist.Year_Join (number)
artist.Age (number)
exhibition.Exhibition_ID (number)
exhibition.Year (number)
exhibition.Theme (text)
exhibition.... | none | {"database_id": "theme_gallery", "id": "fbb1aa6807cf894d59f7e92083f0134093fc09c6e65681d03f7575c4d793df3d", "query_sha256": "caba06ca8d879ba90143cfd8bdaf795de1cd3b7ddce2845ef1a44f863149c5ad", "split_group_id": "theme_gallery"} |
Question: How many exhibitions have a attendance more than 100 or have a ticket price below 10?
Database columns:
all rows (*) (text)
artist.Artist_ID (number)
artist.Name (text)
artist.Country (text)
artist.Year_Join (number)
artist.Age (number)
exhibition.Exhibition_ID (number)
exhibition.Year (number)
exhibition.The... | count | {"database_id": "theme_gallery", "id": "1378a14bab5c9801a1a2ba1df49cd3961d305945a2feb05ffa78f369e1624b41", "query_sha256": "46f5a61861970a5f8966dbbc587f59d1a253f0c824546aa203355e4103b3c423", "split_group_id": "theme_gallery"} |
Question: Count the number of exhibitions that have had an attendnance of over 100 or a ticket prices under 10.
Database columns:
all rows (*) (text)
artist.Artist_ID (number)
artist.Name (text)
artist.Country (text)
artist.Year_Join (number)
artist.Age (number)
exhibition.Exhibition_ID (number)
exhibition.Year (number... | count | {"database_id": "theme_gallery", "id": "14d28aa068bbd9bb36c9fb7ccfa15fd5fc6d4989c82dab042e1d03f4aa7e37d8", "query_sha256": "46f5a61861970a5f8966dbbc587f59d1a253f0c824546aa203355e4103b3c423", "split_group_id": "theme_gallery"} |
Question: Show all artist names with an average exhibition attendance over 200.
Database columns:
all rows (*) (text)
artist.Artist_ID (number)
artist.Name (text)
artist.Country (text)
artist.Year_Join (number)
artist.Age (number)
exhibition.Exhibition_ID (number)
exhibition.Year (number)
exhibition.Theme (text)
exhibi... | none | {"database_id": "theme_gallery", "id": "c409eeb93b1a7b77b0d5d78328b7ea10846f9cbb0ec02d4de0d34b8b4cb7c021", "query_sha256": "4f250c5bfb8d46f0062f7f27cb5683736eb5d5e2bd9d5616f0376e69c8644e89", "split_group_id": "theme_gallery"} |
Question: What are the names of artist whose exhibitions draw over 200 attendees on average?
Database columns:
all rows (*) (text)
artist.Artist_ID (number)
artist.Name (text)
artist.Country (text)
artist.Year_Join (number)
artist.Age (number)
exhibition.Exhibition_ID (number)
exhibition.Year (number)
exhibition.Theme ... | none | {"database_id": "theme_gallery", "id": "2cbf4e717ff9d043034fa652ac9059515d14572b4c6a4010c4a77f275cfebb9d", "query_sha256": "4f250c5bfb8d46f0062f7f27cb5683736eb5d5e2bd9d5616f0376e69c8644e89", "split_group_id": "theme_gallery"} |
Question: Find the id of the item whose title is "orange".
Database columns:
all rows (*) (text)
item.i_id (number)
item.title (text)
review.a_id (number)
review.u_id (number)
review.i_id (number)
review.rating (number)
review.rank (number)
useracct.u_id (number)
useracct.name (text)
trust.source_u_id (number)
trust.ta... | none | {"database_id": "epinions_1", "id": "2afbf3c6d32196e47602569e3201de220a5f9134cd62001887fd882bfdcff877", "query_sha256": "9f8ad97e9f597627d1035e761c8653e3cbee622760bc4945892ae5cf7db4daaa", "split_group_id": "epinions_1"} |
Question: List all information in the item table.
Database columns:
all rows (*) (text)
item.i_id (number)
item.title (text)
review.a_id (number)
review.u_id (number)
review.i_id (number)
review.rating (number)
review.rank (number)
useracct.u_id (number)
useracct.name (text)
trust.source_u_id (number)
trust.target_u_id... | none | {"database_id": "epinions_1", "id": "ec856389dfe6fc427a0dffef10f35f3e42fcb0bd0abf31ab725af821ba49d2b5", "query_sha256": "eb752f6d39a754878ba319972c232875eab7a4e18bff89cb2b03d0a9e011acf4", "split_group_id": "epinions_1"} |
Question: Find the number of reviews.
Database columns:
all rows (*) (text)
item.i_id (number)
item.title (text)
review.a_id (number)
review.u_id (number)
review.i_id (number)
review.rating (number)
review.rank (number)
useracct.u_id (number)
useracct.name (text)
trust.source_u_id (number)
trust.target_u_id (number)
tr... | count | {"database_id": "epinions_1", "id": "a7e3d1d80662d548006ae941dbd1e70a013627304cf3a4b64585e57123f92cfd", "query_sha256": "aa6e1508ef6c3fd27fd1b8a25526e717efd310583a9300881c0ffa61815800ac", "split_group_id": "epinions_1"} |
Question: How many users are there?
Database columns:
all rows (*) (text)
item.i_id (number)
item.title (text)
review.a_id (number)
review.u_id (number)
review.i_id (number)
review.rating (number)
review.rank (number)
useracct.u_id (number)
useracct.name (text)
trust.source_u_id (number)
trust.target_u_id (number)
trus... | count | {"database_id": "epinions_1", "id": "b824c0a76b41ada59821844871a58a7aec6d351cdddc683e007d676c26a1d944", "query_sha256": "80daf8392990865eab2281125e11544dca81563f19f4a29efa25c4652ab33fdd", "split_group_id": "epinions_1"} |
Question: Find the highest rank of all reviews.
Database columns:
all rows (*) (text)
item.i_id (number)
item.title (text)
review.a_id (number)
review.u_id (number)
review.i_id (number)
review.rating (number)
review.rank (number)
useracct.u_id (number)
useracct.name (text)
trust.source_u_id (number)
trust.target_u_id (... | minimum | {"database_id": "epinions_1", "id": "3e2d974a60b587fd8a2b27faeee730756584a3883d0ad66b886527d9066f41e4", "query_sha256": "2a5ee91ab55c7a420cd30bf97c853cf562043d695cb6d7cd1e142c500733705f", "split_group_id": "epinions_1"} |
Question: How many different users wrote some reviews?
Database columns:
all rows (*) (text)
item.i_id (number)
item.title (text)
review.a_id (number)
review.u_id (number)
review.i_id (number)
review.rating (number)
review.rank (number)
useracct.u_id (number)
useracct.name (text)
trust.source_u_id (number)
trust.target... | count | {"database_id": "epinions_1", "id": "13c3c78617b61c6a52fb6261eeb3f0a90b3a30eb7b8c7bea7bbf0c1891e35354", "query_sha256": "be096d40afd58e5589ae71986b05b1195adc8517818d1adc341acf3b376f2d67", "split_group_id": "epinions_1"} |
Question: How many different items were reviewed by some users?
Database columns:
all rows (*) (text)
item.i_id (number)
item.title (text)
review.a_id (number)
review.u_id (number)
review.i_id (number)
review.rating (number)
review.rank (number)
useracct.u_id (number)
useracct.name (text)
trust.source_u_id (number)
tru... | count | {"database_id": "epinions_1", "id": "0dbe0c7c069dcf1f0faaae7c963b149103f41ff9b182958303e00559097cdc91", "query_sha256": "027ff2c99c1ae1d05bcb9c2cb72c5ee37eb21e3c9a6460f57aa3d23fbcfcaebe", "split_group_id": "epinions_1"} |
Question: Find the number of items that did not receive any review.
Database columns:
all rows (*) (text)
item.i_id (number)
item.title (text)
review.a_id (number)
review.u_id (number)
review.i_id (number)
review.rating (number)
review.rank (number)
useracct.u_id (number)
useracct.name (text)
trust.source_u_id (number)... | count | {"database_id": "epinions_1", "id": "b683380e5bb5e42ebff02774992cded860de6c122a30fd4568882f07d0dd1c90", "query_sha256": "66c3166ae9fcc7242717db3c607644d1f2107ceab2f014dec4f5d5c353fab3a0", "split_group_id": "epinions_1"} |
Question: Find the names of users who did not leave any review.
Database columns:
all rows (*) (text)
item.i_id (number)
item.title (text)
review.a_id (number)
review.u_id (number)
review.i_id (number)
review.rating (number)
review.rank (number)
useracct.u_id (number)
useracct.name (text)
trust.source_u_id (number)
tru... | none | {"database_id": "epinions_1", "id": "89fea4653ea1873fb6fb3fbd3a3b50de6ea5a01a26dd6ace9f0ed507c382b68e", "query_sha256": "311979988ce31564f30701bb4b83e0de442269a9c8bcd9bfd30ff6cb6251f9bc", "split_group_id": "epinions_1"} |
Question: Find the names of goods that receive a rating of 10.
Database columns:
all rows (*) (text)
item.i_id (number)
item.title (text)
review.a_id (number)
review.u_id (number)
review.i_id (number)
review.rating (number)
review.rank (number)
useracct.u_id (number)
useracct.name (text)
trust.source_u_id (number)
trus... | none | {"database_id": "epinions_1", "id": "c3891a35fd9b3fca01f900970cbf2afe4d0bdc3ec472348570836adcf953a2c0", "query_sha256": "1bdf09f1f626aaad9b3a74d1a19c23eeeb94434dc3164528e49f395f4b5728e8", "split_group_id": "epinions_1"} |
Question: Find the titles of items whose rating is higher than the average review rating of all items.
Database columns:
all rows (*) (text)
item.i_id (number)
item.title (text)
review.a_id (number)
review.u_id (number)
review.i_id (number)
review.rating (number)
review.rank (number)
useracct.u_id (number)
useracct.nam... | none | {"database_id": "epinions_1", "id": "9419122236d5487d12e9b5d3c0ed54d41a312f5d4e31282620783fa5dda5f68c", "query_sha256": "e6df45eadf577f659543abceff4b0e39ada65985fcd3efa1bf88c6ab0da09fe7", "split_group_id": "epinions_1"} |
Question: Find the titles of items that received any rating below 5.
Database columns:
all rows (*) (text)
item.i_id (number)
item.title (text)
review.a_id (number)
review.u_id (number)
review.i_id (number)
review.rating (number)
review.rank (number)
useracct.u_id (number)
useracct.name (text)
trust.source_u_id (number... | none | {"database_id": "epinions_1", "id": "02f9e1910ce9d2372deab2393f87fdf71c79abf460eafa41e488911aefbc0fd7", "query_sha256": "ba87803374233d8dcf09bc97e2e2e43b2ad7348fbc063be681fb83e0352cc991", "split_group_id": "epinions_1"} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.