question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
How much Draw has a Televote larger than 18, and an Artist of elizabeth anastasiou, and a Jury larger than 4?
CREATE TABLE table_name_44 (draw VARCHAR, jury VARCHAR, televote VARCHAR, artist VARCHAR)
SELECT COUNT(draw) FROM table_name_44 WHERE televote > 18 AND artist = "elizabeth anastasiou" AND jury > 4
What was the other number with 63.98% bush?
CREATE TABLE table_name_59 (others__number VARCHAR, bush__percentage VARCHAR)
SELECT others__number FROM table_name_59 WHERE bush__percentage = "63.98%"
What was the number of teams in the competition that wynnum manly seagulls won?
CREATE TABLE table_25735_1 (teams INTEGER, winner VARCHAR)
SELECT MIN(teams) FROM table_25735_1 WHERE winner = "Wynnum Manly Seagulls"
What is the total number of gold medals of slovakia, which has less than 1 silver medal?
CREATE TABLE table_name_61 (gold VARCHAR, silver VARCHAR, nation VARCHAR)
SELECT COUNT(gold) FROM table_name_61 WHERE silver < 1 AND nation = "slovakia"
What is the percentage of this constellation with an area of 248.885 sq. deg.?
CREATE TABLE table_177766_1 (per­cent­age VARCHAR, area__sqdeg_ VARCHAR)
SELECT per­cent­age FROM table_177766_1 WHERE area__sqdeg_ = "248.885"
Which Club has a League Cup goals of 0, and a FA Cup goals of 1, and a Total larger than 11, and a League goals of 13?
CREATE TABLE table_name_99 (club VARCHAR, league_goals VARCHAR, total VARCHAR, league_cup_goals VARCHAR, fa_cup_goals VARCHAR)
SELECT club FROM table_name_99 WHERE league_cup_goals = "0" AND fa_cup_goals = "1" AND total > 11 AND league_goals = "13"
What is the height of the person whose position is Libero?
CREATE TABLE table_name_15 (height INTEGER, position VARCHAR)
SELECT MAX(height) FROM table_name_15 WHERE position = "libero"
What is the highest number of matches?
CREATE TABLE table_16570286_2 (matches INTEGER)
SELECT MAX(matches) FROM table_16570286_2
What was the Surface during the match with Partner Debbie Graham?
CREATE TABLE table_name_26 (surface VARCHAR, partner VARCHAR)
SELECT surface FROM table_name_26 WHERE partner = "debbie graham"
What is the English title of 餓狼伝説バトルアーカイブズ2?
CREATE TABLE table_name_95 (english_title VARCHAR, japanese_title VARCHAR)
SELECT english_title FROM table_name_95 WHERE japanese_title = "餓狼伝説バトルアーカイブズ2"
When chris carney is the incumbent what are the results?
CREATE TABLE table_19753079_41 (result VARCHAR, incumbent VARCHAR)
SELECT result FROM table_19753079_41 WHERE incumbent = "Chris Carney"
What's Chick Harbert's To par?
CREATE TABLE table_name_21 (to_par VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_21 WHERE player = "chick harbert"
What is the name for the end of contract because they're moving to Falkirk?
CREATE TABLE table_name_63 (name VARCHAR, type VARCHAR, moving_to VARCHAR)
SELECT name FROM table_name_63 WHERE type = "end of contract" AND moving_to = "falkirk"
Which title's genre was jazz when it was nominated in 1996?
CREATE TABLE table_name_15 (title VARCHAR, year VARCHAR, genre VARCHAR, result VARCHAR)
SELECT title FROM table_name_15 WHERE genre = "jazz" AND result = "nominated" AND year = "1996"
What'd the total Dolphin points when there was an attendance of 52,860?
CREATE TABLE table_name_80 (dolphins_points VARCHAR, attendance VARCHAR)
SELECT COUNT(dolphins_points) FROM table_name_80 WHERE attendance = 52 OFFSET 860
Who holds the time of 17:11.572?
CREATE TABLE table_name_88 (race VARCHAR, time VARCHAR)
SELECT race FROM table_name_88 WHERE time = "17:11.572"
What is the height of the building named 555 17th street?
CREATE TABLE table_name_77 (height_ft___m VARCHAR, name VARCHAR)
SELECT height_ft___m FROM table_name_77 WHERE name = "555 17th street"
What builder has lot number 30702?
CREATE TABLE table_name_44 (builder VARCHAR, lot_no VARCHAR)
SELECT builder FROM table_name_44 WHERE lot_no = 30702
What is the value of D 43 √ when the value of D 42 √ is d 42 √?
CREATE TABLE table_name_58 (d_43_√ VARCHAR, d_42_√ VARCHAR)
SELECT d_43_√ FROM table_name_58 WHERE d_42_√ = "d 42 √"
What is the lowest total medals for the united states who had more than 11 silver medals?
CREATE TABLE table_name_80 (total INTEGER, country VARCHAR, silver VARCHAR)
SELECT MIN(total) FROM table_name_80 WHERE country = "united states" AND silver > 11
What is the sum of % for 2001 if 2001 seats equals 7?
CREATE TABLE table_name_32 (_percentage_2001 VARCHAR, seats_2001 VARCHAR)
SELECT COUNT(_percentage_2001) FROM table_name_32 WHERE seats_2001 = 7
which Oberliga Baden-Württemberg has a Season of 1991-92?
CREATE TABLE table_name_41 (oberliga_baden_württemberg VARCHAR, season VARCHAR)
SELECT oberliga_baden_württemberg FROM table_name_41 WHERE season = "1991-92"
What is the total number of points of the team with less than 4 drawn and an against of 34?
CREATE TABLE table_name_24 (points VARCHAR, drawn VARCHAR, against VARCHAR)
SELECT COUNT(points) FROM table_name_24 WHERE drawn < 4 AND against = 34
How high was the amount of winnings (in $) in the year with 15 starts?
CREATE TABLE table_2182562_2 (winnings VARCHAR, starts VARCHAR)
SELECT winnings FROM table_2182562_2 WHERE starts = 15
What is the 3rd Edition for Episode 4?
CREATE TABLE table_name_90 (episode VARCHAR)
SELECT 3 AS rd_edition FROM table_name_90 WHERE episode = "4"
What are the names of the contestants whose names are not 'Jessie Alloway'
CREATE TABLE contestants (contestant_name VARCHAR)
SELECT contestant_name FROM contestants WHERE contestant_name <> 'Jessie Alloway'
What is Replaced By, when Outgoing Manager is "Ünal Karaman"?
CREATE TABLE table_name_66 (replaced_by VARCHAR, outgoing_manager VARCHAR)
SELECT replaced_by FROM table_name_66 WHERE outgoing_manager = "ünal karaman"
What is the average Pick with a Position of pg, and a Round less than 1?
CREATE TABLE table_name_14 (pick INTEGER, position VARCHAR, round VARCHAR)
SELECT AVG(pick) FROM table_name_14 WHERE position = "pg" AND round < 1
What is the lowest number of goals of the player with 9 (0) games and less than 0 assists?
CREATE TABLE table_name_37 (goals INTEGER, games VARCHAR, assists VARCHAR)
SELECT MIN(goals) FROM table_name_37 WHERE games = "9 (0)" AND assists < 0
What is the latest week when the chicago bears are the opponent?
CREATE TABLE table_name_27 (week INTEGER, opponent VARCHAR)
SELECT MAX(week) FROM table_name_27 WHERE opponent = "chicago bears"
How much international freight has a change of +0,2% with more than 0 international mail?
CREATE TABLE table_name_75 (international_freight VARCHAR, change VARCHAR, international_mail VARCHAR)
SELECT COUNT(international_freight) FROM table_name_75 WHERE change = "+0,2%" AND international_mail > 0
Which Score has a To par of –3, and a Player of santiago luna?
CREATE TABLE table_name_69 (score VARCHAR, to_par VARCHAR, player VARCHAR)
SELECT score FROM table_name_69 WHERE to_par = "–3" AND player = "santiago luna"
What is every nature of role with year as 2009?
CREATE TABLE table_23379776_5 (nature_of_role VARCHAR, year VARCHAR)
SELECT nature_of_role FROM table_23379776_5 WHERE year = 2009
What series number had an original airdate of March 1, 1991?
CREATE TABLE table_2409041_3 (no_in_series INTEGER, original_air_date VARCHAR)
SELECT MIN(no_in_series) FROM table_2409041_3 WHERE original_air_date = "March 1, 1991"
When a private individual is the source and 018 is the story number what is the total footage remaining from missing episodes (mm:ss)?
CREATE TABLE table_1889619_5 (total_footage_remaining_from_missing_episodes__mm VARCHAR, story_no VARCHAR, source VARCHAR)
SELECT total_footage_remaining_from_missing_episodes__mm AS :ss_ FROM table_1889619_5 WHERE story_no = "018" AND source = "Private individual"
What is Time, when Meet is "Duel in the Pool", and when Date is "19 December 2009"?
CREATE TABLE table_name_62 (time VARCHAR, meet VARCHAR, date VARCHAR)
SELECT time FROM table_name_62 WHERE meet = "duel in the pool" AND date = "19 december 2009"
What is the largest number of points in a season?
CREATE TABLE table_2817196_1 (points INTEGER)
SELECT MAX(points) FROM table_2817196_1
What is the record for opponent Anna Barone?
CREATE TABLE table_name_24 (record VARCHAR, opponent VARCHAR)
SELECT record FROM table_name_24 WHERE opponent = "anna barone"
What's listed for the Turnout % with a Ngilu of 3,429?
CREATE TABLE table_name_11 (turnout__percentage VARCHAR, ngilu VARCHAR)
SELECT turnout__percentage FROM table_name_11 WHERE ngilu = "3,429"
How many silvers are there with a total of 11?
CREATE TABLE table_name_83 (silver INTEGER, total VARCHAR)
SELECT SUM(silver) FROM table_name_83 WHERE total = 11
Which Partial thromboplastin time has a Prothrombin time of prolonged and a Condition of factor v deficiency?
CREATE TABLE table_name_76 (partial_thromboplastin_time VARCHAR, prothrombin_time VARCHAR, condition VARCHAR)
SELECT partial_thromboplastin_time FROM table_name_76 WHERE prothrombin_time = "prolonged" AND condition = "factor v deficiency"
How many points are there for 63 tries against?
CREATE TABLE table_17625749_3 (points_for VARCHAR, tries_against VARCHAR)
SELECT points_for FROM table_17625749_3 WHERE tries_against = "63"
What date has uefa euro 2008 qualification as the competition?
CREATE TABLE table_name_55 (date VARCHAR, competition VARCHAR)
SELECT date FROM table_name_55 WHERE competition = "uefa euro 2008 qualification"
What is the lowest lane in which an athlete got a time larger than 20.75 and a react smaller than 0.166?
CREATE TABLE table_name_50 (lane INTEGER, time VARCHAR, react VARCHAR)
SELECT MIN(lane) FROM table_name_50 WHERE time > 20.75 AND react < 0.166
what is the average attendance per match wheree the elevation is 1500 m?
CREATE TABLE table_27708484_3 (average_attendance_per_match VARCHAR, elevation VARCHAR)
SELECT average_attendance_per_match FROM table_27708484_3 WHERE elevation = "1500 m"
What is the Accreditation Type, when the Accreditation Level is Joyn, and when the Hardware Model is Nokia 700?
CREATE TABLE table_name_72 (accreditation_type VARCHAR, accreditation_level VARCHAR, hardware_model VARCHAR)
SELECT accreditation_type FROM table_name_72 WHERE accreditation_level = "joyn" AND hardware_model = "nokia 700"
Name the original title for the last metro
CREATE TABLE table_18987377_1 (original_title VARCHAR, film_title_used_in_nomination VARCHAR)
SELECT original_title FROM table_18987377_1 WHERE film_title_used_in_nomination = "The Last Metro"
Which Rank has a Reaction time larger than 0.20400000000000001, and a Time larger than 45.56?
CREATE TABLE table_name_98 (rank INTEGER, react VARCHAR, time VARCHAR)
SELECT MAX(rank) FROM table_name_98 WHERE react > 0.20400000000000001 AND time > 45.56
Who is the incumbent in the Washington 1 district?
CREATE TABLE table_1805191_48 (incumbent VARCHAR, district VARCHAR)
SELECT incumbent FROM table_1805191_48 WHERE district = "Washington 1"
What was the Total the Year Yugoslavia had 0 Silver medals and 31 Competitors?
CREATE TABLE table_name_5 (total VARCHAR, silver VARCHAR, competitors VARCHAR)
SELECT total FROM table_name_5 WHERE silver = "0" AND competitors = "31"
What is the incumbent for pennsylvania 15
CREATE TABLE table_1342013_37 (incumbent VARCHAR, district VARCHAR)
SELECT incumbent FROM table_1342013_37 WHERE district = "Pennsylvania 15"
Which Home has a Record of 11–14–4?
CREATE TABLE table_name_50 (home VARCHAR, record VARCHAR)
SELECT home FROM table_name_50 WHERE record = "11–14–4"
What was the 3rd place value in 2011?
CREATE TABLE table_name_53 (year VARCHAR)
SELECT 3 AS rd_place FROM table_name_53 WHERE year = "2011"
What is the smallest year with a Mintage smaller than 10,000?
CREATE TABLE table_name_37 (year INTEGER, mintage INTEGER)
SELECT MIN(year) FROM table_name_37 WHERE mintage < 10 OFFSET 000
What is the 1991 finish for the 1993 Grand Slams?
CREATE TABLE table_name_60 (Id VARCHAR)
SELECT 1991 FROM table_name_60 WHERE 1993 = "grand slams"
What was the location for the match held on April 11, 2007, which ended with a score of 0-0?
CREATE TABLE table_name_90 (venue VARCHAR, score VARCHAR, date VARCHAR)
SELECT venue FROM table_name_90 WHERE score = "0-0" AND date = "april 11, 2007"
List the names of all distinct medications, ordered in an alphabetical order.
CREATE TABLE medication (name VARCHAR)
SELECT DISTINCT name FROM medication ORDER BY name
Find the last name and age of the student who has allergy to both milk and cat.
CREATE TABLE Has_allergy (lname VARCHAR, age VARCHAR, StuID VARCHAR, Allergy VARCHAR); CREATE TABLE Student (lname VARCHAR, age VARCHAR, StuID VARCHAR, Allergy VARCHAR)
SELECT lname, age FROM Student WHERE StuID IN (SELECT StuID FROM Has_allergy WHERE Allergy = "Milk" INTERSECT SELECT StuID FROM Has_allergy WHERE Allergy = "Cat")
Show the invoice number and the number of transactions for each invoice.
CREATE TABLE Financial_transactions (invoice_number VARCHAR)
SELECT invoice_number, COUNT(*) FROM Financial_transactions GROUP BY invoice_number
What club got 239 points against?
CREATE TABLE table_13564702_4 (club VARCHAR, points_against VARCHAR)
SELECT club FROM table_13564702_4 WHERE points_against = "239"
What is the round of Jimmy Drolet from Canada?
CREATE TABLE table_name_70 (round VARCHAR, nationality VARCHAR, player VARCHAR)
SELECT round FROM table_name_70 WHERE nationality = "canada" AND player = "jimmy drolet"
What was the losing hand where the winning hand was 7h 7s?
CREATE TABLE table_12454156_1 (losing_hand VARCHAR, winning_hand VARCHAR)
SELECT losing_hand FROM table_12454156_1 WHERE winning_hand = "7h 7s"
What shows for Set 5 when the Total was 77 - 65?
CREATE TABLE table_name_85 (set_5 VARCHAR, total VARCHAR)
SELECT set_5 FROM table_name_85 WHERE total = "77 - 65"
Which Format has an Interactivity support of no, a Word wrap support of yes, an Image support of yes, and an Open standard of yes?
CREATE TABLE table_name_22 (format VARCHAR, open_standard VARCHAR, image_support VARCHAR, interactivity_support VARCHAR, word_wrap_support VARCHAR)
SELECT format FROM table_name_22 WHERE interactivity_support = "no" AND word_wrap_support = "yes" AND image_support = "yes" AND open_standard = "yes"
February 12 is the date for all location attendance.
CREATE TABLE table_17080868_8 (location_attendance VARCHAR, date VARCHAR)
SELECT location_attendance FROM table_17080868_8 WHERE date = "February 12"
Where is the headquarters of the getinge group located?
CREATE TABLE table_name_26 (headquarters VARCHAR, company VARCHAR)
SELECT headquarters FROM table_name_26 WHERE company = "getinge group"
What is the time for the second qualification where the first qualification time was 1:21.523?
CREATE TABLE table_name_21 (qual_2 VARCHAR, qual_1 VARCHAR)
SELECT qual_2 FROM table_name_21 WHERE qual_1 = "1:21.523"
Please show the police forces and the number of counties with each police force.
CREATE TABLE county_public_safety (Police_force VARCHAR)
SELECT Police_force, COUNT(*) FROM county_public_safety GROUP BY Police_force
What location was the congressional service of which the term ended in January 3, 2011?
CREATE TABLE table_197446_1 (location VARCHAR, term_ended VARCHAR)
SELECT location FROM table_197446_1 WHERE term_ended = "January 3, 2011"
Which label is from Spain?
CREATE TABLE table_name_31 (label VARCHAR, country VARCHAR)
SELECT label FROM table_name_31 WHERE country = "spain"
How long has Mel Daniels been playing?
CREATE TABLE table_22719663_3 (experience VARCHAR, name VARCHAR)
SELECT experience FROM table_22719663_3 WHERE name = "Mel Daniels"
What was the record when the method of resolution was KO?
CREATE TABLE table_name_16 (record VARCHAR, method VARCHAR)
SELECT record FROM table_name_16 WHERE method = "ko"
What district was John Porter elected in?
CREATE TABLE table_1341453_15 (district VARCHAR, incumbent VARCHAR)
SELECT district FROM table_1341453_15 WHERE incumbent = "John Porter"
Name the % for total being 57613
CREATE TABLE table_19260_1 (_percentage VARCHAR, total VARCHAR)
SELECT _percentage FROM table_19260_1 WHERE total = 57613
How many millions of people in the US watched when Kevin Bray was director?
CREATE TABLE table_24319661_3 (us_viewers__million_ VARCHAR, directed_by VARCHAR)
SELECT us_viewers__million_ FROM table_24319661_3 WHERE directed_by = "Kevin Bray"
Which college/junior/club team (league) did Brett Sonne play in?
CREATE TABLE table_name_45 (college_junior_club_team__league_ VARCHAR, player VARCHAR)
SELECT college_junior_club_team__league_ FROM table_name_45 WHERE player = "brett sonne"
What is the lowest attendance when the h/A is H in the Semi-Finals Second Leg?
CREATE TABLE table_name_73 (attendance INTEGER, h___a VARCHAR, round VARCHAR)
SELECT MIN(attendance) FROM table_name_73 WHERE h___a = "h" AND round = "semi-finals second leg"
Which Date has a Distance of 500 m?
CREATE TABLE table_name_3 (date VARCHAR, distance VARCHAR)
SELECT date FROM table_name_3 WHERE distance = "500 m"
What is the amount of renewable electricity without hydrogen power when the percentage of renewable energy is 83.4?
CREATE TABLE table_25244412_1 (renewable_electricity_w_o_hydro__gw•h_ VARCHAR, _percentage_renewable VARCHAR)
SELECT renewable_electricity_w_o_hydro__gw•h_ FROM table_25244412_1 WHERE _percentage_renewable = "83.4"
Which opponent has a record of 6-2?
CREATE TABLE table_21091127_1 (opponent VARCHAR, record VARCHAR)
SELECT opponent FROM table_21091127_1 WHERE record = "6-2"
What is the value for Career W-L for the Grand Slam Tournaments?
CREATE TABLE table_name_83 (career_w_l VARCHAR, tournament VARCHAR)
SELECT career_w_l FROM table_name_83 WHERE tournament = "grand slam tournaments"
What is the name of the DS division where the divisional secretary is S. H. Muzammil?
CREATE TABLE table_12485020_1 (ds_division VARCHAR, divisional_secretary VARCHAR)
SELECT ds_division FROM table_12485020_1 WHERE divisional_secretary = "S. H. Muzammil"
what is the number of lane with a rank more than 2 for Louise ørnstedt?
CREATE TABLE table_name_86 (lane VARCHAR, rank VARCHAR, name VARCHAR)
SELECT COUNT(lane) FROM table_name_86 WHERE rank > 2 AND name = "louise ørnstedt"
How many debit cards do we have?
CREATE TABLE Customers_cards (card_type_code VARCHAR)
SELECT COUNT(*) FROM Customers_cards WHERE card_type_code = "Debit"
Name the total fat which has a polyunsaturated fat of 11g and monounsaturated fat of 45g
CREATE TABLE table_name_60 (total_fat VARCHAR, polyunsaturated_fat VARCHAR, monounsaturated_fat VARCHAR)
SELECT total_fat FROM table_name_60 WHERE polyunsaturated_fat = "11g" AND monounsaturated_fat = "45g"
What is the total for the person with 73.28 bodyweight and fewer snatches than 75?
CREATE TABLE table_name_22 (total__kg_ INTEGER, bodyweight VARCHAR, snatch VARCHAR)
SELECT AVG(total__kg_) FROM table_name_22 WHERE bodyweight = 73.28 AND snatch < 75
What many times was the victoria derby raced?
CREATE TABLE table_2985987_2 (date VARCHAR, race VARCHAR)
SELECT COUNT(date) FROM table_2985987_2 WHERE race = "Victoria Derby"
What won best amiga demo when alto knallo (free electric band) won best pc demo?
CREATE TABLE table_2490289_1 (amiga_demo VARCHAR, pc_demo VARCHAR)
SELECT amiga_demo FROM table_2490289_1 WHERE pc_demo = "Alto Knallo (Free Electric Band)"
What is the average grid for the competitiors who had laps smaller than 3?
CREATE TABLE table_name_55 (grid INTEGER, laps INTEGER)
SELECT AVG(grid) FROM table_name_55 WHERE laps < 3
What are the titles of the pieces that are number 2 in season?
CREATE TABLE table_25604014_6 (title VARCHAR, no_in_season VARCHAR)
SELECT title FROM table_25604014_6 WHERE no_in_season = 2
What is the IATA of Guam?
CREATE TABLE table_name_4 (iata VARCHAR, city VARCHAR)
SELECT iata FROM table_name_4 WHERE city = "guam"
For the group name European Progressive Democrats what is the French abbr?
CREATE TABLE table_name_23 (french_abbr VARCHAR, group_name VARCHAR)
SELECT french_abbr FROM table_name_23 WHERE group_name = "european progressive democrats"
What college had the pick of 85?
CREATE TABLE table_name_51 (college VARCHAR, pick VARCHAR)
SELECT college FROM table_name_51 WHERE pick = 85
Who was the Visitor when the Home team was Anaheim on the Date of April 12?
CREATE TABLE table_name_49 (visitor VARCHAR, home VARCHAR, date VARCHAR)
SELECT visitor FROM table_name_49 WHERE home = "anaheim" AND date = "april 12"
What is the sum of Total, when Silver is greater than 1, when Nation is Germany (GER), and when Gold is less than 1?
CREATE TABLE table_name_87 (total INTEGER, gold VARCHAR, silver VARCHAR, nation VARCHAR)
SELECT SUM(total) FROM table_name_87 WHERE silver > 1 AND nation = "germany (ger)" AND gold < 1
what is the home city for the stadion src mladost?
CREATE TABLE table_name_29 (home_city VARCHAR, stadium VARCHAR)
SELECT home_city FROM table_name_29 WHERE stadium = "stadion src mladost"
Find the maximum and minimum monthly rental for all student addresses.
CREATE TABLE Student_Addresses (monthly_rental INTEGER)
SELECT MAX(monthly_rental), MIN(monthly_rental) FROM Student_Addresses
Name the position for pick number 39
CREATE TABLE table_2508633_2 (position VARCHAR, pick__number VARCHAR)
SELECT position FROM table_2508633_2 WHERE pick__number = 39
If the gun used is the qf 12 pdr 12 cwt, what is the shell weight?
CREATE TABLE table_16439764_1 (shell__lb_ VARCHAR, gun VARCHAR)
SELECT shell__lb_ FROM table_16439764_1 WHERE gun = "QF 12 pdr 12 cwt"
What is the record with the opponent as Carlton Jones?
CREATE TABLE table_name_85 (record VARCHAR, opponent VARCHAR)
SELECT record FROM table_name_85 WHERE opponent = "carlton jones"