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 (code INTEGER, region VARCHAR, type VARCHAR, name VARCHAR)
### Question:
What is the smallest code associated with a type of m for a region less than 17 named, named saint-sylvère?
### Answer:
SELECT MIN(code) FROM table_name_98 WHERE type = "m" AND name = "saint-sylvère" AND region < 17 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_81 (date VARCHAR, course VARCHAR)
### Question:
Which date was a rest day?
### Answer:
SELECT date FROM table_name_81 WHERE course = "rest day" |
Below is an context that describes a sql 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 (visitor VARCHAR, date VARCHAR)
### Question:
Which Visitor played on January 17?
### Answer:
SELECT visitor FROM table_name_67 WHERE date = "january 17" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15621965_10 (years_in_orlando VARCHAR, school_club_team VARCHAR)
### Question:
Name the years in orlando that the player from concord hs was in
### Answer:
SELECT years_in_orlando FROM table_15621965_10 WHERE school_club_team = "Concord HS" |
Below is an context that describes a sql 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 (assists INTEGER, club VARCHAR, points VARCHAR)
### Question:
How many Assists have a Club of adler mannheim, and Points larger than 57?
### Answer:
SELECT SUM(assists) FROM table_name_60 WHERE club = "adler mannheim" AND points > 57 |
Below is an context that describes a sql 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 (class VARCHAR, date VARCHAR)
### Question:
What is the class of the race that takes place on August 25?
### Answer:
SELECT class FROM table_name_20 WHERE date = "august 25" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_6 (venue VARCHAR, result VARCHAR)
### Question:
Where was the game with a result of won 5-0?
### Answer:
SELECT venue FROM table_name_6 WHERE result = "won 5-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_4 (week INTEGER, result VARCHAR)
### Question:
On what Week was the Result W 17-14?
### Answer:
SELECT AVG(week) FROM table_name_4 WHERE result = "w 17-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_24096813_15 (part_number_s_ VARCHAR, tdp VARCHAR)
### Question:
What's the part number of the model with TDP of 2.9 (max.4.1~5.4) w?
### Answer:
SELECT part_number_s_ FROM table_24096813_15 WHERE tdp = "2.9 (Max.4.1~5.4) W" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1969577_3 (type VARCHAR, nickname VARCHAR)
### Question:
What's the type of the school whose students are nicknamed Chargers?
### Answer:
SELECT type FROM table_1969577_3 WHERE nickname = "Chargers" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_32 (date VARCHAR, result VARCHAR)
### Question:
When was there a bye result?
### Answer:
SELECT date FROM table_name_32 WHERE result = "bye" |
Below is an context that describes a sql 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 (club_province VARCHAR, caps VARCHAR)
### Question:
What club or province is the player with 12 caps from?
### Answer:
SELECT club_province FROM table_name_49 WHERE caps = 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_1 (points INTEGER, game VARCHAR, december VARCHAR, score VARCHAR)
### Question:
Which Points have a December smaller than 6, and a Score of 1–1 ot, and a Game smaller than 28?
### Answer:
SELECT MIN(points) FROM table_name_1 WHERE december < 6 AND score = "1–1 ot" AND game < 28 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE STUDENT (Age INTEGER)
### Question:
Find the maximum age of all the students.
### Answer:
SELECT MAX(Age) FROM STUDENT |
Below is an context that describes a sql 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 (heat INTEGER, lane VARCHAR, quart VARCHAR)
### Question:
When a lane of 4 has a QUART greater than 44.62, what is the lowest HEAT?
### Answer:
SELECT MIN(heat) FROM table_name_44 WHERE lane = 4 AND quart > 44.62 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2850912_6 (pick__number INTEGER, player VARCHAR)
### Question:
What pick was Greg Strome?
### Answer:
SELECT MAX(pick__number) FROM table_2850912_6 WHERE player = "Greg Strome" |
Below is an context that describes a sql 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 (bronze INTEGER, total VARCHAR, silver VARCHAR, gold VARCHAR)
### Question:
Which country has the most bronze and has more than one silver, 1 gold, and less than 4 total medals.
### Answer:
SELECT MAX(bronze) FROM table_name_80 WHERE silver > 1 AND gold = 1 AND total < 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_60 (score VARCHAR, home VARCHAR, leading_scorer VARCHAR)
### Question:
What is the score of the home game for the Cavaliers where Lebron James (46) was the lead scorer?
### Answer:
SELECT score FROM table_name_60 WHERE home = "cavaliers" AND leading_scorer = "lebron james (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_38 (venue VARCHAR, home_team VARCHAR)
### Question:
Where does Essendon play their home games?
### Answer:
SELECT venue FROM table_name_38 WHERE home_team = "essendon" |
Below is an context that describes a sql 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 (language VARCHAR, draw VARCHAR)
### Question:
Which language has 3 draws?
### Answer:
SELECT language FROM table_name_15 WHERE draw = 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_40 (bronze INTEGER, rank INTEGER)
### Question:
What's the highest bronze with a less than 1 Rank?
### Answer:
SELECT MAX(bronze) FROM table_name_40 WHERE rank < 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_10138926_1 (city VARCHAR)
### Question:
What's the 1981 census of Livorno?
### Answer:
SELECT 1981 AS _census FROM table_10138926_1 WHERE city = "Livorno" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1028356_3 (opponents VARCHAR, partner VARCHAR)
### Question:
How many matches where played with Jim Pugh?
### Answer:
SELECT COUNT(opponents) FROM table_1028356_3 WHERE partner = "Jim Pugh" |
Below is an context that describes a sql 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 (date VARCHAR, winning_score VARCHAR)
### Question:
What was the date of the match with a winning score of –7 (67-72-69-69=277)?
### Answer:
SELECT date FROM table_name_10 WHERE winning_score = –7(67 - 72 - 69 - 69 = 277) |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2668169_2 (candidates VARCHAR, district VARCHAR)
### Question:
Who are the candidates for the Pennsylvania 11 district?
### Answer:
SELECT candidates FROM table_2668169_2 WHERE district = "Pennsylvania 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_12792876_3 (won VARCHAR, points_for VARCHAR)
### Question:
What was the won when the points for was 496?
### Answer:
SELECT won FROM table_12792876_3 WHERE points_for = "496" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26464364_1 (written_by VARCHAR, directed_by VARCHAR)
### Question:
Who are the writers of the episodes directed by Justin Hartley?
### Answer:
SELECT written_by FROM table_26464364_1 WHERE directed_by = "Justin Hartley" |
Below is an context that describes a sql 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 (titles INTEGER)
### Question:
What is the total number of 3rd place finishes for racers with 0 titles?
### Answer:
SELECT SUM(3 AS rd_pl) FROM table_name_31 WHERE titles < 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_16734640_1 (location VARCHAR, institution VARCHAR)
### Question:
Name the location for abraham baldwin agricultural college
### Answer:
SELECT location FROM table_16734640_1 WHERE institution = "Abraham Baldwin Agricultural College" |
Below is an context that describes a sql 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 (games VARCHAR, marks VARCHAR)
### Question:
Name the games with marks of 21
### Answer:
SELECT games FROM table_name_71 WHERE marks = "21" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_19 (termini VARCHAR, direction VARCHAR, remarks VARCHAR)
### Question:
What is the terminini of the highway with an east west direction and remarks that it was replaced by us 59?
### Answer:
SELECT termini FROM table_name_19 WHERE direction = "east west" AND remarks = "replaced by us 59" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11677691_8 (college VARCHAR, player VARCHAR)
### Question:
Where did robert nkemdiche ‡ go to college
### Answer:
SELECT college FROM table_11677691_8 WHERE player = "Robert Nkemdiche ‡" |
Below is an context that describes a sql 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 (grand_prix VARCHAR, round VARCHAR)
### Question:
Which Grand Prix had 9 rounds?
### Answer:
SELECT grand_prix FROM table_name_82 WHERE round = 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_89 (record VARCHAR, game_site VARCHAR, opponent VARCHAR)
### Question:
What is the record for the game against New England Patriots at the Rich Stadium?
### Answer:
SELECT record FROM table_name_89 WHERE game_site = "rich stadium" AND opponent = "new england patriots" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE song (song_name VARCHAR, rating INTEGER, genre_is VARCHAR)
### Question:
What are the names of all songs that have a lower rating than some song of blues genre?
### Answer:
SELECT song_name FROM song WHERE rating < (SELECT MAX(rating) FROM song WHERE genre_is = "blues") |
Below is an context that describes a sql 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 (goals VARCHAR, transfer_window VARCHAR, name VARCHAR)
### Question:
How many goals for Kenton have a transfer window of Summer?
### Answer:
SELECT COUNT(goals) FROM table_name_36 WHERE transfer_window = "summer" AND name = "kenton" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25421463_1 (team_name VARCHAR, points VARCHAR)
### Question:
What team was Sigachev on when he had 38 points?
### Answer:
SELECT team_name FROM table_25421463_1 WHERE points = "38" |
Below is an context that describes a sql 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 (country VARCHAR, player VARCHAR)
### Question:
What country is Chad Campbell from?
### Answer:
SELECT country FROM table_name_49 WHERE player = "chad campbell" |
Below is an context that describes a sql 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 (home_team VARCHAR, venue VARCHAR)
### Question:
What was the home team score for the game played at Princes Park?
### Answer:
SELECT home_team AS score FROM table_name_3 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_45 (race_1 INTEGER, race_3 VARCHAR, points VARCHAR)
### Question:
How many race 1's have 5 as the race 3, with points less than 59?
### Answer:
SELECT SUM(race_1) FROM table_name_45 WHERE race_3 = "5" AND points < 59 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26136228_3 (written_by VARCHAR, us_viewers__millions_ VARCHAR)
### Question:
Who wrote the episode that had 1.08 million U.S. viewers?
### Answer:
SELECT written_by FROM table_26136228_3 WHERE us_viewers__millions_ = "1.08" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_12148147_2 (third_year VARCHAR, first_year VARCHAR)
### Question:
How many classes are taken in the third year when pag-unawa was taken in the first year?
### Answer:
SELECT COUNT(third_year) FROM table_12148147_2 WHERE first_year = "Pag-unawa" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE school (enrollment INTEGER)
### Question:
Show the average, maximum, minimum enrollment of all schools.
### Answer:
SELECT AVG(enrollment), MAX(enrollment), MIN(enrollment) FROM school |
Below is an context that describes a sql 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 (year_won VARCHAR, player VARCHAR, total VARCHAR)
### Question:
What is the Year won of Davis Love III with a Total of less than 149?
### Answer:
SELECT COUNT(year_won) FROM table_name_93 WHERE player = "davis love iii" AND total < 149 |
Below is an context that describes a sql 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 (decile INTEGER, area VARCHAR, roll VARCHAR)
### Question:
What is the total decile with an Area of whitianga, and a Roll smaller than 835?
### Answer:
SELECT SUM(decile) FROM table_name_64 WHERE area = "whitianga" AND roll < 835 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24924576_2 (number INTEGER)
### Question:
Name the most number
### Answer:
SELECT MAX(number) FROM table_24924576_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_1300525_1 (traditional VARCHAR, area VARCHAR)
### Question:
What is the traditional way to write the name of the district who's area is 2331?
### Answer:
SELECT traditional FROM table_1300525_1 WHERE area = 2331 |
Below is an context that describes a sql 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 (surface VARCHAR, tournament VARCHAR)
### Question:
What is the surface at the tournament of Vaihingen?
### Answer:
SELECT surface FROM table_name_24 WHERE tournament = "vaihingen" |
Below is an context that describes a sql 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 (loss VARCHAR, record VARCHAR)
### Question:
Who lost the game with a record of 20-13?
### Answer:
SELECT loss FROM table_name_41 WHERE record = "20-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_53 (opponent VARCHAR, tournament VARCHAR)
### Question:
Who was the opponent that anke huber played against in the leipzig tournament?
### Answer:
SELECT opponent FROM table_name_53 WHERE tournament = "leipzig" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_20345624_2 (writer VARCHAR, original_airdate VARCHAR)
### Question:
Name the number of writers for airdate of 15 july 1967
### Answer:
SELECT COUNT(writer) FROM table_20345624_2 WHERE original_airdate = "15 July 1967" |
Below is an context that describes a sql 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 (nfl_team VARCHAR, college VARCHAR)
### Question:
Which NFL team has a player that came from a college in Washington?
### Answer:
SELECT nfl_team FROM table_name_33 WHERE college = "washington" |
Below is an context that describes a sql 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 (player VARCHAR, country VARCHAR, place VARCHAR)
### Question:
Who is the player from the United States and a place of t2?
### Answer:
SELECT player FROM table_name_10 WHERE country = "united states" AND place = "t2" |
Below is an context that describes a sql 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 (built VARCHAR, name VARCHAR)
### Question:
Who built the conant creek pegram truss railroad bridge?
### Answer:
SELECT built FROM table_name_71 WHERE name = "conant creek pegram truss railroad bridge" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1358608_4 (date VARCHAR, result VARCHAR)
### Question:
On what date did Northerly place 6th?
### Answer:
SELECT date FROM table_1358608_4 WHERE result = "6th" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1965650_6 (nationality VARCHAR, player VARCHAR)
### Question:
What nationality for neil korzack?
### Answer:
SELECT nationality FROM table_1965650_6 WHERE player = "Neil Korzack" |
Below is an context that describes a sql 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 (poll_source VARCHAR, lead_margin VARCHAR)
### Question:
Which poll source has a lead of 17?
### Answer:
SELECT poll_source FROM table_name_87 WHERE lead_margin = 17 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1965650_4 (nationality VARCHAR, college_junior_club_team VARCHAR)
### Question:
What's the nationality of the player coming from Edmonton Oil Kings (WCHL)?
### Answer:
SELECT nationality FROM table_1965650_4 WHERE college_junior_club_team = "Edmonton Oil Kings (WCHL)" |
Below is an context that describes a sql 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 (attendance INTEGER, date VARCHAR, week VARCHAR)
### Question:
What was the highest number of attendance in a week before 8 and game on October 25, 1981?
### Answer:
SELECT MAX(attendance) FROM table_name_25 WHERE date = "october 25, 1981" AND week < 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_19860361_3 (pixie_and_dixie VARCHAR, ep VARCHAR)
### Question:
What is the Pixie and Dixie skit in episode 7?
### Answer:
SELECT pixie_and_dixie FROM table_19860361_3 WHERE ep = 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_55 (position VARCHAR, notes VARCHAR)
### Question:
Which Position has Notes of 68.76 m?
### Answer:
SELECT position FROM table_name_55 WHERE notes = "68.76 m" |
Below is an context that describes a sql 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 (performer_3 VARCHAR, date VARCHAR)
### Question:
Date of 15 july 1994 involves which performer 3?
### Answer:
SELECT performer_3 FROM table_name_56 WHERE date = "15 july 1994" |
Below is an context that describes a sql 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 (venue VARCHAR, runs VARCHAR)
### Question:
Where is the venue with more than 245 runs?
### Answer:
SELECT venue FROM table_name_71 WHERE runs = "245" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_50 (record VARCHAR, opponent VARCHAR, date VARCHAR)
### Question:
What was the home team's record when they played the Devil Rays on September 6?
### Answer:
SELECT record FROM table_name_50 WHERE opponent = "devil rays" AND date = "september 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_5 (away_team VARCHAR, home_team VARCHAR)
### Question:
What was the away teams score when Hawthorn played as the home team?
### Answer:
SELECT away_team AS score FROM table_name_5 WHERE home_team = "hawthorn" |
Below is an context that describes a sql 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 (place VARCHAR, score VARCHAR)
### Question:
What place has a 67-68-78-77=290 score?
### Answer:
SELECT place FROM table_name_25 WHERE score = 67 - 68 - 78 - 77 = 290 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17323042_6 (high_points VARCHAR, date VARCHAR)
### Question:
Who had the high points on December 17?
### Answer:
SELECT high_points FROM table_17323042_6 WHERE date = "December 17" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_82 (athlete VARCHAR, nationality VARCHAR, group VARCHAR, rank VARCHAR, result VARCHAR)
### Question:
Which athlete's rank is more than 15 when the result is less than 7.68, the group is b, and the nationality listed is Great Britain?
### Answer:
SELECT athlete FROM table_name_82 WHERE rank > 15 AND result < 7.68 AND group = "b" 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_34 (home_team VARCHAR, venue VARCHAR)
### Question:
How much was the score of the home team at windy hill?
### Answer:
SELECT home_team AS score FROM table_name_34 WHERE venue = "windy hill" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2679061_1 (college_junior_club_team VARCHAR, player VARCHAR)
### Question:
what is the college/junior/club team for the player alfie turcotte?
### Answer:
SELECT college_junior_club_team FROM table_2679061_1 WHERE player = "Alfie Turcotte" |
Below is an context that describes a sql 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 (date VARCHAR, venue VARCHAR, competition VARCHAR, score VARCHAR)
### Question:
When did a Competition of friendly, and a Score of 2–1, and a Venue of philadelphia , pennsylvania occur?
### Answer:
SELECT date FROM table_name_4 WHERE competition = "friendly" AND score = "2–1" AND venue = "philadelphia , pennsylvania" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2622469_1 (wins VARCHAR, year VARCHAR)
### Question:
What were the wins of 1983?
### Answer:
SELECT wins FROM table_2622469_1 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_8 (fastest_lap VARCHAR, circuit VARCHAR, pole_position VARCHAR, winning_team VARCHAR, race VARCHAR)
### Question:
What is Fastest Lap, when Winning Team is Team BRM, when Race is 1, when Pole Position is Leanne Tander, and when Circuit is Phillip Island?
### Answer:
SELECT fastest_lap FROM table_name_8 WHERE winning_team = "team brm" AND race = 1 AND pole_position = "leanne tander" AND circuit = "phillip island" |
Below is an context that describes a 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_46 (population__2011_ VARCHAR, settlement VARCHAR)
### Question:
What was the 2011 population of pavliš?
### Answer:
SELECT population__2011_ FROM table_2562572_46 WHERE settlement = "Pavliš" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1555308_1 (prothrombin_time VARCHAR, platelet_count VARCHAR)
### Question:
How many entries for prothrombin time are there where platelet count is "decreased or unaffected"?
### Answer:
SELECT COUNT(prothrombin_time) FROM table_1555308_1 WHERE platelet_count = "Decreased or unaffected" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE operate_company (name VARCHAR, type VARCHAR, id VARCHAR); CREATE TABLE flight (Id VARCHAR)
### Question:
What are the names and types of the companies that have ever operated a flight?
### Answer:
SELECT T1.name, T1.type FROM operate_company AS T1 JOIN flight AS t2 ON T1.id = T2.company_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_95 (teams VARCHAR, third__points_ VARCHAR)
### Question:
Name the teams for third points of season cancelled
### Answer:
SELECT teams FROM table_name_95 WHERE third__points_ = "season cancelled" |
Below is an context that describes a sql 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 (nhl_team VARCHAR, player VARCHAR)
### Question:
Name the team of vitali yeremeyev
### Answer:
SELECT nhl_team FROM table_name_97 WHERE player = "vitali yeremeyev" |
Below is an context that describes a sql 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 (constructor VARCHAR, q1_pos VARCHAR, q1_time VARCHAR)
### Question:
Who was the constructor of the car that had a Q1 pos of less than 8 and a Q1 time of 1:15.038?
### Answer:
SELECT constructor FROM table_name_84 WHERE q1_pos < 8 AND q1_time = "1:15.038" |
Below is an context that describes a sql 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 (date VARCHAR, visitor VARCHAR)
### Question:
What date was the game where the visiting team was philadelphia?
### Answer:
SELECT date FROM table_name_10 WHERE visitor = "philadelphia" |
Below is an context that describes a sql 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 (country VARCHAR, winter_olympics VARCHAR)
### Question:
what is the country for the 1972 winter olympics?
### Answer:
SELECT country FROM table_name_7 WHERE winter_olympics = 1972 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_10015132_2 (player VARCHAR, school_club_team VARCHAR)
### Question:
How many players were with the school or club team La Salle?
### Answer:
SELECT COUNT(player) FROM table_10015132_2 WHERE school_club_team = "La Salle" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2709_4 (target_city__market VARCHAR, call_sign VARCHAR)
### Question:
What is the market for KLRJ?
### Answer:
SELECT target_city__market FROM table_2709_4 WHERE call_sign = "KLRJ" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_59 (interview INTEGER, evening_gown VARCHAR, average VARCHAR)
### Question:
What is the total number of interview scores that have an evening gown score of 9.543 and an average that is bigger than 9.521?
### Answer:
SELECT SUM(interview) FROM table_name_59 WHERE evening_gown = 9.543 AND average > 9.521 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23512864_4 (speaker VARCHAR, chief_minister VARCHAR)
### Question:
What is the name of the speaker if the chief minister is M.G. Ramachandran?
### Answer:
SELECT speaker FROM table_23512864_4 WHERE chief_minister = "M.G. Ramachandran" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16268026_3 (interview VARCHAR, preliminary_average VARCHAR)
### Question:
What is the interview when preliminary average is 8.662 (3) ?
### Answer:
SELECT interview FROM table_16268026_3 WHERE preliminary_average = "8.662 (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_71 (visitor VARCHAR, record VARCHAR)
### Question:
Which Visitor has a Record of 9–12–5?
### Answer:
SELECT visitor FROM table_name_71 WHERE record = "9–12–5" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_48 (pop__2004_ INTEGER, governorate VARCHAR)
### Question:
How many Pop (2004) has a Governorate of al mahwit?
### Answer:
SELECT SUM(pop__2004_) FROM table_name_48 WHERE governorate = "al mahwit" |
Below is an context that describes a sql 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 (goals_scored INTEGER, team VARCHAR, points VARCHAR)
### Question:
What is the total number of Goals Scored, when the Team is San Salvador F.C., and when the Points are less than 10?
### Answer:
SELECT MAX(goals_scored) FROM table_name_33 WHERE team = "san salvador f.c." AND points < 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 (year INTEGER, chassis VARCHAR, points VARCHAR)
### Question:
What is the year with a Kurtis Kraft 500a chassis, and less than 1.5 points?
### Answer:
SELECT SUM(year) FROM table_name_10 WHERE chassis = "kurtis kraft 500a" AND points < 1.5 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_6 (grid VARCHAR, driver VARCHAR)
### Question:
How many grids does dave walker have?
### Answer:
SELECT COUNT(grid) FROM table_name_6 WHERE driver = "dave walker" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28562675_3 (germany VARCHAR, italy VARCHAR, england VARCHAR)
### Question:
How many years did Germany participate, when the team from Italy was Naples LL Naples and the team from England was London Area Youth London?
### Answer:
SELECT COUNT(germany) FROM table_28562675_3 WHERE italy = "Naples LL Naples" AND england = "London Area Youth London" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27734769_8 (date VARCHAR, high_assists VARCHAR)
### Question:
what is the date the high assists was andre miller (7)?
### Answer:
SELECT date FROM table_27734769_8 WHERE high_assists = "Andre Miller (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_46 (rank VARCHAR, city VARCHAR)
### Question:
What is the rank for the city of sewri?
### Answer:
SELECT COUNT(rank) FROM table_name_46 WHERE city = "sewri" |
Below is an context that describes 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 (student_details VARCHAR, student_id VARCHAR); CREATE TABLE student_course_registrations (student_id VARCHAR)
### Question:
What is detail of the student who registered the most number of courses?
### Answer:
SELECT T1.student_details FROM students AS T1 JOIN student_course_registrations AS T2 ON T1.student_id = T2.student_id GROUP BY T1.student_id ORDER BY COUNT(*) 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_7 (bike VARCHAR, rider VARCHAR, grid VARCHAR, time VARCHAR)
### Question:
What kind of bike had a grid less than 23, an accident under time, and Graeme Gowland as a rider?
### Answer:
SELECT bike FROM table_name_7 WHERE grid < 23 AND time = "accident" AND rider = "graeme gowland" |
Below is an context that describes a sql 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 (attendance INTEGER, date VARCHAR, week VARCHAR)
### Question:
Which Attendance has a Date of december 22, 1985, and a Week smaller than 16?
### Answer:
SELECT SUM(attendance) FROM table_name_65 WHERE date = "december 22, 1985" AND week < 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_39 (venue VARCHAR, home_team VARCHAR)
### Question:
What venue is the home of the Carlton team?
### Answer:
SELECT venue FROM table_name_39 WHERE home_team = "carlton" |
Below is an context that describes a sql 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 (country VARCHAR, athlete VARCHAR, notes VARCHAR, rank VARCHAR)
### Question:
what is the country when the nots is sa/b, the rank is more than 1 and the athlete is zhang xiuyun?
### Answer:
SELECT country FROM table_name_55 WHERE notes = "sa/b" AND rank > 1 AND athlete = "zhang xiuyun" |
Below is an context that describes a sql 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 (part_2 VARCHAR, part_4 VARCHAR)
### Question:
what is part 2 when part 4 is gebonden?
### Answer:
SELECT part_2 FROM table_name_92 WHERE part_4 = "gebonden" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.