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 FLIGHTS (Airline VARCHAR); CREATE TABLE AIRLINES (uid VARCHAR, Airline VARCHAR)
### Question:
How many flights does airline 'JetBlue Airways' have?
### Answer:
SELECT COUNT(*) FROM FLIGHTS AS T1 JOIN AIRLINES AS T2 ON T1.Airline = T2.uid WHERE T2.Airline = "JetBlue Airways" |
Below is an context that describes a sql 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 (opponent VARCHAR, week VARCHAR)
### Question:
Who did the Texan's play on Week 4?
### Answer:
SELECT opponent FROM table_name_37 WHERE week = "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_81 (launched VARCHAR, territory VARCHAR, channel VARCHAR)
### Question:
When did channel 83 in singapore launch?
### Answer:
SELECT launched FROM table_name_81 WHERE territory = "singapore" AND channel = 83 |
Below is an context that describes a sql 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 (season VARCHAR, league VARCHAR, european_competitions VARCHAR)
### Question:
What is the Season when league shows bundesliga, and a European competition of played korac cup?
### Answer:
SELECT season FROM table_name_25 WHERE league = "bundesliga" AND european_competitions = "played korac cup" |
Below is an context that describes a sql 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, away_team VARCHAR)
### Question:
When st kilda played as the away team, what date was that?
### Answer:
SELECT date FROM table_name_67 WHERE away_team = "st kilda" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_12936521_2 (nickname VARCHAR, institution VARCHAR)
### Question:
What's the nickname of the University of Massachusetts Lowell (UMass Lowell)?
### Answer:
SELECT nickname FROM table_12936521_2 WHERE institution = "University of Massachusetts Lowell (UMass Lowell)" |
Below is an context that describes a sql 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 (location VARCHAR, round VARCHAR, time VARCHAR)
### Question:
I want the location for round of 3 and time of 4:40
### Answer:
SELECT location FROM table_name_4 WHERE round = 3 AND time = "4: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_62 (tournaments_played INTEGER, year VARCHAR)
### Question:
what is the least tournaments played when the year is 1998?
### Answer:
SELECT MIN(tournaments_played) FROM table_name_62 WHERE year = 1998 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_53 (home_team VARCHAR, away_team VARCHAR)
### Question:
What is the name of the Home team that played Fitzroy as the Away team?
### Answer:
SELECT home_team FROM table_name_53 WHERE away_team = "fitzroy" |
Below is an context that describes a sql 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 (country VARCHAR, player VARCHAR)
### Question:
What country is Lee Trevino from?
### Answer:
SELECT country FROM table_name_41 WHERE player = "lee trevino" |
Below is an context that describes a sql 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 (laps INTEGER, start VARCHAR, qual VARCHAR)
### Question:
What's the average number of Laps, that had a start of 25, with a Qual of 138.063?
### Answer:
SELECT AVG(laps) FROM table_name_21 WHERE start = "25" AND qual = "138.063" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1341843_44 (candidates VARCHAR, incumbent VARCHAR)
### Question:
Who was the candidate when the incumbent was Richard C. White?
### Answer:
SELECT candidates FROM table_1341843_44 WHERE incumbent = "Richard C. White" |
Below is an context that describes a sql 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 (lane INTEGER, nationality VARCHAR, reaction_time VARCHAR, time VARCHAR)
### Question:
What is the Lane of the Athlete from Great Britain with a Reaction time of less than 0.218 and a Time larger than 44.74?
### Answer:
SELECT SUM(lane) FROM table_name_82 WHERE reaction_time < 0.218 AND time > 44.74 AND nationality = "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_68 (date VARCHAR, record VARCHAR)
### Question:
Which Date has a Record of 4–2–0?
### Answer:
SELECT date FROM table_name_68 WHERE record = "4–2–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_81 (title VARCHAR, director VARCHAR)
### Question:
On what title was Stephen Fossatti the director of?
### Answer:
SELECT title FROM table_name_81 WHERE director = "stephen fossatti" |
Below is an context that describes a sql 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 (_percentage_of_votes VARCHAR, party VARCHAR)
### Question:
What is the percentage of votes received by the party of family rights?
### Answer:
SELECT _percentage_of_votes FROM table_name_88 WHERE party = "family rights" |
Below is an context that describes a sql 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 (qual VARCHAR, finish VARCHAR)
### Question:
Which qual also has a finish total of 9?
### Answer:
SELECT qual FROM table_name_75 WHERE finish = "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_55 (br_nos VARCHAR)
### Question:
Which 1947 Nos has a BR Nos of 48730-9?
### Answer:
SELECT 1947 AS _nos FROM table_name_55 WHERE br_nos = "48730-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_11 (knots VARCHAR, ship VARCHAR, passengers VARCHAR)
### Question:
How many knots did the Ms Moby Vincent have when passengers was less than 1.6?
### Answer:
SELECT COUNT(knots) FROM table_name_11 WHERE ship = "ms moby vincent" AND passengers < 1.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_46 (league_goals INTEGER, fa_cup_apps VARCHAR, total_apps VARCHAR)
### Question:
What is the lowest league goals that have 0 as the FA Cup Apps, with 1 (3) as totals apps?
### Answer:
SELECT MIN(league_goals) FROM table_name_46 WHERE fa_cup_apps = "0" AND total_apps = "1 (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_26 (against VARCHAR, points VARCHAR, drawn VARCHAR, lost VARCHAR)
### Question:
Which Against has a Drawn smaller than 5, and a Lost smaller than 6, and a Points larger than 36?
### Answer:
SELECT COUNT(against) FROM table_name_26 WHERE drawn < 5 AND lost < 6 AND points > 36 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27733258_11 (team VARCHAR, date VARCHAR)
### Question:
What company plays on april 1?
### Answer:
SELECT team FROM table_27733258_11 WHERE date = "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_17 (laps VARCHAR, time VARCHAR, grid VARCHAR, bike VARCHAR)
### Question:
How many laps did the rider with a grid larger than 11, a Honda cbr1000rr bike, and a time of +42.633?
### Answer:
SELECT laps FROM table_name_17 WHERE grid > 11 AND bike = "honda cbr1000rr" AND time = "+42.633" |
Below is an context that describes a sql 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 (crowd INTEGER, ground VARCHAR)
### Question:
What kind of Crowd has a Ground of subiaco oval?
### Answer:
SELECT SUM(crowd) FROM table_name_41 WHERE ground = "subiaco oval" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17288825_9 (date VARCHAR, team VARCHAR)
### Question:
On what date did the Rockets play Memphis?
### Answer:
SELECT date FROM table_17288825_9 WHERE team = "Memphis" |
Below is an context that describes a sql 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 (death_date VARCHAR, place_of_death_or_residence VARCHAR, age__as_of_1_february_2014_ VARCHAR)
### Question:
Which Death date has a Place of death or residence of united states, and an Age (as of 1 February 2014) of 111 years, 61 days?
### Answer:
SELECT death_date FROM table_name_49 WHERE place_of_death_or_residence = "united states" AND age__as_of_1_february_2014_ = "111 years, 61 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_50 (issue VARCHAR, spoofed_title VARCHAR)
### Question:
What issue was the Spoofed Title of the crockford files in?
### Answer:
SELECT issue FROM table_name_50 WHERE spoofed_title = "the crockford files" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1140117_5 (report VARCHAR, race_name VARCHAR)
### Question:
What is the report for the race name V Ulster Trophy?
### Answer:
SELECT report FROM table_1140117_5 WHERE race_name = "V Ulster Trophy" |
Below is an context that describes a sql 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 (college VARCHAR, pick VARCHAR, pba_team VARCHAR)
### Question:
What is the College of the Player from PBA Team Alaska Milkmen with a Pick number of 3 or less?
### Answer:
SELECT college FROM table_name_65 WHERE pick < 3 AND pba_team = "alaska milkmen" |
Below is an context that describes a sql 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 (games VARCHAR, event VARCHAR)
### Question:
What games had the women's half middleweight event?
### Answer:
SELECT games FROM table_name_90 WHERE event = "women's half middleweight" |
Below is an context that describes a sql 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 (overall INTEGER, name VARCHAR, pick__number VARCHAR)
### Question:
What is the average overall of John Ayres, who had a pick # greater than 4?
### Answer:
SELECT AVG(overall) FROM table_name_38 WHERE name = "john ayres" AND pick__number > 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_93 (gold INTEGER, nation VARCHAR)
### Question:
How much gold received by nation of uzbekistan (uzb)?
### Answer:
SELECT MAX(gold) FROM table_name_93 WHERE nation = "uzbekistan (uzb)" |
Below is an context that describes a sql 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 (crowd INTEGER, away_team VARCHAR)
### Question:
What was the attendance when Fitzroy played as the away team?
### Answer:
SELECT AVG(crowd) FROM table_name_8 WHERE away_team = "fitzroy" |
Below is an context that describes a sql 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 (frequency_mhz INTEGER, call_sign VARCHAR)
### Question:
What is K236AM's lowest frequency in MHz?
### Answer:
SELECT MIN(frequency_mhz) FROM table_name_51 WHERE call_sign = "k236am" |
Below is an context that describes a sql 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 (film_title_used_in_nomination VARCHAR, country VARCHAR)
### Question:
What was the film title nominated from the Sweden?
### Answer:
SELECT film_title_used_in_nomination FROM table_name_16 WHERE country = "sweden" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_9 (date VARCHAR, performance VARCHAR)
### Question:
On which date is there a performance of more than 8.22.72?
### Answer:
SELECT date FROM table_name_9 WHERE performance = "8.22.72" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11609814_1 (constancy VARCHAR, permanence_of_the_body VARCHAR)
### Question:
what's the constancy where permanence of the body is meditation
### Answer:
SELECT constancy FROM table_11609814_1 WHERE permanence_of_the_body = "meditation" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_26 (pick INTEGER, year VARCHAR)
### Question:
What is the average pick in 1983?
### Answer:
SELECT AVG(pick) FROM table_name_26 WHERE year = 1983 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_13399573_4 (points_for VARCHAR, losing_bonus VARCHAR)
### Question:
In the 2008/2009 season one team had 1 losing bonus, How many points did that team score that year?
### Answer:
SELECT points_for FROM table_13399573_4 WHERE losing_bonus = "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 employees (job_id VARCHAR, hire_date INTEGER)
### Question:
Find job id and date of hire for those employees who was hired between November 5th, 2007 and July 5th, 2009.
### Answer:
SELECT job_id, hire_date FROM employees WHERE hire_date BETWEEN '2007-11-05' AND '2009-07-05' |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE postseason (team_id_loser VARCHAR, year VARCHAR); CREATE TABLE team (team_id_br VARCHAR, name VARCHAR)
### Question:
How many times did Boston Red Stockings lose in 2009 postseason?
### Answer:
SELECT COUNT(*) FROM postseason AS T1 JOIN team AS T2 ON T1.team_id_loser = T2.team_id_br WHERE T2.name = 'Boston Red Stockings' AND T1.year = 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_55 (rank INTEGER, silver VARCHAR, total VARCHAR)
### Question:
What is the total rank with more than 2 silver and total larger than 10?
### Answer:
SELECT SUM(rank) FROM table_name_55 WHERE silver = 2 AND total > 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_10 (ties INTEGER, losses VARCHAR, games_played VARCHAR)
### Question:
what is the lowest number of ties when the losses is 7 and games played is less than 10?
### Answer:
SELECT MIN(ties) FROM table_name_10 WHERE losses = 7 AND games_played < 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_38 (drawn INTEGER, lost VARCHAR)
### Question:
What is the lowest drawn for entries with a lost of 13?
### Answer:
SELECT MIN(drawn) FROM table_name_38 WHERE lost = 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_69 (height VARCHAR, name VARCHAR)
### Question:
How tall is Dylan Postl?
### Answer:
SELECT height FROM table_name_69 WHERE name = "dylan postl" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_21284653_1 (name VARCHAR, population_density VARCHAR)
### Question:
What is the only city name with a population density of 200?
### Answer:
SELECT name FROM table_21284653_1 WHERE population_density = "200" |
Below is an context that describes a sql 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 (opponent VARCHAR, record VARCHAR)
### Question:
What opponent has a record of 6-9?
### Answer:
SELECT opponent FROM table_name_27 WHERE record = "6-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_1644857_2 (stolen_ends VARCHAR, country VARCHAR, France VARCHAR)
### Question:
How many times is a score for stolen ends recorded for France?
### Answer:
SELECT COUNT(stolen_ends) FROM table_1644857_2 WHERE country = France |
Below is an context that describes a sql 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 (name VARCHAR, sport VARCHAR)
### Question:
What is the names for the medalist in the sport of canoeing?
### Answer:
SELECT name FROM table_name_25 WHERE sport = "canoeing" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2454589_1 (club VARCHAR, home_city VARCHAR)
### Question:
Name the club for quevedo
### Answer:
SELECT club FROM table_2454589_1 WHERE home_city = "Quevedo" |
Below is an context that describes a sql 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 (position VARCHAR, player VARCHAR)
### Question:
Which position has john keane as the player?
### Answer:
SELECT position FROM table_name_15 WHERE player = "john keane" |
Below is an context that describes a sql 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 (played INTEGER, drawn VARCHAR, first_game VARCHAR, lost VARCHAR)
### Question:
What is the sum of matches played that has a year of first match before 2000, fewer than 21 lost, and 0 drawn?
### Answer:
SELECT SUM(played) FROM table_name_27 WHERE first_game < 2000 AND lost < 21 AND drawn < 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_68 (away VARCHAR, round VARCHAR)
### Question:
What away is there for the q3 round?
### Answer:
SELECT away FROM table_name_68 WHERE round = "q3" |
Below is an context that describes a sql 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 (silver INTEGER, nation VARCHAR, total VARCHAR, rank VARCHAR)
### Question:
What is the sum of Silver when the total is less than 6, the rank is 6 and the Bulgaria is the nation?
### Answer:
SELECT SUM(silver) FROM table_name_19 WHERE total < "6" AND rank = "6" AND nation = "bulgaria" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_12164707_1 (year VARCHAR, mens_singles VARCHAR)
### Question:
How many years did Peter Mikkelsen win the Mens Singles?
### Answer:
SELECT COUNT(year) FROM table_12164707_1 WHERE mens_singles = "Peter Mikkelsen" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24781886_2 (production_code INTEGER, viewers VARCHAR)
### Question:
When 6.66 is the amount of viewers what is the lowest production code?
### Answer:
SELECT MIN(production_code) FROM table_24781886_2 WHERE viewers = "6.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_99 (venue VARCHAR, away_team VARCHAR)
### Question:
In the game where richmond was the away team, what venue was it played at?
### Answer:
SELECT venue FROM table_name_99 WHERE away_team = "richmond" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1132600_3 (winning_driver VARCHAR, grand_prix VARCHAR)
### Question:
How many drivers won the Italian Grand Prix?
### Answer:
SELECT COUNT(winning_driver) FROM table_1132600_3 WHERE grand_prix = "Italian grand_prix" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_17 (team VARCHAR, points_against VARCHAR)
### Question:
WHich Team that has Points against of 43?
### Answer:
SELECT team FROM table_name_17 WHERE points_against = 43 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27539535_7 (february INTEGER, record VARCHAR)
### Question:
What day in February was the team 17-29-7?
### Answer:
SELECT MAX(february) FROM table_27539535_7 WHERE record = "17-29-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_97 (Id VARCHAR)
### Question:
Name the 1861 with 1851 of 5291
### Answer:
SELECT 1861 FROM table_name_97 WHERE 1851 = "5291" |
Below is an context that describes a sql 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 (width INTEGER, frame_size VARCHAR, height VARCHAR)
### Question:
What is the smallest width for a frame size of 5k and a height shorter than 2700?
### Answer:
SELECT MIN(width) FROM table_name_18 WHERE frame_size = "5k" AND height < 2700 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2562572_56 (cyrillic_name_other_names VARCHAR, settlement VARCHAR)
### Question:
What is the Cyrillic name for Novi Vladimirovac?
### Answer:
SELECT cyrillic_name_other_names FROM table_2562572_56 WHERE settlement = "Novi Vladimirovac" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE PersonFriend (name VARCHAR)
### Question:
Find the person who has exactly one friend.
### Answer:
SELECT name FROM PersonFriend GROUP BY name 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_name_36 (college VARCHAR, pick__number VARCHAR)
### Question:
Pick # of 331 went to which college?
### Answer:
SELECT college FROM table_name_36 WHERE pick__number = 331 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24538587_11 (socket VARCHAR, brand_name__list_ VARCHAR)
### Question:
How many sockets are listed that have a brand name of "Core i3-2xx7m"?
### Answer:
SELECT COUNT(socket) FROM table_24538587_11 WHERE brand_name__list_ = "Core i3-2xx7M" |
Below is an context that describes a sql 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 (result VARCHAR, date VARCHAR)
### Question:
WHAT WAS THE RESULT FOR NOVEMBER 29, 2001?
### Answer:
SELECT result FROM table_name_30 WHERE date = "november 29, 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_17 (heat INTEGER, name VARCHAR)
### Question:
What's the sum of all of ivet lalova's Heat stats?
### Answer:
SELECT SUM(heat) FROM table_name_17 WHERE name = "ivet lalova" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_42 (points VARCHAR, position VARCHAR, played VARCHAR)
### Question:
How many Points have a Position larger than 3, and a Played smaller than 14?
### Answer:
SELECT COUNT(points) FROM table_name_42 WHERE position > 3 AND played < 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_2135222_2 (pinyin VARCHAR, simplified VARCHAR)
### Question:
What is the Pinyin for the simplified 虞城县?
### Answer:
SELECT pinyin FROM table_2135222_2 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_91 (first_elected VARCHAR, district VARCHAR)
### Question:
How many values of first elected are for district 16?
### Answer:
SELECT COUNT(first_elected) FROM table_name_91 WHERE district = "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_87 (model VARCHAR, resolution VARCHAR, sensor_size VARCHAR, active_pixels VARCHAR)
### Question:
Which model has a sensor sized 48x36 mm, pixels of 6726 x 5040, and a 33 mp resolution?
### Answer:
SELECT model FROM table_name_87 WHERE sensor_size = "48x36 mm" AND active_pixels = "6726 x 5040" AND resolution = "33 mp" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_21109892_1 (rank VARCHAR, production__mt_ VARCHAR)
### Question:
When the production (mt) is 650000, what is the total number of rank?
### Answer:
SELECT COUNT(rank) FROM table_21109892_1 WHERE production__mt_ = 650000 |
Below is an context that describes a sql 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 (gold INTEGER, nation VARCHAR, silver VARCHAR)
### Question:
Which Gold has a Nation of sri lanka, and a Silver smaller than 10?
### Answer:
SELECT AVG(gold) FROM table_name_39 WHERE nation = "sri lanka" AND silver < 10 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_52 (score VARCHAR, competition VARCHAR, venue VARCHAR)
### Question:
What is the venue for the friendly competition at Dreisamstadion, Freiburg?
### Answer:
SELECT score FROM table_name_52 WHERE competition = "friendly" AND venue = "dreisamstadion, freiburg" |
Below is an context that describes 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 (Headquarters VARCHAR)
### Question:
Show the different headquarters and number of companies at each headquarter.
### Answer:
SELECT Headquarters, COUNT(*) FROM company GROUP BY Headquarters |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2562572_53 (type VARCHAR, settlement VARCHAR)
### Question:
How many different types of settlements does Nova Pazova fall into?
### Answer:
SELECT COUNT(type) FROM table_2562572_53 WHERE settlement = "Nova Pazova" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_18967450_2 (club VARCHAR, goals VARCHAR)
### Question:
Which team/s have 48 goals total?
### Answer:
SELECT club FROM table_18967450_2 WHERE goals = 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_58 (driver VARCHAR, points VARCHAR)
### Question:
Which driver scored 9 points?
### Answer:
SELECT driver FROM table_name_58 WHERE points = "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_42 (country VARCHAR, engine_make_capacity VARCHAR)
### Question:
What country had the car with the Jawa 350cc engine?
### Answer:
SELECT country FROM table_name_42 WHERE engine_make_capacity = "jawa 350cc" |
Below is an context that describes a sql 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 (name VARCHAR, rocket VARCHAR, block VARCHAR)
### Question:
What name has a Rocket of titan iv(401)b and a Block of block i/ii hybrid?
### Answer:
SELECT name FROM table_name_2 WHERE rocket = "titan iv(401)b" AND block = "block i/ii hybrid" |
Below is an context that describes a sql 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 (heat INTEGER, nationality VARCHAR, lane VARCHAR)
### Question:
What is the highest heat of the athlete from spain with a lane less than 7?
### Answer:
SELECT MAX(heat) FROM table_name_2 WHERE nationality = "spain" AND lane < 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_83 (coverage VARCHAR, launched VARCHAR)
### Question:
What is the coverage of the station that was launched on 22 January 1996?
### Answer:
SELECT coverage FROM table_name_83 WHERE launched = "22 january 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_24 (name VARCHAR, height__cm_ VARCHAR, weight__kg_ VARCHAR)
### Question:
Which name's height in centimeters is 178 when its weight in kilograms is less than 91?
### Answer:
SELECT name FROM table_name_24 WHERE height__cm_ = 178 AND weight__kg_ < 91 |
Below is an context that describes a sql 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 (nfl_team VARCHAR, draft_year VARCHAR)
### Question:
In 1978 what is the NFL team?
### Answer:
SELECT nfl_team FROM table_name_30 WHERE draft_year = 1978 |
Below is an context that describes a sql 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 (date VARCHAR, goals VARCHAR)
### Question:
Which date has a Goal of deacon 4/4, withers 1 dg?
### Answer:
SELECT date FROM table_name_32 WHERE goals = "deacon 4/4, withers 1 dg" |
Below is an context that describes a sql 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 (total_tenure_time VARCHAR, total_tenure_rank VARCHAR)
### Question:
What was the total tenure time with a rank of 49?
### Answer:
SELECT total_tenure_time FROM table_name_3 WHERE total_tenure_rank = 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_27537870_6 (record VARCHAR, opponent VARCHAR)
### Question:
If the opponent was the Philadelphia flyers, what was the record?
### Answer:
SELECT record FROM table_27537870_6 WHERE opponent = "Philadelphia Flyers" |
Below is an context that describes a sql 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 (bronze VARCHAR, rank VARCHAR)
### Question:
Which Bronze has a Rank of 9?
### Answer:
SELECT COUNT(bronze) FROM table_name_76 WHERE rank = "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_86 (vctp VARCHAR, vcrt VARCHAR)
### Question:
If there is a VCRT of 7.62mm (0.3in) fn mag 60-20 machine gun, what is the VCTP of that?
### Answer:
SELECT vctp FROM table_name_86 WHERE vcrt = "7.62mm (0.3in) fn mag 60-20 machine gun" |
Below is an context that describes a sql 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 (place VARCHAR, player VARCHAR, score VARCHAR)
### Question:
What is Place, when Score is "73-71=144", and when Player is "Scott Simpson"?
### Answer:
SELECT place FROM table_name_66 WHERE score = 73 - 71 = 144 AND player = "scott simpson" |
Below is an context that describes a sql 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 (score VARCHAR, money___$__ VARCHAR, player VARCHAR)
### Question:
What score has money ($) greater than 400, with gene sarazen as the player?
### Answer:
SELECT score FROM table_name_99 WHERE money___$__ > 400 AND player = "gene sarazen" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17964087_2 (govt_salary VARCHAR, chinese_name VARCHAR)
### Question:
For the chinese name 盧奕基 how many in total is the govt salary?
### Answer:
SELECT COUNT(govt_salary) FROM table_17964087_2 WHERE chinese_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_13456202_1 (affiliation VARCHAR, mascot VARCHAR)
### Question:
How many teams have an eagles mascot?
### Answer:
SELECT COUNT(affiliation) FROM table_13456202_1 WHERE mascot = "Eagles" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_74 (high_rebounds VARCHAR, opponent VARCHAR)
### Question:
Who had the most rebounds in the game against New York?
### Answer:
SELECT high_rebounds FROM table_name_74 WHERE opponent = "new york" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26847237_3 (home_team VARCHAR, opposition VARCHAR)
### Question:
What is the home team when the opposition is wairarapa bush?
### Answer:
SELECT home_team FROM table_26847237_3 WHERE opposition = "Wairarapa Bush" |
Below is an context that describes a 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_2 (cfl_team VARCHAR, player VARCHAR)
### Question:
Name the number of cfl teams for jeff traversy
### Answer:
SELECT COUNT(cfl_team) FROM table_28059992_2 WHERE player = "Jeff Traversy" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_6 (away_team VARCHAR, tie_no VARCHAR)
### Question:
What is the away team with a 2 tie no.?
### Answer:
SELECT away_team FROM table_name_6 WHERE tie_no = "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_1676073_12 (drawn VARCHAR, lost VARCHAR, points_for VARCHAR)
### Question:
How many games drawn for the team that lost 11 and had 748 points?
### Answer:
SELECT drawn FROM table_1676073_12 WHERE lost = "11" AND points_for = "748" |
Below is an context that describes a sql 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, competition VARCHAR)
### Question:
What was the score of the game played in the 2012 Africa Cup of Nations?
### Answer:
SELECT score FROM table_name_90 WHERE competition = "2012 africa cup of nations" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.