question
stringlengths 19
187
| answer
stringlengths 1
333
⌀ | type
stringclasses 5
values | columns_used
stringlengths 2
161
⌀ | column_types
stringclasses 132
values | sample_answer
stringlengths 1
228
⌀ | dataset
stringclasses 80
values |
---|---|---|---|---|---|---|
Identify the top 6 programming languages used regularly.
|
['Python', 'SQL', 'R', 'Javascript', 'C++', 'Java']
|
list[category]
|
['What programming languages do you use on a regular basis?']
|
['list[category]']
|
['Python', 'SQL', 'R', 'Java', 'C++', 'Javascript']
|
030_Professionals
|
Report the top 4 age ranges of participants by frequency
|
['25-29', '30-34', '22-24', '35-39']
|
list[category]
|
['What is your age (years)?']
|
['category']
|
['25-29', '22-24', '30-34', '35-39']
|
030_Professionals
|
list the highest average 3 years of machine learning experience.
|
[19.83, 19.74, 19.68]
|
list[number]
|
['(Average) For how many years have you used machine learning methods?']
|
['number[double]']
|
[7.5,
4.5,
3.5]
|
030_Professionals
|
Identify the 5 highest yearly compensations.
|
[1000000, 1000000, 1000000, 1000000, 1000000]
|
list[number]
|
['(Average) What is your current yearly compensation (approximate $USD)?']
|
['number[double]']
|
[174999.5,
174999.5,
137499.5,
84999.5,
34999.5]
|
030_Professionals
|
Report the 5 most common sizes of the company where participants work.
|
['0-49 employees', '10,000 or more employees', '1000-9,999 employees', '50-249 employees', '250-999 employees']
|
list[category]
|
['What is the size of the company where you are employed?']
|
['category']
|
['0-49 employees', '10,000 or more employees', '50-249 employees', '1000-9,999 employees', '250-999 employees']
|
030_Professionals
|
Are there more reviews with rating 5 from 'GB' than 'US'?
|
True
|
boolean
|
['country_code', 'rating']
|
['category', 'number[uint8]']
|
True
|
031_Trustpilot
|
Is the average rating for 'Wise' in 'GB' above 4?
|
True
|
boolean
|
['rating', 'Company', 'country_code']
|
['number[uint8]', 'category', 'category']
|
True
|
031_Trustpilot
|
Do any reviews originate from 'AO'?
|
True
|
boolean
|
['country_code']
|
['category']
|
False
|
031_Trustpilot
|
Did any reviews receive a rating of 1?
|
True
|
boolean
|
['rating']
|
['number[uint8]']
|
True
|
031_Trustpilot
|
What's the total number of reviews for 'Wise'?
|
3840
|
number
|
['Company']
|
['category']
|
20
|
031_Trustpilot
|
How many unique countries gave 'Wise' a rating of 5?
|
120
|
number
|
['country_code', 'Company', 'rating']
|
['category', 'category', 'number[uint8]']
|
8
|
031_Trustpilot
|
What is the highest rating received?
|
5
|
number
|
['rating']
|
['number[uint8]']
|
5
|
031_Trustpilot
|
What's the average rating across all reviews?
|
4.097755610972569
|
number
|
['rating']
|
['number[uint8]']
|
4.15
|
031_Trustpilot
|
Which company received the most 5-star reviews?
|
Wise
|
category
|
['Company', 'rating']
|
['category', 'number[uint8]']
|
Wise
|
031_Trustpilot
|
From which country did 'Wise' receive the most reviews?
|
GB
|
category
|
['country_code', 'Company']
|
['category', 'category']
|
ES
|
031_Trustpilot
|
Which country had the lowest representation in the reviews?
|
CW
|
category
|
['country_code']
|
['category']
|
PL
|
031_Trustpilot
|
Which company received the lowest rating?
|
N26
|
category
|
['rating', 'Company']
|
['number[uint8]', 'category']
|
N26
|
031_Trustpilot
|
Which are the top 3 countries with the most 5-star reviews for 'Wise'?
|
['GB', 'US', 'ES']
|
list[category]
|
['country_code', 'Company', 'rating']
|
['category', 'category', 'number[uint8]']
|
['PL', 'DE', 'ES']
|
031_Trustpilot
|
Which are the 2 companies represented in the dataset?
|
['Wise', 'N26']
|
list[category]
|
['Company']
|
['category']
|
['Wise', 'N26']
|
031_Trustpilot
|
Which are the bottom 4 countries in terms of review count? If two or more have the same number order them alphabetically.
|
['CW', 'FO', 'KZ', 'NE']
|
list[category]
|
['country_code']
|
['category']
|
['IT', 'HU', 'IE', 'AU']
|
031_Trustpilot
|
What are the 3 most common countries? If two or more have the same number order them alphabetically.
|
['GB', 'DE', 'FR']
|
list[category]
|
['country_code']
|
['category']
|
['GB', 'ES', 'DE']
|
031_Trustpilot
|
What are the 3 most common ratings?
|
[5, 1, 4]
|
list[number]
|
['rating']
|
['number[uint8]']
|
[5, 4, 1]
|
031_Trustpilot
|
What are the 2 least common ratings?
|
[3, 2]
|
list[number]
|
['rating']
|
['number[uint8]']
|
[3, 2]
|
031_Trustpilot
|
What are the best 4 unique ratings given to 'Wise'?
|
[5, 4, 2, 1]
|
list[number]
|
['rating', 'Company']
|
['number[uint8]', 'category']
|
[5, 4, 2]
|
031_Trustpilot
|
What are the bottom 5 unique ratings given to 'N26'?
|
[1, 2, 3, 4, 5]
|
list[number]
|
['rating', 'Company']
|
['number[uint8]', 'category']
|
[1, 3, 4, 5]
|
031_Trustpilot
|
Is there any customer with a PhD education level?
|
True
|
boolean
|
['Education']
|
['category']
|
True
|
032_Delicatessen
|
Do we have any customers who are married?
|
True
|
boolean
|
['Marital_Status']
|
['category']
|
True
|
032_Delicatessen
|
Is there any customer with income higher than 100000?
|
True
|
boolean
|
['Income']
|
['number[UInt32]']
|
False
|
032_Delicatessen
|
Has any customer made more than 10 web purchases?
|
True
|
boolean
|
['NumWebPurchases']
|
['number[uint8]']
|
False
|
032_Delicatessen
|
How many customers do we have in the dataset?
|
2240
|
number
|
['ID']
|
['number[uint16]']
|
20
|
032_Delicatessen
|
What's the average income of our customers?
|
52247.25135379061
|
number
|
['Income']
|
['number[UInt32]']
|
51873.7
|
032_Delicatessen
|
What's the maximum number of web purchases made by a customer?
|
27
|
number
|
['NumWebPurchases']
|
['number[uint8]']
|
8
|
032_Delicatessen
|
What's the minimum recency of purchase among the customers?
|
0
|
number
|
['Recency']
|
['number[uint8]']
|
16
|
032_Delicatessen
|
What's the most common education level among our customers?
|
Graduation
|
category
|
['Education']
|
['category']
|
Graduation
|
032_Delicatessen
|
What's the most common marital status among our customers?
|
Married
|
category
|
['Marital_Status']
|
['category']
|
Married
|
032_Delicatessen
|
Who is the customer with the highest income?
|
9432
|
category
|
['ID', 'Income']
|
['number[uint16]', 'number[UInt32]']
|
10742
|
032_Delicatessen
|
Who is the customer with the most recent purchase?
|
4047
|
category
|
['ID', 'Recency']
|
['number[uint16]', 'number[uint8]']
|
10779
|
032_Delicatessen
|
Who are the 3 customers with the highest income?
|
[9432, 1503, 1501]
|
list[category]
|
['ID', 'Income']
|
['number[uint16]', 'number[UInt32]']
|
[10742, 6935, 5831]
|
032_Delicatessen
|
What are the 2 most common education levels among our customers?
|
['Graduation', 'PhD']
|
list[category]
|
['Education']
|
['category']
|
['Graduation', 'Master']
|
032_Delicatessen
|
What are the 3 most common marital statuses among our customers?
|
['Married', 'Together', 'Single']
|
list[category]
|
['Marital_Status']
|
['category']
|
['Married', 'Together', 'Single']
|
032_Delicatessen
|
Who are the 3 customers with the most web purchases?
|
[5255, 4619, 10311]
|
list[category]
|
['ID', 'NumWebPurchases']
|
['number[uint16]', 'number[uint8]']
|
[2607, 7247, 3759]
|
032_Delicatessen
|
What are the top 3 income values among our customers?
|
[666666.0, 162397.0, 160803.0]
|
list[number]
|
['Income']
|
['number[UInt32]']
|
[86580, 78497, 77870]
|
032_Delicatessen
|
What are the top 2 recency values among our customers?
|
[99, 99]
|
list[number]
|
['Recency']
|
['number[uint8]']
|
[95, 93]
|
032_Delicatessen
|
What are the bottom 3 income values among our customers?
|
[1730.0, 2447.0, 3502.0]
|
list[number]
|
['Income']
|
['number[UInt32]']
|
[14188, 21645, 22148]
|
032_Delicatessen
|
What are the bottom 2 recency values among our customers?
|
[0, 0]
|
list[number]
|
['Recency']
|
['number[uint8]']
|
[16, 21]
|
032_Delicatessen
|
Is there any customer with a high salary?
|
True
|
boolean
|
['salary']
|
['category']
|
True
|
033_Employee
|
Do we have any employees who suffered a work accident?
|
True
|
boolean
|
['Work Accident']
|
['category']
|
True
|
033_Employee
|
Is there any employee with more than 100 hours per month on average?
|
True
|
boolean
|
['Average Monthly Hours']
|
['number']
|
True
|
033_Employee
|
Does any employee have a satisfaction level above 0.9?
|
True
|
boolean
|
['Satisfaction Level']
|
['number']
|
True
|
033_Employee
|
How many employees do we have in the dataset?
|
14999
|
number
|
['Number of Projects']
|
['category']
|
20
|
033_Employee
|
What's the median satisfaction level of our employees?
|
0.64
|
number
|
['Satisfaction Level']
|
['number']
|
0.645
|
033_Employee
|
What's the highest number of projects for a given employee?
|
7
|
number
|
['Number of Projects']
|
['category']
|
5
|
033_Employee
|
What's the most common marital status among the employees?
|
Together
|
category
|
['Marital_Status']
|
['number']
|
16
|
033_Employee
|
What's the most common education level among our employees?
|
Graduation
|
category
|
['Education']
|
['category']
|
Graduation
|
033_Employee
|
What's the most common marital status in the database?
|
Married
|
category
|
['Marital_Status']
|
['category']
|
Married
|
033_Employee
|
Among the employees who have left the company in sales, what's the most common salary level?
|
low
|
category
|
['Left', 'Department', 'salary']
|
['category', 'category', 'category']
| null |
033_Employee
|
Among the employees who have had a work accident in sales, what's the most common salary level?
|
low
|
category
|
['Work Accident', 'Department', 'salary']
|
['category', 'category', 'category']
|
low
|
033_Employee
|
What are the top 3 satisfaction levels?
|
[1, 1, 1]
|
list[number]
|
['Satisfaction Level']
|
['number']
|
[0.98,0.93,0.93]
|
033_Employee
|
What are the top 2 most common Work Accident statuses among our employees?
|
['No', 'Yes']
|
list[category]
|
['Work Accident']
|
['category']
|
['No', 'Yes']
|
033_Employee
|
What are the top 3 most common marital statuses among our employees?
|
['Together', 'Single', 'Married']
|
list[category]
|
['Marital_Status']
|
['category']
|
['Married', 'Together', 'Single']
|
033_Employee
|
What are the highest 3 years spent in the company?
|
[10, 10, 10]
|
list[number]
|
['Years in the Company']
|
['number']
|
[6, 5, 5]
|
033_Employee
|
What are the 3 departments with more 'medium' salary levels?
|
['sales', 'technical', 'support']
|
list[category]
|
['Department', 'salary']
|
['category', 'category']
|
['technical', 'support', 'marketing']
|
033_Employee
|
For the 2 employees with the top satisfaction levels who belong to the sales department, what are their salary levels?
|
['low', 'low']
|
list[category]
|
['Satisfaction Level', 'Department', 'salary']
|
['number', 'category', 'category']
|
['low']
|
033_Employee
|
What are the top 3 average monthly hours worked among the employees in the top 3 departments with the most employees?
|
[200.91135265700484, 202.49742647058824, 200.75818752803949]
|
list[number]
|
['Department', 'Average Monthly Hours']
|
['category', 'number']
|
[265, 256, 249]
|
033_Employee
|
What are the lowest 2 satisfaction levels among the employees who have not had a work accident?
|
[0.09, 0.09]
|
list[number]
|
['Work Accident', 'Satisfaction Level']
|
['category', 'number']
|
[0.14, 0.22]
|
033_Employee
|
Is there any country with a Ladder score above 7.5, a Generosity score above 0.2, and a Social support score above 0.7?
|
True
|
boolean
|
['Ladder score', 'Generosity', 'Social support']
|
['number[double]', 'number[double]', 'number[double]']
|
False
|
034_World
|
Are there any countries in Western Europe with a Perceptions of corruption score above 0.5, a Ladder score above 7, and a Social support score above 0.7?
|
True
|
boolean
|
['Regional indicator', 'Perceptions of corruption', 'Ladder score', 'Social support']
|
['category', 'number[double]', 'number[double]', 'number[double]']
|
False
|
034_World
|
Are there any countries in Western Europe with a Perceptions of corruption score above 0.5?
|
True
|
boolean
|
['Social support', 'Generosity']
|
['number[double]', 'number[double]']
|
False
|
034_World
|
Is there any country with a Social support score below 0.5?
|
True
|
boolean
|
['Regional indicator', 'Ladder score']
|
['category', 'number[double]']
|
False
|
034_World
|
What's the average Ladder score among the countries in Western Europe with a Generosity score above 0.2 and a Social support score above 0.7?
|
7.222675085250001
|
number
|
['Regional indicator', 'Ladder score', 'Generosity', 'Social support']
|
['category', 'number[double]', 'number[double]', 'number[double]']
|
7.213750000000001
|
034_World
|
What's the average Perceptions of corruption score among the countries in Sub-Saharan Africa with a Ladder score below 5 and a Social support score below 0.5?
|
0.7493706045
|
number
|
['Regional indicator', 'Perceptions of corruption', 'Ladder score', 'Social support']
|
['category', 'number[double]', 'number[double]', 'number[double]']
|
0.871
|
034_World
|
What's the maximum Generosity score among the countries?
|
0.560663998
|
number
|
['Regional indicator', 'Generosity']
|
['category', 'number[double]']
|
0.302
|
034_World
|
What's the minimum Social support score among the countries?
|
0.319459856
|
number
|
['Regional indicator', 'Social support']
|
['category', 'number[double]']
|
0.288
|
034_World
|
Which region has the highest number of countries with a Ladder score above 7 and a Generosity score above 0.2?
|
Western Europe
|
category
|
['Ladder score', 'Generosity', 'Regional indicator']
|
['number[double]', 'number[double]', 'category']
|
North America and ANZ
|
034_World
|
Which region accounts for the most countries with a Generosity score above 0.2?
|
Western Europe
|
category
|
['Generosity', 'Regional indicator']
|
['number[double]', 'category']
|
Western Europe
|
034_World
|
In which region are the majority of countries with a Perceptions of corruption score below 0.5 located?
|
Western Europe
|
category
|
['Perceptions of corruption', 'Regional indicator']
|
['number[double]', 'category']
|
Sub-Saharan Africa
|
034_World
|
In which region can you find the majority of countries with a Social support score above 0.7?
|
Western Europe
|
category
|
['Social support', 'Regional indicator']
|
['number[double]', 'category']
|
Western Europe
|
034_World
|
Can you name the three regions that have the most countries with a Ladder score above 7 and a Generosity score above 0.2?
|
['Western Europe']
|
list[category]
|
['Ladder score', 'Generosity', 'Regional indicator']
|
['number[double]', 'number[double]', 'category']
|
['North America and ANZ', 'Western Europe', 'Latin America and Caribbean']
|
034_World
|
What are the top 3 regions with the most countries with a Generosity score above 0.2?
|
['Western Europe', 'Southeast Asia', 'Sub-Saharan Africa']
|
list[category]
|
['Generosity', 'Regional indicator']
|
['number[double]', 'category']
|
['Western Europe', 'Sub-Saharan Africa', 'Central and Eastern Europe']
|
034_World
|
Identify the three highest Ladder scores from countries in Western Europe that have a Generosity score above 0.2 and a Social support score above 0.7.
|
[7.504499912, 7.448900223, 7.164500237]
|
list[number]
|
['Ladder score', 'Generosity', 'Social support', 'Regional indicator']
|
['number[double]', 'number[double]', 'number[double]', 'category']
|
[7.5599, 7.5045, 7.487]
|
034_World
|
What are the top 3 Perceptions of corruption scores among the countries in Sub-Saharan Africa?
|
[0.891806662, 0.861874342, 0.861330688]
|
list[number]
|
['Perceptions of corruption', 'Regional indicator']
|
['number[double]', 'category']
|
[0.933, 0.916, 0.915]
|
034_World
|
What are the top 3 Generosity scores among the countries in Western Europe?
|
[0.263732493, 0.246944219, 0.214965805]
|
list[number]
|
['Generosity', 'Regional indicator']
|
['number[double]', 'category']
|
[0.302, 0.275, 0.263]
|
034_World
|
What are the top 3 Social support scores among the countries in Sub-Saharan Africa?
|
[0.910357833, 0.852532268, 0.846880972]
|
list[number]
|
['Social support', 'Regional indicator']
|
['number[double]', 'category']
|
[0.983, 0.942, 0.941]
|
034_World
|
Which are the three lowest Ladder scores in Western Europe?
|
[5.514999866, 5.53550005, 5.910900116]
|
list[number]
|
['Ladder score', 'Regional indicator']
|
['number[double]', 'category']
|
[4.784, 4.956, 5.094]
|
034_World
|
Which are the three lowest Perceptions of corruption scores in Sub-Saharan Africa?
|
[0.183541179, 0.606934547, 0.619799435]
|
list[number]
|
['Perceptions of corruption', 'Regional indicator']
|
['number[double]', 'category']
|
[0.167, 0.179, 0.183]
|
034_World
|
Is the song with the highest rank from 1965?
|
True
|
boolean
|
['Rank', 'Year']
|
['number[uint8]', 'number[uint16]']
|
False
|
035_Billboard
|
Does the song with the lowest rank contain the word 'love' in its lyrics?
|
True
|
boolean
|
['Rank', 'Lyrics']
|
['number[uint8]', 'text']
|
False
|
035_Billboard
|
Is the artist of the song with the highest rank the same as the artist of the song with the lowest rank?
|
False
|
boolean
|
['Rank', 'Artist']
|
['number[uint8]', 'category']
|
False
|
035_Billboard
|
Are there songs without lyrics?
|
True
|
boolean
|
['Lyrics']
|
['text']
|
False
|
035_Billboard
|
How many songs were produced in 1965?
|
100
|
number
|
['Year']
|
['number[uint16]']
|
2
|
035_Billboard
|
In which year was the song with the highest rank produced?
|
1965
|
number
|
['Rank', 'Year']
|
['number[uint8]', 'number[uint16]']
|
2008
|
035_Billboard
|
What's the rank of the song with the longest lyrics?
|
19
|
number
|
['Rank', 'Lyrics']
|
['number[uint8]', 'text']
|
64
|
035_Billboard
|
How many unique artists are there in the dataset?
|
2473
|
number
|
['Artist']
|
['category']
|
20
|
035_Billboard
|
Who is the artist of the song with the highest rank?
|
sam the sham and the pharaohs
|
category
|
['Rank', 'Artist']
|
['number[uint8]', 'category']
|
alicia keys
|
035_Billboard
|
What is the title of the song with the lowest rank?
|
how sweet it is to be loved by you
|
category
|
['Rank', 'Song']
|
['number[uint8]', 'category']
|
the end of the innocence
|
035_Billboard
|
Which song's lyrics contain the word 'love' the most times?
|
the way you love me
|
category
|
['Song', 'Lyrics']
|
['category', 'text']
|
game of love
|
035_Billboard
|
What is the title of the top song produced in the earliest year?
|
wooly bully
|
category
|
['Song', 'Year', 'Rank']
|
['category', 'number[uint16]', 'number[uint8]' ]
|
i like it like that
|
035_Billboard
|
Who are the artists of the top 5 ranked songs?
|
['sam the sham and the pharaohs', 'ssgt barry sadler', 'the beach boys', 'the beatles', 'the beatles']
|
list[category]
|
['Rank', 'Artist']
|
['number[uint8]', 'category']
|
['alicia keys', 'christina aguilera', 'mariah carey', 'wayne fontana the mindbenders', 'fall out boy']
|
035_Billboard
|
What are the titles of the 3 songs with the shortest lyrics?
|
['girl youll be a woman soon', 'papa dont preach', 'breathe']
|
list[category]
|
['Song', 'Lyrics']
|
['category', 'text']
|
['all the small things', 'days go by', 'hurting each other']
|
035_Billboard
|
What are the top 4 songs by rank produced in the most recent year?
|
['uptown funk', 'thinking out loud', 'see you again', 'trap queen']
|
list[category]
|
['Song', 'Year', 'Rank']
|
['category', 'number[uint16]', 'number[uint8]']
|
['i cry']
|
035_Billboard
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.