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_68 (location VARCHAR, tournament VARCHAR)
### Question:
What is the location of the Sea Pines Heritage Classic tournament?
### Answer:
SELECT location FROM table_name_68 WHERE tournament = "sea pines heritage classic" |
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_24334163_1 (Winners VARCHAR, total_money_won VARCHAR)
### Question:
How many play-off legs were won when the prize money was £10,300?
### Answer:
SELECT COUNT(Winners) AS play_off_legs_won FROM table_24334163_1 WHERE total_money_won = "£10,300" |
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 (city VARCHAR, iata VARCHAR)
### Question:
Name the city for IATA of llw
### Answer:
SELECT city FROM table_name_32 WHERE iata = "llw" |
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 (erp_w VARCHAR, call_sign VARCHAR)
### Question:
What is the total number of the ERP W with a call sign of w242ak?
### Answer:
SELECT COUNT(erp_w) FROM table_name_81 WHERE call_sign = "w242ak" |
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_28 (position INTEGER, wins VARCHAR, points VARCHAR)
### Question:
What was the highest position when the wins were higher than 4 and the points were lower than 11?
### Answer:
SELECT MAX(position) FROM table_name_28 WHERE wins = 4 AND points < 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_86 (highest_score VARCHAR)
### Question:
What is the average value in the 100s category when the high score is 196?
### Answer:
SELECT AVG(100 AS s) FROM table_name_86 WHERE highest_score = "196" |
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 (location VARCHAR, unit VARCHAR)
### Question:
Where is two medicine formation?
### Answer:
SELECT location FROM table_name_46 WHERE unit = "two medicine formation" |
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_68 (record VARCHAR, visitor VARCHAR)
### Question:
What was the record when Minnesota was the visiting team?
### Answer:
SELECT record FROM table_name_68 WHERE visitor = "minnesota" |
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 (bronze VARCHAR, total INTEGER)
### Question:
What is the value of bronze with less than 2 in total?
### Answer:
SELECT bronze FROM table_name_91 WHERE total < 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 (money___$__ VARCHAR, score VARCHAR)
### Question:
What is the money for the player with a score of 68-69-67-73=277?
### Answer:
SELECT money___$__ FROM table_name_72 WHERE score = 68 - 69 - 67 - 73 = 277 |
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_64 (year INTEGER, date VARCHAR)
### Question:
What is the average Year, when Date is "04.01 April 1"?
### Answer:
SELECT AVG(year) FROM table_name_64 WHERE date = "04.01 april 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_62 (winning_driver VARCHAR, winning_team VARCHAR, pole_position VARCHAR)
### Question:
Who drove for Mathiasen Motorsports with dane cameron as pole position?
### Answer:
SELECT winning_driver FROM table_name_62 WHERE winning_team = "mathiasen motorsports" AND pole_position = "dane cameron" |
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_92 (sweet_potato_ VARCHAR, g_ VARCHAR, soybean__green__ VARCHAR, f_ VARCHAR)
### Question:
What is the Sweet Potato amount when the soybean amount is 1.65?
### Answer:
SELECT sweet_potato_[g_] FROM table_name_92 WHERE soybean__green__[f_] = "1.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 city (city VARCHAR, city_id VARCHAR); CREATE TABLE temperature (city_id VARCHAR, Feb VARCHAR)
### Question:
Which city has the highest temperature in February?
### Answer:
SELECT T1.city FROM city AS T1 JOIN temperature AS T2 ON T1.city_id = T2.city_id ORDER BY T2.Feb DESC 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 perpetrator (People_ID VARCHAR, Year VARCHAR); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR)
### Question:
List the names of perpetrators in descending order of the year.
### Answer:
SELECT T1.Name FROM people AS T1 JOIN perpetrator AS T2 ON T1.People_ID = T2.People_ID ORDER BY T2.Year DESC |
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_95 (away_team VARCHAR, home_team VARCHAR)
### Question:
Which Away team did West Ham United play against?
### Answer:
SELECT away_team FROM table_name_95 WHERE home_team = "west ham united" |
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_43 (weekly_rank VARCHAR, airdate VARCHAR)
### Question:
Name the weekly rank for sunday, june 14, 2009
### Answer:
SELECT weekly_rank FROM table_name_43 WHERE airdate = "sunday, june 14, 2009" |
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 CAR_MAKERS (FullName VARCHAR, id VARCHAR, Id VARCHAR); CREATE TABLE MODEL_LIST (Maker VARCHAR)
### Question:
What is the number of car models that are produced by each maker and what is the id and full name of each maker?
### Answer:
SELECT COUNT(*), T2.FullName, T2.id FROM MODEL_LIST AS T1 JOIN CAR_MAKERS AS T2 ON T1.Maker = T2.Id GROUP BY T2.id |
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_2013618_1 (traditional VARCHAR, simplified VARCHAR)
### Question:
Name the traditional for 屏南县
### Answer:
SELECT traditional FROM table_2013618_1 WHERE simplified = "屏南县" |
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 (visitor VARCHAR, leading_scorer VARCHAR)
### Question:
Who was the visiting team when the leading scorer was Jones : 20?
### Answer:
SELECT visitor FROM table_name_9 WHERE leading_scorer = "jones : 20" |
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_20745685_1 (opponent VARCHAR, attendance VARCHAR)
### Question:
Who was the opponent when the attendance was exactly 16642?
### Answer:
SELECT opponent FROM table_20745685_1 WHERE attendance = 16642 |
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_2248784_3 (rank_world VARCHAR, rank_subcontinent VARCHAR)
### Question:
Name the rank world for 7 rank subcontinent
### Answer:
SELECT rank_world FROM table_2248784_3 WHERE rank_subcontinent = 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_name_75 (category VARCHAR, director VARCHAR)
### Question:
Tell me the category of na director
### Answer:
SELECT category FROM table_name_75 WHERE director = "na" |
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_68 (sspec_number VARCHAR, model_number VARCHAR)
### Question:
What is sSpec Number, when Model Number is Atom N475?
### Answer:
SELECT sspec_number FROM table_name_68 WHERE model_number = "atom n475" |
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_10646790_2 (attendance INTEGER, date VARCHAR)
### Question:
What was the minimum attendance on December 7, 1969?
### Answer:
SELECT MIN(attendance) FROM table_10646790_2 WHERE date = "December 7, 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 budget (budgeted VARCHAR, YEAR VARCHAR)
### Question:
How many budgets are above 3000 in year 2001 or before?
### Answer:
SELECT COUNT(*) FROM budget WHERE budgeted > 3000 AND YEAR <= 2001 |
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 (losses VARCHAR, percentage VARCHAR, points VARCHAR)
### Question:
What is the total number of Losses when the percentage is 54.83, with more than 8 points?
### Answer:
SELECT COUNT(losses) FROM table_name_91 WHERE percentage = 54.83 AND points > 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_name_27 (district VARCHAR, constituency_number VARCHAR)
### Question:
What district has a constituency of 60?
### Answer:
SELECT district FROM table_name_27 WHERE constituency_number = "60" |
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 (injunctive VARCHAR, simple_past VARCHAR)
### Question:
What is the injunctive for the Simple Past of गरुँला garũlā 'I will (probably) do'?
### Answer:
SELECT injunctive FROM table_name_99 WHERE simple_past = "गरुँला garũlā 'i will (probably) do'" |
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 (long VARCHAR, loss VARCHAR, avg_g VARCHAR)
### Question:
What is the total number of Long with a Av/g of 124.9 but Loss greater than 0?
### Answer:
SELECT COUNT(long) FROM table_name_3 WHERE loss > 0 AND avg_g = 124.9 |
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_25 (date VARCHAR, week VARCHAR)
### Question:
What was the date of week 3?
### Answer:
SELECT date FROM table_name_25 WHERE week = 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_2655016_10 (original_air_date VARCHAR, nick_prod__number VARCHAR)
### Question:
When did the episode originally air with a nick production number of 945?
### Answer:
SELECT original_air_date FROM table_2655016_10 WHERE nick_prod__number = 945 |
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 (name VARCHAR, nationality VARCHAR, lane VARCHAR, rank VARCHAR, time VARCHAR)
### Question:
What is the Name of the person from the Netherlands in a Lane lower than 5, with a Rank better than 5, and a time of less than 55.62?
### Answer:
SELECT name FROM table_name_19 WHERE rank < 5 AND time < 55.62 AND lane < 5 AND nationality = "netherlands" |
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 (pick INTEGER, round VARCHAR, overall VARCHAR)
### Question:
What is the highest Pick that has a round greater than 6 and an overall greater than 216?
### Answer:
SELECT MAX(pick) FROM table_name_46 WHERE round > 6 AND overall > 216 |
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 event (Id VARCHAR)
### Question:
How many events are there?
### Answer:
SELECT COUNT(*) FROM event |
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_25 (song VARCHAR, score VARCHAR)
### Question:
For which song was the score 6.5 + 6.0 + 6.0 + 5.5 = 24.0?
### Answer:
SELECT song FROM table_name_25 WHERE score = 6.5 + 6.0 + 6.0 + 5.5 = 24.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_78 (lost VARCHAR, points_for VARCHAR)
### Question:
What lost has 528 as the points?
### Answer:
SELECT lost FROM table_name_78 WHERE points_for = "528" |
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_75 (position VARCHAR, nationality VARCHAR, player VARCHAR)
### Question:
What position did Jimmy Oliver of the United States play?
### Answer:
SELECT position FROM table_name_75 WHERE nationality = "united states" AND player = "jimmy oliver" |
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_17058151_5 (game VARCHAR, location_attendance VARCHAR)
### Question:
In how many game was the attendance at Staples Center 18,997?
### Answer:
SELECT COUNT(game) FROM table_17058151_5 WHERE location_attendance = "Staples Center 18,997" |
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_16337329_5 (past_habitual VARCHAR, probable_future VARCHAR)
### Question:
Name the past habitual for गर्छस् garchas 'you (will) do'
### Answer:
SELECT past_habitual FROM table_16337329_5 WHERE probable_future = "गर्छस् garchas 'you (will) do'" |
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_20007413_6 (torque VARCHAR, year VARCHAR)
### Question:
What are the torque characteristics of the model made in 1996?
### Answer:
SELECT torque FROM table_20007413_6 WHERE year = "1996" |
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_14 (current_version VARCHAR, rtm_build VARCHAR, name VARCHAR)
### Question:
What is the current version of windows 8 with an RTM build of 9200?
### Answer:
SELECT current_version FROM table_name_14 WHERE rtm_build = "9200" AND name = "windows 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 device (Software_Platform VARCHAR)
### Question:
List the software platform shared by the greatest number of devices.
### Answer:
SELECT Software_Platform FROM device GROUP BY Software_Platform ORDER BY COUNT(*) DESC 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_97 (league_cup INTEGER, name VARCHAR, premier_league VARCHAR)
### Question:
What is the highest league cup of danny collins, who has more than 1 premier league?
### Answer:
SELECT MAX(league_cup) FROM table_name_97 WHERE name = "danny collins" AND premier_league > 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_91 (launched VARCHAR, laid_down VARCHAR)
### Question:
when was the destroyer launched when it was laid down on 14 august 1942?
### Answer:
SELECT launched FROM table_name_91 WHERE laid_down = "14 august 1942" |
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_36 (surface VARCHAR, score VARCHAR, date VARCHAR)
### Question:
What surface was played on with a score of 6–4, 6–3 and on 4 May 1992?
### Answer:
SELECT surface FROM table_name_36 WHERE score = "6–4, 6–3" AND date = "4 may 1992" |
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_27 (branding VARCHAR, frequency VARCHAR)
### Question:
Which Branding has a frequency of 1080khz?
### Answer:
SELECT branding FROM table_name_27 WHERE frequency = "1080khz" |
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_56 (province VARCHAR, icao VARCHAR)
### Question:
which Province has a ICAO of vmmc?
### Answer:
SELECT province FROM table_name_56 WHERE icao = "vmmc" |
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_20684390_1 (mccain_number INTEGER)
### Question:
What is the maximum McCain population turnout number?
### Answer:
SELECT MAX(mccain_number) FROM table_20684390_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_18 (status VARCHAR, floors VARCHAR, year VARCHAR)
### Question:
What is the status of the building with less than 18 floors and later than 2013?
### Answer:
SELECT status FROM table_name_18 WHERE floors < 18 AND year > 2013 |
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_10015132_2 (position VARCHAR, years_in_toronto VARCHAR)
### Question:
Which positions were in Toronto in 2004?
### Answer:
SELECT position FROM table_10015132_2 WHERE years_in_toronto = "2004" |
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_17919342_1 (director VARCHAR, original_title VARCHAR)
### Question:
How many directors were there for the film with the original title of The Moises Padilla Story?
### Answer:
SELECT COUNT(director) FROM table_17919342_1 WHERE original_title = "The Moises Padilla Story" |
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 (Id VARCHAR)
### Question:
What was the percentage in 2006 that had less than 9% in 1970?
### Answer:
SELECT AVG(2006) FROM table_name_47 WHERE 1970 < 9 |
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_67 (original_title VARCHAR, film_title_used_in_nomination VARCHAR)
### Question:
What is the original title of the Gypsy Magic film title used in nomination?
### Answer:
SELECT original_title FROM table_name_67 WHERE film_title_used_in_nomination = "gypsy magic" |
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 (game VARCHAR, date VARCHAR)
### Question:
What was the game number that took place on April 27?
### Answer:
SELECT game FROM table_name_50 WHERE date = "april 27" |
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_76 (rank VARCHAR, gatchaman VARCHAR)
### Question:
What is the rank of the gatchaman of Jinpei?
### Answer:
SELECT rank FROM table_name_76 WHERE gatchaman = "jinpei" |
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_13812785_8 (record VARCHAR, score VARCHAR)
### Question:
What is the record where the score is w 102–81 (ot)?
### Answer:
SELECT record FROM table_13812785_8 WHERE score = "W 102–81 (OT)" |
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_51 (attendance VARCHAR, match_no VARCHAR)
### Question:
How many people attended Match No. 31?
### Answer:
SELECT attendance FROM table_name_51 WHERE match_no = "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_85 (year INTEGER, points VARCHAR, engine VARCHAR)
### Question:
what is the average year for 0 points and ferrari v8?
### Answer:
SELECT AVG(year) FROM table_name_85 WHERE points = 0 AND engine = "ferrari v8" |
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_20466963_13 (guest_3 VARCHAR, guest_2 VARCHAR)
### Question:
Name the guest 3 for iyare igiehon
### Answer:
SELECT guest_3 FROM table_20466963_13 WHERE guest_2 = "Iyare Igiehon" |
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_1416612_1 (highest_point VARCHAR, lowest_point VARCHAR)
### Question:
what's the highest point with lowest point being belle fourche river at south dakota border
### Answer:
SELECT highest_point FROM table_1416612_1 WHERE lowest_point = "Belle Fourche River at South Dakota border" |
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 (rating VARCHAR, player VARCHAR, comp VARCHAR)
### Question:
What is the sum rating with more than 1 comp for mark miller?
### Answer:
SELECT COUNT(rating) FROM table_name_78 WHERE player = "mark miller" AND comp > 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_28059992_5 (position VARCHAR, cfl_team VARCHAR)
### Question:
What position did the draft pick going to saskatchewan play?
### Answer:
SELECT position FROM table_28059992_5 WHERE cfl_team = "Saskatchewan" |
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_84 (round VARCHAR, time VARCHAR)
### Question:
Which round lasted 2:32?
### Answer:
SELECT round FROM table_name_84 WHERE time = "2:32" |
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 products (product_category_code VARCHAR, product_name VARCHAR)
### Question:
Which category does the product named "flax" belong to?
### Answer:
SELECT product_category_code FROM products WHERE product_name = "flax" |
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_95 (nation VARCHAR, record VARCHAR)
### Question:
What nation has a Record of 5.06m(16ft7in)?
### Answer:
SELECT nation FROM table_name_95 WHERE record = "5.06m(16ft7in)" |
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_33 (week INTEGER, result VARCHAR, attendance VARCHAR)
### Question:
What's the week when the result was W 38-24 and attendance was less than 43,449?
### Answer:
SELECT SUM(week) FROM table_name_33 WHERE result = "w 38-24" AND attendance < 43 OFFSET 449 |
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_68 (wins__total_ INTEGER, rank VARCHAR, wins__indoor_ VARCHAR, wins__outdoor_ VARCHAR)
### Question:
Name the most wins total with wins indoor of 0 and wins outdoor of 1 with rank less than 7
### Answer:
SELECT MAX(wins__total_) FROM table_name_68 WHERE wins__indoor_ = 0 AND wins__outdoor_ = 1 AND rank < 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_name_1 (video VARCHAR, channel VARCHAR, programming VARCHAR)
### Question:
Which Video has a Channel smaller than 35.66, and a Programming of nhk world?
### Answer:
SELECT video FROM table_name_1 WHERE channel < 35.66 AND programming = "nhk world" |
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_256286_61 (type VARCHAR, yes_votes VARCHAR)
### Question:
What is the type when yes votes are 546255?
### Answer:
SELECT type FROM table_256286_61 WHERE yes_votes = 546255 |
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_16278894_1 (capital VARCHAR, population_census_2009 VARCHAR)
### Question:
What capital's county had a population of 730129 as of 2009?
### Answer:
SELECT capital FROM table_16278894_1 WHERE population_census_2009 = 730129 |
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 (sliding_tackle VARCHAR, dump_tackle VARCHAR, shoulder_charge VARCHAR)
### Question:
Which sliding tackle has no dump tackle and a restricted shoulder charge?
### Answer:
SELECT sliding_tackle FROM table_name_3 WHERE dump_tackle = "no" AND shoulder_charge = "restricted" |
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_2383498_4 (qld_cup_premierships VARCHAR, home_ground VARCHAR)
### Question:
What is every entry in the QLD Cup Premierships when home ground is Dairy Farmers Stadium?
### Answer:
SELECT qld_cup_premierships FROM table_2383498_4 WHERE home_ground = "Dairy Farmers Stadium" |
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_1211545_2 (location VARCHAR, name VARCHAR)
### Question:
What is the location of the Carousel toll plaza?
### Answer:
SELECT location FROM table_1211545_2 WHERE name = "Carousel Toll Plaza" |
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 (employee_id VARCHAR, Destroyed_by_Employee_ID VARCHAR); CREATE TABLE Documents_to_be_destroyed (employee_id VARCHAR, Destroyed_by_Employee_ID VARCHAR)
### Question:
Show the ids of all employees who don't destroy any document.
### Answer:
SELECT employee_id FROM Employees EXCEPT SELECT Destroyed_by_Employee_ID FROM Documents_to_be_destroyed |
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 (score VARCHAR, surface VARCHAR, date VARCHAR)
### Question:
What is the score of the tournament on November 5, 2007 with a carpet surface?
### Answer:
SELECT score FROM table_name_90 WHERE surface = "carpet" AND date = "november 5, 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 wine (Name VARCHAR, Price INTEGER, Winery VARCHAR); CREATE TABLE WINE (Name VARCHAR, Price INTEGER, Winery VARCHAR)
### Question:
Find the distinct names of all wines that have prices higher than some wines from John Anthony winery.
### Answer:
SELECT DISTINCT Name FROM WINE WHERE Price > (SELECT MIN(Price) FROM wine WHERE Winery = "John 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 Songs (SongId VARCHAR); CREATE TABLE Band (firstname VARCHAR, id VARCHAR); CREATE TABLE Performance (bandmate VARCHAR)
### Question:
Find the first name of the band mate that has performed in most songs.
### Answer:
SELECT t2.firstname FROM Performance AS t1 JOIN Band AS t2 ON t1.bandmate = t2.id JOIN Songs AS T3 ON T3.SongId = T1.SongId GROUP BY firstname ORDER BY COUNT(*) DESC 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 (time_retired VARCHAR, grid VARCHAR)
### Question:
What is the time/retired for grid 9?
### Answer:
SELECT time_retired FROM table_name_30 WHERE grid = 9 |
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_25 (year VARCHAR, displacement_cc VARCHAR, type VARCHAR, engine VARCHAR)
### Question:
What year was the Grand Prix with an i8 engine and a cc displacement of 1500?
### Answer:
SELECT year FROM table_name_25 WHERE type = "grand prix" AND engine = "i8" AND displacement_cc = "1500" |
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 (time VARCHAR, rank VARCHAR, heat VARCHAR, lane VARCHAR)
### Question:
What was the time of the 5th ranked swimmer who swam after heat 3 and was in a lane under 5?
### Answer:
SELECT time FROM table_name_24 WHERE heat > 3 AND lane < 5 AND rank = 5 |
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 (score_in_final VARCHAR, date VARCHAR)
### Question:
What was the score on February 14, 1999?
### Answer:
SELECT score_in_final FROM table_name_32 WHERE date = "february 14, 1999" |
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_94 (week VARCHAR, game_site VARCHAR)
### Question:
What week was the game played at Rich Stadium?
### Answer:
SELECT week FROM table_name_94 WHERE game_site = "rich stadium" |
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_1404984_1 (virtual_channel VARCHAR, network VARCHAR)
### Question:
What is HSN's official virtual channel in Minneapolis-St. Paul?
### Answer:
SELECT virtual_channel FROM table_1404984_1 WHERE network = "HSN" |
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 (surface VARCHAR, date VARCHAR)
### Question:
On July 15, 1984 what surface was used?
### Answer:
SELECT surface FROM table_name_15 WHERE date = "july 15, 1984" |
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_21563298_1 (roll INTEGER, school VARCHAR)
### Question:
How many kids go to Brechin High School?
### Answer:
SELECT MAX(roll) FROM table_21563298_1 WHERE school = "Brechin High school" |
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_68 (height_metres___ft VARCHAR, years_as_tallest VARCHAR)
### Question:
Name the Height metres / ft of Years with tallest of 1098–1310?
### Answer:
SELECT height_metres___ft FROM table_name_68 WHERE years_as_tallest = "1098–1310" |
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 (player VARCHAR, rank VARCHAR)
### Question:
Which player has rank 1?
### Answer:
SELECT player FROM table_name_24 WHERE rank = 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_51 (format VARCHAR, catalog VARCHAR, date VARCHAR)
### Question:
Which Format has a Catalog of 61298, and a Date of september 1984?
### Answer:
SELECT format FROM table_name_51 WHERE catalog = 61298 AND date = "september 1984" |
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 (result VARCHAR, date VARCHAR)
### Question:
What is the result of the game on October 17, 1965?
### Answer:
SELECT result FROM table_name_73 WHERE date = "october 17, 1965" |
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_14 (constructor VARCHAR, laps VARCHAR, driver VARCHAR)
### Question:
Which constructor had laps amounting to more than 21 where the driver was John Surtees?
### Answer:
SELECT constructor FROM table_name_14 WHERE laps > 21 AND driver = "john surtees" |
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_48 (player VARCHAR, position VARCHAR, hometown VARCHAR)
### Question:
Which player has a Position of infielder, and a Hometown of atlanta, ga?
### Answer:
SELECT player FROM table_name_48 WHERE position = "infielder" AND hometown = "atlanta, ga" |
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_5 (enrollment INTEGER, school VARCHAR)
### Question:
How much Enrollment has a School of fort wayne homestead?
### Answer:
SELECT SUM(enrollment) FROM table_name_5 WHERE school = "fort wayne homestead" |
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_95 (decision VARCHAR, date VARCHAR)
### Question:
Which Decision has a Date of april 30?
### Answer:
SELECT decision FROM table_name_95 WHERE date = "april 30" |
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 (season VARCHAR, place VARCHAR)
### Question:
How many seasons took place in santiago de chile, chile?
### Answer:
SELECT COUNT(season) FROM table_name_19 WHERE place = "santiago de chile, chile" |
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_26825349_1 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR)
### Question:
The episode that had 8.62 million US viewers originally aired on which date?
### Answer:
SELECT original_air_date FROM table_26825349_1 WHERE us_viewers__millions_ = "8.62" |
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 driver (home_city VARCHAR, age VARCHAR)
### Question:
How many drivers are from Hartford city or younger than 40?
### Answer:
SELECT COUNT(*) FROM driver WHERE home_city = 'Hartford' OR age < 40 |
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 (street_address VARCHAR, name VARCHAR)
### Question:
What is the street address of the van antwerp building?
### Answer:
SELECT street_address FROM table_name_9 WHERE name = "van antwerp building" |
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_1682026_3 (profits__billion_$_ VARCHAR, company VARCHAR)
### Question:
What are the profits of Wells Fargo (in billions)?
### Answer:
SELECT profits__billion_$_ FROM table_1682026_3 WHERE company = "Wells Fargo" |
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_43 (total VARCHAR, bronze VARCHAR, silver VARCHAR, gold VARCHAR)
### Question:
If there are more than 0 Silver medals, less than 5 gold medals, and no bronze medals, what was the total number of medals?
### Answer:
SELECT COUNT(total) FROM table_name_43 WHERE silver > 0 AND gold < 5 AND bronze < 0 |