question string | answer string | context string | dialect string | spider_hardness string | extended_hardness string | classification_status string | syntax_status string | ddl_syntax_status string | schema_status string | syntax_errors list | ddl_syntax_errors list | schema_errors list | classification_errors list | status_history list | correction_status string | component1 int64 | component2 int64 | others int64 | validation_source dict |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Which location includes Coast Mountains with a rank less than 18 at Skihist Mountain? | SELECT location FROM table_name_41 WHERE mountain_range = 'coast mountains' AND rank < 18 AND mountain_peak = 'skihist mountain' | CREATE TABLE table_name_41 (location VARCHAR(255), mountain_peak VARCHAR(255), mountain_range VARCHAR(255), rank VARCHAR(255)) | generic | medium | medium | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extended",
"classified"
] | null | 1 | 0 | 1 | {
"split": "train",
"row_index": 78501
} |
Which mountain range includes Mount Hubbard? | SELECT mountain_range FROM table_name_64 WHERE mountain_peak = 'mount hubbard' | CREATE TABLE table_name_64 (mountain_range VARCHAR(255), mountain_peak VARCHAR(255)) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extended",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 78502
} |
Which province includes Axel Heiberg Island? | SELECT province FROM table_name_25 WHERE mountain_range = 'axel heiberg island' | CREATE TABLE table_name_25 (province VARCHAR(255), mountain_range VARCHAR(255)) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extended",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 78503
} |
What are the notes of events that finished in 12th position? | SELECT notes FROM table_name_94 WHERE position = '12th' | CREATE TABLE table_name_94 (notes VARCHAR(255), position VARCHAR(255)) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extended",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 78504
} |
Which venue was finished in 2nd position in 1985? | SELECT venue FROM table_name_40 WHERE position = '2nd' AND year = 1985 | CREATE TABLE table_name_40 (venue VARCHAR(255), position VARCHAR(255), year VARCHAR(255)) | generic | medium | medium | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extended",
"classified"
] | null | 1 | 0 | 1 | {
"split": "train",
"row_index": 78505
} |
What is the average year of events that took place in Antwerp, Belgium? | SELECT AVG(year) FROM table_name_97 WHERE venue = 'antwerp, belgium' | CREATE TABLE table_name_97 (year INTEGER, venue VARCHAR(255)) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extended",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 78506
} |
What's the year of the event that took place most recently in Antwerp, Belgium with team competition notes? | SELECT MAX(year) FROM table_name_42 WHERE notes = 'team competition' AND venue = 'antwerp, belgium' | CREATE TABLE table_name_42 (year INTEGER, notes VARCHAR(255), venue VARCHAR(255)) | generic | medium | medium | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extended",
"classified"
] | null | 1 | 0 | 1 | {
"split": "train",
"row_index": 78507
} |
What was the label's format LP and catalog of CH-9192? | SELECT label FROM table_name_76 WHERE format = 'lp' AND catalog = 'ch-9192' | CREATE TABLE table_name_76 (label VARCHAR(255), format VARCHAR(255), catalog VARCHAR(255)) | generic | medium | medium | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extended",
"classified"
] | null | 1 | 0 | 1 | {
"split": "train",
"row_index": 78508
} |
When was Catalog CHD-9192 published? | SELECT date FROM table_name_66 WHERE catalog = 'chd-9192' | CREATE TABLE table_name_66 (date VARCHAR(255), catalog VARCHAR(255)) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extended",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 78509
} |
I need the FCC info on the radio Frequency MHz 107.5? | SELECT fcc_info FROM table_name_64 WHERE frequency_mhz = 107.5 | CREATE TABLE table_name_64 (fcc_info VARCHAR(255), frequency_mhz VARCHAR(255)) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extended",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 78510
} |
Give me the MHz Frequency of Allapattah, Florida. | SELECT frequency_mhz FROM table_name_28 WHERE city_of_license = 'allapattah, florida' | CREATE TABLE table_name_28 (frequency_mhz VARCHAR(255), city_of_license VARCHAR(255)) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extended",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 78511
} |
What class does the w298ak sign belong to? | SELECT class FROM table_name_10 WHERE call_sign = 'w298ak' | CREATE TABLE table_name_10 (class VARCHAR(255), call_sign VARCHAR(255)) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extended",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 78512
} |
What class is ERP W of 800? | SELECT class FROM table_name_9 WHERE erp_w = 800 | CREATE TABLE table_name_9 (class VARCHAR(255), erp_w VARCHAR(255)) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extended",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 78513
} |
What is the total of Goals Conceded that has Points smaller than 21 and a Lost thats smaller than 8? | SELECT SUM(goals_conceded) FROM table_name_10 WHERE points < 21 AND lost < 8 | CREATE TABLE table_name_10 (goals_conceded INTEGER, points VARCHAR(255), lost VARCHAR(255)) | generic | medium | medium | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extended",
"classified"
] | null | 1 | 0 | 1 | {
"split": "train",
"row_index": 78514
} |
What's the total of Lost that's got Points larger than 28, Draw of 5, and Place that's smaller than 1? | SELECT SUM(lost) FROM table_name_69 WHERE points > 28 AND draw = 5 AND place < 1 | CREATE TABLE table_name_69 (lost INTEGER, place VARCHAR(255), points VARCHAR(255), draw VARCHAR(255)) | generic | medium | medium | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extended",
"classified"
] | null | 1 | 0 | 1 | {
"split": "train",
"row_index": 78515
} |
What's the total of Goals Scored with Points that's smaller than 27, and a Team of C.D. Atlético Balboa? | SELECT SUM(goals_scored) FROM table_name_40 WHERE points < 27 AND team = 'c.d. atlético balboa' | CREATE TABLE table_name_40 (goals_scored INTEGER, points VARCHAR(255), team VARCHAR(255)) | generic | medium | medium | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extended",
"classified"
] | null | 1 | 0 | 1 | {
"split": "train",
"row_index": 78516
} |
What is listed as the Highest Played, has Points of 17, and Draw that is smaller than 5? | SELECT MAX(played) FROM table_name_19 WHERE points = 17 AND draw < 5 | CREATE TABLE table_name_19 (played INTEGER, points VARCHAR(255), draw VARCHAR(255)) | generic | medium | medium | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extended",
"classified"
] | null | 1 | 0 | 1 | {
"split": "train",
"row_index": 78518
} |
When was the game that ended with a score of 6-4? | SELECT date FROM table_name_38 WHERE score = '6-4' | CREATE TABLE table_name_38 (date VARCHAR(255), score VARCHAR(255)) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extended",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 78519
} |
What was the score on April 8? | SELECT score FROM table_name_39 WHERE date = 'april 8' | CREATE TABLE table_name_39 (score VARCHAR(255), date VARCHAR(255)) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extended",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 78520
} |
What was the decision in Minnesota? | SELECT decision FROM table_name_12 WHERE home = 'minnesota' | CREATE TABLE table_name_12 (decision VARCHAR(255), home VARCHAR(255)) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extended",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 78521
} |
Which score has a record of 58–15–8? | SELECT score FROM table_name_80 WHERE record = '58–15–8' | CREATE TABLE table_name_80 (score VARCHAR(255), record VARCHAR(255)) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extended",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 78522
} |
Which section has a level of Tier 3, is in the 6th position, and is in the 1937-38 season? | SELECT section FROM table_name_74 WHERE level = 'tier 3' AND position = '6th' AND season = '1937-38' | CREATE TABLE table_name_74 (section VARCHAR(255), season VARCHAR(255), level VARCHAR(255), position VARCHAR(255)) | generic | medium | medium | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extended",
"classified"
] | null | 1 | 0 | 1 | {
"split": "train",
"row_index": 78523
} |
Which section is in the 6th position? | SELECT section FROM table_name_8 WHERE position = '6th' | CREATE TABLE table_name_8 (section VARCHAR(255), position VARCHAR(255)) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extended",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 78524
} |
Name the attendance with date of june 11 | SELECT attendance FROM table_name_92 WHERE date = 'june 11' | CREATE TABLE table_name_92 (attendance VARCHAR(255), date VARCHAR(255)) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extended",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 78525
} |
Which partnership has a run number of 27? | SELECT partnerships FROM table_name_70 WHERE runs = '27' | CREATE TABLE table_name_70 (partnerships VARCHAR(255), runs VARCHAR(255)) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extended",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 78526
} |
What venue did the parntership of shoaib malik / misbah-ul-haq occur? | SELECT venue FROM table_name_79 WHERE partnerships = 'shoaib malik / misbah-ul-haq' | CREATE TABLE table_name_79 (venue VARCHAR(255), partnerships VARCHAR(255)) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extended",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 78527
} |
What venue did the partnership of herschelle gibbs / justin kemp happen? | SELECT venue FROM table_name_74 WHERE partnerships = 'herschelle gibbs / justin kemp' | CREATE TABLE table_name_74 (venue VARCHAR(255), partnerships VARCHAR(255)) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extended",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 78528
} |
What is the number Played that has 310 Points for? | SELECT played FROM table_name_77 WHERE points_for = '310' | CREATE TABLE table_name_77 (played VARCHAR(255), points_for VARCHAR(255)) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extended",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 78529
} |
What Losing bonus has a Points against of 588? | SELECT losing_bonus FROM table_name_62 WHERE points_against = '588' | CREATE TABLE table_name_62 (losing_bonus VARCHAR(255), points_against VARCHAR(255)) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extended",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 78530
} |
What Tries against has a Losing bonus of 7? | SELECT tries_against FROM table_name_43 WHERE losing_bonus = '7' | CREATE TABLE table_name_43 (tries_against VARCHAR(255), losing_bonus VARCHAR(255)) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extended",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 78531
} |
What Try bonus has a Points against of 488? | SELECT try_bonus FROM table_name_61 WHERE points_against = '488' | CREATE TABLE table_name_61 (try_bonus VARCHAR(255), points_against VARCHAR(255)) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extended",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 78532
} |
What Points for has a Try bonus of 140? | SELECT points_for FROM table_name_26 WHERE try_bonus = '140' | CREATE TABLE table_name_26 (points_for VARCHAR(255), try_bonus VARCHAR(255)) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extended",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 78533
} |
What Drawn has a Tries against of 0? | SELECT drawn FROM table_name_90 WHERE tries_against = '0' | CREATE TABLE table_name_90 (drawn VARCHAR(255), tries_against VARCHAR(255)) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extended",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 78534
} |
What is the days held the champion with a reign larger than 3 and 1 defense has? | SELECT days_held FROM table_name_48 WHERE reign > 3 AND defenses = 1 | CREATE TABLE table_name_48 (days_held VARCHAR(255), reign VARCHAR(255), defenses VARCHAR(255)) | generic | medium | medium | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extended",
"classified"
] | null | 1 | 0 | 1 | {
"split": "train",
"row_index": 78535
} |
What is the days held the champion with a reign larger than 3 and less than 1 defense has? | SELECT days_held FROM table_name_1 WHERE reign > 3 AND defenses < 1 | CREATE TABLE table_name_1 (days_held VARCHAR(255), reign VARCHAR(255), defenses VARCHAR(255)) | generic | medium | medium | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extended",
"classified"
] | null | 1 | 0 | 1 | {
"split": "train",
"row_index": 78536
} |
What is the average defenses a champion with 404 days held and a reign larger than 1 has? | SELECT AVG(defenses) FROM table_name_57 WHERE days_held = '404' AND reign > 1 | CREATE TABLE table_name_57 (defenses INTEGER, days_held VARCHAR(255), reign VARCHAR(255)) | generic | medium | medium | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extended",
"classified"
] | null | 1 | 0 | 1 | {
"split": "train",
"row_index": 78537
} |
What is the lowest defense a champion with 345 days held has? | SELECT MIN(defenses) FROM table_name_46 WHERE days_held = '345' | CREATE TABLE table_name_46 (defenses INTEGER, days_held VARCHAR(255)) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extended",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 78538
} |
On what date was there a record of 76-72? | SELECT date FROM table_name_6 WHERE record = '76-72' | CREATE TABLE table_name_6 (date VARCHAR(255), record VARCHAR(255)) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extended",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 78539
} |
What was the attendance that had a loss of Ponson (1-5)? | SELECT attendance FROM table_name_58 WHERE loss = 'ponson (1-5)' | CREATE TABLE table_name_58 (attendance VARCHAR(255), loss VARCHAR(255)) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extended",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 78540
} |
On which day was there a record of 36-39? | SELECT date FROM table_name_70 WHERE record = '36-39' | CREATE TABLE table_name_70 (date VARCHAR(255), record VARCHAR(255)) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extended",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 78541
} |
On what day was the record 30-31? | SELECT date FROM table_name_88 WHERE record = '30-31' | CREATE TABLE table_name_88 (date VARCHAR(255), record VARCHAR(255)) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extended",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 78542
} |
Who was the opponent at the game that had a loss of Leonard (7–8)? | SELECT opponent FROM table_name_82 WHERE loss = 'leonard (7–8)' | CREATE TABLE table_name_82 (opponent VARCHAR(255), loss VARCHAR(255)) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extended",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 78543
} |
What was the score of the game when the record was 18–43? | SELECT score FROM table_name_3 WHERE record = '18–43' | CREATE TABLE table_name_3 (score VARCHAR(255), record VARCHAR(255)) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extended",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 78544
} |
What was the score of the game against the Royals when the record was 24–52? | SELECT score FROM table_name_75 WHERE opponent = 'royals' AND record = '24–52' | CREATE TABLE table_name_75 (score VARCHAR(255), opponent VARCHAR(255), record VARCHAR(255)) | generic | medium | medium | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extended",
"classified"
] | null | 1 | 0 | 1 | {
"split": "train",
"row_index": 78545
} |
What was the score of the game when the record was 22–46? | SELECT score FROM table_name_36 WHERE record = '22–46' | CREATE TABLE table_name_36 (score VARCHAR(255), record VARCHAR(255)) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extended",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 78546
} |
What is the real name of the person whose primary military specialty is shock paratrooper? | SELECT real_name FROM table_name_51 WHERE primary_military_speciality = 'shock paratrooper' | CREATE TABLE table_name_51 (real_name VARCHAR(255), primary_military_speciality VARCHAR(255)) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extended",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 78547
} |
What is the birthplace of Pete Sanderson? | SELECT birthplace FROM table_name_71 WHERE real_name = 'pete sanderson' | CREATE TABLE table_name_71 (birthplace VARCHAR(255), real_name VARCHAR(255)) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extended",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 78548
} |
What role did Jean-Luc Bouvier serve? | SELECT function__figure_ FROM table_name_30 WHERE real_name = 'jean-luc bouvier' | CREATE TABLE table_name_30 (function__figure_ VARCHAR(255), real_name VARCHAR(255)) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extended",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 78549
} |
What is the real name of the person who is a pilot of the silent attack kayak? | SELECT real_name FROM table_name_28 WHERE function__figure_ = 'pilot of the silent attack kayak' | CREATE TABLE table_name_28 (real_name VARCHAR(255), function__figure_ VARCHAR(255)) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extended",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 78550
} |
What is the code name of the person born in Liverpool? | SELECT code_name FROM table_name_94 WHERE birthplace = 'liverpool' | CREATE TABLE table_name_94 (code_name VARCHAR(255), birthplace VARCHAR(255)) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extended",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 78551
} |
What is the names for the medalist in the sport of canoeing? | SELECT name FROM table_name_25 WHERE sport = 'canoeing' | CREATE TABLE table_name_25 (name VARCHAR(255), sport VARCHAR(255)) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extended",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 78552
} |
What games had the women's half middleweight event? | SELECT games FROM table_name_90 WHERE event = 'women''s half middleweight' | CREATE TABLE table_name_90 (games VARCHAR(255), event VARCHAR(255)) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extended",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 78553
} |
Who received the bronze medal in the 2000 Sydney games? | SELECT name FROM table_name_95 WHERE medal = 'bronze' AND games = '2000 sydney' | CREATE TABLE table_name_95 (name VARCHAR(255), medal VARCHAR(255), games VARCHAR(255)) | generic | medium | medium | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extended",
"classified"
] | null | 1 | 0 | 1 | {
"split": "train",
"row_index": 78554
} |
How many people attended when opponent was twins? | SELECT COUNT(attendance) FROM table_name_80 WHERE opponent = 'twins' | CREATE TABLE table_name_80 (attendance VARCHAR(255), opponent VARCHAR(255)) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extended",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 78555
} |
Which date has a Record of 41-46? | SELECT date FROM table_name_55 WHERE record = '41-46' | CREATE TABLE table_name_55 (date VARCHAR(255), record VARCHAR(255)) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extended",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 78556
} |
Which score has a Record of 48-55? | SELECT score FROM table_name_66 WHERE record = '48-55' | CREATE TABLE table_name_66 (score VARCHAR(255), record VARCHAR(255)) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extended",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 78557
} |
Which score has a Record of 44-49? | SELECT score FROM table_name_96 WHERE record = '44-49' | CREATE TABLE table_name_96 (score VARCHAR(255), record VARCHAR(255)) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extended",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 78558
} |
Which score has an Opponent of white sox, and a Record of 2-0? | SELECT score FROM table_name_92 WHERE opponent = 'white sox' AND record = '2-0' | CREATE TABLE table_name_92 (score VARCHAR(255), opponent VARCHAR(255), record VARCHAR(255)) | generic | medium | medium | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extended",
"classified"
] | null | 1 | 0 | 1 | {
"split": "train",
"row_index": 78559
} |
How many votes did candice sjostrom receive? | SELECT AVG(popular_votes) FROM table_name_94 WHERE candidate = 'candice sjostrom' | CREATE TABLE table_name_94 (popular_votes INTEGER, candidate VARCHAR(255)) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extended",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 78560
} |
What percentage did chris wright receive? | SELECT percentage FROM table_name_23 WHERE candidate = 'chris wright' | CREATE TABLE table_name_23 (percentage VARCHAR(255), candidate VARCHAR(255)) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extended",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 78561
} |
How many votes for the candidate after 1992, 1.59% of the vote, and the office of us representative 4? | SELECT AVG(popular_votes) FROM table_name_2 WHERE office = 'us representative 4' AND percentage = '1.59%' AND year > 1992 | CREATE TABLE table_name_2 (popular_votes INTEGER, year VARCHAR(255), office VARCHAR(255), percentage VARCHAR(255)) | generic | medium | medium | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extended",
"classified"
] | null | 1 | 0 | 1 | {
"split": "train",
"row_index": 78562
} |
What years did J. Smith Young serve as a Representative? | SELECT years FROM table_name_36 WHERE representative = 'j. smith young' | CREATE TABLE table_name_36 (years VARCHAR(255), representative VARCHAR(255)) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extended",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 78563
} |
Which party did Thomas L. Young belong to? | SELECT party FROM table_name_58 WHERE representative = 'thomas l. young' | CREATE TABLE table_name_58 (party VARCHAR(255), representative VARCHAR(255)) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extended",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 78564
} |
What is the lowest total amount of medals from countries with 0 gold medals, more than 2 bronze medals, and more than 1 silver medal? | SELECT MIN(total) FROM table_name_57 WHERE gold = 0 AND bronze > 2 AND silver > 1 | CREATE TABLE table_name_57 (total INTEGER, silver VARCHAR(255), gold VARCHAR(255), bronze VARCHAR(255)) | generic | medium | medium | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extended",
"classified"
] | null | 1 | 0 | 1 | {
"split": "train",
"row_index": 78565
} |
What is the total number of silver medals for countries of rank 14, with less than 1 total medals? | SELECT SUM(silver) FROM table_name_66 WHERE rank = '14' AND total < 1 | CREATE TABLE table_name_66 (silver INTEGER, rank VARCHAR(255), total VARCHAR(255)) | generic | medium | medium | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extended",
"classified"
] | null | 1 | 0 | 1 | {
"split": "train",
"row_index": 78566
} |
How many tackles for the player with over 0 fumble recovries and 0 forced fumbles? | SELECT COUNT(total) FROM table_name_96 WHERE fumble_rec > 0 AND fumble_force = 0 | CREATE TABLE table_name_96 (total VARCHAR(255), fumble_rec VARCHAR(255), fumble_force VARCHAR(255)) | generic | medium | medium | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extended",
"classified"
] | null | 1 | 0 | 1 | {
"split": "train",
"row_index": 78567
} |
How many forced fumbles for jim laney with under 2 solo tackles? | SELECT COUNT(fumble_force) FROM table_name_20 WHERE solo < 2 AND player = 'jim laney' | CREATE TABLE table_name_20 (fumble_force VARCHAR(255), solo VARCHAR(255), player VARCHAR(255)) | generic | medium | medium | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extended",
"classified"
] | null | 1 | 0 | 1 | {
"split": "train",
"row_index": 78568
} |
How many fumble recoveries for scott gajos with 0 forced fubmles, 0 sacks, and under 2 solo tackles? | SELECT SUM(fumble_rec) FROM table_name_65 WHERE sacks = '0' AND fumble_force = '0' AND player = 'scott gajos' AND solo < 2 | CREATE TABLE table_name_65 (fumble_rec INTEGER, solo VARCHAR(255), player VARCHAR(255), sacks VARCHAR(255), fumble_force VARCHAR(255)) | generic | medium | medium | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extended",
"classified"
] | null | 1 | 0 | 1 | {
"split": "train",
"row_index": 78570
} |
Who is the Opponent playing at 20:00 GMT at Camp Nou? | SELECT opponent FROM table_name_64 WHERE time = '20:00 gmt' AND ground = 'camp nou' | CREATE TABLE table_name_64 (opponent VARCHAR(255), time VARCHAR(255), ground VARCHAR(255)) | generic | medium | medium | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extended",
"classified"
] | null | 1 | 0 | 1 | {
"split": "train",
"row_index": 78571
} |
What time was the match played with a score of 3-2? | SELECT time FROM table_name_35 WHERE score = '3-2' | CREATE TABLE table_name_35 (time VARCHAR(255), score VARCHAR(255)) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extended",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 78572
} |
On which ground did the team play Aston Villa? | SELECT ground FROM table_name_83 WHERE opponent = 'aston villa' | CREATE TABLE table_name_83 (ground VARCHAR(255), opponent VARCHAR(255)) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extended",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 78573
} |
What kind of competition was it at San Siro at 18:30 GMT? | SELECT competition FROM table_name_60 WHERE ground = 'san siro' AND time = '18:30 gmt' | CREATE TABLE table_name_60 (competition VARCHAR(255), ground VARCHAR(255), time VARCHAR(255)) | generic | medium | medium | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extended",
"classified"
] | null | 1 | 0 | 1 | {
"split": "train",
"row_index": 78574
} |
What is the total number of decile for the redwood school locality? | SELECT COUNT(decile) FROM table_name_34 WHERE name = 'redwood school' | CREATE TABLE table_name_34 (decile VARCHAR(255), name VARCHAR(255)) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extended",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 78575
} |
Which report includes a Circuit of Tripoli? | SELECT report FROM table_name_71 WHERE circuit = 'tripoli' | CREATE TABLE table_name_71 (report VARCHAR(255), circuit VARCHAR(255)) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extended",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 78576
} |
What are the names and ids of stations that had more than 14 bikes available on average or were installed in December? | SELECT T1.name, T1.id FROM station AS T1 JOIN status AS T2 ON T1.id = T2.station_id GROUP BY T2.station_id HAVING AVG(T2.bikes_available) > 14 UNION SELECT name, id FROM station WHERE installation_date LIKE '12/%' | CREATE TABLE station (name VARCHAR(255), id VARCHAR(255), installation_date VARCHAR(255)); CREATE TABLE status (station_id VARCHAR(255), bikes_available INTEGER) | mysql | extra | extra | classified | valid | valid | valid | [] | [] | [] | [] | [
"validation_failed",
"correction_corrected",
"extended",
"classified"
] | corrected | 2 | 1 | 1 | {
"split": "train",
"row_index": 80
} |
How many trips started from Mountain View city and ended at Palo Alto city? | SELECT COUNT(*) FROM station AS T1 JOIN trip AS T2 JOIN station AS T3 JOIN trip AS T4 ON T1.id = T2.start_station_id AND T2.id = T4.id AND T3.id = T4.end_station_id WHERE T1.city = 'Mountain View' AND T3.city = 'Palo Alto' | CREATE TABLE station (city VARCHAR(255), id VARCHAR(255)); CREATE TABLE trip (id VARCHAR(255), start_station_id VARCHAR(255), end_station_id VARCHAR(255)) | mysql | extra | extra | classified | valid | valid | valid | [] | [] | [] | [] | [
"validation_failed",
"correction_corrected",
"extended",
"classified"
] | corrected | 4 | 0 | 1 | {
"split": "train",
"row_index": 113
} |
What are the entry names of catalog with the attribute possessed by most entries. | SELECT t1.catalog_entry_name FROM Catalog_Contents AS t1 JOIN Catalog_Contents_Additional_Attributes AS t2 ON t1.catalog_entry_id = t2.catalog_entry_id WHERE t2.attribute_value = (SELECT attribute_value FROM Catalog_Contents_Additional_Attributes GROUP BY attribute_value ORDER BY COUNT(*) DESC LIMIT 1) | CREATE TABLE Catalog_Contents_Additional_Attributes (catalog_entry_id VARCHAR(255), attribute_value VARCHAR(255)); CREATE TABLE Catalog_Contents (catalog_entry_name VARCHAR(255), catalog_entry_id VARCHAR(255)) | mysql | extra | extra | classified | valid | valid | valid | [] | [] | [] | [] | [
"validation_failed",
"correction_corrected",
"extended",
"classified"
] | corrected | 2 | 1 | 0 | {
"split": "train",
"row_index": 189
} |
Which employee manage most number of peoples? List employee's first and last name, and number of people report to that employee. | SELECT T2.first_name, T2.last_name, COUNT(T1.reports_to) FROM employees AS T1 JOIN employees AS T2 ON T1.reports_to = T2.id GROUP BY T1.reports_to ORDER BY COUNT(T1.reports_to) DESC LIMIT 1 | CREATE TABLE employees (
first_name VARCHAR(255),
last_name VARCHAR(255),
id VARCHAR(255),
reports_to VARCHAR(255)
) | mysql | extra | extra | classified | valid | valid | valid | [] | [] | [] | [] | [
"validation_failed",
"correction_corrected",
"extended",
"classified"
] | corrected | 4 | 0 | 2 | {
"split": "train",
"row_index": 334
} |
Show the id, name of each editor and the number of journal committees they are on. | SELECT T1.editor_id, T1.Name, COUNT(*) FROM editor AS T1 JOIN journal_committee AS T2 ON T1.editor_id = T2.Editor_ID GROUP BY T1.editor_id | CREATE TABLE editor (editor_id VARCHAR(255), Name VARCHAR(255)); CREATE TABLE journal_committee (Editor_ID VARCHAR(255), journal_id VARCHAR(255)) | mysql | medium | medium | classified | valid | valid | valid | [] | [] | [] | [] | [
"validation_failed",
"correction_corrected",
"extended",
"classified"
] | corrected | 2 | 0 | 1 | {
"split": "train",
"row_index": 368
} |
List the date, theme and sales of the journal which did not have any of the listed editors serving on committee. | SELECT date, theme, sales FROM journal EXCEPT SELECT T1.date, T1.theme, T1.sales FROM journal AS T1 JOIN journal_committee AS T2 ON T1.journal_ID = T2.journal_ID | CREATE TABLE journal_committee (journal_ID VARCHAR(255), editor_id VARCHAR(255)); CREATE TABLE journal (date VARCHAR(255), theme VARCHAR(255), sales VARCHAR(255), journal_ID VARCHAR(255)) | mysql | extra | extra | classified | valid | valid | valid | [] | [] | [] | [] | [
"validation_failed",
"correction_corrected",
"extended",
"classified"
] | corrected | 0 | 1 | 1 | {
"split": "train",
"row_index": 371
} |
Show the first names and last names of customers without any account. | SELECT customer_first_name, customer_last_name FROM Customers EXCEPT SELECT T1.customer_first_name, T1.customer_last_name FROM Customers AS T1 JOIN Accounts AS T2 ON T1.customer_id = T2.customer_id | CREATE TABLE Accounts (customer_id VARCHAR(255), id INTEGER PRIMARY KEY AUTO_INCREMENT); CREATE TABLE Customers (customer_first_name VARCHAR(255), customer_last_name VARCHAR(255), customer_id VARCHAR(255)) | mysql | extra | extra | classified | valid | valid | valid | [] | [] | [] | [] | [
"validation_failed",
"correction_corrected",
"extended",
"classified"
] | corrected | 0 | 1 | 1 | {
"split": "train",
"row_index": 382
} |
Show the album names, ids and the number of tracks for each album. | SELECT T1.Title, T2.AlbumId, COUNT(*) FROM ALBUM AS T1 JOIN TRACK AS T2 ON T1.AlbumId = T2.AlbumId GROUP BY T2.AlbumId | CREATE TABLE ALBUM (Title VARCHAR(255), AlbumId VARCHAR(255)); CREATE TABLE TRACK (AlbumId VARCHAR(255), track_id VARCHAR(255)) | mysql | medium | medium | classified | valid | valid | valid | [] | [] | [] | [] | [
"validation_failed",
"correction_corrected",
"extended",
"classified"
] | corrected | 2 | 0 | 1 | {
"split": "train",
"row_index": 465
} |
Find the names of artists that do not have any albums. | SELECT Name FROM ARTIST EXCEPT SELECT T2.Name FROM ALBUM AS T1 JOIN ARTIST AS T2 ON T1.ArtistId = T2.ArtistId | CREATE TABLE ARTIST (Name VARCHAR(255), ArtistId VARCHAR(255)); CREATE TABLE ALBUM (ArtistId VARCHAR(255), AlbumId VARCHAR(255)) | mysql | hard | hard | classified | valid | valid | valid | [] | [] | [] | [] | [
"validation_failed",
"correction_corrected",
"extended",
"classified"
] | corrected | 0 | 1 | 0 | {
"split": "train",
"row_index": 487
} |
Find the names of users who do not have a first notification of loss record. | SELECT customer_name FROM customers EXCEPT SELECT t1.customer_name FROM customers AS t1 JOIN first_notification_of_loss AS t2 ON t1.customer_id = t2.customer_id | CREATE TABLE first_notification_of_loss (customer_id VARCHAR(255), id INTEGER PRIMARY KEY AUTO_INCREMENT); CREATE TABLE customers (customer_name VARCHAR(255), customer_id VARCHAR(255)); | mysql | hard | hard | classified | valid | valid | valid | [] | [] | [] | [] | [
"validation_failed",
"correction_corrected",
"extended",
"classified"
] | corrected | 0 | 1 | 0 | {
"split": "train",
"row_index": 508
} |
List the hardware model name for the phones that were produced by "Nokia Corporation" or whose screen mode type is "Graphics." | SELECT DISTINCT T2.Hardware_Model_name FROM screen_mode AS T1 JOIN phone AS T2 ON T1.Graphics_mode = T2.screen_mode WHERE T1.Type = 'Graphics' OR T2.Company_name = 'Nokia Corporation' | CREATE TABLE phone (Hardware_Model_name VARCHAR(255), screen_mode VARCHAR(255), Company_name VARCHAR(255)); CREATE TABLE screen_mode (Graphics_mode VARCHAR(255), Type VARCHAR(255)); | mysql | hard | hard | classified | valid | valid | valid | [] | [] | [] | [] | [
"validation_failed",
"correction_corrected",
"extended",
"classified"
] | corrected | 3 | 0 | 1 | {
"split": "train",
"row_index": 576
} |
List the hardware model name for the phons that were produced by "Nokia Corporation" but whose screen mode type is not Text. | SELECT DISTINCT T2.Hardware_Model_name FROM screen_mode AS T1 JOIN phone AS T2 ON T1.Graphics_mode = T2.screen_mode WHERE T2.Company_name = 'Nokia Corporation' AND T1.Type <> 'Text' | CREATE TABLE phone (Hardware_Model_name VARCHAR(255), screen_mode VARCHAR(255), Company_name VARCHAR(255)); CREATE TABLE screen_mode (Graphics_mode VARCHAR(255), Type VARCHAR(255)); | mysql | medium | medium | classified | valid | valid | valid | [] | [] | [] | [] | [
"validation_failed",
"correction_failed",
"correction_corrected",
"extended",
"classified"
] | corrected | 2 | 0 | 1 | {
"split": "train",
"row_index": 577
} |
List the names and origins of people who are not body builders. | SELECT Name, birth_place FROM people EXCEPT SELECT T1.Name, T1.birth_place FROM people AS T1 JOIN body_builder AS T2 ON T1.people_id = T2.people_id | CREATE TABLE people (Name VARCHAR(255), birth_place VARCHAR(255), people_id VARCHAR(255)); CREATE TABLE body_builder (people_id VARCHAR(255), detail VARCHAR(255)); | mysql | extra | extra | classified | valid | valid | valid | [] | [] | [] | [] | [
"validation_failed",
"correction_corrected",
"extended",
"classified"
] | corrected | 0 | 1 | 1 | {
"split": "train",
"row_index": 654
} |
How many persons are not body builders? | SELECT COUNT(*) FROM people WHERE NOT `people_id` IN (SELECT `people_id` FROM body_builder) | CREATE TABLE body_builder (`people_id` VARCHAR(255), `detail` VARCHAR(255)); CREATE TABLE people (`people_id` VARCHAR(255), `detail` VARCHAR(255)); | mysql | extra | extra | classified | valid | valid | valid | [] | [] | [] | [] | [
"validation_failed",
"correction_corrected",
"extended",
"classified"
] | corrected | 1 | 1 | 1 | {
"split": "train",
"row_index": 656
} |
What are the names of representatives with more than 10000 votes in election? | SELECT T2.Name FROM election AS T1 JOIN representative AS T2 ON T1.Representative_ID = T2.Representative_ID WHERE Votes > 10000 | CREATE TABLE representative (Name VARCHAR(255), Representative_ID VARCHAR(255)); CREATE TABLE election (Representative_ID VARCHAR(255), Votes INTEGER); | mysql | medium | medium | classified | valid | valid | valid | [] | [] | [] | [] | [
"validation_failed",
"correction_corrected",
"extended",
"classified"
] | corrected | 2 | 0 | 0 | {
"split": "train",
"row_index": 668
} |
What are the names of representatives in descending order of votes? | SELECT T2.Name FROM election AS T1 JOIN representative AS T2 ON T1.Representative_ID = T2.Representative_ID ORDER BY votes DESC | CREATE TABLE representative (Name VARCHAR(255), Representative_ID VARCHAR(255)); CREATE TABLE election (Representative_ID VARCHAR(255), votes INTEGER); | mysql | medium | medium | classified | valid | valid | valid | [] | [] | [] | [] | [
"validation_failed",
"correction_corrected",
"extended",
"classified"
] | corrected | 2 | 0 | 0 | {
"split": "train",
"row_index": 669
} |
What is the party of the representative that has the smallest number of votes. | SELECT T2.Party FROM election AS T1 JOIN representative AS T2 ON T1.Representative_ID = T2.Representative_ID ORDER BY votes LIMIT 1 | CREATE TABLE representative (Party VARCHAR(255), Representative_ID VARCHAR(255)); CREATE TABLE election (Representative_ID VARCHAR(255), votes INTEGER); | mysql | hard | hard | classified | valid | valid | valid | [] | [] | [] | [] | [
"validation_failed",
"correction_corrected",
"extended",
"classified"
] | corrected | 3 | 0 | 0 | {
"split": "train",
"row_index": 670
} |
What are the lifespans of representatives in descending order of vote percent? | SELECT T2.Lifespan FROM election AS T1 JOIN representative AS T2 ON T1.Representative_ID = T2.Representative_ID ORDER BY Vote_Percent DESC | CREATE TABLE election (Representative_ID VARCHAR(255), Vote_Percent INTEGER); CREATE TABLE representative (Lifespan VARCHAR(255), Representative_ID VARCHAR(255)); | mysql | medium | medium | classified | valid | valid | valid | [] | [] | [] | [] | [
"validation_failed",
"correction_corrected",
"extended",
"classified"
] | corrected | 2 | 0 | 0 | {
"split": "train",
"row_index": 671
} |
Show the average room count of the apartments that have booking status code "Provisional". | SELECT AVG(room_count) FROM Apartment_Bookings AS T1 JOIN Apartments AS T2 ON T1.apt_id = T2.apt_id WHERE T1.booking_status_code = 'Provisional' | CREATE TABLE Apartment_Bookings (apt_id VARCHAR(255), booking_status_code VARCHAR(255)); CREATE TABLE Apartments (apt_id VARCHAR(255), room_count INTEGER); | mysql | medium | medium | classified | valid | valid | valid | [] | [] | [] | [] | [
"validation_failed",
"correction_corrected",
"extended",
"classified"
] | corrected | 2 | 0 | 0 | {
"split": "train",
"row_index": 698
} |
Show the name, average attendance, total attendance for stadiums where no accidents happened. | SELECT name, average_attendance, total_attendance FROM stadium EXCEPT SELECT T2.name, T2.average_attendance, T2.total_attendance FROM game AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.id JOIN injury_accident AS T3 ON T1.id = T3.game_id | CREATE TABLE stadium (name VARCHAR(255), average_attendance VARCHAR(255), total_attendance VARCHAR(255), id VARCHAR(255)); CREATE TABLE game (stadium_id VARCHAR(255), id VARCHAR(255)); CREATE TABLE injury_accident (game_id VARCHAR(255), description VARCHAR(255)); | mysql | extra | extra | classified | valid | valid | valid | [] | [] | [] | [] | [
"validation_failed",
"correction_corrected",
"extended",
"classified"
] | corrected | 0 | 1 | 1 | {
"split": "train",
"row_index": 734
} |
What are the names of players who have the best dribbling? | SELECT DISTINCT T1.player_name FROM Player AS T1 JOIN Player_Attributes AS T2 ON T1.player_api_id = T2.player_api_id WHERE T2.dribbling = (SELECT MAX(dribbling) FROM Player_Attributes) | CREATE TABLE Player (player_name VARCHAR(255), player_api_id VARCHAR(255)); CREATE TABLE Player_Attributes (player_api_id VARCHAR(255), dribbling INTEGER, overall_rating INTEGER); | mysql | extra | extra | classified | valid | valid | valid | [] | [] | [] | [] | [
"validation_failed",
"correction_corrected",
"extended",
"classified"
] | corrected | 2 | 1 | 0 | {
"split": "train",
"row_index": 743
} |
Who are the top 3 players in terms of overall rating? | SELECT DISTINCT T1.player_name FROM Player AS T1 JOIN Player_Attributes AS T2 ON T1.player_api_id = T2.player_api_id ORDER BY overall_rating DESC LIMIT 3 | CREATE TABLE Player (player_name VARCHAR(255), player_api_id VARCHAR(255)); CREATE TABLE Player_Attributes (player_api_id VARCHAR(255), overall_rating INTEGER); | mysql | hard | hard | classified | valid | valid | valid | [] | [] | [] | [] | [
"validation_failed",
"correction_corrected",
"extended",
"classified"
] | corrected | 3 | 0 | 0 | {
"split": "train",
"row_index": 750
} |
List the names and birthdays of the top five players in terms of potential. | SELECT DISTINCT T1.player_name, T1.birthday FROM Player AS T1 JOIN Player_Attributes AS T2 ON T1.player_api_id = T2.player_api_id ORDER BY T2.potential DESC LIMIT 5 | CREATE TABLE Player (player_name VARCHAR(255), birthday VARCHAR(255), player_api_id VARCHAR(255)); CREATE TABLE Player_Attributes (player_api_id VARCHAR(255), potential INTEGER); | mysql | hard | hard | classified | valid | valid | valid | [] | [] | [] | [] | [
"validation_failed",
"correction_failed",
"correction_corrected",
"extended",
"classified"
] | corrected | 3 | 0 | 1 | {
"split": "train",
"row_index": 751
} |
Find the name of students who took any class in the years of 2009 and 2010. | SELECT DISTINCT T1.name FROM student AS T1 JOIN takes AS T2 ON T1.id = T2.id WHERE `year` = 2009 OR `year` = 2010 | CREATE TABLE student (name VARCHAR(255), id VARCHAR(255)); CREATE TABLE takes (id VARCHAR(255), `year` INTEGER); | mysql | hard | hard | classified | valid | valid | valid | [] | [] | [] | [] | [
"validation_failed",
"correction_corrected",
"extended",
"classified"
] | corrected | 3 | 0 | 1 | {
"split": "train",
"row_index": 790
} |
What is the id of the instructor who advises of all students from History department? | SELECT i_id FROM advisor AS T1 JOIN student AS T2 ON T1.s_id = T2.id WHERE T2.dept_name = 'History' | CREATE TABLE advisor (s_id VARCHAR(255), i_id INTEGER);
CREATE TABLE student (id VARCHAR(255), dept_name VARCHAR(255)) | mysql | medium | medium | classified | valid | valid | valid | [] | [] | [] | [] | [
"validation_failed",
"correction_corrected",
"extended",
"classified"
] | corrected | 2 | 0 | 0 | {
"split": "train",
"row_index": 813
} |
What is the title of the prerequisite class of International Finance course? | SELECT title FROM course WHERE course_id IN (SELECT T1.prereq_id FROM prereq AS T1 JOIN course AS T2 ON T1.course_id = T2.course_id WHERE T2.title = 'International Finance') | CREATE TABLE course (title VARCHAR(255), course_id VARCHAR(255));
CREATE TABLE prereq (prereq_id VARCHAR(255), course_id VARCHAR(255)) | mysql | hard | hard | classified | valid | valid | valid | [] | [] | [] | [] | [
"validation_failed",
"correction_corrected",
"extended",
"classified"
] | corrected | 1 | 1 | 0 | {
"split": "train",
"row_index": 816
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.