instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: What is the rank 6 lowest win who's first win was at the 1950 British Grand Prix?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (wins INTEGER, rank VARCHAR, first_win VARCHAR)
SELECT MIN(wins) FROM table_name_46 WHERE rank > 6 AND first_win = "1950 british grand prix"
Write a SQL query that answers the following question: What is the rank 16 wins with the latest win at the 1967 Belgian Grand Prix?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (wins VARCHAR, rank VARCHAR, latest_win VARCHAR)
SELECT wins FROM table_name_47 WHERE rank > 16 AND latest_win = "1967 belgian grand prix"
Write a SQL query that answers the following question: What's the lowest pick for a defensive back at Drake?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (pick INTEGER, position VARCHAR, school VARCHAR)
SELECT MIN(pick) FROM table_name_99 WHERE position = "defensive back" AND school = "drake"
Write a SQL query that answers the following question: What's terry jones' lowest pick?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (pick INTEGER, player VARCHAR)
SELECT MIN(pick) FROM table_name_11 WHERE player = "terry jones"
Write a SQL query that answers the following question: What position does gerald carter play?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (position VARCHAR, player VARCHAR)
SELECT position FROM table_name_52 WHERE player = "gerald carter"
Write a SQL query that answers the following question: Who is the guard for Wisconsin?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (player VARCHAR, position VARCHAR, school VARCHAR)
SELECT player FROM table_name_44 WHERE position = "guard" AND school = "wisconsin"
Write a SQL query that answers the following question: Which player is Pick 33 and has a Nationality of USA?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (player VARCHAR, nationality VARCHAR, pick VARCHAR)
SELECT player FROM table_name_31 WHERE nationality = "usa" AND pick = 33
Write a SQL query that answers the following question: What is the nationality of the player who has a pick lower than 33 and a School/Club Team of Vanderbilt?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (nationality VARCHAR, pick VARCHAR, school_club_team VARCHAR)
SELECT nationality FROM table_name_94 WHERE pick < 33 AND school_club_team = "vanderbilt"
Write a SQL query that answers the following question: What is the nationality of the player who had the pick of 52 and plays for the NBA team of Phoenix Suns?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (nationality VARCHAR, nba_team VARCHAR, pick VARCHAR)
SELECT nationality FROM table_name_15 WHERE nba_team = "phoenix suns" AND pick = 52
Write a SQL query that answers the following question: How many leage apperances for the player with one FA cup, and a FLT Apps of 0 (1)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (league_apps VARCHAR, fa_cup_apps VARCHAR, flt_apps VARCHAR)
SELECT league_apps FROM table_name_61 WHERE fa_cup_apps = "1" AND flt_apps = "0 (1)"
Write a SQL query that answers the following question: What day did St Kilda play as the away team?
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 = "st kilda"
Write a SQL query that answers the following question: What's the value for 2007 when 2011 is a and 2009 is q2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (Id VARCHAR)
SELECT 2007 FROM table_name_12 WHERE 2011 = "a" AND 2009 = "q2"
Write a SQL query that answers the following question: Tell me the highest league goals with total goals less than 1 and FA cups more than 0
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (league_goals INTEGER, total_goals VARCHAR, fa_cup_goals VARCHAR)
SELECT MAX(league_goals) FROM table_name_67 WHERE total_goals < 1 AND fa_cup_goals > 0
Write a SQL query that answers the following question: I want to know the sum of fa cup goals for david mirfin and total goals less than 1
The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (fa_cup_goals INTEGER, name VARCHAR, total_goals VARCHAR)
SELECT SUM(fa_cup_goals) FROM table_name_59 WHERE name = "david mirfin" AND total_goals < 1
Write a SQL query that answers the following question: Tell me the league apps with league goals less than 2 and position of df and FA cup apps of 5
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (league_apps VARCHAR, fa_cup_apps VARCHAR, league_goals VARCHAR, position VARCHAR)
SELECT league_apps FROM table_name_35 WHERE league_goals < 2 AND position = "df" AND fa_cup_apps = "5"
Write a SQL query that answers the following question: What is the video ratio on channel 14.2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (video VARCHAR, channel VARCHAR)
SELECT video FROM table_name_75 WHERE channel = 14.2
Write a SQL query that answers the following question: What network has an aspect of 4:3 and a PSIP Short Name of qvc?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (network VARCHAR, aspect VARCHAR, psip_short_name VARCHAR)
SELECT network FROM table_name_80 WHERE aspect = "4:3" AND psip_short_name = "qvc"
Write a SQL query that answers the following question: What is ion life network's PSIP Short Name?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (psip_short_name VARCHAR, network VARCHAR)
SELECT psip_short_name FROM table_name_58 WHERE network = "ion life"
Write a SQL query that answers the following question: What is the sum of channels for qubo network?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (channel INTEGER, network VARCHAR)
SELECT SUM(channel) FROM table_name_65 WHERE network = "qubo"
Write a SQL query that answers the following question: How many deaths did eseta cause?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (deaths VARCHAR, name VARCHAR)
SELECT deaths FROM table_name_34 WHERE name = "eseta"
Write a SQL query that answers the following question: What was the date when the away team was Carlton?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (date VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_65 WHERE away_team = "carlton"
Write a SQL query that answers the following question: When the home team was hawthorn, what was the date?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (date VARCHAR, home_team VARCHAR)
SELECT date FROM table_name_44 WHERE home_team = "hawthorn"
Write a SQL query that answers the following question: What did Geelong score as the away team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (away_team VARCHAR)
SELECT away_team AS score FROM table_name_91 WHERE away_team = "geelong"
Write a SQL query that answers the following question: What date did the home team of footscray play?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (date VARCHAR, home_team VARCHAR)
SELECT date FROM table_name_85 WHERE home_team = "footscray"
Write a SQL query that answers the following question: Name the club team for overall of 188 for canada
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (club_team VARCHAR, nationality VARCHAR, overall VARCHAR)
SELECT club_team FROM table_name_72 WHERE nationality = "canada" AND overall = 188
Write a SQL query that answers the following question: Name the nationality of the player with an overall of 74
The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (nationality VARCHAR, overall VARCHAR)
SELECT nationality FROM table_name_66 WHERE overall = 74
Write a SQL query that answers the following question: What is the highest Aug 2013 with a Nov 2011 smaller than 968, and a Jul 2012 with 31, and a Jun 2011 larger than 30?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (aug_2013 INTEGER, jun_2011 VARCHAR, nov_2011 VARCHAR, jul_2012 VARCHAR)
SELECT MAX(aug_2013) FROM table_name_27 WHERE nov_2011 < 968 AND jul_2012 = 31 AND jun_2011 > 30
Write a SQL query that answers the following question: What is the average Apr 2013 with a Jun 2011 less than 14?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (apr_2013 INTEGER, jun_2011 INTEGER)
SELECT AVG(apr_2013) FROM table_name_76 WHERE jun_2011 < 14
Write a SQL query that answers the following question: What is the average Feb 2013 with a Feb 2010 with 37, and a Nov 2012 less than 32?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (feb_2013 INTEGER, feb_2010 VARCHAR, nov_2012 VARCHAR)
SELECT AVG(feb_2013) FROM table_name_31 WHERE feb_2010 = "37" AND nov_2012 < 32
Write a SQL query that answers the following question: What is the total number with Nov 2012 with a Jun 2013 larger than 542, and a Aug 2011 more than 935?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (nov_2012 VARCHAR, jun_2013 VARCHAR, aug_2011 VARCHAR)
SELECT COUNT(nov_2012) FROM table_name_19 WHERE jun_2013 > 542 AND aug_2011 > 935
Write a SQL query that answers the following question: What's the total grid for a Time/Retired of +1:03.741, and Laps larger than 44?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (grid VARCHAR, time_retired VARCHAR, laps VARCHAR)
SELECT COUNT(grid) FROM table_name_71 WHERE time_retired = "+1:03.741" AND laps > 44
Write a SQL query that answers the following question: What did the home team at Brunswick Street Oval score?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_89 WHERE venue = "brunswick street oval"
Write a SQL query that answers the following question: Who had the highest rebounds of the game with A. Johnson (6) as the highest assist?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (high_rebounds VARCHAR, high_assists VARCHAR)
SELECT high_rebounds FROM table_name_35 WHERE high_assists = "a. johnson (6)"
Write a SQL query that answers the following question: Who had the highest rebounds of the game with A. Johnson (14) as the highest assists?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (high_rebounds VARCHAR, high_assists VARCHAR)
SELECT high_rebounds FROM table_name_55 WHERE high_assists = "a. johnson (14)"
Write a SQL query that answers the following question: Who was the opponent on August 30?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_16 WHERE date = "august 30"
Write a SQL query that answers the following question: What was the score on August 8?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_82 WHERE date = "august 8"
Write a SQL query that answers the following question: How many picks included Kenny Evans?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (pick VARCHAR, player VARCHAR)
SELECT COUNT(pick) FROM table_name_52 WHERE player = "kenny evans"
Write a SQL query that answers the following question: How many picks went to College of Letran?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (pick VARCHAR, college VARCHAR)
SELECT COUNT(pick) FROM table_name_95 WHERE college = "letran"
Write a SQL query that answers the following question: Which player has a PBA team of Red Bull Thunder?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (player VARCHAR, pba_team VARCHAR)
SELECT player FROM table_name_5 WHERE pba_team = "red bull thunder"
Write a SQL query that answers the following question: In which event did he place 6th in 1971?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (event VARCHAR, year VARCHAR, result VARCHAR)
SELECT event FROM table_name_98 WHERE year = 1971 AND result = "6th"
Write a SQL query that answers the following question: When was the first year he placed 2nd in Izmir, Turkey?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (year INTEGER, result VARCHAR, venue VARCHAR)
SELECT MIN(year) FROM table_name_3 WHERE result = "2nd" AND venue = "izmir, turkey"
Write a SQL query that answers the following question: How did he place in 1970?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (result VARCHAR, year VARCHAR)
SELECT result FROM table_name_58 WHERE year = 1970
Write a SQL query that answers the following question: How many were in Attendance on the Date May 29?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (attendance VARCHAR, date VARCHAR)
SELECT COUNT(attendance) FROM table_name_83 WHERE date = "may 29"
Write a SQL query that answers the following question: What was the Record on the Date May 8?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_15 WHERE date = "may 8"
Write a SQL query that answers the following question: Who was the home team at the game played on April 14, 2008?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (home VARCHAR, date VARCHAR)
SELECT home FROM table_name_16 WHERE date = "april 14, 2008"
Write a SQL query that answers the following question: How many votes were cast when the notes reported lost to incumbent vic gilliam?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (votes VARCHAR, notes VARCHAR)
SELECT votes FROM table_name_51 WHERE notes = "lost to incumbent vic gilliam"
Write a SQL query that answers the following question: Who is the candidate in Race for State representative, hd18?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (candidate VARCHAR, race VARCHAR)
SELECT candidate FROM table_name_57 WHERE race = "state representative, hd18"
Write a SQL query that answers the following question: What club/province does the prop player with over 45 caps play for?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (club_province VARCHAR, caps VARCHAR, position VARCHAR)
SELECT club_province FROM table_name_27 WHERE caps > 45 AND position = "prop"
Write a SQL query that answers the following question: Who was the opponent at the Staples Center?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (opponent VARCHAR, arena VARCHAR)
SELECT opponent FROM table_name_46 WHERE arena = "staples center"
Write a SQL query that answers the following question: In what arena was the game against the Sharks played?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (arena VARCHAR, opponent VARCHAR)
SELECT arena FROM table_name_33 WHERE opponent = "sharks"
Write a SQL query that answers the following question: What is the label with the LP format?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (label VARCHAR, format VARCHAR)
SELECT label FROM table_name_86 WHERE format = "lp"
Write a SQL query that answers the following question: What date had a 4ad label and a CD (reissue) format?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (date VARCHAR, label VARCHAR, format VARCHAR)
SELECT date FROM table_name_99 WHERE label = "4ad" AND format = "cd (reissue)"
Write a SQL query that answers the following question: Which country had a cad 4011 catalogue #?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (country VARCHAR, catalogue__number VARCHAR)
SELECT country FROM table_name_66 WHERE catalogue__number = "cad 4011"
Write a SQL query that answers the following question: Which date was for Japan?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (date VARCHAR, country VARCHAR)
SELECT date FROM table_name_66 WHERE country = "japan"
Write a SQL query that answers the following question: What is the label on the United States?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (label VARCHAR, country VARCHAR)
SELECT label FROM table_name_88 WHERE country = "united states"
Write a SQL query that answers the following question: What is the date with the catalogue # cocy-80093?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (date VARCHAR, catalogue__number VARCHAR)
SELECT date FROM table_name_37 WHERE catalogue__number = "cocy-80093"
Write a SQL query that answers the following question: What category was danson tang nominated?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (category VARCHAR, nomination VARCHAR)
SELECT category FROM table_name_72 WHERE nomination = "danson tang"
Write a SQL query that answers the following question: What was the total number of years than had best improved singer (躍進歌手)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (year INTEGER, category VARCHAR)
SELECT SUM(year) FROM table_name_52 WHERE category = "best improved singer (躍進歌手)"
Write a SQL query that answers the following question: Who constructed the car with a grid over 19 that retired due to suspension?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (constructor VARCHAR, grid VARCHAR, time_retired VARCHAR)
SELECT constructor FROM table_name_49 WHERE grid > 19 AND time_retired = "suspension"
Write a SQL query that answers the following question: What driver has a 9 grid total?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (driver VARCHAR, grid VARCHAR)
SELECT driver FROM table_name_79 WHERE grid = 9
Write a SQL query that answers the following question: What was the winning car's chassis for the 1982 season?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (chassis VARCHAR, season VARCHAR)
SELECT chassis FROM table_name_48 WHERE season = "1982"
Write a SQL query that answers the following question: Which team, with champion Bastian Kolmsee, used a Dallara f302 for the chassis?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (team VARCHAR, chassis VARCHAR, champion VARCHAR)
SELECT team FROM table_name_8 WHERE chassis = "dallara f302" AND champion = "bastian kolmsee"
Write a SQL query that answers the following question: What chassis was the car with the Volkswagen engine built on in 2010?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (chassis VARCHAR, engine VARCHAR, season VARCHAR)
SELECT chassis FROM table_name_4 WHERE engine = "volkswagen" AND season = "2010"
Write a SQL query that answers the following question: Which engine did Korten Motorsport use?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (engine VARCHAR, team VARCHAR)
SELECT engine FROM table_name_86 WHERE team = "korten motorsport"
Write a SQL query that answers the following question: Who was the champion that drove the car with the Ford engine in 1971?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (champion VARCHAR, engine VARCHAR, season VARCHAR)
SELECT champion FROM table_name_28 WHERE engine = "ford" AND season = "1971"
Write a SQL query that answers the following question: In which season did Jimmy Eriksson win the championship for Team Lotus?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (season VARCHAR, team VARCHAR, champion VARCHAR)
SELECT season FROM table_name_40 WHERE team = "lotus" AND champion = "jimmy eriksson"
Write a SQL query that answers the following question: Which name had 6 goals?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (name VARCHAR, goals VARCHAR)
SELECT name FROM table_name_49 WHERE goals = 6
Write a SQL query that answers the following question: What is the largest goal number when the transfer fee was £0.8m?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (goals INTEGER, transfer_fee VARCHAR)
SELECT MAX(goals) FROM table_name_50 WHERE transfer_fee = "£0.8m"
Write a SQL query that answers the following question: What is the location of a1 women's - handball?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (location VARCHAR, leagues VARCHAR)
SELECT location FROM table_name_61 WHERE leagues = "a1 women's - handball"
Write a SQL query that answers the following question: What is the capacity at the nop aquatic centre, established after 1929?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (capacity VARCHAR, venue VARCHAR, established VARCHAR)
SELECT COUNT(capacity) FROM table_name_8 WHERE venue = "nop aquatic centre" AND established > 1929
Write a SQL query that answers the following question: What is the capacity for b national - basketball?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (capacity VARCHAR, leagues VARCHAR)
SELECT COUNT(capacity) FROM table_name_93 WHERE leagues = "b national - basketball"
Write a SQL query that answers the following question: What game week did the Buccaneers play against the Minnesota Vikings?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (week VARCHAR, opponent VARCHAR)
SELECT week FROM table_name_47 WHERE opponent = "minnesota vikings"
Write a SQL query that answers the following question: What game week did the buccaneers have a record of 0-5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (week VARCHAR, record VARCHAR)
SELECT week FROM table_name_67 WHERE record = "0-5"
Write a SQL query that answers the following question: What is the record of the buccaneers on December 4, 1983?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_9 WHERE date = "december 4, 1983"
Write a SQL query that answers the following question: What was the attendance at the game against Ottawa?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (attendance INTEGER, visitor VARCHAR)
SELECT AVG(attendance) FROM table_name_5 WHERE visitor = "ottawa"
Write a SQL query that answers the following question: What was the highest attendance at a Detroit home game?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (attendance INTEGER, home VARCHAR)
SELECT MAX(attendance) FROM table_name_83 WHERE home = "detroit"
Write a SQL query that answers the following question: What was the attendance of the Florida vs. Montreal game?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (attendance INTEGER, home VARCHAR, visitor VARCHAR)
SELECT AVG(attendance) FROM table_name_46 WHERE home = "florida" AND visitor = "montreal"
Write a SQL query that answers the following question: I want to know the condition with Prothrombin time of unaffected and bleeding time of prolonged with partial thromboplastin time of unaffected with platelet count of decreased or unaffected
The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (condition VARCHAR, platelet_count VARCHAR, partial_thromboplastin_time VARCHAR, prothrombin_time VARCHAR, bleeding_time VARCHAR)
SELECT condition FROM table_name_75 WHERE prothrombin_time = "unaffected" AND bleeding_time = "prolonged" AND partial_thromboplastin_time = "unaffected" AND platelet_count = "decreased or unaffected"
Write a SQL query that answers the following question: I want the condition that has a prolonged bleeding time and a platelet count of decreased or unaffected
The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (condition VARCHAR, bleeding_time VARCHAR, platelet_count VARCHAR)
SELECT condition FROM table_name_41 WHERE bleeding_time = "prolonged" AND platelet_count = "decreased or unaffected"
Write a SQL query that answers the following question: I want the prothrombin time with a partial thromboplastin time of prolonged and unaffected bleeding time and factor xii deficiency for condition of factor
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (prothrombin_time VARCHAR, condition VARCHAR, partial_thromboplastin_time VARCHAR, bleeding_time VARCHAR)
SELECT prothrombin_time FROM table_name_49 WHERE partial_thromboplastin_time = "prolonged" AND bleeding_time = "unaffected" AND condition = "factor xii deficiency"
Write a SQL query that answers the following question: I want the condition that has a partial thromboplastin time of prolonged and unaffected bleeding time
The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (condition VARCHAR, partial_thromboplastin_time VARCHAR, bleeding_time VARCHAR)
SELECT condition FROM table_name_41 WHERE partial_thromboplastin_time = "prolonged" AND bleeding_time = "unaffected"
Write a SQL query that answers the following question: What is the ICAO for Antalya Airport?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (icao VARCHAR, airport VARCHAR)
SELECT icao FROM table_name_86 WHERE airport = "antalya airport"
Write a SQL query that answers the following question: What is the IATA of Leonardo da Vinci-Fiumicino Airport?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (iata VARCHAR, airport VARCHAR)
SELECT iata FROM table_name_39 WHERE airport = "leonardo da vinci-fiumicino airport"
Write a SQL query that answers the following question: What country is the IATA BLQ located in?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (country VARCHAR, iata VARCHAR)
SELECT country FROM table_name_68 WHERE iata = "blq"
Write a SQL query that answers the following question: What is the IATA of Madrid-Barajas Airport?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (iata VARCHAR, airport VARCHAR)
SELECT iata FROM table_name_8 WHERE airport = "madrid-barajas airport"
Write a SQL query that answers the following question: Which city has the ICAO of LIRF?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (city VARCHAR, icao VARCHAR)
SELECT city FROM table_name_84 WHERE icao = "lirf"
Write a SQL query that answers the following question: Which city is Naples Airport located in?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (city VARCHAR, airport VARCHAR)
SELECT city FROM table_name_27 WHERE airport = "naples airport"
Write a SQL query that answers the following question: Tell me the Ryuji Hijikata for TAKA Michinoku of Hayashi (28:05)
The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (ryuji_hijikata VARCHAR, taka_michinoku VARCHAR)
SELECT ryuji_hijikata FROM table_name_39 WHERE taka_michinoku = "hayashi (28:05)"
Write a SQL query that answers the following question: Tell me the Ryuji Hijikata for Block A of Ryuji Hijikata
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (ryuji_hijikata VARCHAR, block_a VARCHAR)
SELECT ryuji_hijikata FROM table_name_72 WHERE block_a = "ryuji hijikata"
Write a SQL query that answers the following question: When South Melbourne was the Away Team, what was their score?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (away_team VARCHAR)
SELECT away_team AS score FROM table_name_49 WHERE away_team = "south melbourne"
Write a SQL query that answers the following question: Tell me the away team score for away team of south melbourne
The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (away_team VARCHAR)
SELECT away_team AS score FROM table_name_23 WHERE away_team = "south melbourne"
Write a SQL query that answers the following question: I want to know the away team score for vfl park venue
The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (away_team VARCHAR, venue VARCHAR)
SELECT away_team AS score FROM table_name_82 WHERE venue = "vfl park"
Write a SQL query that answers the following question: Name the total number of tracks for of the fallen angel
The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (track VARCHAR, translation VARCHAR)
SELECT COUNT(track) FROM table_name_21 WHERE translation = "the fallen angel"
Write a SQL query that answers the following question: What driver went 14 rounds with a 193 Chassis?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (driver VARCHAR, chassis VARCHAR, rounds VARCHAR)
SELECT driver FROM table_name_55 WHERE chassis = "193" AND rounds = "14"
Write a SQL query that answers the following question: What engine was used when Aguri Suzuki drove the FA13B FA14 Chassis?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (engine VARCHAR, chassis VARCHAR, driver VARCHAR)
SELECT engine FROM table_name_31 WHERE chassis = "fa13b fa14" AND driver = "aguri suzuki"
Write a SQL query that answers the following question: Who was the entrant for all the round with Jean Alesi?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (entrant VARCHAR, rounds VARCHAR, driver VARCHAR)
SELECT entrant FROM table_name_46 WHERE rounds = "all" AND driver = "jean alesi"
Write a SQL query that answers the following question: What engine did Riccardo Patrese use?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (engine VARCHAR, driver VARCHAR)
SELECT engine FROM table_name_12 WHERE driver = "riccardo patrese"
Write a SQL query that answers the following question: If the home team was footscray which venue did they play it?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (venue VARCHAR, home_team VARCHAR)
SELECT venue FROM table_name_53 WHERE home_team = "footscray"
Write a SQL query that answers the following question: When the home team was footscray what did they score?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (home_team VARCHAR)
SELECT home_team AS score FROM table_name_27 WHERE home_team = "footscray"
Write a SQL query that answers the following question: When the home team north melbourne was playing what did they score?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (home_team VARCHAR)
SELECT home_team AS score FROM table_name_78 WHERE home_team = "north melbourne"