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_16 (rank VARCHAR, athlete VARCHAR, react VARCHAR)
### Question:
How many total Rank listings have Liu Xiaosheng listed as the athlete with a react entry that is smaller than 0.245?
### Answer:
SELECT COUNT(rank) FROM table_name_16 WHERE athlete = "liu xiaosheng" AND react < 0.245 |
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_28628309_9 (player VARCHAR, category VARCHAR)
### Question:
What is the name of the player when the category is 3-pt field goal percentage?
### Answer:
SELECT player FROM table_28628309_9 WHERE category = "3-pt field goal percentage" |
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_11545282_11 (position VARCHAR, years_for_jazz VARCHAR)
### Question:
What is the position for the years 1998-99
### Answer:
SELECT position FROM table_11545282_11 WHERE years_for_jazz = "1998-99" |
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 (away_team VARCHAR, venue VARCHAR)
### Question:
What was the away team score at victoria park?
### Answer:
SELECT away_team AS score FROM table_name_62 WHERE venue = "victoria park" |
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 (tournament VARCHAR, margin_of_victory VARCHAR)
### Question:
For which tournament was the margin of victory 7 strokes?
### Answer:
SELECT tournament FROM table_name_50 WHERE margin_of_victory = "7 strokes" |
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_19897294_10 (original_air_date VARCHAR, family_families VARCHAR)
### Question:
When did the episode with the Ririe family air for the first time?
### Answer:
SELECT original_air_date FROM table_19897294_10 WHERE family_families = "The Ririe Family" |
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 discount_coupons (coupon_id VARCHAR, coupon_amount VARCHAR); CREATE TABLE customers (good_or_bad_customer VARCHAR, coupon_id VARCHAR)
### Question:
Are the customers holding coupons with amount 500 bad or good?
### Answer:
SELECT T1.good_or_bad_customer FROM customers AS T1 JOIN discount_coupons AS T2 ON T1.coupon_id = T2.coupon_id WHERE T2.coupon_amount = 500 |
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_1601792_3 (operator VARCHAR, station VARCHAR)
### Question:
Who operates the xfm station?
### Answer:
SELECT operator FROM table_1601792_3 WHERE station = "XFM" |
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 (opponent VARCHAR, date VARCHAR)
### Question:
Who was the opponent on September 26, 2009?
### Answer:
SELECT opponent FROM table_name_28 WHERE date = "september 26, 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 table_name_15 (totals_06_10 INTEGER, pubs_2010 VARCHAR, totals_07_11 VARCHAR)
### Question:
What is the lowest 06-10 totals with a pubs 2010 of 68 and a 07-11 totals larger than 305?
### Answer:
SELECT MIN(totals_06_10) FROM table_name_15 WHERE pubs_2010 = 68 AND totals_07_11 > 305 |
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 (margin VARCHAR, year VARCHAR, runner_s__up VARCHAR)
### Question:
What margin was in after 1981, and was Roberto De Vicenzo runner-up?
### Answer:
SELECT margin FROM table_name_88 WHERE year > 1981 AND runner_s__up = "roberto de vicenzo" |
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_1231892_4 (number_in_series VARCHAR, broadcast_order VARCHAR)
### Question:
What's the number of episodes with a broadcast order s04 e07?
### Answer:
SELECT COUNT(number_in_series) FROM table_1231892_4 WHERE broadcast_order = "S04 E07" |
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_11019212_1 (saturday VARCHAR, wednesday VARCHAR)
### Question:
what's the saturday time with wednesday being 10:00-5:00
### Answer:
SELECT saturday FROM table_11019212_1 WHERE wednesday = "10:00-5:00" |
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 (overs INTEGER, team VARCHAR)
### Question:
What is the lowest number of Overs for the Royal Challengers Bangalore?
### Answer:
SELECT MIN(overs) FROM table_name_50 WHERE team = "royal challengers bangalore" |
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 (crowd INTEGER, home_team VARCHAR)
### Question:
What is the largest crowd for North Melbourne home games?
### Answer:
SELECT MAX(crowd) FROM table_name_48 WHERE home_team = "north melbourne" |
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_26967904_1 (p_max___bar__ VARCHAR, p1_diameter__mm_ VARCHAR)
### Question:
What is the P max (bar) of the pistol with a P1 diameter of 12.09 mm?
### Answer:
SELECT p_max___bar__ FROM table_26967904_1 WHERE p1_diameter__mm_ = "12.09" |
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 (grid INTEGER, laps INTEGER)
### Question:
What is the grid sum with more than 50 laps?
### Answer:
SELECT SUM(grid) FROM table_name_16 WHERE laps > 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_1341865_11 (party VARCHAR, incumbent VARCHAR)
### Question:
What party did Don Fuqua belong to?
### Answer:
SELECT party FROM table_1341865_11 WHERE incumbent = "Don Fuqua" |
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_98 (time VARCHAR, year VARCHAR, event VARCHAR)
### Question:
What is Time, when Year is greater than 2011, and when Event is "800 Freestyle Relay"?
### Answer:
SELECT time FROM table_name_98 WHERE year > 2011 AND event = "800 freestyle 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 table_name_56 (club VARCHAR, home_result VARCHAR, away_result VARCHAR)
### Question:
Home result of 1–0, and a Away result of 0–1 involves what club?
### Answer:
SELECT club FROM table_name_56 WHERE home_result = "1–0" AND away_result = "0–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_73 (laps VARCHAR, constructor VARCHAR, driver VARCHAR)
### Question:
What is the number of laps with a Constructor of renault, and a driver of jacques villeneuve?
### Answer:
SELECT laps FROM table_name_73 WHERE constructor = "renault" AND driver = "jacques villeneuve" |
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 (artist VARCHAR, draw INTEGER)
### Question:
Who is the artist that drew higher than 4?
### Answer:
SELECT artist FROM table_name_33 WHERE draw > 4 |
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_18052353_4 (state_assembly VARCHAR, year VARCHAR)
### Question:
What was the composition of the state assembly in 2008?
### Answer:
SELECT state_assembly FROM table_18052353_4 WHERE year = "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_60 (team VARCHAR, head_coach VARCHAR)
### Question:
Which Team has a Head Coach of michalis pamboris?
### Answer:
SELECT team FROM table_name_60 WHERE head_coach = "michalis pamboris" |
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 (losses INTEGER, club VARCHAR, wins VARCHAR)
### Question:
What is the highest number of losses for the Cobden club when there is less than 1 win?
### Answer:
SELECT MAX(losses) FROM table_name_92 WHERE club = "cobden" AND wins < 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 region (region_name VARCHAR, region_id VARCHAR); CREATE TABLE affected_region (region_id VARCHAR)
### Question:
Show the name for regions and the number of storms for each region.
### Answer:
SELECT T1.region_name, COUNT(*) FROM region AS T1 JOIN affected_region AS T2 ON T1.region_id = T2.region_id GROUP BY T1.region_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_1342149_24 (candidates VARCHAR, result VARCHAR)
### Question:
Name the candidates for result of lost renomination democratic loss
### Answer:
SELECT candidates FROM table_1342149_24 WHERE result = "Lost renomination Democratic loss" |
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 (away_team VARCHAR, home_team VARCHAR)
### Question:
WHAT IS THE AWAY TEAM WITH HOME OF LEICESTER CITY?
### Answer:
SELECT away_team FROM table_name_33 WHERE home_team = "leicester city" |
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 (winning_constructor VARCHAR, winning_driver VARCHAR)
### Question:
Which Winning constructor has a Winning driver of felice nazzaro?
### Answer:
SELECT winning_constructor FROM table_name_52 WHERE winning_driver = "felice nazzaro" |
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_18894744_5 (game VARCHAR, date VARCHAR)
### Question:
Name the game for june 16
### Answer:
SELECT game FROM table_18894744_5 WHERE date = "June 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_67 (date VARCHAR, tie_no VARCHAR)
### Question:
What is the Date of Tie no 3?
### Answer:
SELECT date FROM table_name_67 WHERE tie_no = "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_17622423_12 (high_assists VARCHAR, date VARCHAR)
### Question:
Name the high assists for may 21
### Answer:
SELECT high_assists FROM table_17622423_12 WHERE date = "May 21" |
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_65 (streak VARCHAR, date VARCHAR)
### Question:
What is the Streak on December 30?
### Answer:
SELECT streak FROM table_name_65 WHERE date = "december 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_2 (rank VARCHAR, player VARCHAR, bowling VARCHAR)
### Question:
What is rank of player Charles Eady and a Bowling of 12/63?
### Answer:
SELECT rank FROM table_name_2 WHERE player = "charles eady" AND bowling = "12/63" |
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_18305523_2 (story_title VARCHAR, artist_s VARCHAR)
### Question:
What is the title of the issue where the art was done by Barry Kitson and Farmer?
### Answer:
SELECT story_title FROM table_18305523_2 WHERE artist_s = "Barry Kitson and Farmer" |
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 (score VARCHAR, points VARCHAR, game VARCHAR)
### Question:
Which Score has Points of 64, and a Game of 49?
### Answer:
SELECT score FROM table_name_5 WHERE points = 64 AND game = 49 |
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_29087004_2 (united_states_original_airdate VARCHAR, written_by VARCHAR)
### Question:
What is the original United States air date of the episode written by Mike Ferris?
### Answer:
SELECT united_states_original_airdate FROM table_29087004_2 WHERE written_by = "Mike Ferris" |
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_10819266_8 (season VARCHAR, rank VARCHAR)
### Question:
How many season premiers have a rank of #21?
### Answer:
SELECT season AS premiere FROM table_10819266_8 WHERE rank = "#21" |
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_1733457_1 (others_percentage VARCHAR, county VARCHAR)
### Question:
Name the others % for cleveland
### Answer:
SELECT others_percentage FROM table_1733457_1 WHERE county = "Cleveland" |
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, opponent VARCHAR)
### Question:
What is Result, when Opponent is New England Patriots?
### Answer:
SELECT result FROM table_name_8 WHERE opponent = "new england patriots" |
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 CLASS (class_room VARCHAR)
### Question:
Find the number of classes offered for all class rooms that held at least 2 classes.
### Answer:
SELECT COUNT(*), class_room FROM CLASS GROUP BY class_room HAVING COUNT(*) >= 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_64 (game_site VARCHAR, opponent VARCHAR)
### Question:
Where does CF Pachuca play?
### Answer:
SELECT game_site FROM table_name_64 WHERE opponent = "cf pachuca" |
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_16799784_13 (year_named INTEGER)
### Question:
When was the most recently named feature named?
### Answer:
SELECT MAX(year_named) FROM table_16799784_13 |
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_98 (city_of_license VARCHAR, call_sign VARCHAR)
### Question:
Which city of license has the Kyli call sign?
### Answer:
SELECT city_of_license FROM table_name_98 WHERE call_sign = "kyli" |
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 (operator VARCHAR, ship VARCHAR)
### Question:
What operator has a ship costa pacifica?
### Answer:
SELECT operator FROM table_name_8 WHERE ship = "costa pacifica" |
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_89 (opponent VARCHAR, score VARCHAR)
### Question:
Who was the opponent when the score was 6-3, 6-3?
### Answer:
SELECT opponent FROM table_name_89 WHERE score = "6-3, 6-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_84 (yacht VARCHAR, syndicate VARCHAR)
### Question:
Which Yacht Club is part of the America 3 Foundation syndicate on the America 3 yacht?
### Answer:
SELECT yacht AS Club FROM table_name_84 WHERE syndicate = "america 3 foundation" AND yacht = "america 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_25030512_4 (first_elected VARCHAR, district VARCHAR)
### Question:
Name the first elected for alabama 3
### Answer:
SELECT COUNT(first_elected) FROM table_25030512_4 WHERE district = "Alabama 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_41 (shoulder VARCHAR, neck VARCHAR)
### Question:
Which shoulder has a Neck of 7.3 (.288)?
### Answer:
SELECT shoulder FROM table_name_41 WHERE neck = "7.3 (.288)" |
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 (population VARCHAR, area__km_2__ INTEGER)
### Question:
What is the Population of the Place with an Area (km 2) larger than 498.77?
### Answer:
SELECT COUNT(population) FROM table_name_51 WHERE area__km_2__ > 498.77 |
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_41 (notes VARCHAR, country VARCHAR)
### Question:
What are the Notes of the Athletes from Germany?
### Answer:
SELECT notes FROM table_name_41 WHERE country = "germany" |
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 (network VARCHAR, premiere VARCHAR)
### Question:
Tell me the network for 13 january 2009
### Answer:
SELECT network FROM table_name_80 WHERE premiere = "13 january 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 table_15416002_1 (r_miles_ VARCHAR, chi VARCHAR)
### Question:
What are the miles when the Carvill Hurricane Index (CHI) is equal to 9.9?
### Answer:
SELECT r_miles_ FROM table_15416002_1 WHERE chi = "9.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_84 (capacity__mw_ INTEGER, wind_farm VARCHAR, turbines VARCHAR)
### Question:
What is the average capacity for the farm at Gortahile having more than 8 turbines?
### Answer:
SELECT AVG(capacity__mw_) FROM table_name_84 WHERE wind_farm = "gortahile" AND turbines > 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_2 (throws VARCHAR, dob VARCHAR)
### Question:
Which throw number had a DOB of 19/10/81?
### Answer:
SELECT throws FROM table_name_2 WHERE dob = "19/10/81" |
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_14889988_1 (directed_by VARCHAR, production_code VARCHAR)
### Question:
Who directed the episode with the production code 176252?
### Answer:
SELECT directed_by FROM table_14889988_1 WHERE production_code = 176252 |
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 (losses INTEGER, win__percentage VARCHAR, wins VARCHAR, team VARCHAR)
### Question:
What's the lowest Losses recorded wiht a Wins of 1, Team of Dallas Stars, and a Win % that's smaller than 0.25?
### Answer:
SELECT MIN(losses) FROM table_name_60 WHERE wins = 1 AND team = "dallas stars" AND win__percentage < 0.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_61 (director VARCHAR, title VARCHAR, studio VARCHAR, year VARCHAR)
### Question:
Who was the director for To Have and Have Not, earlier than 1945 with WB studio?
### Answer:
SELECT director FROM table_name_61 WHERE studio = "wb" AND year < 1945 AND title = "to have and have not" |
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_12564633_1 (title VARCHAR, season__number VARCHAR)
### Question:
What is the name of Season #15?
### Answer:
SELECT title FROM table_12564633_1 WHERE season__number = 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 table_name_46 (replaced_by VARCHAR, team VARCHAR, date_of_vacancy VARCHAR)
### Question:
Who was the replacement for the Brussels team with a date of vacancy of 22 December 2007?
### Answer:
SELECT replaced_by FROM table_name_46 WHERE team = "brussels" AND date_of_vacancy = "22 december 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 table_name_98 (speed VARCHAR, time VARCHAR)
### Question:
What is Speed, when Time is 1:24.23.0?
### Answer:
SELECT speed FROM table_name_98 WHERE time = "1:24.23.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_3 (nation VARCHAR, gold VARCHAR)
### Question:
Which nation won 29 gold medals?
### Answer:
SELECT nation FROM table_name_3 WHERE gold = 29 |
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_2509350_3 (language VARCHAR, sopachuy_municipality VARCHAR)
### Question:
Name the language for sopachuy 10
### Answer:
SELECT language FROM table_2509350_3 WHERE sopachuy_municipality = 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_12485020_1 (ds_division VARCHAR, divisional_secretary VARCHAR)
### Question:
What DS division has S. L. M. Haneefa as the divisional secretary?
### Answer:
SELECT ds_division FROM table_12485020_1 WHERE divisional_secretary = "S. L. M. Haneefa" |
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 (tournament VARCHAR, opponent VARCHAR)
### Question:
In what Tournament was laura Gildemeister the Opponent?
### Answer:
SELECT tournament FROM table_name_50 WHERE opponent = "laura gildemeister" |
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 (game VARCHAR, opponent VARCHAR)
### Question:
Opponent of @ atlanta flames had what game?
### Answer:
SELECT game FROM table_name_44 WHERE opponent = "@ atlanta flames" |
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_96 (name VARCHAR, decile VARCHAR, area VARCHAR)
### Question:
Which name has a Decile of 5, and an Area of tauranga?
### Answer:
SELECT name FROM table_name_96 WHERE decile = 5 AND area = "tauranga" |
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 (swimsuit INTEGER, evening_gown VARCHAR, interview VARCHAR)
### Question:
What is the number for swimsuit when the evening gown number is larger than 9.257 and the interview number is 9.357?
### Answer:
SELECT SUM(swimsuit) FROM table_name_25 WHERE evening_gown > 9.257 AND interview = 9.357 |
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 (country VARCHAR, player VARCHAR)
### Question:
What Country has Player Ky Laffoon?
### Answer:
SELECT country FROM table_name_80 WHERE player = "ky laffoon" |
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 (volume VARCHAR, isbn VARCHAR)
### Question:
What is the number of the volume that has an ISBN of 978-1-59582-712-8 (hc) 978-1-59582-713-5 (tpb)?
### Answer:
SELECT volume FROM table_name_49 WHERE isbn = "978-1-59582-712-8 (hc) 978-1-59582-713-5 (tpb)" |
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 (championship VARCHAR, date VARCHAR)
### Question:
What Championship has a Date of 26 may 1986?
### Answer:
SELECT championship FROM table_name_66 WHERE date = "26 may 1986" |
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_2669287_1 (season VARCHAR, rank VARCHAR)
### Question:
How many seasons was the rank equal to #50?
### Answer:
SELECT COUNT(season) FROM table_2669287_1 WHERE rank = "#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_61 (date VARCHAR, venue VARCHAR)
### Question:
On which date was the venue at Windy Hill?
### Answer:
SELECT date FROM table_name_61 WHERE venue = "windy hill" |
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_63 (opponent VARCHAR, record VARCHAR)
### Question:
Which opponent has a record of 52-52?
### Answer:
SELECT opponent FROM table_name_63 WHERE record = "52-52" |
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_87 (total INTEGER, nation VARCHAR)
### Question:
How many medals did China receive?
### Answer:
SELECT MIN(total) FROM table_name_87 WHERE nation = "china" |
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_39 (team VARCHAR, laps VARCHAR, points VARCHAR)
### Question:
Which team had 64 laps and 13 points?
### Answer:
SELECT team FROM table_name_39 WHERE laps = 64 AND points = 13 |
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 (score VARCHAR, attendance VARCHAR, home_team VARCHAR)
### Question:
What is the score when the attendance is greater than 134 and Workington is the home team?
### Answer:
SELECT score FROM table_name_30 WHERE attendance > 134 AND home_team = "workington" |
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_69 (block INTEGER, height VARCHAR, spike VARCHAR)
### Question:
What is the lowest number of blocks for players with height of 206 and more than 356 spikes?
### Answer:
SELECT MIN(block) FROM table_name_69 WHERE height = 206 AND spike > 356 |
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 (number_of_electorates__2009_ INTEGER, name VARCHAR)
### Question:
What is Beohari's highest number of electorates?
### Answer:
SELECT MAX(number_of_electorates__2009_) FROM table_name_81 WHERE name = "beohari" |
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 (roman_equivalent VARCHAR)
### Question:
what is the "normalized" transliteration for Roman i
### Answer:
SELECT "normalised" AS _transliteration FROM table_name_9 WHERE roman_equivalent = "i" |
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 (power VARCHAR, frequency VARCHAR)
### Question:
what is the Power with 88.5 fm Frequency
### Answer:
SELECT power FROM table_name_50 WHERE frequency = "88.5 fm" |
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_29 (time VARCHAR, song_title VARCHAR)
### Question:
What is the time from the song called Treat Me Nice?
### Answer:
SELECT time FROM table_name_29 WHERE song_title = "treat me nice" |
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 (province VARCHAR, _community VARCHAR, contestant VARCHAR)
### Question:
Which province has the contestant elixandra tobias carasco?
### Answer:
SELECT province, _community FROM table_name_81 WHERE contestant = "elixandra tobias carasco" |
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_89 (neon VARCHAR, argon VARCHAR)
### Question:
What neon has an Argon of 4.203?
### Answer:
SELECT neon FROM table_name_89 WHERE argon = "4.203" |
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_191105_2 (performed_by VARCHAR, subject VARCHAR)
### Question:
When interjection is the subject how many performers are there?
### Answer:
SELECT COUNT(performed_by) FROM table_191105_2 WHERE subject = "interjection" |
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_29 (championship_game VARCHAR, conference VARCHAR)
### Question:
Tell me the championship game for big eight
### Answer:
SELECT championship_game FROM table_name_29 WHERE conference = "big eight" |
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_23287683_1 (title VARCHAR, directed_by VARCHAR)
### Question:
How many episodes were directed by Sarah Pia Anderson?
### Answer:
SELECT COUNT(title) FROM table_23287683_1 WHERE directed_by = "Sarah Pia Anderson" |
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 (song_choice VARCHAR, theme VARCHAR, week__number VARCHAR)
### Question:
When the week # is listed as Hollywood, and the Theme is N/A, what song is listed?
### Answer:
SELECT song_choice FROM table_name_82 WHERE theme = "n/a" AND week__number = "hollywood" |
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_61 (draws INTEGER, wins VARCHAR, against VARCHAR, losses VARCHAR)
### Question:
What is the sum of the draws with less than 2284 against, 8 losses, and more than 10 wins?
### Answer:
SELECT SUM(draws) FROM table_name_61 WHERE against < 2284 AND losses = 8 AND wins > 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 people (Nationality VARCHAR)
### Question:
How many distinct nationalities are there?
### Answer:
SELECT COUNT(DISTINCT Nationality) FROM people |
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 (driver VARCHAR, grid VARCHAR)
### Question:
Which driver had a grid of 22?
### Answer:
SELECT driver FROM table_name_43 WHERE grid = "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_26464364_1 (us_air_date VARCHAR, _number VARCHAR)
### Question:
On which date did episode # 18 air in the U.S.?
### Answer:
SELECT us_air_date FROM table_26464364_1 WHERE _number = 18 |
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 (heat VARCHAR, time VARCHAR)
### Question:
What is the heat for the time 57.97?
### Answer:
SELECT heat FROM table_name_62 WHERE time = "57.97" |
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 (builder VARCHAR, completed VARCHAR, launched VARCHAR)
### Question:
Which builder completed before 1890 and launched on 9 june 1888?
### Answer:
SELECT builder FROM table_name_84 WHERE completed < 1890 AND launched = "9 june 1888" |
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_17801022_1 (race_time VARCHAR, average_speed__mph_ VARCHAR)
### Question:
For races with an average speed of 113.835 mph, what are the winning race times?
### Answer:
SELECT race_time FROM table_17801022_1 WHERE average_speed__mph_ = "113.835" |
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_40 (position VARCHAR, pick__number VARCHAR, college VARCHAR)
### Question:
What is Position, when Pick # is less than 40, and when College is Western?
### Answer:
SELECT position FROM table_name_40 WHERE pick__number < 40 AND college = "western" |
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_55 (grand_prix VARCHAR, motogp_winner VARCHAR, circuit VARCHAR)
### Question:
Name the grand prix for casey stoner and circuit of losail
### Answer:
SELECT grand_prix FROM table_name_55 WHERE motogp_winner = "casey stoner" AND circuit = "losail" |
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_2980024_1 (other_goals VARCHAR, league_goals VARCHAR)
### Question:
How many other goals did Dunne have in the season where he had 1 league goal?
### Answer:
SELECT other_goals FROM table_2980024_1 WHERE league_goals = 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_68 (conceded INTEGER, position VARCHAR, wins VARCHAR)
### Question:
What is the average conceded number of the team with a position lower than 8 and more than 2 wins?
### Answer:
SELECT AVG(conceded) FROM table_name_68 WHERE position > 8 AND wins > 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_97 (position VARCHAR, round VARCHAR, player VARCHAR)
### Question:
Which Position has a Round larger than 6, and a Player of neil pilon?
### Answer:
SELECT position FROM table_name_97 WHERE round > 6 AND player = "neil pilon" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.