instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: What is the smallest grid for driver of juan pablo montoya?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (grid INTEGER, driver VARCHAR)
SELECT MIN(grid) FROM table_name_92 WHERE driver = "juan pablo montoya"
Write a SQL query that answers the following question: What driver has a ime/Retired of +1 lap, and a Constructor of bar - honda?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (driver VARCHAR, time_retired VARCHAR, constructor VARCHAR)
SELECT driver FROM table_name_35 WHERE time_retired = "+1 lap" AND constructor = "bar - honda"
Write a SQL query that answers the following question: What is the Chinese title with a premiere rating of 31?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (chinese_title VARCHAR, premiere VARCHAR)
SELECT chinese_title FROM table_name_91 WHERE premiere = 31
Write a SQL query that answers the following question: What is the premiere rating for a Chinese title of ι‡Žθ »ε₯Άε₯Άε€§ζˆ°ζˆˆεΈ«ε₯Ά, and a Peak smaller than 41?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (premiere INTEGER, chinese_title VARCHAR, peak VARCHAR)
SELECT SUM(premiere) FROM table_name_59 WHERE chinese_title = "ι‡Žθ »ε₯Άε₯Άε€§ζˆ°ζˆˆεΈ«ε₯Ά" AND peak < 41
Write a SQL query that answers the following question: What is the premiere rating associated with an average of 35 ranked above 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (premiere INTEGER, average VARCHAR, rank VARCHAR)
SELECT MIN(premiere) FROM table_name_7 WHERE average = 35 AND rank > 1
Write a SQL query that answers the following question: When was there a game at Arden Street Oval?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (date VARCHAR, venue VARCHAR)
SELECT date FROM table_name_21 WHERE venue = "arden street oval"
Write a SQL query that answers the following question: How big was the crowd when Richmond was the away team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (crowd VARCHAR, away_team VARCHAR)
SELECT crowd FROM table_name_28 WHERE away_team = "richmond"
Write a SQL query that answers the following question: Which away team plays at Arden Street Oval?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (away_team VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_89 WHERE venue = "arden street oval"
Write a SQL query that answers the following question: How many fans were at Essendon?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (crowd VARCHAR, home_team VARCHAR)
SELECT COUNT(crowd) FROM table_name_48 WHERE home_team = "essendon"
Write a SQL query that answers the following question: On 11 July 2003, which athlete performed?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (athlete VARCHAR, date VARCHAR)
SELECT athlete FROM table_name_53 WHERE date = "11 july 2003"
Write a SQL query that answers the following question: What was the away team that played luton town?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_27 WHERE home_team = "luton town"
Write a SQL query that answers the following question: Name the D 45 √ when it has D 41√ of r 20
The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (d_45_√ VARCHAR, d_41_√ VARCHAR)
SELECT d_45_√ FROM table_name_62 WHERE d_41_√ = "r 20"
Write a SQL query that answers the following question: Name the D 41 √ when it has D 43 √ of r 18
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (d_41_√ VARCHAR, d_43_√ VARCHAR)
SELECT d_41_√ FROM table_name_35 WHERE d_43_√ = "r 18"
Write a SQL query that answers the following question: Name the D 49 √ for when D 46 √ of i 1 @
The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (d_49_√ VARCHAR, d_46_√ VARCHAR)
SELECT d_49_√ FROM table_name_24 WHERE d_46_√ = "i 1 @"
Write a SQL query that answers the following question: Name the D 43 √ when it has D 46 √ of d 26
The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (d_43_√ VARCHAR, d_46_√ VARCHAR)
SELECT d_43_√ FROM table_name_89 WHERE d_46_√ = "d 26"
Write a SQL query that answers the following question: Name the D 44 √ for when it has D 41 √ of r 41 +
The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (d_44_√ VARCHAR, d_41_√ VARCHAR)
SELECT d_44_√ FROM table_name_93 WHERE d_41_√ = "r 41 +"
Write a SQL query that answers the following question: Name the D 42 √ for when it has D 49 √ of r 12
The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (d_42_√ VARCHAR, d_49_√ VARCHAR)
SELECT d_42_√ FROM table_name_58 WHERE d_49_√ = "r 12"
Write a SQL query that answers the following question: What were the goals in the game with the 26-28 final score?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (goals VARCHAR, score VARCHAR)
SELECT goals FROM table_name_5 WHERE score = "26-28"
Write a SQL query that answers the following question: What was the score of the game on 19/3/00?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_60 WHERE date = "19/3/00"
Write a SQL query that answers the following question: Which competition was on 17/9/00?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (competition VARCHAR, date VARCHAR)
SELECT competition FROM table_name_47 WHERE date = "17/9/00"
Write a SQL query that answers the following question: Which competition ended with a score of 58-4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (competition VARCHAR, score VARCHAR)
SELECT competition FROM table_name_64 WHERE score = "58-4"
Write a SQL query that answers the following question: Where was the game that had a final score of 30-20?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (venue VARCHAR, score VARCHAR)
SELECT venue FROM table_name_92 WHERE score = "30-20"
Write a SQL query that answers the following question: When was the game at the boulevard that ended with an 8-8 score?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (date VARCHAR, venue VARCHAR, score VARCHAR)
SELECT date FROM table_name_72 WHERE venue = "the boulevard" AND score = "8-8"
Write a SQL query that answers the following question: Name the report for 6 may
The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (report VARCHAR, date VARCHAR)
SELECT report FROM table_name_82 WHERE date = "6 may"
Write a SQL query that answers the following question: Tell me the report with winner of louis wagner
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (report VARCHAR, winning_driver VARCHAR)
SELECT report FROM table_name_51 WHERE winning_driver = "louis wagner"
Write a SQL query that answers the following question: Name the report with cuban race
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (report VARCHAR, name VARCHAR)
SELECT report FROM table_name_16 WHERE name = "cuban race"
Write a SQL query that answers the following question: Name the circuit for darracq and name of cuban race
The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (circuit VARCHAR, winning_constructor VARCHAR, name VARCHAR)
SELECT circuit FROM table_name_63 WHERE winning_constructor = "darracq" AND name = "cuban race"
Write a SQL query that answers the following question: Name the winning driver for havana
The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (winning_driver VARCHAR, circuit VARCHAR)
SELECT winning_driver FROM table_name_15 WHERE circuit = "havana"
Write a SQL query that answers the following question: What is the home team's score when st kilda is away?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team AS score FROM table_name_23 WHERE away_team = "st kilda"
Write a SQL query that answers the following question: No Decision listed above has a visitor of Montreal.
The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (decision VARCHAR, visitor VARCHAR)
SELECT decision FROM table_name_62 WHERE visitor = "montreal"
Write a SQL query that answers the following question: On December 4, Tampa Bay has a record of 12-13-2.
The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (record VARCHAR, home VARCHAR, date VARCHAR)
SELECT record FROM table_name_42 WHERE home = "tampa bay" AND date = "december 4"
Write a SQL query that answers the following question: What are the remarks for the entry ranked greater than 2 with a skyteam (2012) alliance?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (remarks VARCHAR, rank VARCHAR, alliance VARCHAR)
SELECT remarks FROM table_name_23 WHERE rank > 2 AND alliance = "skyteam (2012)"
Write a SQL query that answers the following question: How many airlines have the star alliance and are in brazil?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (rank VARCHAR, alliance VARCHAR, country VARCHAR)
SELECT COUNT(rank) FROM table_name_13 WHERE alliance = "star alliance" AND country = "brazil"
Write a SQL query that answers the following question: What was the percentage of Slovenes in 1951 in the village that had 10.1% in 1991?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (percent_of_slovenes_1951 VARCHAR, percent_of_slovenes_1991 VARCHAR)
SELECT percent_of_slovenes_1951 FROM table_name_22 WHERE percent_of_slovenes_1991 = "10.1%"
Write a SQL query that answers the following question: What was Rut's Slovenes percentage in 1991?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (percent_of_slovenes_1991 VARCHAR, village__slovenian_ VARCHAR)
SELECT percent_of_slovenes_1991 FROM table_name_76 WHERE village__slovenian_ = "rut"
Write a SQL query that answers the following question: What is the status of the Hamaoka-3 unit?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (status VARCHAR, unit VARCHAR)
SELECT status FROM table_name_33 WHERE unit = "hamaoka-3"
Write a SQL query that answers the following question: What is the gross capacity of the unit that started commercial operation on August 28, 1987?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (gross_capacity VARCHAR, commercial_operation VARCHAR)
SELECT gross_capacity FROM table_name_17 WHERE commercial_operation = "august 28, 1987"
Write a SQL query that answers the following question: When was commercial operation where construction started June 10, 1971?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (commercial_operation VARCHAR, construction_start VARCHAR)
SELECT commercial_operation FROM table_name_27 WHERE construction_start = "june 10, 1971"
Write a SQL query that answers the following question: What is the gross capacity where the reactor is ABWR type?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (gross_capacity VARCHAR, reactor_type VARCHAR)
SELECT gross_capacity FROM table_name_54 WHERE reactor_type = "abwr"
Write a SQL query that answers the following question: When was the Hamaoka-4 unit commercial operation date?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (commercial_operation VARCHAR, unit VARCHAR)
SELECT commercial_operation FROM table_name_42 WHERE unit = "hamaoka-4"
Write a SQL query that answers the following question: What is the status of the unit with a net capacity of 1212 MW?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (status VARCHAR, net_capacity VARCHAR)
SELECT status FROM table_name_50 WHERE net_capacity = "1212 mw"
Write a SQL query that answers the following question: Which school did player Rodney Purvis belong to?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (school VARCHAR, player VARCHAR)
SELECT school FROM table_name_32 WHERE player = "rodney purvis"
Write a SQL query that answers the following question: What was the NBA draft status for Northeast High School?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (nba_draft VARCHAR, school VARCHAR)
SELECT nba_draft FROM table_name_7 WHERE school = "northeast high school"
Write a SQL query that answers the following question: Which players college was Baylor?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (player VARCHAR, college VARCHAR)
SELECT player FROM table_name_82 WHERE college = "baylor"
Write a SQL query that answers the following question: What was the college for Alex Poythress?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (college VARCHAR, player VARCHAR)
SELECT college FROM table_name_64 WHERE player = "alex poythress"
Write a SQL query that answers the following question: What is Alex Poythress height?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (height VARCHAR, player VARCHAR)
SELECT height FROM table_name_78 WHERE player = "alex poythress"
Write a SQL query that answers the following question: What was Allison Fouch score in the year larger than 2000?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (winning_score VARCHAR, year VARCHAR, champion VARCHAR)
SELECT winning_score FROM table_name_62 WHERE year > 2000 AND champion = "allison fouch"
Write a SQL query that answers the following question: How many release dates have a Country of west germany, and a Release format of vinyl?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (release_date VARCHAR, country VARCHAR, release_format VARCHAR)
SELECT COUNT(release_date) FROM table_name_89 WHERE country = "west germany" AND release_format = "vinyl"
Write a SQL query that answers the following question: Which label is from Spain?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (label VARCHAR, country VARCHAR)
SELECT label FROM table_name_31 WHERE country = "spain"
Write a SQL query that answers the following question: What's the save when the loss was santiago (2–2)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (save VARCHAR, loss VARCHAR)
SELECT save FROM table_name_76 WHERE loss = "santiago (2–2)"
Write a SQL query that answers the following question: Which season was 2nd position?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (season VARCHAR, position VARCHAR)
SELECT season FROM table_name_84 WHERE position = "2nd"
Write a SQL query that answers the following question: What's the value for played when the division is nbl div2 with 12th position?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (played VARCHAR, division VARCHAR, position VARCHAR)
SELECT played FROM table_name_51 WHERE division = "nbl div2" AND position = "12th"
Write a SQL query that answers the following question: What's the points when the division is ebl div1 with 22 played?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (points VARCHAR, division VARCHAR, played VARCHAR)
SELECT points FROM table_name_68 WHERE division = "ebl div1" AND played = "22"
Write a SQL query that answers the following question: What's the value for played when points is 8 and position is 11th?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (played VARCHAR, position VARCHAR, points VARCHAR)
SELECT played FROM table_name_2 WHERE position = "11th" AND points = "8"
Write a SQL query that answers the following question: Who was driving with a Grid of 13?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (driver VARCHAR, grid VARCHAR)
SELECT driver FROM table_name_45 WHERE grid = 13
Write a SQL query that answers the following question: For Laps smaller than 6, what does the Grid add up to?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (grid INTEGER, laps INTEGER)
SELECT SUM(grid) FROM table_name_5 WHERE laps < 6
Write a SQL query that answers the following question: What is the report status of Hockenheimring circuit?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (report VARCHAR, circuit VARCHAR)
SELECT report FROM table_name_5 WHERE circuit = "hockenheimring"
Write a SQL query that answers the following question: Who was the winning driver of the race with Clay Regazzoni as the fastest lap and Jackie stewart as the pole position?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (winning_driver VARCHAR, fastest_lap VARCHAR, pole_position VARCHAR)
SELECT winning_driver FROM table_name_29 WHERE fastest_lap = "clay regazzoni" AND pole_position = "jackie stewart"
Write a SQL query that answers the following question: Which race had Jacky Ickx as the winner and Clay Regazzoni with the fastest lap?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (race VARCHAR, winning_driver VARCHAR, fastest_lap VARCHAR)
SELECT race FROM table_name_53 WHERE winning_driver = "jacky ickx" AND fastest_lap = "clay regazzoni"
Write a SQL query that answers the following question: How much time does it take for jean alesi and grids lesser than 5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (time_retired VARCHAR, grid VARCHAR, driver VARCHAR)
SELECT time_retired FROM table_name_53 WHERE grid < 5 AND driver = "jean alesi"
Write a SQL query that answers the following question: What is the low grid for gerhard berger for laps over 56?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (grid INTEGER, driver VARCHAR, laps VARCHAR)
SELECT MIN(grid) FROM table_name_18 WHERE driver = "gerhard berger" AND laps > 56
Write a SQL query that answers the following question: If the grid is 13 who is driving?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (driver VARCHAR, grid VARCHAR)
SELECT driver FROM table_name_42 WHERE grid = 13
Write a SQL query that answers the following question: What is the purse total for the royal caribbean golf classic?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (purse__ INTEGER, tournament VARCHAR)
SELECT SUM(purse__) AS $__ FROM table_name_5 WHERE tournament = "royal caribbean golf classic"
Write a SQL query that answers the following question: Which title is 3:38 long?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (title VARCHAR, length VARCHAR)
SELECT title FROM table_name_52 WHERE length = "3:38"
Write a SQL query that answers the following question: Which title is 3:43 long?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (title VARCHAR, length VARCHAR)
SELECT title FROM table_name_37 WHERE length = "3:43"
Write a SQL query that answers the following question: What Dance has the Visual Arts of Bryon Kim?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (dance VARCHAR, visual_arts VARCHAR)
SELECT dance FROM table_name_28 WHERE visual_arts = "bryon kim"
Write a SQL query that answers the following question: In 2004, what is the Dance?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (dance VARCHAR, year VARCHAR)
SELECT dance FROM table_name_55 WHERE year = 2004
Write a SQL query that answers the following question: What artist had 1 draw?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (artist VARCHAR, draw VARCHAR)
SELECT artist FROM table_name_52 WHERE draw = 1
Write a SQL query that answers the following question: Name the IATA for jeddah
The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (iata VARCHAR, city VARCHAR)
SELECT iata FROM table_name_28 WHERE city = "jeddah"
Write a SQL query that answers the following question: Name the IATA for jessore
The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (iata VARCHAR, city VARCHAR)
SELECT iata FROM table_name_80 WHERE city = "jessore"
Write a SQL query that answers the following question: Name the city for thailand
The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (city VARCHAR, country VARCHAR)
SELECT city FROM table_name_97 WHERE country = "thailand"
Write a SQL query that answers the following question: Name the IATA of wmkk
The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (iata VARCHAR, icao VARCHAR)
SELECT iata FROM table_name_20 WHERE icao = "wmkk"
Write a SQL query that answers the following question: When did the away team carlton play?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (date VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_88 WHERE away_team = "carlton"
Write a SQL query that answers the following question: Which constructor is from ITA with a rank less than 13?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (constructor VARCHAR, country VARCHAR, rank VARCHAR)
SELECT constructor FROM table_name_20 WHERE country = "ita" AND rank < 13
Write a SQL query that answers the following question: Who was the opponent in the Week 4 game?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (opponent VARCHAR, week VARCHAR)
SELECT opponent FROM table_name_25 WHERE week = 4
Write a SQL query that answers the following question: Who are the co-drivers before 2010 with under 326 laps?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (co_drivers VARCHAR, year VARCHAR, laps VARCHAR)
SELECT co_drivers FROM table_name_76 WHERE year < 2010 AND laps < 326
Write a SQL query that answers the following question: Who are the co-drivers the risi competizione gt2 class that went under 329 laps and recorded a DNF?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (co_drivers VARCHAR, pos VARCHAR, team VARCHAR, laps VARCHAR, class VARCHAR)
SELECT co_drivers FROM table_name_45 WHERE laps < 329 AND class = "gt2" AND team = "risi competizione" AND pos = "dnf"
Write a SQL query that answers the following question: Tell me the highest laps for time/retired of +2 laps and driver of felice bonetto
The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (laps INTEGER, time_retired VARCHAR, driver VARCHAR)
SELECT MAX(laps) FROM table_name_24 WHERE time_retired = "+2 laps" AND driver = "felice bonetto"
Write a SQL query that answers the following question: I want to know the driver when grid is greater than 13 and laps is less than 60 with time/retired of accident
The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (driver VARCHAR, time_retired VARCHAR, grid VARCHAR, laps VARCHAR)
SELECT driver FROM table_name_41 WHERE grid > 13 AND laps < 60 AND time_retired = "accident"
Write a SQL query that answers the following question: Name the album for years after 2007
The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (album VARCHAR, year INTEGER)
SELECT album FROM table_name_45 WHERE year > 2007
Write a SQL query that answers the following question: What was the score on october 17, 2007?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_33 WHERE date = "october 17, 2007"
Write a SQL query that answers the following question: What was the competition for score of 3-0
The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (competition VARCHAR, score VARCHAR)
SELECT competition FROM table_name_71 WHERE score = "3-0"
Write a SQL query that answers the following question: I want the date for nihat kahveci
The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (date VARCHAR, turkey_scorers VARCHAR)
SELECT date FROM table_name_93 WHERE turkey_scorers = "nihat kahveci"
Write a SQL query that answers the following question: What is the smallest pick with a Reg GP less than 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (pick__number INTEGER, reg_gp INTEGER)
SELECT MIN(pick__number) FROM table_name_8 WHERE reg_gp < 0
Write a SQL query that answers the following question: What is the total of pick numbers with a Reg GP larger than 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (pick__number VARCHAR, reg_gp INTEGER)
SELECT COUNT(pick__number) FROM table_name_80 WHERE reg_gp > 0
Write a SQL query that answers the following question: What is the total points when there is a refusal fault and the rider is H.R.H. Prince Abdullah Al-Soud?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (points INTEGER, faults VARCHAR, rider VARCHAR)
SELECT SUM(points) FROM table_name_85 WHERE faults = "refusal" AND rider = "h.r.h. prince abdullah al-soud"
Write a SQL query that answers the following question: What is the total points when the horse is Chippison?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (points VARCHAR, horse VARCHAR)
SELECT COUNT(points) FROM table_name_96 WHERE horse = "chippison"
Write a SQL query that answers the following question: What is the total time (s) for the horse Pinot Grigio?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (total_time___s__ VARCHAR, horse VARCHAR)
SELECT total_time___s__ FROM table_name_53 WHERE horse = "pinot grigio"
Write a SQL query that answers the following question: What is the average amount of points when the time (s) is 81.78?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (points INTEGER, time___s__ VARCHAR)
SELECT AVG(points) FROM table_name_93 WHERE time___s__ = "81.78"
Write a SQL query that answers the following question: What is the position of the player from Glades Day School?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (position VARCHAR, school VARCHAR)
SELECT position FROM table_name_59 WHERE school = "glades day school"
Write a SQL query that answers the following question: What is the position of the player who went to college of notre dame?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (position VARCHAR, college VARCHAR)
SELECT position FROM table_name_78 WHERE college = "notre dame"
Write a SQL query that answers the following question: What is the school of the player who went to the college of michigan and originally comes from Wheaton, Illinois?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (school VARCHAR, college VARCHAR, hometown VARCHAR)
SELECT school FROM table_name_2 WHERE college = "michigan" AND hometown = "wheaton, illinois"
Write a SQL query that answers the following question: What Chassis was driven by Otto Stuppacher?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (chassis VARCHAR, driver VARCHAR)
SELECT chassis FROM table_name_12 WHERE driver = "otto stuppacher"
Write a SQL query that answers the following question: Who drove the car with the n175 chassis in round 13?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (driver VARCHAR, chassis VARCHAR, rounds VARCHAR)
SELECT driver FROM table_name_1 WHERE chassis = "n175" AND rounds = "13"
Write a SQL query that answers the following question: What chassis did John Watson drive?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (chassis VARCHAR, driver VARCHAR)
SELECT chassis FROM table_name_4 WHERE driver = "john watson"
Write a SQL query that answers the following question: what is the right ascension (j2000) when the constellation is sextans and the declination (j2000) is Β°28β€²01β€³?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (right_ascension___j2000__ VARCHAR, constellation VARCHAR, declination___j2000__ VARCHAR)
SELECT right_ascension___j2000__ FROM table_name_53 WHERE constellation = "sextans" AND declination___j2000__ = "Β°28β€²01β€³"
Write a SQL query that answers the following question: what is the constellation when the Right ascension ( J2000 ) is 10h18m58.4s?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (constellation VARCHAR, right_ascension___j2000__ VARCHAR)
SELECT constellation FROM table_name_10 WHERE right_ascension___j2000__ = "10h18m58.4s"
Write a SQL query that answers the following question: what is the highest ngc number when the declination (j2000) is Β°25β€²26β€³?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (ngc_number INTEGER, declination___j2000__ VARCHAR)
SELECT MAX(ngc_number) FROM table_name_51 WHERE declination___j2000__ = "Β°25β€²26β€³"
Write a SQL query that answers the following question: What is the score for Collingwood as the home team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (home_team VARCHAR)
SELECT home_team AS score FROM table_name_85 WHERE home_team = "collingwood"
Write a SQL query that answers the following question: What did the home team score at Princes Park?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_15 WHERE venue = "princes park"