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_25 (crowd INTEGER, venue VARCHAR)
### Question:
Which Crowd has a Venue of princes park?
### Answer:
SELECT MIN(crowd) FROM table_name_25 WHERE venue = "princes 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_21 (population_per_km²__2009_ INTEGER, province VARCHAR, area__km²_ VARCHAR)
### Question:
What is the lowest Population per km² (2009) that has a Solomon Islands province, with an Area (km²) smaller than 28,400?
### Answer:
SELECT MIN(population_per_km²__2009_) FROM table_name_21 WHERE province = "solomon islands" AND area__km²_ < 28 OFFSET 400 |
Below is an context that describes a sql 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 (category VARCHAR, nominating_festival VARCHAR)
### Question:
Name the category for prix uip berlin
### Answer:
SELECT category FROM table_name_66 WHERE nominating_festival = "prix uip berlin" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE pilot (Name VARCHAR)
### Question:
List all pilot names in ascending alphabetical order.
### Answer:
SELECT Name FROM pilot ORDER BY 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_name_45 (date VARCHAR, home_team VARCHAR, tie_no VARCHAR)
### Question:
On what date does Watford have a Tie no of 2?
### Answer:
SELECT date FROM table_name_45 WHERE home_team = "watford" AND 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_24547593_1 (date VARCHAR, circuit VARCHAR)
### Question:
How many dates was knockhill?
### Answer:
SELECT COUNT(date) FROM table_24547593_1 WHERE circuit = "Knockhill" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1341663_10 (incumbent VARCHAR, district VARCHAR)
### Question:
who is the incumbent where the district is florida 9?
### Answer:
SELECT incumbent FROM table_1341663_10 WHERE district = "Florida 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 Students (cell_mobile_number VARCHAR, student_id VARCHAR); CREATE TABLE Student_Addresses (student_id VARCHAR, monthly_rental VARCHAR)
### Question:
What is the cell phone number of the student whose address has the lowest monthly rental?
### Answer:
SELECT T2.cell_mobile_number FROM Student_Addresses AS T1 JOIN Students AS T2 ON T1.student_id = T2.student_id ORDER BY T1.monthly_rental LIMIT 1 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_93 (population VARCHAR, area_km_2 VARCHAR)
### Question:
What is the population when the area km2 is 173.4?
### Answer:
SELECT population FROM table_name_93 WHERE area_km_2 = 173.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_42 (crowd VARCHAR, venue VARCHAR)
### Question:
What was the attendance at Brunswick Street Oval?
### Answer:
SELECT COUNT(crowd) FROM table_name_42 WHERE venue = "brunswick street 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_name_79 (lane INTEGER, name VARCHAR, rank VARCHAR)
### Question:
What lane did Bronte Barratt, who had a rank larger than 4, swim in?
### Answer:
SELECT AVG(lane) FROM table_name_79 WHERE name = "bronte barratt" AND 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_3 (callsign VARCHAR, commenced_operations INTEGER)
### Question:
Who is the call sign that has a commenced operation before 1976?
### Answer:
SELECT callsign FROM table_name_3 WHERE commenced_operations < 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_33 (country VARCHAR, airline VARCHAR)
### Question:
Name the country for airline of gol
### Answer:
SELECT country FROM table_name_33 WHERE airline = "gol" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14855908_3 (episodes INTEGER, region_4 VARCHAR)
### Question:
How many episodes were put out in Region 4 on March 4, 2010?
### Answer:
SELECT MAX(episodes) FROM table_14855908_3 WHERE region_4 = "March 4, 2010" |
Below is an context that describes a sql 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 (record VARCHAR, opponent VARCHAR)
### Question:
What was the Steeler's record when they played against the new york Jets?
### Answer:
SELECT record FROM table_name_95 WHERE opponent = "new york jets" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_28 (boat_builder VARCHAR, number VARCHAR, name VARCHAR)
### Question:
What boat builder built the valmai with a number less than 65?
### Answer:
SELECT boat_builder FROM table_name_28 WHERE number < 65 AND name = "valmai" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_18955077_1 (just_ratio VARCHAR, just__cents_ VARCHAR)
### Question:
If the just cents is 84.46, what is the just ratio?
### Answer:
SELECT just_ratio FROM table_18955077_1 WHERE just__cents_ = "84.46" |
Below is an context that describes a sql 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 (d_47 VARCHAR, d_48 VARCHAR, d_42 VARCHAR)
### Question:
Name the D 47 when it has a D 48 of d 49 and D 42 of r 42
### Answer:
SELECT d_47 FROM table_name_35 WHERE d_48 = "d 49" AND d_42 = "r 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_93 (points INTEGER, year INTEGER)
### Question:
What is the most amount of points for a team before 1983?
### Answer:
SELECT MAX(points) FROM table_name_93 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_name_21 (time VARCHAR, round VARCHAR, event VARCHAR)
### Question:
Which Time has a Round larger than 1, and an Event of total fighting alliance 2?
### Answer:
SELECT time FROM table_name_21 WHERE round > 1 AND event = "total fighting alliance 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_79 (title VARCHAR, role VARCHAR)
### Question:
What Title has a Role of Mylene?
### Answer:
SELECT title FROM table_name_79 WHERE role = "mylene" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16799784_2 (name VARCHAR, longitude VARCHAR)
### Question:
Name the name origin for 54.0e
### Answer:
SELECT name AS origin FROM table_16799784_2 WHERE longitude = "54.0E" |
Below is an context that describes 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 (name VARCHAR, Club_ID VARCHAR); CREATE TABLE CLub (name VARCHAR, Club_ID VARCHAR)
### Question:
List the names of clubs that do not have any players.
### Answer:
SELECT name FROM CLub WHERE NOT Club_ID IN (SELECT Club_ID FROM player) |
Below is an context that describes a sql 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 (year INTEGER, label VARCHAR, Nr VARCHAR, st VARCHAR)
### Question:
What is the earliest year with a label-Nr of st-43?
### Answer:
SELECT MIN(year) FROM table_name_37 WHERE label - Nr = st - 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 Faculty (FacID VARCHAR, fname VARCHAR, lname VARCHAR); CREATE TABLE Student (fname VARCHAR, lname VARCHAR, advisor VARCHAR)
### Question:
Show first name and last name for all the students advised by Michael Goodrich.
### Answer:
SELECT T2.fname, T2.lname FROM Faculty AS T1 JOIN Student AS T2 ON T1.FacID = T2.advisor WHERE T1.fname = "Michael" AND T1.lname = "Goodrich" |
Below is an context that describes a sql 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 (crowd INTEGER, away_team VARCHAR)
### Question:
Which was the highest crowd drawn by an Away team in Richmond?
### Answer:
SELECT MAX(crowd) FROM table_name_6 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_10707176_2 (rnd VARCHAR, circuit VARCHAR)
### Question:
What rnds were there for the phoenix international raceway?
### Answer:
SELECT rnd FROM table_10707176_2 WHERE circuit = "Phoenix International Raceway" |
Below is an context that describes a sql 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 (market_value__billion_ INTEGER, company VARCHAR, assets__billion_$_ VARCHAR, headquarters VARCHAR, rank VARCHAR)
### Question:
What is the lowest market value (billion $) with a headquarter of usa , and the rank larger than 3, assets (billion$) larger than 208.34, and the company jpmorgan chase?
### Answer:
SELECT MIN(market_value__billion_) AS $_ FROM table_name_2 WHERE headquarters = "usa" AND rank > 3 AND assets__billion_$_ > 208.34 AND company = "jpmorgan chase" |
Below is an context that describes a sql 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 (avg_g INTEGER, long INTEGER)
### Question:
What is the lowest Avg/G with a Long less than 0?
### Answer:
SELECT MIN(avg_g) FROM table_name_99 WHERE long < 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_2562572_37 (population__2011_ VARCHAR, cyrillic_name_other_names VARCHAR)
### Question:
Name the population for 2011 for српска црња
### Answer:
SELECT population__2011_ FROM table_2562572_37 WHERE cyrillic_name_other_names = "Српска Црња" |
Below is an context that describes 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 (city VARCHAR, opening_year INTEGER)
### Question:
How many cities have a stadium that was opened before the year of 2006?
### Answer:
SELECT COUNT(DISTINCT city) FROM stadium WHERE opening_year < 2006 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28744929_1 (joined_acc INTEGER, institution VARCHAR)
### Question:
what year did north carolina institution join the acc?
### Answer:
SELECT MAX(joined_acc) FROM table_28744929_1 WHERE institution = "North Carolina" |
Below is an context that describes a sql 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 (total VARCHAR, builder VARCHAR)
### Question:
How many international builders are there?
### Answer:
SELECT total FROM table_name_84 WHERE builder = "international" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14999879_2 (college VARCHAR, player VARCHAR)
### Question:
What college did steve justice attend?
### Answer:
SELECT college FROM table_14999879_2 WHERE player = "Steve Justice" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_92 (western_title VARCHAR, pinyin VARCHAR)
### Question:
What is the western title of the pinyin new chāojí mǎlìōu xiōngdì?
### Answer:
SELECT western_title FROM table_name_92 WHERE pinyin = "new chāojí mǎlìōu xiōngdì" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE body_builder (People_ID VARCHAR); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR, Weight VARCHAR)
### Question:
What is the name of the body builder with the greatest body weight?
### Answer:
SELECT T2.Name FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID ORDER BY T2.Weight DESC LIMIT 1 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_68 (position VARCHAR, player VARCHAR)
### Question:
What is Daultan Leveille's Position?
### Answer:
SELECT position FROM table_name_68 WHERE player = "daultan leveille" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24587026_1 (wins INTEGER)
### Question:
Name the most wins
### Answer:
SELECT MIN(wins) FROM table_24587026_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_71 (finals VARCHAR, prelim VARCHAR)
### Question:
Name the finals for prelim of out of playoffs
### Answer:
SELECT finals FROM table_name_71 WHERE prelim = "out of playoffs" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28365816_2 (tournament_winner VARCHAR, conference VARCHAR)
### Question:
During the Mid-American Conference who is listed as the tournament winner?
### Answer:
SELECT tournament_winner FROM table_28365816_2 WHERE conference = "Mid-American conference" |
Below is an context that describes a sql 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 (player VARCHAR, score VARCHAR)
### Question:
What is Player, when Score is "68-71=139"?
### Answer:
SELECT player FROM table_name_80 WHERE score = 68 - 71 = 139 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_92 (ihsaa_class VARCHAR, ihsaa_football_class VARCHAR, school VARCHAR)
### Question:
What is the IHSAA class of Centerville, which plays IHSAA class AA football?
### Answer:
SELECT ihsaa_class FROM table_name_92 WHERE ihsaa_football_class = "aa" AND school = "centerville" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28298471_14 (stage VARCHAR, mountains_classification VARCHAR)
### Question:
When michael reihs is the mountains classification what is the stage?
### Answer:
SELECT stage FROM table_28298471_14 WHERE mountains_classification = "Michael Reihs" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1342218_24 (first_elected VARCHAR, incumbent VARCHAR)
### Question:
How many times was william m. colmer winstead first elected?
### Answer:
SELECT COUNT(first_elected) FROM table_1342218_24 WHERE incumbent = "William M. Colmer" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_85 (location VARCHAR, district VARCHAR, station_number VARCHAR)
### Question:
What is the location of the station at Huntingdonshire with a station number of c17?
### Answer:
SELECT location FROM table_name_85 WHERE district = "huntingdonshire" AND station_number = "c17" |
Below is an context that describes a sql 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 (winning_applicant VARCHAR, block VARCHAR, ensemble_name VARCHAR)
### Question:
Who is the Winning Applicant of Ensemble Name Muxco Lincolnshire in Block 10D?
### Answer:
SELECT winning_applicant FROM table_name_45 WHERE block = "10d" AND ensemble_name = "muxco lincolnshire" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1973816_2 (left VARCHAR, enrollment VARCHAR)
### Question:
In what year did the school with enrollment of 650 leave?
### Answer:
SELECT left FROM table_1973816_2 WHERE enrollment = 650 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15315816_1 (year VARCHAR, tournament_location VARCHAR)
### Question:
When are all years that tournament location is Western Turnpike Golf Course?
### Answer:
SELECT year FROM table_15315816_1 WHERE tournament_location = "Western Turnpike Golf Course" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_34 (class VARCHAR, team VARCHAR, points VARCHAR)
### Question:
What was the class that team Honda Britain was in with points higher than 0?
### Answer:
SELECT class FROM table_name_34 WHERE team = "honda britain" AND 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_88 (listed VARCHAR, built VARCHAR)
### Question:
What is the list date of the historic place that was built 1896, 1914?
### Answer:
SELECT listed FROM table_name_88 WHERE built = "1896, 1914" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14934885_1 (date VARCHAR, performer_3 VARCHAR)
### Question:
How many times was performer 3 Kate Robbins?
### Answer:
SELECT COUNT(date) FROM table_14934885_1 WHERE performer_3 = "Kate Robbins" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE staff (last_name VARCHAR, staff_id VARCHAR); CREATE TABLE complaints (staff_id VARCHAR, date_complaint_raised VARCHAR)
### Question:
What is the last name of the staff who has handled the first ever complaint?
### Answer:
SELECT t1.last_name FROM staff AS t1 JOIN complaints AS t2 ON t1.staff_id = t2.staff_id ORDER BY t2.date_complaint_raised LIMIT 1 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24291077_8 (brisbane INTEGER, adelaide VARCHAR)
### Question:
What was the rating for Brisbane the week that Adelaide had 94000?
### Answer:
SELECT MIN(brisbane) FROM table_24291077_8 WHERE adelaide = 94000 |
Below is an context that describes a sql 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 (original_air_date VARCHAR, directed_by VARCHAR, production_code VARCHAR)
### Question:
What is the Original air date for the episode directed by lev l. spiro, with a Production code of 07-00-109?
### Answer:
SELECT original_air_date FROM table_name_35 WHERE directed_by = "lev l. spiro" AND production_code = "07-00-109" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2328113_1 (percentage__2006_ VARCHAR, mother_tongue VARCHAR)
### Question:
What was the percentage in 2006 whose natives is Polish?
### Answer:
SELECT percentage__2006_ FROM table_2328113_1 WHERE mother_tongue = "Polish" |
Below is an context that describes a sql 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 (senior_status VARCHAR, reason_for_termination VARCHAR, chief_judge VARCHAR)
### Question:
What was the senior status for the judge who was terminated because of death, with a Chief Judge entry of —?
### Answer:
SELECT senior_status FROM table_name_22 WHERE reason_for_termination = "death" AND chief_judge = "—" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE submission (Author VARCHAR, Submission_ID VARCHAR); CREATE TABLE acceptance (Submission_ID VARCHAR, workshop_id VARCHAR)
### Question:
Show the authors who have submissions to more than one workshop.
### Answer:
SELECT T2.Author FROM acceptance AS T1 JOIN submission AS T2 ON T1.Submission_ID = T2.Submission_ID GROUP BY T2.Author HAVING COUNT(DISTINCT T1.workshop_id) > 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_41 (record VARCHAR, loss VARCHAR)
### Question:
What was the record at the game that had a loss of Wyatt (4–4)?
### Answer:
SELECT record FROM table_name_41 WHERE loss = "wyatt (4–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_22123920_4 (dates__mdy_ VARCHAR, gross_sales VARCHAR)
### Question:
Which specific dates encompass the time period when "The Show Girl Must Go On" showed a gross sales figure total of $2,877,906?
### Answer:
SELECT dates__mdy_ FROM table_22123920_4 WHERE gross_sales = "$2,877,906" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE documents (access_count INTEGER, document_structure_code VARCHAR)
### Question:
Find the average access count of documents with the least popular structure.
### Answer:
SELECT AVG(access_count) FROM documents GROUP BY document_structure_code ORDER BY COUNT(*) LIMIT 1 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_5 (home_team VARCHAR, crowd INTEGER)
### Question:
Who was the home team when the attendance was more than 20,283?
### Answer:
SELECT home_team FROM table_name_5 WHERE crowd > 20 OFFSET 283 |
Below is an context that describes a sql 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 (total INTEGER, fa_cup INTEGER)
### Question:
What is the highest total number of appearances when there were less than 4 at the FA cup?
### Answer:
SELECT MAX(total) FROM table_name_53 WHERE fa_cup < 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_86 (attendance INTEGER, date VARCHAR)
### Question:
What is the average attendance on april 24?
### Answer:
SELECT AVG(attendance) FROM table_name_86 WHERE date = "april 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_2899987_2 (programming VARCHAR, network VARCHAR)
### Question:
What are all the programs on the Soy Guerrero network?
### Answer:
SELECT programming FROM table_2899987_2 WHERE network = "Soy Guerrero" |
Below is an context that describes a sql 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 (score VARCHAR, home_team VARCHAR)
### Question:
What is the score if Millwall is the Home Team?
### Answer:
SELECT score FROM table_name_18 WHERE home_team = "millwall" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15070195_1 (date_completed VARCHAR, nickname VARCHAR)
### Question:
when the nickname halley is used, what are the date completed
### Answer:
SELECT date_completed FROM table_15070195_1 WHERE nickname = "Halley" |
Below is an context that describes a sql 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 (year_left INTEGER, location VARCHAR)
### Question:
When was the first year when Fowler joined?
### Answer:
SELECT MIN(year_left) FROM table_name_73 WHERE location = "fowler" |
Below is an context that describes a sql 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 (runner_up VARCHAR, year VARCHAR)
### Question:
Who is the runner-up in 1901?
### Answer:
SELECT runner_up FROM table_name_78 WHERE year = "1901" |
Below is an context that describes a sql 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 (gold VARCHAR, total VARCHAR, bronze VARCHAR, rank VARCHAR)
### Question:
What is the total number of gold medals when there were 2 bronze medals, a total of more than 3 medals and ranked 61?
### Answer:
SELECT COUNT(gold) FROM table_name_31 WHERE bronze = 2 AND rank = "61" AND 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_13836704_7 (transit_passengers VARCHAR, airport VARCHAR)
### Question:
How many different total number of transit passengers are there in London Luton?
### Answer:
SELECT COUNT(transit_passengers) FROM table_13836704_7 WHERE airport = "London Luton" |
Below is an context that describes a sql 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 (round INTEGER, school_club_team VARCHAR, pick VARCHAR)
### Question:
What's the highest round that louisville drafted into when their pick was over 75?
### Answer:
SELECT MAX(round) FROM table_name_14 WHERE school_club_team = "louisville" AND pick > 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 (series VARCHAR, team VARCHAR, game VARCHAR)
### Question:
what is the series when the team is @boston and the game is smaller than 3?
### Answer:
SELECT series FROM table_name_16 WHERE team = "@boston" AND game < 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_16034882_4 (wins VARCHAR, points VARCHAR)
### Question:
How many wins did the team with 42 points get?
### Answer:
SELECT wins FROM table_16034882_4 WHERE points = 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_262505_1 (founded VARCHAR, type VARCHAR, enrollment VARCHAR)
### Question:
Name the total number of founded for public and 780 enrollment
### Answer:
SELECT COUNT(founded) FROM table_262505_1 WHERE type = "Public" AND enrollment = "780" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_19901_1 (muzzle_device VARCHAR, colt_model_no VARCHAR)
### Question:
Which muzzle devices are on the Colt 603?
### Answer:
SELECT muzzle_device FROM table_19901_1 WHERE colt_model_no = "603" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1140111_5 (report VARCHAR, circuit VARCHAR)
### Question:
What kind of report is for the Pau circuit?
### Answer:
SELECT report FROM table_1140111_5 WHERE circuit = "Pau" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27484208_1 (world_rank_by_qs_ VARCHAR, _2013 VARCHAR, members VARCHAR)
### Question:
What was the world rank by QS in 2013 for the University of Otago?
### Answer:
SELECT world_rank_by_qs_, _2013 FROM table_27484208_1 WHERE members = "University of Otago" |
Below is an context that describes a sql 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 (average INTEGER, interview VARCHAR, evening_gown VARCHAR)
### Question:
What is the total number of averages with an interview of 8.75 when the evening gown number was bigger than 8.75?
### Answer:
SELECT SUM(average) FROM table_name_62 WHERE interview = 8.75 AND evening_gown > 8.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_35 (top_5 INTEGER, events INTEGER)
### Question:
What is the sum of Top-5 values with events values less than 2?
### Answer:
SELECT SUM(top_5) FROM table_name_35 WHERE events < 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_17350255_1 (film_title_used_in_nomination VARCHAR, original_title VARCHAR)
### Question:
What was the title used in nomination in the original Bābǎi Zhuàngshì (八百壯士)?
### Answer:
SELECT film_title_used_in_nomination FROM table_17350255_1 WHERE original_title = "Bābǎi zhuàngshì (八百壯士)" |
Below is an context that describes a sql 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 (record VARCHAR, points VARCHAR, score VARCHAR)
### Question:
Which Record has Points larger than 0, and a Score of 7–3?
### Answer:
SELECT record FROM table_name_96 WHERE points > 0 AND score = "7–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 (date VARCHAR, player VARCHAR, original_team VARCHAR, result VARCHAR)
### Question:
What date has Vancouver Canucks as the original team, Ryan Kesler as the player, and matched as the Result?
### Answer:
SELECT date FROM table_name_26 WHERE original_team = "vancouver canucks" AND result = "matched" AND player = "ryan kesler" |
Below is an context that describes a sql 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 (song VARCHAR, year VARCHAR, us_hot_100 VARCHAR)
### Question:
Which Song has a Year smaller than 1979, and a US Hot 100 of 8?
### Answer:
SELECT song FROM table_name_1 WHERE year < 1979 AND us_hot_100 = "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_29141354_4 (first_broadcast VARCHAR, jamie_and_johns_guest VARCHAR)
### Question:
What date did the episode with Andy Murray as Jamie and John's guest first broadcast?
### Answer:
SELECT first_broadcast FROM table_29141354_4 WHERE jamie_and_johns_guest = "Andy Murray" |
Below is an context that describes a sql 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 (partner VARCHAR, opponents_in_the_final VARCHAR)
### Question:
Who was the Partner for Flavio Cipolla Simone Vagnozzi Opponents in the final?
### Answer:
SELECT partner FROM table_name_7 WHERE opponents_in_the_final = "flavio cipolla simone vagnozzi" |
Below is an context that describes a sql 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 (site VARCHAR, winning_team VARCHAR)
### Question:
Where was the series that the Kansas City Royals lost?
### Answer:
SELECT site FROM table_name_65 WHERE winning_team = "kansas city royals" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_28 (lane INTEGER, country VARCHAR, react VARCHAR)
### Question:
What is the lowest Lane, when Country is France, and when React is less than 0.14100000000000001?
### Answer:
SELECT MIN(lane) FROM table_name_28 WHERE country = "france" AND react < 0.14100000000000001 |
Below is an context that describes a sql 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 (time VARCHAR, track_number VARCHAR, song_title VARCHAR)
### Question:
Name the time with track number less than 4 for you're my everything
### Answer:
SELECT time FROM table_name_58 WHERE track_number < 4 AND song_title = "you're my everything" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14260687_3 (windows_phone VARCHAR, total VARCHAR)
### Question:
How many million of windows phones were shipped during the quarter that shipped 216.2 million total?
### Answer:
SELECT windows_phone FROM table_14260687_3 WHERE total = "216.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_28 (capacity VARCHAR, venue VARCHAR)
### Question:
What is the total number for Capacity at city stadium, borisov?
### Answer:
SELECT COUNT(capacity) FROM table_name_28 WHERE venue = "city stadium, borisov" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_18600760_19 (township VARCHAR, latitude VARCHAR)
### Question:
how is called the township where the latitude is 47.377790
### Answer:
SELECT township FROM table_18600760_19 WHERE latitude = "47.377790" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_142159_1 (name VARCHAR, builder VARCHAR)
### Question:
What is the name with the builder of Kerr Stuart
### Answer:
SELECT name FROM table_142159_1 WHERE builder = "Kerr Stuart" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1341423_40 (party VARCHAR, candidates VARCHAR)
### Question:
what is the party when candidates is jim demint (r) 80%?
### Answer:
SELECT party FROM table_1341423_40 WHERE candidates = "Jim DeMint (R) 80%" |
Below is an context that describes a sql 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 (competition VARCHAR, venue VARCHAR)
### Question:
Which competition took place at Stade Fernand Fournier, Arles?
### Answer:
SELECT competition FROM table_name_51 WHERE venue = "stade fernand fournier, arles" |
Below is an context that describes a sql 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 (driver VARCHAR, grid VARCHAR, time_retired VARCHAR)
### Question:
What driver has a grid under 12 with a Time/Retired of + 3 laps?
### Answer:
SELECT driver FROM table_name_87 WHERE grid < 12 AND time_retired = "+ 3 laps" |
Below is an context that describes a sql 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 (tournament VARCHAR)
### Question:
What is 2000, when Tournament is "Canada Masters"?
### Answer:
SELECT 2000 FROM table_name_67 WHERE tournament = "canada masters" |
Below is an context that describes a sql 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 (opponent VARCHAR, opponents VARCHAR)
### Question:
Who is the opponent with 16 points?
### Answer:
SELECT opponent FROM table_name_5 WHERE opponents = 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_88 (transfer_fee VARCHAR, transfer_window VARCHAR, name VARCHAR)
### Question:
Name the transfer fee with a transfer window of summer for schollen
### Answer:
SELECT transfer_fee FROM table_name_88 WHERE transfer_window = "summer" AND name = "schollen" |
Below is an context that describes a 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_20 (episode INTEGER)
### Question:
What is the first episode number?
### Answer:
SELECT MIN(episode) FROM table_15187735_20 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2665085_1 (park VARCHAR, name VARCHAR)
### Question:
What park is Boardwalk Bullet located in?
### Answer:
SELECT park FROM table_2665085_1 WHERE name = "Boardwalk Bullet" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.