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_15796054_3 (order__number VARCHAR, original_artist VARCHAR, result VARCHAR)
### Question:
Name the order number for the beatles and result is safe
### Answer:
SELECT order__number FROM table_15796054_3 WHERE original_artist = "The Beatles" AND result = "Safe" |
Below is an context that describes a sql 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 (drawn VARCHAR, played VARCHAR, club VARCHAR)
### Question:
Name the Drawn for Ystrad Rhondda RFC and has Played of 22.
### Answer:
SELECT drawn FROM table_name_39 WHERE played = "22" AND club = "ystrad rhondda rfc" |
Below is an context that describes 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 (fname VARCHAR, lname VARCHAR, StuID VARCHAR); CREATE TABLE Allergy_Type (Allergy VARCHAR, allergytype VARCHAR); CREATE TABLE Has_allergy (StuID VARCHAR, Allergy VARCHAR)
### Question:
List the first and last name of the students who do not have any food type allergy.
### Answer:
SELECT fname, lname FROM Student WHERE NOT StuID IN (SELECT T1.StuID FROM Has_allergy AS T1 JOIN Allergy_Type AS T2 ON T1.Allergy = T2.Allergy WHERE T2.allergytype = "food") |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1121352_2 (date VARCHAR, runner_s__up VARCHAR)
### Question:
What date were the runner ups pat hurst juli inkster?
### Answer:
SELECT date FROM table_1121352_2 WHERE runner_s__up = "Pat Hurst Juli Inkster" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1816947_2 (average_attendance_home VARCHAR, division___section VARCHAR, average_attendance_away VARCHAR)
### Question:
When the average away attendance is 1.889 in the Superettan, what's the average home attendance?
### Answer:
SELECT average_attendance_home FROM table_1816947_2 WHERE division___section = "Superettan" AND average_attendance_away = "1.889" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23292220_4 (daves_team VARCHAR, first_broadcast VARCHAR)
### Question:
How many daves team entries are there on 27 october 2006?
### Answer:
SELECT COUNT(daves_team) FROM table_23292220_4 WHERE first_broadcast = "27 October 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_62 (swedish_championship_titles INTEGER, introduced INTEGER)
### Question:
What is the highest amount of swedish championship titles for the team that was introduced before 2006?
### Answer:
SELECT MAX(swedish_championship_titles) FROM table_name_62 WHERE introduced < 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_25143284_1 (location VARCHAR, score_qualifying VARCHAR)
### Question:
Where was the competition with a qualifying score of 58.425?
### Answer:
SELECT location FROM table_25143284_1 WHERE score_qualifying = "58.425" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_43 (away_team VARCHAR, home_team VARCHAR)
### Question:
When Essendon was the Home Team, what was the Away Team score?
### Answer:
SELECT away_team AS score FROM table_name_43 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_90 (game_site VARCHAR, opponent VARCHAR)
### Question:
What Game site has an Opponent of Miami Dolphins?
### Answer:
SELECT game_site FROM table_name_90 WHERE opponent = "miami dolphins" |
Below is an context that describes a sql 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 (bronze INTEGER, total VARCHAR, gold VARCHAR, nation VARCHAR)
### Question:
Which Bronze has a Gold of 2, and a Nation of slovakia, and a Total larger than 2?
### Answer:
SELECT MAX(bronze) FROM table_name_53 WHERE gold = 2 AND nation = "slovakia" AND total > 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_18 (draws VARCHAR, losses VARCHAR, hampden_fl VARCHAR)
### Question:
Which Draws have Losses larger than 8, and a Hampden FL of terang-mortlake?
### Answer:
SELECT draws FROM table_name_18 WHERE losses > 8 AND hampden_fl = "terang-mortlake" |
Below is an context that describes a sql 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 (silver_medals VARCHAR, gold_medals VARCHAR, total_medals VARCHAR)
### Question:
How many silvers for a school with 2 golds and over 2 total?
### Answer:
SELECT silver_medals FROM table_name_57 WHERE gold_medals = 2 AND total_medals > 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_2626564_2 (top_10 INTEGER, position VARCHAR)
### Question:
How many top 10's did Pearson have the year he was in 8th position?
### Answer:
SELECT MIN(top_10) FROM table_2626564_2 WHERE position = "8th" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_7 (rank INTEGER, rmax_rpeak___pflops__ VARCHAR)
### Question:
What is the rank of Rmax Rpeak ( Pflops ) of 17.173 20.133?
### Answer:
SELECT AVG(rank) FROM table_name_7 WHERE rmax_rpeak___pflops__ = "17.173 20.133" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23274514_7 (date VARCHAR, record VARCHAR)
### Question:
Name the date for 17-32
### Answer:
SELECT date FROM table_23274514_7 WHERE record = "17-32" |
Below is an context that describes a sql 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 (n_africa_rank VARCHAR, year VARCHAR, cplp_rank VARCHAR)
### Question:
What's the n Africa in 2012 with an N/A as the CPLP?
### Answer:
SELECT n_africa_rank FROM table_name_54 WHERE year = 2012 AND cplp_rank = "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_46 (week INTEGER, date VARCHAR, attendance VARCHAR)
### Question:
Which December 4, 1976 week has an attendance less than 57,366?
### Answer:
SELECT MIN(week) FROM table_name_46 WHERE date = "december 4, 1976" AND attendance < 57 OFFSET 366 |
Below is an context that describes a 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_6 (date VARCHAR, game VARCHAR)
### Question:
What was the date of game 21?
### Answer:
SELECT date FROM table_17288869_6 WHERE game = 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_6 (rank INTEGER, silver INTEGER)
### Question:
what is the rank when silver is less than 0?
### Answer:
SELECT SUM(rank) FROM table_name_6 WHERE silver < 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_44 (gp_gs VARCHAR, avg_g VARCHAR, receptions VARCHAR, long VARCHAR)
### Question:
what is the gp-gs when the receptions is more than 4, long is 55 and avg/g is 151?
### Answer:
SELECT gp_gs FROM table_name_44 WHERE receptions > 4 AND long = 55 AND avg_g = 151 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_87 (college VARCHAR, overall VARCHAR, name VARCHAR)
### Question:
Which college's overall number is more than 158 when Travian Robertson is the name?
### Answer:
SELECT college FROM table_name_87 WHERE overall > 158 AND name = "travian robertson" |
Below is an context that describes a sql 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 (result VARCHAR, interim_head_coach VARCHAR)
### Question:
What was the result under interim head coach, Gary Darnell?
### Answer:
SELECT result FROM table_name_62 WHERE interim_head_coach = "gary darnell" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23670057_7 (year_born INTEGER, current_club VARCHAR)
### Question:
What is the latest year born when the current club is Barons LMT?
### Answer:
SELECT MAX(year_born) FROM table_23670057_7 WHERE current_club = "Barons LMT" |
Below is an context that describes a sql 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:
WHAT IS NO TIE FROM brighton & hove albion?
### Answer:
SELECT tie_no FROM table_name_52 WHERE home_team = "brighton & hove albion" |
Below is an context that describes a sql 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 (round VARCHAR, event VARCHAR)
### Question:
How many total rounds were there at UFC 114?
### Answer:
SELECT COUNT(round) FROM table_name_30 WHERE event = "ufc 114" |
Below is an context that describes a sql 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 (pos INTEGER, car__number VARCHAR, make VARCHAR, driver VARCHAR)
### Question:
Which Pos has a Make of chevrolet, and a Driver of jack sprague, and a Car # smaller than 2?
### Answer:
SELECT SUM(pos) FROM table_name_41 WHERE make = "chevrolet" AND driver = "jack sprague" AND car__number < 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_60 (area VARCHAR, hangul_chosongul VARCHAR)
### Question:
What is the area for the province having Hangul of 경기도?
### Answer:
SELECT area FROM table_name_60 WHERE hangul_chosongul = "경기도" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27765443_2 (cpu_type VARCHAR, period_of_operation VARCHAR)
### Question:
Name the cpu type for june 2005 - april 2009
### Answer:
SELECT cpu_type FROM table_27765443_2 WHERE period_of_operation = "June 2005 - April 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_52 (Id VARCHAR)
### Question:
What is the 2005 that has a grand slam tournaments in 2007?
### Answer:
SELECT 2005 FROM table_name_52 WHERE 2007 = "grand slam tournaments" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14598_5 (christians VARCHAR, composition VARCHAR)
### Question:
What is the christian amount where work participation rate is the composition?
### Answer:
SELECT christians FROM table_14598_5 WHERE composition = "Work Participation Rate" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE tryout (cName VARCHAR, pPos VARCHAR); CREATE TABLE college (state VARCHAR, cName VARCHAR)
### Question:
Find the names of states that have some college students playing in goalie and mid positions.
### Answer:
SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName WHERE T2.pPos = 'goalie' INTERSECT SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName WHERE T2.pPos = 'mid' |
Below is an context that describes a sql 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 (to_par VARCHAR, country VARCHAR, score VARCHAR)
### Question:
What is the to par that has england as the country, with 66 as a score?
### Answer:
SELECT to_par FROM table_name_95 WHERE country = "england" AND score = 66 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17140608_7 (high_rebounds VARCHAR, date VARCHAR)
### Question:
Who had the high rebound total on january 6?
### Answer:
SELECT high_rebounds FROM table_17140608_7 WHERE date = "January 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_55 (score VARCHAR, home VARCHAR)
### Question:
What was the score of the game with the Etobicoke Kangaroos as the home team?
### Answer:
SELECT score FROM table_name_55 WHERE home = "etobicoke kangaroos" |
Below is an context that describes a sql 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 (draw INTEGER, points VARCHAR, played VARCHAR)
### Question:
What's the draw that's played less than 36 and has 42 points?
### Answer:
SELECT AVG(draw) FROM table_name_15 WHERE points = 42 AND played < 36 |
Below is an context that describes a sql 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 (byes INTEGER, draws INTEGER)
### Question:
How many byes when the draws are fewer than 0?
### Answer:
SELECT AVG(byes) FROM table_name_84 WHERE draws < 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_81 (radical__variants_ VARCHAR, pīnyīn VARCHAR, stroke_count VARCHAR)
### Question:
WHAT IS THE RADICAL WITH gǔ, AND STROKE COUNT OF 7?
### Answer:
SELECT radical__variants_ FROM table_name_81 WHERE pīnyīn = "gǔ" AND stroke_count = 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_17120964_6 (venue VARCHAR, date VARCHAR)
### Question:
On the 19th, where was the venue?
### Answer:
SELECT venue FROM table_17120964_6 WHERE date = "19th" |
Below is an context that describes a sql 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 (type VARCHAR, quantity VARCHAR)
### Question:
WHAT IS THE TYPE WITH 124?
### Answer:
SELECT type FROM table_name_56 WHERE quantity = "124" |
Below is an context that describes a sql 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 (english_title VARCHAR, japanese_title VARCHAR)
### Question:
What is the English title of 餓狼伝説バトルアーカイブズ2?
### Answer:
SELECT english_title FROM table_name_95 WHERE japanese_title = "餓狼伝説バトルアーカイブズ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_97 (player VARCHAR, pba_team VARCHAR, college VARCHAR)
### Question:
Which player went to college at Up-Diliman and plays on PBA team of the Alaska Milkmen?
### Answer:
SELECT player FROM table_name_97 WHERE pba_team = "alaska milkmen" AND college = "up-diliman" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16278349_1 (un_region VARCHAR, population VARCHAR)
### Question:
Name the un region for 378000 population
### Answer:
SELECT un_region FROM table_16278349_1 WHERE population = 378000 |
Below is an context that describes a sql 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 (to_par VARCHAR, country VARCHAR)
### Question:
What is To Par, when Country is "Australia"?
### Answer:
SELECT to_par FROM table_name_25 WHERE country = "australia" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11630008_5 (directed_by VARCHAR, written_by VARCHAR)
### Question:
Who directed the episode written by Lamont Ferrell?
### Answer:
SELECT directed_by FROM table_11630008_5 WHERE written_by = "Lamont Ferrell" |
Below is an context that describes a sql 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 (total INTEGER, country VARCHAR)
### Question:
What is Australia's highest total?
### Answer:
SELECT MAX(total) FROM table_name_86 WHERE country = "australia" |
Below is an context that describes a sql 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 (bronze VARCHAR, rank VARCHAR, total VARCHAR, silver VARCHAR)
### Question:
What is the number of bronze medals when the total is greater than 1, more than 2 silver medals are won, and the rank is 2?
### Answer:
SELECT bronze FROM table_name_94 WHERE total > 1 AND silver > "2" AND rank = "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_29 (year VARCHAR, report VARCHAR)
### Question:
When was a report not held?
### Answer:
SELECT year FROM table_name_29 WHERE report = "not held" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE HOTELS (other_hotel_details VARCHAR, star_rating_code VARCHAR, price_range VARCHAR)
### Question:
Show the details and star ratings of the 3 least expensive hotels.
### Answer:
SELECT other_hotel_details, star_rating_code FROM HOTELS ORDER BY price_range LIMIT 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_81 (operator VARCHAR, berths VARCHAR, depth__m_ VARCHAR)
### Question:
Name the operator with berths more than 1 and depth of 12.5-15.5
### Answer:
SELECT operator FROM table_name_81 WHERE berths > 1 AND depth__m_ = "12.5-15.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_70 (total INTEGER, bronze VARCHAR, nation VARCHAR, gold VARCHAR, rank VARCHAR)
### Question:
What is the average Total that has a Gold of 0, when the rank is less than 16, the nation is Georgia and there is more than 2 for Bronze?
### Answer:
SELECT AVG(total) FROM table_name_70 WHERE gold = 0 AND rank < 16 AND nation = "georgia" AND bronze > 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_16799784_11 (name VARCHAR)
### Question:
What is the name origin of Nike Fossae?
### Answer:
SELECT name AS origin FROM table_16799784_11 WHERE name = "Nike Fossae" |
Below is an context that describes a sql 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 (finish VARCHAR, start VARCHAR)
### Question:
What is the number of finishes having a start of 15?
### Answer:
SELECT COUNT(finish) FROM table_name_78 WHERE start = 15 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_13 (gold INTEGER, bronze VARCHAR, nation VARCHAR)
### Question:
What's the gold medal count for Total Nation with a bronze count more than 0 and a total less than 54?
### Answer:
SELECT MAX(gold) FROM table_name_13 WHERE bronze > 0 AND nation = "total" AND "total" < 54 |
Below is an context that describes a sql 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 (away_team VARCHAR, home_team VARCHAR)
### Question:
When the home team was South Melbourne, what did the away team score?
### Answer:
SELECT away_team AS score FROM table_name_64 WHERE home_team = "south melbourne" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17120964_9 (competition VARCHAR, opponent VARCHAR)
### Question:
what was the competitoin where the opponent is sheffield scimitars?
### Answer:
SELECT competition FROM table_17120964_9 WHERE opponent = "Sheffield Scimitars" |
Below is an context that describes a sql 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 (result VARCHAR, date VARCHAR)
### Question:
What was the result on 26 October 1993?
### Answer:
SELECT result FROM table_name_36 WHERE date = "26 october 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_25244412_1 (renewable_electricity_w_o_hydro__gw INTEGER, renewable_electricity__gw•h_ VARCHAR)
### Question:
When renewable electricity is 5760 (gw×h) what is the minimum amount of renewable elecrrixity without hydrogen power?
### Answer:
SELECT MIN(renewable_electricity_w_o_hydro__gw) AS •h_ FROM table_25244412_1 WHERE renewable_electricity__gw•h_ = 5760 |
Below is an context that describes a sql 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 (notes VARCHAR, language VARCHAR, title VARCHAR)
### Question:
What is the note section for the role with a language of hindi and a title of miley naa miley hum?
### Answer:
SELECT notes FROM table_name_30 WHERE language = "hindi" AND title = "miley naa miley hum" |
Below is an context that describes a sql 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 (leading_scorer VARCHAR, attendance VARCHAR)
### Question:
What is the leading scorer of the game with an attendance of 14,096?
### Answer:
SELECT leading_scorer FROM table_name_97 WHERE attendance = "14,096" |
Below is an context that describes a sql 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 (attendance INTEGER, opponent VARCHAR, date VARCHAR)
### Question:
How low is the Attendance that has an Opponent of devil rays and a Date of may 13?
### Answer:
SELECT MIN(attendance) FROM table_name_15 WHERE opponent = "devil rays" AND date = "may 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_24781886_3 (director VARCHAR, viewers VARCHAR)
### Question:
When 7.08 is the amount of viewers how many directors are there?
### Answer:
SELECT COUNT(director) FROM table_24781886_3 WHERE viewers = "7.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_27631002_1 (season VARCHAR, position VARCHAR)
### Question:
How many season are shown for the 2nd position?
### Answer:
SELECT COUNT(season) FROM table_27631002_1 WHERE position = "2nd" |
Below is an context that describes a sql 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 (record VARCHAR, arena VARCHAR, opponent VARCHAR)
### Question:
What was the record after the game against the Sharks at Arrowhead Pond of Anaheim?
### Answer:
SELECT record FROM table_name_72 WHERE arena = "arrowhead pond of anaheim" AND opponent = "sharks" |
Below is an context that describes a sql 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 (points VARCHAR, losses VARCHAR, draws VARCHAR)
### Question:
How many points have a loss less than 5, and 0 for draws?
### Answer:
SELECT COUNT(points) FROM table_name_96 WHERE losses < 5 AND draws = 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 contestants (contestant_name VARCHAR)
### Question:
What are the names of the contestants whose names are not 'Jessie Alloway'
### Answer:
SELECT contestant_name FROM contestants WHERE contestant_name <> 'Jessie Alloway' |
Below is an context that describes a sql 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 (conference_matchups VARCHAR, payout___us$__ VARCHAR)
### Question:
What was the conference matchup in the bowl game with a $3 million payout?
### Answer:
SELECT conference_matchups FROM table_name_81 WHERE payout___us$__ = "$3 million" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1404456_1 (capital VARCHAR, area__km_2__ VARCHAR)
### Question:
what's the capital with area (km 2 ) being 12,245.9
### Answer:
SELECT capital FROM table_1404456_1 WHERE area__km_2__ = "12,245.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_13 (nationality VARCHAR, pick__number VARCHAR, player VARCHAR)
### Question:
Which Nationality has a Pick # smaller than 130 and a Player of tyler bunz? Question 1
### Answer:
SELECT nationality FROM table_name_13 WHERE pick__number < 130 AND player = "tyler bunz" |
Below is an context that describes a sql 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 (clubs VARCHAR, matches VARCHAR)
### Question:
What are the clubs with 46 matches?
### Answer:
SELECT clubs FROM table_name_57 WHERE matches = 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_4 (h___a VARCHAR, date VARCHAR)
### Question:
What was the H/A on 29 july 1992?
### Answer:
SELECT h___a FROM table_name_4 WHERE date = "29 july 1992" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24910733_1 (directed_by VARCHAR, us_viewers__millions_ VARCHAR)
### Question:
Who is the director when there is 8.44 million viewers?
### Answer:
SELECT directed_by FROM table_24910733_1 WHERE us_viewers__millions_ = "8.44" |
Below is an context that describes a sql 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 (municipality VARCHAR, station VARCHAR)
### Question:
What municipality is the Harmon Cove station located in?
### Answer:
SELECT municipality FROM table_name_58 WHERE station = "harmon cove" |
Below is an context that describes a sql 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:
When the Altrincham was the home team what was the tie no?
### Answer:
SELECT tie_no FROM table_name_52 WHERE home_team = "altrincham" |
Below is an context that describes a sql 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 (ends VARCHAR, since VARCHAR, name VARCHAR)
### Question:
WHAT IS THE ENDS IN 2007 AND NAMED MILITO?
### Answer:
SELECT ends FROM table_name_77 WHERE since = 2007 AND name = "milito" |
Below is an context that describes a sql 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 (winning_constructor VARCHAR, date VARCHAR, circuit VARCHAR)
### Question:
Name the Winning constructor on 31 may and a Circuit of madonie?
### Answer:
SELECT winning_constructor FROM table_name_96 WHERE date = "31 may" AND circuit = "madonie" |
Below is an context that describes a sql 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 (wchmp VARCHAR, race VARCHAR, pole VARCHAR)
### Question:
What's the WChmp of the race greater than 42 and pole greater than 11?
### Answer:
SELECT COUNT(wchmp) FROM table_name_35 WHERE race > 42 AND pole > 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_13 (place VARCHAR, date VARCHAR)
### Question:
What is the Place that has a Date of 4 august 2012?
### Answer:
SELECT place FROM table_name_13 WHERE date = "4 august 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_42 (points VARCHAR, year VARCHAR, engine VARCHAR)
### Question:
How many points did the Cosworth v8 engine get in 1972?
### Answer:
SELECT points FROM table_name_42 WHERE year = 1972 AND engine = "cosworth v8" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Apartments (apt_number VARCHAR, room_count VARCHAR)
### Question:
Return the apartment number and the number of rooms for each apartment.
### Answer:
SELECT apt_number, room_count FROM Apartments |
Below is an context that describes a sql 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 (crowd INTEGER, venue VARCHAR)
### Question:
What was the average crowd at Western Oval?
### Answer:
SELECT AVG(crowd) FROM table_name_9 WHERE venue = "western oval" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_73 (population VARCHAR, official_name VARCHAR)
### Question:
What's the population of durham parish?
### Answer:
SELECT COUNT(population) FROM table_name_73 WHERE official_name = "durham" |
Below is an context that describes a sql 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 (extra_points INTEGER, player VARCHAR, touchdowns VARCHAR)
### Question:
Which Extra points is the lowest one that has a Player of rheinschild, and Touchdowns larger than 1?
### Answer:
SELECT MIN(extra_points) FROM table_name_26 WHERE player = "rheinschild" AND touchdowns > 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_29 (mass VARCHAR, launch_date_time___gmt__ VARCHAR)
### Question:
What is Mass, when Launch Date/Time ( GMT ) is 25 November 1976, 03:59?
### Answer:
SELECT mass FROM table_name_29 WHERE launch_date_time___gmt__ = "25 november 1976, 03: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_name_30 (years VARCHAR, losses VARCHAR, ties VARCHAR, wins VARCHAR)
### Question:
What years did the person coach who had more than 1 tie, mess than 311 wins and 174 losses?
### Answer:
SELECT years FROM table_name_30 WHERE ties > 1 AND wins < 311 AND losses = 174 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_161591_2 (profit_before_taxation__s VARCHAR, operating_profit__s$m_ VARCHAR)
### Question:
How many years was the operating profit (s$m) 717.1?
### Answer:
SELECT COUNT(profit_before_taxation__s) AS $m_ FROM table_161591_2 WHERE operating_profit__s$m_ = "717.1" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_22 (attendance INTEGER, date VARCHAR, report VARCHAR, score VARCHAR)
### Question:
What is the total attendance with a Report of sd.hr, and a Score of 3–1, and a Date of 14 apr 2001?
### Answer:
SELECT SUM(attendance) FROM table_name_22 WHERE report = "sd.hr" AND score = "3–1" AND date = "14 apr 2001" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_66 (runner_s__up VARCHAR, date VARCHAR)
### Question:
Who was the Runner(s)-up on the Date 4 Oct 2009?
### Answer:
SELECT runner_s__up FROM table_name_66 WHERE date = "4 oct 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_25572118_1 (date VARCHAR, winning_driver VARCHAR)
### Question:
When fairuz fauzy is the winning driver what is the date?
### Answer:
SELECT date FROM table_25572118_1 WHERE winning_driver = "Fairuz Fauzy" |
Below is an context that describes a sql 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 (rank VARCHAR, nation VARCHAR, gold VARCHAR, bronze VARCHAR)
### Question:
What rank has a gold greater than 0, 0 as the bronze, with germany (ger) as the nation?
### Answer:
SELECT rank FROM table_name_20 WHERE gold > 0 AND bronze = 0 AND nation = "germany (ger)" |
Below is an context that describes a sql 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 (date VARCHAR, result VARCHAR)
### Question:
When was the Bye week?
### Answer:
SELECT date FROM table_name_62 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_91 (location VARCHAR, stadium VARCHAR)
### Question:
Where is the Stadium of Gortakeegan located?
### Answer:
SELECT location FROM table_name_91 WHERE stadium = "gortakeegan" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_18461045_1 (kentucky VARCHAR, illinois VARCHAR)
### Question:
What was the little league team from Kentucky when the little league team from Illinois was Rock Falls LL Rock Falls?
### Answer:
SELECT kentucky FROM table_18461045_1 WHERE illinois = "Rock Falls LL Rock Falls" |
Below is an context that describes a sql 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 (points VARCHAR, difference VARCHAR, drawn VARCHAR)
### Question:
How many points have a difference of 23, with a drawn less than 5?
### Answer:
SELECT COUNT(points) FROM table_name_62 WHERE difference = "23" AND drawn < 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_69 (championship INTEGER, fa_cup VARCHAR, league_cup VARCHAR)
### Question:
What is the smallest championship when the FA Cup is 0 and the League Cup is 1?
### Answer:
SELECT MIN(championship) FROM table_name_69 WHERE fa_cup = 0 AND league_cup = 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_42 (team VARCHAR, arena VARCHAR)
### Question:
What team is in the toyota höllin arena?
### Answer:
SELECT team FROM table_name_42 WHERE arena = "toyota höllin" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11964047_9 (leading_scorer VARCHAR, date VARCHAR)
### Question:
what's the leading scorer on march 2
### Answer:
SELECT leading_scorer FROM table_11964047_9 WHERE date = "March 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_72 (draws VARCHAR, team VARCHAR)
### Question:
How many draws did Durham have?
### Answer:
SELECT draws FROM table_name_72 WHERE team = "durham" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27755784_10 (score VARCHAR, team VARCHAR)
### Question:
What is the score when the team is @ dallas?
### Answer:
SELECT score FROM table_27755784_10 WHERE team = "@ Dallas" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14903081_1 (tournament VARCHAR, current_venue VARCHAR)
### Question:
Which tournaments current venue is the Madrid Arena?
### Answer:
SELECT tournament FROM table_14903081_1 WHERE current_venue = "Madrid Arena" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.