question stringlengths 12 244 | context stringlengths 27 489 | answer dict |
|---|---|---|
Which college with a position of rb had a pick larger than 6 in round 28? | CREATE TABLE table_name_19 (college VARCHAR, round VARCHAR, pick VARCHAR, position VARCHAR) | {
"SQL_Query": "SELECT college FROM table_name_19 WHERE pick > 6 AND position = \"rb\" AND round = 28"
} |
With an overall record of MU, 15-8 what is the at neutral site? | CREATE TABLE table_name_87 (at_neutral_site VARCHAR, overall_record VARCHAR) | {
"SQL_Query": "SELECT at_neutral_site FROM table_name_87 WHERE overall_record = \"mu, 15-8\""
} |
For what current streak is KU, 8-2 under last 10 meetings? | CREATE TABLE table_name_28 (current_streak VARCHAR, last_10_meetings VARCHAR) | {
"SQL_Query": "SELECT current_streak FROM table_name_28 WHERE last_10_meetings = \"ku, 8-2\""
} |
What is the record for the last 10 meetings when the overall record is *as of March 14, 2013? | CREATE TABLE table_name_53 (last_10_meetings VARCHAR, overall_record VARCHAR) | {
"SQL_Query": "SELECT last_10_meetings FROM table_name_53 WHERE overall_record = \"*as of march 14, 2013\""
} |
With an overall record of KSU, 118-117 what is the last 5 meetings? | CREATE TABLE table_name_38 (last_5_meetings VARCHAR, overall_record VARCHAR) | {
"SQL_Query": "SELECT last_5_meetings FROM table_name_38 WHERE overall_record = \"ksu, 118-117\""
} |
What is the record at Columbia when KU, 4-1 is the record for the last 5 minutes? | CREATE TABLE table_name_2 (at_columbia VARCHAR, last_5_meetings VARCHAR) | {
"SQL_Query": "SELECT at_columbia FROM table_name_2 WHERE last_5_meetings = \"ku, 4-1\""
} |
What was the streak at the game at the Miami Orange Bowl? | CREATE TABLE table_name_99 (streak VARCHAR, stadium VARCHAR) | {
"SQL_Query": "SELECT streak FROM table_name_99 WHERE stadium = \"miami orange bowl\""
} |
Who was the opposing team at Schaefer Stadium later in the season than week 7? | CREATE TABLE table_name_59 (opponent VARCHAR, week VARCHAR, stadium VARCHAR) | {
"SQL_Query": "SELECT opponent FROM table_name_59 WHERE week > 7 AND stadium = \"schaefer stadium\""
} |
What was the result in week 14? | CREATE TABLE table_name_77 (result VARCHAR, week VARCHAR) | {
"SQL_Query": "SELECT result FROM table_name_77 WHERE week = 14"
} |
What team was the opponent when the round was sf? | CREATE TABLE table_name_84 (opponent VARCHAR, round VARCHAR) | {
"SQL_Query": "SELECT opponent FROM table_name_84 WHERE round = \"sf\""
} |
What is the number of people in attendance when venue shows A, and Di Matteo, M. Hughes were the scorers? | CREATE TABLE table_name_99 (attendance INTEGER, venue VARCHAR, scorers VARCHAR) | {
"SQL_Query": "SELECT SUM(attendance) FROM table_name_99 WHERE venue = \"a\" AND scorers = \"di matteo, m. hughes\""
} |
What is the highest rank that has 5 silvers, less than 5 golds, and less than 7 total medals? | CREATE TABLE table_name_83 (rank INTEGER, total VARCHAR, silver VARCHAR, gold VARCHAR) | {
"SQL_Query": "SELECT MAX(rank) FROM table_name_83 WHERE silver = 5 AND gold < 5 AND total < 7"
} |
What is the least amount of silvers for a team with less than 4 golds and less than 5 total medals? | CREATE TABLE table_name_17 (silver INTEGER, total VARCHAR, gold VARCHAR) | {
"SQL_Query": "SELECT MIN(silver) FROM table_name_17 WHERE total < 5 AND gold < 4"
} |
Who was the opponent for the 2003 davis cup europe/africa group ii? | CREATE TABLE table_name_23 (opponent VARCHAR, edition VARCHAR) | {
"SQL_Query": "SELECT opponent FROM table_name_23 WHERE edition = \"2003 davis cup europe/africa group ii\""
} |
What is the round when the match was against sergis kyratzis? | CREATE TABLE table_name_21 (round VARCHAR, opponent VARCHAR) | {
"SQL_Query": "SELECT round FROM table_name_21 WHERE opponent = \"sergis kyratzis\""
} |
WHAT IS THE HIGHEST 2012 ENROLLMENT FOR école mathieu-martin, AFTER 1972? | CREATE TABLE table_name_5 (school_name VARCHAR, year_open VARCHAR) | {
"SQL_Query": "SELECT MAX(2012 AS _enrolment) FROM table_name_5 WHERE school_name = \"école mathieu-martin\" AND year_open > 1972"
} |
WHAT IS THE ENROLLMENT FOR école saint-therèse AFTER 1954? | CREATE TABLE table_name_5 (school_name VARCHAR, year_open VARCHAR) | {
"SQL_Query": "SELECT MIN(2012 AS _enrolment) FROM table_name_5 WHERE school_name = \"école saint-therèse\" AND year_open > 1954"
} |
What was Fuzzy Zoeller's score in the United States? | CREATE TABLE table_name_82 (score VARCHAR, country VARCHAR, player VARCHAR) | {
"SQL_Query": "SELECT score FROM table_name_82 WHERE country = \"united states\" AND player = \"fuzzy zoeller\""
} |
Where is Miller Barber from? | CREATE TABLE table_name_52 (place VARCHAR, player VARCHAR) | {
"SQL_Query": "SELECT place FROM table_name_52 WHERE player = \"miller barber\""
} |
What was Craig Stadler's score? | CREATE TABLE table_name_80 (score VARCHAR, player VARCHAR) | {
"SQL_Query": "SELECT score FROM table_name_80 WHERE player = \"craig stadler\""
} |
What is the to par for Leonard Thompson from the United States with a place of T6? | CREATE TABLE table_name_3 (to_par VARCHAR, player VARCHAR, place VARCHAR, country VARCHAR) | {
"SQL_Query": "SELECT to_par FROM table_name_3 WHERE place = \"t6\" AND country = \"united states\" AND player = \"leonard thompson\""
} |
what position did the player play who had a number of 15 who played in 1987? | CREATE TABLE table_name_88 (position VARCHAR, jersey_number_s_ VARCHAR, years VARCHAR) | {
"SQL_Query": "SELECT position FROM table_name_88 WHERE jersey_number_s_ = \"15\" AND years = \"1987\""
} |
What was the attendance for the week 1 game? | CREATE TABLE table_name_9 (attendance VARCHAR, week VARCHAR) | {
"SQL_Query": "SELECT attendance FROM table_name_9 WHERE week = 1"
} |
Who was the opponent in the 1 round fight in the Ultimate Fighter 2 Finale? | CREATE TABLE table_name_4 (opponent VARCHAR, round VARCHAR, event VARCHAR) | {
"SQL_Query": "SELECT opponent FROM table_name_4 WHERE round = \"1\" AND event = \"the ultimate fighter 2 finale\""
} |
Who is the opponent in the fight of 1 round when the record is 18-7? | CREATE TABLE table_name_81 (opponent VARCHAR, round VARCHAR, record VARCHAR) | {
"SQL_Query": "SELECT opponent FROM table_name_81 WHERE round = \"1\" AND record = \"18-7\""
} |
What is the record at the UW: Ultimate Fight Minnesota? | CREATE TABLE table_name_48 (record VARCHAR, event VARCHAR) | {
"SQL_Query": "SELECT record FROM table_name_48 WHERE event = \"uw: ultimate fight minnesota\""
} |
What is the record in the 2 round fight that ended by submission (injury)? | CREATE TABLE table_name_70 (record VARCHAR, round VARCHAR, method VARCHAR) | {
"SQL_Query": "SELECT record FROM table_name_70 WHERE round = \"2\" AND method = \"submission (injury)\""
} |
Who is the opponent at the IFA: Clash of the Champions? | CREATE TABLE table_name_71 (opponent VARCHAR, event VARCHAR) | {
"SQL_Query": "SELECT opponent FROM table_name_71 WHERE event = \"ifa: clash of the champions\""
} |
What is the record that resulted in a loss at the RSF: Shooto Challenge 2? | CREATE TABLE table_name_80 (record VARCHAR, res VARCHAR, event VARCHAR) | {
"SQL_Query": "SELECT record FROM table_name_80 WHERE res = \"loss\" AND event = \"rsf: shooto challenge 2\""
} |
What is the B (max) average when the C (max) is greater than 156, the taper is 1:19.231, and the D (max) is less than 34.9? | CREATE TABLE table_name_22 (b__max_ INTEGER, d__max_ VARCHAR, c__max_ VARCHAR, taper VARCHAR) | {
"SQL_Query": "SELECT AVG(b__max_) FROM table_name_22 WHERE c__max_ > 156 AND taper = \"1:19.231\" AND d__max_ < 34.9"
} |
With a Morse Taper number less than 3 and a C (max) of 59.5 what is the total of D (max)? | CREATE TABLE table_name_59 (d__max_ VARCHAR, morse_taper_number VARCHAR, c__max_ VARCHAR) | {
"SQL_Query": "SELECT COUNT(d__max_) FROM table_name_59 WHERE morse_taper_number < 3 AND c__max_ = 59.5"
} |
What's the total of the Morse Taper number when the D (max) is 20 and the B (max) greater than 94? | CREATE TABLE table_name_1 (morse_taper_number INTEGER, d__max_ VARCHAR, b__max_ VARCHAR) | {
"SQL_Query": "SELECT SUM(morse_taper_number) FROM table_name_1 WHERE d__max_ = 20 AND b__max_ > 94"
} |
What total D (max) has a taper of 1:20.047, and a C (max) bigger than 65.5? | CREATE TABLE table_name_17 (d__max_ INTEGER, taper VARCHAR, c__max_ VARCHAR) | {
"SQL_Query": "SELECT SUM(d__max_) FROM table_name_17 WHERE taper = \"1:20.047\" AND c__max_ > 65.5"
} |
What is the minimum D (max) when the Morse Taper number is less than 0? | CREATE TABLE table_name_47 (d__max_ INTEGER, morse_taper_number INTEGER) | {
"SQL_Query": "SELECT MIN(d__max_) FROM table_name_47 WHERE morse_taper_number < 0"
} |
What is the average React, when Mark is less than 7.93? | CREATE TABLE table_name_53 (react INTEGER, mark INTEGER) | {
"SQL_Query": "SELECT AVG(react) FROM table_name_53 WHERE mark < 7.93"
} |
What is the lowest React, when Name is "Candice Davis", and when Lane is less than 3? | CREATE TABLE table_name_79 (react INTEGER, name VARCHAR, lane VARCHAR) | {
"SQL_Query": "SELECT MIN(react) FROM table_name_79 WHERE name = \"candice davis\" AND lane < 3"
} |
What is the total number of Lane, when Mark is "7.93", and when React is less than 0.145? | CREATE TABLE table_name_8 (lane VARCHAR, mark VARCHAR, react VARCHAR) | {
"SQL_Query": "SELECT COUNT(lane) FROM table_name_8 WHERE mark = 7.93 AND react < 0.145"
} |
What is the average React, when Name is "Candice Davis", and when Lane is less than 3? | CREATE TABLE table_name_91 (react INTEGER, name VARCHAR, lane VARCHAR) | {
"SQL_Query": "SELECT AVG(react) FROM table_name_91 WHERE name = \"candice davis\" AND lane < 3"
} |
What is the total number of Mark, when Country is "Russia", and when React is less than 0.165? | CREATE TABLE table_name_65 (mark VARCHAR, country VARCHAR, react VARCHAR) | {
"SQL_Query": "SELECT COUNT(mark) FROM table_name_65 WHERE country = \"russia\" AND react < 0.165"
} |
What is Round, when Method is "submission (reverse armbar)"? | CREATE TABLE table_name_40 (round VARCHAR, method VARCHAR) | {
"SQL_Query": "SELECT round FROM table_name_40 WHERE method = \"submission (reverse armbar)\""
} |
What is the total number of Round(s), when Time is "n/a", and when Location is "Canton, Ohio, USA"? | CREATE TABLE table_name_75 (round VARCHAR, time VARCHAR, location VARCHAR) | {
"SQL_Query": "SELECT COUNT(round) FROM table_name_75 WHERE time = \"n/a\" AND location = \"canton, ohio, usa\""
} |
What is Location, when Opponent is "Jonathan Goulet"? | CREATE TABLE table_name_12 (location VARCHAR, opponent VARCHAR) | {
"SQL_Query": "SELECT location FROM table_name_12 WHERE opponent = \"jonathan goulet\""
} |
What is Record, when Method is "submission (triangle choke)", and when Time is 0:48? | CREATE TABLE table_name_96 (record VARCHAR, method VARCHAR, time VARCHAR) | {
"SQL_Query": "SELECT record FROM table_name_96 WHERE method = \"submission (triangle choke)\" AND time = \"0:48\""
} |
When was the premiere of the show that had a rank of #7? | CREATE TABLE table_name_30 (premiere VARCHAR, rank VARCHAR) | {
"SQL_Query": "SELECT premiere FROM table_name_30 WHERE rank = \"#7\""
} |
When was the finale played when the show premiered on September 24, 2002? | CREATE TABLE table_name_62 (finale VARCHAR, premiere VARCHAR) | {
"SQL_Query": "SELECT finale FROM table_name_62 WHERE premiere = \"september 24, 2002\""
} |
What is the minimum number of views that watched the show when there was more than 22 episodes and the finale was on May 23, 1995? | CREATE TABLE table_name_54 (viewers__in_households_ INTEGER, finale VARCHAR, episodes VARCHAR) | {
"SQL_Query": "SELECT MIN(viewers__in_households_) FROM table_name_54 WHERE finale = \"may 23, 1995\" AND episodes > 22"
} |
Which title was created in 2001 by Mellow? | CREATE TABLE table_name_73 (title VARCHAR, date VARCHAR, artist VARCHAR) | {
"SQL_Query": "SELECT title FROM table_name_73 WHERE date = 2001 AND artist = \"mellow\""
} |
Which artist has a serial number of ATM24016? | CREATE TABLE table_name_41 (artist VARCHAR, number VARCHAR) | {
"SQL_Query": "SELECT artist FROM table_name_41 WHERE number = \"atm24016\""
} |
What is the latest date that has a serial number of Infec 107CDSX? | CREATE TABLE table_name_56 (date INTEGER, number VARCHAR) | {
"SQL_Query": "SELECT MAX(date) FROM table_name_56 WHERE number = \"infec 107cdsx\""
} |
Which artist has a serial number of BOONCD1? | CREATE TABLE table_name_68 (artist VARCHAR, number VARCHAR) | {
"SQL_Query": "SELECT artist FROM table_name_68 WHERE number = \"booncd1\""
} |
What is the highest Game, when Streak is "Win 1", and when Date is "February 18"? | CREATE TABLE table_name_11 (game INTEGER, streak VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT MAX(game) FROM table_name_11 WHERE streak = \"win 1\" AND date = \"february 18\""
} |
Which Away team has a Home team of walsall? | CREATE TABLE table_name_3 (away_team VARCHAR, home_team VARCHAR) | {
"SQL_Query": "SELECT away_team FROM table_name_3 WHERE home_team = \"walsall\""
} |
Which Date has a Score of 2–2, and an Away team of aylesbury united? | CREATE TABLE table_name_48 (date VARCHAR, score VARCHAR, away_team VARCHAR) | {
"SQL_Query": "SELECT date FROM table_name_48 WHERE score = \"2–2\" AND away_team = \"aylesbury united\""
} |
Which Score has a Tie no of 33? | CREATE TABLE table_name_56 (score VARCHAR, tie_no VARCHAR) | {
"SQL_Query": "SELECT score FROM table_name_56 WHERE tie_no = \"33\""
} |
Which Home team has a Tie no of replay, a Date of 19 november 1985, and an Away team of tranmere rovers? | CREATE TABLE table_name_25 (home_team VARCHAR, away_team VARCHAR, tie_no VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT home_team FROM table_name_25 WHERE tie_no = \"replay\" AND date = \"19 november 1985\" AND away_team = \"tranmere rovers\""
} |
Which Score has a Home team of windsor & eton? | CREATE TABLE table_name_30 (score VARCHAR, home_team VARCHAR) | {
"SQL_Query": "SELECT score FROM table_name_30 WHERE home_team = \"windsor & eton\""
} |
Which Date has a Home team of rochdale? | CREATE TABLE table_name_60 (date VARCHAR, home_team VARCHAR) | {
"SQL_Query": "SELECT date FROM table_name_60 WHERE home_team = \"rochdale\""
} |
In the game that has a score of 71-71-70-73=285 what is the to par? | CREATE TABLE table_name_79 (to_par VARCHAR, score VARCHAR) | {
"SQL_Query": "SELECT to_par FROM table_name_79 WHERE score = 71 - 71 - 70 - 73 = 285"
} |
What is score of the game that was at a paace of t4, and had the player Butch Baird? | CREATE TABLE table_name_36 (score VARCHAR, place VARCHAR, player VARCHAR) | {
"SQL_Query": "SELECT score FROM table_name_36 WHERE place = \"t4\" AND player = \"butch baird\""
} |
Which country has the player Johnny Miller? | CREATE TABLE table_name_58 (country VARCHAR, player VARCHAR) | {
"SQL_Query": "SELECT country FROM table_name_58 WHERE player = \"johnny miller\""
} |
Which player has a score of 70-68-69-73=280 and a place of t4? | CREATE TABLE table_name_28 (player VARCHAR, place VARCHAR, score VARCHAR) | {
"SQL_Query": "SELECT player FROM table_name_28 WHERE place = \"t4\" AND score = 70 - 68 - 69 - 73 = 280"
} |
What is the lowest 1994-1995, when Points is 145, and when Played is less than 114? | CREATE TABLE table_name_2 (points VARCHAR, played VARCHAR) | {
"SQL_Query": "SELECT MIN(1994 AS _1995) FROM table_name_2 WHERE points = 145 AND played < 114"
} |
What date that was the league position was 1st, and the result F– A was 5 – 0? | CREATE TABLE table_name_29 (date VARCHAR, league_position VARCHAR, result_f___a VARCHAR) | {
"SQL_Query": "SELECT date FROM table_name_29 WHERE league_position = \"1st\" AND result_f___a = \"5 – 0\""
} |
What date was the opponent Nottingham Forest, and the H/A was A? | CREATE TABLE table_name_7 (date VARCHAR, opponents VARCHAR, h___a VARCHAR) | {
"SQL_Query": "SELECT date FROM table_name_7 WHERE opponents = \"nottingham forest\" AND h___a = \"a\""
} |
What date was Notts County the opponent and the league position was 1st? | CREATE TABLE table_name_96 (date VARCHAR, opponents VARCHAR, league_position VARCHAR) | {
"SQL_Query": "SELECT date FROM table_name_96 WHERE opponents = \"notts county\" AND league_position = \"1st\""
} |
What is the mark for the runner in lanes under 2 and heats under 5? | CREATE TABLE table_name_83 (mark VARCHAR, lane VARCHAR, heat VARCHAR) | {
"SQL_Query": "SELECT mark FROM table_name_83 WHERE lane < 2 AND heat < 5"
} |
Who is in heat 5 from Guyana? | CREATE TABLE table_name_64 (name VARCHAR, heat VARCHAR, country VARCHAR) | {
"SQL_Query": "SELECT name FROM table_name_64 WHERE heat = 5 AND country = \"guyana\""
} |
How many lanes was Khadevis Robinson in for heats over 2? | CREATE TABLE table_name_21 (lane VARCHAR, heat VARCHAR, name VARCHAR) | {
"SQL_Query": "SELECT COUNT(lane) FROM table_name_21 WHERE heat > 2 AND name = \"khadevis robinson\""
} |
Which ICB Sector had a ticker symbol of pp? | CREATE TABLE table_name_47 (icb_sector VARCHAR, ticker_symbol VARCHAR) | {
"SQL_Query": "SELECT icb_sector FROM table_name_47 WHERE ticker_symbol = \"pp\""
} |
Which ICB Sector belongs to vallourec? | CREATE TABLE table_name_81 (icb_sector VARCHAR, company VARCHAR) | {
"SQL_Query": "SELECT icb_sector FROM table_name_81 WHERE company = \"vallourec\""
} |
Which Week is the highest one that has a Result of w 23-20, and an Attendance smaller than 34,127? | CREATE TABLE table_name_92 (week INTEGER, result VARCHAR, attendance VARCHAR) | {
"SQL_Query": "SELECT MAX(week) FROM table_name_92 WHERE result = \"w 23-20\" AND attendance < 34 OFFSET 127"
} |
What was the average attendance on october 3, 1976? | CREATE TABLE table_name_68 (attendance INTEGER, date VARCHAR) | {
"SQL_Query": "SELECT AVG(attendance) FROM table_name_68 WHERE date = \"october 3, 1976\""
} |
How many weeks have a Date of december 4, 1976, and an Attendance larger than 57,366? | CREATE TABLE table_name_30 (week INTEGER, date VARCHAR, attendance VARCHAR) | {
"SQL_Query": "SELECT SUM(week) FROM table_name_30 WHERE date = \"december 4, 1976\" AND attendance > 57 OFFSET 366"
} |
What was the total number of aircrafts in 2011 for sydney airport that was ranked number 1? | CREATE TABLE table_name_48 (airport VARCHAR, rank VARCHAR) | {
"SQL_Query": "SELECT COUNT(2011) FROM table_name_48 WHERE airport = \"sydney airport\" AND rank < 1"
} |
What is the result for November 25, 2001? | CREATE TABLE table_name_45 (result VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT result FROM table_name_45 WHERE date = \"november 25, 2001\""
} |
What is the result for week 12 against the Green Bay Packers? | CREATE TABLE table_name_94 (result VARCHAR, week VARCHAR, opponent VARCHAR) | {
"SQL_Query": "SELECT result FROM table_name_94 WHERE week > 12 AND opponent = \"green bay packers\""
} |
What was the attendance like for week 8? | CREATE TABLE table_name_45 (attendance VARCHAR, week VARCHAR) | {
"SQL_Query": "SELECT attendance FROM table_name_45 WHERE week = 8"
} |
What was the passenger fare for Lansing, when the passenger fare for Kalamazoo was $599.39? | CREATE TABLE table_name_60 (lansing__lan_ VARCHAR, kalamazoo__azo_ VARCHAR) | {
"SQL_Query": "SELECT lansing__lan_ FROM table_name_60 WHERE kalamazoo__azo_ = \"$599.39\""
} |
For how many years did Detroit have a passenger fare of $307.29? | CREATE TABLE table_name_99 (year INTEGER, detroit__dtw_ VARCHAR) | {
"SQL_Query": "SELECT SUM(year) FROM table_name_99 WHERE detroit__dtw_ = \"$307.29\""
} |
What was the passenger fare for Grand Rapids, when the passenger fare for Detroit was $378.55? | CREATE TABLE table_name_89 (grand_rapids__grr_ VARCHAR, detroit__dtw_ VARCHAR) | {
"SQL_Query": "SELECT grand_rapids__grr_ FROM table_name_89 WHERE detroit__dtw_ = \"$378.55\""
} |
Before the year 2010, and when Kalamazoo had a passenger fare of $517.32, what was the passenger fare for Detroit? | CREATE TABLE table_name_36 (detroit__dtw_ VARCHAR, year VARCHAR, kalamazoo__azo_ VARCHAR) | {
"SQL_Query": "SELECT detroit__dtw_ FROM table_name_36 WHERE year < 2010 AND kalamazoo__azo_ = \"$517.32\""
} |
Which Club has a League goals of 21? | CREATE TABLE table_name_66 (club VARCHAR, league_goals VARCHAR) | {
"SQL_Query": "SELECT club FROM table_name_66 WHERE league_goals = \"21\""
} |
Which Club has a League Cup goals of 0, and a League goals of 11, and a Scorer of joe laidlaw? | CREATE TABLE table_name_74 (club VARCHAR, scorer VARCHAR, league_cup_goals VARCHAR, league_goals VARCHAR) | {
"SQL_Query": "SELECT club FROM table_name_74 WHERE league_cup_goals = 0 AND league_goals = \"11\" AND scorer = \"joe laidlaw\""
} |
Which FA Cup goals have a League goals of 18, and a Club of sheffield united? | CREATE TABLE table_name_20 (fa_cup_goals INTEGER, league_goals VARCHAR, club VARCHAR) | {
"SQL_Query": "SELECT MAX(fa_cup_goals) FROM table_name_20 WHERE league_goals = \"18\" AND club = \"sheffield united\""
} |
Which League Cup goals have a Scorer of ken houghton, and an FA Cup goals smaller than 0? | CREATE TABLE table_name_93 (league_cup_goals INTEGER, scorer VARCHAR, fa_cup_goals VARCHAR) | {
"SQL_Query": "SELECT MAX(league_cup_goals) FROM table_name_93 WHERE scorer = \"ken houghton\" AND fa_cup_goals < 0"
} |
Who was the home team when the away team was Bristol Rovers? | CREATE TABLE table_name_1 (home_team VARCHAR, away_team VARCHAR) | {
"SQL_Query": "SELECT home_team FROM table_name_1 WHERE away_team = \"bristol rovers\""
} |
What was the home team when the away team was Frickley Athletic? | CREATE TABLE table_name_3 (home_team VARCHAR, away_team VARCHAR) | {
"SQL_Query": "SELECT home_team FROM table_name_3 WHERE away_team = \"frickley athletic\""
} |
When did Reading play at home? | CREATE TABLE table_name_2 (date VARCHAR, home_team VARCHAR) | {
"SQL_Query": "SELECT date FROM table_name_2 WHERE home_team = \"reading\""
} |
What was the association for Indonesian Idol after 2005 with a Nominated Result? | CREATE TABLE table_name_39 (association VARCHAR, result VARCHAR, nominee VARCHAR, year VARCHAR) | {
"SQL_Query": "SELECT association FROM table_name_39 WHERE nominee = \"indonesian idol\" AND year > 2005 AND result = \"nominated\""
} |
What was the earliest year that Indonesian Idol won? | CREATE TABLE table_name_74 (year INTEGER, nominee VARCHAR, result VARCHAR) | {
"SQL_Query": "SELECT MIN(year) FROM table_name_74 WHERE nominee = \"indonesian idol\" AND result = \"won\""
} |
Who was the association that Daniel Mananta belonged to after 2011? | CREATE TABLE table_name_54 (association VARCHAR, nominee VARCHAR, year VARCHAR) | {
"SQL_Query": "SELECT association FROM table_name_54 WHERE nominee = \"daniel mananta\" AND year > 2011"
} |
What was the result in a year before 2013 that the nomination category was Presenter Talent Show? | CREATE TABLE table_name_52 (result VARCHAR, year VARCHAR, category VARCHAR) | {
"SQL_Query": "SELECT result FROM table_name_52 WHERE year < 2013 AND category = \"presenter talent show\""
} |
What competition had a score of 8-1? | CREATE TABLE table_name_78 (competition VARCHAR, score VARCHAR) | {
"SQL_Query": "SELECT competition FROM table_name_78 WHERE score = \"8-1\""
} |
Who was the away team for the game with a score of 139-119? | CREATE TABLE table_name_75 (away_team VARCHAR, score VARCHAR) | {
"SQL_Query": "SELECT away_team FROM table_name_75 WHERE score = \"139-119\""
} |
Which date had a venue of the Gold Coast Convention Centre? | CREATE TABLE table_name_36 (date VARCHAR, venue VARCHAR) | {
"SQL_Query": "SELECT date FROM table_name_36 WHERE venue = \"gold coast convention centre\""
} |
Which date had a venue of the State Sports Centre? | CREATE TABLE table_name_88 (date VARCHAR, venue VARCHAR) | {
"SQL_Query": "SELECT date FROM table_name_88 WHERE venue = \"state sports centre\""
} |
What is the smallest shot % with ends won larger than 29 and ends lost smaller than 26? | CREATE TABLE table_name_1 (shot_pct INTEGER, ends_won VARCHAR, ends_lost VARCHAR) | {
"SQL_Query": "SELECT MIN(shot_pct) FROM table_name_1 WHERE ends_won > 29 AND ends_lost < 26"
} |
How many ends lost when skip is Kevin Koe and stolen ends are more than 6? | CREATE TABLE table_name_62 (ends_lost VARCHAR, skip VARCHAR, stolen_ends VARCHAR) | {
"SQL_Query": "SELECT COUNT(ends_lost) FROM table_name_62 WHERE skip = \"kevin koe\" AND stolen_ends > 6"
} |
How many ends lost when shot % is 88 and ends won are 31? | CREATE TABLE table_name_72 (ends_lost VARCHAR, shot_pct VARCHAR, ends_won VARCHAR) | {
"SQL_Query": "SELECT COUNT(ends_lost) FROM table_name_72 WHERE shot_pct = 88 AND ends_won = 31"
} |
How many ends lost for Alberta when stolen ends are greater than 7? | CREATE TABLE table_name_62 (ends_lost INTEGER, province VARCHAR, stolen_ends VARCHAR) | {
"SQL_Query": "SELECT SUM(ends_lost) FROM table_name_62 WHERE province = \"alberta\" AND stolen_ends > 7"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.