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_98 (poll_source VARCHAR, undecided VARCHAR, jim_demint__r_ VARCHAR)
### Question:
Which poll source determined undecided of 5% and Jim DeMint (R) of 58%?
### Answer:
SELECT poll_source FROM table_name_98 WHERE undecided = "5%" AND jim_demint__r_ = "58%" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_20 (time VARCHAR, rider VARCHAR, grid VARCHAR, laps VARCHAR, manufacturer VARCHAR)
### Question:
what is the time when laps is less than 21, manufacturer is aprilia, grid is less than 17 and the rider is thomas luthi?
### Answer:
SELECT time FROM table_name_20 WHERE laps < 21 AND manufacturer = "aprilia" AND grid < 17 AND rider = "thomas luthi" |
Below is an context that describes a sql 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 (result VARCHAR, week VARCHAR)
### Question:
What was the result of the week 13 game?
### Answer:
SELECT result FROM table_name_66 WHERE week = 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_7 (result VARCHAR, opponent VARCHAR)
### Question:
What was the score of the Browns game against the San Francisco 49ers?
### Answer:
SELECT result FROM table_name_7 WHERE opponent = "san francisco 49ers" |
Below is an context that describes a sql 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 (composition VARCHAR, founded VARCHAR)
### Question:
What composition was founded in 1976?
### Answer:
SELECT composition FROM table_name_37 WHERE founded = 1976 |
Below is an context that describes a sql 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 (entrepreneur_s_ VARCHAR, money_requested__£_ VARCHAR)
### Question:
What Entrepreneurs requested £60,000?
### Answer:
SELECT entrepreneur_s_ FROM table_name_27 WHERE money_requested__£_ = "60,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_50 (class VARCHAR, city_of_license VARCHAR)
### Question:
Which Class has a City of license of garden city, kansas?
### Answer:
SELECT class FROM table_name_50 WHERE city_of_license = "garden city, kansas" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2076490_1 (founded INTEGER)
### Question:
What is the latest founding date?
### Answer:
SELECT MAX(founded) FROM table_2076490_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_33 (against VARCHAR, team VARCHAR, points VARCHAR)
### Question:
How many Against have a Team of hespanha, and Points smaller than 30?
### Answer:
SELECT COUNT(against) FROM table_name_33 WHERE team = "hespanha" AND points < 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_47 (date_of_birth__age_ VARCHAR, player VARCHAR, club_province VARCHAR, caps VARCHAR)
### Question:
Which Date of Birth (Age) has a Club/province of blues, and Caps larger than 0, and a Player of tom james?
### Answer:
SELECT date_of_birth__age_ FROM table_name_47 WHERE club_province = "blues" AND caps > 0 AND player = "tom james" |
Below is an context that describes a sql 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 (time INTEGER, stage VARCHAR, year VARCHAR)
### Question:
What is the total amount of time for years prior to 2013 when speed option is the stage?
### Answer:
SELECT SUM(time) FROM table_name_25 WHERE stage = "speed option" AND year < 2013 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_22 (stage VARCHAR, arrival VARCHAR)
### Question:
Which stage number did son bou arrive at?
### Answer:
SELECT COUNT(stage) FROM table_name_22 WHERE arrival = "son bou" |
Below is an context that describes a sql 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 (country VARCHAR, television_service VARCHAR)
### Question:
What is the name of the country when the television service is italia 1?
### Answer:
SELECT country FROM table_name_95 WHERE television_service = "italia 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_83 (Id VARCHAR)
### Question:
What was the value in 2012 when 2002 was Q1 and 2010 was 1R?
### Answer:
SELECT 2012 FROM table_name_83 WHERE 2002 = "q1" AND 2010 = "1r" |
Below is an context that describes a sql 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 (date VARCHAR, game_site VARCHAR)
### Question:
On what date was the game at Lincoln Financial Field?
### Answer:
SELECT date FROM table_name_40 WHERE game_site = "lincoln financial field" |
Below is an context that describes a sql 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 (bronze INTEGER, gold VARCHAR, silver VARCHAR, rank VARCHAR)
### Question:
What is the average Bronze when silver is more than 2, and rank is 2, and gold more than 2
### Answer:
SELECT AVG(bronze) FROM table_name_62 WHERE silver > "2" AND rank = "2" AND gold > 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_68 (laps INTEGER, grid VARCHAR, time_retired VARCHAR)
### Question:
What is the high lap total for a grid less than 6, and a Time/Retired of halfshaft?
### Answer:
SELECT MAX(laps) FROM table_name_68 WHERE grid < 6 AND time_retired = "halfshaft" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE TOURIST_ATTRACTIONS (How_to_Get_There VARCHAR, Tourist_Attraction_ID VARCHAR); CREATE TABLE ROYAL_FAMILY (Royal_Family_Details VARCHAR, Royal_Family_ID VARCHAR)
### Question:
What are the details and ways to get to tourist attractions related to royal family?
### Answer:
SELECT T1.Royal_Family_Details, T2.How_to_Get_There FROM ROYAL_FAMILY AS T1 JOIN TOURIST_ATTRACTIONS AS T2 ON T1.Royal_Family_ID = T2.Tourist_Attraction_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_name_76 (rank INTEGER, gross VARCHAR)
### Question:
What was the film that grossed $26,010,864 ranked?
### Answer:
SELECT MIN(rank) FROM table_name_76 WHERE gross = "$26,010,864" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1745843_8 (part_3 VARCHAR, class VARCHAR)
### Question:
What is the part 3 of the word in class 7a?
### Answer:
SELECT part_3 FROM table_1745843_8 WHERE class = "7a" |
Below is an context that describes a sql 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 (top_10 INTEGER, cuts_made INTEGER)
### Question:
Which Top-10 has a Cuts made larger than 42?
### Answer:
SELECT MIN(top_10) FROM table_name_57 WHERE cuts_made > 42 |
Below is an context that describes a sql 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 (majority VARCHAR, clone_independence VARCHAR)
### Question:
What is the majority when the clone independence is no?
### Answer:
SELECT majority FROM table_name_8 WHERE clone_independence = "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_name_27 (result VARCHAR, attendance VARCHAR)
### Question:
Which team won on the day when attendance was 42,308?
### Answer:
SELECT result FROM table_name_27 WHERE attendance = "42,308" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_48 (attendance VARCHAR, arena VARCHAR)
### Question:
What was the Attendance at Jobing.com Arena?
### Answer:
SELECT COUNT(attendance) FROM table_name_48 WHERE arena = "jobing.com arena" |
Below is an context that describes a sql 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 (ekstraklasa INTEGER, total INTEGER)
### Question:
How much Ekstraklasa has a Total smaller than 3?
### Answer:
SELECT SUM(ekstraklasa) FROM table_name_98 WHERE total < 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_38 (tries_for VARCHAR, points_against VARCHAR)
### Question:
How many tries for were there while having 479 points against?
### Answer:
SELECT tries_for FROM table_name_38 WHERE points_against = "479" |
Below is an context that describes a sql 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 (points INTEGER, score VARCHAR)
### Question:
What were the Points in the game with a Score of 2–7?
### Answer:
SELECT SUM(points) FROM table_name_67 WHERE score = "2–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_67 (surface VARCHAR, score VARCHAR)
### Question:
What surface was played on that resulted in a score of 4–6, 6–2, [10–7]?
### Answer:
SELECT surface FROM table_name_67 WHERE score = "4–6, 6–2, [10–7]" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_1 (episode_number VARCHAR, name VARCHAR)
### Question:
Which episode number was associated with Vibhav Gautam?
### Answer:
SELECT episode_number FROM table_name_1 WHERE name = "vibhav gautam" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17516922_1 (year INTEGER, sideline_reporters VARCHAR)
### Question:
What is the last year that had sideline reporters rob stone and monica gonzalez?
### Answer:
SELECT MAX(year) FROM table_17516922_1 WHERE sideline_reporters = "Rob Stone and Monica Gonzalez" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE representative (Party VARCHAR)
### Question:
What are the different parties of representative? Show the party name and the number of representatives in each party.
### Answer:
SELECT Party, COUNT(*) FROM representative GROUP BY Party |
Below is an context that describes a sql 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 (format VARCHAR, date VARCHAR)
### Question:
What format is dated October 29, 2004?
### Answer:
SELECT format FROM table_name_8 WHERE date = "october 29, 2004" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22517564_3 (post VARCHAR, horse_name VARCHAR)
### Question:
Which post had the horse named chocolate candy?
### Answer:
SELECT post FROM table_22517564_3 WHERE horse_name = "Chocolate Candy" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_45 (pct INTEGER, pts VARCHAR, wins VARCHAR)
### Question:
What is the average PCT when it has a PTS smaller than 9 a wins larger than 1?
### Answer:
SELECT AVG(pct) FROM table_name_45 WHERE pts < 9 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 table_name_22 (to_par VARCHAR, country VARCHAR, score VARCHAR)
### Question:
What is To Par, when Country is United States, and when Score is 71-68-73=212?
### Answer:
SELECT to_par FROM table_name_22 WHERE country = "united states" AND score = 71 - 68 - 73 = 212 |
Below is an context that describes a sql 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 (races INTEGER, points VARCHAR)
### Question:
WHAT IS THE SUM OF RACES WITH 9 POINTS?
### Answer:
SELECT SUM(races) FROM table_name_49 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_94 (tournament VARCHAR)
### Question:
What is 2001, when 1989 is "A", and when Tournament is "U.S. Open"?
### Answer:
SELECT 2001 FROM table_name_94 WHERE 1989 = "a" AND tournament = "u.s. open" |
Below is an context that describes a sql 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 (losses VARCHAR, no_result INTEGER)
### Question:
Name the total number of losses with number result less than 0
### Answer:
SELECT COUNT(losses) FROM table_name_5 WHERE no_result < 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_56 (bronze INTEGER, nation VARCHAR, gold VARCHAR)
### Question:
What is the lowest Bronze with a Nation of egypt (egy) and with a Gold that is smaller than 2?
### Answer:
SELECT MIN(bronze) FROM table_name_56 WHERE nation = "egypt (egy)" AND gold < 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_71 (score VARCHAR, home VARCHAR)
### Question:
What was the score of the Red Wings game when Vancouver was the home team?
### Answer:
SELECT score FROM table_name_71 WHERE home = "vancouver" |
Below is an context that describes a sql 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 (school_name VARCHAR, students VARCHAR, grades VARCHAR)
### Question:
Which School name has students smaller than 389, and grades of 10-12?
### Answer:
SELECT school_name FROM table_name_64 WHERE students < 389 AND grades = "10-12" |
Below is an context that describes a sql 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 (venue VARCHAR, result VARCHAR)
### Question:
What is the Venue of the Competition with a Result of 2–2 (d)?
### Answer:
SELECT venue FROM table_name_36 WHERE result = "2–2 (d)" |
Below is an context that describes a sql 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 (time VARCHAR, record VARCHAR)
### Question:
What's the time for the match with a record of 2-0?
### Answer:
SELECT time FROM table_name_74 WHERE record = "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_60 (builder VARCHAR, country VARCHAR, ship VARCHAR)
### Question:
Who was the builder of Gannet from the United Kingdom?
### Answer:
SELECT builder FROM table_name_60 WHERE country = "united kingdom" AND ship = "gannet" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE railway (Id VARCHAR)
### Question:
How many railways are there?
### Answer:
SELECT COUNT(*) FROM railway |
Below is an context that describes a sql 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 (title VARCHAR, name VARCHAR)
### Question:
What was Gongbo's title?
### Answer:
SELECT title FROM table_name_37 WHERE name = "gongbo" |
Below is an context that describes a sql 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 (chassis VARCHAR, points INTEGER)
### Question:
What Chassis has more than 0 points?
### Answer:
SELECT chassis FROM table_name_3 WHERE points > 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_41 (total VARCHAR, bronze INTEGER)
### Question:
What is the total number of medals won by teams that won more than 11 bronze medals?
### Answer:
SELECT COUNT(total) FROM table_name_41 WHERE bronze > 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_7 (score VARCHAR, to_par VARCHAR, player VARCHAR)
### Question:
Which Score has a To par of –1, and a Player of mick soli?
### Answer:
SELECT score FROM table_name_7 WHERE to_par = "–1" AND player = "mick soli" |
Below is an context that describes a sql 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 (daytime VARCHAR, name VARCHAR)
### Question:
Name the Daytime which has a Name of exmouth?
### Answer:
SELECT daytime FROM table_name_22 WHERE name = "exmouth" |
Below is an context that describes a sql 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 (outcome VARCHAR, opponent_in_the_final VARCHAR)
### Question:
What is the Outcome when çağla büyükakçay was the opponent in the final?
### Answer:
SELECT outcome FROM table_name_73 WHERE opponent_in_the_final = "çağla büyükakçay" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_228439_4 (successor VARCHAR, district VARCHAR)
### Question:
Who is the successor for massachusetts 8th?
### Answer:
SELECT successor FROM table_228439_4 WHERE district = "Massachusetts 8th" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_261222_1 (population__2010_ VARCHAR, area__km_2__ VARCHAR)
### Question:
How many places have an area of 409.41 (km2)?
### Answer:
SELECT COUNT(population__2010_) FROM table_261222_1 WHERE area__km_2__ = "409.41" |
Below is an context that describes a sql 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 (game INTEGER, score VARCHAR, points VARCHAR)
### Question:
Which Game is the highest one that has a Score of 3–4 ot, and Points larger than 75?
### Answer:
SELECT MAX(game) FROM table_name_96 WHERE score = "3–4 ot" AND points > 75 |
Below is an context that describes a sql 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 (result VARCHAR, week VARCHAR)
### Question:
What was the result of the game on week 4?
### Answer:
SELECT result FROM table_name_16 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_20466963_13 (guest_4 VARCHAR, guest_2 VARCHAR)
### Question:
Name the guest 4 for steve lamacq
### Answer:
SELECT guest_4 FROM table_20466963_13 WHERE guest_2 = "Steve Lamacq" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27057070_3 (outgoing_manager VARCHAR, team VARCHAR)
### Question:
Who is the outgoing manager when the team is simurq pfc?
### Answer:
SELECT outgoing_manager FROM table_27057070_3 WHERE team = "Simurq PFC" |
Below is an context that describes a sql 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 (score VARCHAR, home VARCHAR, leading_scorer VARCHAR)
### Question:
Which score has a Home of grizzlies, and a Leading scorer of rudy gay (18)?
### Answer:
SELECT score FROM table_name_62 WHERE home = "grizzlies" AND leading_scorer = "rudy gay (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_26 (rank INTEGER, bronze VARCHAR, total VARCHAR, gold VARCHAR)
### Question:
What was the average rank for team with more than 44 gold, more and 76 bronze and a higher total than 73?
### Answer:
SELECT AVG(rank) FROM table_name_26 WHERE total > 73 AND gold > 44 AND bronze > 76 |
Below is an context that describes a sql 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 (Id VARCHAR)
### Question:
What is the highest 2000 value that has a 2010 value of 82 and a 2005 value less than 74?
### Answer:
SELECT MAX(2000) FROM table_name_51 WHERE 2010 = 82 AND 2005 < 74 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE ship (flag VARCHAR)
### Question:
Group by ships by flag, and return number of ships that have each flag.
### Answer:
SELECT COUNT(*), flag FROM ship GROUP BY flag |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_20 (time VARCHAR, record VARCHAR)
### Question:
What is the record time at the Nascar Camping World Truck Series?
### Answer:
SELECT time FROM table_name_20 WHERE record = "nascar camping world truck series" |
Below is an context that describes a sql 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 (emissions_co2 VARCHAR, max_speed VARCHAR, car_model VARCHAR)
### Question:
What is the emissions CO2 with a max speed of km/h (mph) of the car model Panamera 4s?
### Answer:
SELECT emissions_co2 FROM table_name_76 WHERE max_speed = "km/h (mph)" AND car_model = "panamera 4s" |
Below is an context that describes a sql 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 (college VARCHAR, position VARCHAR, overall VARCHAR, pick VARCHAR)
### Question:
What college did the player who had the position of OT come from who was pick number less than 12 and a overall pick number bigger than 226?
### Answer:
SELECT college FROM table_name_87 WHERE overall > 226 AND pick < 12 AND position = "ot" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_65 (round INTEGER, overall VARCHAR, position VARCHAR)
### Question:
During which round was the first defensive end with an overall rank larger than 186 drafted?
### Answer:
SELECT MIN(round) FROM table_name_65 WHERE overall > 186 AND position = "defensive end" |
Below is an context that describes a sql 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 (caps VARCHAR, position VARCHAR, player VARCHAR)
### Question:
How many caps have a Position of prop, and a Player of rui cordeiro?
### Answer:
SELECT COUNT(caps) FROM table_name_6 WHERE position = "prop" AND player = "rui cordeiro" |
Below is an context that describes a 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_2 (written_by VARCHAR, original_air_date VARCHAR)
### Question:
Who wrote when the original airdate is April 5, 1987?
### Answer:
SELECT written_by FROM table_2226817_2 WHERE original_air_date = "April 5, 1987" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14962287_2 (league VARCHAR, name VARCHAR)
### Question:
How many different Leagues are associated with Billy Meredith Category:Articles with hCards?
### Answer:
SELECT COUNT(league) FROM table_14962287_2 WHERE name = "Billy Meredith 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_1628792_1 (dates VARCHAR, margin_of_victory VARCHAR)
### Question:
Name the dates for margin of victory being 5 strokes
### Answer:
SELECT COUNT(dates) FROM table_1628792_1 WHERE margin_of_victory = "5 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_name_94 (player VARCHAR, score INTEGER)
### Question:
What player has a score larger than 67?
### Answer:
SELECT player FROM table_name_94 WHERE score > 67 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15869204_7 (score VARCHAR, team VARCHAR)
### Question:
What was the score when they played against San Antonio?
### Answer:
SELECT score FROM table_15869204_7 WHERE team = "San Antonio" |
Below is an context that describes 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 (first_name VARCHAR, last_name VARCHAR, department_id VARCHAR, salary INTEGER)
### Question:
Find the first name and last name and department id for those employees who earn such amount of salary which is the smallest salary of any of the departments.
### Answer:
SELECT first_name, last_name, department_id FROM employees WHERE salary IN (SELECT MIN(salary) FROM employees GROUP BY department_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_name_44 (debut_year INTEGER, player VARCHAR, games VARCHAR)
### Question:
Which Debut year has a Player of bob hayton, and Games smaller than 2?
### Answer:
SELECT AVG(debut_year) FROM table_name_44 WHERE player = "bob hayton" AND games < 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_25 (date VARCHAR, time VARCHAR, age_group VARCHAR, pool VARCHAR)
### Question:
What date did the 90-94 year old have a tie of 1:25.91 at the LC pool?
### Answer:
SELECT date FROM table_name_25 WHERE age_group = "90-94" AND pool = "lc" AND time = "1:25.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_88 (precincts VARCHAR, g_hager VARCHAR)
### Question:
Which Precincts has a G. Hager of 2,260 (15%)?
### Answer:
SELECT precincts FROM table_name_88 WHERE g_hager = "2,260 (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_8 (attendance INTEGER, opponent VARCHAR)
### Question:
What is the Attendance of the game against the Florida Panthers?
### Answer:
SELECT SUM(attendance) FROM table_name_8 WHERE opponent = "florida panthers" |
Below is an context that describes a sql 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 (decision VARCHAR, visitor VARCHAR, score VARCHAR)
### Question:
Which Decision has a Visitor of vancouver, and a Score of 5 – 4?
### Answer:
SELECT decision FROM table_name_4 WHERE visitor = "vancouver" AND score = "5 – 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_49 (name VARCHAR, winning_team VARCHAR, pole_position VARCHAR)
### Question:
Who won for Forsythe Racing when Bobby Rahal had pole position?
### Answer:
SELECT name FROM table_name_49 WHERE winning_team = "forsythe racing" AND pole_position = "bobby rahal" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1212189_1 (torque__nm__rpm VARCHAR, capacity VARCHAR)
### Question:
What is the torque formula for the model/engine which has 1,753 cc capacity?
### Answer:
SELECT torque__nm__rpm FROM table_1212189_1 WHERE capacity = "1,753 cc" |
Below is an context that describes a sql 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 (new_council INTEGER, election_result INTEGER)
### Question:
Which New council has an Election result larger than 24?
### Answer:
SELECT AVG(new_council) FROM table_name_33 WHERE election_result > 24 |
Below is an context that describes a sql 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 (round INTEGER, school_club_team VARCHAR, pick VARCHAR)
### Question:
Which Round is the lowest one that has a School/Club Team of alabama, and a Pick larger than 43?
### Answer:
SELECT MIN(round) FROM table_name_87 WHERE school_club_team = "alabama" AND pick > 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_name_72 (withdrawn VARCHAR, gsr_class VARCHAR)
### Question:
What is withdrawn with a GSR Class of 296?
### Answer:
SELECT withdrawn FROM table_name_72 WHERE gsr_class = "296" |
Below is an context that describes a sql 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 (status VARCHAR, name VARCHAR)
### Question:
The boat named Agamemnon has what status?
### Answer:
SELECT status FROM table_name_94 WHERE name = "agamemnon" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23840623_4 (dirty_electric_grid_rocky_mountains__denver_ VARCHAR, epa_rated_combined_fuel_economy VARCHAR)
### Question:
How many dirty electric grid rocky mountains (denver) vehicles have an epa rated combined fuel economy of 102 mpg-e (33kw-hrs/100mi)?
### Answer:
SELECT COUNT(dirty_electric_grid_rocky_mountains__denver_) FROM table_23840623_4 WHERE epa_rated_combined_fuel_economy = "102 mpg-e (33kW-hrs/100mi)" |
Below is an context that describes a sql 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 (seats_up_for_election INTEGER, election_result VARCHAR, staying_councillors VARCHAR)
### Question:
Which Seats up for election have an Election result larger than 8, and Staying councillors of 24?
### Answer:
SELECT MAX(seats_up_for_election) FROM table_name_96 WHERE election_result > 8 AND staying_councillors = 24 |
Below is an context that describes a sql 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 (first_leg VARCHAR, opposition VARCHAR)
### Question:
What was the first leg against Hibernian?
### Answer:
SELECT first_leg FROM table_name_13 WHERE opposition = "hibernian" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1805191_36 (candidates VARCHAR, incumbent VARCHAR)
### Question:
Who are all of the candidates in elections where Dennis Kucinich was a candidate?
### Answer:
SELECT candidates FROM table_1805191_36 WHERE incumbent = "Dennis Kucinich" |
Below is an context that describes a sql 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 (tournament VARCHAR, opponent VARCHAR, round VARCHAR, surface VARCHAR)
### Question:
Name the tournament for semifinal hard surface for opponent of pam casale
### Answer:
SELECT tournament FROM table_name_86 WHERE round = "semifinal" AND surface = "hard" AND opponent = "pam casale" |
Below is an context that describes a sql 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 (ratt VARCHAR, long VARCHAR)
### Question:
What is the RAtt when the long is 73?
### Answer:
SELECT ratt FROM table_name_83 WHERE long = "73" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11075747_4 (directed_by VARCHAR, episode__number VARCHAR)
### Question:
Who directed Episode 8?
### Answer:
SELECT directed_by FROM table_11075747_4 WHERE episode__number = 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_71 (diameter__km_ VARCHAR, longitude VARCHAR, latitude VARCHAR, name VARCHAR)
### Question:
What in Xenia's Diameter in km, with a latitude of 14 and a longitude of 249.4?
### Answer:
SELECT COUNT(diameter__km_) FROM table_name_71 WHERE latitude < 14 AND name = "xenia" AND longitude > 249.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_89 (elevator VARCHAR, elector VARCHAR, elevated VARCHAR, nationality VARCHAR)
### Question:
Which Elevator has Elevated of april 12, 1281, a Nationality of french, and an Elector of jean cholet?
### Answer:
SELECT elevator FROM table_name_89 WHERE elevated = "april 12, 1281" AND nationality = "french" AND elector = "jean cholet" |
Below is an context that describes a sql 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 (rank INTEGER, bronze VARCHAR, gold VARCHAR)
### Question:
What is the rank of the nation that has more than 1 Bronze medals and fewer than 4 Gold medals?
### Answer:
SELECT MIN(rank) FROM table_name_75 WHERE bronze > 1 AND gold < 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_1212189_1 (torque__nm__rpm VARCHAR, model_engine VARCHAR)
### Question:
The 1.6 Duratec model/engine has how many torque formulas?
### Answer:
SELECT COUNT(torque__nm__rpm) FROM table_1212189_1 WHERE model_engine = "1.6 Duratec" |
Below is an context that describes a sql 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 (record VARCHAR, opponent VARCHAR)
### Question:
Which record has Katsuomi Inagaki as an opponent?
### Answer:
SELECT record FROM table_name_51 WHERE opponent = "katsuomi inagaki" |
Below is an context that describes a sql 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 (l2_cache VARCHAR, model_number VARCHAR)
### Question:
What is the L2 cache of the microprocessor with model number pentium dual-core t3400?
### Answer:
SELECT l2_cache FROM table_name_91 WHERE model_number = "pentium dual-core t3400" |
Below is an context that describes a sql 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 (school_club_team VARCHAR, round INTEGER)
### Question:
Which School/Club Team has a Round larger than 16?
### Answer:
SELECT school_club_team FROM table_name_16 WHERE round > 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 Customers (Address_ID VARCHAR); CREATE TABLE Addresses (City_Town VARCHAR, Address_ID VARCHAR); CREATE TABLE Performers (Address_ID VARCHAR)
### Question:
Show all cities where at least one customer lives in but no performer lives in.
### Answer:
SELECT T1.City_Town FROM Addresses AS T1 JOIN Customers AS T2 ON T1.Address_ID = T2.Address_ID EXCEPT SELECT T1.City_Town FROM Addresses AS T1 JOIN Performers AS T2 ON T1.Address_ID = T2.Address_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_name_14 (league_goals INTEGER, playoff_goals VARCHAR, position VARCHAR, fa_cup_apps VARCHAR)
### Question:
How many goals for the FW with 0 FA cup appearances and over 0 playoff goals?
### Answer:
SELECT MIN(league_goals) FROM table_name_14 WHERE position = "fw" AND fa_cup_apps = "0" AND playoff_goals > 0 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_9 (races INTEGER, series VARCHAR, podiums VARCHAR)
### Question:
What is the sum of Races, when Series is Toyota Racing Series, and when Podiums is greater than 3?
### Answer:
SELECT SUM(races) FROM table_name_9 WHERE series = "toyota racing series" AND podiums > 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.