instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: What engine class is associated with a year after 1985 and over 0 wins?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (class VARCHAR, year VARCHAR, wins VARCHAR)
SELECT class FROM table_name_44 WHERE year > 1985 AND wins > 0
Write a SQL query that answers the following question: Which opponent has a loss of trout (7-4)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (opponent VARCHAR, loss VARCHAR)
SELECT opponent FROM table_name_53 WHERE loss = "trout (7-4)"
Write a SQL query that answers the following question: Which opponent has a save of smith (22)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (opponent VARCHAR, save VARCHAR)
SELECT opponent FROM table_name_65 WHERE save = "smith (22)"
Write a SQL query that answers the following question: How much Gold has a Bronze larger than 1, and a Silver larger than 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (gold VARCHAR, bronze VARCHAR, silver VARCHAR)
SELECT COUNT(gold) FROM table_name_38 WHERE bronze > 1 AND silver > 2
Write a SQL query that answers the following question: Which Total has a Nation of japan (jpn), and a Silver smaller than 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (total INTEGER, nation VARCHAR, silver VARCHAR)
SELECT AVG(total) FROM table_name_85 WHERE nation = "japan (jpn)" AND silver < 1
Write a SQL query that answers the following question: What is the margin of victory in WGC-Accenture Match Play Championship?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (margin_of_victory VARCHAR, tournament VARCHAR)
SELECT margin_of_victory FROM table_name_98 WHERE tournament = "wgc-accenture match play championship"
Write a SQL query that answers the following question: On what date was Nick Price the runner-up?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (date VARCHAR, runner_s__up VARCHAR)
SELECT date FROM table_name_7 WHERE runner_s__up = "nick price"
Write a SQL query that answers the following question: What is the margin of victory for Nick Price as a runner-up?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (margin_of_victory VARCHAR, runner_s__up VARCHAR)
SELECT margin_of_victory FROM table_name_52 WHERE runner_s__up = "nick price"
Write a SQL query that answers the following question: What is the margin of victory for PGA Championship?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (margin_of_victory VARCHAR, tournament VARCHAR)
SELECT margin_of_victory FROM table_name_25 WHERE tournament = "pga championship"
Write a SQL query that answers the following question: On what date was the winning score –20 (68-67-65-64=264)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (date VARCHAR, winning_score VARCHAR)
SELECT date FROM table_name_46 WHERE winning_score = –20(68 - 67 - 65 - 64 = 264)
Write a SQL query that answers the following question: Which player was D past Round 3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (player VARCHAR, position VARCHAR, round VARCHAR)
SELECT player FROM table_name_88 WHERE position = "d" AND round > 3
Write a SQL query that answers the following question: Which Round was F picked?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (round VARCHAR, position VARCHAR)
SELECT round FROM table_name_5 WHERE position = "f"
Write a SQL query that answers the following question: What Position is Ryan Russell?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (position VARCHAR, player VARCHAR)
SELECT position FROM table_name_6 WHERE player = "ryan russell"
Write a SQL query that answers the following question: What country does Round 4 come from?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (nationality VARCHAR, round VARCHAR)
SELECT nationality FROM table_name_12 WHERE round = 4
Write a SQL query that answers the following question: Which opponent was present on April 14?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_17 WHERE date = "april 14"
Write a SQL query that answers the following question: what team lost on april 15
The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (loss VARCHAR, date VARCHAR)
SELECT loss FROM table_name_60 WHERE date = "april 15"
Write a SQL query that answers the following question: what team played on april 21
The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_93 WHERE date = "april 21"
Write a SQL query that answers the following question: what team scored on april 10
The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_81 WHERE date = "april 10"
Write a SQL query that answers the following question: Who lost with a time of 0:58?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (loser VARCHAR, time VARCHAR)
SELECT loser FROM table_name_44 WHERE time = "0:58"
Write a SQL query that answers the following question: What is the average number of rounds for winner Rafael Cavalcante?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (round INTEGER, winner VARCHAR)
SELECT AVG(round) FROM table_name_37 WHERE winner = "rafael cavalcante"
Write a SQL query that answers the following question: What win method has a time of 2:32?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (method VARCHAR, time VARCHAR)
SELECT method FROM table_name_71 WHERE time = "2:32"
Write a SQL query that answers the following question: What is the sum of points values that are associated with 0 losses and more than 8 games?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (points INTEGER, lost VARCHAR, games VARCHAR)
SELECT SUM(points) FROM table_name_67 WHERE lost = 0 AND games > 8
Write a SQL query that answers the following question: What is the fewest losses associated with more than 13 points and fewer than 8 games?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (lost INTEGER, points VARCHAR, games VARCHAR)
SELECT MIN(lost) FROM table_name_25 WHERE points > 13 AND games < 8
Write a SQL query that answers the following question: What is the difference associated with more than 2 points, fewer than 3 losses, and fewer than 1 draw?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (points_difference VARCHAR, drawn VARCHAR, points VARCHAR, lost VARCHAR)
SELECT points_difference FROM table_name_97 WHERE points > 2 AND lost < 3 AND drawn < 1
Write a SQL query that answers the following question: What is the fewest number of points associated with more than 8 games?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (points INTEGER, games INTEGER)
SELECT MIN(points) FROM table_name_95 WHERE games > 8
Write a SQL query that answers the following question: Which title did richard kolner play?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (title VARCHAR, role VARCHAR)
SELECT title FROM table_name_33 WHERE role = "richard kolner"
Write a SQL query that answers the following question: Which Title has a Dance Partner of adele astaire, and Lyrics of ira gershwin, and a Director of felix edwardes?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (title VARCHAR, director VARCHAR, dance_partner VARCHAR, lyrics VARCHAR)
SELECT title FROM table_name_93 WHERE dance_partner = "adele astaire" AND lyrics = "ira gershwin" AND director = "felix edwardes"
Write a SQL query that answers the following question: Which Role has a Theatre of globe, and a Music of jerome kern?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (role VARCHAR, theatre VARCHAR, music VARCHAR)
SELECT role FROM table_name_61 WHERE theatre = "globe" AND music = "jerome kern"
Write a SQL query that answers the following question: what name was on the year 2012
The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (name VARCHAR, year VARCHAR, __est_ VARCHAR)
SELECT name FROM table_name_22 WHERE year * __est_ = "2012"
Write a SQL query that answers the following question: Which member of house of Habsburg-Lorraine had the spouse Charles II?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (name VARCHAR, spouse VARCHAR)
SELECT name FROM table_name_40 WHERE spouse = "charles ii"
Write a SQL query that answers the following question: What is the marriage date for the Habsburg-Lorraine house member who died 29 December 1829?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (marriage VARCHAR, death VARCHAR)
SELECT marriage FROM table_name_67 WHERE death = "29 december 1829"
Write a SQL query that answers the following question: When did the duchess who became duchess on 7/8 April 1766 cease to be duchess?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (ceased_to_be_duchess VARCHAR, became_duchess VARCHAR)
SELECT ceased_to_be_duchess FROM table_name_5 WHERE became_duchess = "7/8 april 1766"
Write a SQL query that answers the following question: What is the date of death of the duchess born on 30 October 1797?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (death VARCHAR, birth VARCHAR)
SELECT death FROM table_name_2 WHERE birth = "30 october 1797"
Write a SQL query that answers the following question: What is the birth date of the duchess who married on 1 May 1844?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (birth VARCHAR, marriage VARCHAR)
SELECT birth FROM table_name_16 WHERE marriage = "1 may 1844"
Write a SQL query that answers the following question: What is the highest numbered pick from round 7?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (pick INTEGER, round VARCHAR)
SELECT MAX(pick) FROM table_name_67 WHERE round = 7
Write a SQL query that answers the following question: How much Played has an Against larger than 11, and a Team of botafogo, and a Position smaller than 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (played VARCHAR, position VARCHAR, against VARCHAR, team VARCHAR)
SELECT COUNT(played) FROM table_name_57 WHERE against > 11 AND team = "botafogo" AND position < 2
Write a SQL query that answers the following question: Which average Drawn has Points smaller than 14, and a Lost smaller than 4, and a Played larger than 9?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (drawn INTEGER, played VARCHAR, points VARCHAR, lost VARCHAR)
SELECT AVG(drawn) FROM table_name_56 WHERE points < 14 AND lost < 4 AND played > 9
Write a SQL query that answers the following question: Which Played is the lowest one that has a Team of vasco da gama, and an Against smaller than 11?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (played INTEGER, team VARCHAR, against VARCHAR)
SELECT MIN(played) FROM table_name_54 WHERE team = "vasco da gama" AND against < 11
Write a SQL query that answers the following question: Which Played has a Lost larger than 4, and a Team of américa, and Points smaller than 5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (played INTEGER, points VARCHAR, lost VARCHAR, team VARCHAR)
SELECT SUM(played) FROM table_name_4 WHERE lost > 4 AND team = "américa" AND points < 5
Write a SQL query that answers the following question: Which Lost has a Position of 3, and a Drawn larger than 3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (lost INTEGER, position VARCHAR, drawn VARCHAR)
SELECT SUM(lost) FROM table_name_76 WHERE position = 3 AND drawn > 3
Write a SQL query that answers the following question: How much Lost has a Drawn larger than 1, and Points smaller than 14, and an Against larger than 10?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (lost VARCHAR, against VARCHAR, drawn VARCHAR, points VARCHAR)
SELECT COUNT(lost) FROM table_name_61 WHERE drawn > 1 AND points < 14 AND against > 10
Write a SQL query that answers the following question: What tournament has yvonne vermaak as the opponent?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (tournament VARCHAR, opponent VARCHAR)
SELECT tournament FROM table_name_5 WHERE opponent = "yvonne vermaak"
Write a SQL query that answers the following question: What outcome has yvonne vermaak as the opponent?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (outcome VARCHAR, opponent VARCHAR)
SELECT outcome FROM table_name_79 WHERE opponent = "yvonne vermaak"
Write a SQL query that answers the following question: What is the outcome for the Hershey tournament?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (outcome VARCHAR, tournament VARCHAR)
SELECT outcome FROM table_name_1 WHERE tournament = "hershey"
Write a SQL query that answers the following question: Who played against Save Of Ni Fu-Deh?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (opponent VARCHAR, save VARCHAR)
SELECT opponent FROM table_name_4 WHERE save = "ni fu-deh"
Write a SQL query that answers the following question: What's the loss of who has a Save of Miguel Saladin and played against Chinatrust Whales?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (loss VARCHAR, opponent VARCHAR, save VARCHAR)
SELECT loss FROM table_name_56 WHERE opponent = "chinatrust whales" AND save = "miguel saladin"
Write a SQL query that answers the following question: Who's the opponent when Diegomar Markwell is the loss?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (opponent VARCHAR, loss VARCHAR)
SELECT opponent FROM table_name_80 WHERE loss = "diegomar markwell"
Write a SQL query that answers the following question: what game had a score of 86-71
The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (attendance VARCHAR, record VARCHAR)
SELECT attendance FROM table_name_8 WHERE record = "86-71"
Write a SQL query that answers the following question: what game took place on september 14
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_34 WHERE date = "september 14"
Write a SQL query that answers the following question: what game had an attendance of 21,629
The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (record VARCHAR, attendance VARCHAR)
SELECT record FROM table_name_70 WHERE attendance = "21,629"
Write a SQL query that answers the following question: what is the number of people in sri lanka
The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (s_no INTEGER, opponent VARCHAR)
SELECT AVG(s_no) FROM table_name_10 WHERE opponent = "sri lanka"
Write a SQL query that answers the following question: What was the position of the Slavia team in 1998?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (position_in_1998 VARCHAR, team VARCHAR)
SELECT position_in_1998 FROM table_name_10 WHERE team = "slavia"
Write a SQL query that answers the following question: Which team is located in Lida?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (team VARCHAR, location VARCHAR)
SELECT team FROM table_name_91 WHERE location = "lida"
Write a SQL query that answers the following question: Which episode number visited India?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (episode_no VARCHAR, countries_visited VARCHAR)
SELECT episode_no FROM table_name_56 WHERE countries_visited = "india"
Write a SQL query that answers the following question: Which episode title featured a visit to the country of Cuba?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (episode_title VARCHAR, countries_visited VARCHAR)
SELECT episode_title FROM table_name_26 WHERE countries_visited = "cuba"
Write a SQL query that answers the following question: Which position does Jesse Boulerice play?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (position VARCHAR, player VARCHAR)
SELECT position FROM table_name_83 WHERE player = "jesse boulerice"
Write a SQL query that answers the following question: What is the fewest number of wins in the chart for Ayrton Senna?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (wins INTEGER, driver VARCHAR)
SELECT MIN(wins) FROM table_name_1 WHERE driver = "ayrton senna"
Write a SQL query that answers the following question: What is the number of entries associated with more than 11 wins?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (entries VARCHAR, wins INTEGER)
SELECT entries FROM table_name_51 WHERE wins > 11
Write a SQL query that answers the following question: Name the most points with lost more than 1 and games less than 5
The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (points INTEGER, lost VARCHAR, games VARCHAR)
SELECT MAX(points) FROM table_name_96 WHERE lost > 1 AND games < 5
Write a SQL query that answers the following question: Name the sum of drawn with lost more than 1 and games less than 5
The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (drawn INTEGER, lost VARCHAR, games VARCHAR)
SELECT SUM(drawn) FROM table_name_13 WHERE lost > 1 AND games < 5
Write a SQL query that answers the following question: Name the least lost with points more than 6 and games less than 5
The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (lost INTEGER, points VARCHAR, games VARCHAR)
SELECT MIN(lost) FROM table_name_4 WHERE points > 6 AND games < 5
Write a SQL query that answers the following question: Name the sum of points with games less than 5
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (points INTEGER, games INTEGER)
SELECT SUM(points) FROM table_name_25 WHERE games < 5
Write a SQL query that answers the following question: What was the location of the bout that lasted 5:00 and led to a 6-2-1 record?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (location VARCHAR, time VARCHAR, record VARCHAR)
SELECT location FROM table_name_17 WHERE time = "5:00" AND record = "6-2-1"
Write a SQL query that answers the following question: What was the record after the bout with Alexis Vila?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (record VARCHAR, opponent VARCHAR)
SELECT record FROM table_name_79 WHERE opponent = "alexis vila"
Write a SQL query that answers the following question: Who was a defensive end at California?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (player_name VARCHAR, position VARCHAR, college VARCHAR)
SELECT player_name FROM table_name_93 WHERE position = "defensive end" AND college = "california"
Write a SQL query that answers the following question: Which players were selected after 2011?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (player_name VARCHAR, year_ VARCHAR, a_ VARCHAR)
SELECT player_name FROM table_name_53 WHERE year_[a_] > 2011
Write a SQL query that answers the following question: Who was a linebacker at Tennessee?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (player_name VARCHAR, position VARCHAR, college VARCHAR)
SELECT player_name FROM table_name_64 WHERE position = "linebacker" AND college = "tennessee"
Write a SQL query that answers the following question: Which Wins is the lowest one that has Events larger than 30?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (wins INTEGER, events INTEGER)
SELECT MIN(wins) FROM table_name_70 WHERE events > 30
Write a SQL query that answers the following question: What day were the results 3:0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (date VARCHAR, results¹ VARCHAR)
SELECT date FROM table_name_67 WHERE results¹ = "3:0"
Write a SQL query that answers the following question: What city played on april 29?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (city VARCHAR, date VARCHAR)
SELECT city FROM table_name_32 WHERE date = "april 29"
Write a SQL query that answers the following question: Which city has an opponent of England?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (city VARCHAR, opponent VARCHAR)
SELECT city FROM table_name_99 WHERE opponent = "england"
Write a SQL query that answers the following question: What day was the opponent Austria?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (date VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_8 WHERE opponent = "austria"
Write a SQL query that answers the following question: Name the most population for seychelles and rank less than 13
The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (population INTEGER, country_territory_entity VARCHAR, rank VARCHAR)
SELECT MAX(population) FROM table_name_8 WHERE country_territory_entity = "seychelles" AND rank < 13
Write a SQL query that answers the following question: What is the frequency of the station owned by the Canadian Broadcasting Corporation and branded as CBC Radio One?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (frequency VARCHAR, owner VARCHAR, branding VARCHAR)
SELECT frequency FROM table_name_49 WHERE owner = "canadian broadcasting corporation" AND branding = "cbc radio one"
Write a SQL query that answers the following question: What is the frequency of the soft adult contemporary stations?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (frequency VARCHAR, format VARCHAR)
SELECT frequency FROM table_name_14 WHERE format = "soft adult contemporary"
Write a SQL query that answers the following question: Who owns the station with the frequency FM 92.1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (owner VARCHAR, frequency VARCHAR)
SELECT owner FROM table_name_65 WHERE frequency = "fm 92.1"
Write a SQL query that answers the following question: What is the branding of the FM 97.7 station owned by the Canadian Broadcasting Corporation?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (branding VARCHAR, owner VARCHAR, frequency VARCHAR)
SELECT branding FROM table_name_80 WHERE owner = "canadian broadcasting corporation" AND frequency = "fm 97.7"
Write a SQL query that answers the following question: Which F/Laps has Podiums of 1, and a Season of 2000, and a Final Placing of nc?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (f_laps VARCHAR, final_placing VARCHAR, podiums VARCHAR, season VARCHAR)
SELECT f_laps FROM table_name_98 WHERE podiums = "1" AND season = 2000 AND final_placing = "nc"
Write a SQL query that answers the following question: Which Series has Poles of 0, and Races of 17?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (series VARCHAR, poles VARCHAR, races VARCHAR)
SELECT series FROM table_name_72 WHERE poles = "0" AND races = "17"
Write a SQL query that answers the following question: Which Team Name has Poles of 0, and a Final Placing of 29th?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (team_name VARCHAR, poles VARCHAR, final_placing VARCHAR)
SELECT team_name FROM table_name_25 WHERE poles = "0" AND final_placing = "29th"
Write a SQL query that answers the following question: Which Series has a Final Placing of 9th, and Podiums of 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (series VARCHAR, final_placing VARCHAR, podiums VARCHAR)
SELECT series FROM table_name_31 WHERE final_placing = "9th" AND podiums = "2"
Write a SQL query that answers the following question: Which Series has a Team Name of sunred engineering?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (series VARCHAR, team_name VARCHAR)
SELECT series FROM table_name_34 WHERE team_name = "sunred engineering"
Write a SQL query that answers the following question: Which Points have Wins of 0, and a Final Placing of 21st?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (points VARCHAR, wins VARCHAR, final_placing VARCHAR)
SELECT points FROM table_name_38 WHERE wins = "0" AND final_placing = "21st"
Write a SQL query that answers the following question: Name the bronze for lahti
The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (bronze VARCHAR, place VARCHAR)
SELECT bronze FROM table_name_46 WHERE place = "lahti"
Write a SQL query that answers the following question: Which Rank has Goals larger than 10, and a Scorer of choi sang-kuk?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (rank VARCHAR, goals VARCHAR, scorer VARCHAR)
SELECT rank FROM table_name_35 WHERE goals > 10 AND scorer = "choi sang-kuk"
Write a SQL query that answers the following question: Which Rank has a Scorer of lee sang-cheol?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (rank VARCHAR, scorer VARCHAR)
SELECT rank FROM table_name_69 WHERE scorer = "lee sang-cheol"
Write a SQL query that answers the following question: Which Club has a Rank of 5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (club VARCHAR, rank VARCHAR)
SELECT club FROM table_name_40 WHERE rank = "5"
Write a SQL query that answers the following question: How many original bills amendments cosponsored lower than 64,with the bill support withdrawn lower than 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (original_amendments_cosponsored INTEGER, all_bills_sponsored VARCHAR, bill_support_withdrawn VARCHAR)
SELECT MIN(original_amendments_cosponsored) FROM table_name_50 WHERE all_bills_sponsored < 64 AND bill_support_withdrawn < 0
Write a SQL query that answers the following question: Who is the democratic incumbent that was re-elected?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (incumbent VARCHAR, status VARCHAR, party VARCHAR)
SELECT incumbent FROM table_name_55 WHERE status = "re-elected" AND party = "democratic"
Write a SQL query that answers the following question: What year was republican, re-elected incumbent John all barham elected?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (elected VARCHAR, incumbent VARCHAR, party VARCHAR, status VARCHAR)
SELECT elected FROM table_name_92 WHERE party = "republican" AND status = "re-elected" AND incumbent = "john all barham"
Write a SQL query that answers the following question: What day in october was game number 4 with under 3 points?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (october VARCHAR, game VARCHAR, points VARCHAR)
SELECT COUNT(october) FROM table_name_18 WHERE game = 4 AND points < 3
Write a SQL query that answers the following question: Which school was the drafted player from in a pick larger than 181?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (school VARCHAR, pick INTEGER)
SELECT school FROM table_name_27 WHERE pick > 181
Write a SQL query that answers the following question: Which points against has 17 as the lost?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (points_against VARCHAR, lost VARCHAR)
SELECT points_against FROM table_name_61 WHERE lost = "17"
Write a SQL query that answers the following question: What lost has 528 as the points?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (lost VARCHAR, points_for VARCHAR)
SELECT lost FROM table_name_78 WHERE points_for = "528"
Write a SQL query that answers the following question: What is the drawn that has 16 as the trys bonus?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (drawn VARCHAR, try_bonus VARCHAR)
SELECT drawn FROM table_name_31 WHERE try_bonus = "16"
Write a SQL query that answers the following question: What club has tries for in the category tries for?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (club VARCHAR, tries_for VARCHAR)
SELECT club FROM table_name_64 WHERE tries_for = "tries for"
Write a SQL query that answers the following question: What is the drawn that has 22 for played, and 96 for points?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (drawn VARCHAR, played VARCHAR, points VARCHAR)
SELECT drawn FROM table_name_96 WHERE played = "22" AND points = "96"
Write a SQL query that answers the following question: What points have 1 for drawn, and 16 as a try bonus?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (points_for VARCHAR, drawn VARCHAR, try_bonus VARCHAR)
SELECT points_for FROM table_name_22 WHERE drawn = "1" AND try_bonus = "16"
Write a SQL query that answers the following question: What is team 1 in group h?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (team__number1 VARCHAR, round VARCHAR)
SELECT team__number1 FROM table_name_45 WHERE round = "group h"
Write a SQL query that answers the following question: What was the score on 15 march 2006?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_85 WHERE date = "15 march 2006"