instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: Cumulative point total for all teams playing on the Discovery Channel?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (points VARCHAR, team VARCHAR)
SELECT COUNT(points) FROM table_name_67 WHERE team = "discovery channel"
Write a SQL query that answers the following question: Which player is from Belgium?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (name VARCHAR, nationality VARCHAR)
SELECT name FROM table_name_44 WHERE nationality = "belgium"
Write a SQL query that answers the following question: Who was the visiting team that played against the Kings?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (visitor VARCHAR, home VARCHAR)
SELECT visitor FROM table_name_42 WHERE home = "kings"
Write a SQL query that answers the following question: Tell me the player for round more than 5 and position of c
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (player VARCHAR, round VARCHAR, position VARCHAR)
SELECT player FROM table_name_25 WHERE round > 5 AND position = "c"
Write a SQL query that answers the following question: Tell me the college for carl hagelin
The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (college_junior_club_team__league_ VARCHAR, player VARCHAR)
SELECT college_junior_club_team__league_ FROM table_name_70 WHERE player = "carl hagelin"
Write a SQL query that answers the following question: Which year has a total of 0 points and a chassis of Toleman tg181?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (year INTEGER, points VARCHAR, chassis VARCHAR)
SELECT AVG(year) FROM table_name_88 WHERE points = 0 AND chassis = "toleman tg181"
Write a SQL query that answers the following question: What is the latest year that has more than 5 points and a renault ef15 1.5 v6 t engine?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (year INTEGER, engine VARCHAR, points VARCHAR)
SELECT MAX(year) FROM table_name_20 WHERE engine = "renault ef15 1.5 v6 t" AND points > 5
Write a SQL query that answers the following question: Which year had a toleman tg183 chassis?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (year VARCHAR, chassis VARCHAR)
SELECT COUNT(year) FROM table_name_36 WHERE chassis = "toleman tg183"
Write a SQL query that answers the following question: What is the time for tony myres?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (time VARCHAR, rider VARCHAR)
SELECT time FROM table_name_13 WHERE rider = "tony myres"
Write a SQL query that answers the following question: Name the speed for andy reynolds
The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (speed VARCHAR, rider VARCHAR)
SELECT speed FROM table_name_41 WHERE rider = "andy reynolds"
Write a SQL query that answers the following question: Name the total number of rank for 348cc petty manx
The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (rank VARCHAR, team VARCHAR)
SELECT COUNT(rank) FROM table_name_54 WHERE team = "348cc petty manx"
Write a SQL query that answers the following question: Name the speed for 1:36.46.93
The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (speed VARCHAR, time VARCHAR)
SELECT speed FROM table_name_13 WHERE time = "1:36.46.93"
Write a SQL query that answers the following question: What is the away team score of Melbourne?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (away_team VARCHAR)
SELECT away_team AS score FROM table_name_54 WHERE away_team = "melbourne"
Write a SQL query that answers the following question: What is the away team score for South Melbourne?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (away_team VARCHAR)
SELECT away_team AS score FROM table_name_86 WHERE away_team = "south melbourne"
Write a SQL query that answers the following question: What is Prime Mover of Model FM CFA-16-4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (prime_mover VARCHAR, model VARCHAR)
SELECT prime_mover FROM table_name_87 WHERE model = "fm cfa-16-4"
Write a SQL query that answers the following question: what was the purse ($) in illinois?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (purse__ INTEGER, location VARCHAR)
SELECT MAX(purse__) AS $__ FROM table_name_80 WHERE location = "illinois"
Write a SQL query that answers the following question: who won with a score of 199 (-14) on oct 31?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (winner VARCHAR, score VARCHAR, date VARCHAR)
SELECT winner FROM table_name_21 WHERE score = "199 (-14)" AND date = "oct 31"
Write a SQL query that answers the following question: How many years did he play in santiago de compostela?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (year INTEGER, city VARCHAR)
SELECT SUM(year) FROM table_name_6 WHERE city = "santiago de compostela"
Write a SQL query that answers the following question: What is the Total Finale of 女人唔易做?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (finale INTEGER, chinese_title VARCHAR)
SELECT SUM(finale) FROM table_name_64 WHERE chinese_title = "女人唔易做"
Write a SQL query that answers the following question: What is the lowest Premiere peaking at more than 35 with a Rank of 10 and Finale greater than 33?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (premiere INTEGER, finale VARCHAR, peak VARCHAR, rank VARCHAR)
SELECT MIN(premiere) FROM table_name_25 WHERE peak > 35 AND rank = 10 AND finale > 33
Write a SQL query that answers the following question: What is the Chinese Title Premiering 32 with 2.07 million HK viewers?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (chinese_title VARCHAR, hk_viewers VARCHAR, premiere VARCHAR)
SELECT chinese_title FROM table_name_60 WHERE hk_viewers = "2.07 million" AND premiere = 32
Write a SQL query that answers the following question: What is the Average of Men in Pain with a Finale of less than 33?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (average INTEGER, english_title VARCHAR, finale VARCHAR)
SELECT AVG(average) FROM table_name_70 WHERE english_title = "men in pain" AND finale < 33
Write a SQL query that answers the following question: What Chinese Title Ranking #7 has an Average of 32 and Peak less than 38?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (chinese_title VARCHAR, rank VARCHAR, average VARCHAR, peak VARCHAR)
SELECT chinese_title FROM table_name_3 WHERE average = 32 AND peak < 38 AND rank = 7
Write a SQL query that answers the following question: What is the average crowd size for corio oval?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (crowd INTEGER, venue VARCHAR)
SELECT AVG(crowd) FROM table_name_9 WHERE venue = "corio oval"
Write a SQL query that answers the following question: What is the average crowd size for Brunswick street oval?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (crowd INTEGER, venue VARCHAR)
SELECT AVG(crowd) FROM table_name_32 WHERE venue = "brunswick street oval"
Write a SQL query that answers the following question: What day did the team play in murcia with a score of 0-3 after 1992?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (date VARCHAR, score VARCHAR, year VARCHAR, location VARCHAR)
SELECT date FROM table_name_15 WHERE year > 1992 AND location = "murcia" AND score = "0-3"
Write a SQL query that answers the following question: What location did the team win before 1998 in the europe/africa zone, group i, round robin?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (location VARCHAR, year VARCHAR, competition VARCHAR, result VARCHAR)
SELECT location FROM table_name_96 WHERE competition = "europe/africa zone, group i, round robin" AND result = "win" AND year < 1998
Write a SQL query that answers the following question: What day did they record a score of 1-2 in 1994?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (date VARCHAR, score VARCHAR, year VARCHAR)
SELECT date FROM table_name_55 WHERE score = "1-2" AND year = 1994
Write a SQL query that answers the following question: When the country is austria germany and the rank is kept under 5, what's the average number of matches played?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (matches INTEGER, country VARCHAR, rank VARCHAR)
SELECT AVG(matches) FROM table_name_91 WHERE country = "austria germany" AND rank < 5
Write a SQL query that answers the following question: Which country does the player pele belong to?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (country VARCHAR, name VARCHAR)
SELECT country FROM table_name_85 WHERE name = "pele"
Write a SQL query that answers the following question: What is the earliest game that had 42,707 attending?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (game INTEGER, attendance VARCHAR)
SELECT MIN(game) FROM table_name_94 WHERE attendance = 42 OFFSET 707
Write a SQL query that answers the following question: What is the sum of the figure skating scores whose total is less than 117.78?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (figures INTEGER, total INTEGER)
SELECT SUM(figures) FROM table_name_13 WHERE total < 117.78
Write a SQL query that answers the following question: What is the lowest total score among skaters from West Germany with a rank of 20 and a figure skating score less than 74.85?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (total INTEGER, figures VARCHAR, nation VARCHAR, rank VARCHAR)
SELECT MIN(total) FROM table_name_81 WHERE nation = "west germany" AND rank = 20 AND figures < 74.85
Write a SQL query that answers the following question: How many placings did Jacqueline du Bief earn where her total score is greater than 131.26?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (placings VARCHAR, total VARCHAR, name VARCHAR)
SELECT placings FROM table_name_72 WHERE total > 131.26 AND name = "jacqueline du bief"
Write a SQL query that answers the following question: Can you tell me the Placings that hasthe Free smaller than 524.3, and the Total smaller than 1170.1, and the Name of per cock-clausen?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (placings VARCHAR, name VARCHAR, free VARCHAR, total VARCHAR)
SELECT placings FROM table_name_34 WHERE free < 524.3 AND total < 1170.1 AND name = "per cock-clausen"
Write a SQL query that answers the following question: Can you tell me the average Figures that has the Placings of 34, and the Total larger than 1247.51?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (figures INTEGER, placings VARCHAR, total VARCHAR)
SELECT AVG(figures) FROM table_name_63 WHERE placings = 34 AND total > 1247.51
Write a SQL query that answers the following question: What is the result where the opponent is Columbus Destroyers?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (result VARCHAR, opponent VARCHAR)
SELECT result FROM table_name_99 WHERE opponent = "columbus destroyers"
Write a SQL query that answers the following question: What is the date of the away game in week 8?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (date VARCHAR, home_away_game VARCHAR, week VARCHAR)
SELECT date FROM table_name_2 WHERE home_away_game = "away" AND week = 8
Write a SQL query that answers the following question: Which grand prix had gerhard berger in his fastest lap and a jacques villeneuve pole position?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (grand_prix VARCHAR, fastest_lap VARCHAR, pole_position VARCHAR)
SELECT grand_prix FROM table_name_24 WHERE fastest_lap = "gerhard berger" AND pole_position = "jacques villeneuve"
Write a SQL query that answers the following question: What's the 2003 result for the falkirk council?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (council VARCHAR)
SELECT 2003 AS _result FROM table_name_97 WHERE council = "falkirk"
Write a SQL query that answers the following question: On which date was the manager fired and replaced by Albert Cartier?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (date_of_vacancy VARCHAR, manner_of_departure VARCHAR, replaced_by VARCHAR)
SELECT date_of_vacancy FROM table_name_70 WHERE manner_of_departure = "fired" AND replaced_by = "albert cartier"
Write a SQL query that answers the following question: What was the manner of departure for the team Anderlecht?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (manner_of_departure VARCHAR, team VARCHAR)
SELECT manner_of_departure FROM table_name_70 WHERE team = "anderlecht"
Write a SQL query that answers the following question: What was the manner of depature when the date of appointment was 27 December 2007?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (manner_of_departure VARCHAR, date_of_appointment VARCHAR)
SELECT manner_of_departure FROM table_name_52 WHERE date_of_appointment = "27 december 2007"
Write a SQL query that answers the following question: Who was the replacement for the Brussels team with a date of vacancy of 22 December 2007?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (replaced_by VARCHAR, team VARCHAR, date_of_vacancy VARCHAR)
SELECT replaced_by FROM table_name_46 WHERE team = "brussels" AND date_of_vacancy = "22 december 2007"
Write a SQL query that answers the following question: What was the date of vacancy where the replacement was Albert Cartier and the manager was fired?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (date_of_vacancy VARCHAR, manner_of_departure VARCHAR, replaced_by VARCHAR)
SELECT date_of_vacancy FROM table_name_9 WHERE manner_of_departure = "fired" AND replaced_by = "albert cartier"
Write a SQL query that answers the following question: What is the Tallangatta DFL losses greater than 2 and an against greater than 1013
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (tallangatta_dfl VARCHAR, against VARCHAR, losses VARCHAR)
SELECT tallangatta_dfl FROM table_name_49 WHERE against > 1013 AND losses > 2
Write a SQL query that answers the following question: What are the average byes that are greater than 1479, wins greater than 5 and 0 draws?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (byes INTEGER, draws VARCHAR, against VARCHAR, wins VARCHAR)
SELECT AVG(byes) FROM table_name_5 WHERE against > 1479 AND wins > 5 AND draws < 0
Write a SQL query that answers the following question: Tell me the average year for rank more than 3 and 28 floors
The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (year INTEGER, rank VARCHAR, floors VARCHAR)
SELECT AVG(year) FROM table_name_84 WHERE rank > 3 AND floors = 28
Write a SQL query that answers the following question: I want the name for rank less than 6 and year more than 1974
The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (name VARCHAR, rank VARCHAR, year VARCHAR)
SELECT name FROM table_name_75 WHERE rank < 6 AND year > 1974
Write a SQL query that answers the following question: What is the average rank of Great Britain when their total is over 4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (rank INTEGER, total VARCHAR, nation VARCHAR)
SELECT AVG(rank) FROM table_name_80 WHERE total > 4 AND nation = "great britain"
Write a SQL query that answers the following question: What is the total number of Silvers held by France when their rank was over 14?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (silver VARCHAR, nation VARCHAR, rank VARCHAR)
SELECT COUNT(silver) FROM table_name_63 WHERE nation = "france" AND rank > 14
Write a SQL query that answers the following question: Who was the home team at the game held at Princes Park?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (home_team VARCHAR, venue VARCHAR)
SELECT home_team FROM table_name_76 WHERE venue = "princes park"
Write a SQL query that answers the following question: Who was the home team when Hawthorn was the away team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_39 WHERE away_team = "hawthorn"
Write a SQL query that answers the following question: What was the Rockies record at their game that had a loss of Hernandez (3–5)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (record VARCHAR, loss VARCHAR)
SELECT record FROM table_name_21 WHERE loss = "hernandez (3–5)"
Write a SQL query that answers the following question: What engine has g tyres and is driven by elio de angelis?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (engine VARCHAR, tyres VARCHAR, driver VARCHAR)
SELECT engine FROM table_name_30 WHERE tyres = "g" AND driver = "elio de angelis"
Write a SQL query that answers the following question: What rounds does elio de angelis drive?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (rounds VARCHAR, driver VARCHAR)
SELECT rounds FROM table_name_8 WHERE driver = "elio de angelis"
Write a SQL query that answers the following question: Who is the constructor for driver alan jones using a chassis of fw06 fw07?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (constructor VARCHAR, chassis VARCHAR, driver VARCHAR)
SELECT constructor FROM table_name_93 WHERE chassis = "fw06 fw07" AND driver = "alan jones"
Write a SQL query that answers the following question: What engine does driver james hunt have?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (engine VARCHAR, driver VARCHAR)
SELECT engine FROM table_name_94 WHERE driver = "james hunt"
Write a SQL query that answers the following question: What's the engine used for rounds 5-6?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (engine VARCHAR, rounds VARCHAR)
SELECT engine FROM table_name_1 WHERE rounds = "5-6"
Write a SQL query that answers the following question: Who was the home team at Princes Park?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_41 WHERE venue = "princes park"
Write a SQL query that answers the following question: Tell me the city/state for the holden racing team with winner of mark skaife todd kelly
The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (city___state VARCHAR, team VARCHAR, winner VARCHAR)
SELECT city___state FROM table_name_33 WHERE team = "holden racing team" AND winner = "mark skaife todd kelly"
Write a SQL query that answers the following question: What is the engine configuration of the 1.2 mpi engine?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (engine_configuration VARCHAR, engine_name VARCHAR)
SELECT engine_configuration FROM table_name_80 WHERE engine_name = "1.2 mpi"
Write a SQL query that answers the following question: What is the max torque of the 1.2 mpi engine?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (max_torque_at_rpm VARCHAR, engine_name VARCHAR)
SELECT max_torque_at_rpm FROM table_name_11 WHERE engine_name = "1.2 mpi"
Write a SQL query that answers the following question: Tell me the long for charles frederick
The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (long VARCHAR, player VARCHAR)
SELECT long FROM table_name_93 WHERE player = "charles frederick"
Write a SQL query that answers the following question: Tell me the average for 1 yards
The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (avg VARCHAR, yards VARCHAR)
SELECT avg FROM table_name_65 WHERE yards = "1"
Write a SQL query that answers the following question: Which time/retired had 75 laps and Pedro de la Rosa as a driver?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (time_retired VARCHAR, laps VARCHAR, driver VARCHAR)
SELECT time_retired FROM table_name_86 WHERE laps = 75 AND driver = "pedro de la rosa"
Write a SQL query that answers the following question: What is the total number in the season for the #30 Robert Berlinger series?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (no_in_season VARCHAR, directed_by VARCHAR, no_in_series VARCHAR)
SELECT COUNT(no_in_season) FROM table_name_73 WHERE directed_by = "robert berlinger" AND no_in_series = 30
Write a SQL query that answers the following question: When did Julie gets Validated originally air?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (original_air_date VARCHAR, title VARCHAR)
SELECT original_air_date FROM table_name_84 WHERE title = "julie gets validated"
Write a SQL query that answers the following question: Who was the number 24 series written by?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (written_by VARCHAR, no_in_series VARCHAR)
SELECT written_by FROM table_name_36 WHERE no_in_series = 24
Write a SQL query that answers the following question: When did Boyd Hale's Julie gets Validated originally air?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (original_air_date VARCHAR, written_by VARCHAR, title VARCHAR)
SELECT original_air_date FROM table_name_87 WHERE written_by = "boyd hale" AND title = "julie gets validated"
Write a SQL query that answers the following question: What was the Queens number when Brooklyn was 201,866?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (queens VARCHAR, brooklyn VARCHAR)
SELECT queens FROM table_name_57 WHERE brooklyn = "201,866"
Write a SQL query that answers the following question: Which Manhattan number appeared when Richmond (Staten Island) was 78%?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (manhattan VARCHAR, richmond_ VARCHAR, staten_is VARCHAR)
SELECT manhattan FROM table_name_21 WHERE richmond_[staten_is] = "78%"
Write a SQL query that answers the following question: What did the home team score against Fitzroy?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team AS score FROM table_name_61 WHERE away_team = "fitzroy"
Write a SQL query that answers the following question: Who is the listed opponent in Week 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (opponent VARCHAR, week VARCHAR)
SELECT opponent FROM table_name_24 WHERE week = 2
Write a SQL query that answers the following question: What date has attendance listed as 45,024?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (date VARCHAR, attendance VARCHAR)
SELECT date FROM table_name_11 WHERE attendance = "45,024"
Write a SQL query that answers the following question: What numbered pick was mattias ohlund, with over 52 PL GP, and also a round under 11?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (pick__number INTEGER, pl_gp VARCHAR, rd__number VARCHAR, player VARCHAR)
SELECT SUM(pick__number) FROM table_name_82 WHERE rd__number < 11 AND player = "mattias ohlund" AND pl_gp > 52
Write a SQL query that answers the following question: How many reg GP for mattias ohlund?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (reg_gp VARCHAR, player VARCHAR)
SELECT COUNT(reg_gp) FROM table_name_35 WHERE player = "mattias ohlund"
Write a SQL query that answers the following question: What is the average attendance against the expos?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (attendance INTEGER, opponent VARCHAR)
SELECT AVG(attendance) FROM table_name_57 WHERE opponent = "expos"
Write a SQL query that answers the following question: What is the team's record on april 12?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_11 WHERE date = "april 12"
Write a SQL query that answers the following question: Who did the team play on april 19?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_2 WHERE date = "april 19"
Write a SQL query that answers the following question: What is the Aspect of Channel 26.5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (aspect VARCHAR, channel VARCHAR)
SELECT aspect FROM table_name_23 WHERE channel = 26.5
Write a SQL query that answers the following question: Which Programming is on Channel 26.5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (programming VARCHAR, channel VARCHAR)
SELECT programming FROM table_name_98 WHERE channel = 26.5
Write a SQL query that answers the following question: Which Programming is on a channel less than 26.5, has a Video of 480i and a PSIP Short Name of jtv?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (programming VARCHAR, psip_short_name VARCHAR, channel VARCHAR, video VARCHAR)
SELECT programming FROM table_name_89 WHERE channel < 26.5 AND video = "480i" AND psip_short_name = "jtv"
Write a SQL query that answers the following question: What number of laps were done by driver Ronnie Peterson?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (laps VARCHAR, driver VARCHAR)
SELECT laps FROM table_name_56 WHERE driver = "ronnie peterson"
Write a SQL query that answers the following question: Which driver had a time/retired of fuel system?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (driver VARCHAR, time_retired VARCHAR)
SELECT driver FROM table_name_2 WHERE time_retired = "fuel system"
Write a SQL query that answers the following question: What is the sum of grids with an engine in Time/Retired with less than 45 laps for Giancarlo Baghetti?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (grid INTEGER, driver VARCHAR, time_retired VARCHAR, laps VARCHAR)
SELECT SUM(grid) FROM table_name_27 WHERE time_retired = "engine" AND laps < 45 AND driver = "giancarlo baghetti"
Write a SQL query that answers the following question: I want the Grid for Laps of 35
The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (grid VARCHAR, laps VARCHAR)
SELECT grid FROM table_name_97 WHERE laps = 35
Write a SQL query that answers the following question: What is Jonty Rhodes's batting style?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (batting_style VARCHAR, player VARCHAR)
SELECT batting_style FROM table_name_95 WHERE player = "jonty rhodes"
Write a SQL query that answers the following question: What bowling style does First Class Team, Griqualand West have?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (bowling_style VARCHAR, first_class_team VARCHAR)
SELECT bowling_style FROM table_name_52 WHERE first_class_team = "griqualand west"
Write a SQL query that answers the following question: What is the batting style of Makhaya Ntini?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (batting_style VARCHAR, player VARCHAR)
SELECT batting_style FROM table_name_85 WHERE player = "makhaya ntini"
Write a SQL query that answers the following question: What region is the host university of southern california located?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (region VARCHAR, host VARCHAR)
SELECT region FROM table_name_1 WHERE host = "university of southern california"
Write a SQL query that answers the following question: In which state is the city of knoxville?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (state VARCHAR, city VARCHAR)
SELECT state FROM table_name_81 WHERE city = "knoxville"
Write a SQL query that answers the following question: Which city in Texas hosts the Frank Erwin center?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (city VARCHAR, state VARCHAR, venue VARCHAR)
SELECT city FROM table_name_58 WHERE state = "texas" AND venue = "frank erwin center"
Write a SQL query that answers the following question: In what region is the city of Austin?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (region VARCHAR, city VARCHAR)
SELECT region FROM table_name_36 WHERE city = "austin"
Write a SQL query that answers the following question: What is the polling result for Chuck DeVore which has a corresponding polling result of 4% for Other?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (chuck_devore VARCHAR, other VARCHAR)
SELECT chuck_devore FROM table_name_97 WHERE other = "4%"
Write a SQL query that answers the following question: What is the total when silver is less than 1 and rank larger than 3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (total VARCHAR, silver VARCHAR, rank VARCHAR)
SELECT COUNT(total) FROM table_name_82 WHERE silver < 1 AND rank > 3
Write a SQL query that answers the following question: What is the number of bronze for Canada and silver is less than 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (bronze INTEGER, nation VARCHAR, silver VARCHAR)
SELECT SUM(bronze) FROM table_name_72 WHERE nation = "canada" AND silver < 0
Write a SQL query that answers the following question: What is the largest gold when silver is less than 1 for Canada and bronze is less than 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (gold INTEGER, bronze VARCHAR, silver VARCHAR, nation VARCHAR)
SELECT MAX(gold) FROM table_name_48 WHERE silver < 1 AND nation = "canada" AND bronze < 0
Write a SQL query that answers the following question: What is the silver for Germany and less than 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (silver INTEGER, nation VARCHAR, rank VARCHAR)
SELECT AVG(silver) FROM table_name_64 WHERE nation = "germany" AND rank < 2
Write a SQL query that answers the following question: Tell me the score for december 3
The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_4 WHERE date = "december 3"