answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
489
SELECT architecture_and_modelling FROM table_name_5 WHERE unit_test = "no" AND projects_templates = "limited"
Which Architecture and modelling has a Unit test of no, and a Projects templates of limited?
CREATE TABLE table_name_5 (architecture_and_modelling VARCHAR, unit_test VARCHAR, projects_templates VARCHAR)
SELECT name FROM web_client_accelerator WHERE name LIKE "%Opera%"
Which accelerator name contains substring "Opera"?
CREATE TABLE web_client_accelerator (name VARCHAR)
SELECT MAX(_percentage_hydropower) FROM table_name_80 WHERE _percentage_oil < 24.5 AND country = "united arab emirates" AND _percentage_nuclear_power < 0
what is the highest % hydropower when the % oil is less than 24.5, country is united arab emirates and the % nuclear power is 0?
CREATE TABLE table_name_80 (_percentage_hydropower INTEGER, _percentage_nuclear_power VARCHAR, _percentage_oil VARCHAR, country VARCHAR)
SELECT outcome FROM table_name_57 WHERE tournament = "mexico f12, obregón"
Name the outcome with tournament of mexico f12, obregón
CREATE TABLE table_name_57 (outcome VARCHAR, tournament VARCHAR)
SELECT MIN(pick__number) FROM table_22402438_7 WHERE position = "Goaltender"
How many pick # are there for the goaltender position?
CREATE TABLE table_22402438_7 (pick__number INTEGER, position VARCHAR)
SELECT fcc_info FROM table_name_64 WHERE frequency_mhz < 96.3 AND call_sign = "w214ba"
What is the FCC info of the w214ba call sign with a frequency below 96.3?
CREATE TABLE table_name_64 (fcc_info VARCHAR, frequency_mhz VARCHAR, call_sign VARCHAR)
SELECT location_attendance FROM table_name_13 WHERE date = "may 22"
What was the location and attendance on the May 22 game?
CREATE TABLE table_name_13 (location_attendance VARCHAR, date VARCHAR)
SELECT background_colour FROM table_name_25 WHERE border = "white" AND type_of_sign = "information"
What is the color of the background of the white border and sign of information?
CREATE TABLE table_name_25 (background_colour VARCHAR, border VARCHAR, type_of_sign VARCHAR)
SELECT manufacturer FROM table_name_73 WHERE time_retired = "accident"
Which Manufacturer has a Time/Retired of accident?
CREATE TABLE table_name_73 (manufacturer VARCHAR, time_retired VARCHAR)
SELECT title FROM table_name_27 WHERE broadcaster = "sky one" AND year = "2005"
What was the title for Sky One in 2005?
CREATE TABLE table_name_27 (title VARCHAR, broadcaster VARCHAR, year VARCHAR)
SELECT MIN(score) FROM table_name_77 WHERE country = "canada"
What is the lowest Score when the Country is canada?
CREATE TABLE table_name_77 (score INTEGER, country VARCHAR)
SELECT visitor FROM table_name_76 WHERE home = "ny rangers"
Who were the visitors when the home team were the ny rangers?
CREATE TABLE table_name_76 (visitor VARCHAR, home VARCHAR)
SELECT position FROM table_name_92 WHERE birthdate = "august 17, 1980"
What is the Position with a Birthdate that is august 17, 1980?
CREATE TABLE table_name_92 (position VARCHAR, birthdate VARCHAR)
SELECT transfer_fee FROM table_name_60 WHERE since = "2006" AND goals < 63 AND nat = "mli"
What is the transfer fee for the MLI player with fewer than 63 goals in a year more recent than 2006?
CREATE TABLE table_name_60 (transfer_fee VARCHAR, nat VARCHAR, since VARCHAR, goals VARCHAR)
SELECT SUM(rank) FROM table_name_7 WHERE period = "1973–89" AND games < 423
What is the rank for the period of 1973–89, with less than 423 games.
CREATE TABLE table_name_7 (rank INTEGER, period VARCHAR, games VARCHAR)
SELECT COUNT(no_in_series) FROM table_27462177_1 WHERE written_by = "Eve Weston"
How many episodes did Eve Weston write?
CREATE TABLE table_27462177_1 (no_in_series VARCHAR, written_by VARCHAR)
SELECT location FROM table_name_23 WHERE loser = "indianapolis colts" AND result = "24-14"
Where was the game that the Indianapolis Colts lost 24-14?
CREATE TABLE table_name_23 (location VARCHAR, loser VARCHAR, result VARCHAR)
SELECT gdp_in_$id_b FROM table_name_42 WHERE city = "istanbul"
What is the GDP $IDB in Istanbul?
CREATE TABLE table_name_42 (gdp_in_$id_b VARCHAR, city VARCHAR)
SELECT MIN(apps) FROM table_name_33 WHERE rank = 3 AND win__percentage < 0
What is the lowest apps for rank 3 and 0% wins?
CREATE TABLE table_name_33 (apps INTEGER, rank VARCHAR, win__percentage VARCHAR)
SELECT institution FROM table_1973648_1 WHERE founded = 1950
Name the school that was founded in 1950
CREATE TABLE table_1973648_1 (institution VARCHAR, founded VARCHAR)
SELECT MAX(Final_Table_Made) FROM poker_player WHERE Earnings < 200000
What is the maximum number of final tables made among poker players with earnings less than 200000?
CREATE TABLE poker_player (Final_Table_Made INTEGER, Earnings INTEGER)
SELECT date FROM table_name_7 WHERE away_team = "barnet"
What is Date, when Away Team is "Barnet"?
CREATE TABLE table_name_7 (date VARCHAR, away_team VARCHAR)
SELECT fcc_info FROM table_name_35 WHERE erp_w < 222 AND call_sign = "k297ai"
Which FCC info has a ERP W smaller than 222, and a Call sign of k297ai?
CREATE TABLE table_name_35 (fcc_info VARCHAR, erp_w VARCHAR, call_sign VARCHAR)
SELECT date_of_enrolment, date_of_completion FROM Student_Course_Enrolment
List all the dates of enrollment and completion of students.
CREATE TABLE Student_Course_Enrolment (date_of_enrolment VARCHAR, date_of_completion VARCHAR)
SELECT MIN(lane) FROM table_name_17 WHERE country = "nigeria" AND react < 0.133
What is the lowest lane for Nigeria, with a react less than 0.133?
CREATE TABLE table_name_17 (lane INTEGER, country VARCHAR, react VARCHAR)
SELECT grid FROM table_name_83 WHERE driver = "kimi räikkönen"
What is Driver Kimi Räikkönen's number on the grid?
CREATE TABLE table_name_83 (grid VARCHAR, driver VARCHAR)
SELECT session FROM table_name_96 WHERE discipline = "open wheel"
Which session had a discipline of open wheel?
CREATE TABLE table_name_96 (session VARCHAR, discipline VARCHAR)
SELECT SUM(laps) FROM table_name_21 WHERE team = "mi-jack conquest racing" AND time_retired = "off course"
How many laps for mi-jack conquest racing when they went off course?
CREATE TABLE table_name_21 (laps INTEGER, team VARCHAR, time_retired VARCHAR)
SELECT tie_no FROM table_name_97 WHERE away_team = "walsall"
How many ties does Walsall have?
CREATE TABLE table_name_97 (tie_no VARCHAR, away_team VARCHAR)
SELECT country FROM table_26454128_4 WHERE athlete = "Paavo Yrjölä"
What is the country of Paavo Yrjölä?
CREATE TABLE table_26454128_4 (country VARCHAR, athlete VARCHAR)
SELECT country FROM table_name_99 WHERE place = "t3" AND score = 71 - 76 - 71 = 218
What is the Country with the T3 Place Player with a Score of 71-76-71=218?
CREATE TABLE table_name_99 (country VARCHAR, place VARCHAR, score VARCHAR)
SELECT song_title FROM table_22457674_1 WHERE artist = "Europe"
Name the song title for europe
CREATE TABLE table_22457674_1 (song_title VARCHAR, artist VARCHAR)
SELECT opponent FROM table_name_96 WHERE result = "w 33-31"
Tell me opponent for result of w 33-31
CREATE TABLE table_name_96 (opponent VARCHAR, result VARCHAR)
SELECT player FROM table_name_3 WHERE score = 68 - 70 - 68 - 66 = 272
Which golfer had a score of 68-70-68-66=272?
CREATE TABLE table_name_3 (player VARCHAR, score VARCHAR)
SELECT finish FROM table_name_76 WHERE start = "28"
Name the finish for start of 28
CREATE TABLE table_name_76 (finish VARCHAR, start VARCHAR)
SELECT T1.cost_of_treatment, T2.treatment_type_description FROM Treatments AS T1 JOIN treatment_types AS T2 ON T1.treatment_type_code = T2.treatment_type_code
List the cost of each treatment and the corresponding treatment type description.
CREATE TABLE Treatments (cost_of_treatment VARCHAR, treatment_type_code VARCHAR); CREATE TABLE treatment_types (treatment_type_description VARCHAR, treatment_type_code VARCHAR)
SELECT podiums FROM table_name_62 WHERE wins = "2" AND season = 2008
What is the value for Podiums when the value for Wins is 2, and when the Season is 2008?
CREATE TABLE table_name_62 (podiums VARCHAR, wins VARCHAR, season VARCHAR)
SELECT english_meaning FROM table_name_40 WHERE case_suffix__case_ = "-sa (dative)"
What is English Meaning, when Case Suffix (Case) is "-sa (dative)"?
CREATE TABLE table_name_40 (english_meaning VARCHAR, case_suffix__case_ VARCHAR)
SELECT career FROM table_18914438_1 WHERE matches = 60
What was the career duration of the bowler who played 60 matches?
CREATE TABLE table_18914438_1 (career VARCHAR, matches VARCHAR)
SELECT alignment_alignment AS :_predicts_an_alignment_, _ FROM table_name_27 WHERE link = "linuxbinary"
What is the alignment that predicts an alignment of the linuxbinary link?
CREATE TABLE table_name_27 (_ VARCHAR, alignment_alignment VARCHAR, link VARCHAR)
SELECT examples FROM table_17798093_20 WHERE australian = "et"
which examples are pronounced et in australian
CREATE TABLE table_17798093_20 (examples VARCHAR, australian VARCHAR)
SELECT date FROM table_name_33 WHERE competition = "1936 summer olympics" AND score = "6-1"
In the 1936 summer Olympics what was the date of a match that ended with a score of 6-1?
CREATE TABLE table_name_33 (date VARCHAR, competition VARCHAR, score VARCHAR)
SELECT position FROM table_10812938_4 WHERE cfl_team = "Hamilton Tiger-Cats (via Ottawa)"
What Position did the Hamilton Tiger-Cats (via Ottawa) pick in the 2006 Draft.
CREATE TABLE table_10812938_4 (position VARCHAR, cfl_team VARCHAR)
SELECT original_artist FROM table_28715942_6 WHERE track = "Use Somebody"
Who is the original artist of "Use Somebody"?
CREATE TABLE table_28715942_6 (original_artist VARCHAR, track VARCHAR)
SELECT format FROM table_name_33 WHERE label = "eagle eye media" AND catalogue_number_s_ = "—" AND country = "united states"
Which Format has a Label of eagle eye media, a Catalogue number(s) of —, and a Country of united states?
CREATE TABLE table_name_33 (format VARCHAR, country VARCHAR, label VARCHAR, catalogue_number_s_ VARCHAR)
SELECT MAX(gold) FROM table_name_68 WHERE silver < 1 AND rank = 12 AND total < 3
What is the gold when silver is less than 1, rank is 12, and total is less than 3?
CREATE TABLE table_name_68 (gold INTEGER, total VARCHAR, silver VARCHAR, rank VARCHAR)
SELECT score FROM table_name_44 WHERE player = "mark o'meara"
What is Mark O'Meara's Score?
CREATE TABLE table_name_44 (score VARCHAR, player VARCHAR)
SELECT COUNT(attendance) FROM table_name_85 WHERE date = "june 18"
How many people attended the game on June 18?
CREATE TABLE table_name_85 (attendance VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_34 WHERE points < 62 AND january < 6
what opponent has an average less than 62 and a January average less than 6
CREATE TABLE table_name_34 (opponent VARCHAR, points VARCHAR, january VARCHAR)
SELECT Price FROM WINE WHERE YEAR < 2010
What are the prices of wines produced before the year of 2010?
CREATE TABLE WINE (Price VARCHAR, YEAR INTEGER)
SELECT home_team FROM table_name_28 WHERE away_team = "richmond"
What home team has an Away team of richmond?
CREATE TABLE table_name_28 (home_team VARCHAR, away_team VARCHAR)
SELECT school_name FROM school ORDER BY school_name
Show all school names in alphabetical order.
CREATE TABLE school (school_name VARCHAR)
SELECT position FROM table_12962773_10 WHERE height = "2.12"
What position was played by the player who was 2.12 meters tall?
CREATE TABLE table_12962773_10 (position VARCHAR, height VARCHAR)
SELECT australian_role FROM table_10121127_1 WHERE un_operation_name = "UNAMA"
What is Australia's role in the UN operation Unama?
CREATE TABLE table_10121127_1 (australian_role VARCHAR, un_operation_name VARCHAR)
SELECT margin_of_victory FROM table_name_78 WHERE tournament = "german masters"
What was the margin of victory for Olazabal in the German Masters?
CREATE TABLE table_name_78 (margin_of_victory VARCHAR, tournament VARCHAR)
SELECT against FROM table_name_55 WHERE venue = "twickenham , london" AND date = "04/03/2000"
What is Against, when Venue is "Twickenham , London", and when Date is "04/03/2000"?
CREATE TABLE table_name_55 (against VARCHAR, venue VARCHAR, date VARCHAR)
SELECT away_team AS score FROM table_name_15 WHERE venue = "brunswick street oval"
What was the away team score for the game played at the Brunswick Street Oval?
CREATE TABLE table_name_15 (away_team VARCHAR, venue VARCHAR)
SELECT COUNT(pop_density_people_km_2) FROM table_1606824_1 WHERE population__percentage_of_eu = "1.7%"
Name the population density people where population % eu for 1.7%
CREATE TABLE table_1606824_1 (pop_density_people_km_2 VARCHAR, population__percentage_of_eu VARCHAR)
SELECT record FROM table_name_68 WHERE high_rebounds = "tyson chandler (6)"
What is Record, when High Rebounds is "Tyson Chandler (6)"?
CREATE TABLE table_name_68 (record VARCHAR, high_rebounds VARCHAR)
SELECT no_range FROM table_name_36 WHERE type = "4vip"
Tell me the number range for 4vip
CREATE TABLE table_name_36 (no_range VARCHAR, type VARCHAR)
SELECT kickoff FROM table_name_12 WHERE game_site = "fawcett stadium"
Which Kickoff had a Game Site of fawcett stadium?
CREATE TABLE table_name_12 (kickoff VARCHAR, game_site VARCHAR)
SELECT date FROM table_name_43 WHERE record = "21-11"
What date was the record 21-11?
CREATE TABLE table_name_43 (date VARCHAR, record VARCHAR)
SELECT 2012 FROM table_name_83 WHERE 2008 = "q3" AND tournament = "wimbledon"
What's the 2012 during Wimbledon and had a Q3 in 2008?
CREATE TABLE table_name_83 (tournament VARCHAR)
SELECT away_team AS score FROM table_name_93 WHERE home_team = "hawthorn"
What is the away side score when hawthorn is the home side?
CREATE TABLE table_name_93 (away_team VARCHAR, home_team VARCHAR)
SELECT freq_currently FROM table_name_67 WHERE frequency = "104.7"
What is the current freq for Frequency of 104.7?
CREATE TABLE table_name_67 (freq_currently VARCHAR, frequency VARCHAR)
SELECT home_team FROM table_name_87 WHERE venue = "princes park"
What is the home team for the Princes Park venue?
CREATE TABLE table_name_87 (home_team VARCHAR, venue VARCHAR)
SELECT residence FROM table_name_60 WHERE name = "rich gordon"
Show the Residence whose Name is rich gordon?
CREATE TABLE table_name_60 (residence VARCHAR, name VARCHAR)
SELECT population_in_1000__1931_ FROM table_11654169_1 WHERE car_plates__since_1937_ = "30-34"
List population when their car plates are 30-34.
CREATE TABLE table_11654169_1 (population_in_1000__1931_ VARCHAR, car_plates__since_1937_ VARCHAR)
SELECT date FROM table_name_47 WHERE location = "comiskey park" AND inning = "4th"
What date was the game at Comiskey Park and had a 4th Inning?
CREATE TABLE table_name_47 (date VARCHAR, location VARCHAR, inning VARCHAR)
SELECT COUNT(wins) FROM table_name_96 WHERE ballarat_fl = "darley" AND against > 1055
What is the total number of wins for Darley of Ballarat FL against larger than 1055?
CREATE TABLE table_name_96 (wins VARCHAR, ballarat_fl VARCHAR, against VARCHAR)
SELECT attendance FROM table_name_24 WHERE loss = "drese (0-2)"
which attendance has a Loss of drese (0-2)?
CREATE TABLE table_name_24 (attendance VARCHAR, loss VARCHAR)
SELECT COUNT(rank__timeslot_) FROM table_20971444_3 WHERE rating__18_49_ = "3.1"
Name the total number of rank timeslot for 18-49 being 3.1
CREATE TABLE table_20971444_3 (rank__timeslot_ VARCHAR, rating__18_49_ VARCHAR)
SELECT MIN(population) FROM table_176524_2 WHERE area_km_2 = "750.51"
What is the minimum population of the parish with a 750.51 km area?
CREATE TABLE table_176524_2 (population INTEGER, area_km_2 VARCHAR)
SELECT special_notes FROM table_name_91 WHERE issue_price < 24.95 AND theme = "edmonton oilers"
What are the special notes for an issue price under 24.95 with an edmonton oilers theme?
CREATE TABLE table_name_91 (special_notes VARCHAR, issue_price VARCHAR, theme VARCHAR)
SELECT position FROM table_name_59 WHERE school_club_team = "michigan state"
What is Michigan State's position?
CREATE TABLE table_name_59 (position VARCHAR, school_club_team VARCHAR)
SELECT pat_robertson FROM table_name_64 WHERE george_hw_bush = "76%"
At what percent was Pat Robertson when George H.W. Bush had 76%?
CREATE TABLE table_name_64 (pat_robertson VARCHAR, george_hw_bush VARCHAR)
SELECT score FROM table_name_75 WHERE date = "june 9"
What is the score of the game on June 9?
CREATE TABLE table_name_75 (score VARCHAR, date VARCHAR)
SELECT COUNT(score) FROM table_23308178_9 WHERE date = "March 6"
How many scores had a date of March 6?
CREATE TABLE table_23308178_9 (score VARCHAR, date VARCHAR)
SELECT guest_3 FROM table_20466963_13 WHERE guest_2 = "Iyare Igiehon"
Name the guest 3 for iyare igiehon
CREATE TABLE table_20466963_13 (guest_3 VARCHAR, guest_2 VARCHAR)
SELECT tournament_winner FROM table_24248450_3 WHERE regular_season_winner = "UNC Wilmington"
Who was the Tournament Winner when UNC Wilmington won the regular season?
CREATE TABLE table_24248450_3 (tournament_winner VARCHAR, regular_season_winner VARCHAR)
SELECT country FROM table_name_94 WHERE player = "david toms"
what country hosted david toms
CREATE TABLE table_name_94 (country VARCHAR, player VARCHAR)
SELECT MIN(rnd) FROM table_16732659_2 WHERE date = "June 11"
ON JUNE 11, WHAT WAS THE NUMBER OF RNDS ?
CREATE TABLE table_16732659_2 (rnd INTEGER, date VARCHAR)
SELECT developer FROM table_name_71 WHERE title = "vigilance"
Who was the developer for Vigilance?
CREATE TABLE table_name_71 (developer VARCHAR, title VARCHAR)
SELECT location FROM table_name_54 WHERE classification = "ncaa division ii" AND institution = "franklin pierce university"
Where is NCAA division ii Franklin Pierce University located at?
CREATE TABLE table_name_54 (location VARCHAR, classification VARCHAR, institution VARCHAR)
SELECT height__cm_ FROM table_20754016_2 WHERE country = "Guatemala"
How tall is the contestant from Guatemala?
CREATE TABLE table_20754016_2 (height__cm_ VARCHAR, country VARCHAR)
SELECT MAX(draw) FROM table_name_25 WHERE televoting < 2
Televoting smaller than 2 had what highest draw?
CREATE TABLE table_name_25 (draw INTEGER, televoting INTEGER)
SELECT s_default_argument FROM table_name_37 WHERE pseudorandom_number_generation = "no" AND eval_function = "no"
What is the s default argument without a pseudorandom number generation and no eval function?
CREATE TABLE table_name_37 (s_default_argument VARCHAR, pseudorandom_number_generation VARCHAR, eval_function VARCHAR)
SELECT to_par FROM table_name_59 WHERE country = "united states" AND player = "notah begay iii"
What is the to par of player notah begay iii from the United States?
CREATE TABLE table_name_59 (to_par VARCHAR, country VARCHAR, player VARCHAR)
SELECT control FROM table_name_70 WHERE conservative_party = "10 (+5)"
What was the control for the year with a Conservative Party result of 10 (+5)?
CREATE TABLE table_name_70 (control VARCHAR, conservative_party VARCHAR)
SELECT winnings FROM table_1708014_1 WHERE poles = 0 AND position = "14th"
When the poles are 0 and the position is 14th, how much are the winnings?
CREATE TABLE table_1708014_1 (winnings VARCHAR, poles VARCHAR, position VARCHAR)
SELECT score FROM table_name_26 WHERE date = "july 25"
What score was on July 25?
CREATE TABLE table_name_26 (score VARCHAR, date VARCHAR)
SELECT year FROM table_name_9 WHERE score = "8-5"
What year saw a score of 8-5?
CREATE TABLE table_name_9 (year VARCHAR, score VARCHAR)
SELECT location FROM table_name_79 WHERE opponent = "siarhei navarka"
What is the location of the opponent Siarhei Navarka?
CREATE TABLE table_name_79 (location VARCHAR, opponent VARCHAR)
SELECT attendance FROM table_name_43 WHERE tie_no = 9
Which attendance has 9 as the tie no.?
CREATE TABLE table_name_43 (attendance VARCHAR, tie_no VARCHAR)
SELECT MAX(total_pts) FROM table_22011138_7 WHERE avg = "1.2803"
If the average is 1.2803, what is the total points maximum?
CREATE TABLE table_22011138_7 (total_pts INTEGER, avg VARCHAR)
SELECT rainfall_totals__million_m_3__ FROM table_26609958_1 WHERE hydrographic_basin = "Martha Brae, River"
When martha brae, river is the hydrographic basin what is the rainfall totals (million m 3)?
CREATE TABLE table_26609958_1 (rainfall_totals__million_m_3__ VARCHAR, hydrographic_basin VARCHAR)
SELECT MAX(year) FROM table_name_65 WHERE role = "joan gordon, aka francine la rue"
What is the latest year for the role of joan gordon, aka francine la rue?
CREATE TABLE table_name_65 (year INTEGER, role VARCHAR)
SELECT conductor FROM table_24521345_1 WHERE record_label = "Multisonic"
Who is the conductor on the Multisonic label?
CREATE TABLE table_24521345_1 (conductor VARCHAR, record_label VARCHAR)
SELECT MIN(die_size__mm_2__) FROM table_26040604_1 WHERE sm_count = 2
What is the minimum die size for an SM count of exactly 2?
CREATE TABLE table_26040604_1 (die_size__mm_2__ INTEGER, sm_count VARCHAR)
SELECT COUNT(written_by) FROM table_17624965_1 WHERE directed_by = "Alison Maclean"
How many episodes did Alison Maclean direct?
CREATE TABLE table_17624965_1 (written_by VARCHAR, directed_by VARCHAR)