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_68 (date VARCHAR, venue VARCHAR)
### Question:
I want the date with the venue of mcalpine stadium
### Answer:
SELECT date FROM table_name_68 WHERE venue = "mcalpine stadium" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_10610087_3 (original_air_date VARCHAR, no_in_season VARCHAR)
### Question:
what is the original air date of the episode no in season 9?
### Answer:
SELECT original_air_date FROM table_10610087_3 WHERE no_in_season = 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_58 (location VARCHAR, opponent VARCHAR)
### Question:
Where did the Bruins play Iowa State?
### Answer:
SELECT location FROM table_name_58 WHERE opponent = "iowa state" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11236195_5 (losingteam VARCHAR, location VARCHAR)
### Question:
How many teams lost at the sydney football stadium, sydney (11)?
### Answer:
SELECT COUNT(losingteam) FROM table_11236195_5 WHERE location = "Sydney Football Stadium, Sydney (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_75 (points INTEGER, entrant VARCHAR, year VARCHAR)
### Question:
What was the average points for Hopkins before 1956?
### Answer:
SELECT AVG(points) FROM table_name_75 WHERE entrant = "hopkins" AND year < 1956 |
Below is an context that describes a sql 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 (elector VARCHAR, nationality VARCHAR, elevated VARCHAR)
### Question:
Who was the French Elector Elevated on 1288, May 16?
### Answer:
SELECT elector FROM table_name_92 WHERE nationality = "french" AND elevated = "1288, may 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_49 (laps INTEGER, grid VARCHAR, points VARCHAR, team VARCHAR)
### Question:
What is the highest number of laps when there are less than 5 points for team garry rogers motorsport and the grid number is under 23?
### Answer:
SELECT MAX(laps) FROM table_name_49 WHERE points < 5 AND team = "garry rogers motorsport" AND grid < 23 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11622771_1 (location VARCHAR, tournament VARCHAR)
### Question:
Where was the Fairfield Barnett classic tournament held?
### Answer:
SELECT location FROM table_11622771_1 WHERE tournament = "Fairfield Barnett Classic" |
Below is an context that describes a sql 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 (party VARCHAR, name VARCHAR)
### Question:
Which party is Madeleine Plamondon a member of?
### Answer:
SELECT party FROM table_name_94 WHERE name = "madeleine plamondon" |
Below is an context that describes a sql 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 (venue VARCHAR, date VARCHAR)
### Question:
What is Venue, when Date is "7 September"?
### Answer:
SELECT venue FROM table_name_45 WHERE date = "7 september" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_69 (pick__number VARCHAR, overall VARCHAR, round VARCHAR, name VARCHAR)
### Question:
How many Picks have a Round larger than 2, and a Name of lawrence sidbury, and an Overall smaller than 125?
### Answer:
SELECT COUNT(pick__number) FROM table_name_69 WHERE round > 2 AND name = "lawrence sidbury" AND overall < 125 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11964154_2 (high_assists VARCHAR, game VARCHAR)
### Question:
Who had the highest assists in game 4?
### Answer:
SELECT high_assists FROM table_11964154_2 WHERE game = 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_98 (high_assists VARCHAR, high_points VARCHAR)
### Question:
What was the high assists from a high points of dorell wright (20)?
### Answer:
SELECT high_assists FROM table_name_98 WHERE high_points = "dorell wright (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_name_40 (date VARCHAR, attendance VARCHAR)
### Question:
When was the attendance 65,806?
### Answer:
SELECT date FROM table_name_40 WHERE attendance = "65,806" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15463188_7 (school_club_team VARCHAR, name VARCHAR)
### Question:
Nametheh school team for norman gonzales
### Answer:
SELECT school_club_team FROM table_15463188_7 WHERE name = "Norman Gonzales" |
Below is an context that describes a sql 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 (region VARCHAR, catalogue VARCHAR, date VARCHAR)
### Question:
What region is the catalogue number 9362486152 that was from September 3, 2004 from?
### Answer:
SELECT region FROM table_name_50 WHERE catalogue = "9362486152" AND date = "september 3, 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_15128839_22 (tfl_yds VARCHAR, no_yds VARCHAR)
### Question:
Name the tfl-yds for no-yds 1-0
### Answer:
SELECT tfl_yds FROM table_15128839_22 WHERE no_yds = "1-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_92 (january INTEGER, opponent VARCHAR)
### Question:
What is the average date in January that the Rangers played against Chicago Black Hawks?
### Answer:
SELECT AVG(january) FROM table_name_92 WHERE opponent = "chicago black hawks" |
Below is an context that describes a sql 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 (score VARCHAR, home_team VARCHAR, date VARCHAR)
### Question:
What is the score of the game where Wrexham is the home team and the date is Blackpool?
### Answer:
SELECT score FROM table_name_1 WHERE home_team = "wrexham" AND date = "blackpool" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_19047_2 (year INTEGER)
### Question:
What is the first year in the competition?
### Answer:
SELECT MIN(year) FROM table_19047_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_22 (record VARCHAR, location_attendance VARCHAR)
### Question:
Which Record has a Location/Attendance of palace of auburn hills 8,108?
### Answer:
SELECT record FROM table_name_22 WHERE location_attendance = "palace of auburn hills 8,108" |
Below is an context that describes a sql 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 (angle_from_center_ VARCHAR, taper VARCHAR, ft VARCHAR)
### Question:
Which Angle from center/° has a Taper/ft smaller than 0.6000000000000001?
### Answer:
SELECT COUNT(angle_from_center_) AS ° FROM table_name_97 WHERE taper / ft < 0.6000000000000001 |
Below is an context that describes a sql 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 (opponent VARCHAR, record VARCHAR)
### Question:
Which opponent has a record of 5-0-1?
### Answer:
SELECT opponent FROM table_name_10 WHERE record = "5-0-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_84 (date VARCHAR, partner VARCHAR, score VARCHAR)
### Question:
On what date did Lori McNeil play as a partner with a score of 6–7(6), 5–7?
### Answer:
SELECT date FROM table_name_84 WHERE partner = "lori mcneil" AND score = "6–7(6), 5–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_25352318_1 (wins VARCHAR, season VARCHAR, team VARCHAR)
### Question:
When art grand prix is the team and 2010 is the season how many wins are there?
### Answer:
SELECT COUNT(wins) FROM table_25352318_1 WHERE season = 2010 AND team = "ART Grand Prix" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_59 (team_from VARCHAR, pick__number VARCHAR)
### Question:
Which Team has a Pick # of 148?
### Answer:
SELECT team_from FROM table_name_59 WHERE pick__number = 148 |
Below is an context that describes a sql 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 (general_classification VARCHAR, points_classification VARCHAR)
### Question:
What is the General classification for a points classification leader of Bradley Wiggins?
### Answer:
SELECT general_classification FROM table_name_47 WHERE points_classification = "bradley wiggins" |
Below is an context that describes a sql 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 (home_team VARCHAR, away_team VARCHAR)
### Question:
What home team has an Away team of richmond?
### Answer:
SELECT home_team FROM table_name_28 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_name_40 (ashmolean VARCHAR, harrison VARCHAR, image VARCHAR)
### Question:
What is the number of Ashmolean with 14s Harrison, and image less than 542?
### Answer:
SELECT COUNT(ashmolean) FROM table_name_40 WHERE harrison = "14s" AND image < 542 |
Below is an context that describes a sql 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 (agg VARCHAR)
### Question:
What is the 2nd leg of the 4-9 agg.?
### Answer:
SELECT 2 AS nd_leg FROM table_name_68 WHERE agg = "4-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_17088705_2 (interview VARCHAR, preliminary VARCHAR)
### Question:
Number of participants with a score 8.895 in preliminary
### Answer:
SELECT COUNT(interview) FROM table_17088705_2 WHERE preliminary = "8.895" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_77 (year VARCHAR, nominee VARCHAR)
### Question:
What year was jack cole nominated?
### Answer:
SELECT year FROM table_name_77 WHERE nominee = "jack cole" |
Below is an context that describes a sql 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 (season INTEGER, assists VARCHAR, minutes VARCHAR)
### Question:
What is the earliest year that Assists were less than 13 and minutes were under 91?
### Answer:
SELECT MIN(season) FROM table_name_47 WHERE assists < 13 AND minutes < 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_16268026_3 (state VARCHAR, semifinal_average VARCHAR)
### Question:
What state has a semifinal average of 8.538 (8) ?
### Answer:
SELECT state FROM table_16268026_3 WHERE semifinal_average = "8.538 (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 activity (activity_name VARCHAR); CREATE TABLE Faculty_participates_in (facID VARCHAR, actid VARCHAR); CREATE TABLE Faculty (lname VARCHAR, facID VARCHAR)
### Question:
Find the first names of the faculty members who are playing Canoeing or Kayaking.
### Answer:
SELECT DISTINCT T1.lname FROM Faculty AS T1 JOIN Faculty_participates_in AS T2 ON T1.facID = T2.facID JOIN activity AS T3 ON T2.actid = T2.actid WHERE T3.activity_name = 'Canoeing' OR T3.activity_name = 'Kayaking' |
Below is an context that describes a sql 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 (crowd INTEGER, venue VARCHAR)
### Question:
How large was the crowd when they played at princes park?
### Answer:
SELECT SUM(crowd) FROM table_name_56 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_291768_1 (shipyard VARCHAR, commissioned VARCHAR)
### Question:
which vessel area was called for on november 30, 1970
### Answer:
SELECT shipyard FROM table_291768_1 WHERE commissioned = "November 30, 1970" |
Below is an context that describes a sql 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, away_team VARCHAR)
### Question:
Where did Hawthorn play an away game?
### Answer:
SELECT venue FROM table_name_6 WHERE away_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_30120633_1 (townland VARCHAR, area__acres__ VARCHAR)
### Question:
Which townland has a 213 acre area?
### Answer:
SELECT townland FROM table_30120633_1 WHERE area__acres__ = 213 |
Below is an context that describes a sql 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 (discipline VARCHAR, tournament VARCHAR, year VARCHAR)
### Question:
What is the discipline for the summer Olympics in 2008?
### Answer:
SELECT discipline FROM table_name_68 WHERE tournament = "summer olympics" AND year = 2008 |
Below is an context that describes a sql 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 (decision VARCHAR, visitor VARCHAR)
### Question:
What was the decision when Tampa Bay was the visitor?
### Answer:
SELECT decision FROM table_name_14 WHERE visitor = "tampa bay" |
Below is an context that describes a sql 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 (total INTEGER, parallel_bars VARCHAR)
### Question:
With a parallel bars score of 14.625 what is the average total?
### Answer:
SELECT AVG(total) FROM table_name_8 WHERE parallel_bars = "14.625" |
Below is an context that describes a sql 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 (place VARCHAR, country VARCHAR)
### Question:
What place did the player from England come in?
### Answer:
SELECT place FROM table_name_50 WHERE country = "england" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_63 (team VARCHAR, sponsor VARCHAR)
### Question:
What team is sponsored by chameleon sunglasses?
### Answer:
SELECT team FROM table_name_63 WHERE sponsor = "chameleon sunglasses" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Companies (name VARCHAR, Assets_billion VARCHAR)
### Question:
What are the name and assets of each company, sorted in ascending order of company name?
### Answer:
SELECT name, Assets_billion FROM Companies 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_1973321_5 (new_points INTEGER, player VARCHAR)
### Question:
Name the least new points for steffi graf
### Answer:
SELECT MIN(new_points) FROM table_1973321_5 WHERE player = "Steffi Graf" |
Below is an context that describes a sql 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 (torque VARCHAR, engine_code VARCHAR)
### Question:
What is the Torque of the model with the engine code of M54B25?
### Answer:
SELECT torque FROM table_name_73 WHERE engine_code = "m54b25" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_21538523_1 (caliber VARCHAR, type VARCHAR)
### Question:
How many calibers require the type LB/RN?
### Answer:
SELECT COUNT(caliber) FROM table_21538523_1 WHERE type = "LB/RN" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27734577_8 (record VARCHAR, team VARCHAR)
### Question:
What's the record of the @ miami team?
### Answer:
SELECT record FROM table_27734577_8 WHERE team = "@ Miami" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28068063_3 (eliminated_from_competition VARCHAR, proceed_to_quarter_final VARCHAR)
### Question:
Who was eliminated from the competition when pau proceed to the quarter final?
### Answer:
SELECT eliminated_from_competition FROM table_28068063_3 WHERE proceed_to_quarter_final = "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_name_79 (gold VARCHAR, total VARCHAR, silver VARCHAR, nation VARCHAR)
### Question:
How many Gold medals did Puerto Rico receive with 1 Silver and a Total of 1 or less?
### Answer:
SELECT COUNT(gold) FROM table_name_79 WHERE silver = 1 AND nation = "puerto rico" AND total < 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_1272844_2 (reward VARCHAR, finish VARCHAR)
### Question:
Who received the reward on the episode where the finish was "3rd voted out day 8"?
### Answer:
SELECT reward FROM table_1272844_2 WHERE finish = "3rd voted Out Day 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_70 (entrant VARCHAR, rounds VARCHAR, constructor VARCHAR)
### Question:
What was the entrant in round 16 were Ferrari was the constructor?
### Answer:
SELECT entrant FROM table_name_70 WHERE rounds = "16" AND constructor = "ferrari" |
Below is an context that describes a sql 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 (rank INTEGER, team VARCHAR, games VARCHAR)
### Question:
What is Grupo Capitol Valladolid's highest rank with more than 34 games?
### Answer:
SELECT MAX(rank) FROM table_name_99 WHERE team = "grupo capitol valladolid" AND games > 34 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17288869_7 (record VARCHAR, high_points VARCHAR)
### Question:
What was the final record for the game in which Dirk Nowitzki (19) had the high points?
### Answer:
SELECT record FROM table_17288869_7 WHERE high_points = "Dirk Nowitzki (19)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16337329_5 (probable_future VARCHAR, imperative VARCHAR)
### Question:
Name the probably futures for गरेस् gares 'may you do'
### Answer:
SELECT probable_future FROM table_16337329_5 WHERE imperative = "गरेस् gares 'may you do'" |
Below is an context that describes a sql 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 (opponent VARCHAR, week VARCHAR, date VARCHAR)
### Question:
Which Opponent has a Week larger than 2 on november 19, 1995?
### Answer:
SELECT opponent FROM table_name_81 WHERE week > 2 AND date = "november 19, 1995" |
Below is an context that describes a sql 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 (height__ft_ VARCHAR, contestant VARCHAR)
### Question:
What is Cynthia Mobumba's height?
### Answer:
SELECT height__ft_ FROM table_name_83 WHERE contestant = "cynthia mobumba" |
Below is an context that describes a sql 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 (record VARCHAR, date VARCHAR)
### Question:
What is Record, when Date is 1996?
### Answer:
SELECT record FROM table_name_45 WHERE date = "1996" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE bank (no_of_customers INTEGER, city VARCHAR)
### Question:
Find the number of customers in the banks at New York City.
### Answer:
SELECT SUM(no_of_customers) FROM bank WHERE city = 'New York City' |
Below is an context that describes a sql 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 (location VARCHAR, lineup VARCHAR, date VARCHAR)
### Question:
What is the location on 2008-06-17 when the lineup was start?
### Answer:
SELECT location FROM table_name_3 WHERE lineup = "start" AND date = "2008-06-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_15314901_1 (condition_parameter VARCHAR, velocity_angle_η_in_i_radians VARCHAR)
### Question:
If the velocity angle is ln[(1 + √5)/2] ≅ 0.481, what is the condition/parameter?
### Answer:
SELECT condition_parameter FROM table_15314901_1 WHERE velocity_angle_η_in_i_radians = "ln[(1 + √5)/2] ≅ 0.481" |
Below is an context that describes a sql 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 (title VARCHAR, year VARCHAR, date VARCHAR)
### Question:
What is the title for year 1991 and a date of March 21?
### Answer:
SELECT title FROM table_name_87 WHERE year = 1991 AND date = "march 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_76 (overall VARCHAR, position VARCHAR, round VARCHAR)
### Question:
How much Overall has a Position of ot, and a Round larger than 5?
### Answer:
SELECT COUNT(overall) FROM table_name_76 WHERE position = "ot" AND round > 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_88 (Id VARCHAR)
### Question:
What is the 2000 number when the 1969 is 54.3, and the 1979 is less than 48.4?
### Answer:
SELECT SUM(2000) FROM table_name_88 WHERE 1969 = 54.3 AND 1979 < 48.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_28 (bronze INTEGER, gold VARCHAR, total VARCHAR, nation VARCHAR)
### Question:
When the nation of poland had less than 17 medals but more than 1 gold medal, what's the Highest number of bronze medals?
### Answer:
SELECT MAX(bronze) FROM table_name_28 WHERE total < 17 AND nation = "poland" AND gold > 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_6 (wrestler VARCHAR, elimination VARCHAR)
### Question:
What Wrestler has an Elimination of 7?
### Answer:
SELECT wrestler FROM table_name_6 WHERE elimination = "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_93 (club_province VARCHAR, player VARCHAR, position VARCHAR, caps VARCHAR)
### Question:
What is the club/province of Sireli Bobo, who plays wing and has less than 24 caps?
### Answer:
SELECT club_province FROM table_name_93 WHERE position = "wing" AND caps < 24 AND player = "sireli bobo" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15780049_8 (high_points VARCHAR, date VARCHAR)
### Question:
Name the high points for march 7
### Answer:
SELECT high_points FROM table_15780049_8 WHERE date = "March 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_27913160_3 (pole_position VARCHAR, race VARCHAR)
### Question:
Who had the pole position in Detroit?
### Answer:
SELECT pole_position FROM table_27913160_3 WHERE race = "Detroit" |
Below is an context that describes a sql 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 (week_of VARCHAR, winner VARCHAR)
### Question:
In which week is the winner listed as Jana Novotná Arantxa Sánchez Vicario 5–7, 7–5, 6–4?
### Answer:
SELECT week_of FROM table_name_71 WHERE winner = "jana novotná arantxa sánchez vicario 5–7, 7–5, 6–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_71 (frequency VARCHAR, facility_id VARCHAR)
### Question:
Which Frequency has a Facility ID of 13598?
### Answer:
SELECT frequency FROM table_name_71 WHERE facility_id = 13598 |
Below is an context that describes a sql 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 (opponent_in_the_final VARCHAR, tournament VARCHAR)
### Question:
Who was the opponent during the tournament in Kuwait?
### Answer:
SELECT opponent_in_the_final FROM table_name_91 WHERE tournament = "kuwait" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_54 (results¹ VARCHAR, opponent VARCHAR)
### Question:
What was the result of the game against Hungary?
### Answer:
SELECT results¹ FROM table_name_54 WHERE opponent = "hungary" |
Below is an context that describes a sql 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 (recipient VARCHAR, award VARCHAR)
### Question:
Who was the recipient of an award of £4,203?
### Answer:
SELECT recipient FROM table_name_22 WHERE award = "£4,203" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_120778_2 (jurisdiction VARCHAR, percent_yes VARCHAR)
### Question:
what's the jurisdiction where percent yes is 43.4
### Answer:
SELECT jurisdiction FROM table_120778_2 WHERE percent_yes = "43.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_25 (date VARCHAR, game VARCHAR)
### Question:
What was the date of the game number 22?
### Answer:
SELECT date FROM table_name_25 WHERE game = 22 |
Below is an context that describes a sql 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 (pastoral_region VARCHAR, cemeteries VARCHAR)
### Question:
What Pastoral Region has 3 Cemeteries?
### Answer:
SELECT pastoral_region FROM table_name_57 WHERE cemeteries = 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_1590967_7 (episode_number VARCHAR, guest_host VARCHAR)
### Question:
What episode did Pamela Anderson guest host.
### Answer:
SELECT COUNT(episode_number) FROM table_1590967_7 WHERE guest_host = "Pamela Anderson" |
Below is an context that describes a sql 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 (total INTEGER, gold VARCHAR, bronze VARCHAR, nation VARCHAR)
### Question:
What is the lowest metal total when the Bronze metals are larger than 0, the Gold medals are smaller than 1, and the nation is Switzerland?
### Answer:
SELECT MIN(total) FROM table_name_18 WHERE bronze > 0 AND nation = "switzerland" AND gold < 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_17088705_2 (average VARCHAR, country VARCHAR)
### Question:
State average scores of participants from arizona
### Answer:
SELECT average FROM table_17088705_2 WHERE country = "Arizona" |
Below is an context that describes a sql 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 (party VARCHAR, result VARCHAR)
### Question:
Which party had a Retired Democratic hold?
### Answer:
SELECT party FROM table_name_97 WHERE result = "retired democratic hold" |
Below is an context that describes a sql 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 (runs VARCHAR, econ VARCHAR)
### Question:
Tell me the runs for econ of 3.63
### Answer:
SELECT runs FROM table_name_80 WHERE econ = "3.63" |
Below is an context that describes a sql 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 (position VARCHAR, notes VARCHAR)
### Question:
What position did the person finish in with a notes of junior men individual 5.64km?
### Answer:
SELECT position FROM table_name_95 WHERE notes = "junior men individual 5.64km" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15887683_6 (hdtv VARCHAR, n° VARCHAR)
### Question:
Name the hdtv when number is 378
### Answer:
SELECT hdtv FROM table_15887683_6 WHERE n° = 378 |
Below is an context that describes a sql 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 (chassis VARCHAR, engine VARCHAR)
### Question:
Which chassis has an Alfa Romeo flat-12 engine.
### Answer:
SELECT chassis FROM table_name_76 WHERE engine = "alfa romeo flat-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_75 (constructor VARCHAR, entrant VARCHAR, chassis VARCHAR, tyre VARCHAR, engine VARCHAR)
### Question:
who is the constructor when the tyre is d, the engine is talbot 23cv 4.5 l6, the chassis is talbot-lago t26c and the entrant is ecurie belge?
### Answer:
SELECT constructor FROM table_name_75 WHERE tyre = "d" AND engine = "talbot 23cv 4.5 l6" AND chassis = "talbot-lago t26c" AND entrant = "ecurie belge" |
Below is an context that describes a sql 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 (reserved_for___sc___st__none_ VARCHAR, constituency_number VARCHAR)
### Question:
What is the Reserved for (SC / ST /None) when the constituency number is 203?
### Answer:
SELECT reserved_for___sc___st__none_ FROM table_name_81 WHERE constituency_number = "203" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27133147_3 (date_of_vacancy VARCHAR, incoming_head_coach VARCHAR)
### Question:
If the incoming head coach is Carlos Azenha, what is the date of vacancy?
### Answer:
SELECT date_of_vacancy FROM table_27133147_3 WHERE incoming_head_coach = "Carlos Azenha" |
Below is an context that describes a sql 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 (finish INTEGER, start VARCHAR, year VARCHAR, manufacturer VARCHAR)
### Question:
What is the smallest finish time for a race where start was less than 3, buick was the manufacturer, and the race was held after 1978?
### Answer:
SELECT MIN(finish) FROM table_name_45 WHERE year > 1978 AND manufacturer = "buick" AND start < 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_87 (score VARCHAR, home_team VARCHAR)
### Question:
What was the score for the tie that had Shrewsbury Town as home team?
### Answer:
SELECT score FROM table_name_87 WHERE home_team = "shrewsbury town" |
Below is an context that describes a sql 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 (driver VARCHAR, laps VARCHAR)
### Question:
Who was the driver with 29 laps?
### Answer:
SELECT driver FROM table_name_39 WHERE laps = "29" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE employee (emp_fname VARCHAR, emp_lname VARCHAR, emp_dob VARCHAR)
### Question:
What is the first and last name of the oldest employee?
### Answer:
SELECT emp_fname, emp_lname FROM employee ORDER BY emp_dob 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 products (product_name VARCHAR, product_id VARCHAR); CREATE TABLE customer_orders (order_id VARCHAR, customer_id VARCHAR); CREATE TABLE order_items (order_id VARCHAR, product_id VARCHAR)
### Question:
Find the names of products that were bought by at least two distinct customers.
### Answer:
SELECT DISTINCT T3.product_name FROM customer_orders AS T1 JOIN order_items AS T2 ON T1.order_id = T2.order_id JOIN products AS T3 ON T2.product_id = T3.product_id GROUP BY T3.product_id HAVING COUNT(DISTINCT T1.customer_id) >= 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_96 (title VARCHAR, imprint VARCHAR, artist VARCHAR)
### Question:
what is the title when the imprint is dengeki bunko and the artist is kiyotaka haimura?
### Answer:
SELECT title FROM table_name_96 WHERE imprint = "dengeki bunko" AND artist = "kiyotaka haimura" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14941284_1 (record VARCHAR, week VARCHAR)
### Question:
When it is week 2 what is the record?
### Answer:
SELECT record FROM table_14941284_1 WHERE week = 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_94 (attendance VARCHAR, away_team VARCHAR)
### Question:
What is the Attendance at the Hereford United Away game?
### Answer:
SELECT attendance FROM table_name_94 WHERE away_team = "hereford united" |
Below is an context that describes a sql 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 (career_sr VARCHAR, tournament VARCHAR)
### Question:
What is the Career SR of the year that held the masters series Sr tournament
### Answer:
SELECT career_sr FROM table_name_62 WHERE tournament = "masters series sr" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27892955_1 (title VARCHAR, us_viewers__million_ VARCHAR)
### Question:
What is the name of the episode that had 2.02 million u.s. viewers?
### Answer:
SELECT title FROM table_27892955_1 WHERE us_viewers__million_ = "2.02" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1558077_2 (mass__kg_ INTEGER)
### Question:
What is the largest mass(kg)?
### Answer:
SELECT MAX(mass__kg_) FROM table_1558077_2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.