instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: Which Pick # has a Round smaller than 6, and an Overall larger than 13, and a College of penn state?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (pick__number VARCHAR, college VARCHAR, round VARCHAR, overall VARCHAR)
SELECT pick__number FROM table_name_6 WHERE round < 6 AND overall > 13 AND college = "penn state"
Write a SQL query that answers the following question: Which Name has an Overall of 235?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (name VARCHAR, overall VARCHAR)
SELECT name FROM table_name_78 WHERE overall = 235
Write a SQL query that answers the following question: How many cosponsors have a Date introduced of may 22, 2008?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (_number_of_cosponsors VARCHAR, date_introduced VARCHAR)
SELECT COUNT(_number_of_cosponsors) FROM table_name_15 WHERE date_introduced = "may 22, 2008"
Write a SQL query that answers the following question: Which Congress has a # of cosponsors of 19?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (congress VARCHAR, _number_of_cosponsors VARCHAR)
SELECT congress FROM table_name_51 WHERE _number_of_cosponsors = 19
Write a SQL query that answers the following question: On what date was a friendly match held at Auckland?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (date VARCHAR, competition VARCHAR, venue VARCHAR)
SELECT date FROM table_name_32 WHERE competition = "friendly match" AND venue = "auckland"
Write a SQL query that answers the following question: What were the goals at Sydney?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (goals VARCHAR, venue VARCHAR)
SELECT goals FROM table_name_16 WHERE venue = "sydney"
Write a SQL query that answers the following question: How many sets lost have a sets won less than 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (sets_lost VARCHAR, sets_won INTEGER)
SELECT COUNT(sets_lost) FROM table_name_15 WHERE sets_won < 0
Write a SQL query that answers the following question: What shows for IATA for the City of sapporo?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (iata VARCHAR, city VARCHAR)
SELECT iata FROM table_name_89 WHERE city = "sapporo"
Write a SQL query that answers the following question: What is the ICAO when the IATA shows cts?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (icao VARCHAR, iata VARCHAR)
SELECT icao FROM table_name_72 WHERE iata = "cts"
Write a SQL query that answers the following question: What is the Country when the IATA shows cju?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (country VARCHAR, iata VARCHAR)
SELECT country FROM table_name_98 WHERE iata = "cju"
Write a SQL query that answers the following question: What is the ICAO when the IATA shows mfm?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (icao VARCHAR, iata VARCHAR)
SELECT icao FROM table_name_2 WHERE iata = "mfm"
Write a SQL query that answers the following question: What is the ICAO for Hong Kong?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (icao VARCHAR, country VARCHAR)
SELECT icao FROM table_name_73 WHERE country = "hong kong"
Write a SQL query that answers the following question: What is the Airport when the ICAO shows rpvm?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (airport VARCHAR, icao VARCHAR)
SELECT airport FROM table_name_56 WHERE icao = "rpvm"
Write a SQL query that answers the following question: What is the lowest goals for value with fewer than 5 draws and under 70 points?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (goals_for INTEGER, draw VARCHAR, points VARCHAR)
SELECT MIN(goals_for) FROM table_name_88 WHERE draw < 5 AND points < 70
Write a SQL query that answers the following question: What is the lowest goals against value for a team with 83 points and a difference over 50?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (goals_against INTEGER, points VARCHAR, goal_difference VARCHAR)
SELECT MIN(goals_against) FROM table_name_31 WHERE points = 83 AND goal_difference > 50
Write a SQL query that answers the following question: What is the earliest season that has a position over 12?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (season INTEGER, position INTEGER)
SELECT MIN(season) FROM table_name_80 WHERE position > 12
Write a SQL query that answers the following question: What is the average goals for with a position under 12, draws over 1, and goals against under 28?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (goals_for INTEGER, goals_against VARCHAR, position VARCHAR, draw VARCHAR)
SELECT AVG(goals_for) FROM table_name_49 WHERE position < 12 AND draw > 1 AND goals_against < 28
Write a SQL query that answers the following question: Who was the Opponent with a Result of l 17–24?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (opponent VARCHAR, result VARCHAR)
SELECT opponent FROM table_name_78 WHERE result = "l 17–24"
Write a SQL query that answers the following question: What Date has a Result of l 21–34?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (date VARCHAR, result VARCHAR)
SELECT date FROM table_name_31 WHERE result = "l 21–34"
Write a SQL query that answers the following question: What Game Site has a Week smaller than 11, and a Date of october 21, 1973?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (game_site VARCHAR, week VARCHAR, date VARCHAR)
SELECT game_site FROM table_name_85 WHERE week < 11 AND date = "october 21, 1973"
Write a SQL query that answers the following question: What is the value of the lowest Week with a Record of 2–9?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (week INTEGER, record VARCHAR)
SELECT MIN(week) FROM table_name_46 WHERE record = "2–9"
Write a SQL query that answers the following question: Who is the opponent for the game that occurred after week 13?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (opponent VARCHAR, week INTEGER)
SELECT opponent FROM table_name_12 WHERE week > 13
Write a SQL query that answers the following question: What day did the play on week 6?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (date VARCHAR, week VARCHAR)
SELECT date FROM table_name_3 WHERE week = 6
Write a SQL query that answers the following question: Which tournament had a 2009 result of 1R?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (tournament VARCHAR)
SELECT tournament FROM table_name_77 WHERE 2009 = "1r"
Write a SQL query that answers the following question: Which tournament had a 2010 result of QF and a 2012 result of SF?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (tournament VARCHAR)
SELECT tournament FROM table_name_64 WHERE 2012 = "sf" AND 2010 = "qf"
Write a SQL query that answers the following question: Which tournament had a result in 2010 and 2012 of a?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (tournament VARCHAR)
SELECT tournament FROM table_name_49 WHERE 2012 = "a" AND 2010 = "a"
Write a SQL query that answers the following question: Who was third during round 6 in Rybinsk?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (third VARCHAR, venue VARCHAR, round VARCHAR)
SELECT third FROM table_name_73 WHERE venue = "rybinsk" AND round = "6"
Write a SQL query that answers the following question: Who was third in round 14?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (third VARCHAR, round VARCHAR)
SELECT third FROM table_name_43 WHERE round = "14"
Write a SQL query that answers the following question: What was the venue with a 3.3km c prologue discipline?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (venue VARCHAR, discipline VARCHAR)
SELECT venue FROM table_name_95 WHERE discipline = "3.3km c prologue"
Write a SQL query that answers the following question: Who was the winner on 28 December 2007?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (winner VARCHAR, date VARCHAR)
SELECT winner FROM table_name_59 WHERE date = "28 december 2007"
Write a SQL query that answers the following question: Who was third at the 0.8km f sprint discipline?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (third VARCHAR, discipline VARCHAR)
SELECT third FROM table_name_32 WHERE discipline = "0.8km f sprint"
Write a SQL query that answers the following question: What is the highest total cargo of an airport ranked larger than 19 with a code of BKK/VTBS?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (total_cargo__metric_tonnes_ INTEGER, code__iata_icao_ VARCHAR, rank VARCHAR)
SELECT MAX(total_cargo__metric_tonnes_) FROM table_name_18 WHERE code__iata_icao_ = "bkk/vtbs" AND rank > 19
Write a SQL query that answers the following question: What is the rank of the airport with the BKK/VTBS code?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (rank VARCHAR, code__iata_icao_ VARCHAR)
SELECT rank FROM table_name_60 WHERE code__iata_icao_ = "bkk/vtbs"
Write a SQL query that answers the following question: Which Matches has champion Rank of 5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (matches_as_champion INTEGER, rank VARCHAR)
SELECT MAX(matches_as_champion) FROM table_name_16 WHERE rank = 5
Write a SQL query that answers the following question: Which Matches is on 24 march 1963 with a Rank larger than 44?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (matches_as_champion INTEGER, title_last_held VARCHAR, rank VARCHAR)
SELECT MAX(matches_as_champion) FROM table_name_6 WHERE title_last_held = "24 march 1963" AND rank > 44
Write a SQL query that answers the following question: what game was on may 24
The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (game VARCHAR, date VARCHAR)
SELECT game FROM table_name_27 WHERE date = "may 24"
Write a SQL query that answers the following question: what game was on may 29
The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_5 WHERE date = "may 29"
Write a SQL query that answers the following question: what team played on may 20 on the home side
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (home_team VARCHAR, date VARCHAR)
SELECT home_team FROM table_name_50 WHERE date = "may 20"
Write a SQL query that answers the following question: what team played in game 2
The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (road_team VARCHAR, game VARCHAR)
SELECT road_team FROM table_name_24 WHERE game = "game 2"
Write a SQL query that answers the following question: Which Raison Blue has the highest nicotine?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (nicotine INTEGER, name VARCHAR)
SELECT MAX(nicotine) FROM table_name_40 WHERE name = "raison blue"
Write a SQL query that answers the following question: For Raison Blue with a nicotine larger than 0.30000000000000004, what's the lowest quantity?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (quantity INTEGER, name VARCHAR, nicotine VARCHAR)
SELECT MIN(quantity) FROM table_name_60 WHERE name = "raison blue" AND nicotine > 0.30000000000000004
Write a SQL query that answers the following question: What was the result for the fil Paljas?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (result VARCHAR, film_title VARCHAR)
SELECT result FROM table_name_1 WHERE film_title = "paljas"
Write a SQL query that answers the following question: In what year was the rank less than 6 for Damac Heights?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (year VARCHAR, rank VARCHAR, name VARCHAR)
SELECT year FROM table_name_10 WHERE rank < 6 AND name = "damac heights"
Write a SQL query that answers the following question: What is the height for rank greater than 10 in Tameer Tower?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (height_m__ft_ VARCHAR, rank VARCHAR, name VARCHAR)
SELECT height_m__ft_ FROM table_name_77 WHERE rank > 10 AND name = "tameer tower"
Write a SQL query that answers the following question: What was the earliest year with rank 20 and less than 60 floors?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (year INTEGER, rank VARCHAR, floors VARCHAR)
SELECT MIN(year) FROM table_name_65 WHERE rank = 20 AND floors < 60
Write a SQL query that answers the following question: What is the highest floors with rank greater than 1 in Conrad Dubai?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (floors INTEGER, rank VARCHAR, name VARCHAR)
SELECT MAX(floors) FROM table_name_96 WHERE rank > 1 AND name = "conrad dubai"
Write a SQL query that answers the following question: How many Laps have a Driver of satrio hermanto?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (laps INTEGER, driver VARCHAR)
SELECT SUM(laps) FROM table_name_76 WHERE driver = "satrio hermanto"
Write a SQL query that answers the following question: Which Time has a Grid of 19?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (time VARCHAR, grid VARCHAR)
SELECT time FROM table_name_59 WHERE grid = 19
Write a SQL query that answers the following question: Which Grid is the lowest one that has a Team of germany, and Laps smaller than 45?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (grid INTEGER, team VARCHAR, laps VARCHAR)
SELECT MIN(grid) FROM table_name_42 WHERE team = "germany" AND laps < 45
Write a SQL query that answers the following question: WHich team draft the player who went to college in Washington?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (nfl_team VARCHAR, college VARCHAR)
SELECT nfl_team FROM table_name_19 WHERE college = "washington"
Write a SQL query that answers the following question: What position did the palyer drafted out of Washington play?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (position VARCHAR, college VARCHAR)
SELECT position FROM table_name_34 WHERE college = "washington"
Write a SQL query that answers the following question: What is the average number of Gold medals when there are 5 bronze medals?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (gold INTEGER, bronze VARCHAR)
SELECT AVG(gold) FROM table_name_82 WHERE bronze = 5
Write a SQL query that answers the following question: What is the highest amount of bronze medals when the rank was larger than 9?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (bronze INTEGER, rank INTEGER)
SELECT MAX(bronze) FROM table_name_46 WHERE rank > 9
Write a SQL query that answers the following question: What is the leowest number of Bronze medals for Jamaica who ranked less than 4 and had more than 0 silver medals and a total of less than 22 medals?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (bronze INTEGER, total VARCHAR, nation VARCHAR, silver VARCHAR, rank VARCHAR)
SELECT MIN(bronze) FROM table_name_75 WHERE silver > 0 AND rank < 4 AND nation = "jamaica" AND total < 22
Write a SQL query that answers the following question: Nation of bulgaria, and a Place larger than 1 had what highest 3 Balls, 2 Ribbons?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (_2_ribbons VARCHAR, nation VARCHAR, place VARCHAR)
SELECT MAX(3 AS _balls), _2_ribbons FROM table_name_16 WHERE nation = "bulgaria" AND place > 1
Write a SQL query that answers the following question: 5 Hoops that has a Place larger than 7, and a Total larger than 38.525 had what sum?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (place VARCHAR, total VARCHAR)
SELECT SUM(5 AS _hoops) FROM table_name_83 WHERE place > 7 AND total > 38.525
Write a SQL query that answers the following question: what voice acter played tien
The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (voice_actor__japanese_ VARCHAR, character_name VARCHAR)
SELECT voice_actor__japanese_ FROM table_name_59 WHERE character_name = "tien"
Write a SQL query that answers the following question: what character did Laara sadiq play
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (character_name VARCHAR, voice_actor__english_1998___pioneer_ VARCHAR)
SELECT character_name FROM table_name_50 WHERE voice_actor__english_1998___pioneer_ = "laara sadiq"
Write a SQL query that answers the following question: what character did Masaharu satou play
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (character_name VARCHAR, voice_actor__japanese_ VARCHAR)
SELECT character_name FROM table_name_76 WHERE voice_actor__japanese_ = "masaharu satou"
Write a SQL query that answers the following question: what character did dave ward play
The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (voice_actor__english_1998___pioneer_ VARCHAR, voice_actor__english_1997___saban_ VARCHAR)
SELECT voice_actor__english_1998___pioneer_ FROM table_name_36 WHERE voice_actor__english_1997___saban_ = "dave ward"
Write a SQL query that answers the following question: what character did naoko watanabe play
The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (character_name VARCHAR, voice_actor__japanese_ VARCHAR)
SELECT character_name FROM table_name_82 WHERE voice_actor__japanese_ = "naoko watanabe"
Write a SQL query that answers the following question: At what Location was Miss World 2009?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (location VARCHAR, year VARCHAR)
SELECT location FROM table_name_51 WHERE year = 2009
Write a SQL query that answers the following question: What is the score of the 1996 Emarate cup on March 25, 1996?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (score VARCHAR, competition VARCHAR, date VARCHAR)
SELECT score FROM table_name_79 WHERE competition = "1996 emarate cup" AND date = "march 25, 1996"
Write a SQL query that answers the following question: Which competition was on August 11, 1996?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (competition VARCHAR, date VARCHAR)
SELECT competition FROM table_name_42 WHERE date = "august 11, 1996"
Write a SQL query that answers the following question: Which competition was in Dubai?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (competition VARCHAR, venue VARCHAR)
SELECT competition FROM table_name_80 WHERE venue = "dubai"
Write a SQL query that answers the following question: What is the result of the match in Bangkok?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (result VARCHAR, venue VARCHAR)
SELECT result FROM table_name_75 WHERE venue = "bangkok"
Write a SQL query that answers the following question: What is the date of the match with a result of 4-0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (date VARCHAR, result VARCHAR)
SELECT date FROM table_name_44 WHERE result = "4-0"
Write a SQL query that answers the following question: What is the score of the match with a 4-0 result?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (score VARCHAR, result VARCHAR)
SELECT score FROM table_name_39 WHERE result = "4-0"
Write a SQL query that answers the following question: Which name has an overall number of more than 164, when the pick number is more than 2, the position is running back, and the round is 16?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (name VARCHAR, round VARCHAR, position VARCHAR, overall VARCHAR, pick__number VARCHAR)
SELECT name FROM table_name_9 WHERE overall > 164 AND pick__number > 2 AND position = "running back" AND round = 16
Write a SQL query that answers the following question: Which college's round is more than 4, when the overall is less than 237 and Ted Cottrell was the name?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (college VARCHAR, name VARCHAR, round VARCHAR, overall VARCHAR)
SELECT college FROM table_name_90 WHERE round > 4 AND overall < 237 AND name = "ted cottrell"
Write a SQL query that answers the following question: What is the smallest overall for Oregon State?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (overall INTEGER, college VARCHAR)
SELECT MIN(overall) FROM table_name_7 WHERE college = "oregon state"
Write a SQL query that answers the following question: What is the class of the qb, Josh Riddell?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (class VARCHAR, position VARCHAR, name VARCHAR)
SELECT class FROM table_name_45 WHERE position = "qb" AND name = "josh riddell"
Write a SQL query that answers the following question: What position does Jamar Chaney play?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (position VARCHAR, name VARCHAR)
SELECT position FROM table_name_45 WHERE name = "jamar chaney"
Write a SQL query that answers the following question: What hometown is Kyle love from?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (hometown VARCHAR, name VARCHAR)
SELECT hometown FROM table_name_47 WHERE name = "kyle love"
Write a SQL query that answers the following question: Which Attendance has a Home of philadelphia, and Points smaller than 23?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (attendance INTEGER, home VARCHAR, points VARCHAR)
SELECT SUM(attendance) FROM table_name_59 WHERE home = "philadelphia" AND points < 23
Write a SQL query that answers the following question: Which Visitor has a Record of 9–12–5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (visitor VARCHAR, record VARCHAR)
SELECT visitor FROM table_name_71 WHERE record = "9–12–5"
Write a SQL query that answers the following question: Which Date has a Visitor of boston?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (date VARCHAR, visitor VARCHAR)
SELECT date FROM table_name_76 WHERE visitor = "boston"
Write a SQL query that answers the following question: What is the date for the grass surface final against Nathan Healey?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (date VARCHAR, surface VARCHAR, opponent_in_the_final VARCHAR)
SELECT date FROM table_name_41 WHERE surface = "grass" AND opponent_in_the_final = "nathan healey"
Write a SQL query that answers the following question: What was the score of the final against Dane Propoggia?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (score VARCHAR, opponent_in_the_final VARCHAR)
SELECT score FROM table_name_72 WHERE opponent_in_the_final = "dane propoggia"
Write a SQL query that answers the following question: What was the total score when the E score was larger than 9.6 and the A score was 6?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (total VARCHAR, e_score VARCHAR, a_score VARCHAR)
SELECT total FROM table_name_85 WHERE e_score > 9.6 AND a_score = 6
Write a SQL query that answers the following question: What was the average E score when the T score was less than 4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (e_score INTEGER, t_score INTEGER)
SELECT AVG(e_score) FROM table_name_69 WHERE t_score < 4
Write a SQL query that answers the following question: What was the average T score when the E score was larger than 9.6 and the team was from Spain?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (t_score INTEGER, nation VARCHAR, e_score VARCHAR)
SELECT AVG(t_score) FROM table_name_88 WHERE nation = "spain" AND e_score > 9.6
Write a SQL query that answers the following question: What was the total number of A scores for Japan when the T score was more than 4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (a_score VARCHAR, nation VARCHAR, t_score VARCHAR)
SELECT COUNT(a_score) FROM table_name_63 WHERE nation = "japan" AND t_score > 4
Write a SQL query that answers the following question: What was the sum of the E scores when the total score was 19.466?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (e_score INTEGER, total VARCHAR)
SELECT SUM(e_score) FROM table_name_7 WHERE total = 19.466
Write a SQL query that answers the following question: What is the total number of E scores when the total score was 19.7 and the A score was more than 6?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (e_score VARCHAR, total VARCHAR, a_score VARCHAR)
SELECT COUNT(e_score) FROM table_name_49 WHERE total = 19.7 AND a_score > 6
Write a SQL query that answers the following question: What is the highest number of draws with 14 points and less than 7 games?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (drawn INTEGER, points VARCHAR, games VARCHAR)
SELECT MAX(drawn) FROM table_name_39 WHERE points = 14 AND games < 7
Write a SQL query that answers the following question: What was the attendance at the game with a record of 4-5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (attendance VARCHAR, record VARCHAR)
SELECT attendance FROM table_name_92 WHERE record = "4-5"
Write a SQL query that answers the following question: What was the date of the week 16 game?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (date VARCHAR, week VARCHAR)
SELECT date FROM table_name_79 WHERE week = 16
Write a SQL query that answers the following question: What was the record at the game with a result of W 13-12 after week 4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (record VARCHAR, week VARCHAR, result VARCHAR)
SELECT record FROM table_name_10 WHERE week > 4 AND result = "w 13-12"
Write a SQL query that answers the following question: Who was the opponent at the game attended by 62,019 before week 17?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (opponent VARCHAR, week VARCHAR, attendance VARCHAR)
SELECT opponent FROM table_name_22 WHERE week < 17 AND attendance = "62,019"
Write a SQL query that answers the following question: Name the surface for january 8, 2001
The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (surface VARCHAR, date VARCHAR)
SELECT surface FROM table_name_93 WHERE date = "january 8, 2001"
Write a SQL query that answers the following question: Name the outcome for jordan kerr july 19, 2004
The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (outcome VARCHAR, partnering VARCHAR, date VARCHAR)
SELECT outcome FROM table_name_79 WHERE partnering = "jordan kerr" AND date = "july 19, 2004"
Write a SQL query that answers the following question: Name the score for opponents of nathan healey igor kunitsyn
The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (score VARCHAR, opponents_in_the_final VARCHAR)
SELECT score FROM table_name_57 WHERE opponents_in_the_final = "nathan healey igor kunitsyn"
Write a SQL query that answers the following question: Name the outcome for opponents of jonas björkman john mcenroe
The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (outcome VARCHAR, opponents_in_the_final VARCHAR)
SELECT outcome FROM table_name_60 WHERE opponents_in_the_final = "jonas björkman john mcenroe"
Write a SQL query that answers the following question: Name the surface for paul goldstein and date of october 2, 2006
The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (surface VARCHAR, partnering VARCHAR, date VARCHAR)
SELECT surface FROM table_name_79 WHERE partnering = "paul goldstein" AND date = "october 2, 2006"
Write a SQL query that answers the following question: Which Games have a Drawn smaller than 1, and a Lost smaller than 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (games VARCHAR, drawn VARCHAR, lost VARCHAR)
SELECT games FROM table_name_91 WHERE drawn < 1 AND lost < 1
Write a SQL query that answers the following question: Which Drawn is the lowest one that has a Lost of 5, and Points larger than 4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (drawn INTEGER, lost VARCHAR, points VARCHAR)
SELECT MIN(drawn) FROM table_name_32 WHERE lost = 5 AND points > 4
Write a SQL query that answers the following question: Which Government has 57 seats?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (government VARCHAR, seats VARCHAR)
SELECT government FROM table_name_56 WHERE seats = 57
Write a SQL query that answers the following question: How many seats does the 6th Dail have?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (seats VARCHAR, dáil VARCHAR)
SELECT COUNT(seats) FROM table_name_72 WHERE dáil = "6th"
Write a SQL query that answers the following question: What is the number of the dail with 61 seats?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (dáil VARCHAR, seats VARCHAR)
SELECT dáil FROM table_name_55 WHERE seats = 61