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_2516282_3 (year VARCHAR, score VARCHAR)
### Question:
In what year was the score 7–5, 7–6 (7–5)?
### Answer:
SELECT year FROM table_2516282_3 WHERE score = "7–5, 7–6 (7–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_44 (record VARCHAR, date VARCHAR)
### Question:
What was the record on April 1?
### Answer:
SELECT record FROM table_name_44 WHERE date = "april 1" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_6 (losses INTEGER, away VARCHAR, wins VARCHAR)
### Question:
What is the highest number of losses that a team who had an away record of 1-6 and more than 4 wins had?
### Answer:
SELECT MAX(losses) FROM table_name_6 WHERE away = "1-6" AND wins > 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_24 (player VARCHAR, wins INTEGER)
### Question:
What is the name of the player with less than 2 wins?
### Answer:
SELECT player FROM table_name_24 WHERE wins < 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_10 (voice_actor__harmony_gold_ova_dub_ VARCHAR, voice_actor__adv_tv_sentai_ova_dub_ VARCHAR)
### Question:
Who is the voice actor (harmony gold ova dub) of the character with a voice actor (adv TV/sentai ova dub) Kim Prause?
### Answer:
SELECT voice_actor__harmony_gold_ova_dub_ FROM table_name_10 WHERE voice_actor__adv_tv_sentai_ova_dub_ = "kim prause" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE company (Headquarters VARCHAR)
### Question:
Show the headquarters that have at least two companies.
### Answer:
SELECT Headquarters FROM company GROUP BY Headquarters HAVING COUNT(*) >= 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_24 (tournament VARCHAR, date VARCHAR)
### Question:
Name the tournament for march 25, 2012
### Answer:
SELECT tournament FROM table_name_24 WHERE date = "march 25, 2012" |
Below is an context that describes a sql 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 (home_team VARCHAR, crowd INTEGER)
### Question:
What was the home team's score at the game that had a crowd larger than 24,000?
### Answer:
SELECT home_team AS score FROM table_name_79 WHERE crowd > 24 OFFSET 000 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_86 (points INTEGER, score VARCHAR, attendance VARCHAR)
### Question:
How many Points have a Score of 3–2, and an Attendance larger than 17,398?
### Answer:
SELECT SUM(points) FROM table_name_86 WHERE score = "3–2" AND attendance > 17 OFFSET 398 |
Below is an context that describes a sql 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 (opened INTEGER, system VARCHAR, daily_ridership VARCHAR)
### Question:
Which Opened has a System of c-train, and a Daily ridership smaller than 269,600?
### Answer:
SELECT MAX(opened) FROM table_name_80 WHERE system = "c-train" AND daily_ridership < 269 OFFSET 600 |
Below is an context that describes a sql 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 (faith VARCHAR, name VARCHAR)
### Question:
Which faith has a name of Belswains?
### Answer:
SELECT faith FROM table_name_40 WHERE name = "belswains" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_12142298_2 (rightfielder VARCHAR, starting_pitcher VARCHAR)
### Question:
Who was the RF when the SP was vicente padilla?
### Answer:
SELECT rightfielder FROM table_12142298_2 WHERE starting_pitcher = "Vicente Padilla" |
Below is an context that describes a sql 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 (minutes INTEGER, rank VARCHAR, club VARCHAR)
### Question:
What are the minutes of the Player from Real Madrid Club with a Rank of 7 or larger?
### Answer:
SELECT SUM(minutes) FROM table_name_73 WHERE rank > 7 AND club = "real madrid" |
Below is an context that describes a sql 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 (points VARCHAR, car_no VARCHAR)
### Question:
How many points did car 20 score?
### Answer:
SELECT points FROM table_name_65 WHERE car_no = "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_47 (team VARCHAR, last_match VARCHAR)
### Question:
What is the name of team with Palmeiras 4-2 portuguesa as the last match?
### Answer:
SELECT team FROM table_name_47 WHERE last_match = "palmeiras 4-2 portuguesa" |
Below is an context that describes a sql 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 (winning_team VARCHAR, date VARCHAR)
### Question:
What is the Winning team on january 28, 2006?
### Answer:
SELECT winning_team FROM table_name_35 WHERE date = "january 28, 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_name_16 (neck VARCHAR, shoulder VARCHAR)
### Question:
What is the neck measurement of the gun with a shoulder measurement of 10.688 (.420)?
### Answer:
SELECT neck FROM table_name_16 WHERE shoulder = "10.688 (.420)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17319931_1 (laps INTEGER, points VARCHAR)
### Question:
What is the highest number of laps led with 16 points?
### Answer:
SELECT MAX(laps) AS Led FROM table_17319931_1 WHERE points = "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_52 (tie_no VARCHAR, home_team VARCHAR)
### Question:
Scunthorpe United as the home team has what tie number?
### Answer:
SELECT tie_no FROM table_name_52 WHERE home_team = "scunthorpe 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 (city___state VARCHAR, series VARCHAR)
### Question:
In what City/State did the ATCC Round 4 series take place?
### Answer:
SELECT city___state FROM table_name_62 WHERE series = "atcc round 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_77 (place VARCHAR, to_par VARCHAR, score VARCHAR)
### Question:
What place has a To par of +4 and a score of 74-70-74-74=292?
### Answer:
SELECT place FROM table_name_77 WHERE to_par = "+4" AND score = 74 - 70 - 74 - 74 = 292 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1373768_1 (torque VARCHAR, trim VARCHAR)
### Question:
what's the torque with trim being xe (2009)
### Answer:
SELECT torque FROM table_1373768_1 WHERE trim = "XE (2009)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_49 (gold INTEGER, nation VARCHAR)
### Question:
How much gold did South Korea get?
### Answer:
SELECT SUM(gold) FROM table_name_49 WHERE nation = "south korea" |
Below is an context that describes a sql 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 (injured VARCHAR, location VARCHAR)
### Question:
How many are injured in Borneo?
### Answer:
SELECT injured FROM table_name_68 WHERE location = "borneo" |
Below is an context that describes a sql 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 (result VARCHAR, week VARCHAR, date VARCHAR)
### Question:
What was the Result of the game on December 14, 1986 after Week 11?
### Answer:
SELECT result FROM table_name_10 WHERE week > 11 AND date = "december 14, 1986" |
Below is an context that describes a sql 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 (country VARCHAR, score VARCHAR, player VARCHAR)
### Question:
What country does miguel ángel jiménez player for and has a score of 69?
### Answer:
SELECT country FROM table_name_50 WHERE score = 69 AND player = "miguel ángel jiménez" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17311759_4 (score VARCHAR, team VARCHAR)
### Question:
What are the scores made by Charlotte team
### Answer:
SELECT score FROM table_17311759_4 WHERE team = "Charlotte" |
Below is an context that describes a sql 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 (round VARCHAR, pick VARCHAR, player VARCHAR)
### Question:
What round was Joe Patton selected with a pick over 68?
### Answer:
SELECT round FROM table_name_94 WHERE pick > 68 AND player = "joe patton" |
Below is an context that describes a sql 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 (venue VARCHAR, away_team VARCHAR)
### Question:
Where did st kilda play as the away team?
### Answer:
SELECT venue FROM table_name_95 WHERE away_team = "st kilda" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2597876_2 (top_5 VARCHAR, avg_start VARCHAR)
### Question:
What is every value for top 5 if average start is 21.9?
### Answer:
SELECT top_5 FROM table_2597876_2 WHERE avg_start = "21.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_37 (pick__number INTEGER, position VARCHAR, player VARCHAR)
### Question:
The player is Tim Regan and the pick # is position of d, what's the sum?
### Answer:
SELECT SUM(pick__number) FROM table_name_37 WHERE position = "d" AND player = "tim regan" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_9 (position VARCHAR, lost VARCHAR, drawn VARCHAR, difference VARCHAR)
### Question:
How many positions have 9 as a drawn, 5 as a difference, with a lost less than 14?
### Answer:
SELECT COUNT(position) FROM table_name_9 WHERE drawn = 9 AND difference = "5" AND lost < 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_name_8 (engine VARCHAR, year VARCHAR, power VARCHAR)
### Question:
Which Engine has a Year that's Larger than 2006 and Power of BHP (KW)?
### Answer:
SELECT engine FROM table_name_8 WHERE year > 2006 AND power = "bhp (kw)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_12 (home_team VARCHAR, away_team VARCHAR)
### Question:
who is the home team when the away team is bolton wanderers?
### Answer:
SELECT home_team FROM table_name_12 WHERE away_team = "bolton wanderers" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_18662026_1 (position VARCHAR, country VARCHAR)
### Question:
How many positions was the United States in?
### Answer:
SELECT COUNT(position) FROM table_18662026_1 WHERE country = "United States" |
Below is an context that describes a sql 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 (social_software VARCHAR, charting VARCHAR, discussion VARCHAR, time_tracking VARCHAR)
### Question:
WHAT IS THE SOCIAL SOFTWARE WITH NO DISCUSSION, NO TIME TRACKING, AND NO CHARTING?
### Answer:
SELECT social_software FROM table_name_18 WHERE discussion = "no" AND time_tracking = "no" AND charting = "no" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_2 (title VARCHAR, season VARCHAR, first_broadcast VARCHAR)
### Question:
What is Title, when Season is less than 1.8, and when First Broadcast is March 6, 1981?
### Answer:
SELECT title FROM table_name_2 WHERE season < 1.8 AND first_broadcast = "march 6, 1981" |
Below is an context that describes a sql 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 (county VARCHAR, ihsaa_football_class VARCHAR, mascot VARCHAR)
### Question:
What county has an IHSAA Football Class of A, and a Mascot of royals?
### Answer:
SELECT county FROM table_name_36 WHERE ihsaa_football_class = "a" AND mascot = "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_22640051_3 (replaced_by VARCHAR, date_of_appointment VARCHAR)
### Question:
Name the total number of replaced by for 13 june 2009
### Answer:
SELECT COUNT(replaced_by) FROM table_22640051_3 WHERE date_of_appointment = "13 June 2009" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_80 (dolphins_points VARCHAR, attendance VARCHAR)
### Question:
What'd the total Dolphin points when there was an attendance of 52,860?
### Answer:
SELECT COUNT(dolphins_points) FROM table_name_80 WHERE attendance = 52 OFFSET 860 |
Below is an context that describes a sql 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 (song VARCHAR, date VARCHAR)
### Question:
What song came out on March 8, 2008?
### Answer:
SELECT song FROM table_name_8 WHERE date = "march 8, 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_70 (score VARCHAR, competition VARCHAR)
### Question:
Which Score has a Competition of uefa euro 2012 qualifying?
### Answer:
SELECT score FROM table_name_70 WHERE competition = "uefa euro 2012 qualifying" |
Below is an context that describes a sql 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 (d_47 VARCHAR, d_41 VARCHAR)
### Question:
I want the D 47 for D 41 being r 21
### Answer:
SELECT d_47 FROM table_name_78 WHERE d_41 = "r 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_25235489_2 (march_27_29 VARCHAR, november_3 VARCHAR)
### Question:
When November is 153 what is the March number?
### Answer:
SELECT march_27_29 FROM table_25235489_2 WHERE november_3 = "153" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_12 (rank INTEGER, mountain_peak VARCHAR)
### Question:
What is the highest rank Mount Elbert has?
### Answer:
SELECT MAX(rank) FROM table_name_12 WHERE mountain_peak = "mount elbert" |
Below is an context that describes a sql 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, venue VARCHAR)
### Question:
At the venue Vfl Park, what was the Home team score?
### Answer:
SELECT home_team AS score FROM table_name_5 WHERE venue = "vfl 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_26 (first_appearance VARCHAR, portrayed_by VARCHAR)
### Question:
What is the name of the first appearance when Chad Williams is a portrayal?
### Answer:
SELECT first_appearance FROM table_name_26 WHERE portrayed_by = "chad williams" |
Below is an context that describes a sql 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 (written_by VARCHAR, originalairdate VARCHAR)
### Question:
What is Written By, when Originalairdate is 25 April 1993?
### Answer:
SELECT written_by FROM table_name_31 WHERE originalairdate = "25 april 1993" |
Below is an context that describes a sql 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 (season VARCHAR, professional_partner VARCHAR, average VARCHAR, rank VARCHAR)
### Question:
Which season had an average under 28, a rank under 10, and a partner of Janja Lesar?
### Answer:
SELECT season FROM table_name_7 WHERE average < 28 AND rank < 10 AND professional_partner = "janja lesar" |
Below is an context that describes a sql 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 (gdp_per_capita__us$_ VARCHAR, population VARCHAR)
### Question:
What is the GDP of the nation with 56,210,000 people?
### Answer:
SELECT gdp_per_capita__us$_ FROM table_name_77 WHERE population = "56,210,000" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_94 (home_team VARCHAR, venue VARCHAR)
### Question:
Which home team has a venue of Arden Street Oval?
### Answer:
SELECT home_team FROM table_name_94 WHERE venue = "arden 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 stadium (name VARCHAR, id VARCHAR, stadium_id VARCHAR); CREATE TABLE event (name VARCHAR, id VARCHAR, stadium_id VARCHAR)
### Question:
Find the names of stadiums which have never had any event.
### Answer:
SELECT name FROM stadium WHERE NOT id IN (SELECT stadium_id FROM event) |
Below is an context that describes a sql 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 (games VARCHAR, sport VARCHAR, medal VARCHAR)
### Question:
When did Pakistan win a Gold Medal in Field Hockey?
### Answer:
SELECT games FROM table_name_19 WHERE sport = "field hockey" AND medal = "gold" |
Below is an context that describes a sql 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 (year INTEGER, result VARCHAR, location VARCHAR)
### Question:
Which Year has a Result smaller than 20.26, and a Location of eugene?
### Answer:
SELECT SUM(year) FROM table_name_80 WHERE result < 20.26 AND location = "eugene" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_30 (score VARCHAR, date VARCHAR)
### Question:
What is Score, when Date is "Nov 28"?
### Answer:
SELECT score FROM table_name_30 WHERE date = "nov 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 table_13665809_2 (byu_uu_score VARCHAR, uu_usu_score VARCHAR)
### Question:
what's the byu-uu score with uu-usu score being 44–16
### Answer:
SELECT byu_uu_score FROM table_13665809_2 WHERE uu_usu_score = "44–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_26409328_1 (written_by VARCHAR, directed_by VARCHAR, production_code VARCHAR)
### Question:
who wrote the episode having joe daniello as director with production code 6ajn05?
### Answer:
SELECT written_by FROM table_26409328_1 WHERE directed_by = "Joe Daniello" AND production_code = "6AJN05" |
Below is an context that describes a sql 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 (year INTEGER, release_air_date VARCHAR, role VARCHAR, radio_station_production_company VARCHAR)
### Question:
Role of narrator, and a Radio Station/Production Company of bbc audiobooks, and a Release/Air Date of 13 november 2008 is what sum of the year?
### Answer:
SELECT SUM(year) FROM table_name_96 WHERE role = "narrator" AND radio_station_production_company = "bbc audiobooks" AND release_air_date = "13 november 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_26 (crowd VARCHAR, away_team VARCHAR)
### Question:
How large was the crowd when Carlton was the away team?
### Answer:
SELECT COUNT(crowd) FROM table_name_26 WHERE away_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_23563375_11 (w_l VARCHAR, result VARCHAR)
### Question:
What were the w/l when the final score was 2–6, 5–7, 7–6 (11–9) , 1–6?
### Answer:
SELECT w_l FROM table_23563375_11 WHERE result = "2–6, 5–7, 7–6 (11–9) , 1–6" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_83 (home_team VARCHAR, tie_no VARCHAR)
### Question:
What home team has 16 as the tie no.?
### Answer:
SELECT home_team FROM table_name_83 WHERE tie_no = "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_40 (games_played INTEGER, losses VARCHAR, wins VARCHAR)
### Question:
What is the largest number of Games Played with Losses of 3, and more Wins than 5?
### Answer:
SELECT MAX(games_played) FROM table_name_40 WHERE losses = 3 AND wins > 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_31 (date VARCHAR, record VARCHAR)
### Question:
When was the record 17-17?
### Answer:
SELECT date FROM table_name_31 WHERE record = "17-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 cars_data (weight INTEGER, cylinders VARCHAR, year VARCHAR)
### Question:
What is the smallest weight of the car produced with 8 cylinders on 1974 ?
### Answer:
SELECT MIN(weight) FROM cars_data WHERE cylinders = 8 AND year = 1974 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1140078_2 (pole_position VARCHAR, location VARCHAR)
### Question:
What is the pole position of paul ricard?
### Answer:
SELECT pole_position FROM table_1140078_2 WHERE location = "Paul Ricard" |
Below is an context that describes a sql 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 (semi_final_second_television_commentator VARCHAR, year_s_ VARCHAR, final_television_commentator VARCHAR, spokesperson VARCHAR)
### Question:
Who is the semi-final second television commentator with graham norton as the final television commentator and scott mills as the spokesperson before 2013?
### Answer:
SELECT semi_final_second_television_commentator FROM table_name_51 WHERE final_television_commentator = "graham norton" AND spokesperson = "scott mills" AND year_s_ < 2013 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_29 (no_8 VARCHAR, no_4 VARCHAR, no_7 VARCHAR)
### Question:
What is the No. 8 of the person with a No. 4 of Matthew and a No. 7 of Anthony?
### Answer:
SELECT no_8 FROM table_name_29 WHERE no_4 = "matthew" AND no_7 = "anthony" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_10402018_1 (toronto___broadway VARCHAR, uk_tour VARCHAR)
### Question:
Which person is in the tronto/broadway and has a uk tour of n/a
### Answer:
SELECT toronto___broadway FROM table_10402018_1 WHERE uk_tour = "n/a" |
Below is an context that describes a sql 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 (to_par VARCHAR, player VARCHAR)
### Question:
What is To Par, when Player is Greg Norman?
### Answer:
SELECT to_par FROM table_name_65 WHERE player = "greg norman" |
Below is an context that describes a sql 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 (opposition VARCHAR, stadium VARCHAR)
### Question:
Who was the opposition at 11,682 excl. exhibition match?
### Answer:
SELECT opposition FROM table_name_39 WHERE stadium = "11,682 excl. exhibition match" |
Below is an context that describes a sql 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 (area VARCHAR, name VARCHAR)
### Question:
What area is named Mackenzie college?
### Answer:
SELECT area FROM table_name_50 WHERE name = "mackenzie 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_40 (value VARCHAR, british_name VARCHAR)
### Question:
what is the value when the british name is maxima?
### Answer:
SELECT value FROM table_name_40 WHERE british_name = "maxima" |
Below is an context that describes a sql 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 (byes INTEGER, against VARCHAR, wimmera_fl VARCHAR)
### Question:
Which Byes have an Against larger than 1018, and a Wimmera FL of horsham diggers?
### Answer:
SELECT MIN(byes) FROM table_name_56 WHERE against > 1018 AND wimmera_fl = "horsham diggers" |
Below is an context that describes a sql 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 (monument_name VARCHAR, year_built VARCHAR, county VARCHAR)
### Question:
What Monument was built after 1887 in Warren County?
### Answer:
SELECT monument_name FROM table_name_95 WHERE year_built > 1887 AND county = "warren" |
Below is an context that describes a sql 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 (gross_revenue__1979_ VARCHAR, venue VARCHAR)
### Question:
What is the Gross Revenue (1979) of the Venue, lyceum theatre?
### Answer:
SELECT gross_revenue__1979_ FROM table_name_83 WHERE venue = "lyceum theatre" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_12547903_3 (location VARCHAR, callsign VARCHAR)
### Question:
How many places featured the DXCL Callsign?
### Answer:
SELECT COUNT(location) FROM table_12547903_3 WHERE callsign = "DXCL" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_72 (venue VARCHAR, result VARCHAR, score VARCHAR)
### Question:
Which Venue has a Result of 5-1, and a Score of 1-0?
### Answer:
SELECT venue FROM table_name_72 WHERE result = "5-1" AND score = "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_14747043_1 (class_aA VARCHAR, school_year VARCHAR)
### Question:
How many class AA in the year 2002-03
### Answer:
SELECT COUNT(class_aA) FROM table_14747043_1 WHERE school_year = "2002-03" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1342292_42 (candidates VARCHAR, incumbent VARCHAR)
### Question:
Who are all the candidates when Sam Rayburn was incumbent?
### Answer:
SELECT candidates FROM table_1342292_42 WHERE incumbent = "Sam Rayburn" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE orders (order_id VARCHAR); CREATE TABLE order_items (order_id VARCHAR)
### Question:
What is the id of the order which has the most items?
### Answer:
SELECT T1.order_id FROM orders AS T1 JOIN order_items AS T2 ON T1.order_id = T2.order_id GROUP BY T1.order_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_87 (team VARCHAR, time_retired VARCHAR, grid VARCHAR)
### Question:
Name the Team which has a Time/Retired of contact, and a Grid smaller than 17?
### Answer:
SELECT team FROM table_name_87 WHERE time_retired = "contact" AND grid < 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_62 (city VARCHAR, name VARCHAR)
### Question:
Which city is Alianza?
### Answer:
SELECT city FROM table_name_62 WHERE name = "alianza" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_229917_2 (date__ddmmyyyy_ VARCHAR, tail_number VARCHAR)
### Question:
When did the airplane with tail number RA-85282 crash?
### Answer:
SELECT date__ddmmyyyy_ FROM table_229917_2 WHERE tail_number = "RA-85282" |
Below is an context that describes a sql 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 (date VARCHAR, outcome VARCHAR, surface VARCHAR)
### Question:
Which Date had an Outcome of runner-up, and a Surface of carpet?
### Answer:
SELECT date FROM table_name_85 WHERE outcome = "runner-up" AND surface = "carpet" |
Below is an context that describes a sql 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 (record VARCHAR, loss VARCHAR)
### Question:
For the Loss of Plesac (1-5), what is the Record?
### Answer:
SELECT record FROM table_name_63 WHERE loss = "plesac (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_83 (score VARCHAR, player VARCHAR)
### Question:
What is the score for Nick Faldo?
### Answer:
SELECT score FROM table_name_83 WHERE player = "nick faldo" |
Below is an context that describes a sql 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 (platform VARCHAR, system VARCHAR, name VARCHAR)
### Question:
What platform is nds4droid on for the nintendo ds?
### Answer:
SELECT platform FROM table_name_97 WHERE system = "nintendo ds" AND name = "nds4droid" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_29 (visitor VARCHAR, score VARCHAR)
### Question:
Who was the visiting team at the Cavaliers game that had a score of 121–85?
### Answer:
SELECT visitor FROM table_name_29 WHERE score = "121–85" |
Below is an context that describes a sql 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 (result VARCHAR, score VARCHAR)
### Question:
What was the result of the game with a score of 4-1?
### Answer:
SELECT result FROM table_name_65 WHERE score = "4-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_22355_11 (nation VARCHAR, athlete VARCHAR)
### Question:
What nation had the athlete sebastian coe category:articles with hcards?
### Answer:
SELECT nation FROM table_22355_11 WHERE athlete = "Sebastian Coe Category:Articles with hCards" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_10236830_6 (actors_name VARCHAR, film_name VARCHAR, nomination VARCHAR)
### Question:
What is the name of the actress that was nominated for best actress in a leading role in the film Chopin: Desire for love?
### Answer:
SELECT actors_name FROM table_10236830_6 WHERE film_name = "Chopin: Desire for Love" AND nomination = "Best Actress in a Leading Role" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_21378339_5 (televote_points VARCHAR, song VARCHAR)
### Question:
Name the total number of televote points for cry on my shoulders
### Answer:
SELECT COUNT(televote_points) FROM table_21378339_5 WHERE song = "Cry on my shoulders" |
Below is an context that describes a sql 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 (episode VARCHAR, viii_season VARCHAR)
### Question:
What is Episode, when VIII Season is 5 082 535 (19 October 2008)?
### Answer:
SELECT episode FROM table_name_83 WHERE viii_season = "5 082 535 (19 october 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_1603807_2 (length VARCHAR, line VARCHAR)
### Question:
How many lengths of line 3 are given?
### Answer:
SELECT COUNT(length) FROM table_1603807_2 WHERE line = "line 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_27 (bulls VARCHAR, venue VARCHAR)
### Question:
What was the total number for the Bulls when they were at Old Trafford?
### Answer:
SELECT COUNT(bulls) FROM table_name_27 WHERE venue = "old trafford" |
Below is an context that describes a sql 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 (county VARCHAR, opposition VARCHAR, player VARCHAR)
### Question:
What County has an Opposition of Antrim and the Player Bernie Forde?
### Answer:
SELECT county FROM table_name_53 WHERE opposition = "antrim" AND player = "bernie forde" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28059992_5 (pick__number VARCHAR, cfl_team VARCHAR)
### Question:
What pick number was the player that was picked by Edmonton?
### Answer:
SELECT pick__number FROM table_28059992_5 WHERE cfl_team = "Edmonton" |
Below is an context that describes a sql 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 (bronze INTEGER, total VARCHAR, rank VARCHAR, nation VARCHAR)
### Question:
What is the average Bronze, when Rank is greater than 6, when Nation is Italy (ITA), and when Total is less than 1?
### Answer:
SELECT AVG(bronze) FROM table_name_78 WHERE rank > 6 AND nation = "italy (ita)" 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_2226817_2 (original_air_date VARCHAR, production_code VARCHAR)
### Question:
What is the original air date for the production code of 1.12?
### Answer:
SELECT original_air_date FROM table_2226817_2 WHERE production_code = "1.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_97 (team VARCHAR, game VARCHAR)
### Question:
What is the Team in Game 41?
### Answer:
SELECT team FROM table_name_97 WHERE game = 41 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.