text
stringlengths 293
1.24k
|
---|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_26 (rank VARCHAR, year VARCHAR)
### Question:
What is the rank in 1940?
### Answer:
SELECT rank FROM table_name_26 WHERE year = "1940" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_62 (tracking_method VARCHAR, supported_databases VARCHAR, name VARCHAR)
### Question:
Which tracking method supports MySQL databases and is named Open Web Analytics?
### Answer:
SELECT tracking_method FROM table_name_62 WHERE supported_databases = "mysql" AND name = "open web analytics" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_24 (average INTEGER, swimsuit INTEGER)
### Question:
What is the average where the swimsuit is larger than 9.437?
### Answer:
SELECT MAX(average) FROM table_name_24 WHERE swimsuit > 9.437 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_3 (state VARCHAR, electorate VARCHAR)
### Question:
What state shows for Cunningham?
### Answer:
SELECT state FROM table_name_3 WHERE electorate = "cunningham" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23293785_2 (race_1_pts_ VARCHAR, race_total_pts_ VARCHAR)
### Question:
What is every points value for race 1 if the total race points is 180?
### Answer:
SELECT race_1_pts_ FROM table_23293785_2 WHERE race_total_pts_ = 180 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2781227_2 (position VARCHAR, player VARCHAR)
### Question:
How many positions does Janne Niinimaa play?
### Answer:
SELECT COUNT(position) FROM table_2781227_2 WHERE player = "Janne Niinimaa" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1597866_3 (host VARCHAR, first_premiere VARCHAR)
### Question:
Name the host when first premiere is august 3, 2007
### Answer:
SELECT host FROM table_1597866_3 WHERE first_premiere = "August 3, 2007" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE employees (department_id VARCHAR); CREATE TABLE departments (department_id VARCHAR)
### Question:
display the department name and number of employees in each of the department.
### Answer:
SELECT department_name, COUNT(*) FROM employees AS T1 JOIN departments AS T2 ON T1.department_id = T2.department_id GROUP BY department_name |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_299271_2 (attendance VARCHAR, competition VARCHAR)
### Question:
How many people attended the uefa champions league competition?
### Answer:
SELECT attendance FROM table_299271_2 WHERE competition = "UEFA Champions League" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_82 (record VARCHAR, date VARCHAR)
### Question:
On December 25, what was the record?
### Answer:
SELECT record FROM table_name_82 WHERE date = "december 25" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_19 (winning_score VARCHAR, margin_of_victory VARCHAR, date VARCHAR)
### Question:
Which Winning score has a Margin of victory of 1 stroke, and a Date of 21 jun 1981?
### Answer:
SELECT winning_score FROM table_name_19 WHERE margin_of_victory = "1 stroke" AND date = "21 jun 1981" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_44 (balls VARCHAR, runs VARCHAR)
### Question:
Can you tell me the total number of 100s that has the Balls larger than 325, and the Runs smaller than 572?
### Answer:
SELECT COUNT(100 AS s) FROM table_name_44 WHERE balls > 325 AND runs < 572 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27832075_2 (title VARCHAR, episode__number VARCHAR)
### Question:
What is the title of episode number 9-10?
### Answer:
SELECT title FROM table_27832075_2 WHERE episode__number = "9-10" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_52 (third VARCHAR, events VARCHAR, skip VARCHAR, second VARCHAR)
### Question:
IN EVENTS 1995 STOH, WHO WAS THE THIRD WITH SKIP SANDRA PETERSON AND SECOND JOAN MCCUSKER?
### Answer:
SELECT third FROM table_name_52 WHERE skip = "sandra peterson" AND second = "joan mccusker" AND events = "1995 stoh" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_47 (to_par VARCHAR, place VARCHAR, score VARCHAR)
### Question:
How much To par has a Place of t1, and a Score of 70-70-71-71=282?
### Answer:
SELECT COUNT(to_par) FROM table_name_47 WHERE place = "t1" AND score = 70 - 70 - 71 - 71 = 282 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11075747_3 (directed_by VARCHAR, written_by VARCHAR)
### Question:
Who directed the second episode of "The Homecoming" which was written by Tommy Thompson?
### Answer:
SELECT directed_by FROM table_11075747_3 WHERE written_by = "Tommy Thompson" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_50 (finish VARCHAR, manager VARCHAR, record VARCHAR)
### Question:
what is the finish when the manager is tom kotchman and the record is 40-36?
### Answer:
SELECT finish FROM table_name_50 WHERE manager = "tom kotchman" AND record = "40-36" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_13681_2 (country VARCHAR, currency_name VARCHAR)
### Question:
how many country with currency name being republika srpska dinar
### Answer:
SELECT COUNT(country) FROM table_13681_2 WHERE currency_name = "Republika Srpska dinar" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_10 (record VARCHAR, opponent VARCHAR, date VARCHAR)
### Question:
Which Record has an Opponent of twins, and a Date of july 25?
### Answer:
SELECT record FROM table_name_10 WHERE opponent = "twins" AND date = "july 25" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_60 (code__iata_ VARCHAR)
### Question:
What 2003 rank does the airport IATA code SIN have?
### Answer:
SELECT 2003 AS rank FROM table_name_60 WHERE code__iata_ = "sin" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_12142298_2 (shortstop VARCHAR, starting_pitcher VARCHAR, second_baseman VARCHAR, centerfielder VARCHAR)
### Question:
Who was the SS when jim lefebvre was at 2nd, willie davis at CF, and don drysdale was the SP.
### Answer:
SELECT shortstop FROM table_12142298_2 WHERE second_baseman = "Jim Lefebvre" AND centerfielder = "Willie Davis" AND starting_pitcher = "Don Drysdale" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_90 (wins VARCHAR, club VARCHAR, draws VARCHAR)
### Question:
How many wins did Cobden have when draws were more than 0?
### Answer:
SELECT COUNT(wins) FROM table_name_90 WHERE club = "cobden" AND draws > 0 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_44 (record VARCHAR, date VARCHAR)
### Question:
What was the record after the January 6 game?
### Answer:
SELECT record FROM table_name_44 WHERE date = "january 6" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_12261926_2 (trofeo_fast_team VARCHAR, stage VARCHAR)
### Question:
What is the trofeo fast team on stage 8?
### Answer:
SELECT trofeo_fast_team FROM table_12261926_2 WHERE stage = 8 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_13606924_1 (kerry__number VARCHAR, county VARCHAR)
### Question:
what's the kerry # with county being ness county, kansas
### Answer:
SELECT kerry__number FROM table_13606924_1 WHERE county = "Ness county, Kansas" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE basketball_match (school_id VARCHAR, acc_percent VARCHAR); CREATE TABLE university (Primary_conference VARCHAR, school_id VARCHAR)
### Question:
What is the primary conference of the school that has the lowest acc percent score in the competition?
### Answer:
SELECT t1.Primary_conference FROM university AS t1 JOIN basketball_match AS t2 ON t1.school_id = t2.school_id ORDER BY t2.acc_percent LIMIT 1 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_30 (loses INTEGER, draws VARCHAR, goals_scored VARCHAR, goals_conceded VARCHAR)
### Question:
What is the lowest number of loses of the club with more than 42 goals scored, more than 20 goals conceded, and less than 3 draws?
### Answer:
SELECT MIN(loses) FROM table_name_30 WHERE goals_scored > 42 AND goals_conceded > 20 AND draws < 3 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_44 (voltage__kv_ VARCHAR, supply_point VARCHAR, country VARCHAR, power__mw_ VARCHAR)
### Question:
How much Voltage (kV) has a Country of argentina, and a Power (MW) larger than 30, and a Supply point of yacyretá?
### Answer:
SELECT COUNT(voltage__kv_) FROM table_name_44 WHERE country = "argentina" AND power__mw_ > 30 AND supply_point = "yacyretá" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_53 (home_team VARCHAR)
### Question:
What did St Kilda score when they were the home team?
### Answer:
SELECT home_team AS score FROM table_name_53 WHERE home_team = "st kilda" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_50 (super_g VARCHAR, overall VARCHAR)
### Question:
Which Super Ghas a missed season due to injury?
### Answer:
SELECT super_g FROM table_name_50 WHERE overall = "missed season due to injury" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2259285_1 (standing VARCHAR, goals_against VARCHAR)
### Question:
What was the standing when goal against were 279?
### Answer:
SELECT standing FROM table_2259285_1 WHERE goals_against = 279 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_20 (extra_points INTEGER, points VARCHAR, field_goals VARCHAR)
### Question:
What is the highest amount of extra points someone got when they scored 28 points but had 0 field goals?
### Answer:
SELECT MAX(extra_points) FROM table_name_20 WHERE points = 28 AND field_goals < 0 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_80 (silver INTEGER, rank VARCHAR, total VARCHAR)
### Question:
Which Silver has a Rank of 1, and a Total smaller than 11?
### Answer:
SELECT SUM(silver) FROM table_name_80 WHERE rank = "1" AND total < 11 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_59 (city VARCHAR, state VARCHAR, school VARCHAR)
### Question:
Which City has a State of massachusetts, and a School of northeastern university?
### Answer:
SELECT city FROM table_name_59 WHERE state = "massachusetts" AND school = "northeastern university" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_50 (frequency VARCHAR, power__kw_ VARCHAR, call_sign VARCHAR)
### Question:
What's the frequency of the call sign DYFR with 10KW of power?
### Answer:
SELECT frequency FROM table_name_50 WHERE power__kw_ = "10kw" AND call_sign = "dyfr" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26919_6 (tigrinya VARCHAR, arabic VARCHAR)
### Question:
Name the tigrinya for χams-
### Answer:
SELECT COUNT(tigrinya) FROM table_26919_6 WHERE arabic = "χams-" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_8 (result VARCHAR, incumbent VARCHAR)
### Question:
When David E. Finley was the incumbent what was the result?
### Answer:
SELECT result FROM table_name_8 WHERE incumbent = "david e. finley" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1973648_1 (enrollment VARCHAR, joined VARCHAR)
### Question:
Name the enrollment for 2007-08
### Answer:
SELECT enrollment FROM table_1973648_1 WHERE joined = "2007-08" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_35 (attendance VARCHAR, opponent VARCHAR, date VARCHAR)
### Question:
What is the attendance of the match on the 2nd with the slough jets as the opponent?
### Answer:
SELECT attendance FROM table_name_35 WHERE opponent = "slough jets" AND date = "2nd" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_24 (city VARCHAR, state_territory VARCHAR, icao VARCHAR)
### Question:
Which city has tasmania as the state/territory and a ICAO of ymhb?
### Answer:
SELECT city FROM table_name_24 WHERE state_territory = "tasmania" AND icao = "ymhb" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_93 (bronze VARCHAR, gold VARCHAR, nation VARCHAR)
### Question:
What is the total number of Bronze when gold is more than 1 and nation is total?
### Answer:
SELECT COUNT(bronze) FROM table_name_93 WHERE gold > 1 AND nation = "total" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22344463_2 (date_of_birth VARCHAR, height VARCHAR, home_team VARCHAR)
### Question:
If the height is 185cm and the home team is Heaton Mersey, what is the date of birth?
### Answer:
SELECT date_of_birth FROM table_22344463_2 WHERE height = "185cm" AND home_team = "Heaton Mersey" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_71 (date_of_birth VARCHAR, player VARCHAR)
### Question:
When was roshan mahanama born?
### Answer:
SELECT date_of_birth FROM table_name_71 WHERE player = "roshan mahanama" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_38 (country VARCHAR, score VARCHAR)
### Question:
What was the nationality of the player with a score of 72-72-67=211?
### Answer:
SELECT country FROM table_name_38 WHERE score = 72 - 72 - 67 = 211 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_73 (type VARCHAR, name VARCHAR)
### Question:
What Type of museum is the Valdez museum?
### Answer:
SELECT type FROM table_name_73 WHERE name = "valdez museum" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2140071_10 (coach VARCHAR, premier_date VARCHAR)
### Question:
Name the coach for may 20, 2010
### Answer:
SELECT coach FROM table_2140071_10 WHERE premier_date = "May 20, 2010" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_81 (legs VARCHAR, venue VARCHAR, runner_up__average_in_final_ VARCHAR)
### Question:
What is the legs when the venue is rwe-sporthalle, mülheim and the runner-up (average in final) is simon whitlock (99.59)?
### Answer:
SELECT legs FROM table_name_81 WHERE venue = "rwe-sporthalle, mülheim" AND runner_up__average_in_final_ = "simon whitlock (99.59)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_37 (loss VARCHAR, record VARCHAR)
### Question:
Which loss has a Record of 67-51?
### Answer:
SELECT loss FROM table_name_37 WHERE record = "67-51" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_99 (average INTEGER, interview VARCHAR, swimsuit VARCHAR)
### Question:
Name the sum of average for interview more than 9.57 and swimsuit more than 9.65
### Answer:
SELECT SUM(average) FROM table_name_99 WHERE interview > 9.57 AND swimsuit > 9.65 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Rooms (roomName VARCHAR, decor VARCHAR, bedtype VARCHAR, basePrice VARCHAR)
### Question:
List the names and decor of rooms that have a king bed. Sort the list by their price.
### Answer:
SELECT roomName, decor FROM Rooms WHERE bedtype = 'King' ORDER BY basePrice |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_24 (entrant VARCHAR, year VARCHAR)
### Question:
What entrant appeared in 1969?
### Answer:
SELECT entrant FROM table_name_24 WHERE year = 1969 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_66 (round INTEGER, name VARCHAR, pick VARCHAR)
### Question:
Average round for rodney harrison p before 145?
### Answer:
SELECT AVG(round) FROM table_name_66 WHERE name = "rodney harrison p" AND pick < 145 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_49 (report VARCHAR, score VARCHAR, away_team VARCHAR)
### Question:
What report has a score of 0-0 with Sydney FC?
### Answer:
SELECT report FROM table_name_49 WHERE score = "0-0" AND away_team = "sydney fc" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_88 (nationality VARCHAR, player VARCHAR)
### Question:
What nationality is Steven Anthony?
### Answer:
SELECT nationality FROM table_name_88 WHERE player = "steven anthony" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1939405_2 (_percentage_2001 VARCHAR, _percentage_2011 VARCHAR)
### Question:
What are the percentages in 2001 in all the provinces where the percentage in 2011 is 0.2%?
### Answer:
SELECT _percentage_2001 FROM table_1939405_2 WHERE _percentage_2011 = "0.2%" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_46 (example VARCHAR, environment VARCHAR)
### Question:
Name the example when the environment is #_x
### Answer:
SELECT example FROM table_name_46 WHERE environment = "#_x" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_30 (venue VARCHAR, result VARCHAR, extra VARCHAR)
### Question:
what is the venue when the result is 2nd and extra is 4 x 100 m relay?
### Answer:
SELECT venue FROM table_name_30 WHERE result = "2nd" AND extra = "4 x 100 m relay" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Visits_Restaurant (Id VARCHAR); CREATE TABLE Restaurant (Id VARCHAR)
### Question:
At which restaurant did the students spend the least amount of time? List restaurant and the time students spent on in total.
### Answer:
SELECT Restaurant.ResName, SUM(Visits_Restaurant.Spent) FROM Visits_Restaurant JOIN Restaurant ON Visits_Restaurant.ResID = Restaurant.ResID GROUP BY Restaurant.ResID ORDER BY SUM(Visits_Restaurant.Spent) LIMIT 1 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_24 (drawn INTEGER, position VARCHAR, lost VARCHAR)
### Question:
Which Drawn has a Position of 2, and a Lost larger than 2?
### Answer:
SELECT MIN(drawn) FROM table_name_24 WHERE position = 2 AND lost > 2 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_32 (album VARCHAR, year VARCHAR, country VARCHAR)
### Question:
Which Album had a bigger year than 2005 and whose country was Australia?
### Answer:
SELECT album FROM table_name_32 WHERE year > 2005 AND country = "australia" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_71 (circuit VARCHAR, series VARCHAR)
### Question:
Which circuit was the atcc round 7 at?
### Answer:
SELECT circuit FROM table_name_71 WHERE series = "atcc round 7" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2101431_1 (viewers__in_millions_ VARCHAR, run_time VARCHAR)
### Question:
How many millions viewers watched the episode that ran 23:25?
### Answer:
SELECT viewers__in_millions_ FROM table_2101431_1 WHERE run_time = "23:25" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_20 (status VARCHAR, against INTEGER)
### Question:
What is the status of the game where there was more than 22 against?
### Answer:
SELECT status FROM table_name_20 WHERE against > 22 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11238597_4 (share VARCHAR, air_date VARCHAR)
### Question:
What was the share for the episode with the air date december 10, 2008?
### Answer:
SELECT share FROM table_11238597_4 WHERE air_date = "December 10, 2008" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_71 (grid VARCHAR, driver VARCHAR)
### Question:
How many grids for peter collins?
### Answer:
SELECT COUNT(grid) FROM table_name_71 WHERE driver = "peter collins" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23887174_1 (center VARCHAR, province__ashkharh_ VARCHAR)
### Question:
What's the center of the Artsakh province?
### Answer:
SELECT center FROM table_23887174_1 WHERE province__ashkharh_ = "Artsakh" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_80 (location VARCHAR, circumstances VARCHAR, date VARCHAR)
### Question:
Where was the combat of 2009-09-16?
### Answer:
SELECT location FROM table_name_80 WHERE circumstances = "combat" AND date = "2009-09-16" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_23 (to_par VARCHAR, score VARCHAR)
### Question:
Who has the par score of 70-76-68-214?
### Answer:
SELECT to_par FROM table_name_23 WHERE score = "70-76-68-214" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_90 (player VARCHAR, place VARCHAR, country VARCHAR)
### Question:
Who has a place of T7 and is from the United States?
### Answer:
SELECT player FROM table_name_90 WHERE place = "t7" AND country = "united states" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_12 (club VARCHAR, third VARCHAR, runners_up VARCHAR, winners VARCHAR)
### Question:
Which club has 1 runners-up with 0 winners and 2 third place earned?
### Answer:
SELECT club FROM table_name_12 WHERE runners_up = 1 AND winners = 0 AND third = 2 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_72 (long INTEGER, gain VARCHAR, loss VARCHAR)
### Question:
What is the average long that has 1581 as a gain, with a loss less than 308?
### Answer:
SELECT AVG(long) FROM table_name_72 WHERE gain = 1581 AND loss < 308 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_34 (result VARCHAR, city VARCHAR)
### Question:
What was the result of the game in Milwaukee?
### Answer:
SELECT result FROM table_name_34 WHERE city = "milwaukee" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_57 (rank VARCHAR, highest_floor INTEGER)
### Question:
What is the Rank of the building that has a Highest floor larger than 50?
### Answer:
SELECT rank FROM table_name_57 WHERE highest_floor > 50 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_78 (attendance VARCHAR, opponent VARCHAR)
### Question:
Which Attendance has an Opponent of crawley town?
### Answer:
SELECT attendance FROM table_name_78 WHERE opponent = "crawley town" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_21 (year INTEGER, result VARCHAR, role_episode VARCHAR)
### Question:
what is the earliest year when the result is won and the role/episode is fox mulder?
### Answer:
SELECT MIN(year) FROM table_name_21 WHERE result = "won" AND role_episode = "fox mulder" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22355_68 (rank INTEGER)
### Question:
Name the most rank
### Answer:
SELECT MAX(rank) FROM table_22355_68 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_50 (position VARCHAR, name VARCHAR)
### Question:
What is the position of Allen Gamboa?
### Answer:
SELECT position FROM table_name_50 WHERE name = "allen gamboa" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE film (rating VARCHAR)
### Question:
How many kinds of different ratings are listed?
### Answer:
SELECT COUNT(DISTINCT rating) FROM film |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_9 (date VARCHAR, tournament VARCHAR)
### Question:
When was the Masters Tournament?
### Answer:
SELECT date FROM table_name_9 WHERE tournament = "masters tournament" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_10 (channel VARCHAR, aspect VARCHAR, programming VARCHAR)
### Question:
Which Channel has an Aspect of 4:3 and a Programming of me-tv?
### Answer:
SELECT channel FROM table_name_10 WHERE aspect = "4:3" AND programming = "me-tv" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_10 (no_of_clubs VARCHAR, team VARCHAR, games VARCHAR)
### Question:
What is the number of clubs for Shenyang Ginde when there were more than 182 games?
### Answer:
SELECT COUNT(no_of_clubs) FROM table_name_10 WHERE team = "shenyang ginde" AND games > 182 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_91 (played INTEGER, losses VARCHAR, points VARCHAR, wins VARCHAR, goals_for VARCHAR)
### Question:
What is the average number played that has fewer than 11 wins, more than 42 goals, more than 22 points, and 11 losses?
### Answer:
SELECT AVG(played) FROM table_name_91 WHERE wins < 11 AND goals_for > 42 AND points > 22 AND losses = 11 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_35 (silver VARCHAR, year VARCHAR)
### Question:
WHAT IS THE SILVER WITH A YEAR OF 1962?
### Answer:
SELECT silver FROM table_name_35 WHERE year = 1962 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_15 (original_teams VARCHAR, at_home_winner VARCHAR)
### Question:
What were the original teams for the season that was won at-home by Mark Pinkhasovich?
### Answer:
SELECT original_teams FROM table_name_15 WHERE at_home_winner = "mark pinkhasovich" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_50 (downhill_points INTEGER, total VARCHAR)
### Question:
What are the downhill points for the skier with total of 9.31 points?
### Answer:
SELECT SUM(downhill_points) FROM table_name_50 WHERE total = "9.31" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_60 (model VARCHAR, torque VARCHAR)
### Question:
What model is the n·m (lb·ft)@1500-2500 torque?
### Answer:
SELECT model FROM table_name_60 WHERE torque = "n·m (lb·ft)@1500-2500" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_18600760_3 (longitude VARCHAR, latitude VARCHAR)
### Question:
What was the longitude of the township with a latitude of 48.075823?
### Answer:
SELECT longitude FROM table_18600760_3 WHERE latitude = "48.075823" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_12171145_1 (mens_doubles VARCHAR, womens_singles VARCHAR)
### Question:
Who was the mens doubles when womens singles is mette sørensen?
### Answer:
SELECT mens_doubles FROM table_12171145_1 WHERE womens_singles = "Mette Sørensen" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_32 (class VARCHAR, laps VARCHAR)
### Question:
What was the class when there were 325 laps?
### Answer:
SELECT class FROM table_name_32 WHERE laps = 325 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_9 (effic INTEGER, cmp_att_int VARCHAR, avg_g VARCHAR, gp_gs VARCHAR)
### Question:
Which Effic is the average one that has an Avg/G larger than 3.7, and a GP-GS of 13, and a Cmp-Att-Int of 318-521-15?
### Answer:
SELECT AVG(effic) FROM table_name_9 WHERE avg_g > 3.7 AND gp_gs = "13" AND cmp_att_int = "318-521-15" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Faculty (rank VARCHAR)
### Question:
What ranks do we have for faculty?
### Answer:
SELECT DISTINCT rank FROM Faculty |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1140080_2 (report VARCHAR, location VARCHAR)
### Question:
what's the report with location österreichring
### Answer:
SELECT report FROM table_1140080_2 WHERE location = "Österreichring" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_86 (result VARCHAR, date VARCHAR)
### Question:
What Result has a Date of october 14, 1967?
### Answer:
SELECT result FROM table_name_86 WHERE date = "october 14, 1967" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_21 (cover_model VARCHAR)
### Question:
Who was the 20 Questions section aimed at when Cover Model was Kimberley Conrad Hefner?
### Answer:
SELECT 20 AS _questions FROM table_name_21 WHERE cover_model = "kimberley conrad hefner" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Students_in_Detention (student_id VARCHAR)
### Question:
How many distinct students have been in detention?
### Answer:
SELECT COUNT(DISTINCT student_id) FROM Students_in_Detention |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28138035_27 (mens_singles VARCHAR, year_location VARCHAR)
### Question:
Who is listed under mens singles when the year location is 2009 doha?
### Answer:
SELECT mens_singles FROM table_28138035_27 WHERE year_location = "2009 Doha" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1784514_1 (number_of_powiats VARCHAR, capital VARCHAR)
### Question:
How many powiats have mstsislaw as a capital?
### Answer:
SELECT number_of_powiats FROM table_1784514_1 WHERE capital = "Mstsislaw" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_21434618_1 (team__number1 VARCHAR, team__number2 VARCHAR)
### Question:
which team #1 played again chalkida
### Answer:
SELECT team__number1 FROM table_21434618_1 WHERE team__number2 = "Chalkida" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_16 (transfer_window VARCHAR, name VARCHAR)
### Question:
What is the transfer period for habarugira?
### Answer:
SELECT transfer_window FROM table_name_16 WHERE name = "habarugira" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_11 (height_in_ft VARCHAR, school_club_team_country VARCHAR)
### Question:
What is the height in feet of the Illinois player?
### Answer:
SELECT height_in_ft FROM table_name_11 WHERE school_club_team_country = "illinois" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.