instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: What Position has a Time of 3:01.78? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (position VARCHAR, time VARCHAR) | SELECT position FROM table_name_78 WHERE time = "3:01.78" |
Write a SQL query that answers the following question: What Event has a Competition of world championships? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (event VARCHAR, competition VARCHAR) | SELECT event FROM table_name_77 WHERE competition = "world championships" |
Write a SQL query that answers the following question: What Time has a Year of 1984? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (time VARCHAR, year VARCHAR) | SELECT time FROM table_name_77 WHERE year = 1984 |
Write a SQL query that answers the following question: What Competition has a Year smaller than 1983? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (competition VARCHAR, year INTEGER) | SELECT competition FROM table_name_52 WHERE year < 1983 |
Write a SQL query that answers the following question: What is the Weight of the Senior Player with a Height of 6–10? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (weight INTEGER, year VARCHAR, height VARCHAR) | SELECT SUM(weight) FROM table_name_78 WHERE year = "senior" AND height = "6–10" |
Write a SQL query that answers the following question: What is the Year of the Player with a Weight of 230 or less from San Antonio, Texas? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (year VARCHAR, weight VARCHAR, home_town VARCHAR) | SELECT year FROM table_name_20 WHERE weight < 230 AND home_town = "san antonio, texas" |
Write a SQL query that answers the following question: What is the Height of the Sophomore Guard weighing 185? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (height VARCHAR, weight VARCHAR, year VARCHAR, position VARCHAR) | SELECT height FROM table_name_54 WHERE year = "sophomore" AND position = "guard" AND weight = 185 |
Write a SQL query that answers the following question: What is the Year of the Player weighing 185? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (year VARCHAR, weight VARCHAR) | SELECT year FROM table_name_45 WHERE weight = 185 |
Write a SQL query that answers the following question: Which club is located in Thomson, Victoria? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (club VARCHAR, location VARCHAR) | SELECT club FROM table_name_15 WHERE location = "thomson, victoria" |
Write a SQL query that answers the following question: What is the nickname of the team who was in the GFL from 1986-1988? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (nickname VARCHAR, years_in_gfl VARCHAR) | SELECT nickname FROM table_name_25 WHERE years_in_gfl = "1986-1988" |
Write a SQL query that answers the following question: Which location did the Tigers have? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (location VARCHAR, nickname VARCHAR) | SELECT location FROM table_name_90 WHERE nickname = "tigers" |
Write a SQL query that answers the following question: What was the nickname of the team in the Geelong West Cricket & Football Club? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (nickname VARCHAR, club VARCHAR) | SELECT nickname FROM table_name_59 WHERE club = "geelong west cricket & football club" |
Write a SQL query that answers the following question: What GLF Premiership did the Magpies have? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (gfl_premierships VARCHAR, nickname VARCHAR) | SELECT gfl_premierships FROM table_name_70 WHERE nickname = "magpies" |
Write a SQL query that answers the following question: What was the nickname of the team in the East Geelong club? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (nickname VARCHAR, club VARCHAR) | SELECT nickname FROM table_name_93 WHERE club = "east geelong" |
Write a SQL query that answers the following question: What year has a winning finish of T27? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (year_s__won VARCHAR, finish VARCHAR) | SELECT year_s__won FROM table_name_6 WHERE finish = "t27" |
Write a SQL query that answers the following question: What was the finish for England? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (finish VARCHAR, country VARCHAR) | SELECT finish FROM table_name_76 WHERE country = "england" |
Write a SQL query that answers the following question: What county won in 1991? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (country VARCHAR, year_s__won VARCHAR) | SELECT country FROM table_name_14 WHERE year_s__won = "1991" |
Write a SQL query that answers the following question: What is the highest total to par of +9? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (total INTEGER, to_par VARCHAR) | SELECT MAX(total) FROM table_name_40 WHERE to_par = "+9" |
Write a SQL query that answers the following question: What Status has Against of 12? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (status VARCHAR, against VARCHAR) | SELECT status FROM table_name_77 WHERE against = 12 |
Write a SQL query that answers the following question: What Venue has a Date of 17/03/1990? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (venue VARCHAR, date VARCHAR) | SELECT venue FROM table_name_46 WHERE date = "17/03/1990" |
Write a SQL query that answers the following question: How many weeks had an Attendance of 43,272? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (week VARCHAR, attendance VARCHAR) | SELECT COUNT(week) FROM table_name_30 WHERE attendance = "43,272" |
Write a SQL query that answers the following question: Who played on december 12, 1993? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_37 WHERE date = "december 12, 1993" |
Write a SQL query that answers the following question: What day was United States the opposing team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (date VARCHAR, opposing_team VARCHAR) | SELECT date FROM table_name_92 WHERE opposing_team = "united states" |
Write a SQL query that answers the following question: What was the opposing team for the second test? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (opposing_team VARCHAR, status VARCHAR) | SELECT opposing_team FROM table_name_5 WHERE status = "second test" |
Write a SQL query that answers the following question: What was the opposing team for the second test? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (opposing_team VARCHAR, status VARCHAR) | SELECT opposing_team FROM table_name_30 WHERE status = "second test" |
Write a SQL query that answers the following question: What round was in canberra stadium? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (round VARCHAR, venue VARCHAR) | SELECT round FROM table_name_40 WHERE venue = "canberra stadium" |
Write a SQL query that answers the following question: What is the venue of the match with cronulla sharks as the opponent? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (venue VARCHAR, opponent VARCHAR) | SELECT venue FROM table_name_87 WHERE opponent = "cronulla sharks" |
Write a SQL query that answers the following question: Who is the opponent at toyota stadium? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (opponent VARCHAR, venue VARCHAR) | SELECT opponent FROM table_name_75 WHERE venue = "toyota stadium" |
Write a SQL query that answers the following question: What is the score of the match with the sydney roosters as the opponent? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (score VARCHAR, opponent VARCHAR) | SELECT score FROM table_name_83 WHERE opponent = "sydney roosters" |
Write a SQL query that answers the following question: What is the venue of the match with the cronulla sharks as the opponent? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (venue VARCHAR, opponent VARCHAR) | SELECT venue FROM table_name_49 WHERE opponent = "cronulla sharks" |
Write a SQL query that answers the following question: What Location Attendance has a Game of 4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (location_attendance VARCHAR, game VARCHAR) | SELECT location_attendance FROM table_name_9 WHERE game = "4" |
Write a SQL query that answers the following question: What Date has a Location Attendance of reunion arena? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (date VARCHAR, location_attendance VARCHAR) | SELECT date FROM table_name_44 WHERE location_attendance = "reunion arena" |
Write a SQL query that answers the following question: What Record has a Location Attendance of delta center, and an Opponent of vs vancouver grizzlies? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (record VARCHAR, location_attendance VARCHAR, opponent VARCHAR) | SELECT record FROM table_name_68 WHERE location_attendance = "delta center" AND opponent = "vs vancouver grizzlies" |
Write a SQL query that answers the following question: What Location Attendance has an Opponent of at denver nuggets? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (location_attendance VARCHAR, opponent VARCHAR) | SELECT location_attendance FROM table_name_66 WHERE opponent = "at denver nuggets" |
Write a SQL query that answers the following question: What Record has an Opponent of vs washington wizards? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (record VARCHAR, opponent VARCHAR) | SELECT record FROM table_name_99 WHERE opponent = "vs washington wizards" |
Write a SQL query that answers the following question: What Location Attendance has a Game of 14? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (location_attendance VARCHAR, game VARCHAR) | SELECT location_attendance FROM table_name_91 WHERE game = "14" |
Write a SQL query that answers the following question: What was the final score of the game against shingo kunieda maikel scheffers when robin ammerlaan was Ronald Vink's partner? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (score_in_final VARCHAR, partnering VARCHAR, opponents_in_final VARCHAR) | SELECT score_in_final FROM table_name_86 WHERE partnering = "robin ammerlaan" AND opponents_in_final = "shingo kunieda maikel scheffers" |
Write a SQL query that answers the following question: What championship tournament did Ronald Vink play in with maikel scheffers as his partner in 2007 against stephane houdet nicolas peiffer? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (championship VARCHAR, opponents_in_final VARCHAR, partnering VARCHAR, year VARCHAR) | SELECT championship FROM table_name_71 WHERE partnering = "maikel scheffers" AND year > 2007 AND opponents_in_final = "stephane houdet nicolas peiffer" |
Write a SQL query that answers the following question: What is the screen size of the s45 (Australia only) Model with no bluetooth? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (screen_size VARCHAR, bluetooth VARCHAR, model VARCHAR) | SELECT screen_size FROM table_name_8 WHERE bluetooth = "no" AND model = "s45 (australia only)" |
Write a SQL query that answers the following question: Does the S90i model have bluetooth? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (bluetooth VARCHAR, model VARCHAR) | SELECT bluetooth FROM table_name_31 WHERE model = "s90i" |
Write a SQL query that answers the following question: Does the s35 model have bluetooth? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (bluetooth VARCHAR, model VARCHAR) | SELECT bluetooth FROM table_name_31 WHERE model = "s35" |
Write a SQL query that answers the following question: What is the height for club Havk Mladost? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (height VARCHAR, club VARCHAR) | SELECT height FROM table_name_49 WHERE club = "havk mladost" |
Write a SQL query that answers the following question: What is the height for Nikola Franković? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (height VARCHAR, name VARCHAR) | SELECT height FROM table_name_45 WHERE name = "nikola franković" |
Write a SQL query that answers the following question: What is the weight of Damir Burić? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (weight VARCHAR, name VARCHAR) | SELECT weight FROM table_name_95 WHERE name = "damir burić" |
Write a SQL query that answers the following question: What is Total, when Rank Points is "15", and when Event is "WC Beijing"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (total VARCHAR, rank_points VARCHAR, event VARCHAR) | SELECT total FROM table_name_70 WHERE rank_points = "15" AND event = "wc beijing" |
Write a SQL query that answers the following question: What is Score Points, when Event is "WC Rio De Janeiro", and when Rank Points is "10"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (score_points VARCHAR, event VARCHAR, rank_points VARCHAR) | SELECT score_points FROM table_name_12 WHERE event = "wc rio de janeiro" AND rank_points = "10" |
Write a SQL query that answers the following question: What is Shooter, when Total is "21"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (shooter VARCHAR, total VARCHAR) | SELECT shooter FROM table_name_51 WHERE total = "21" |
Write a SQL query that answers the following question: What is Score Points, when Shooter is "Sandra Kolly ( SUI )"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (score_points VARCHAR, shooter VARCHAR) | SELECT score_points FROM table_name_81 WHERE shooter = "sandra kolly ( sui )" |
Write a SQL query that answers the following question: What is Rank Points, when Event is "WC Milan", and when Shooter is "Lalita Yauhleuskaya ( AUS )"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (rank_points VARCHAR, event VARCHAR, shooter VARCHAR) | SELECT rank_points FROM table_name_77 WHERE event = "wc milan" AND shooter = "lalita yauhleuskaya ( aus )" |
Write a SQL query that answers the following question: What is Rank Points, when Total is "17", and when Shooter is "Lalita Yauhleuskaya ( AUS )"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (rank_points VARCHAR, total VARCHAR, shooter VARCHAR) | SELECT rank_points FROM table_name_12 WHERE total = "17" AND shooter = "lalita yauhleuskaya ( aus )" |
Write a SQL query that answers the following question: Which Artist is listed as having Top 6 in Week | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (artist VARCHAR, week VARCHAR) | SELECT artist FROM table_name_32 WHERE week = "top 6" |
Write a SQL query that answers the following question: Which song was sung by Artist Luther Vandross in the Week Top 20? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (song_sung VARCHAR, artist VARCHAR, week VARCHAR) | SELECT song_sung FROM table_name_17 WHERE artist = "luther vandross" AND week = "top 20" |
Write a SQL query that answers the following question: Which Artist has a Week of Top 12? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (artist VARCHAR, week VARCHAR) | SELECT artist FROM table_name_54 WHERE week = "top 12" |
Write a SQL query that answers the following question: What Status does Freddie Jackson have? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (status VARCHAR, artist VARCHAR) | SELECT status FROM table_name_32 WHERE artist = "freddie jackson" |
Write a SQL query that answers the following question: Which Song Sung has a Status of Eliminated? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (song_sung VARCHAR, status VARCHAR) | SELECT song_sung FROM table_name_14 WHERE status = "eliminated" |
Write a SQL query that answers the following question: What is the place of the player with a 71-69-66=206 score? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (place VARCHAR, score VARCHAR) | SELECT place FROM table_name_95 WHERE score = 71 - 69 - 66 = 206 |
Write a SQL query that answers the following question: What is the place of the player with a 71-66-64=201 score? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (place VARCHAR, score VARCHAR) | SELECT place FROM table_name_44 WHERE score = 71 - 66 - 64 = 201 |
Write a SQL query that answers the following question: What is the to par of player peter senior? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (to_par VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_91 WHERE player = "peter senior" |
Write a SQL query that answers the following question: What is Finalist, when Year is "2008"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (finalist VARCHAR, year VARCHAR) | SELECT finalist FROM table_name_30 WHERE year = 2008 |
Write a SQL query that answers the following question: What is Place, when Year is greater than 2006, and when Champion is "Asvel"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (place VARCHAR, year VARCHAR, champion VARCHAR) | SELECT place FROM table_name_37 WHERE year > 2006 AND champion = "asvel" |
Write a SQL query that answers the following question: What is Champion, when Year is greater than 2007, and when Finalist is "Asvel"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (champion VARCHAR, year VARCHAR, finalist VARCHAR) | SELECT champion FROM table_name_71 WHERE year > 2007 AND finalist = "asvel" |
Write a SQL query that answers the following question: What is 2nd Party, when Election is "1865"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (election VARCHAR) | SELECT 2 AS nd_party FROM table_name_82 WHERE election = "1865" |
Write a SQL query that answers the following question: What is First Member, when Election is "1871 by-election"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (first_member VARCHAR, election VARCHAR) | SELECT first_member FROM table_name_95 WHERE election = "1871 by-election" |
Write a SQL query that answers the following question: What is 1st Party, when First Member is "Peter John Locke King", and when Second Member is "James Watney"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (first_member VARCHAR, second_member VARCHAR) | SELECT 1 AS st_party FROM table_name_18 WHERE first_member = "peter john locke king" AND second_member = "james watney" |
Write a SQL query that answers the following question: What is Second Member, when Election is "1835"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (second_member VARCHAR, election VARCHAR) | SELECT second_member FROM table_name_99 WHERE election = "1835" |
Write a SQL query that answers the following question: How much Played has Goals Against of 45, and Goals For smaller than 65? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (played INTEGER, goals_against VARCHAR, goals_for VARCHAR) | SELECT SUM(played) FROM table_name_64 WHERE goals_against = 45 AND goals_for < 65 |
Write a SQL query that answers the following question: How many Goals Against have a Position of 4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (goals_against VARCHAR, position VARCHAR) | SELECT COUNT(goals_against) FROM table_name_40 WHERE position = 4 |
Write a SQL query that answers the following question: What is the highest total when bronze is less than 1 and gold more than 0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (total INTEGER, bronze VARCHAR, gold VARCHAR) | SELECT MAX(total) FROM table_name_65 WHERE bronze < 1 AND gold > 0 |
Write a SQL query that answers the following question: what is the sum of bronze when the rank is 5, the nation is poland and gold is less than 0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (bronze INTEGER, gold VARCHAR, rank VARCHAR, nation VARCHAR) | SELECT SUM(bronze) FROM table_name_89 WHERE rank = 5 AND nation = "poland" AND gold < 0 |
Write a SQL query that answers the following question: what is the sum of silver when the rank is 3, nation is france and bronze is less than 0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (silver INTEGER, bronze VARCHAR, rank VARCHAR, nation VARCHAR) | SELECT SUM(silver) FROM table_name_99 WHERE rank = 3 AND nation = "france" AND bronze < 0 |
Write a SQL query that answers the following question: How many times is the nation china and bronze more than 0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (rank VARCHAR, nation VARCHAR, bronze VARCHAR) | SELECT COUNT(rank) FROM table_name_4 WHERE nation = "china" AND bronze > 0 |
Write a SQL query that answers the following question: How many times is the rank higher than 3 and bronze more than 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (gold VARCHAR, rank VARCHAR, bronze VARCHAR) | SELECT COUNT(gold) FROM table_name_82 WHERE rank > 3 AND bronze > 1 |
Write a SQL query that answers the following question: what is the least silver when bronze is 1, rank is less than 2 and gold is more than 4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (silver INTEGER, gold VARCHAR, bronze VARCHAR, rank VARCHAR) | SELECT MIN(silver) FROM table_name_98 WHERE bronze = 1 AND rank < 2 AND gold > 4 |
Write a SQL query that answers the following question: What is the average value for Draws, when Against is "2177", and when Byes is less than 4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (draws INTEGER, against VARCHAR, byes VARCHAR) | SELECT AVG(draws) FROM table_name_2 WHERE against = 2177 AND byes < 4 |
Write a SQL query that answers the following question: What is the total number of Losses, when Wins is "16", and when Against is less than 772? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (losses VARCHAR, wins VARCHAR, against VARCHAR) | SELECT COUNT(losses) FROM table_name_22 WHERE wins = 16 AND against < 772 |
Write a SQL query that answers the following question: What is the lowest value for Draws, when Losses is "0", and when Byes is greater than 4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (draws INTEGER, losses VARCHAR, byes VARCHAR) | SELECT MIN(draws) FROM table_name_12 WHERE losses = 0 AND byes > 4 |
Write a SQL query that answers the following question: 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? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (byes INTEGER, against VARCHAR, wins VARCHAR, benalla_dfl VARCHAR) | SELECT MAX(byes) FROM table_name_64 WHERE wins < 16 AND benalla_dfl = "swanpool" AND against < 2177 |
Write a SQL query that answers the following question: What is the highest value for Byes, when Against is less than 1794, when Losses is "6", and when Draws is less than 0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (byes INTEGER, draws VARCHAR, against VARCHAR, losses VARCHAR) | SELECT MAX(byes) FROM table_name_61 WHERE against < 1794 AND losses = 6 AND draws < 0 |
Write a SQL query that answers the following question: what is the teams for season 1950-51? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (teams VARCHAR, season VARCHAR) | SELECT teams FROM table_name_89 WHERE season = "1950-51" |
Write a SQL query that answers the following question: What is the league for season 1955-56? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (league VARCHAR, season VARCHAR) | SELECT league FROM table_name_93 WHERE season = "1955-56" |
Write a SQL query that answers the following question: What is the drafted year when the FCSL Team was Winter Park, in the 4th round? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (year_drafted INTEGER, fcsl_team VARCHAR, round VARCHAR) | SELECT MAX(year_drafted) FROM table_name_9 WHERE fcsl_team = "winter park" AND round = "4th" |
Write a SQL query that answers the following question: What is the FCSL Team when the MLB Team is Toronto Blue Jays, in the 4th round? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (fcsl_team VARCHAR, mlb_team VARCHAR, round VARCHAR) | SELECT fcsl_team FROM table_name_22 WHERE mlb_team = "toronto blue jays" AND round = "4th" |
Write a SQL query that answers the following question: What was John Fought's score? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (score VARCHAR, player VARCHAR) | SELECT score FROM table_name_96 WHERE player = "john fought" |
Write a SQL query that answers the following question: What is the to par of the player from Argentina with a t8 place? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (to_par VARCHAR, place VARCHAR, country VARCHAR) | SELECT to_par FROM table_name_5 WHERE place = "t8" AND country = "argentina" |
Write a SQL query that answers the following question: How much money does the player with a 68-67-69-71=275 score have? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (money___£__ VARCHAR, score VARCHAR) | SELECT money___£__ FROM table_name_62 WHERE score = 68 - 67 - 69 - 71 = 275 |
Write a SQL query that answers the following question: What is the country of t1 place player wayne grady? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (country VARCHAR, place VARCHAR, player VARCHAR) | SELECT country FROM table_name_9 WHERE place = "t1" AND player = "wayne grady" |
Write a SQL query that answers the following question: How much money does the player with a 68-71-68-72=279 score have? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (money___£__ VARCHAR, score VARCHAR) | SELECT money___£__ FROM table_name_78 WHERE score = 68 - 71 - 68 - 72 = 279 |
Write a SQL query that answers the following question: How much money does the player with a 69-70-72-64=275 score have? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (money___£__ VARCHAR, score VARCHAR) | SELECT money___£__ FROM table_name_20 WHERE score = 69 - 70 - 72 - 64 = 275 |
Write a SQL query that answers the following question: What was the money when the place was t8 and the score was 74-72-75-71=292? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (money___$__ VARCHAR, place VARCHAR, score VARCHAR) | SELECT money___$__ FROM table_name_21 WHERE place = "t8" AND score = 74 - 72 - 75 - 71 = 292 |
Write a SQL query that answers the following question: What was the average money when the score was 74-72-75-71=292? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (money___ INTEGER, score VARCHAR) | SELECT AVG(money___) AS $__ FROM table_name_82 WHERE score = 74 - 72 - 75 - 71 = 292 |
Write a SQL query that answers the following question: What was Tim Simpson's place? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (place VARCHAR, player VARCHAR) | SELECT place FROM table_name_94 WHERE player = "tim simpson" |
Write a SQL query that answers the following question: What country placed 3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (country VARCHAR, place VARCHAR) | SELECT country FROM table_name_16 WHERE place = "3" |
Write a SQL query that answers the following question: What is the average Barrow Island Australia when Draugen north sea is 17 and Mutineer-Exeter Australia is smaller than 6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (barrow_island_australia INTEGER, draugen_north_sea VARCHAR, mutineer_exeter_australia VARCHAR) | SELECT AVG(barrow_island_australia) FROM table_name_94 WHERE draugen_north_sea = 17 AND mutineer_exeter_australia < 6 |
Write a SQL query that answers the following question: What is the highest CPC blend Kazakhstan number when Barrow Island Australia is smaller than 12? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (cpc_blend_kazakhstan INTEGER, barrow_island_australia INTEGER) | SELECT MAX(cpc_blend_kazakhstan) FROM table_name_48 WHERE barrow_island_australia < 12 |
Write a SQL query that answers the following question: What is the lowest CPC Blend Kazakhstan number when Draugen North Sea is 17? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (cpc_blend_kazakhstan INTEGER, draugen_north_sea VARCHAR) | SELECT MIN(cpc_blend_kazakhstan) FROM table_name_38 WHERE draugen_north_sea = 17 |
Write a SQL query that answers the following question: What race did eugenio silvani win? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (name VARCHAR, winning_driver VARCHAR) | SELECT name FROM table_name_7 WHERE winning_driver = "eugenio silvani" |
Write a SQL query that answers the following question: Which race did Mercedes win? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (name VARCHAR, winning_constructor VARCHAR) | SELECT name FROM table_name_19 WHERE winning_constructor = "mercedes" |
Write a SQL query that answers the following question: Which circuit did alfa romeo win? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (circuit VARCHAR, winning_constructor VARCHAR) | SELECT circuit FROM table_name_41 WHERE winning_constructor = "alfa romeo" |
Write a SQL query that answers the following question: What is the number range for the 56 quantity? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (number_range VARCHAR, quantity VARCHAR) | SELECT number_range FROM table_name_60 WHERE quantity = "56" |
Write a SQL query that answers the following question: Which team in 1987 had a start of 28 and drove a chrysler? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (team VARCHAR, start VARCHAR, year VARCHAR, manufacturer VARCHAR) | SELECT team FROM table_name_39 WHERE year < 1987 AND manufacturer = "chrysler" AND start = "28" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.