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 advisor (s_id VARCHAR)
### Question:
How many students have advisors?
### Answer:
SELECT COUNT(DISTINCT s_id) FROM advisor |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_13566548_1 (autonomous_community VARCHAR, wind_power VARCHAR)
### Question:
What is the community with a wind power of 1042?
### Answer:
SELECT autonomous_community FROM table_13566548_1 WHERE wind_power = 1042 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_20026849_1 (season VARCHAR, winner VARCHAR)
### Question:
What season was won by Anthony Yeh?
### Answer:
SELECT season FROM table_20026849_1 WHERE winner = "Anthony Yeh" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14962316_9 (recopa_sudamericana_1998 VARCHAR, team VARCHAR)
### Question:
Did Flamengo play in the Recopa Sudamericana in 1998
### Answer:
SELECT recopa_sudamericana_1998 FROM table_14962316_9 WHERE team = "Flamengo" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE company (Name VARCHAR, Company_ID VARCHAR); CREATE TABLE people (People_ID VARCHAR); CREATE TABLE employment (People_ID VARCHAR, Company_ID VARCHAR)
### Question:
Show the names of companies and the number of employees they have
### Answer:
SELECT T3.Name, COUNT(*) FROM employment AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID JOIN company AS T3 ON T1.Company_ID = T3.Company_ID GROUP BY T3.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_20246201_9 (office VARCHAR, states___third_place VARCHAR)
### Question:
Which office has 1 New Hampshire as a third place state?
### Answer:
SELECT office FROM table_20246201_9 WHERE states___third_place = "1 New Hampshire" |
Below is an context that describes a 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 (player VARCHAR, position VARCHAR, caps VARCHAR)
### Question:
Which player has a Position of fly-half, and a Caps of 3?
### Answer:
SELECT player FROM table_name_41 WHERE position = "fly-half" AND caps = 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_4 (condition VARCHAR, platelet_count VARCHAR, partial_thromboplastin_time VARCHAR, prothrombin_time VARCHAR)
### Question:
Name the condition with partial thromboplastin time of unaffected and prothrombin time of unaffected with platelet count of decreased
### Answer:
SELECT condition FROM table_name_4 WHERE partial_thromboplastin_time = "unaffected" AND prothrombin_time = "unaffected" AND platelet_count = "decreased" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_161591_2 (expenditure__s$m_ VARCHAR, operating_profit__s$m_ VARCHAR)
### Question:
What was the expenditure (s$m) associated with an operating profit (s$m) of 717.1?
### Answer:
SELECT expenditure__s$m_ FROM table_161591_2 WHERE operating_profit__s$m_ = "717.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_48 (score VARCHAR, player VARCHAR, country VARCHAR, place VARCHAR)
### Question:
Can you tell me the Score that has the Country of united states, and the Place of t2, and the Player of tom watson?
### Answer:
SELECT score FROM table_name_48 WHERE country = "united states" AND place = "t2" AND player = "tom watson" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2930244_3 (number_of_major_hurricanes VARCHAR, deaths VARCHAR)
### Question:
When the death is none what is the number of major hurricanes?
### Answer:
SELECT COUNT(number_of_major_hurricanes) FROM table_2930244_3 WHERE deaths = "None" |
Below is an context that describes a 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 (home VARCHAR, away VARCHAR)
### Question:
Which Home has an Away of hispano?
### Answer:
SELECT home FROM table_name_62 WHERE away = "hispano" |
Below is an context that describes a 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_77 (white__both_hispanic_and_non_hispanic_ VARCHAR, black__both_hispanic_and_non_hispanic_ VARCHAR, hispanic__of_any_race_ VARCHAR)
### Question:
What is the total number of white (Hispanic/Non-Hispanic) having a black (Hispanic/Non-Hispanic) of 9.9 and Hispanic under 99.5?
### Answer:
SELECT COUNT(white__both_hispanic_and_non_hispanic_) FROM table_name_77 WHERE black__both_hispanic_and_non_hispanic_ = 9.9 AND hispanic__of_any_race_ < 99.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_52 (played INTEGER, points VARCHAR, bp VARCHAR)
### Question:
Played that has a Points of 38, and a B.P. larger than 5 has what sum?
### Answer:
SELECT SUM(played) FROM table_name_52 WHERE points = 38 AND bp > 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_63 (year VARCHAR, league VARCHAR)
### Question:
What years did the Nashville Metros have Usisl Indoor League?
### Answer:
SELECT year FROM table_name_63 WHERE league = "usisl indoor" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28418916_3 (coastal_carolina_head_coach VARCHAR, year VARCHAR)
### Question:
Who was the coastal Carolina head coach in 2013?
### Answer:
SELECT coastal_carolina_head_coach FROM table_28418916_3 WHERE 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_16570286_4 (wickets INTEGER, average VARCHAR)
### Question:
What number of wickets were there when the average was 22.66?
### Answer:
SELECT MAX(wickets) FROM table_16570286_4 WHERE average = "22.66" |
Below is an context that describes a 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 (date VARCHAR, record VARCHAR)
### Question:
Which Date has a Record of 58–10?
### Answer:
SELECT date FROM table_name_78 WHERE record = "58–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_36 (client VARCHAR, gnu_linux VARCHAR)
### Question:
Which client had no GNU/Linux?
### Answer:
SELECT client FROM table_name_36 WHERE gnu_linux = "no" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1425958_1 (density__pop_km²_ VARCHAR, _percentage_change VARCHAR)
### Question:
When the change is 8.8%, what is the density (pop/km²)?
### Answer:
SELECT density__pop_km²_ FROM table_1425958_1 WHERE _percentage_change = "8.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_95 (neon VARCHAR, argon VARCHAR)
### Question:
Which Neon has a Argon of −189.6?
### Answer:
SELECT neon FROM table_name_95 WHERE argon = "−189.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_name_89 (cores VARCHAR, part_number_s_ VARCHAR)
### Question:
What's the cores with the part number cl8064701477202?
### Answer:
SELECT cores FROM table_name_89 WHERE part_number_s_ = "cl8064701477202" |
Below is an context that describes a 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 (attendance INTEGER, date VARCHAR)
### Question:
What was the lowest Attendance for Games played on the Date of February 5?
### Answer:
SELECT MIN(attendance) FROM table_name_1 WHERE date = "february 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_2226817_12 (title VARCHAR, production_code VARCHAR)
### Question:
what is the name of the episode when the production code is 11.01?
### Answer:
SELECT title FROM table_2226817_12 WHERE production_code = "11.01" |
Below is an context that describes a 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 (time VARCHAR, notes VARCHAR, country VARCHAR)
### Question:
What is the Time of the Great Britain players with Notes of SA/B?
### Answer:
SELECT time FROM table_name_66 WHERE notes = "sa/b" AND country = "great britain" |
Below is an context that describes a 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 (week_6 VARCHAR, week_2 VARCHAR)
### Question:
What kind of Week 6 has a Week 2 of see notes 2 , 3 , 4?
### Answer:
SELECT week_6 FROM table_name_80 WHERE week_2 = "see notes 2 , 3 , 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_name_7 (shooting_score__pts_ VARCHAR, total VARCHAR, athlete VARCHAR)
### Question:
Which Shooting Score (pts) has a Total larger than 5464 and a Athlete of heather fell ( gbr )?
### Answer:
SELECT shooting_score__pts_ FROM table_name_7 WHERE total > 5464 AND athlete = "heather fell ( gbr )" |
Below is an context that describes a 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 (university_students_and_adults__18yrs VARCHAR, _ VARCHAR, specification VARCHAR, gender VARCHAR)
### Question:
Which University students and adults have minimum diameter of Sakigawa for female gender?
### Answer:
SELECT university_students_and_adults__18yrs + _ FROM table_name_86 WHERE specification = "minimum diameter of sakigawa" AND gender = "female" |
Below is an context that describes a 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 (played INTEGER, goals_for VARCHAR, wins VARCHAR)
### Question:
What is the lowest played number when goals for is 47, and wins is smaller than 14?
### Answer:
SELECT MIN(played) FROM table_name_48 WHERE goals_for = 47 AND wins < 14 |
Below is an context that describes a 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 (games INTEGER, season VARCHAR, red_cards VARCHAR)
### Question:
Which Games has a Season of 2003/2004, and a Red Cards smaller than 5?
### Answer:
SELECT AVG(games) FROM table_name_65 WHERE season = "2003/2004" AND red_cards < 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_83 (crowd INTEGER, venue VARCHAR)
### Question:
What was the smallest crowd of vfl park?
### Answer:
SELECT MIN(crowd) FROM table_name_83 WHERE venue = "vfl 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_22 (dcsf_number INTEGER, faith VARCHAR, opened VARCHAR)
### Question:
Faith of rc, and a Opened larger than 1966 which has the highest DCSF number?
### Answer:
SELECT MAX(dcsf_number) FROM table_name_22 WHERE faith = "rc" AND opened > 1966 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2214582_3 (round VARCHAR, opponents VARCHAR)
### Question:
What round did they face fc st. gallen?
### Answer:
SELECT COUNT(round) FROM table_2214582_3 WHERE opponents = "FC St. Gallen" |
Below is an context that describes a 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 (nation VARCHAR, total VARCHAR, silver VARCHAR, gold VARCHAR)
### Question:
What Nation has more than 4 silver, more than 3 gold and 18 total medals?
### Answer:
SELECT nation FROM table_name_76 WHERE silver > 4 AND gold > 3 AND total = 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_31 (wins INTEGER, position VARCHAR, f_laps VARCHAR)
### Question:
What is the average wins with a 20th position and more than 0 f/laps?
### Answer:
SELECT AVG(wins) FROM table_name_31 WHERE position = "20th" AND f_laps > 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_36 (round VARCHAR, event VARCHAR)
### Question:
What Round is the Event cage rage 17?
### Answer:
SELECT round FROM table_name_36 WHERE event = "cage rage 17" |
Below is an context that describes a 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 (model VARCHAR, number_built VARCHAR, chassis_code VARCHAR)
### Question:
What model has a number built smaller than 6.526, and the Chassis code w109.015?
### Answer:
SELECT model FROM table_name_82 WHERE number_built < 6.526 AND chassis_code = "w109.015" |
Below is an context that describes a 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 (high_points VARCHAR, date VARCHAR)
### Question:
What player had the high point on July 7?
### Answer:
SELECT high_points FROM table_name_21 WHERE date = "july 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_41 (people_per_km² INTEGER, regions VARCHAR, area VARCHAR)
### Question:
What is the sum of people per km2 for the sandoy region with an area of 112.1?
### Answer:
SELECT SUM(people_per_km²) FROM table_name_41 WHERE regions = "sandoy" AND area = 112.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_1342149_42 (result VARCHAR, candidates VARCHAR)
### Question:
What is the candidates result that is tom j. murray (d) unopposed?
### Answer:
SELECT result FROM table_1342149_42 WHERE candidates = "Tom J. Murray (D) Unopposed" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28062822_3 (contestant VARCHAR, sponsor VARCHAR)
### Question:
Which contestant was sponsored by Yogurt Vita Slim?
### Answer:
SELECT contestant FROM table_28062822_3 WHERE sponsor = "Yogurt Vita Slim" |
Below is an context that describes a 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 (date VARCHAR, tier VARCHAR)
### Question:
Which date has the tier of Itf $10k?
### Answer:
SELECT date FROM table_name_66 WHERE tier = "itf $10k" |
Below is an context that describes 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_name VARCHAR, product_id VARCHAR); CREATE TABLE Order_items (product_id VARCHAR); CREATE TABLE Products (product_name VARCHAR)
### Question:
Show all product names without an order.
### Answer:
SELECT product_name FROM Products EXCEPT SELECT T1.product_name FROM Products AS T1 JOIN Order_items AS T2 ON T1.product_id = T2.product_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_25604014_5 (written_by VARCHAR, no_in_series VARCHAR)
### Question:
Who wrote episode number 81 in the series?
### Answer:
SELECT written_by FROM table_25604014_5 WHERE no_in_series = 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_name_89 (district VARCHAR, result VARCHAR, incumbent VARCHAR)
### Question:
wWhich district has a retired republican hold with an incumbent of rufus p. spalding?
### Answer:
SELECT district FROM table_name_89 WHERE result = "retired republican hold" AND incumbent = "rufus p. spalding" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_18712423_3 (directed_by VARCHAR, written_by VARCHAR)
### Question:
Who directed the episode written by Matt Ford?
### Answer:
SELECT directed_by FROM table_18712423_3 WHERE written_by = "Matt Ford" |
Below is an context that describes a 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 (player VARCHAR, s_wicket VARCHAR)
### Question:
Which player has a s wicket at 48?
### Answer:
SELECT player FROM table_name_84 WHERE s_wicket = "48" |
Below is an context that describes a 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 (date VARCHAR, ground VARCHAR)
### Question:
What day was the ground subiaco?
### Answer:
SELECT date FROM table_name_8 WHERE ground = "subiaco" |
Below is an context that describes a 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 (week VARCHAR, opponent VARCHAR)
### Question:
Which week was the game against the San Diego Chargers?
### Answer:
SELECT week FROM table_name_91 WHERE opponent = "san diego chargers" |
Below is an context that describes a 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 (away_team VARCHAR, venue VARCHAR)
### Question:
What home team played at MCG?
### Answer:
SELECT away_team FROM table_name_18 WHERE venue = "mcg" |
Below is an context that describes a 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 (total VARCHAR, time VARCHAR, set_3 VARCHAR)
### Question:
How much is the total with a time at 16:00 and score for set 3 of 18–25?
### Answer:
SELECT total FROM table_name_41 WHERE time = "16:00" AND set_3 = "18–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_89 (guests VARCHAR, ship_name VARCHAR, crew VARCHAR)
### Question:
What is the total for guests with a ship name of rv indochina, and a crew smaller than 28?
### Answer:
SELECT COUNT(guests) FROM table_name_89 WHERE ship_name = "rv indochina" AND crew < 28 |
Below is an context that describes a 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 (park_and_ride_lot VARCHAR, station_name VARCHAR)
### Question:
What is the park & ride lot for the Temple Square station?
### Answer:
SELECT park_and_ride_lot FROM table_name_97 WHERE station_name = "temple square" |
Below is an context that describes a 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 (lost INTEGER, goals_against VARCHAR)
### Question:
What are the lowest lost has 111 as the goals against?
### Answer:
SELECT MIN(lost) FROM table_name_9 WHERE goals_against = 111 |
Below is an context that describes a 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 (league_goals INTEGER, flt_goals VARCHAR, total_apps VARCHAR, position VARCHAR, league_cup_apps VARCHAR)
### Question:
What is the sum of League Goals, when Position is "DF", when League Cup Apps is "0", when Total Apps is "7", and when FLT Goals is less than 0?
### Answer:
SELECT SUM(league_goals) FROM table_name_95 WHERE position = "df" AND league_cup_apps = "0" AND total_apps = "7" AND flt_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_1997759_1 (number VARCHAR, registration VARCHAR)
### Question:
how many number is located at registration f-bvff?
### Answer:
SELECT COUNT(number) FROM table_1997759_1 WHERE registration = "F-BVFF" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25368177_1 (team VARCHAR, net_run_rate VARCHAR)
### Question:
What team had a net run rate of 0.134?
### Answer:
SELECT team FROM table_25368177_1 WHERE net_run_rate = "0.134" |
Below is an context that describes a 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 (rowers VARCHAR, notes VARCHAR, time VARCHAR)
### Question:
Who are the rowers with a time of 6:41.45 and notes of FA?
### Answer:
SELECT rowers FROM table_name_33 WHERE notes = "fa" AND time = "6:41.45" |
Below is an context that describes a 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_13 (population_1991 INTEGER, name VARCHAR, population_2007 VARCHAR)
### Question:
What is the highest population in 1991 in Baden Bei Wien, and a 2007 population larger than 25,284?
### Answer:
SELECT MAX(population_1991) FROM table_name_13 WHERE name = "baden bei wien" AND population_2007 > 25 OFFSET 284 |
Below is an context that describes a 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 (years_for_grizzlies VARCHAR, school_club_team VARCHAR)
### Question:
Which years did the player from Providence play for Memphis?
### Answer:
SELECT years_for_grizzlies FROM table_name_62 WHERE school_club_team = "providence" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27712180_13 (team VARCHAR, date VARCHAR)
### Question:
What was the name of the opposing team on the May 6 game?
### Answer:
SELECT team FROM table_27712180_13 WHERE date = "May 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 stadium (name VARCHAR, capacity INTEGER)
### Question:
Find the names of stadiums whose capacity is smaller than the average capacity.
### Answer:
SELECT name FROM stadium WHERE capacity < (SELECT AVG(capacity) FROM 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 customer (active VARCHAR)
### Question:
How many customers have an active value of 1?
### Answer:
SELECT COUNT(*) FROM customer WHERE active = '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_61 (duration VARCHAR, end_time VARCHAR)
### Question:
What is the duration of the flight with end time of 21:06?
### Answer:
SELECT duration FROM table_name_61 WHERE end_time = "21:06" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_20193855_2 (result VARCHAR, book_title VARCHAR)
### Question:
What is the result of the book title firelands?
### Answer:
SELECT result FROM table_20193855_2 WHERE book_title = "Firelands" |
Below is an context that describes a 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 (country VARCHAR, pinnacle_height VARCHAR, name VARCHAR)
### Question:
Which Country has a Pinnacle height of metres (ft) and a Name of azeri tv tower?
### Answer:
SELECT country FROM table_name_37 WHERE pinnacle_height = "metres (ft)" AND name = "azeri tv tower" |
Below is an context that describes a 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 (goal_difference INTEGER, played INTEGER)
### Question:
How many goal differences have Played larger than 44?
### Answer:
SELECT SUM(goal_difference) FROM table_name_99 WHERE played > 44 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE county_public_safety (Police_force VARCHAR, LOCATION VARCHAR)
### Question:
List the distinct police forces of counties whose location is not on east side.
### Answer:
SELECT DISTINCT Police_force FROM county_public_safety WHERE LOCATION <> "East" |
Below is an context that describes a 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 (nationality VARCHAR, round VARCHAR, college VARCHAR)
### Question:
For the draft pick from round 3 out of Mercer College what is the nationality?
### Answer:
SELECT nationality FROM table_name_94 WHERE round = 3 AND college = "mercer" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15187735_13 (segment_b VARCHAR, segment_a VARCHAR)
### Question:
Name the segment b for pressure cookers
### Answer:
SELECT segment_b FROM table_15187735_13 WHERE segment_a = "Pressure Cookers" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1341453_12 (candidates VARCHAR, incumbent VARCHAR)
### Question:
Who were the candidates in the election where Saxby Chambliss was the incumbent?
### Answer:
SELECT candidates FROM table_1341453_12 WHERE incumbent = "Saxby Chambliss" |
Below is an context that describes a 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_70 (team VARCHAR, laps VARCHAR, grid VARCHAR)
### Question:
What team has 104 laps and a grid of 10?
### Answer:
SELECT team FROM table_name_70 WHERE laps = 104 AND grid = 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_12 (team VARCHAR, sponsor VARCHAR)
### Question:
what is the sponsor of motorola
### Answer:
SELECT team FROM table_name_12 WHERE sponsor = "motorola" |
Below is an context that describes a 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 (second VARCHAR, third VARCHAR)
### Question:
What is the Second when the third is don walchuk?
### Answer:
SELECT second FROM table_name_91 WHERE third = "don walchuk" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_242813_2 (team VARCHAR, overall_rank VARCHAR)
### Question:
Name the team ranked 4
### Answer:
SELECT COUNT(team) FROM table_242813_2 WHERE overall_rank = 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_name_69 (name VARCHAR, series VARCHAR, hometown VARCHAR)
### Question:
What is the name of the person from series bb1 with a hometown of Bolton?
### Answer:
SELECT name FROM table_name_69 WHERE series = "bb1" AND hometown = "bolton" |
Below is an context that describes a 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 (construction_start VARCHAR, inauguration_date VARCHAR)
### Question:
What Construction Start has an Inauguration Date of 2010 june?
### Answer:
SELECT construction_start FROM table_name_39 WHERE inauguration_date = "2010 june" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1342233_11 (party VARCHAR, candidates VARCHAR)
### Question:
Which party is associated with the candidate Albert Sidney Camp (D) unopposed?
### Answer:
SELECT COUNT(party) FROM table_1342233_11 WHERE candidates = "Albert Sidney Camp (D) Unopposed" |
Below is an context that describes a 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 (record VARCHAR, attendance VARCHAR)
### Question:
Who won when the attendance was 8,000?
### Answer:
SELECT record FROM table_name_52 WHERE attendance = "8,000" |
Below is an context that describes a 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 (decision VARCHAR, date VARCHAR)
### Question:
Who had the decision goal when the date was 1?
### Answer:
SELECT decision FROM table_name_73 WHERE date = 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_11 (last_title VARCHAR, club VARCHAR)
### Question:
Name the last time for club of newell's old boys
### Answer:
SELECT last_title FROM table_name_11 WHERE club = "newell's old boys" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE player (School_ID VARCHAR); CREATE TABLE school (Location VARCHAR, School_ID VARCHAR)
### Question:
Show the locations of schools that have more than 1 player.
### Answer:
SELECT T2.Location FROM player AS T1 JOIN school AS T2 ON T1.School_ID = T2.School_ID GROUP BY T1.School_ID HAVING COUNT(*) > 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_1341472_12 (candidates VARCHAR, incumbent VARCHAR)
### Question:
Who were the candidates in the district where Charlie Norwood is the incumbent?
### Answer:
SELECT candidates FROM table_1341472_12 WHERE incumbent = "Charlie Norwood" |
Below is an context that describes a 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 (date VARCHAR, winning_score VARCHAR)
### Question:
What is Date, when Winning Score is −14 (68-68-67-71=274)?
### Answer:
SELECT date FROM table_name_38 WHERE winning_score = −14(68 - 68 - 67 - 71 = 274) |
Below is an context that describes a 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 (pick INTEGER, round VARCHAR, nationality VARCHAR, college VARCHAR)
### Question:
What is the highest Pick, when Nationality is "United States", when College is "New Mexico State", and when Round is greater than 6?
### Answer:
SELECT MAX(pick) FROM table_name_35 WHERE nationality = "united states" AND college = "new mexico state" AND round > 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_name_78 (rank INTEGER, total VARCHAR, silver VARCHAR, gold VARCHAR)
### Question:
What is the sum of rank with more than 1 silver medal, 1 gold medal, and less than 6?
### Answer:
SELECT SUM(rank) FROM table_name_78 WHERE silver > 1 AND gold = 1 AND total < 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 concert (YEAR VARCHAR)
### Question:
How many concerts are there in year 2014 or 2015?
### Answer:
SELECT COUNT(*) FROM concert WHERE YEAR = 2014 OR YEAR = 2015 |
Below is an context that describes a 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 (technology VARCHAR, gel_pouring VARCHAR, analysis_time VARCHAR)
### Question:
what is the technology when the gel pouring is no and the analysis time is 8 days?
### Answer:
SELECT technology FROM table_name_88 WHERE gel_pouring = "no" AND analysis_time = "8 days" |
Below is an context that describes a 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 (game INTEGER, opponent VARCHAR, points VARCHAR)
### Question:
What's the highest game against the New York Rangers with more than 55 points?
### Answer:
SELECT MAX(game) FROM table_name_16 WHERE opponent = "new york rangers" AND points > 55 |
Below is an context that describes a 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 (team VARCHAR, make VARCHAR)
### Question:
What team drove a Dodge vehicle?
### Answer:
SELECT team FROM table_name_27 WHERE make = "dodge" |
Below is an context that describes a 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 (record VARCHAR, visitor VARCHAR)
### Question:
Visitor of calgary has what record?
### Answer:
SELECT record FROM table_name_30 WHERE visitor = "calgary" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27723526_9 (location_attendance VARCHAR, team VARCHAR)
### Question:
What location did the Mavericks play against Milwaukee?
### Answer:
SELECT location_attendance FROM table_27723526_9 WHERE team = "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_61 (english_translation VARCHAR, artist VARCHAR)
### Question:
Can you tell me the English translation that has the Artist of camillo felgen?
### Answer:
SELECT english_translation FROM table_name_61 WHERE artist = "camillo felgen" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_19864214_3 (no_decisions INTEGER, pitcher VARCHAR)
### Question:
what is the least number of no decisions for scott feldman category:articles with hcards
### Answer:
SELECT MIN(no_decisions) FROM table_19864214_3 WHERE pitcher = "Scott Feldman Category:Articles with hCards" |
Below is an context that describes a 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 (pick__number INTEGER, round INTEGER)
### Question:
What is the highest pick # after round 11?
### Answer:
SELECT MAX(pick__number) FROM table_name_33 WHERE round > 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_57 (game__number INTEGER, record VARCHAR)
### Question:
Record of 11-10-3 is what sum of game #?
### Answer:
SELECT SUM(game__number) FROM table_name_57 WHERE record = "11-10-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_93 (score INTEGER, player VARCHAR)
### Question:
What was Bernhard Langer's highest score?
### Answer:
SELECT MAX(score) FROM table_name_93 WHERE player = "bernhard langer" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1817852_1 (destroyed VARCHAR, aircraft VARCHAR)
### Question:
If the aircraft was ussr mig-25 rb how many were destroyed?
### Answer:
SELECT destroyed FROM table_1817852_1 WHERE aircraft = "USSR MiG-25 RB" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1342233_5 (district VARCHAR, incumbent VARCHAR)
### Question:
How many districts had William F. Norrell as the incumbent?
### Answer:
SELECT COUNT(district) FROM table_1342233_5 WHERE incumbent = "William F. Norrell" |
Below is an context that describes a 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_58 (career_games VARCHAR, date_and_opponent VARCHAR)
### Question:
Which Career Games has a Date and Opponent of 12/15/92 vs. uw–milwaukee?
### Answer:
SELECT career_games FROM table_name_58 WHERE date_and_opponent = "12/15/92 vs. uw–milwaukee" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.