instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: What was the injured entry for Venezuela?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (injured VARCHAR, country VARCHAR)
SELECT injured FROM table_name_16 WHERE country = "venezuela"
Write a SQL query that answers the following question: How old were Mitchell & Jessica when they danced the Cha-Cha-Cha?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (ages VARCHAR, dance VARCHAR, pair VARCHAR)
SELECT ages FROM table_name_48 WHERE dance = "cha-cha-cha" AND pair = "mitchell & jessica"
Write a SQL query that answers the following question: Who danced the Cha-Cha-Cha on November 18, 2008?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (pair VARCHAR, dance VARCHAR, date VARCHAR)
SELECT pair FROM table_name_2 WHERE dance = "cha-cha-cha" AND date = "november 18, 2008"
Write a SQL query that answers the following question: Who danced the Samba on October 14, 2008?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (pair VARCHAR, date VARCHAR, dance VARCHAR)
SELECT pair FROM table_name_14 WHERE date = "october 14, 2008" AND dance = "samba"
Write a SQL query that answers the following question: What was the pic for Canada for player Yvon Bouillon earlier than 1974?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (pick INTEGER, player VARCHAR, nationality VARCHAR, year VARCHAR)
SELECT AVG(pick) FROM table_name_38 WHERE nationality = "canada" AND year < 1974 AND player = "yvon bouillon"
Write a SQL query that answers the following question: What was the competition when the score was 3-0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (competition VARCHAR, score VARCHAR)
SELECT competition FROM table_name_33 WHERE score = "3-0"
Write a SQL query that answers the following question: Akin Ayodele drafted before round 7 plays what position?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (position VARCHAR, round VARCHAR, name VARCHAR)
SELECT position FROM table_name_18 WHERE round < 7 AND name = "akin ayodele"
Write a SQL query that answers the following question: What is the total overall for the pick that went before round 4, who went to Tennessee for college, and was picked at a number bigger than 9?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (overall INTEGER, pick__number VARCHAR, round VARCHAR, college VARCHAR)
SELECT SUM(overall) FROM table_name_60 WHERE round < 4 AND college = "tennessee" AND pick__number > 9
Write a SQL query that answers the following question: What is the pick number average for the player who was drafted before round 7, and went to college at Tennessee?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (pick__number INTEGER, round VARCHAR, college VARCHAR)
SELECT AVG(pick__number) FROM table_name_40 WHERE round < 7 AND college = "tennessee"
Write a SQL query that answers the following question: What visiting team played at the home of the Chicago Black Hawks with a record of 1-1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (visitor VARCHAR, home VARCHAR, record VARCHAR)
SELECT visitor FROM table_name_48 WHERE home = "chicago black hawks" AND record = "1-1"
Write a SQL query that answers the following question: What home team has a record of 4-3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (home VARCHAR, record VARCHAR)
SELECT home FROM table_name_7 WHERE record = "4-3"
Write a SQL query that answers the following question: What visiting team has a record of 4-3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (visitor VARCHAR, record VARCHAR)
SELECT visitor FROM table_name_49 WHERE record = "4-3"
Write a SQL query that answers the following question: What is the highest league up with less than 3 championships, a total less than 2, and a FA cup larger than 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (league_cup INTEGER, fa_cup VARCHAR, championship VARCHAR, total VARCHAR)
SELECT MAX(league_cup) FROM table_name_99 WHERE championship < 3 AND total < 2 AND fa_cup > 0
Write a SQL query that answers the following question: What is the average total for less than 1 championship?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (total INTEGER, championship INTEGER)
SELECT AVG(total) FROM table_name_59 WHERE championship < 1
Write a SQL query that answers the following question: What i the total number of championships less than 2, and a league cup larger than 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (total VARCHAR, championship VARCHAR, league_cup VARCHAR)
SELECT COUNT(total) FROM table_name_9 WHERE championship < 2 AND league_cup > 1
Write a SQL query that answers the following question: What home team has a score of 2–1, when the away team was Telford United?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (home_team VARCHAR, score VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_10 WHERE score = "2–1" AND away_team = "telford united"
Write a SQL query that answers the following question: What was the score when the way team was Wrexham?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (score VARCHAR, away_team VARCHAR)
SELECT score FROM table_name_12 WHERE away_team = "wrexham"
Write a SQL query that answers the following question: What is the home team when the Tie no is 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (home_team VARCHAR, tie_no VARCHAR)
SELECT home_team FROM table_name_32 WHERE tie_no = "1"
Write a SQL query that answers the following question: What was Eduardo Romero's score?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (score VARCHAR, player VARCHAR)
SELECT score FROM table_name_59 WHERE player = "eduardo romero"
Write a SQL query that answers the following question: Where was the score 67-71-70=208?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (place VARCHAR, score VARCHAR)
SELECT place FROM table_name_26 WHERE score = 67 - 71 - 70 = 208
Write a SQL query that answers the following question: What was the score when Fred Couples played in the United States and placed t9?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (score VARCHAR, player VARCHAR, country VARCHAR, place VARCHAR)
SELECT score FROM table_name_26 WHERE country = "united states" AND place = "t9" AND player = "fred couples"
Write a SQL query that answers the following question: What country does Gary Koch play for?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (country VARCHAR, player VARCHAR)
SELECT country FROM table_name_15 WHERE player = "gary koch"
Write a SQL query that answers the following question: Who plays for Zimbabwe?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (player VARCHAR, country VARCHAR)
SELECT player FROM table_name_7 WHERE country = "zimbabwe"
Write a SQL query that answers the following question: What was the To par when the place was 4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (to_par VARCHAR, place VARCHAR)
SELECT to_par FROM table_name_60 WHERE place = "4"
Write a SQL query that answers the following question: What is the current club with a position of sg/sf and a height less than 1.96?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (current_club VARCHAR, position VARCHAR, height VARCHAR)
SELECT current_club FROM table_name_45 WHERE position = "sg/sf" AND height < 1.96
Write a SQL query that answers the following question: What year was Rowan Barrett born?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (year_born__age_ VARCHAR, player VARCHAR)
SELECT year_born__age_ FROM table_name_18 WHERE player = "rowan barrett"
Write a SQL query that answers the following question: What is the lowest height for Rans Brempong?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (height INTEGER, player VARCHAR)
SELECT MIN(height) FROM table_name_37 WHERE player = "rans brempong"
Write a SQL query that answers the following question: When was the result 0–3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (date VARCHAR, result VARCHAR)
SELECT date FROM table_name_48 WHERE result = "0–3"
Write a SQL query that answers the following question: What is the result of the match on 9 September 2009?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_95 WHERE date = "9 september 2009"
Write a SQL query that answers the following question: What is the name of the player that was loaned out on 13 August 2008 ?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (name VARCHAR, date_from VARCHAR)
SELECT name FROM table_name_34 WHERE date_from = "13 august 2008"
Write a SQL query that answers the following question: When was febian brandy loaned out until, when was loaned out on 2 february 2009.?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (date_to VARCHAR, name VARCHAR, date_from VARCHAR)
SELECT date_to FROM table_name_12 WHERE name = "febian brandy" AND date_from = "2 february 2009"
Write a SQL query that answers the following question: When was james chester loaned out until ?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (date_to VARCHAR, name VARCHAR)
SELECT date_to FROM table_name_78 WHERE name = "james chester"
Write a SQL query that answers the following question: Where did the player loaned out on 27 november 2008 move to ?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (moving_to VARCHAR, date_from VARCHAR)
SELECT moving_to FROM table_name_65 WHERE date_from = "27 november 2008"
Write a SQL query that answers the following question: When was ron-robert zieler loaned out until ?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (date_to VARCHAR, name VARCHAR)
SELECT date_to FROM table_name_90 WHERE name = "ron-robert zieler"
Write a SQL query that answers the following question: Where did the player in Pos mf, move to until 30 june 2009 ?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (moving_to VARCHAR, date_to VARCHAR, pos VARCHAR)
SELECT moving_to FROM table_name_18 WHERE date_to = "30 june 2009" AND pos = "mf"
Write a SQL query that answers the following question: What is the name of the manager who was replaced by michael skibbe?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (name VARCHAR, replacement VARCHAR)
SELECT name FROM table_name_87 WHERE replacement = "michael skibbe"
Write a SQL query that answers the following question: What is the club the used aykut kocaman as the replacement?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (club VARCHAR, replacement VARCHAR)
SELECT club FROM table_name_22 WHERE replacement = "aykut kocaman"
Write a SQL query that answers the following question: What is the date of appointment of nejat biyedić?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (date_of_appointment VARCHAR, name VARCHAR)
SELECT date_of_appointment FROM table_name_80 WHERE name = "nejat biyedić"
Write a SQL query that answers the following question: When did they play at the wachovia center?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (date VARCHAR, location_attendance VARCHAR)
SELECT date FROM table_name_75 WHERE location_attendance = "wachovia center"
Write a SQL query that answers the following question: What game number was played at amway arena?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (game VARCHAR, location_attendance VARCHAR)
SELECT game FROM table_name_86 WHERE location_attendance = "amway arena"
Write a SQL query that answers the following question: How many medals were won total for the country that won 1 silver and was ranked 2 or lower?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (total VARCHAR, silver VARCHAR, rank VARCHAR)
SELECT COUNT(total) FROM table_name_18 WHERE silver = 1 AND rank < 2
Write a SQL query that answers the following question: How many silvers did the country with more than 0 gold and a rank above 1 win that had a total less than 4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (silver VARCHAR, total VARCHAR, gold VARCHAR, rank VARCHAR)
SELECT COUNT(silver) FROM table_name_65 WHERE gold > 0 AND rank > 1 AND total < 4
Write a SQL query that answers the following question: How many bronzes were won by the country with a total higher than 5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (bronze INTEGER, total INTEGER)
SELECT SUM(bronze) FROM table_name_25 WHERE total > 5
Write a SQL query that answers the following question: How many bronzes were won for the country that had a larger than 3 rank and a silver win count above 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (bronze INTEGER, rank VARCHAR, silver VARCHAR)
SELECT SUM(bronze) FROM table_name_34 WHERE rank > 3 AND silver > 0
Write a SQL query that answers the following question: What is the highest value for Other that has CONCACAF value of 0 a U.S. Open Cup larger than 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (other INTEGER, us_open_cup VARCHAR, concacaf VARCHAR)
SELECT MAX(other) FROM table_name_28 WHERE us_open_cup > 0 AND concacaf = 0
Write a SQL query that answers the following question: Which Subregion has a No P. of 4, and a Pop/Area (1/km²) of 534?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (subregion VARCHAR, no_p VARCHAR, pop_area__1_km²_ VARCHAR)
SELECT subregion FROM table_name_41 WHERE no_p = 4 AND pop_area__1_km²_ = 534
Write a SQL query that answers the following question: Which Pop/Area (1/km²) has a No P. larger than 1, and a Name of albergaria-a-velha?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (pop_area__1_km²_ INTEGER, no_p VARCHAR, name VARCHAR)
SELECT AVG(pop_area__1_km²_) FROM table_name_84 WHERE no_p > 1 AND name = "albergaria-a-velha"
Write a SQL query that answers the following question: Which Area (km²) is the lowest one that has a Population of 17,089?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (area__km²_ INTEGER, pop VARCHAR)
SELECT MIN(area__km²_) FROM table_name_39 WHERE pop = 17 OFFSET 089
Write a SQL query that answers the following question: Who was the home team on 4 February 1987 when Luton Town was away team and there was no replay?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (home_team VARCHAR, away_team VARCHAR, tie_no VARCHAR, date VARCHAR)
SELECT home_team FROM table_name_68 WHERE tie_no = "replay" AND date = "4 february 1987" AND away_team = "luton town"
Write a SQL query that answers the following question: Who was the away team on 31 January 1987 when the home team was Wimbledon?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (away_team VARCHAR, date VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_51 WHERE date = "31 january 1987" AND home_team = "wimbledon"
Write a SQL query that answers the following question: How high is Macedonia's highest point?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (height__ft_ VARCHAR, country VARCHAR)
SELECT height__ft_ FROM table_name_53 WHERE country = "macedonia"
Write a SQL query that answers the following question: What is the theme with dani as the winner?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (theme VARCHAR, winner VARCHAR)
SELECT theme FROM table_name_96 WHERE winner = "dani"
Write a SQL query that answers the following question: What are the notes of the patience theme?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (notes VARCHAR, theme VARCHAR)
SELECT notes FROM table_name_76 WHERE theme = "patience"
Write a SQL query that answers the following question: what is the round when the position is (c)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (round INTEGER, position VARCHAR)
SELECT MAX(round) FROM table_name_85 WHERE position = "(c)"
Write a SQL query that answers the following question: what is the round for jake gardiner?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (round INTEGER, player VARCHAR)
SELECT AVG(round) FROM table_name_3 WHERE player = "jake gardiner"
Write a SQL query that answers the following question: what is the college/junior/club team (league) when the round is higher than 1, the nationality is canada and the position is (d)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (college_junior_club_team__league_ VARCHAR, position VARCHAR, round VARCHAR, nationality VARCHAR)
SELECT college_junior_club_team__league_ FROM table_name_27 WHERE round > 1 AND nationality = "canada" AND position = "(d)"
Write a SQL query that answers the following question: what is the position when the round is higher than 3, the nationality is united states and the player is nick pryor?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (position VARCHAR, player VARCHAR, round VARCHAR, nationality VARCHAR)
SELECT position FROM table_name_13 WHERE round > 3 AND nationality = "united states" AND player = "nick pryor"
Write a SQL query that answers the following question: what is the college/junior/club team (league) when the position is (c) and the round is higher than 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (college_junior_club_team__league_ VARCHAR, position VARCHAR, round VARCHAR)
SELECT college_junior_club_team__league_ FROM table_name_52 WHERE position = "(c)" AND round > 2
Write a SQL query that answers the following question: When the team Heathmere of the South West DFL won more than 11 games, what is the maximum byes?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (byes INTEGER, south_west_dfl VARCHAR, wins VARCHAR)
SELECT MAX(byes) FROM table_name_38 WHERE south_west_dfl = "heathmere" AND wins > 11
Write a SQL query that answers the following question: What is the most games lost when the against is greater than 1401, and the draws greater than 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (losses INTEGER, draws VARCHAR, against VARCHAR)
SELECT MAX(losses) FROM table_name_9 WHERE draws > 0 AND against > 1401
Write a SQL query that answers the following question: What is the maximum draws when less than 2514 is the against, and less than 0 byes?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (draws INTEGER, against VARCHAR, byes VARCHAR)
SELECT MAX(draws) FROM table_name_52 WHERE against < 2514 AND byes < 0
Write a SQL query that answers the following question: What is the wins average when 17 games were lost?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (wins INTEGER, losses VARCHAR)
SELECT AVG(wins) FROM table_name_83 WHERE losses = 17
Write a SQL query that answers the following question: What stadium is in the city of Debrecen?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (stadium VARCHAR, city VARCHAR)
SELECT stadium FROM table_name_81 WHERE city = "debrecen"
Write a SQL query that answers the following question: What is the number of silver when rank was 5, and a bronze was smaller than 14?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (silver INTEGER, rank VARCHAR, bronze VARCHAR)
SELECT SUM(silver) FROM table_name_69 WHERE rank = "5" AND bronze < 14
Write a SQL query that answers the following question: What is the highest bronze number when silver is 0, and the total is smaller than 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (bronze INTEGER, silver VARCHAR, total VARCHAR)
SELECT MAX(bronze) FROM table_name_92 WHERE silver = 0 AND total < 1
Write a SQL query that answers the following question: What is the total when the nation was Argentina, and a Goldwas smaller than 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (total VARCHAR, nation VARCHAR, gold VARCHAR)
SELECT COUNT(total) FROM table_name_4 WHERE nation = "argentina" AND gold < 0
Write a SQL query that answers the following question: What is the nation when bronze is less than 7, gold is larger than 0, total is larger than 7, and silver is smaller than 3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (nation VARCHAR, silver VARCHAR, total VARCHAR, bronze VARCHAR, gold VARCHAR)
SELECT nation FROM table_name_96 WHERE bronze < 7 AND gold > 0 AND total > 7 AND silver < 3
Write a SQL query that answers the following question: What date was the game against manchester city when they had a league position of 2nd?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (date VARCHAR, opponents VARCHAR, h___a VARCHAR, league_position VARCHAR)
SELECT date FROM table_name_22 WHERE h___a = "a" AND league_position = "2nd" AND opponents = "manchester city"
Write a SQL query that answers the following question: What is the result F-A of the game on 6 march 1993?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (result_f___a VARCHAR, date VARCHAR)
SELECT result_f___a FROM table_name_95 WHERE date = "6 march 1993"
Write a SQL query that answers the following question: What is the result F-A of the game on 3 may 1993?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (result_f___a VARCHAR, date VARCHAR)
SELECT result_f___a FROM table_name_93 WHERE date = "3 may 1993"
Write a SQL query that answers the following question: What is Tie no, when Date is "18 Nov 1989", and when Home Team is "Doncaster Rovers"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (tie_no VARCHAR, date VARCHAR, home_team VARCHAR)
SELECT tie_no FROM table_name_32 WHERE date = "18 nov 1989" AND home_team = "doncaster rovers"
Write a SQL query that answers the following question: What is Score, when Away Team is "Yeovil Town"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (score VARCHAR, away_team VARCHAR)
SELECT score FROM table_name_43 WHERE away_team = "yeovil town"
Write a SQL query that answers the following question: What is Home Team, when Tie no is "27"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (home_team VARCHAR, tie_no VARCHAR)
SELECT home_team FROM table_name_46 WHERE tie_no = "27"
Write a SQL query that answers the following question: What is Date, when Tie no is "37"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (date VARCHAR, tie_no VARCHAR)
SELECT date FROM table_name_97 WHERE tie_no = "37"
Write a SQL query that answers the following question: What is Home Team, when Date is "22 Nov 1989", and when Away Team is "Bath City"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (home_team VARCHAR, date VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_85 WHERE date = "22 nov 1989" AND away_team = "bath city"
Write a SQL query that answers the following question: What year was the play-by-play for Don Earle?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (year VARCHAR, play_by_play VARCHAR)
SELECT year FROM table_name_84 WHERE play_by_play = "don earle"
Write a SQL query that answers the following question: What is Tom Kite with a Score of 68's To Par?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (to_par VARCHAR, score VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_92 WHERE score = 68 AND player = "tom kite"
Write a SQL query that answers the following question: What is Tom Kite's Place?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (place VARCHAR, player VARCHAR)
SELECT place FROM table_name_78 WHERE player = "tom kite"
Write a SQL query that answers the following question: What is the televote points for 0 jury points and 23 draws?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (televote_points VARCHAR, jury_points VARCHAR, draw VARCHAR)
SELECT televote_points FROM table_name_49 WHERE jury_points = "0" AND draw = 23
Write a SQL query that answers the following question: What district was a republican first elected in 2000?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (district VARCHAR, first_elected VARCHAR, party VARCHAR)
SELECT district FROM table_name_98 WHERE first_elected = 2000 AND party = "republican"
Write a SQL query that answers the following question: In what district was incumbent Russ Carnahan elected after 2000?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (district VARCHAR, first_elected VARCHAR, incumbent VARCHAR)
SELECT district FROM table_name_99 WHERE first_elected > 2000 AND incumbent = "russ carnahan"
Write a SQL query that answers the following question: For which venue did Leicester City lose?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (venue VARCHAR, loser VARCHAR)
SELECT venue FROM table_name_29 WHERE loser = "leicester city"
Write a SQL query that answers the following question: What season did Stoke City win?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (season VARCHAR, winner VARCHAR)
SELECT season FROM table_name_13 WHERE winner = "stoke city"
Write a SQL query that answers the following question: What was the attendance for St Andrew's?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (attendance VARCHAR, venue VARCHAR)
SELECT attendance FROM table_name_17 WHERE venue = "st andrew's"
Write a SQL query that answers the following question: What season did Wolverhampton Wanderers win?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (season VARCHAR, winner VARCHAR)
SELECT season FROM table_name_5 WHERE winner = "wolverhampton wanderers"
Write a SQL query that answers the following question: Which Call sign has an ERP W of 75?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (call_sign VARCHAR, erp_w VARCHAR)
SELECT call_sign FROM table_name_23 WHERE erp_w = 75
Write a SQL query that answers the following question: Which Class has a Facility ID greater than 85076 and a Call Sign of K289au?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (class VARCHAR, facility_id VARCHAR, call_sign VARCHAR)
SELECT class FROM table_name_19 WHERE facility_id > 85076 AND call_sign = "k289au"
Write a SQL query that answers the following question: What year was jack cole nominated?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (year VARCHAR, nominee VARCHAR)
SELECT year FROM table_name_77 WHERE nominee = "jack cole"
Write a SQL query that answers the following question: What award ceremony was howard bay and patton campbell nominated?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (award_ceremony VARCHAR, nominee VARCHAR)
SELECT award_ceremony FROM table_name_10 WHERE nominee = "howard bay and patton campbell"
Write a SQL query that answers the following question: What is Visitor, when Date is "May 9"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (visitor VARCHAR, date VARCHAR)
SELECT visitor FROM table_name_13 WHERE date = "may 9"
Write a SQL query that answers the following question: What is Score, when Home is "Montreal Canadiens", and when Date is "May 16"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (score VARCHAR, home VARCHAR, date VARCHAR)
SELECT score FROM table_name_79 WHERE home = "montreal canadiens" AND date = "may 16"
Write a SQL query that answers the following question: What is Score, when Date is "May 11"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_97 WHERE date = "may 11"
Write a SQL query that answers the following question: What is Visitor, when Home is "Chicago Black Hawks", and when Date is "May 4"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (visitor VARCHAR, home VARCHAR, date VARCHAR)
SELECT visitor FROM table_name_77 WHERE home = "chicago black hawks" AND date = "may 4"
Write a SQL query that answers the following question: What is Score, when Record is "2-0"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (score VARCHAR, record VARCHAR)
SELECT score FROM table_name_95 WHERE record = "2-0"
Write a SQL query that answers the following question: Which tournament included the round played on 14 May?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (tournament VARCHAR, date VARCHAR)
SELECT tournament FROM table_name_70 WHERE date = "14 may"
Write a SQL query that answers the following question: Which round was played on 10 May?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (round VARCHAR, date VARCHAR)
SELECT round FROM table_name_91 WHERE date = "10 may"
Write a SQL query that answers the following question: what is the language when the points is more than 119 and the place is higher than 5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (language VARCHAR, points VARCHAR, place VARCHAR)
SELECT language FROM table_name_24 WHERE points > 119 AND place > 5
Write a SQL query that answers the following question: what is the highest place when the national final is 4th and the points is less than 139?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (place INTEGER, national_final VARCHAR, points VARCHAR)
SELECT MAX(place) FROM table_name_37 WHERE national_final = "4th" AND points < 139
Write a SQL query that answers the following question: what is the lowest place when the language is croatian?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (place INTEGER, language VARCHAR)
SELECT MIN(place) FROM table_name_95 WHERE language = "croatian"
Write a SQL query that answers the following question: what is the language when the english translation is come to me?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (language VARCHAR, english_translation VARCHAR)
SELECT language FROM table_name_18 WHERE english_translation = "come to me"