instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: What state is susana martinez from?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (state VARCHAR, current_governor VARCHAR)
SELECT state FROM table_name_72 WHERE current_governor = "susana martinez"
Write a SQL query that answers the following question: What is the Home team score when away team is hawthorn?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team AS score FROM table_name_70 WHERE away_team = "hawthorn"
Write a SQL query that answers the following question: What league is ordabasy-2 in?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (league VARCHAR, team VARCHAR)
SELECT league FROM table_name_64 WHERE team = "ordabasy-2"
Write a SQL query that answers the following question: On what date was Richmond hosted as the away team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (date VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_50 WHERE away_team = "richmond"
Write a SQL query that answers the following question: Tell me the Hindu with Jewish of source: uk 2001 census
The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (hindu VARCHAR, jewish VARCHAR)
SELECT hindu FROM table_name_87 WHERE jewish = "source: uk 2001 census"
Write a SQL query that answers the following question: Tell me the ethnic group for jewish of 0.47%
The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (ethnic_group VARCHAR, jewish VARCHAR)
SELECT ethnic_group FROM table_name_77 WHERE jewish = "0.47%"
Write a SQL query that answers the following question: Tell me the Hindu for ethnic group for white irish
The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (hindu VARCHAR, ethnic_group VARCHAR)
SELECT hindu FROM table_name_4 WHERE ethnic_group = "white irish"
Write a SQL query that answers the following question: Name the ethnic group with a buddhist of 0.19%
The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (ethnic_group VARCHAR, buddhist VARCHAR)
SELECT ethnic_group FROM table_name_94 WHERE buddhist = "0.19%"
Write a SQL query that answers the following question: What was the attendance of week 8?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (attendance VARCHAR, week VARCHAR)
SELECT attendance FROM table_name_24 WHERE week = 8
Write a SQL query that answers the following question: Who was the opponent of carlton at their home game?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_95 WHERE home_team = "carlton"
Write a SQL query that answers the following question: Tell me the result for 3 goals
The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (result VARCHAR, goal VARCHAR)
SELECT result FROM table_name_46 WHERE goal = 3
Write a SQL query that answers the following question: Name the score for november 16
The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_8 WHERE date = "november 16"
Write a SQL query that answers the following question: What is the Away Team Score of the Hawthorn Home Team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team AS score FROM table_name_6 WHERE home_team = "hawthorn"
Write a SQL query that answers the following question: What is the Away Team Score of the Collingwood Home Team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (away_team VARCHAR)
SELECT away_team AS score FROM table_name_26 WHERE away_team = "collingwood"
Write a SQL query that answers the following question: What Away Team's venue is Arden Street Oval?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (away_team VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_45 WHERE venue = "arden street oval"
Write a SQL query that answers the following question: Name the least Laps for accident and gird more than 13
The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (laps INTEGER, time_retired VARCHAR, grid VARCHAR)
SELECT MIN(laps) FROM table_name_41 WHERE time_retired = "accident" AND grid > 13
Write a SQL query that answers the following question: Tell me the lowest Grid for engine and driver of emerson fittipaldi with more laps than 70
The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (grid INTEGER, laps VARCHAR, time_retired VARCHAR, driver VARCHAR)
SELECT MIN(grid) FROM table_name_83 WHERE time_retired = "engine" AND driver = "emerson fittipaldi" AND laps > 70
Write a SQL query that answers the following question: In what venue was the away team South Melbourne?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_62 WHERE away_team = "south melbourne"
Write a SQL query that answers the following question: Where did the away team Carlton play?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_2 WHERE away_team = "carlton"
Write a SQL query that answers the following question: What home team played against Richmond?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_73 WHERE away_team = "richmond"
Write a SQL query that answers the following question: What is the smallest crowd size for punt road oval?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (crowd INTEGER, venue VARCHAR)
SELECT MIN(crowd) FROM table_name_68 WHERE venue = "punt road oval"
Write a SQL query that answers the following question: Which Number of people 1991 has a Percent of Slovenes 1991 of 14.4%?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (number_of_people_1991 INTEGER, percent_of_slovenes_1991 VARCHAR)
SELECT MAX(number_of_people_1991) FROM table_name_67 WHERE percent_of_slovenes_1991 = "14.4%"
Write a SQL query that answers the following question: Which Percent of Slovenes 1951 has a Number of people 1991 larger than 8, and a Village (German) of plöschenberg?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (percent_of_slovenes_1951 VARCHAR, number_of_people_1991 VARCHAR, village__german_ VARCHAR)
SELECT percent_of_slovenes_1951 FROM table_name_60 WHERE number_of_people_1991 > 8 AND village__german_ = "plöschenberg"
Write a SQL query that answers the following question: Where was Collingwood's away game played?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_3 WHERE away_team = "collingwood"
Write a SQL query that answers the following question: What was the away team's score at Western Oval?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (away_team VARCHAR, venue VARCHAR)
SELECT away_team AS score FROM table_name_74 WHERE venue = "western oval"
Write a SQL query that answers the following question: When did Collingwood play an away game?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (date VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_53 WHERE away_team = "collingwood"
Write a SQL query that answers the following question: What team is based at junction oval?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (home_team VARCHAR, venue VARCHAR)
SELECT home_team FROM table_name_66 WHERE venue = "junction oval"
Write a SQL query that answers the following question: What is the team set at junction oval?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (home_team VARCHAR, venue VARCHAR)
SELECT home_team FROM table_name_68 WHERE venue = "junction oval"
Write a SQL query that answers the following question: What driver has a grid under 12 with a Time/Retired of + 3 laps?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (driver VARCHAR, grid VARCHAR, time_retired VARCHAR)
SELECT driver FROM table_name_87 WHERE grid < 12 AND time_retired = "+ 3 laps"
Write a SQL query that answers the following question: What is the high grid for osella - alfa romeo, and a Laps larger than 61?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (grid INTEGER, constructor VARCHAR, laps VARCHAR)
SELECT MAX(grid) FROM table_name_56 WHERE constructor = "osella - alfa romeo" AND laps > 61
Write a SQL query that answers the following question: How many picks does Matt Moran have altogether after round 6?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (pick VARCHAR, name VARCHAR, round VARCHAR)
SELECT COUNT(pick) FROM table_name_72 WHERE name = "matt moran" AND round > 6
Write a SQL query that answers the following question: What position after round 8 has a pick less than 270?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (position VARCHAR, round VARCHAR, pick VARCHAR)
SELECT position FROM table_name_67 WHERE round > 8 AND pick < 270
Write a SQL query that answers the following question: What is the total number of rounds that UCLA has?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (round VARCHAR, school VARCHAR)
SELECT COUNT(round) FROM table_name_41 WHERE school = "ucla"
Write a SQL query that answers the following question: What is the lowest round for Georgia Tech?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (round INTEGER, school VARCHAR)
SELECT MIN(round) FROM table_name_2 WHERE school = "georgia tech"
Write a SQL query that answers the following question: What is the average round for Georgia Tech with a pick greater than 103?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (round INTEGER, school VARCHAR, pick VARCHAR)
SELECT AVG(round) FROM table_name_81 WHERE school = "georgia tech" AND pick > 103
Write a SQL query that answers the following question: Which player is featured for 2001-2002?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (player VARCHAR, year VARCHAR)
SELECT player FROM table_name_28 WHERE year = "2001-2002"
Write a SQL query that answers the following question: Which player is from Queens, NY?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (player VARCHAR, hometown VARCHAR)
SELECT player FROM table_name_77 WHERE hometown = "queens, ny"
Write a SQL query that answers the following question: Where did Maya Moore attend school?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (school VARCHAR, player VARCHAR)
SELECT school FROM table_name_6 WHERE player = "maya moore"
Write a SQL query that answers the following question: What is the difference with a loss smaller than 5 and points lower than 32?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (diff VARCHAR, lost VARCHAR, points VARCHAR)
SELECT COUNT(diff) FROM table_name_50 WHERE lost < 5 AND points < 32
Write a SQL query that answers the following question: Which loss had a player lower than 18?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (lost INTEGER, played INTEGER)
SELECT MIN(lost) FROM table_name_63 WHERE played < 18
Write a SQL query that answers the following question: Who won the 2012 game that had a score of 15–0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (winner VARCHAR, year VARCHAR, result VARCHAR)
SELECT winner FROM table_name_88 WHERE year = 2012 AND result = "15–0"
Write a SQL query that answers the following question: Tell me the week for result of l 31-27, and an Attendance smaller than 85,865
The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (week INTEGER, result VARCHAR, attendance VARCHAR)
SELECT AVG(week) FROM table_name_99 WHERE result = "l 31-27" AND attendance < 85 OFFSET 865
Write a SQL query that answers the following question: Who had notes of Prizzi's Honor?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (director VARCHAR, notes VARCHAR)
SELECT director FROM table_name_72 WHERE notes = "prizzi's honor"
Write a SQL query that answers the following question: What Superlative had a record set of 12 nominations?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (superlative VARCHAR, record_set VARCHAR)
SELECT superlative FROM table_name_23 WHERE record_set = "12 nominations"
Write a SQL query that answers the following question: What is the highest number of laps completed by driver Joe Nemechek?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (laps INTEGER, driver VARCHAR)
SELECT MAX(laps) FROM table_name_3 WHERE driver = "joe nemechek"
Write a SQL query that answers the following question: What is the home team score when they played at Victoria Park?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_7 WHERE venue = "victoria park"
Write a SQL query that answers the following question: What was the venue when the home team was Fitzroy?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (venue VARCHAR, home_team VARCHAR)
SELECT venue FROM table_name_76 WHERE home_team = "fitzroy"
Write a SQL query that answers the following question: What is the date for proposed for revere textile prints corporation
The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (proposed VARCHAR, name VARCHAR)
SELECT proposed FROM table_name_40 WHERE name = "revere textile prints corporation"
Write a SQL query that answers the following question: What is the deleted for tolland?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (deleted VARCHAR, county VARCHAR)
SELECT deleted FROM table_name_71 WHERE county = "tolland"
Write a SQL query that answers the following question: What is the away side score when hawthorn is the home side?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team AS score FROM table_name_93 WHERE home_team = "hawthorn"
Write a SQL query that answers the following question: What is the average lap total for grids under 19 and a Time/Retired of +4 laps?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (laps INTEGER, time_retired VARCHAR, grid VARCHAR)
SELECT AVG(laps) FROM table_name_63 WHERE time_retired = "+4 laps" AND grid < 19
Write a SQL query that answers the following question: Who drive over 43 laps in grid 5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (driver VARCHAR, laps VARCHAR, grid VARCHAR)
SELECT driver FROM table_name_66 WHERE laps > 43 AND grid = 5
Write a SQL query that answers the following question: Which Away team score has a Venue of princes park?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (away_team VARCHAR, venue VARCHAR)
SELECT away_team AS score FROM table_name_7 WHERE venue = "princes park"
Write a SQL query that answers the following question: Which Away team score has a Home team of melbourne?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team AS score FROM table_name_17 WHERE home_team = "melbourne"
Write a SQL query that answers the following question: What genre is revolving doors of vengeance 酒店風雲?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (genre VARCHAR, english_title__chinese_title_ VARCHAR)
SELECT genre FROM table_name_30 WHERE english_title__chinese_title_ = "revolving doors of vengeance 酒店風雲"
Write a SQL query that answers the following question: What is the english title of the modern drama, episode 20, that airs on 26 sep- 21 oct?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (english_title__chinese_title_ VARCHAR, airing_date VARCHAR, genre VARCHAR, number_of_episodes VARCHAR)
SELECT english_title__chinese_title_ FROM table_name_82 WHERE genre = "modern drama" AND number_of_episodes = 20 AND airing_date = "26 sep- 21 oct"
Write a SQL query that answers the following question: What is the D48 when the D 50 O is d 31?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (d_48_√ VARCHAR, d_50_o VARCHAR)
SELECT d_48_√ FROM table_name_67 WHERE d_50_o = "d 31"
Write a SQL query that answers the following question: What was Catalogue tojp 60121-22's Date?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (date VARCHAR, catalogue VARCHAR)
SELECT date FROM table_name_67 WHERE catalogue = "tojp 60121-22"
Write a SQL query that answers the following question: What was the Date of Country of United States?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (date VARCHAR, country VARCHAR)
SELECT date FROM table_name_97 WHERE country = "united states"
Write a SQL query that answers the following question: What Catalogue is Dated 14 november 2003, with the Format compact disc?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (catalogue VARCHAR, date VARCHAR, format VARCHAR)
SELECT catalogue FROM table_name_47 WHERE date = "14 november 2003" AND format = "compact disc"
Write a SQL query that answers the following question: What is the Label for Date of 14 November 2003, and Catalogue tojp 60121-22?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (label VARCHAR, date VARCHAR, catalogue VARCHAR)
SELECT label FROM table_name_70 WHERE date = "14 november 2003" AND catalogue = "tojp 60121-22"
Write a SQL query that answers the following question: What Label was Catalogued tojp 60121-22?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (label VARCHAR, catalogue VARCHAR)
SELECT label FROM table_name_83 WHERE catalogue = "tojp 60121-22"
Write a SQL query that answers the following question: What is the record for Norway on 23 august 1981?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (record VARCHAR, nationality VARCHAR, date VARCHAR)
SELECT record FROM table_name_56 WHERE nationality = "norway" AND date = "23 august 1981"
Write a SQL query that answers the following question: What is the record for the 20000 m walk?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (record VARCHAR, event VARCHAR)
SELECT record FROM table_name_12 WHERE event = "20000 m walk"
Write a SQL query that answers the following question: When was the Bye week?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (date VARCHAR, result VARCHAR)
SELECT date FROM table_name_62 WHERE result = "bye"
Write a SQL query that answers the following question: Which Open 2nd VIII had a U15 6th Quad of BGS and a U16 1st VII of TSS?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (open_2nd_viii VARCHAR, u15_6th_quad VARCHAR, u16_1st_viii VARCHAR)
SELECT open_2nd_viii FROM table_name_5 WHERE u15_6th_quad = "bgs" AND u16_1st_viii = "tss"
Write a SQL query that answers the following question: What U15 3rd Quad has a U15 2nd Quad of ACGS?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (u15_3rd_quad VARCHAR, u15_2nd_quad VARCHAR)
SELECT u15_3rd_quad FROM table_name_89 WHERE u15_2nd_quad = "acgs"
Write a SQL query that answers the following question: Which U15 4th Quad had a U15 3rd Quad of BBC and U15 6th Quad of GT?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (u15_4th_quad VARCHAR, u15_3rd_quad VARCHAR, u15_6th_quad VARCHAR)
SELECT u15_4th_quad FROM table_name_68 WHERE u15_3rd_quad = "bbc" AND u15_6th_quad = "gt"
Write a SQL query that answers the following question: Which U15 1st Quad had an Open 3rd VIII of BBC and U16 3rd VIII of BBC?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (u15_1st_quad VARCHAR, open_3rd_viii VARCHAR, u16_3rd_viii VARCHAR)
SELECT u15_1st_quad FROM table_name_37 WHERE open_3rd_viii = "bbc" AND u16_3rd_viii = "bbc"
Write a SQL query that answers the following question: What was the nationality of the athlete with a final result of 4.50?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (nationality VARCHAR, result VARCHAR)
SELECT nationality FROM table_name_92 WHERE result = "4.50"
Write a SQL query that answers the following question: What was the athlete with a final result of 4.30?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (athlete VARCHAR, result VARCHAR)
SELECT athlete FROM table_name_48 WHERE result = "4.30"
Write a SQL query that answers the following question: Which country has the Highest mountain of rettlkirchspitze?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (country VARCHAR, highest_mountain VARCHAR)
SELECT country FROM table_name_68 WHERE highest_mountain = "rettlkirchspitze"
Write a SQL query that answers the following question: What is the average height with the Highest mountain of hochgall?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (height__m_ INTEGER, highest_mountain VARCHAR)
SELECT AVG(height__m_) FROM table_name_54 WHERE highest_mountain = "hochgall"
Write a SQL query that answers the following question: What US Country released an album of singles only in 1967?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (us_country VARCHAR, album VARCHAR, year VARCHAR)
SELECT us_country FROM table_name_30 WHERE album = "singles only" AND year = 1967
Write a SQL query that answers the following question: What was the best album in 1965?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (us VARCHAR, album VARCHAR, year VARCHAR)
SELECT us AS AC FROM table_name_13 WHERE album = "the best" AND year = 1965
Write a SQL query that answers the following question: What is the result of the fight that had a tko (low kicks)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (result VARCHAR, method VARCHAR)
SELECT result FROM table_name_98 WHERE method = "tko (low kicks)"
Write a SQL query that answers the following question: What event went under 3 rounds and was no contest (punch after knockdown)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (event VARCHAR, round VARCHAR, method VARCHAR)
SELECT event FROM table_name_74 WHERE round < 3 AND method = "no contest (punch after knockdown)"
Write a SQL query that answers the following question: What event was in hong kong and went less than 2 rounds?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (event VARCHAR, round VARCHAR, location VARCHAR)
SELECT event FROM table_name_66 WHERE round < 2 AND location = "hong kong"
Write a SQL query that answers the following question: How many rounds was the fight against carter williams?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (round VARCHAR, opponent VARCHAR)
SELECT round FROM table_name_2 WHERE opponent = "carter williams"
Write a SQL query that answers the following question: In rounds 7-13 what engine was featured?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (engine VARCHAR, rounds VARCHAR)
SELECT engine FROM table_name_58 WHERE rounds = "7-13"
Write a SQL query that answers the following question: What score was conceded by Richmond?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team AS score FROM table_name_94 WHERE home_team = "richmond"
Write a SQL query that answers the following question: What is the number of Goals on 1950-05-30?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (goals VARCHAR, date VARCHAR)
SELECT COUNT(goals) FROM table_name_63 WHERE date = "1950-05-30"
Write a SQL query that answers the following question: In 1948-10-28, what were the lowest Goals in Tehran, Iran?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (goals INTEGER, venue VARCHAR, date VARCHAR)
SELECT MIN(goals) FROM table_name_75 WHERE venue = "tehran, iran" AND date = "1948-10-28"
Write a SQL query that answers the following question: In what Venue was the Result 1-3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (venue VARCHAR, result VARCHAR)
SELECT venue FROM table_name_16 WHERE result = "1-3"
Write a SQL query that answers the following question: In 1948-10-28, in what Venue was the Competition of International Match held?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (venue VARCHAR, competition VARCHAR, date VARCHAR)
SELECT venue FROM table_name_26 WHERE competition = "international match" AND date = "1948-10-28"
Write a SQL query that answers the following question: What was the Zakspeed 1500/4 1.5 l4 t chassis?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (chassis VARCHAR, engine VARCHAR)
SELECT chassis FROM table_name_42 WHERE engine = "zakspeed 1500/4 1.5 l4 t"
Write a SQL query that answers the following question: What was the Michele Alboreto's engine?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (engine VARCHAR, driver VARCHAR)
SELECT engine FROM table_name_22 WHERE driver = "michele alboreto"
Write a SQL query that answers the following question: What is the average rank for antun salman?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (rank INTEGER, candidate_name VARCHAR)
SELECT AVG(rank) FROM table_name_26 WHERE candidate_name = "antun salman"
Write a SQL query that answers the following question: Khalil chawka has a gender of ♂, a religion of ☪, and how many votes?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (votes VARCHAR, candidate_name VARCHAR, gender VARCHAR, religion VARCHAR)
SELECT votes FROM table_name_55 WHERE gender = "♂" AND religion = "☪" AND candidate_name = "khalil chawka"
Write a SQL query that answers the following question: Who has a religion of ☪ and more than 1853 votes?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (candidate_name VARCHAR, votes VARCHAR, religion VARCHAR)
SELECT candidate_name FROM table_name_66 WHERE votes > 1853 AND religion = "☪"
Write a SQL query that answers the following question: What is the recorder has a Track more than 11 with a time 3:06
The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (recorded VARCHAR, track VARCHAR, time VARCHAR)
SELECT recorded FROM table_name_77 WHERE track > 11 AND time = "3:06"
Write a SQL query that answers the following question: Which track has a title : Just a little bit
The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (track INTEGER, song_title VARCHAR)
SELECT MIN(track) FROM table_name_64 WHERE song_title = "just a little bit"
Write a SQL query that answers the following question: What is the Trophy with a Season with 2008–2009?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (trophy VARCHAR, season VARCHAR)
SELECT trophy FROM table_name_78 WHERE season = "2008–2009"
Write a SQL query that answers the following question: What Wasatch time corresponds to a total time of 122:13:40?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (wasatch VARCHAR, total_time VARCHAR)
SELECT wasatch FROM table_name_31 WHERE total_time = "122:13:40"
Write a SQL query that answers the following question: Who were the opponents in the final on 9 January 1994?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (opponents_in_final VARCHAR, date VARCHAR)
SELECT opponents_in_final FROM table_name_29 WHERE date = "9 january 1994"
Write a SQL query that answers the following question: Who was Melbourne's home team opponent?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_90 WHERE away_team = "melbourne"
Write a SQL query that answers the following question: Who was Richmond's away team opponent?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_10 WHERE home_team = "richmond"
Write a SQL query that answers the following question: What is the smallest value for League Cup when the League number is greater than 1, no FA Cups, and Brian Deane scoring?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (league INTEGER, fa_cup VARCHAR, name VARCHAR)
SELECT MIN(league) AS Cup FROM table_name_88 WHERE league > 1 AND name = "brian deane" AND fa_cup < 1
Write a SQL query that answers the following question: Name the region before 2008 when name of best 1200
The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (region VARCHAR, year VARCHAR, name VARCHAR)
SELECT region FROM table_name_58 WHERE year < 2008 AND name = "best 1200"
Write a SQL query that answers the following question: What method resulted in a win and a time of 4:36?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (method VARCHAR, res VARCHAR, time VARCHAR)
SELECT method FROM table_name_44 WHERE res = "win" AND time = "4:36"