instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: Who is the Alternate for Sweden?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (alternate VARCHAR, nation VARCHAR)
SELECT alternate FROM table_name_58 WHERE nation = "sweden"
Write a SQL query that answers the following question: Who is the third alternate for Germany?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (third VARCHAR, nation VARCHAR)
SELECT third FROM table_name_56 WHERE nation = "germany"
Write a SQL query that answers the following question: Which translation was published in 1986?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (translation VARCHAR, date VARCHAR)
SELECT translation FROM table_name_78 WHERE date = 1986
Write a SQL query that answers the following question: Which title has content including mysticism, spiritualism, and a translation of the minaret of light?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (title VARCHAR, content VARCHAR, translation VARCHAR)
SELECT title FROM table_name_86 WHERE content = "mysticism, spiritualism" AND translation = "the minaret of light"
Write a SQL query that answers the following question: What is hte nuumber of employees that has a revenue of 104.000?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (employees__world_ VARCHAR, revenue__mil€_ VARCHAR)
SELECT employees__world_ FROM table_name_60 WHERE revenue__mil€_ = "104.000"
Write a SQL query that answers the following question: Which HQ is associated with a number of employees of 100?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (headquarters VARCHAR, employees__world_ VARCHAR)
SELECT headquarters FROM table_name_23 WHERE employees__world_ = 100
Write a SQL query that answers the following question: What is the low silver medal total for nations with over 1 bronze ranked above 11?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (silver INTEGER, bronze VARCHAR, rank VARCHAR)
SELECT MIN(silver) FROM table_name_80 WHERE bronze > 1 AND rank < 11
Write a SQL query that answers the following question: What is the high total for nations with 1 gold and over 1 bronze?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (total INTEGER, gold VARCHAR, bronze VARCHAR)
SELECT MAX(total) FROM table_name_55 WHERE gold = 1 AND bronze > 1
Write a SQL query that answers the following question: What was the home team with a 4-6-0 record?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (home VARCHAR, record VARCHAR)
SELECT home FROM table_name_13 WHERE record = "4-6-0"
Write a SQL query that answers the following question: What was the decision of the game with Washington as the visitor team on October 13?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (decision VARCHAR, visitor VARCHAR, date VARCHAR)
SELECT decision FROM table_name_96 WHERE visitor = "washington" AND date = "october 13"
Write a SQL query that answers the following question: What is the average NGC number of everything with a Right ascension (J2000) of 05h33m30s?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (ngc_number INTEGER, right_ascension___j2000__ VARCHAR)
SELECT AVG(ngc_number) FROM table_name_7 WHERE right_ascension___j2000__ = "05h33m30s"
Write a SQL query that answers the following question: What is the right ascension (J2000) with a Declination (J2000) of °12′43″, is a constellation of dorado, and has an NGC number larger than 2068?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (right_ascension___j2000__ VARCHAR, declination___j2000__ VARCHAR, ngc_number VARCHAR, constellation VARCHAR)
SELECT right_ascension___j2000__ FROM table_name_55 WHERE ngc_number > 2068 AND constellation = "dorado" AND declination___j2000__ = "°12′43″"
Write a SQL query that answers the following question: What type of object has an NGC number higher than 2090 and has a right ascension (J2000) of 05h52m19s?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (object_type VARCHAR, ngc_number VARCHAR, right_ascension___j2000__ VARCHAR)
SELECT object_type FROM table_name_61 WHERE ngc_number > 2090 AND right_ascension___j2000__ = "05h52m19s"
Write a SQL query that answers the following question: How is the crowd of the team Geelong?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (crowd INTEGER, away_team VARCHAR)
SELECT AVG(crowd) FROM table_name_35 WHERE away_team = "geelong"
Write a SQL query that answers the following question: Who has the smallest crowd in the Venue of Arden Street Oval?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (crowd INTEGER, venue VARCHAR)
SELECT MIN(crowd) FROM table_name_56 WHERE venue = "arden street oval"
Write a SQL query that answers the following question: What team has a Venue at Lake Oval?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (away_team VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_35 WHERE venue = "lake oval"
Write a SQL query that answers the following question: What day is the grand prix de trois-rivières?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (date VARCHAR, race_title VARCHAR)
SELECT date FROM table_name_30 WHERE race_title = "grand prix de trois-rivières"
Write a SQL query that answers the following question: What race is on aug 4 with ron fellows?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (race_title VARCHAR, drivers VARCHAR, date VARCHAR)
SELECT race_title FROM table_name_24 WHERE drivers = "ron fellows" AND date = "aug 4"
Write a SQL query that answers the following question: What is the distance/duration on sept 5 of le grand prix de trois-rivières?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (distance_duration VARCHAR, date VARCHAR, race_title VARCHAR)
SELECT distance_duration FROM table_name_3 WHERE date = "sept 5" AND race_title = "le grand prix de trois-rivières"
Write a SQL query that answers the following question: What is terry's record when he fights julio paulino?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (record VARCHAR, opponent VARCHAR)
SELECT record FROM table_name_21 WHERE opponent = "julio paulino"
Write a SQL query that answers the following question: How long is the ko (punch) fight against scott smith?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (time VARCHAR, method VARCHAR, opponent VARCHAR)
SELECT time FROM table_name_78 WHERE method = "ko (punch)" AND opponent = "scott smith"
Write a SQL query that answers the following question: What is the average feet that has a Latitude (N) of 35°48′35″, and under 8,047m?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (feet INTEGER, latitude__n_ VARCHAR, metres VARCHAR)
SELECT AVG(feet) FROM table_name_11 WHERE latitude__n_ = "35°48′35″" AND metres < 8 OFFSET 047
Write a SQL query that answers the following question: What is the lowest feet total with a Longitude (E) of 76°34′06″, and a Prominence (m) under 1,701?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (feet INTEGER, longitude__e_ VARCHAR, prominence__m_ VARCHAR)
SELECT MIN(feet) FROM table_name_22 WHERE longitude__e_ = "76°34′06″" AND prominence__m_ < 1 OFFSET 701
Write a SQL query that answers the following question: What Player comes from the Hometown of Wichita, KS?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (player VARCHAR, hometown VARCHAR)
SELECT player FROM table_name_75 WHERE hometown = "wichita, ks"
Write a SQL query that answers the following question: For the Player from Brampton, ON what is their NBA Draft status?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (nba_draft VARCHAR, hometown VARCHAR)
SELECT nba_draft FROM table_name_99 WHERE hometown = "brampton, on"
Write a SQL query that answers the following question: What was the College of Player Perry Ellis?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (college VARCHAR, player VARCHAR)
SELECT college FROM table_name_69 WHERE player = "perry ellis"
Write a SQL query that answers the following question: What is the lowest figure score when the free is 556?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (figures INTEGER, free VARCHAR)
SELECT MIN(figures) FROM table_name_24 WHERE free = 556
Write a SQL query that answers the following question: What is the size of the crowd for the game where the away team South Melbourne played?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (crowd INTEGER, away_team VARCHAR)
SELECT AVG(crowd) FROM table_name_39 WHERE away_team = "south melbourne"
Write a SQL query that answers the following question: What is the home team score when the crowd was larger than 30,100?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (home_team VARCHAR, crowd INTEGER)
SELECT home_team AS score FROM table_name_11 WHERE crowd > 30 OFFSET 100
Write a SQL query that answers the following question: How much did the home team Hawthorn score?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (home_team VARCHAR)
SELECT home_team AS score FROM table_name_5 WHERE home_team = "hawthorn"
Write a SQL query that answers the following question: What was the crowd size for the game at Footscray?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (crowd VARCHAR, away_team VARCHAR)
SELECT COUNT(crowd) FROM table_name_2 WHERE away_team = "footscray"
Write a SQL query that answers the following question: Who was the visitor when phoenix was at home?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (visitor VARCHAR, home VARCHAR)
SELECT visitor FROM table_name_35 WHERE home = "phoenix"
Write a SQL query that answers the following question: What day did philadelphia visit?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (date VARCHAR, visitor VARCHAR)
SELECT date FROM table_name_31 WHERE visitor = "philadelphia"
Write a SQL query that answers the following question: Which song has a Picturization of Vijay?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (song VARCHAR, picturization VARCHAR)
SELECT song FROM table_name_86 WHERE picturization = "vijay"
Write a SQL query that answers the following question: What is the air date for the episode with production code ad1c13?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (original_air_date VARCHAR, production_code VARCHAR)
SELECT original_air_date FROM table_name_64 WHERE production_code = "ad1c13"
Write a SQL query that answers the following question: Who wrote the episode that has the production code ad1c05?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (written_by VARCHAR, production_code VARCHAR)
SELECT written_by FROM table_name_4 WHERE production_code = "ad1c05"
Write a SQL query that answers the following question: What is the title of the episode with production code ad1c07?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (title VARCHAR, production_code VARCHAR)
SELECT title FROM table_name_99 WHERE production_code = "ad1c07"
Write a SQL query that answers the following question: What is the low draw total for yarragon teams with over 3 wins, and under 966 against?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (draws INTEGER, against VARCHAR, wins VARCHAR, mid_gippsland_fl VARCHAR)
SELECT MIN(draws) FROM table_name_98 WHERE wins > 3 AND mid_gippsland_fl = "yarragon" AND against < 966
Write a SQL query that answers the following question: What is the General classification for a points classification leader of Bradley Wiggins?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (general_classification VARCHAR, points_classification VARCHAR)
SELECT general_classification FROM table_name_47 WHERE points_classification = "bradley wiggins"
Write a SQL query that answers the following question: What is the general classification for a mountains value of Christophe Moreau and a Team winner of Team CSC?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (general_classification VARCHAR, mountains_classification VARCHAR, team_classification VARCHAR)
SELECT general_classification FROM table_name_94 WHERE mountains_classification = "christophe moreau" AND team_classification = "team csc"
Write a SQL query that answers the following question: What is the frequency of KQLX?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (frequency VARCHAR, call_sign VARCHAR)
SELECT frequency FROM table_name_76 WHERE call_sign = "kqlx"
Write a SQL query that answers the following question: What is the call sign of 1200 am?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (call_sign VARCHAR, frequency VARCHAR)
SELECT call_sign FROM table_name_9 WHERE frequency = "1200 am"
Write a SQL query that answers the following question: What is the frequency of the talk station?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (frequency VARCHAR, format VARCHAR)
SELECT frequency FROM table_name_67 WHERE format = "talk"
Write a SQL query that answers the following question: What is the frequency of KFNW?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (frequency VARCHAR, call_sign VARCHAR)
SELECT frequency FROM table_name_36 WHERE call_sign = "kfnw"
Write a SQL query that answers the following question: What is the constructor for the VII Race of Champions?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (constructor VARCHAR, race_name VARCHAR)
SELECT constructor FROM table_name_34 WHERE race_name = "vii race of champions"
Write a SQL query that answers the following question: What is the name of the race won by driver Carlos Reutemann?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (race_name VARCHAR, winning_driver VARCHAR)
SELECT race_name FROM table_name_72 WHERE winning_driver = "carlos reutemann"
Write a SQL query that answers the following question: what is the date when the home is st. louis?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (date VARCHAR, home VARCHAR)
SELECT date FROM table_name_30 WHERE home = "st. louis"
Write a SQL query that answers the following question: Where is the home on march 12?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (home VARCHAR, date VARCHAR)
SELECT home FROM table_name_34 WHERE date = "march 12"
Write a SQL query that answers the following question: what is the decision on the date march 18?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (decision VARCHAR, date VARCHAR)
SELECT decision FROM table_name_8 WHERE date = "march 18"
Write a SQL query that answers the following question: What is the total of TCKL in 2000 with a P/KO RET less than 14?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (tckl VARCHAR, year VARCHAR, p_ko_ret VARCHAR)
SELECT COUNT(tckl) FROM table_name_9 WHERE year = "2000" AND p_ko_ret < 14
Write a SQL query that answers the following question: What is the highest YARDS with a TCKL more than 51 and less than 2 SACK?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (yards INTEGER, tckl VARCHAR, sack VARCHAR)
SELECT MAX(yards) FROM table_name_61 WHERE tckl > 51 AND sack < 2
Write a SQL query that answers the following question: What is the total of all YARDS with 0 SACK and less than 14 P/KO RET?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (yards VARCHAR, sack VARCHAR, p_ko_ret VARCHAR)
SELECT COUNT(yards) FROM table_name_31 WHERE sack = 0 AND p_ko_ret < 14
Write a SQL query that answers the following question: What is the pick for West Virginia college?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (pick VARCHAR, college VARCHAR)
SELECT pick FROM table_name_91 WHERE college = "west virginia"
Write a SQL query that answers the following question: What round has a position of F/C from Iowa College?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (round VARCHAR, position VARCHAR, college VARCHAR)
SELECT round FROM table_name_56 WHERE position = "f/c" AND college = "iowa"
Write a SQL query that answers the following question: What nationality has a pick of 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (nationality VARCHAR, pick VARCHAR)
SELECT nationality FROM table_name_49 WHERE pick = "1"
Write a SQL query that answers the following question: Which nationality has a round of 1, and F position from Louisville?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (nationality VARCHAR, college VARCHAR, round VARCHAR, position VARCHAR)
SELECT nationality FROM table_name_15 WHERE round = "1" AND position = "f" AND college = "louisville"
Write a SQL query that answers the following question: Which team plays at the Arden Street Oval?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (away_team VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_97 WHERE venue = "arden street oval"
Write a SQL query that answers the following question: Where does Carlton play?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (venue VARCHAR, home_team VARCHAR)
SELECT venue FROM table_name_82 WHERE home_team = "carlton"
Write a SQL query that answers the following question: What was the date of the game in which the home team was the Grizzlies and the visiting team was the Timberwolves?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (date VARCHAR, home VARCHAR, visitor VARCHAR)
SELECT date FROM table_name_7 WHERE home = "grizzlies" AND visitor = "timberwolves"
Write a SQL query that answers the following question: What is the airing date for costume comedy that has 20 episodes?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (airing_date VARCHAR, number_of_episodes VARCHAR, genre VARCHAR)
SELECT airing_date FROM table_name_91 WHERE number_of_episodes = 20 AND genre = "costume comedy"
Write a SQL query that answers the following question: What year was 7th heaven made?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (year VARCHAR, film VARCHAR)
SELECT year FROM table_name_24 WHERE film = "7th heaven"
Write a SQL query that answers the following question: What film was made in 1999?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (film VARCHAR, year VARCHAR)
SELECT film FROM table_name_27 WHERE year = "1999"
Write a SQL query that answers the following question: what is the city with the height (ft) more than 328.1, rank higher than 56, a height (m) of 103 and floors less than 28?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (city VARCHAR, floors VARCHAR, height__m_ VARCHAR, height__ft_ VARCHAR, rank VARCHAR)
SELECT city FROM table_name_14 WHERE height__ft_ > 328.1 AND rank > 56 AND height__m_ = 103 AND floors < 28
Write a SQL query that answers the following question: what is the total of floors when the name is kölntriangle and rank is less thank 63?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (floors INTEGER, name VARCHAR, rank VARCHAR)
SELECT SUM(floors) FROM table_name_10 WHERE name = "kölntriangle" AND rank < 63
Write a SQL query that answers the following question: what is the lowest height (ft) for messeturm and more than 55 floors?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (height__ft_ INTEGER, name VARCHAR, floors VARCHAR)
SELECT MIN(height__ft_) FROM table_name_55 WHERE name = "messeturm" AND floors > 55
Write a SQL query that answers the following question: what is the rank for the city of cologne, floors is 34 and height (ft) is more than 452.8?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (rank VARCHAR, height__ft_ VARCHAR, city VARCHAR, floors VARCHAR)
SELECT COUNT(rank) FROM table_name_90 WHERE city = "cologne" AND floors = 34 AND height__ft_ > 452.8
Write a SQL query that answers the following question: Which Group position has Result F–A of 0–1 on 1 november 2006?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (group_position VARCHAR, result_f_a VARCHAR, date VARCHAR)
SELECT group_position FROM table_name_50 WHERE result_f_a = "0–1" AND date = "1 november 2006"
Write a SQL query that answers the following question: What club is R. H. C. Human who has a right arm medium pace bowling style a member of?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (club VARCHAR, bowling_style VARCHAR, name VARCHAR)
SELECT club FROM table_name_41 WHERE bowling_style = "right arm medium pace" AND name = "r. h. c. human"
Write a SQL query that answers the following question: What is the birth date of A. J. Holmes who has a right-handed batting style?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (birth_date VARCHAR, batting_style VARCHAR, name VARCHAR)
SELECT birth_date FROM table_name_57 WHERE batting_style = "right-handed" AND name = "a. j. holmes"
Write a SQL query that answers the following question: What is the batting style of the person who has a right arm medium pace bowling style and a birth date of 10 February 1910 (aged 29)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (batting_style VARCHAR, bowling_style VARCHAR, birth_date VARCHAR)
SELECT batting_style FROM table_name_75 WHERE bowling_style = "right arm medium pace" AND birth_date = "10 february 1910 (aged 29)"
Write a SQL query that answers the following question: What is the weight for the v t e of živko gocić category:articles with hcards?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (weight VARCHAR, name_v_t_e VARCHAR)
SELECT weight FROM table_name_91 WHERE name_v_t_e = "živko gocić category:articles with hcards"
Write a SQL query that answers the following question: What is the weight of the v t e of duško pijetlović category:articles with hcards?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (weight VARCHAR, name_v_t_e VARCHAR)
SELECT weight FROM table_name_26 WHERE name_v_t_e = "duško pijetlović category:articles with hcards"
Write a SQL query that answers the following question: What was the total for David O'Callaghan, and a Tally of 1-9?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (total INTEGER, player VARCHAR, tally VARCHAR)
SELECT SUM(total) FROM table_name_45 WHERE player = "david o'callaghan" AND tally = "1-9"
Write a SQL query that answers the following question: What is the opposition when the tally was 0-11?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (opposition VARCHAR, tally VARCHAR)
SELECT opposition FROM table_name_25 WHERE tally = "0-11"
Write a SQL query that answers the following question: What is the tally in Kilkenny county with 10 as the total and opposition of Waterford?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (tally VARCHAR, opposition VARCHAR, county VARCHAR, total VARCHAR)
SELECT tally FROM table_name_44 WHERE county = "kilkenny" AND total = 10 AND opposition = "waterford"
Write a SQL query that answers the following question: What is the average weeks of a song with a larger than 3 position after 1977?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (weeks_on_chart INTEGER, position VARCHAR, year VARCHAR)
SELECT AVG(weeks_on_chart) FROM table_name_40 WHERE position > 3 AND year > 1977
Write a SQL query that answers the following question: What is the sum of the weeks on a chart a song with a position less than 1 haas?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (weeks_on_chart INTEGER, position INTEGER)
SELECT SUM(weeks_on_chart) FROM table_name_92 WHERE position < 1
Write a SQL query that answers the following question: What is the earliest year a song with a position less than 1 has?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (year INTEGER, position INTEGER)
SELECT MIN(year) FROM table_name_5 WHERE position < 1
Write a SQL query that answers the following question: what is the tyre when the entrant is scuderia milano?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (tyre VARCHAR, entrant VARCHAR)
SELECT tyre FROM table_name_81 WHERE entrant = "scuderia milano"
Write a SQL query that answers the following question: who is the driver with the engine era 1.5 l6 s and the chassis is era b?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (driver VARCHAR, engine VARCHAR, chassis VARCHAR)
SELECT driver FROM table_name_17 WHERE engine = "era 1.5 l6 s" AND chassis = "era b"
Write a SQL query that answers the following question: who is the constructor when the tyre is d, the engine is talbot 23cv 4.5 l6, the chassis is talbot-lago t26c and the entrant is ecurie belge?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (constructor VARCHAR, entrant VARCHAR, chassis VARCHAR, tyre VARCHAR, engine VARCHAR)
SELECT constructor FROM table_name_75 WHERE tyre = "d" AND engine = "talbot 23cv 4.5 l6" AND chassis = "talbot-lago t26c" AND entrant = "ecurie belge"
Write a SQL query that answers the following question: What is KK -1 if KK -3 is 1,100?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (kk___1 VARCHAR, kk___3 VARCHAR)
SELECT kk___1 FROM table_name_79 WHERE kk___3 = "1,100"
Write a SQL query that answers the following question: What is KK -5 if KK - 3 is 310?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (kk___5 VARCHAR, kk___3 VARCHAR)
SELECT kk___5 FROM table_name_38 WHERE kk___3 = "310"
Write a SQL query that answers the following question: What is KK - 5 if KK - 1 is 1,067?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (kk___5 VARCHAR, kk___1 VARCHAR)
SELECT kk___5 FROM table_name_42 WHERE kk___1 = "1,067"
Write a SQL query that answers the following question: Who is the Winner with a Time of 1:12.00 and Melvin A. Holland as the Jockey?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (winner VARCHAR, time VARCHAR, jockey VARCHAR)
SELECT winner FROM table_name_74 WHERE time = "1:12.00" AND jockey = "melvin a. holland"
Write a SQL query that answers the following question: Which Year has a Purse of $83,925?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (year VARCHAR, purse VARCHAR)
SELECT year FROM table_name_71 WHERE purse = "$83,925"
Write a SQL query that answers the following question: What is the Purse listed for the Year of 1998?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (purse VARCHAR, year VARCHAR)
SELECT purse FROM table_name_10 WHERE year = "1998"
Write a SQL query that answers the following question: What's the Winner in the Year of 2000?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (winner VARCHAR, year VARCHAR)
SELECT winner FROM table_name_9 WHERE year = "2000"
Write a SQL query that answers the following question: What's the WInner with a TIme of 1:10.60, and Owner of Leslie Combs II?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (winner VARCHAR, time VARCHAR, owner VARCHAR)
SELECT winner FROM table_name_43 WHERE time = "1:10.60" AND owner = "leslie combs ii"
Write a SQL query that answers the following question: Who is the Trainer with the Year of 2013?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (trainer VARCHAR, year VARCHAR)
SELECT trainer FROM table_name_33 WHERE year = "2013"
Write a SQL query that answers the following question: How many points did the away team of st kilda score?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (away_team VARCHAR)
SELECT away_team AS score FROM table_name_84 WHERE away_team = "st kilda"
Write a SQL query that answers the following question: Tell me the date with result of l 13–9
The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (date VARCHAR, result VARCHAR)
SELECT date FROM table_name_94 WHERE result = "l 13–9"
Write a SQL query that answers the following question: Tell me the total number of week for w 35–7
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (week VARCHAR, result VARCHAR)
SELECT COUNT(week) FROM table_name_67 WHERE result = "w 35–7"
Write a SQL query that answers the following question: Tell me the average week for result of l 34–24
The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (week INTEGER, result VARCHAR)
SELECT AVG(week) FROM table_name_70 WHERE result = "l 34–24"
Write a SQL query that answers the following question: Who was the President of Czechoslovakia when an ambassador's tenure began in 1950?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (czechoslovak_president VARCHAR, tenure_begin VARCHAR)
SELECT czechoslovak_president FROM table_name_99 WHERE tenure_begin = "1950"
Write a SQL query that answers the following question: What is the total share for an episode with an air date of November 19, 2007?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (share INTEGER, air_date VARCHAR)
SELECT SUM(share) FROM table_name_2 WHERE air_date = "november 19, 2007"
Write a SQL query that answers the following question: Which manufacturer has a Time/Retired of +15.665?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (manufacturer VARCHAR, time_retired VARCHAR)
SELECT manufacturer FROM table_name_35 WHERE time_retired = "+15.665"
Write a SQL query that answers the following question: What were the laps of aprilia with a grid of 10?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (laps VARCHAR, manufacturer VARCHAR, grid VARCHAR)
SELECT laps FROM table_name_72 WHERE manufacturer = "aprilia" AND grid = 10
Write a SQL query that answers the following question: What was the size of the crowd at the game played at Junction Oval?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (crowd INTEGER, venue VARCHAR)
SELECT AVG(crowd) FROM table_name_66 WHERE venue = "junction oval"
Write a SQL query that answers the following question: When was the game when North Melbourne was the home team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (date VARCHAR, home_team VARCHAR)
SELECT date FROM table_name_35 WHERE home_team = "north melbourne"