instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: How many gold did Gabon have when they were ranked no higher than 17, and less than 7 in total?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (gold INTEGER, rank VARCHAR, total VARCHAR, nation VARCHAR)
SELECT SUM(gold) FROM table_name_94 WHERE total < 7 AND nation = "gabon" AND rank < 17
Write a SQL query that answers the following question: Name the opponent for april 24
The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_5 WHERE date = "april 24"
Write a SQL query that answers the following question: Name the score for attendance of 13,617
The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (score VARCHAR, attendance VARCHAR)
SELECT score FROM table_name_63 WHERE attendance = "13,617"
Write a SQL query that answers the following question: Name the opponent for Score of postponed (rain) not rescheduled
The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (opponent VARCHAR, score VARCHAR)
SELECT opponent FROM table_name_92 WHERE score = "postponed (rain) not rescheduled"
Write a SQL query that answers the following question: What is the H.S. Asst. principal with a Glendale principal Joyce Brace during 2002-2003?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (h_s_asst_principal VARCHAR, glendale_principal VARCHAR, year VARCHAR)
SELECT h_s_asst_principal FROM table_name_47 WHERE glendale_principal = "joyce brace" AND year = "2002-2003"
Write a SQL query that answers the following question: Who is the h.s. principal with Dave Lovering as w.r. principal and Marty Pizur as m.s. principal?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (hs_principal VARCHAR, wr_principal VARCHAR, ms_principal VARCHAR)
SELECT hs_principal FROM table_name_99 WHERE wr_principal = "dave lovering" AND ms_principal = "marty pizur"
Write a SQL query that answers the following question: Who is the Glendale principal with Greg Smorel as m.s. principal and Joleen Reinholz as H.S. principal during 2006-2007?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (glendale_principal VARCHAR, year VARCHAR, ms_principal VARCHAR, hs_principal VARCHAR)
SELECT glendale_principal FROM table_name_58 WHERE ms_principal = "greg smorel" AND hs_principal = "joleen reinholz" AND year = "2006-2007"
Write a SQL query that answers the following question: Who is the h.h. principal with Jim Haught as h.s. principal, Charlie Taylor as maplemere principal, and Rich Auerbach as w.r. principal?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (hh_principal VARCHAR, wr_principal VARCHAR, hs_principal VARCHAR, maplemere_principal VARCHAR)
SELECT hh_principal FROM table_name_55 WHERE hs_principal = "jim haught" AND maplemere_principal = "charlie taylor" AND wr_principal = "rich auerbach"
Write a SQL query that answers the following question: Who is the h.h. principal with James Finch as the superintendent and Charlie Taylor as the maplemere principal?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (hh_principal VARCHAR, superintendent VARCHAR, maplemere_principal VARCHAR)
SELECT hh_principal FROM table_name_16 WHERE superintendent = "james finch" AND maplemere_principal = "charlie taylor"
Write a SQL query that answers the following question: Who is the h.s. principal during 1973-1974?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (hs_principal VARCHAR, year VARCHAR)
SELECT hs_principal FROM table_name_81 WHERE year = "1973-1974"
Write a SQL query that answers the following question: what is the engine for year less than 1959 and points more than 4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (engine VARCHAR, year VARCHAR, points VARCHAR)
SELECT engine FROM table_name_7 WHERE year < 1959 AND points > 4
Write a SQL query that answers the following question: what is the least year for 4 points?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (year INTEGER, points VARCHAR)
SELECT MIN(year) FROM table_name_75 WHERE points = 4
Write a SQL query that answers the following question: what is the entrant for the ferrari v8 with points less than 4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (entrant VARCHAR, engine VARCHAR, points VARCHAR)
SELECT entrant FROM table_name_6 WHERE engine = "ferrari v8" AND points < 4
Write a SQL query that answers the following question: what is the average year for 0 points and ferrari v8?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (year INTEGER, points VARCHAR, engine VARCHAR)
SELECT AVG(year) FROM table_name_85 WHERE points = 0 AND engine = "ferrari v8"
Write a SQL query that answers the following question: When did channel 83 in singapore launch?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (launched VARCHAR, territory VARCHAR, channel VARCHAR)
SELECT launched FROM table_name_81 WHERE territory = "singapore" AND channel = 83
Write a SQL query that answers the following question: Where is channel 83 broadcasted?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (territory VARCHAR, channel VARCHAR)
SELECT territory FROM table_name_86 WHERE channel = 83
Write a SQL query that answers the following question: Who broadcasts in malaysia?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (broadcaster VARCHAR, territory VARCHAR)
SELECT broadcaster FROM table_name_12 WHERE territory = "malaysia"
Write a SQL query that answers the following question: What are the engines for 1983?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (engine_s_ VARCHAR, year VARCHAR)
SELECT engine_s_ FROM table_name_19 WHERE year = 1983
Write a SQL query that answers the following question: How many appearances did Gary Depalma make when he scored less than 30 goals?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (appearances VARCHAR, goals VARCHAR, name VARCHAR)
SELECT appearances FROM table_name_75 WHERE goals < 30 AND name = "gary depalma"
Write a SQL query that answers the following question: In stage 13, what is the intergiro classification and is on the team of Asics-c.g.a.?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (intergiro_classification VARCHAR, trofeo_fast_team VARCHAR, stage VARCHAR)
SELECT intergiro_classification FROM table_name_10 WHERE trofeo_fast_team = "asics-c.g.a." AND stage = "13"
Write a SQL query that answers the following question: Which intergiro classification is there for team Polti at stage 14?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (intergiro_classification VARCHAR, trofeo_fast_team VARCHAR, stage VARCHAR)
SELECT intergiro_classification FROM table_name_53 WHERE trofeo_fast_team = "team polti" AND stage = "14"
Write a SQL query that answers the following question: Who was the winner in stage 7 with a general classification of Pavel Tonkov?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (winner VARCHAR, general_classification VARCHAR, stage VARCHAR)
SELECT winner FROM table_name_97 WHERE general_classification = "pavel tonkov" AND stage = "7"
Write a SQL query that answers the following question: Who was the winner from team Asics-c.g.a. and has a mountains classification of Mariano Piccoli?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (winner VARCHAR, trofeo_fast_team VARCHAR, mountains_classification VARCHAR)
SELECT winner FROM table_name_52 WHERE trofeo_fast_team = "asics-c.g.a." AND mountains_classification = "mariano piccoli"
Write a SQL query that answers the following question: Which points classification was used in stage 15?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (points_classification VARCHAR, stage VARCHAR)
SELECT points_classification FROM table_name_54 WHERE stage = "15"
Write a SQL query that answers the following question: Which winner of stage 1 was not awarded a mountains classification?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (winner VARCHAR, mountains_classification VARCHAR, stage VARCHAR)
SELECT winner FROM table_name_70 WHERE mountains_classification = "not awarded" AND stage = "1"
Write a SQL query that answers the following question: Name the muzzel device with barrel twist of 1:10
The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (muzzle_device VARCHAR, barrel_twist VARCHAR)
SELECT muzzle_device FROM table_name_18 WHERE barrel_twist = "1:10"
Write a SQL query that answers the following question: Name the bayonet lug with ar-15 lightweight
The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (bayonet_lug VARCHAR, name VARCHAR)
SELECT bayonet_lug FROM table_name_92 WHERE name = "ar-15 lightweight"
Write a SQL query that answers the following question: Name the hand guards for ar-15a2 government carbine and barrel twist of 1:9
The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (hand_guards VARCHAR, name VARCHAR, barrel_twist VARCHAR)
SELECT hand_guards FROM table_name_8 WHERE name = "ar-15a2 government carbine" AND barrel_twist = "1:9"
Write a SQL query that answers the following question: Name the barrel length for barrel twist of 1:7
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (barrel_length VARCHAR, barrel_twist VARCHAR)
SELECT barrel_length FROM table_name_90 WHERE barrel_twist = "1:7"
Write a SQL query that answers the following question: What is the three-mora word with a low tone accented mora and a one mora of 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (three_mora_word VARCHAR, one_mora VARCHAR, accented_mora VARCHAR)
SELECT three_mora_word FROM table_name_18 WHERE NOT accented_mora = "low tone" AND one_mora = "2"
Write a SQL query that answers the following question: What is the one mora for the three-mora word /kaze/ [kázé]?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (one_mora VARCHAR, three_mora_word VARCHAR)
SELECT one_mora FROM table_name_73 WHERE three_mora_word = "/kaze/ [kázé]"
Write a SQL query that answers the following question: What is the one mora for the three-mora word /˩haruꜜ/ [hàɽɯ́ ~ hàɽɯ̂]?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (one_mora VARCHAR, three_mora_word VARCHAR)
SELECT one_mora FROM table_name_29 WHERE three_mora_word = "/˩haruꜜ/ [hàɽɯ́ ~ hàɽɯ̂]"
Write a SQL query that answers the following question: What is the two-mora word with a low tone accented mora and a gloss of /˩kusuꜜri/ [kɯ̀sɯ́ɽì]?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (two_mora_word VARCHAR, gloss VARCHAR, accented_mora VARCHAR)
SELECT two_mora_word FROM table_name_53 WHERE NOT accented_mora = "low tone" AND gloss = "/˩kusuꜜri/ [kɯ̀sɯ́ɽì]"
Write a SQL query that answers the following question: What is the one mora for a low tone mora with a gloss of /˩okiru/ [òkìɽɯ́]?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (one_mora VARCHAR, gloss VARCHAR, accented_mora VARCHAR)
SELECT one_mora FROM table_name_95 WHERE NOT accented_mora = "low tone" AND gloss = "/˩okiru/ [òkìɽɯ́]"
Write a SQL query that answers the following question: What is the highest Total Medals that has 0 Gold Medal and a Ensemble of east 80 indoor percussion?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (total_medals INTEGER, gold_medals VARCHAR, ensemble VARCHAR)
SELECT MAX(total_medals) FROM table_name_27 WHERE gold_medals = 0 AND ensemble = "east 80 indoor percussion"
Write a SQL query that answers the following question: What is the lowest Total Medals that has madison independent and Bronze Medals larger than 0
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (total_medals INTEGER, ensemble VARCHAR, bronze_medals VARCHAR)
SELECT MIN(total_medals) FROM table_name_76 WHERE ensemble = "madison independent" AND bronze_medals > 0
Write a SQL query that answers the following question: what is Gold Medals that has salem blue devils and a Silver Medals less than 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (gold_medals INTEGER, ensemble VARCHAR, silver_medals VARCHAR)
SELECT MIN(gold_medals) FROM table_name_18 WHERE ensemble = "salem blue devils" AND silver_medals < 1
Write a SQL query that answers the following question: What is the location of the match where the method was submission (armbar) and Mayra Conde was the opponent?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (location VARCHAR, method VARCHAR, opponent VARCHAR)
SELECT location FROM table_name_19 WHERE method = "submission (armbar)" AND opponent = "mayra conde"
Write a SQL query that answers the following question: Who is the opponent of the match with a method of submission (armbar) and a 9-3-1 record?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (opponent VARCHAR, method VARCHAR, record VARCHAR)
SELECT opponent FROM table_name_86 WHERE method = "submission (armbar)" AND record = "9-3-1"
Write a SQL query that answers the following question: What is the Time (EEST), when the Stage is ss8?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (time__eest_ VARCHAR, stage VARCHAR)
SELECT time__eest_ FROM table_name_5 WHERE stage = "ss8"
Write a SQL query that answers the following question: What is the Stage, when the Rally leader is C. Atkinson?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (stage VARCHAR, rally_leader VARCHAR)
SELECT stage FROM table_name_19 WHERE rally_leader = "c. atkinson"
Write a SQL query that answers the following question: Who is the Winner, when the Name is Ouninpohja 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (winner VARCHAR, name VARCHAR)
SELECT winner FROM table_name_92 WHERE name = "ouninpohja 1"
Write a SQL query that answers the following question: What is the Length, when the Name is Himos?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (length VARCHAR, name VARCHAR)
SELECT length FROM table_name_68 WHERE name = "himos"
Write a SQL query that answers the following question: Who is the Winner when the Length is 21.27km?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (winner VARCHAR, length VARCHAR)
SELECT winner FROM table_name_95 WHERE length = "21.27km"
Write a SQL query that answers the following question: What is the Name, when the Time is 8:10.1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (name VARCHAR, time VARCHAR)
SELECT name FROM table_name_92 WHERE time = "8:10.1"
Write a SQL query that answers the following question: In the Formula One World Championships, which entrant had 0 points with a Ferrari 156 Chassis after 1961?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (entrant VARCHAR, chassis VARCHAR, points VARCHAR, year VARCHAR)
SELECT entrant FROM table_name_2 WHERE points = 0 AND year > 1961 AND chassis = "ferrari 156"
Write a SQL query that answers the following question: During the Formula One World Championships, which engine was used in 1965?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (engine VARCHAR, year VARCHAR)
SELECT engine FROM table_name_80 WHERE year = 1965
Write a SQL query that answers the following question: How many points were earned with a Chassis of a Ferrari 156?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (points VARCHAR, chassis VARCHAR)
SELECT COUNT(points) FROM table_name_78 WHERE chassis = "ferrari 156"
Write a SQL query that answers the following question: Where did the driver who started 9 with a qualifing speed of 152.672 and finished fewer than 197 laps finish?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (finish VARCHAR, qual VARCHAR, laps VARCHAR, start VARCHAR)
SELECT finish FROM table_name_76 WHERE laps < 197 AND start = "9" AND qual = "152.672"
Write a SQL query that answers the following question: What is the location of game 7?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (location VARCHAR, game VARCHAR)
SELECT location FROM table_name_1 WHERE game = 7
Write a SQL query that answers the following question: what is the location of game 4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (location VARCHAR, game VARCHAR)
SELECT location FROM table_name_20 WHERE game = 4
Write a SQL query that answers the following question: Who were the 2nd group scorers that were opponents of olympiacos?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (scorers VARCHAR, group_position VARCHAR, opponents VARCHAR)
SELECT scorers FROM table_name_61 WHERE group_position = "2nd" AND opponents = "olympiacos"
Write a SQL query that answers the following question: Who were F–A of 1–0 scorers?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (scorers VARCHAR, result_f_a VARCHAR)
SELECT scorers FROM table_name_94 WHERE result_f_a = "1–0"
Write a SQL query that answers the following question: What was the final score of the game on November 17?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (final_score VARCHAR, date VARCHAR)
SELECT final_score FROM table_name_33 WHERE date = "november 17"
Write a SQL query that answers the following question: What was the final score of the game on November 24 with the visiting team the Indianapolis Colts?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (final_score VARCHAR, visiting_team VARCHAR, date VARCHAR)
SELECT final_score FROM table_name_23 WHERE visiting_team = "indianapolis colts" AND date = "november 24"
Write a SQL query that answers the following question: When was the game at Gillette Stadium that ended in a final score of 30-17?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (date VARCHAR, final_score VARCHAR, stadium VARCHAR)
SELECT date FROM table_name_37 WHERE final_score = "30-17" AND stadium = "gillette stadium"
Write a SQL query that answers the following question: Who was the visiting team that played on September 15?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (visiting_team VARCHAR, date VARCHAR)
SELECT visiting_team FROM table_name_41 WHERE date = "september 15"
Write a SQL query that answers the following question: What year did the Nashville Metros have the Regular Season 2nd, central?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (year VARCHAR, regular_season VARCHAR)
SELECT year FROM table_name_74 WHERE regular_season = "2nd, central"
Write a SQL query that answers the following question: What division did the Nashville Metros play in during the year that they did not qualify for the Playoffs, where in the USL PDL League, and had the Regular Season 7th, Southeast?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (division VARCHAR, regular_season VARCHAR, playoffs VARCHAR, league VARCHAR)
SELECT division FROM table_name_96 WHERE playoffs = "did not qualify" AND league = "usl pdl" AND regular_season = "7th, southeast"
Write a SQL query that answers the following question: What was the average year that the Nashville Metros did not qualify for the Playoffs, did not qualify for the Open Cup, and had the Regular Season 7th, Southeast?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (year INTEGER, regular_season VARCHAR, playoffs VARCHAR, open_cup VARCHAR)
SELECT AVG(year) FROM table_name_78 WHERE playoffs = "did not qualify" AND open_cup = "did not qualify" AND regular_season = "7th, southeast"
Write a SQL query that answers the following question: Which chassis scored 52 points?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (chassis VARCHAR, points VARCHAR)
SELECT chassis FROM table_name_55 WHERE points = 52
Write a SQL query that answers the following question: Which engine scored 6 points and used the march 88c chassis?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (engine VARCHAR, points VARCHAR, chassis VARCHAR)
SELECT engine FROM table_name_51 WHERE points = 6 AND chassis = "march 88c"
Write a SQL query that answers the following question: Name the D 43 with D 48 of d 9
The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (d_43 VARCHAR, d_48 VARCHAR)
SELECT d_43 FROM table_name_70 WHERE d_48 = "d 9"
Write a SQL query that answers the following question: Name the D 42 with D 43 of d 14
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (d_42 VARCHAR, d_43 VARCHAR)
SELECT d_42 FROM table_name_7 WHERE d_43 = "d 14"
Write a SQL query that answers the following question: Name the D 47 when it has D 48 of d 29
The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (d_47 VARCHAR, d_48 VARCHAR)
SELECT d_47 FROM table_name_11 WHERE d_48 = "d 29"
Write a SQL query that answers the following question: Name the D 43 and D 48 of r 28
The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (d_43 VARCHAR, d_48 VARCHAR)
SELECT d_43 FROM table_name_45 WHERE d_48 = "r 28"
Write a SQL query that answers the following question: Name the D 47 which has D 42 of d 22
The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (d_47 VARCHAR, d_42 VARCHAR)
SELECT d_47 FROM table_name_10 WHERE d_42 = "d 22"
Write a SQL query that answers the following question: Which region had a label of Central Station?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (region VARCHAR, label VARCHAR)
SELECT region FROM table_name_2 WHERE label = "central station"
Write a SQL query that answers the following question: What NHL team has a centre and pick number of 105?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (nhl_team VARCHAR, position VARCHAR, pick__number VARCHAR)
SELECT nhl_team FROM table_name_46 WHERE position = "centre" AND pick__number = "105"
Write a SQL query that answers the following question: What Pick # does the St. Louis Blues have?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (pick__number VARCHAR, nhl_team VARCHAR)
SELECT pick__number FROM table_name_13 WHERE nhl_team = "st. louis blues"
Write a SQL query that answers the following question: What is the position of the player with a Pick # of 108?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (position VARCHAR, pick__number VARCHAR)
SELECT position FROM table_name_18 WHERE pick__number = "108"
Write a SQL query that answers the following question: What position in the Vancouver Canucks has a Pick # of 101?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (position VARCHAR, nhl_team VARCHAR, pick__number VARCHAR)
SELECT position FROM table_name_43 WHERE nhl_team = "vancouver canucks" AND pick__number = "101"
Write a SQL query that answers the following question: What was the team's record at the game attended by 30,452?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (record VARCHAR, attendance VARCHAR)
SELECT record FROM table_name_22 WHERE attendance = "30,452"
Write a SQL query that answers the following question: What was the attendance at the game that had a loss of Crabtree (0-1)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (attendance VARCHAR, loss VARCHAR)
SELECT attendance FROM table_name_34 WHERE loss = "crabtree (0-1)"
Write a SQL query that answers the following question: What races were Chi-Chi Rodriguez the runner-up in?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (tournament VARCHAR, runner_s__up VARCHAR)
SELECT tournament FROM table_name_22 WHERE runner_s__up = "chi-chi rodriguez"
Write a SQL query that answers the following question: What was the margin of victory for Isao Aoki when he was a runner-up?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (margin_of_victory VARCHAR, runner_s__up VARCHAR)
SELECT margin_of_victory FROM table_name_12 WHERE runner_s__up = "isao aoki"
Write a SQL query that answers the following question: What was the winning score in the mazda senior tournament players championship?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (winning_score VARCHAR, tournament VARCHAR)
SELECT winning_score FROM table_name_5 WHERE tournament = "mazda senior tournament players championship"
Write a SQL query that answers the following question: Which tournament ended with a winning score of –27 (65-68-64-64=261)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (tournament VARCHAR, winning_score VARCHAR)
SELECT tournament FROM table_name_16 WHERE winning_score = –27(65 - 68 - 64 - 64 = 261)
Write a SQL query that answers the following question: Who was the runner(s)-up for the Feb 18, 1996 tournament?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (runner_s__up VARCHAR, date VARCHAR)
SELECT runner_s__up FROM table_name_39 WHERE date = "feb 18, 1996"
Write a SQL query that answers the following question: What is Oriol Servia's average Grid on races with more than 43 laps?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (grid INTEGER, laps VARCHAR, driver VARCHAR)
SELECT AVG(grid) FROM table_name_10 WHERE laps > 43 AND driver = "oriol servia"
Write a SQL query that answers the following question: How many laps were there in the race that netted the winner 19 points?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (laps VARCHAR, points VARCHAR)
SELECT laps FROM table_name_96 WHERE points = 19
Write a SQL query that answers the following question: In what Season is Necaxa an Opponent?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (season VARCHAR, opponent VARCHAR)
SELECT season FROM table_name_96 WHERE opponent = "necaxa"
Write a SQL query that answers the following question: In what season is Victoria the Opponent?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (season VARCHAR, opponent VARCHAR)
SELECT season FROM table_name_97 WHERE opponent = "victoria"
Write a SQL query that answers the following question: Name the authority when the decile is 6 for pongaroa school
The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (authority VARCHAR, decile VARCHAR, name VARCHAR)
SELECT authority FROM table_name_32 WHERE decile = 6 AND name = "pongaroa school"
Write a SQL query that answers the following question: Name the years for dannevirke south school
The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (years VARCHAR, name VARCHAR)
SELECT years FROM table_name_48 WHERE name = "dannevirke south school"
Write a SQL query that answers the following question: Name the least decile for state authority and area of eketahuna with roll more than 44
The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (decile INTEGER, roll VARCHAR, authority VARCHAR, area VARCHAR)
SELECT MIN(decile) FROM table_name_78 WHERE authority = "state" AND area = "eketahuna" AND roll > 44
Write a SQL query that answers the following question: Tell me the name with area of eketahuna
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (name VARCHAR, area VARCHAR)
SELECT name FROM table_name_16 WHERE area = "eketahuna"
Write a SQL query that answers the following question: Name what was completed on 12 april 1934
The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (completed VARCHAR, launched VARCHAR)
SELECT completed FROM table_name_28 WHERE launched = "12 april 1934"
Write a SQL query that answers the following question: Name the launched for 13 september 1934 completion
The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (launched VARCHAR, completed VARCHAR)
SELECT launched FROM table_name_91 WHERE completed = "13 september 1934"
Write a SQL query that answers the following question: Name the ship launched 29 may 1934
The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (ship VARCHAR, launched VARCHAR)
SELECT ship FROM table_name_22 WHERE launched = "29 may 1934"
Write a SQL query that answers the following question: Name the laid down for launched being 16 february 1934
The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (laid_down VARCHAR, launched VARCHAR)
SELECT laid_down FROM table_name_39 WHERE launched = "16 february 1934"
Write a SQL query that answers the following question: Name the pennant number for completion of 30 october 1934 and launched 29 march 1934
The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (pennant_number VARCHAR, launched VARCHAR, completed VARCHAR)
SELECT pennant_number FROM table_name_43 WHERE launched = "29 march 1934" AND completed = "30 october 1934"
Write a SQL query that answers the following question: Name the laid down for completed of 22 october 1934
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (laid_down VARCHAR, completed VARCHAR)
SELECT laid_down FROM table_name_67 WHERE completed = "22 october 1934"
Write a SQL query that answers the following question: what is the lowest votes of the candidate ranked 5th and riding in victoria?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (votes INTEGER, rank VARCHAR, riding VARCHAR)
SELECT MIN(votes) FROM table_name_94 WHERE rank = "5th" AND riding = "victoria"
Write a SQL query that answers the following question: Which home captian has aus by 295 runs as the result?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (home_captain VARCHAR, result VARCHAR)
SELECT home_captain FROM table_name_21 WHERE result = "aus by 295 runs"
Write a SQL query that answers the following question: Which result has adelaide oval as the venue?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (result VARCHAR, venue VARCHAR)
SELECT result FROM table_name_11 WHERE venue = "adelaide oval"
Write a SQL query that answers the following question: Born in 1982, this guard has what listed as a height?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (height VARCHAR, position VARCHAR, year_born VARCHAR)
SELECT height FROM table_name_44 WHERE position = "guard" AND year_born = 1982
Write a SQL query that answers the following question: Which Points Classification Navy Blue Jersey that has a Jersey of Graeme Brown
The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (points_classification_navy_blue_jersey VARCHAR, general_classification_yellow_jersey VARCHAR)
SELECT points_classification_navy_blue_jersey FROM table_name_8 WHERE general_classification_yellow_jersey = "graeme brown"
Write a SQL query that answers the following question: What is the Intermediate Sprints Classification Red Jersey that has a Green Jersey of Murilo Antonio Fischer, and Jose Joaquin Rojas Gil?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (intermediate_sprints_classification_red_jersey VARCHAR, mountains_classification_green_jersey VARCHAR, points_classification_navy_blue_jersey VARCHAR)
SELECT intermediate_sprints_classification_red_jersey FROM table_name_34 WHERE mountains_classification_green_jersey = "murilo antonio fischer" AND points_classification_navy_blue_jersey = "jose joaquin rojas gil"
Write a SQL query that answers the following question: What is General Classification Yellow Jersey that has a Murilo Antonio Fischer, and Lampre-Fondital?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (general_classification_yellow_jersey VARCHAR, mountains_classification_green_jersey VARCHAR, team_classification VARCHAR)
SELECT general_classification_yellow_jersey FROM table_name_74 WHERE mountains_classification_green_jersey = "murilo antonio fischer" AND team_classification = "lampre-fondital"