question stringlengths 12 244 | context stringlengths 27 489 | answer dict |
|---|---|---|
Who was the girl of the week 3 weeks after brianne bailey in the same month? | CREATE TABLE table_name_65 (week_5 VARCHAR, week_2 VARCHAR) | {
"SQL_Query": "SELECT week_5 FROM table_name_65 WHERE week_2 = \"brianne bailey\""
} |
Who was the girl of the week 2 weeks before terri lynn farrow in the same month? | CREATE TABLE table_name_47 (week_2 VARCHAR, week_4 VARCHAR) | {
"SQL_Query": "SELECT week_2 FROM table_name_47 WHERE week_4 = \"terri lynn farrow\""
} |
How many tries did the player have which ended with 20 Points? | CREATE TABLE table_name_13 (tries VARCHAR, points VARCHAR) | {
"SQL_Query": "SELECT tries FROM table_name_13 WHERE points = 20"
} |
What is the average Points, when Date is "February 2", and when Attendance is less than 16,874? | CREATE TABLE table_name_14 (points INTEGER, date VARCHAR, attendance VARCHAR) | {
"SQL_Query": "SELECT AVG(points) FROM table_name_14 WHERE date = \"february 2\" AND attendance < 16 OFFSET 874"
} |
What is the lowest Attendance, when Date is "February 4", and when Points is less than 57? | CREATE TABLE table_name_72 (attendance INTEGER, date VARCHAR, points VARCHAR) | {
"SQL_Query": "SELECT MIN(attendance) FROM table_name_72 WHERE date = \"february 4\" AND points < 57"
} |
For a total of 1 and the sport of softball what were the years? | CREATE TABLE table_name_93 (years VARCHAR, total VARCHAR, sport VARCHAR) | {
"SQL_Query": "SELECT years FROM table_name_93 WHERE total = \"1\" AND sport = \"softball\""
} |
What was the total for the year of 1925? | CREATE TABLE table_name_39 (total VARCHAR, years VARCHAR) | {
"SQL_Query": "SELECT total FROM table_name_39 WHERE years = \"1925\""
} |
Which label is in a limited edition cd/dvd format? | CREATE TABLE table_name_19 (label VARCHAR, format VARCHAR) | {
"SQL_Query": "SELECT label FROM table_name_19 WHERE format = \"limited edition cd/dvd\""
} |
What is the date for the United Kingdom with an LP format? | CREATE TABLE table_name_88 (date VARCHAR, country VARCHAR, format VARCHAR) | {
"SQL_Query": "SELECT date FROM table_name_88 WHERE country = \"united kingdom\" AND format = \"lp\""
} |
Which format is in Japan? | CREATE TABLE table_name_37 (format VARCHAR, country VARCHAR) | {
"SQL_Query": "SELECT format FROM table_name_37 WHERE country = \"japan\""
} |
What is the format of catalog number 886973273913 (gowow012) in the United Kingdom? | CREATE TABLE table_name_70 (format VARCHAR, country VARCHAR, catalogue__number VARCHAR) | {
"SQL_Query": "SELECT format FROM table_name_70 WHERE country = \"united kingdom\" AND catalogue__number = \"886973273913 (gowow012)\""
} |
Which Apps have a Club of barcelona, and a Season of 1996/97, and a Rank smaller than 7? | CREATE TABLE table_name_29 (apps INTEGER, rank VARCHAR, club VARCHAR, season VARCHAR) | {
"SQL_Query": "SELECT MIN(apps) FROM table_name_29 WHERE club = \"barcelona\" AND season = \"1996/97\" AND rank < 7"
} |
Which Season has a Club of real madrid, and a Rank smaller than 6, and less than 121 goals? | CREATE TABLE table_name_7 (season VARCHAR, goals VARCHAR, club VARCHAR, rank VARCHAR) | {
"SQL_Query": "SELECT season FROM table_name_7 WHERE club = \"real madrid\" AND rank < 6 AND goals < 121"
} |
How many Apps have a Rank larger than 2, and Goals smaller than 102? | CREATE TABLE table_name_48 (apps INTEGER, rank VARCHAR, goals VARCHAR) | {
"SQL_Query": "SELECT SUM(apps) FROM table_name_48 WHERE rank > 2 AND goals < 102"
} |
Which Season has a Rank smaller than 4, and a Club of barcelona, and less than 115 goals? | CREATE TABLE table_name_61 (season VARCHAR, goals VARCHAR, rank VARCHAR, club VARCHAR) | {
"SQL_Query": "SELECT season FROM table_name_61 WHERE rank < 4 AND club = \"barcelona\" AND goals < 115"
} |
What player has a 147 total from Spain? | CREATE TABLE table_name_97 (player VARCHAR, total VARCHAR, country VARCHAR) | {
"SQL_Query": "SELECT player FROM table_name_97 WHERE total = 147 AND country = \"spain\""
} |
What year was the 146 total? | CREATE TABLE table_name_58 (year_s__won VARCHAR, total VARCHAR) | {
"SQL_Query": "SELECT year_s__won FROM table_name_58 WHERE total = 146"
} |
What country is Paul Lawrie from? | CREATE TABLE table_name_39 (country VARCHAR, player VARCHAR) | {
"SQL_Query": "SELECT country FROM table_name_39 WHERE player = \"paul lawrie\""
} |
Which Fuel has an Output of ps (kw; hp) @6000 rpm? | CREATE TABLE table_name_50 (fuel VARCHAR, output VARCHAR) | {
"SQL_Query": "SELECT fuel FROM table_name_50 WHERE output = \"ps (kw; hp) @6000 rpm\""
} |
Which Torque has a Volume of 1896 cc, and a CO 2 of 140 g/km? | CREATE TABLE table_name_21 (torque VARCHAR, volume VARCHAR, co_2 VARCHAR) | {
"SQL_Query": "SELECT torque FROM table_name_21 WHERE volume = \"1896 cc\" AND co_2 = \"140 g/km\""
} |
What Venue has a Year smaller than 1986, and a Position of 6th? | CREATE TABLE table_name_62 (venue VARCHAR, year VARCHAR, position VARCHAR) | {
"SQL_Query": "SELECT venue FROM table_name_62 WHERE year < 1986 AND position = \"6th\""
} |
What Position has a Time of 3:01.78? | CREATE TABLE table_name_78 (position VARCHAR, time VARCHAR) | {
"SQL_Query": "SELECT position FROM table_name_78 WHERE time = \"3:01.78\""
} |
What Event has a Competition of world championships? | CREATE TABLE table_name_77 (event VARCHAR, competition VARCHAR) | {
"SQL_Query": "SELECT event FROM table_name_77 WHERE competition = \"world championships\""
} |
What Time has a Year of 1984? | CREATE TABLE table_name_77 (time VARCHAR, year VARCHAR) | {
"SQL_Query": "SELECT time FROM table_name_77 WHERE year = 1984"
} |
What Competition has a Year smaller than 1983? | CREATE TABLE table_name_52 (competition VARCHAR, year INTEGER) | {
"SQL_Query": "SELECT competition FROM table_name_52 WHERE year < 1983"
} |
What is the Weight of the Senior Player with a Height of 6–10? | CREATE TABLE table_name_78 (weight INTEGER, year VARCHAR, height VARCHAR) | {
"SQL_Query": "SELECT SUM(weight) FROM table_name_78 WHERE year = \"senior\" AND height = \"6–10\""
} |
What is the Year of the Player with a Weight of 230 or less from San Antonio, Texas? | CREATE TABLE table_name_20 (year VARCHAR, weight VARCHAR, home_town VARCHAR) | {
"SQL_Query": "SELECT year FROM table_name_20 WHERE weight < 230 AND home_town = \"san antonio, texas\""
} |
What is the Height of the Sophomore Guard weighing 185? | CREATE TABLE table_name_54 (height VARCHAR, weight VARCHAR, year VARCHAR, position VARCHAR) | {
"SQL_Query": "SELECT height FROM table_name_54 WHERE year = \"sophomore\" AND position = \"guard\" AND weight = 185"
} |
What is the Year of the Player weighing 185? | CREATE TABLE table_name_45 (year VARCHAR, weight VARCHAR) | {
"SQL_Query": "SELECT year FROM table_name_45 WHERE weight = 185"
} |
Which club is located in Thomson, Victoria? | CREATE TABLE table_name_15 (club VARCHAR, location VARCHAR) | {
"SQL_Query": "SELECT club FROM table_name_15 WHERE location = \"thomson, victoria\""
} |
What is the nickname of the team who was in the GFL from 1986-1988? | CREATE TABLE table_name_25 (nickname VARCHAR, years_in_gfl VARCHAR) | {
"SQL_Query": "SELECT nickname FROM table_name_25 WHERE years_in_gfl = \"1986-1988\""
} |
Which location did the Tigers have? | CREATE TABLE table_name_90 (location VARCHAR, nickname VARCHAR) | {
"SQL_Query": "SELECT location FROM table_name_90 WHERE nickname = \"tigers\""
} |
What was the nickname of the team in the Geelong West Cricket & Football Club? | CREATE TABLE table_name_59 (nickname VARCHAR, club VARCHAR) | {
"SQL_Query": "SELECT nickname FROM table_name_59 WHERE club = \"geelong west cricket & football club\""
} |
What GLF Premiership did the Magpies have? | CREATE TABLE table_name_70 (gfl_premierships VARCHAR, nickname VARCHAR) | {
"SQL_Query": "SELECT gfl_premierships FROM table_name_70 WHERE nickname = \"magpies\""
} |
What was the nickname of the team in the East Geelong club? | CREATE TABLE table_name_93 (nickname VARCHAR, club VARCHAR) | {
"SQL_Query": "SELECT nickname FROM table_name_93 WHERE club = \"east geelong\""
} |
What year has a winning finish of T27? | CREATE TABLE table_name_6 (year_s__won VARCHAR, finish VARCHAR) | {
"SQL_Query": "SELECT year_s__won FROM table_name_6 WHERE finish = \"t27\""
} |
What was the finish for England? | CREATE TABLE table_name_76 (finish VARCHAR, country VARCHAR) | {
"SQL_Query": "SELECT finish FROM table_name_76 WHERE country = \"england\""
} |
What county won in 1991? | CREATE TABLE table_name_14 (country VARCHAR, year_s__won VARCHAR) | {
"SQL_Query": "SELECT country FROM table_name_14 WHERE year_s__won = \"1991\""
} |
What is the highest total to par of +9? | CREATE TABLE table_name_40 (total INTEGER, to_par VARCHAR) | {
"SQL_Query": "SELECT MAX(total) FROM table_name_40 WHERE to_par = \"+9\""
} |
What Status has Against of 12? | CREATE TABLE table_name_77 (status VARCHAR, against VARCHAR) | {
"SQL_Query": "SELECT status FROM table_name_77 WHERE against = 12"
} |
What Venue has a Date of 17/03/1990? | CREATE TABLE table_name_46 (venue VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT venue FROM table_name_46 WHERE date = \"17/03/1990\""
} |
How many weeks had an Attendance of 43,272? | CREATE TABLE table_name_30 (week VARCHAR, attendance VARCHAR) | {
"SQL_Query": "SELECT COUNT(week) FROM table_name_30 WHERE attendance = \"43,272\""
} |
Who played on december 12, 1993? | CREATE TABLE table_name_37 (opponent VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT opponent FROM table_name_37 WHERE date = \"december 12, 1993\""
} |
What day was United States the opposing team? | CREATE TABLE table_name_92 (date VARCHAR, opposing_team VARCHAR) | {
"SQL_Query": "SELECT date FROM table_name_92 WHERE opposing_team = \"united states\""
} |
What was the opposing team for the second test? | CREATE TABLE table_name_5 (opposing_team VARCHAR, status VARCHAR) | {
"SQL_Query": "SELECT opposing_team FROM table_name_5 WHERE status = \"second test\""
} |
What was the opposing team for the second test? | CREATE TABLE table_name_30 (opposing_team VARCHAR, status VARCHAR) | {
"SQL_Query": "SELECT opposing_team FROM table_name_30 WHERE status = \"second test\""
} |
What round was in canberra stadium? | CREATE TABLE table_name_40 (round VARCHAR, venue VARCHAR) | {
"SQL_Query": "SELECT round FROM table_name_40 WHERE venue = \"canberra stadium\""
} |
What is the venue of the match with cronulla sharks as the opponent? | CREATE TABLE table_name_87 (venue VARCHAR, opponent VARCHAR) | {
"SQL_Query": "SELECT venue FROM table_name_87 WHERE opponent = \"cronulla sharks\""
} |
Who is the opponent at toyota stadium? | CREATE TABLE table_name_75 (opponent VARCHAR, venue VARCHAR) | {
"SQL_Query": "SELECT opponent FROM table_name_75 WHERE venue = \"toyota stadium\""
} |
What is the score of the match with the sydney roosters as the opponent? | CREATE TABLE table_name_83 (score VARCHAR, opponent VARCHAR) | {
"SQL_Query": "SELECT score FROM table_name_83 WHERE opponent = \"sydney roosters\""
} |
What is the venue of the match with the cronulla sharks as the opponent? | CREATE TABLE table_name_49 (venue VARCHAR, opponent VARCHAR) | {
"SQL_Query": "SELECT venue FROM table_name_49 WHERE opponent = \"cronulla sharks\""
} |
What Location Attendance has a Game of 4? | CREATE TABLE table_name_9 (location_attendance VARCHAR, game VARCHAR) | {
"SQL_Query": "SELECT location_attendance FROM table_name_9 WHERE game = \"4\""
} |
What Date has a Location Attendance of reunion arena? | CREATE TABLE table_name_44 (date VARCHAR, location_attendance VARCHAR) | {
"SQL_Query": "SELECT date FROM table_name_44 WHERE location_attendance = \"reunion arena\""
} |
What Record has a Location Attendance of delta center, and an Opponent of vs vancouver grizzlies? | CREATE TABLE table_name_68 (record VARCHAR, location_attendance VARCHAR, opponent VARCHAR) | {
"SQL_Query": "SELECT record FROM table_name_68 WHERE location_attendance = \"delta center\" AND opponent = \"vs vancouver grizzlies\""
} |
What Location Attendance has an Opponent of at denver nuggets? | CREATE TABLE table_name_66 (location_attendance VARCHAR, opponent VARCHAR) | {
"SQL_Query": "SELECT location_attendance FROM table_name_66 WHERE opponent = \"at denver nuggets\""
} |
What Record has an Opponent of vs washington wizards? | CREATE TABLE table_name_99 (record VARCHAR, opponent VARCHAR) | {
"SQL_Query": "SELECT record FROM table_name_99 WHERE opponent = \"vs washington wizards\""
} |
What Location Attendance has a Game of 14? | CREATE TABLE table_name_91 (location_attendance VARCHAR, game VARCHAR) | {
"SQL_Query": "SELECT location_attendance FROM table_name_91 WHERE game = \"14\""
} |
What was the final score of the game against shingo kunieda maikel scheffers when robin ammerlaan was Ronald Vink's partner? | CREATE TABLE table_name_86 (score_in_final VARCHAR, partnering VARCHAR, opponents_in_final VARCHAR) | {
"SQL_Query": "SELECT score_in_final FROM table_name_86 WHERE partnering = \"robin ammerlaan\" AND opponents_in_final = \"shingo kunieda maikel scheffers\""
} |
What championship tournament did Ronald Vink play in with maikel scheffers as his partner in 2007 against stephane houdet nicolas peiffer? | CREATE TABLE table_name_71 (championship VARCHAR, opponents_in_final VARCHAR, partnering VARCHAR, year VARCHAR) | {
"SQL_Query": "SELECT championship FROM table_name_71 WHERE partnering = \"maikel scheffers\" AND year > 2007 AND opponents_in_final = \"stephane houdet nicolas peiffer\""
} |
What is the screen size of the s45 (Australia only) Model with no bluetooth? | CREATE TABLE table_name_8 (screen_size VARCHAR, bluetooth VARCHAR, model VARCHAR) | {
"SQL_Query": "SELECT screen_size FROM table_name_8 WHERE bluetooth = \"no\" AND model = \"s45 (australia only)\""
} |
Does the S90i model have bluetooth? | CREATE TABLE table_name_31 (bluetooth VARCHAR, model VARCHAR) | {
"SQL_Query": "SELECT bluetooth FROM table_name_31 WHERE model = \"s90i\""
} |
Does the s35 model have bluetooth? | CREATE TABLE table_name_31 (bluetooth VARCHAR, model VARCHAR) | {
"SQL_Query": "SELECT bluetooth FROM table_name_31 WHERE model = \"s35\""
} |
What is the height for club Havk Mladost? | CREATE TABLE table_name_49 (height VARCHAR, club VARCHAR) | {
"SQL_Query": "SELECT height FROM table_name_49 WHERE club = \"havk mladost\""
} |
What is the height for Nikola Franković? | CREATE TABLE table_name_45 (height VARCHAR, name VARCHAR) | {
"SQL_Query": "SELECT height FROM table_name_45 WHERE name = \"nikola franković\""
} |
What is the weight of Damir Burić? | CREATE TABLE table_name_95 (weight VARCHAR, name VARCHAR) | {
"SQL_Query": "SELECT weight FROM table_name_95 WHERE name = \"damir burić\""
} |
What is Total, when Rank Points is "15", and when Event is "WC Beijing"? | CREATE TABLE table_name_70 (total VARCHAR, rank_points VARCHAR, event VARCHAR) | {
"SQL_Query": "SELECT total FROM table_name_70 WHERE rank_points = \"15\" AND event = \"wc beijing\""
} |
What is Score Points, when Event is "WC Rio De Janeiro", and when Rank Points is "10"? | CREATE TABLE table_name_12 (score_points VARCHAR, event VARCHAR, rank_points VARCHAR) | {
"SQL_Query": "SELECT score_points FROM table_name_12 WHERE event = \"wc rio de janeiro\" AND rank_points = \"10\""
} |
What is Shooter, when Total is "21"? | CREATE TABLE table_name_51 (shooter VARCHAR, total VARCHAR) | {
"SQL_Query": "SELECT shooter FROM table_name_51 WHERE total = \"21\""
} |
What is Score Points, when Shooter is "Sandra Kolly ( SUI )"? | CREATE TABLE table_name_81 (score_points VARCHAR, shooter VARCHAR) | {
"SQL_Query": "SELECT score_points FROM table_name_81 WHERE shooter = \"sandra kolly ( sui )\""
} |
What is Rank Points, when Event is "WC Milan", and when Shooter is "Lalita Yauhleuskaya ( AUS )"? | CREATE TABLE table_name_77 (rank_points VARCHAR, event VARCHAR, shooter VARCHAR) | {
"SQL_Query": "SELECT rank_points FROM table_name_77 WHERE event = \"wc milan\" AND shooter = \"lalita yauhleuskaya ( aus )\""
} |
What is Rank Points, when Total is "17", and when Shooter is "Lalita Yauhleuskaya ( AUS )"? | CREATE TABLE table_name_12 (rank_points VARCHAR, total VARCHAR, shooter VARCHAR) | {
"SQL_Query": "SELECT rank_points FROM table_name_12 WHERE total = \"17\" AND shooter = \"lalita yauhleuskaya ( aus )\""
} |
Which Artist is listed as having Top 6 in Week | CREATE TABLE table_name_32 (artist VARCHAR, week VARCHAR) | {
"SQL_Query": "SELECT artist FROM table_name_32 WHERE week = \"top 6\""
} |
Which song was sung by Artist Luther Vandross in the Week Top 20? | CREATE TABLE table_name_17 (song_sung VARCHAR, artist VARCHAR, week VARCHAR) | {
"SQL_Query": "SELECT song_sung FROM table_name_17 WHERE artist = \"luther vandross\" AND week = \"top 20\""
} |
Which Artist has a Week of Top 12? | CREATE TABLE table_name_54 (artist VARCHAR, week VARCHAR) | {
"SQL_Query": "SELECT artist FROM table_name_54 WHERE week = \"top 12\""
} |
What Status does Freddie Jackson have? | CREATE TABLE table_name_32 (status VARCHAR, artist VARCHAR) | {
"SQL_Query": "SELECT status FROM table_name_32 WHERE artist = \"freddie jackson\""
} |
Which Song Sung has a Status of Eliminated? | CREATE TABLE table_name_14 (song_sung VARCHAR, status VARCHAR) | {
"SQL_Query": "SELECT song_sung FROM table_name_14 WHERE status = \"eliminated\""
} |
What is the place of the player with a 71-69-66=206 score? | CREATE TABLE table_name_95 (place VARCHAR, score VARCHAR) | {
"SQL_Query": "SELECT place FROM table_name_95 WHERE score = 71 - 69 - 66 = 206"
} |
What is the place of the player with a 71-66-64=201 score? | CREATE TABLE table_name_44 (place VARCHAR, score VARCHAR) | {
"SQL_Query": "SELECT place FROM table_name_44 WHERE score = 71 - 66 - 64 = 201"
} |
What is the to par of player peter senior? | CREATE TABLE table_name_91 (to_par VARCHAR, player VARCHAR) | {
"SQL_Query": "SELECT to_par FROM table_name_91 WHERE player = \"peter senior\""
} |
What is Finalist, when Year is "2008"? | CREATE TABLE table_name_30 (finalist VARCHAR, year VARCHAR) | {
"SQL_Query": "SELECT finalist FROM table_name_30 WHERE year = 2008"
} |
What is Place, when Year is greater than 2006, and when Champion is "Asvel"? | CREATE TABLE table_name_37 (place VARCHAR, year VARCHAR, champion VARCHAR) | {
"SQL_Query": "SELECT place FROM table_name_37 WHERE year > 2006 AND champion = \"asvel\""
} |
What is Champion, when Year is greater than 2007, and when Finalist is "Asvel"? | CREATE TABLE table_name_71 (champion VARCHAR, year VARCHAR, finalist VARCHAR) | {
"SQL_Query": "SELECT champion FROM table_name_71 WHERE year > 2007 AND finalist = \"asvel\""
} |
What is 2nd Party, when Election is "1865"? | CREATE TABLE table_name_82 (election VARCHAR) | {
"SQL_Query": "SELECT 2 AS nd_party FROM table_name_82 WHERE election = \"1865\""
} |
What is First Member, when Election is "1871 by-election"? | CREATE TABLE table_name_95 (first_member VARCHAR, election VARCHAR) | {
"SQL_Query": "SELECT first_member FROM table_name_95 WHERE election = \"1871 by-election\""
} |
What is 1st Party, when First Member is "Peter John Locke King", and when Second Member is "James Watney"? | CREATE TABLE table_name_18 (first_member VARCHAR, second_member VARCHAR) | {
"SQL_Query": "SELECT 1 AS st_party FROM table_name_18 WHERE first_member = \"peter john locke king\" AND second_member = \"james watney\""
} |
What is Second Member, when Election is "1835"? | CREATE TABLE table_name_99 (second_member VARCHAR, election VARCHAR) | {
"SQL_Query": "SELECT second_member FROM table_name_99 WHERE election = \"1835\""
} |
How much Played has Goals Against of 45, and Goals For smaller than 65? | CREATE TABLE table_name_64 (played INTEGER, goals_against VARCHAR, goals_for VARCHAR) | {
"SQL_Query": "SELECT SUM(played) FROM table_name_64 WHERE goals_against = 45 AND goals_for < 65"
} |
How many Goals Against have a Position of 4? | CREATE TABLE table_name_40 (goals_against VARCHAR, position VARCHAR) | {
"SQL_Query": "SELECT COUNT(goals_against) FROM table_name_40 WHERE position = 4"
} |
What is the highest total when bronze is less than 1 and gold more than 0? | CREATE TABLE table_name_65 (total INTEGER, bronze VARCHAR, gold VARCHAR) | {
"SQL_Query": "SELECT MAX(total) FROM table_name_65 WHERE bronze < 1 AND gold > 0"
} |
what is the sum of bronze when the rank is 5, the nation is poland and gold is less than 0? | CREATE TABLE table_name_89 (bronze INTEGER, gold VARCHAR, rank VARCHAR, nation VARCHAR) | {
"SQL_Query": "SELECT SUM(bronze) FROM table_name_89 WHERE rank = 5 AND nation = \"poland\" AND gold < 0"
} |
what is the sum of silver when the rank is 3, nation is france and bronze is less than 0? | CREATE TABLE table_name_99 (silver INTEGER, bronze VARCHAR, rank VARCHAR, nation VARCHAR) | {
"SQL_Query": "SELECT SUM(silver) FROM table_name_99 WHERE rank = 3 AND nation = \"france\" AND bronze < 0"
} |
How many times is the nation china and bronze more than 0? | CREATE TABLE table_name_4 (rank VARCHAR, nation VARCHAR, bronze VARCHAR) | {
"SQL_Query": "SELECT COUNT(rank) FROM table_name_4 WHERE nation = \"china\" AND bronze > 0"
} |
How many times is the rank higher than 3 and bronze more than 1? | CREATE TABLE table_name_82 (gold VARCHAR, rank VARCHAR, bronze VARCHAR) | {
"SQL_Query": "SELECT COUNT(gold) FROM table_name_82 WHERE rank > 3 AND bronze > 1"
} |
what is the least silver when bronze is 1, rank is less than 2 and gold is more than 4? | CREATE TABLE table_name_98 (silver INTEGER, gold VARCHAR, bronze VARCHAR, rank VARCHAR) | {
"SQL_Query": "SELECT MIN(silver) FROM table_name_98 WHERE bronze = 1 AND rank < 2 AND gold > 4"
} |
What is the average value for Draws, when Against is "2177", and when Byes is less than 4? | CREATE TABLE table_name_2 (draws INTEGER, against VARCHAR, byes VARCHAR) | {
"SQL_Query": "SELECT AVG(draws) FROM table_name_2 WHERE against = 2177 AND byes < 4"
} |
What is the total number of Losses, when Wins is "16", and when Against is less than 772? | CREATE TABLE table_name_22 (losses VARCHAR, wins VARCHAR, against VARCHAR) | {
"SQL_Query": "SELECT COUNT(losses) FROM table_name_22 WHERE wins = 16 AND against < 772"
} |
What is the lowest value for Draws, when Losses is "0", and when Byes is greater than 4? | CREATE TABLE table_name_12 (draws INTEGER, losses VARCHAR, byes VARCHAR) | {
"SQL_Query": "SELECT MIN(draws) FROM table_name_12 WHERE losses = 0 AND byes > 4"
} |
What is the highest value for Byes, when Wins is less than 16, when Benalla DFL is "Swanpool", and when Against is less than 2177? | CREATE TABLE table_name_64 (byes INTEGER, against VARCHAR, wins VARCHAR, benalla_dfl VARCHAR) | {
"SQL_Query": "SELECT MAX(byes) FROM table_name_64 WHERE wins < 16 AND benalla_dfl = \"swanpool\" AND against < 2177"
} |
What is the highest value for Byes, when Against is less than 1794, when Losses is "6", and when Draws is less than 0? | CREATE TABLE table_name_61 (byes INTEGER, draws VARCHAR, against VARCHAR, losses VARCHAR) | {
"SQL_Query": "SELECT MAX(byes) FROM table_name_61 WHERE against < 1794 AND losses = 6 AND draws < 0"
} |
what is the teams for season 1950-51? | CREATE TABLE table_name_89 (teams VARCHAR, season VARCHAR) | {
"SQL_Query": "SELECT teams FROM table_name_89 WHERE season = \"1950-51\""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.