instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: In what year was the NFL team in chicago illinois established? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (est VARCHAR, league VARCHAR, state_province VARCHAR, city VARCHAR) | SELECT est FROM table_name_96 WHERE state_province = "illinois" AND city = "chicago" AND league = "nfl" |
Write a SQL query that answers the following question: Which team is located in missouri and was established in 1963? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (team VARCHAR, state_province VARCHAR, est VARCHAR) | SELECT team FROM table_name_99 WHERE state_province = "missouri" AND est = "1963" |
Write a SQL query that answers the following question: Which event was Ye Shiwen in? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (event VARCHAR, name VARCHAR) | SELECT event FROM table_name_23 WHERE name = "ye shiwen" |
Write a SQL query that answers the following question: Who had a time of 26.11? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (name VARCHAR, time VARCHAR) | SELECT name FROM table_name_39 WHERE time = "26.11" |
Write a SQL query that answers the following question: What was the date in which the time was 2:16.08? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (date VARCHAR, time VARCHAR) | SELECT date FROM table_name_31 WHERE time = "2:16.08" |
Write a SQL query that answers the following question: Who was in the women's 200m medley? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (name VARCHAR, event VARCHAR) | SELECT name FROM table_name_22 WHERE event = "women's 200m medley" |
Write a SQL query that answers the following question: What was the nationality of the swimmer in the semifinal with a time of 29.51? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (nationality VARCHAR, round VARCHAR, time VARCHAR) | SELECT nationality FROM table_name_62 WHERE round = "semifinal" AND time = "29.51" |
Write a SQL query that answers the following question: What country scored 67? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (country VARCHAR, score VARCHAR) | SELECT country FROM table_name_76 WHERE score = 67 |
Write a SQL query that answers the following question: What was the to par for Tino Schuster? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (to_par VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_7 WHERE player = "tino schuster" |
Write a SQL query that answers the following question: What country has player Scott Verplank? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (country VARCHAR, player VARCHAR) | SELECT country FROM table_name_64 WHERE player = "scott verplank" |
Write a SQL query that answers the following question: What is the type of glycosylase that has an E. coli of Muty? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (type VARCHAR, e_coli VARCHAR) | SELECT type FROM table_name_11 WHERE e_coli = "muty" |
Write a SQL query that answers the following question: Which E. coli has a human value of HNEIL1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (e_coli VARCHAR, human VARCHAR) | SELECT e_coli FROM table_name_78 WHERE human = "hneil1" |
Write a SQL query that answers the following question: Which E. coli has a substrate of uracil? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (e_coli VARCHAR, substrates VARCHAR) | SELECT e_coli FROM table_name_22 WHERE substrates = "uracil" |
Write a SQL query that answers the following question: The tko (doctor stoppage) method was used in a loss against which opponent? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (opponent VARCHAR, method VARCHAR, res VARCHAR) | SELECT opponent FROM table_name_11 WHERE method = "tko (doctor stoppage)" AND res = "loss" |
Write a SQL query that answers the following question: How many total rounds used the submission (choke) method? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (round INTEGER, method VARCHAR) | SELECT SUM(round) FROM table_name_21 WHERE method = "submission (choke)" |
Write a SQL query that answers the following question: What was the time of the match with a record of 9-0 and used the tko (doctor stoppage) method? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (time VARCHAR, method VARCHAR, record VARCHAR) | SELECT time FROM table_name_75 WHERE method = "tko (doctor stoppage)" AND record = "9-0" |
Write a SQL query that answers the following question: What was the lowest round number at the UFC 16 event with a record of 19-1-1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (round INTEGER, event VARCHAR, record VARCHAR) | SELECT MIN(round) FROM table_name_64 WHERE event = "ufc 16" AND record = "19-1-1" |
Write a SQL query that answers the following question: What was the highest number of oppenents points recorded for game 9 when the attendance was less than 60,091? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (opponents INTEGER, game VARCHAR, attendance VARCHAR) | SELECT MAX(opponents) FROM table_name_85 WHERE game = 9 AND attendance < 60 OFFSET 091 |
Write a SQL query that answers the following question: What event did tedd williams fight bill parker? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (event VARCHAR, opponent VARCHAR) | SELECT event FROM table_name_94 WHERE opponent = "bill parker" |
Write a SQL query that answers the following question: What round did the fight against travis fulton last? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (round VARCHAR, opponent VARCHAR) | SELECT round FROM table_name_10 WHERE opponent = "travis fulton" |
Write a SQL query that answers the following question: How many times is the player scott deibert? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (pick__number VARCHAR, player VARCHAR) | SELECT COUNT(pick__number) FROM table_name_72 WHERE player = "scott deibert" |
Write a SQL query that answers the following question: what is the pick # for william loftus? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (pick__number VARCHAR, player VARCHAR) | SELECT pick__number FROM table_name_68 WHERE player = "william loftus" |
Write a SQL query that answers the following question: what is the cfl team for position d? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (cfl_team VARCHAR, position VARCHAR) | SELECT cfl_team FROM table_name_68 WHERE position = "d" |
Write a SQL query that answers the following question: what was the total for the Wolverhampton Wanderers? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (league_goals VARCHAR, club VARCHAR) | SELECT league_goals FROM table_name_61 WHERE club = "wolverhampton wanderers" |
Write a SQL query that answers the following question: How many were in attendance when the result was l 20-17? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (attendance VARCHAR, result VARCHAR) | SELECT attendance FROM table_name_42 WHERE result = "l 20-17" |
Write a SQL query that answers the following question: Which Third/Vice skip has a Second of éric sylvain? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (third_vice_skip VARCHAR, second VARCHAR) | SELECT third_vice_skip FROM table_name_13 WHERE second = "éric sylvain" |
Write a SQL query that answers the following question: Which Lead has a Skip of mike mcewen? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (lead VARCHAR, skip VARCHAR) | SELECT lead FROM table_name_73 WHERE skip = "mike mcewen" |
Write a SQL query that answers the following question: Which City has a Lead of steve gould? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (city VARCHAR, lead VARCHAR) | SELECT city FROM table_name_52 WHERE lead = "steve gould" |
Write a SQL query that answers the following question: Which Lead has a City of winnipeg, and a Third/Vice skip of kevin park? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (lead VARCHAR, city VARCHAR, third_vice_skip VARCHAR) | SELECT lead FROM table_name_17 WHERE city = "winnipeg" AND third_vice_skip = "kevin park" |
Write a SQL query that answers the following question: Which City has a Lead of tyler forrest? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (city VARCHAR, lead VARCHAR) | SELECT city FROM table_name_95 WHERE lead = "tyler forrest" |
Write a SQL query that answers the following question: Which Lead has a Skip of ted appelman? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (lead VARCHAR, skip VARCHAR) | SELECT lead FROM table_name_95 WHERE skip = "ted appelman" |
Write a SQL query that answers the following question: Which album is #10? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (album VARCHAR, number VARCHAR) | SELECT album FROM table_name_66 WHERE number = 10 |
Write a SQL query that answers the following question: What is Ben Hogan's Place? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (place VARCHAR, player VARCHAR) | SELECT place FROM table_name_21 WHERE player = "ben hogan" |
Write a SQL query that answers the following question: What is Jerry Barber's To par? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (to_par VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_74 WHERE player = "jerry barber" |
Write a SQL query that answers the following question: What is the Score of T2 Place Player Dow Finsterwald? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (score VARCHAR, place VARCHAR, player VARCHAR) | SELECT score FROM table_name_12 WHERE place = "t2" AND player = "dow finsterwald" |
Write a SQL query that answers the following question: What's the to par of the United States with the score of 71-71=142? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (to_par VARCHAR, country VARCHAR, score VARCHAR) | SELECT to_par FROM table_name_1 WHERE country = "united states" AND score = 71 - 71 = 142 |
Write a SQL query that answers the following question: What place had a score of 71-70=141? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (place VARCHAR, score VARCHAR) | SELECT place FROM table_name_8 WHERE score = 71 - 70 = 141 |
Write a SQL query that answers the following question: Which player had a score of 72-69=141? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (player VARCHAR, score VARCHAR) | SELECT player FROM table_name_75 WHERE score = 72 - 69 = 141 |
Write a SQL query that answers the following question: What is the score of T7 place? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (score VARCHAR, place VARCHAR) | SELECT score FROM table_name_69 WHERE place = "t7" |
Write a SQL query that answers the following question: What place is Ben Hogan? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (place VARCHAR, player VARCHAR) | SELECT place FROM table_name_49 WHERE player = "ben hogan" |
Write a SQL query that answers the following question: What place has a to par of E? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (place VARCHAR, to_par VARCHAR) | SELECT place FROM table_name_46 WHERE to_par = "e" |
Write a SQL query that answers the following question: What pick was J.D. Hill? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (pick INTEGER, player VARCHAR) | SELECT MIN(pick) FROM table_name_52 WHERE player = "j.d. hill" |
Write a SQL query that answers the following question: What pick was used to select a Defensive End in round 8? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (pick INTEGER, position VARCHAR, round VARCHAR) | SELECT SUM(pick) FROM table_name_70 WHERE position = "defensive end" AND round = 8 |
Write a SQL query that answers the following question: which winner has a jockery containing jerry bailey and the owner of overbrook farm? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (winner VARCHAR, jockey VARCHAR, owner VARCHAR) | SELECT winner FROM table_name_28 WHERE jockey = "jerry bailey" AND owner = "overbrook farm" |
Write a SQL query that answers the following question: What time contains the owner of maine chance farm? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (time VARCHAR, owner VARCHAR) | SELECT time FROM table_name_55 WHERE owner = "maine chance farm" |
Write a SQL query that answers the following question: Which time contains the jockery of isaac murphy as well as the winner of kingman? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (time VARCHAR, jockey VARCHAR, winner VARCHAR) | SELECT time FROM table_name_39 WHERE jockey = "isaac murphy" AND winner = "kingman" |
Write a SQL query that answers the following question: Which owner has the time of 2:02.20 and the year of 1957? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (owner VARCHAR, time VARCHAR, year VARCHAR) | SELECT owner FROM table_name_86 WHERE time = "2:02.20" AND year = "1957" |
Write a SQL query that answers the following question: Which owner has the time 2:03.00 and the year of 1991 kd? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (owner VARCHAR, time VARCHAR, year VARCHAR) | SELECT owner FROM table_name_49 WHERE time = "2:03.00" AND year = "1991 kd" |
Write a SQL query that answers the following question: What is the sum of the number played with more than 5 losses, more than 1 draw, and a position under 8? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (played INTEGER, drawn VARCHAR, lost VARCHAR, position VARCHAR) | SELECT SUM(played) FROM table_name_13 WHERE lost > 5 AND position < 8 AND drawn > 1 |
Write a SQL query that answers the following question: What is the average number of points with less than 1 draw and more than 11 losses for Ev Aich? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (points INTEGER, lost VARCHAR, drawn VARCHAR, name VARCHAR) | SELECT AVG(points) FROM table_name_86 WHERE drawn < 1 AND name = "ev aich" AND lost > 11 |
Write a SQL query that answers the following question: What is the sum of points for a position over 5 with more than 2 draws? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (points INTEGER, drawn VARCHAR, position VARCHAR) | SELECT SUM(points) FROM table_name_79 WHERE drawn > 2 AND position > 5 |
Write a SQL query that answers the following question: Which nation won no bronze medals and a 1 medal total? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (nation VARCHAR, total VARCHAR, bronze VARCHAR) | SELECT nation FROM table_name_54 WHERE total = 1 AND bronze < 1 |
Write a SQL query that answers the following question: What was the result of the game in week 4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (result VARCHAR, week VARCHAR) | SELECT result FROM table_name_32 WHERE week = 4 |
Write a SQL query that answers the following question: What party has more than 241,310 inhabitants after 2012? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (party VARCHAR, election VARCHAR, inhabitants VARCHAR) | SELECT party FROM table_name_20 WHERE election > 2012 AND inhabitants > 241 OFFSET 310 |
Write a SQL query that answers the following question: Highest inhabitants from gela? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (inhabitants INTEGER, municipality VARCHAR) | SELECT MAX(inhabitants) FROM table_name_86 WHERE municipality = "gela" |
Write a SQL query that answers the following question: What is the average number of casualties for the convoy with a number of U-844? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (casualties INTEGER, number VARCHAR) | SELECT AVG(casualties) FROM table_name_5 WHERE number = "u-844" |
Write a SQL query that answers the following question: On what Surface was the match against Ilija Bozoljac played? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (surface VARCHAR, opponent VARCHAR) | SELECT surface FROM table_name_9 WHERE opponent = "ilija bozoljac" |
Write a SQL query that answers the following question: What Tournament was against Daniel Elsner? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (tournament VARCHAR, opponent VARCHAR) | SELECT tournament FROM table_name_63 WHERE opponent = "daniel elsner" |
Write a SQL query that answers the following question: What is the Date of the Tournament with a Score of 3–6, 7–6(6), 5–7? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (date VARCHAR, score VARCHAR) | SELECT date FROM table_name_72 WHERE score = "3–6, 7–6(6), 5–7" |
Write a SQL query that answers the following question: What is the Opponent of the Banja Luka Tournament with a Score of 4–6, 4–6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (opponent VARCHAR, score VARCHAR, tournament VARCHAR) | SELECT opponent FROM table_name_57 WHERE score = "4–6, 4–6" AND tournament = "banja luka" |
Write a SQL query that answers the following question: On what date was the record set with a time of 1:07.18? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (date VARCHAR, time VARCHAR) | SELECT date FROM table_name_44 WHERE time = "1:07.18" |
Write a SQL query that answers the following question: On what date was a record set in the team pursuit (8 laps) event? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (date VARCHAR, event VARCHAR) | SELECT date FROM table_name_75 WHERE event = "team pursuit (8 laps)" |
Write a SQL query that answers the following question: What nation did the speed skater that set a record in the 1000 metres event represent? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (nation VARCHAR, event VARCHAR) | SELECT nation FROM table_name_23 WHERE event = "1000 metres" |
Write a SQL query that answers the following question: What was the record setting time in the team pursuit (8 laps) event? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (time VARCHAR, event VARCHAR) | SELECT time FROM table_name_5 WHERE event = "team pursuit (8 laps)" |
Write a SQL query that answers the following question: What is the total for the draw with 0 points, and less than 14 lost? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (draw INTEGER, points VARCHAR, lost VARCHAR) | SELECT SUM(draw) FROM table_name_15 WHERE points = 0 AND lost < 14 |
Write a SQL query that answers the following question: What date has @ new orleans as the team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (date VARCHAR, team VARCHAR) | SELECT date FROM table_name_47 WHERE team = "@ new orleans" |
Write a SQL query that answers the following question: What is the sum of the game with the boston bruins as the opponent? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (game INTEGER, opponent VARCHAR) | SELECT SUM(game) FROM table_name_84 WHERE opponent = "boston bruins" |
Write a SQL query that answers the following question: What is the total number of games at Toronto with less than 31 points? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (game VARCHAR, location VARCHAR, points VARCHAR) | SELECT COUNT(game) FROM table_name_87 WHERE location = "toronto" AND points < 31 |
Write a SQL query that answers the following question: What years did jersey number 55 play? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (years VARCHAR, jersey_number_s_ VARCHAR) | SELECT years FROM table_name_81 WHERE jersey_number_s_ = "55" |
Write a SQL query that answers the following question: Before 2007, what was the avg start that had a pole of 0 and in 65th position? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (starts INTEGER, year VARCHAR, poles VARCHAR, position VARCHAR) | SELECT AVG(starts) FROM table_name_81 WHERE poles = 0 AND position = "65th" AND year < 2007 |
Write a SQL query that answers the following question: How many starts had an avg start of less than 37 and won $1,636,827? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (starts INTEGER, winnings VARCHAR, avg_start VARCHAR) | SELECT SUM(starts) FROM table_name_66 WHERE winnings = "$1,636,827" AND avg_start < 37 |
Write a SQL query that answers the following question: in 1990, how many wins had an avg finish of 35 and a start less than 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (wins INTEGER, starts VARCHAR, avg_finish VARCHAR, year VARCHAR) | SELECT MAX(wins) FROM table_name_90 WHERE avg_finish = 35 AND year = 1990 AND starts < 1 |
Write a SQL query that answers the following question: What year had a pole smaller than 0 and in 77th position? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (year INTEGER, position VARCHAR, poles VARCHAR) | SELECT MAX(year) FROM table_name_57 WHERE position = "77th" AND poles < 0 |
Write a SQL query that answers the following question: in 2007, what is the avg finish that had a start less than 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (avg_finish INTEGER, year VARCHAR, starts VARCHAR) | SELECT SUM(avg_finish) FROM table_name_91 WHERE year = 2007 AND starts < 1 |
Write a SQL query that answers the following question: What is Score, when Game is greater than 4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (score VARCHAR, game INTEGER) | SELECT score FROM table_name_1 WHERE game > 4 |
Write a SQL query that answers the following question: What is High Points, when Game is "3"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (high_points VARCHAR, game VARCHAR) | SELECT high_points FROM table_name_81 WHERE game = 3 |
Write a SQL query that answers the following question: What is Score, when Location Attendance is "Madison Square Garden Unknown", and when High Rebounds is "Sidney Green (10)"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (score VARCHAR, location_attendance VARCHAR, high_rebounds VARCHAR) | SELECT score FROM table_name_9 WHERE location_attendance = "madison square garden unknown" AND high_rebounds = "sidney green (10)" |
Write a SQL query that answers the following question: What is High Rebounds, when Location Attendance is "Madison Square Garden Unknown", and when Date is "May 18"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (high_rebounds VARCHAR, location_attendance VARCHAR, date VARCHAR) | SELECT high_rebounds FROM table_name_15 WHERE location_attendance = "madison square garden unknown" AND date = "may 18" |
Write a SQL query that answers the following question: What is Team, when Location Attendance is "Madison Square Garden Unknown", and when High Points is "Alonzo Mourning (24)"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (team VARCHAR, location_attendance VARCHAR, high_points VARCHAR) | SELECT team FROM table_name_69 WHERE location_attendance = "madison square garden unknown" AND high_points = "alonzo mourning (24)" |
Write a SQL query that answers the following question: What is High Points, when High Rebounds is "Ron Artest (9)"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (high_points VARCHAR, high_rebounds VARCHAR) | SELECT high_points FROM table_name_12 WHERE high_rebounds = "ron artest (9)" |
Write a SQL query that answers the following question: What is Date, when High Rebounds is "Yao Ming (10)"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (date VARCHAR, high_rebounds VARCHAR) | SELECT date FROM table_name_86 WHERE high_rebounds = "yao ming (10)" |
Write a SQL query that answers the following question: What is Score, when High Points is "Luis Scola (18)", and when High Rebounds is "Luis Scola (11)"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (score VARCHAR, high_points VARCHAR, high_rebounds VARCHAR) | SELECT score FROM table_name_93 WHERE high_points = "luis scola (18)" AND high_rebounds = "luis scola (11)" |
Write a SQL query that answers the following question: What is Team, when High Points is "Tracy McGrady (24)"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (team VARCHAR, high_points VARCHAR) | SELECT team FROM table_name_49 WHERE high_points = "tracy mcgrady (24)" |
Write a SQL query that answers the following question: What is the record for the opponent Atlanta Hawks? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (record VARCHAR, opponent VARCHAR) | SELECT record FROM table_name_9 WHERE opponent = "atlanta hawks" |
Write a SQL query that answers the following question: Which opponent had a 113-124 score? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (opponent VARCHAR, score VARCHAR) | SELECT opponent FROM table_name_52 WHERE score = "113-124" |
Write a SQL query that answers the following question: What is the final record for the Philadelphia 76ers? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (record VARCHAR, opponent VARCHAR) | SELECT record FROM table_name_58 WHERE opponent = "philadelphia 76ers" |
Write a SQL query that answers the following question: What is the record for the Detroit Pistons on March 7? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (record VARCHAR, opponent VARCHAR, date VARCHAR) | SELECT record FROM table_name_82 WHERE opponent = "detroit pistons" AND date = "march 7" |
Write a SQL query that answers the following question: What is the WR player? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (player VARCHAR, position VARCHAR) | SELECT player FROM table_name_98 WHERE position = "wr" |
Write a SQL query that answers the following question: What is the Length (m) of the Koppenberg course? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (length__m_ VARCHAR, name VARCHAR) | SELECT length__m_ FROM table_name_46 WHERE name = "koppenberg" |
Write a SQL query that answers the following question: What is the Kilometer of the Berendries asphalt course with an Average climb less than 7 and Length (m) longer than 645? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (kilometer INTEGER, average_climb___percentage_ VARCHAR, name VARCHAR, pavement VARCHAR, length__m_ VARCHAR) | SELECT AVG(kilometer) FROM table_name_15 WHERE pavement = "asphalt" AND length__m_ > 645 AND name = "berendries" AND average_climb___percentage_ < 7 |
Write a SQL query that answers the following question: What is the Number of the Koppenberg course with less than 195 Kilometers? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (number VARCHAR, name VARCHAR, kilometer VARCHAR) | SELECT COUNT(number) FROM table_name_28 WHERE name = "koppenberg" AND kilometer < 195 |
Write a SQL query that answers the following question: Which part three is class 4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (part_3 VARCHAR, class VARCHAR) | SELECT part_3 FROM table_name_4 WHERE class = "4" |
Write a SQL query that answers the following question: Which part one is class 7d? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (part_1 VARCHAR, class VARCHAR) | SELECT part_1 FROM table_name_36 WHERE class = "7d" |
Write a SQL query that answers the following question: Which part 3 has class 7b? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (part_3 VARCHAR, class VARCHAR) | SELECT part_3 FROM table_name_97 WHERE class = "7b" |
Write a SQL query that answers the following question: Which class has a part 2 of halp warþ? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (class VARCHAR, part_2 VARCHAR) | SELECT class FROM table_name_14 WHERE part_2 = "halp warþ" |
Write a SQL query that answers the following question: Which part 2 has a verb that means to leap? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (part_2 VARCHAR, verb_meaning VARCHAR) | SELECT part_2 FROM table_name_70 WHERE verb_meaning = "to leap" |
Write a SQL query that answers the following question: Who are the semifinalists when the tournament is in Cincinnati? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (semifinalists VARCHAR, tournament VARCHAR) | SELECT semifinalists FROM table_name_58 WHERE tournament = "cincinnati" |
Write a SQL query that answers the following question: What is the finalist in the week of March 12? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (finalist VARCHAR, week VARCHAR) | SELECT finalist FROM table_name_91 WHERE week = "march 12" |
Write a SQL query that answers the following question: What is the May 7 finalist? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (finalist VARCHAR, week VARCHAR) | SELECT finalist FROM table_name_14 WHERE week = "may 7" |
Write a SQL query that answers the following question: For the week of August 6, who is the finalist? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (finalist VARCHAR, week VARCHAR) | SELECT finalist FROM table_name_26 WHERE week = "august 6" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.