instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: Which player is from Australia, and has a place of t9? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (player VARCHAR, place VARCHAR, country VARCHAR) | SELECT player FROM table_name_35 WHERE place = "t9" AND country = "australia" |
Write a SQL query that answers the following question: What was the place for player John Merrick? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (place VARCHAR, player VARCHAR) | SELECT place FROM table_name_52 WHERE player = "john merrick" |
Write a SQL query that answers the following question: Which country had a place of t1, as well as a score of 72-68-70-73=283? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (country VARCHAR, place VARCHAR, score VARCHAR) | SELECT country FROM table_name_38 WHERE place = "t1" AND score = 72 - 68 - 70 - 73 = 283 |
Write a SQL query that answers the following question: What place has jack renner as the player? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (place VARCHAR, player VARCHAR) | SELECT place FROM table_name_48 WHERE player = "jack renner" |
Write a SQL query that answers the following question: What to par has The United States as the country, t8 as the place, and tommy valentine as the player? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (to_par VARCHAR, player VARCHAR, country VARCHAR, place VARCHAR) | SELECT to_par FROM table_name_77 WHERE country = "united states" AND place = "t8" AND player = "tommy valentine" |
Write a SQL query that answers the following question: What to par has 66 as the score? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (to_par VARCHAR, score VARCHAR) | SELECT to_par FROM table_name_56 WHERE score = 66 |
Write a SQL query that answers the following question: Mean of played with smaller than 7 conceded? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (played INTEGER, conceded INTEGER) | SELECT AVG(played) FROM table_name_62 WHERE conceded < 7 |
Write a SQL query that answers the following question: The highest position with more than 16 points and less than 7 concedes? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (position INTEGER, points VARCHAR, conceded VARCHAR) | SELECT MAX(position) FROM table_name_40 WHERE points > 16 AND conceded < 7 |
Write a SQL query that answers the following question: The highest draws with smaller than 9 played? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (draws INTEGER, played INTEGER) | SELECT MAX(draws) FROM table_name_32 WHERE played < 9 |
Write a SQL query that answers the following question: Which Home Town has a Took Office of 1983, and a District larger than 15? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (home_town VARCHAR, took_office VARCHAR, district VARCHAR) | SELECT home_town FROM table_name_60 WHERE took_office = 1983 AND district > 15 |
Write a SQL query that answers the following question: Which Senator has a Party of republican, a Home Town of houston, and a District of 7? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (senator VARCHAR, district VARCHAR, party VARCHAR, home_town VARCHAR) | SELECT senator FROM table_name_82 WHERE party = "republican" AND home_town = "houston" AND district = 7 |
Write a SQL query that answers the following question: Which Home Town has a Senator of dan shelley? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (home_town VARCHAR, senator VARCHAR) | SELECT home_town FROM table_name_78 WHERE senator = "dan shelley" |
Write a SQL query that answers the following question: Which Took Office has a Party of democratic, a Home Town of victoria, and a District smaller than 18? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (took_office VARCHAR, district VARCHAR, party VARCHAR, home_town VARCHAR) | SELECT COUNT(took_office) FROM table_name_81 WHERE party = "democratic" AND home_town = "victoria" AND district < 18 |
Write a SQL query that answers the following question: Which Took Office has a District of 29? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (took_office INTEGER, district VARCHAR) | SELECT AVG(took_office) FROM table_name_8 WHERE district = 29 |
Write a SQL query that answers the following question: What are the average Laps on Grid 15? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (laps INTEGER, grid VARCHAR) | SELECT AVG(laps) FROM table_name_88 WHERE grid = 15 |
Write a SQL query that answers the following question: What is the lowest number of Laps that have a Time of +24.440, and a Grid higher than 18? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (laps INTEGER, time VARCHAR, grid VARCHAR) | SELECT MIN(laps) FROM table_name_39 WHERE time = "+24.440" AND grid > 18 |
Write a SQL query that answers the following question: What is the highest number of Laps that have a Time of +18.366, and a Grid lower than 13? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (laps INTEGER, grid VARCHAR, time VARCHAR) | SELECT MAX(laps) FROM table_name_93 WHERE grid < 13 AND time = "+18.366" |
Write a SQL query that answers the following question: What is the lowest Wins, when Season is 2011, when Podiums is 1, and when Poles is less than 0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (wins INTEGER, poles VARCHAR, season VARCHAR, podiums VARCHAR) | SELECT MIN(wins) FROM table_name_37 WHERE season = "2011" AND podiums = 1 AND poles < 0 |
Write a SQL query that answers the following question: What is Position, when Points is greater than 7, and when Series is Toyota Racing Series? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (position VARCHAR, points VARCHAR, series VARCHAR) | SELECT position FROM table_name_3 WHERE points > 7 AND series = "toyota racing series" |
Write a SQL query that answers the following question: What is the sum of Races, when Series is Toyota Racing Series, and when Podiums is greater than 3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (races INTEGER, series VARCHAR, podiums VARCHAR) | SELECT SUM(races) FROM table_name_9 WHERE series = "toyota racing series" AND podiums > 3 |
Write a SQL query that answers the following question: What is the average Podiums, when Wins is greater than 1, when Races is 2, and when Points is greater than 150? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (podiums INTEGER, points VARCHAR, wins VARCHAR, races VARCHAR) | SELECT AVG(podiums) FROM table_name_47 WHERE wins > 1 AND races = 2 AND points > 150 |
Write a SQL query that answers the following question: What is the total number of Poles, when Position is 6th, and when Points is less than 164? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (poles VARCHAR, position VARCHAR, points VARCHAR) | SELECT COUNT(poles) FROM table_name_27 WHERE position = "6th" AND points < 164 |
Write a SQL query that answers the following question: Which is the earliest founded day school to have entered the competition after 1958? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (founded INTEGER, day_boarding VARCHAR, year_entered_competition VARCHAR) | SELECT MIN(founded) FROM table_name_64 WHERE day_boarding = "day" AND year_entered_competition > 1958 |
Write a SQL query that answers the following question: How many to par in England? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (to_par VARCHAR, country VARCHAR) | SELECT to_par FROM table_name_93 WHERE country = "england" |
Write a SQL query that answers the following question: Where is David Frost from? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (place VARCHAR, player VARCHAR) | SELECT place FROM table_name_38 WHERE player = "david frost" |
Write a SQL query that answers the following question: Which country earned place T3 with a score of 70-68=138? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (country VARCHAR, place VARCHAR, score VARCHAR) | SELECT country FROM table_name_18 WHERE place = "t3" AND score = 70 - 68 = 138 |
Write a SQL query that answers the following question: Which country had a score of 69-67=136? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (country VARCHAR, score VARCHAR) | SELECT country FROM table_name_5 WHERE score = 69 - 67 = 136 |
Write a SQL query that answers the following question: How many to par for Greg Norman? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (to_par VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_1 WHERE player = "greg norman" |
Write a SQL query that answers the following question: What was the high rebounds after game 14 for Denver? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (high_rebounds VARCHAR, game VARCHAR, team VARCHAR) | SELECT high_rebounds FROM table_name_74 WHERE game > 14 AND team = "denver" |
Write a SQL query that answers the following question: What was the latest game that Sacramento played? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (game INTEGER, team VARCHAR) | SELECT MAX(game) FROM table_name_26 WHERE team = "sacramento" |
Write a SQL query that answers the following question: What was the record of Utah? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (record VARCHAR, team VARCHAR) | SELECT record FROM table_name_65 WHERE team = "utah" |
Write a SQL query that answers the following question: What is the parent magazine of Dengeki g's festival! deluxe? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (parent_magazine VARCHAR, title VARCHAR) | SELECT parent_magazine FROM table_name_78 WHERE title = "dengeki g's festival! deluxe" |
Write a SQL query that answers the following question: How often does Dengeki girl's style come out? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (frequency VARCHAR, parent_magazine VARCHAR) | SELECT frequency FROM table_name_5 WHERE parent_magazine = "dengeki girl's style" |
Write a SQL query that answers the following question: What titles come out monthly? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (title VARCHAR, frequency VARCHAR) | SELECT title FROM table_name_72 WHERE frequency = "monthly" |
Write a SQL query that answers the following question: What is the parent magazine for Dengeki 5pb.? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (parent_magazine VARCHAR, title VARCHAR) | SELECT parent_magazine FROM table_name_42 WHERE title = "dengeki 5pb." |
Write a SQL query that answers the following question: What is the magazine type that ran from March 3, 2009–February 5, 2010? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (magazine_type VARCHAR, magazine_run VARCHAR) | SELECT magazine_type FROM table_name_94 WHERE magazine_run = "march 3, 2009–february 5, 2010" |
Write a SQL query that answers the following question: What is the frequency for the magazine that runs September 2, 2010? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (frequency VARCHAR, magazine_run VARCHAR) | SELECT frequency FROM table_name_62 WHERE magazine_run = "september 2, 2010" |
Write a SQL query that answers the following question: What is the highest number of laps with a +1:23.297 time/retired and a grid larger than 4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (laps INTEGER, time_retired VARCHAR, grid VARCHAR) | SELECT MAX(laps) FROM table_name_98 WHERE time_retired = "+1:23.297" AND grid > 4 |
Write a SQL query that answers the following question: What is the time/retired with a toyota constructor and a 5 grid? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (time_retired VARCHAR, constructor VARCHAR, grid VARCHAR) | SELECT time_retired FROM table_name_93 WHERE constructor = "toyota" AND grid = 5 |
Write a SQL query that answers the following question: What is the average number of laps with 16 grids? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (laps INTEGER, grid VARCHAR) | SELECT AVG(laps) FROM table_name_54 WHERE grid = 16 |
Write a SQL query that answers the following question: What was the endowment in 2008 of the college that was established in 1961? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (endowment_as_of_2008 VARCHAR, established VARCHAR) | SELECT endowment_as_of_2008 FROM table_name_55 WHERE established = 1961 |
Write a SQL query that answers the following question: On what day was the attendance that had a Tie value of 40? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (attendance VARCHAR, tie_no VARCHAR) | SELECT attendance FROM table_name_84 WHERE tie_no = "40" |
Write a SQL query that answers the following question: Who was the home team for the away game that Canvey Island played? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_6 WHERE away_team = "canvey island" |
Write a SQL query that answers the following question: On what day was there a Home game for Gillingham? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (attendance VARCHAR, home_team VARCHAR) | SELECT attendance FROM table_name_4 WHERE home_team = "gillingham" |
Write a SQL query that answers the following question: Which Pick has an Overall larger than 308, and a Position of rb? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (pick INTEGER, overall VARCHAR, position VARCHAR) | SELECT MAX(pick) FROM table_name_21 WHERE overall > 308 AND position = "rb" |
Write a SQL query that answers the following question: How much Overall has a Position of wr, and a College of alberta? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (overall INTEGER, position VARCHAR, college VARCHAR) | SELECT SUM(overall) FROM table_name_86 WHERE position = "wr" AND college = "alberta" |
Write a SQL query that answers the following question: What is indiana college's average pick? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (pick INTEGER, college VARCHAR) | SELECT AVG(pick) FROM table_name_51 WHERE college = "indiana" |
Write a SQL query that answers the following question: Which College has an Overall of 308? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (college VARCHAR, overall VARCHAR) | SELECT college FROM table_name_46 WHERE overall = 308 |
Write a SQL query that answers the following question: What was the surface for the opponent Marcos Baghdatis? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (surface VARCHAR, opponent VARCHAR) | SELECT surface FROM table_name_3 WHERE opponent = "marcos baghdatis" |
Write a SQL query that answers the following question: WHAT IS THE 8TH THAT HAS A 7TH OF AUDIO BULLYS? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (eighth VARCHAR, seventh VARCHAR) | SELECT eighth FROM table_name_61 WHERE seventh = "audio bullys" |
Write a SQL query that answers the following question: WHAT IS THE POLL YEAR WITH A THIRD OF THE TING TINGS? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (poll_year VARCHAR, third VARCHAR) | SELECT poll_year FROM table_name_34 WHERE third = "the ting tings" |
Write a SQL query that answers the following question: WHAT IS THE SIXTH WITH A SECOND OF WHITE LIES? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (sixth VARCHAR, second VARCHAR) | SELECT sixth FROM table_name_66 WHERE second = "white lies" |
Write a SQL query that answers the following question: WHAT IS THE WINNER WITH A FIFTH OF JOSS STONE? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (winner VARCHAR, fifth VARCHAR) | SELECT winner FROM table_name_97 WHERE fifth = "joss stone" |
Write a SQL query that answers the following question: WHAT IS THE SECOND WITH A TENTH OF DAN BLACK? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (second VARCHAR, tenth VARCHAR) | SELECT second FROM table_name_65 WHERE tenth = "dan black" |
Write a SQL query that answers the following question: What average game has January 30 as the date? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (game INTEGER, date VARCHAR) | SELECT AVG(game) FROM table_name_45 WHERE date = "january 30" |
Write a SQL query that answers the following question: What score has january 19 as the date? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_65 WHERE date = "january 19" |
Write a SQL query that answers the following question: What is the loaction attendance that has a game greater than 35, with January 30 as the date? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (location_attendance VARCHAR, game VARCHAR, date VARCHAR) | SELECT location_attendance FROM table_name_24 WHERE game > 35 AND date = "january 30" |
Write a SQL query that answers the following question: What is the highest game that has January 5 as the date? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (game INTEGER, date VARCHAR) | SELECT MAX(game) FROM table_name_99 WHERE date = "january 5" |
Write a SQL query that answers the following question: What is the highest rebounds that has conseco fieldhouse 11,964 as the location attendance? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (high_rebounds VARCHAR, location_attendance VARCHAR) | SELECT high_rebounds FROM table_name_58 WHERE location_attendance = "conseco fieldhouse 11,964" |
Write a SQL query that answers the following question: What is the highest lane value for a mark of 2:02.27 NR, with heats under 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (lane INTEGER, mark VARCHAR, heat VARCHAR) | SELECT MAX(lane) FROM table_name_82 WHERE mark = "2:02.27 nr" AND heat < 2 |
Write a SQL query that answers the following question: What is the mark for the runner from Mozambique? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (mark VARCHAR, country VARCHAR) | SELECT mark FROM table_name_8 WHERE country = "mozambique" |
Write a SQL query that answers the following question: Who was in lane 6 with a mark of 2:05.58 SB? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (name VARCHAR, lane VARCHAR, mark VARCHAR) | SELECT name FROM table_name_84 WHERE lane = 6 AND mark = "2:05.58 sb" |
Write a SQL query that answers the following question: What round was Ken Irvin drafted? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (round INTEGER, player VARCHAR) | SELECT MAX(round) FROM table_name_54 WHERE player = "ken irvin" |
Write a SQL query that answers the following question: In what round was a player from Michigan selected? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (round INTEGER, school_club_team VARCHAR) | SELECT MAX(round) FROM table_name_54 WHERE school_club_team = "michigan" |
Write a SQL query that answers the following question: Who was the opponent before week 8 when the result was l 28-17? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (opponent VARCHAR, week VARCHAR, result VARCHAR) | SELECT opponent FROM table_name_49 WHERE week < 8 AND result = "l 28-17" |
Write a SQL query that answers the following question: In which week was the game played on October 12, 1975 and the crowd was larger than 44,043? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (week VARCHAR, date VARCHAR, attendance VARCHAR) | SELECT COUNT(week) FROM table_name_15 WHERE date = "october 12, 1975" AND attendance > 44 OFFSET 043 |
Write a SQL query that answers the following question: What was Berlin when fk pirmasens was Südwest and westfalia herne was west? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (berlin VARCHAR, südwest VARCHAR, west VARCHAR) | SELECT berlin FROM table_name_60 WHERE südwest = "fk pirmasens" AND west = "westfalia herne" |
Write a SQL query that answers the following question: What is the earliest year borussia dortmund was west and bfc viktoria 1889 was Berlin? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (year INTEGER, west VARCHAR, berlin VARCHAR) | SELECT MIN(year) FROM table_name_90 WHERE west = "borussia dortmund" AND berlin = "bfc viktoria 1889" |
Write a SQL query that answers the following question: What is the Nord in 1952, when tennis borussia berlin was Berlin? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (nord VARCHAR, berlin VARCHAR, year VARCHAR) | SELECT nord FROM table_name_3 WHERE berlin = "tennis borussia berlin" AND year = 1952 |
Write a SQL query that answers the following question: Where did Japan place? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (place VARCHAR, country VARCHAR) | SELECT place FROM table_name_19 WHERE country = "japan" |
Write a SQL query that answers the following question: Who was the away team when the attendance was 206? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (away_team VARCHAR, attendance VARCHAR) | SELECT away_team FROM table_name_69 WHERE attendance = "206" |
Write a SQL query that answers the following question: Who was the away team when the Tie no was 34? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (away_team VARCHAR, tie_no VARCHAR) | SELECT away_team FROM table_name_29 WHERE tie_no = "34" |
Write a SQL query that answers the following question: Who was the away team when the attendance was 76? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (away_team VARCHAR, attendance VARCHAR) | SELECT away_team FROM table_name_16 WHERE attendance = "76" |
Write a SQL query that answers the following question: Who was the home team when the Tie no was 7? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (home_team VARCHAR, tie_no VARCHAR) | SELECT home_team FROM table_name_60 WHERE tie_no = "7" |
Write a SQL query that answers the following question: What was the Tie no when the away team was east thurrock united? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (tie_no VARCHAR, away_team VARCHAR) | SELECT tie_no FROM table_name_8 WHERE away_team = "east thurrock united" |
Write a SQL query that answers the following question: WHAT IS THE AVERAGE VOTE FOR DUBLIN SOUTH, AND SPOILT SMALLER THAN 3,387? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (votes INTEGER, constituency VARCHAR, spoilt VARCHAR) | SELECT AVG(votes) FROM table_name_14 WHERE constituency = "dublin south" AND spoilt < 3 OFFSET 387 |
Write a SQL query that answers the following question: Where was the game played on January 23, 2008? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (location VARCHAR, date VARCHAR) | SELECT location FROM table_name_8 WHERE date = "january 23, 2008" |
Write a SQL query that answers the following question: Where was the Singapore Charity Shield tournament played? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (location VARCHAR, tournament VARCHAR) | SELECT location FROM table_name_8 WHERE tournament = "singapore charity shield" |
Write a SQL query that answers the following question: Where was the game located on January 23, 2008? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (location VARCHAR, date VARCHAR) | SELECT location FROM table_name_93 WHERE date = "january 23, 2008" |
Write a SQL query that answers the following question: Where is the location of the friendly match larger than 1 where the Super Reds were the opponent? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (location VARCHAR, opponent_team VARCHAR, match VARCHAR, tournament VARCHAR) | SELECT location FROM table_name_87 WHERE match > 1 AND tournament = "friendly" AND opponent_team = "super reds" |
Write a SQL query that answers the following question: When the team is @ Milwaukee, what is the name of the location where the game is played? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (location_attendance VARCHAR, team VARCHAR) | SELECT location_attendance FROM table_name_78 WHERE team = "@ milwaukee" |
Write a SQL query that answers the following question: For the game with team of @ Chicago, what was the final score? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (score VARCHAR, team VARCHAR) | SELECT score FROM table_name_19 WHERE team = "@ chicago" |
Write a SQL query that answers the following question: What rank did Best Friends receive? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (rank VARCHAR, title VARCHAR) | SELECT rank FROM table_name_90 WHERE title = "best friends" |
Write a SQL query that answers the following question: How many points are for the Fall Bay RFC club? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (points_for VARCHAR, club VARCHAR) | SELECT points_for FROM table_name_91 WHERE club = "fall bay rfc" |
Write a SQL query that answers the following question: What was drawn for 6 bonus points and is against 410 points? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (drawn VARCHAR, bonus_points VARCHAR, points_against VARCHAR) | SELECT drawn FROM table_name_87 WHERE bonus_points = "6" AND points_against = "410" |
Write a SQL query that answers the following question: What is the club had 431 points against them? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (club VARCHAR, points_against VARCHAR) | SELECT club FROM table_name_63 WHERE points_against = "431" |
Write a SQL query that answers the following question: What are the points against with a points difference? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (points_against VARCHAR, points_difference VARCHAR) | SELECT points_against FROM table_name_34 WHERE points_difference = "points difference" |
Write a SQL query that answers the following question: What are the played points difference? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (played VARCHAR, points_difference VARCHAR) | SELECT played FROM table_name_82 WHERE points_difference = "points difference" |
Write a SQL query that answers the following question: When the Home Team was Sydney, what did the Away team score? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team AS score FROM table_name_41 WHERE home_team = "sydney" |
Write a SQL query that answers the following question: What was the Home team Carlton's Ground? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (ground VARCHAR, home_team VARCHAR) | SELECT ground FROM table_name_55 WHERE home_team = "carlton" |
Write a SQL query that answers the following question: Which player scored 71? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (player VARCHAR, score VARCHAR) | SELECT player FROM table_name_4 WHERE score = 71 |
Write a SQL query that answers the following question: What is the circuit on 19 Apr with Craig Lowndes as the winner? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (circuit VARCHAR, winner VARCHAR, date VARCHAR) | SELECT circuit FROM table_name_84 WHERE winner = "craig lowndes" AND date = "19 apr" |
Write a SQL query that answers the following question: What circuit has volvo cars australia as the team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (circuit VARCHAR, team VARCHAR) | SELECT circuit FROM table_name_15 WHERE team = "volvo cars australia" |
Write a SQL query that answers the following question: What series was Dick Johnson Racing the team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (series VARCHAR, team VARCHAR) | SELECT series FROM table_name_8 WHERE team = "dick johnson racing" |
Write a SQL query that answers the following question: What is the city/state of the circuit where Russell Ingall Larry Perkins was the winner? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (city___state VARCHAR, winner VARCHAR) | SELECT city___state FROM table_name_87 WHERE winner = "russell ingall larry perkins" |
Write a SQL query that answers the following question: What date was the away team, team Gillingham? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (date VARCHAR, away_team VARCHAR) | SELECT date FROM table_name_64 WHERE away_team = "gillingham" |
Write a SQL query that answers the following question: What was the score for a no. 21 tie? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (score VARCHAR, tie_no VARCHAR) | SELECT score FROM table_name_6 WHERE tie_no = "21" |
Write a SQL query that answers the following question: What was the date for the away team, team Southport? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (date VARCHAR, away_team VARCHAR) | SELECT date FROM table_name_80 WHERE away_team = "southport" |
Write a SQL query that answers the following question: What was the score for the away team, southport? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (score VARCHAR, away_team VARCHAR) | SELECT score FROM table_name_19 WHERE away_team = "southport" |
Write a SQL query that answers the following question: What was the result when the attendance was 47,971? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (result VARCHAR, attendance VARCHAR) | SELECT result FROM table_name_65 WHERE attendance = "47,971" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.