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_75 (result VARCHAR, venue VARCHAR)
### Question:
What is the result of the match in Bangkok?
### Answer:
SELECT result FROM table_name_75 WHERE venue = "bangkok" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11178271_1 (viewers__m_ VARCHAR, rating VARCHAR)
### Question:
What is the viewers where the rating is 5.3?
### Answer:
SELECT viewers__m_ FROM table_11178271_1 WHERE rating = "5.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_99 (color_commentator_s_ VARCHAR, play_by_play VARCHAR, flagship_station VARCHAR)
### Question:
Play-by-play of sean grande, and a Flagship Station of wrko involved what color commentator?
### Answer:
SELECT color_commentator_s_ FROM table_name_99 WHERE play_by_play = "sean grande" AND flagship_station = "wrko" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25538763_1 (wins VARCHAR, team VARCHAR, points VARCHAR)
### Question:
How many wins did Prema Powerteam won with 240 points?
### Answer:
SELECT wins FROM table_25538763_1 WHERE team = "Prema Powerteam" AND points = "240" |
Below is an context that describes a sql 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 (decision VARCHAR, visitor VARCHAR)
### Question:
What was the decision of the Kings game when Chicago was the visiting team?
### Answer:
SELECT decision FROM table_name_71 WHERE visitor = "chicago" |
Below is an context that describes a sql 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 (away_team VARCHAR, home_team VARCHAR)
### Question:
What was the Away Team of Blackpool's Home game?
### Answer:
SELECT away_team FROM table_name_9 WHERE home_team = "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_name_39 (mascot VARCHAR, _number___county VARCHAR)
### Question:
what's the mascot for 66 pulaski 2?
### Answer:
SELECT mascot FROM table_name_39 WHERE _number___county = "66 pulaski 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_39 (rider VARCHAR, speed VARCHAR)
### Question:
Which Rider finished with a speed of 81.91mph?
### Answer:
SELECT rider FROM table_name_39 WHERE speed = "81.91mph" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE manager (Age INTEGER)
### Question:
What is the average age for all managers?
### Answer:
SELECT AVG(Age) FROM manager |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1139835_1 (crowd VARCHAR, grand_finalist VARCHAR)
### Question:
what is the crowd when the grand finalist was south melbourne?
### Answer:
SELECT crowd FROM table_1139835_1 WHERE grand_finalist = "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_name_10 (decile INTEGER, name VARCHAR)
### Question:
What is the lowest decile that Ohau School has?
### Answer:
SELECT MIN(decile) FROM table_name_10 WHERE name = "ohau school" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29329432_1 (no INTEGER, production_code VARCHAR)
### Question:
Name the least number for production code 3x6266
### Answer:
SELECT MIN(no) FROM table_29329432_1 WHERE production_code = "3X6266" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1277350_7 (thursday_day_five VARCHAR, sunday_day_one VARCHAR)
### Question:
How many time is sunday day one is ahad?
### Answer:
SELECT COUNT(thursday_day_five) FROM table_1277350_7 WHERE sunday_day_one = "Ahad" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17641206_6 (duration VARCHAR, viewership VARCHAR)
### Question:
Name the number of duration for viewership of 5.46 million
### Answer:
SELECT COUNT(duration) FROM table_17641206_6 WHERE viewership = "5.46 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_name_32 (goals_for INTEGER, draws VARCHAR, points VARCHAR)
### Question:
What is the lowest Goals For, when Draws is less than 4, and when Points is less than 27?
### Answer:
SELECT MIN(goals_for) FROM table_name_32 WHERE draws < 4 AND points < 27 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_81 (date VARCHAR, home VARCHAR)
### Question:
What was the date of the game when Atlanta was the home team?
### Answer:
SELECT date FROM table_name_81 WHERE home = "atlanta" |
Below is an context that describes a sql 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 (score VARCHAR, tournament VARCHAR, opponent VARCHAR)
### Question:
What was the score of the player who played against Wong Choong Hann in the Dutch Open?
### Answer:
SELECT score FROM table_name_47 WHERE tournament = "dutch open" AND opponent = "wong choong hann" |
Below is an context that describes a sql 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 (location VARCHAR, date VARCHAR)
### Question:
Where was the disaster located that took place on 1916?
### Answer:
SELECT location FROM table_name_49 WHERE date = "1916" |
Below is an context that describes a sql 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 (margin_of_victory VARCHAR, tournament VARCHAR)
### Question:
What is the margin of victory of the gna/glendale federal classic?
### Answer:
SELECT margin_of_victory FROM table_name_8 WHERE tournament = "gna/glendale federal 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_53 (round INTEGER, name VARCHAR)
### Question:
what is the highest round for anthony gonzalez?
### Answer:
SELECT MAX(round) FROM table_name_53 WHERE name = "anthony gonzalez" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11406866_2 (a_ VARCHAR, kickoff_ VARCHAR)
### Question:
what is the total number of kickoff [a ] where week is week
### Answer:
SELECT COUNT(kickoff_)[a_] FROM table_11406866_2 WHERE "week" = "week" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_20938922_2 (team VARCHAR, carries VARCHAR)
### Question:
Which team did the player have who had 27 total carries?
### Answer:
SELECT team FROM table_20938922_2 WHERE carries = 27 |
Below is an context that describes a sql 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 (opponent VARCHAR, result VARCHAR)
### Question:
Tell me opponent for result of w 33-31
### Answer:
SELECT opponent FROM table_name_96 WHERE result = "w 33-31" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1108394_6 (staten_island VARCHAR, brooklyn VARCHAR)
### Question:
What was Staten Island when Brooklyn was 940?
### Answer:
SELECT staten_island FROM table_1108394_6 WHERE brooklyn = "940" |
Below is an context that describes a sql 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 (position VARCHAR, team VARCHAR)
### Question:
What positions are in the Chicago bulls?
### Answer:
SELECT position FROM table_name_27 WHERE team = "chicago bulls" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_10118412_6 (chinese INTEGER, filipino VARCHAR)
### Question:
What is the the Chinese population for the state that has a Filipino population of 1474707?
### Answer:
SELECT MIN(chinese) FROM table_10118412_6 WHERE filipino = 1474707 |
Below is an context that describes a sql 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 (artist VARCHAR, weeks_on_top VARCHAR)
### Question:
Who was the artist of the single that spent 9 ¶ weeks on top?
### Answer:
SELECT artist FROM table_name_28 WHERE weeks_on_top = "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_41 (surface VARCHAR, score_in_the_final VARCHAR)
### Question:
What type of surface was used where the final score was 6–2, 6–3?
### Answer:
SELECT surface FROM table_name_41 WHERE score_in_the_final = "6–2, 6–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_18540104_1 (romaji_title VARCHAR, average_ratings VARCHAR)
### Question:
What is the title with an average rating of 22.4%?
### Answer:
SELECT romaji_title FROM table_18540104_1 WHERE average_ratings = "22.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 Settlements (Claim_id VARCHAR); CREATE TABLE Claims (Amount_Claimed INTEGER); CREATE TABLE Claims (Date_Claim_Made VARCHAR, Claim_id VARCHAR, Amount_Claimed INTEGER)
### Question:
Which claims caused more than 2 settlements or have the maximum claim value? List the date the claim was made and the claim id.
### Answer:
SELECT T1.Date_Claim_Made, T1.Claim_id FROM Claims AS T1 JOIN Settlements AS T2 ON T1.Claim_id = T2.Claim_id GROUP BY T1.Claim_id HAVING COUNT(*) > 2 UNION SELECT T1.Date_Claim_Made, T1.Claim_id FROM Claims AS T1 JOIN Settlements AS T2 ON T1.Claim_id = T2.Claim_id WHERE T1.Amount_Claimed = (SELECT MAX(Amount_Claimed) FROM Claims) |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1012730_1 (wins INTEGER, year VARCHAR)
### Question:
How many wins happened in 1983?
### Answer:
SELECT MIN(wins) FROM table_1012730_1 WHERE year = 1983 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_33 (result VARCHAR, venue VARCHAR)
### Question:
What was the result of Bridgeview, Illinois?
### Answer:
SELECT result FROM table_name_33 WHERE venue = "bridgeview, illinois" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_23 (place VARCHAR, player VARCHAR)
### Question:
What is Place, when Player is "Arnold Palmer"?
### Answer:
SELECT place FROM table_name_23 WHERE player = "arnold palmer" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24575253_4 (division_five VARCHAR, division_one VARCHAR)
### Question:
When westcott is in division one how many leagues are in division 5?
### Answer:
SELECT COUNT(division_five) FROM table_24575253_4 WHERE division_one = "Westcott" |
Below is an context that describes a sql 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 (model VARCHAR)
### Question:
what kind of 2007 has a 1999 of —, and a Model of seat mii?
### Answer:
SELECT 2007 FROM table_name_16 WHERE 1999 = "—" AND model = "seat mii" |
Below is an context that describes a sql 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 (college_junior_club_team__league_ VARCHAR, player VARCHAR)
### Question:
WHAT IS THE LEAGUE WITH PLAYER JOE COLBORNE?
### Answer:
SELECT college_junior_club_team__league_ FROM table_name_78 WHERE player = "joe colborne" |
Below is an context that describes a sql 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 (serial_format VARCHAR, design VARCHAR, serials_issued VARCHAR)
### Question:
What is the serial format for white on blue with a serial issued of ss-00-00 to zz-99-99?
### Answer:
SELECT serial_format FROM table_name_72 WHERE design = "white on blue" AND serials_issued = "ss-00-00 to zz-99-99" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_45 (date_of_vacancy VARCHAR, manner_of_departure VARCHAR, team VARCHAR)
### Question:
What is the date of vacancy when the manner of departure is sacked and the team is nejapa?
### Answer:
SELECT date_of_vacancy FROM table_name_45 WHERE manner_of_departure = "sacked" AND team = "nejapa" |
Below is an context that describes a sql 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 (record VARCHAR, game_site VARCHAR, date VARCHAR)
### Question:
What was the record at Memorial Stadium on September 19, 1965?
### Answer:
SELECT record FROM table_name_59 WHERE game_site = "memorial stadium" AND date = "september 19, 1965" |
Below is an context that describes a sql 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 (security_forces VARCHAR, civilians VARCHAR)
### Question:
Name the security forces with civilians of 67
### Answer:
SELECT security_forces FROM table_name_15 WHERE civilians = "67" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_74 (date_of_birth VARCHAR, bowling_style VARCHAR)
### Question:
When is the birth date of player with right arm fast style?
### Answer:
SELECT date_of_birth FROM table_name_74 WHERE bowling_style = "right arm fast" |
Below is an context that describes a sql 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 (Id VARCHAR)
### Question:
Which 2008 had a 1998 and 2006 that were a when 2009 was sf?
### Answer:
SELECT 2008 FROM table_name_16 WHERE 1998 = "a" AND 2009 = "sf" AND 2006 = "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 (attendance VARCHAR, tie_no VARCHAR)
### Question:
How many attended the game when the score was tie at 4?
### Answer:
SELECT attendance FROM table_name_65 WHERE tie_no = "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_14219514_2 (home__1st_leg_ VARCHAR, aggregate VARCHAR)
### Question:
When 0-1 is the aggregate what are the home (1st leg)?
### Answer:
SELECT home__1st_leg_ FROM table_14219514_2 WHERE aggregate = "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_22815568_6 (status VARCHAR, poverty_rate VARCHAR)
### Question:
What is the status if the poverty rate is 11.4%?
### Answer:
SELECT status FROM table_22815568_6 WHERE poverty_rate = "11.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_26 (played VARCHAR, points VARCHAR)
### Question:
Which 1990-1991 is the average one that has Played of 38, and Points of 40?
### Answer:
SELECT AVG(1990 AS _1991) FROM table_name_26 WHERE played = 38 AND points = 40 |
Below is an context that describes a sql 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 (venue VARCHAR, away_team VARCHAR)
### Question:
What venue was essendon the away team?
### Answer:
SELECT venue FROM table_name_20 WHERE away_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_67 (points INTEGER, poles VARCHAR, wins VARCHAR, position VARCHAR)
### Question:
What is the total number of Points with Wins larger than 0, a Position of 12th, and Poles larger than 0?
### Answer:
SELECT SUM(points) FROM table_name_67 WHERE wins > 0 AND position = "12th" AND poles > 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_26250253_1 (result VARCHAR, week__number VARCHAR)
### Question:
Where the week # is Top 12, what is the result?
### Answer:
SELECT result FROM table_26250253_1 WHERE week__number = "Top 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_82 (visiting_team VARCHAR, stadium VARCHAR)
### Question:
Which Visiting Team has a Stadium of servus centre?
### Answer:
SELECT visiting_team FROM table_name_82 WHERE stadium = "servus centre" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2076490_1 (enrollment__2005_ VARCHAR, type VARCHAR, school VARCHAR)
### Question:
What was the enrollment (2005) for baccalaureate colleges , for Granite State College?
### Answer:
SELECT enrollment__2005_ FROM table_2076490_1 WHERE type = "Baccalaureate college" AND school = "Granite State 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_51 (game INTEGER, date VARCHAR)
### Question:
What is the game number held on May 2?
### Answer:
SELECT AVG(game) FROM table_name_51 WHERE date = "may 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_20325360_2 (total INTEGER, country_territory VARCHAR)
### Question:
How many competitors in total, for the Mr. International competition, does Brazil have?
### Answer:
SELECT MAX(total) FROM table_20325360_2 WHERE country_territory = "Brazil" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_18424435_3 (written_by VARCHAR, canadian_viewers__million_ VARCHAR)
### Question:
Who wrote the episodes watched by 1.816 million people in Canada?
### Answer:
SELECT written_by FROM table_18424435_3 WHERE canadian_viewers__million_ = "1.816" |
Below is an context that describes a sql 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 (result VARCHAR, attendance VARCHAR)
### Question:
What is the Result when the Attendance is 1,634?
### Answer:
SELECT result FROM table_name_85 WHERE attendance = "1,634" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_11 (venue VARCHAR, score VARCHAR)
### Question:
What is the Venue of the Competition with a Score of 4-1?
### Answer:
SELECT venue FROM table_name_11 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_name_79 (result VARCHAR, competition VARCHAR, date VARCHAR)
### Question:
Name the result for friendly competition on 9 october 2010
### Answer:
SELECT result FROM table_name_79 WHERE competition = "friendly" AND date = "9 october 2010" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1165048_1 (coach VARCHAR, captain VARCHAR, win_loss VARCHAR)
### Question:
what is the total number of coach where captain is grant welsh and win/loss is 5-15
### Answer:
SELECT COUNT(coach) FROM table_1165048_1 WHERE captain = "Grant Welsh" AND win_loss = "5-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_86 (year VARCHAR, works_no VARCHAR)
### Question:
In what Year is the Works no. 2040-2049?
### Answer:
SELECT year FROM table_name_86 WHERE works_no = "2040-2049" |
Below is an context that describes a sql 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 (result VARCHAR, date VARCHAR)
### Question:
What was the result on 1990-11-04?
### Answer:
SELECT result FROM table_name_55 WHERE date = "1990-11-04" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_17 (zone_2008 VARCHAR, services VARCHAR, station VARCHAR)
### Question:
Which Zone 2008 has Services of greater anglia, and a Station of cheshunt?
### Answer:
SELECT zone_2008 FROM table_name_17 WHERE services = "greater anglia" AND station = "cheshunt" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23285761_10 (score VARCHAR, team VARCHAR)
### Question:
What was the score for the game against Houston?
### Answer:
SELECT score FROM table_23285761_10 WHERE team = "Houston" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25374338_1 (song_choice VARCHAR, original_artist VARCHAR)
### Question:
What is the song choice where the original artist is Gino Paoli?
### Answer:
SELECT COUNT(song_choice) FROM table_25374338_1 WHERE original_artist = "Gino Paoli" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29218221_2 (rider VARCHAR, tues_31_may VARCHAR)
### Question:
What is the number of riders that had a Tues 31 May time of 18' 55.91 124.236mph?
### Answer:
SELECT COUNT(rider) FROM table_29218221_2 WHERE tues_31_may = "18' 55.91 124.236mph" |
Below is an context that describes a sql 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 (fa_cup INTEGER, player VARCHAR, total VARCHAR)
### Question:
What is the lowest FA cup that has mohd faizal desa as the player, with a total greater than 0?
### Answer:
SELECT MIN(fa_cup) FROM table_name_22 WHERE player = "mohd faizal desa" AND total > 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_2500440_1 (population_density__per_km_2__ VARCHAR, name VARCHAR)
### Question:
What is the population per km2 in Fishing Lake?
### Answer:
SELECT population_density__per_km_2__ FROM table_2500440_1 WHERE name = "Fishing Lake" |
Below is an context that describes a sql 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 (margin_of_victory VARCHAR, runner_s__up VARCHAR)
### Question:
Which Margin of victory has a Runner(s)-up of buddy gardner?
### Answer:
SELECT margin_of_victory FROM table_name_1 WHERE runner_s__up = "buddy gardner" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29160596_1 (appearances INTEGER, top_mc VARCHAR)
### Question:
How many appearances by Meek Mill?
### Answer:
SELECT MAX(appearances) FROM table_29160596_1 WHERE top_mc = "Meek Mill" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1341690_20 (party VARCHAR, incumbent VARCHAR)
### Question:
How many instances are there of party in the situation where Robert Bauman is the incumbent politician?
### Answer:
SELECT COUNT(party) FROM table_1341690_20 WHERE incumbent = "Robert Bauman" |
Below is an context that describes a sql 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 (rounds VARCHAR, team VARCHAR)
### Question:
In what rounds was the featured team of Avanzza Rosso?
### Answer:
SELECT rounds FROM table_name_51 WHERE team = "avanzza rosso" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11604804_5 (nickname VARCHAR, founded VARCHAR)
### Question:
What was the number of nickname founded 1918?
### Answer:
SELECT COUNT(nickname) FROM table_11604804_5 WHERE founded = 1918 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_13836704_4 (total_passengers_2008 VARCHAR, change_2008_09 VARCHAR)
### Question:
what's the total passengers 2008 with change 2008/09 being 6.5%
### Answer:
SELECT total_passengers_2008 FROM table_13836704_4 WHERE change_2008_09 = "6.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_4 (bronze INTEGER, nation VARCHAR, gold VARCHAR)
### Question:
What is the highest number of bronze medals of west germany, which has more than 0 golds?
### Answer:
SELECT MAX(bronze) FROM table_name_4 WHERE nation = "west germany" AND gold > 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_6 (bronze VARCHAR, nation VARCHAR, total VARCHAR)
### Question:
How many bronzes have a Nation of jamaica (jam), and a Total smaller than 7?
### Answer:
SELECT COUNT(bronze) FROM table_name_6 WHERE nation = "jamaica (jam)" AND total < 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_18600760_8 (county VARCHAR, pop__2010_ VARCHAR)
### Question:
Name the number of county for 90 population
### Answer:
SELECT COUNT(county) FROM table_18600760_8 WHERE pop__2010_ = 90 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_67 (capacity__thousands_of_metric_tons_ VARCHAR, county VARCHAR, mine VARCHAR)
### Question:
What is the capacity of the Pinto Valley mine in Gila county?
### Answer:
SELECT capacity__thousands_of_metric_tons_ FROM table_name_67 WHERE county = "gila" AND mine = "pinto valley" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22673956_1 (rnd INTEGER, race_name VARCHAR)
### Question:
Daily Empress Indy Silverstone took place on which round?
### Answer:
SELECT MAX(rnd) FROM table_22673956_1 WHERE race_name = "Daily Empress Indy Silverstone" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Rooms (maxOccupancy INTEGER, decor VARCHAR)
### Question:
What is the total number of people who could stay in the modern rooms in this inn?
### Answer:
SELECT SUM(maxOccupancy) FROM Rooms WHERE decor = 'modern' |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17111812_1 (sixth VARCHAR, eighth VARCHAR)
### Question:
When the 8th is Marcos Hernandez who was the 6th?
### Answer:
SELECT sixth FROM table_17111812_1 WHERE eighth = "Marcos Hernandez" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23014476_1 (others__percentage VARCHAR, bush__number VARCHAR)
### Question:
Name the others % for bush number 1372
### Answer:
SELECT others__percentage FROM table_23014476_1 WHERE bush__number = 1372 |
Below is an context that describes a sql 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 (year VARCHAR, issue_price VARCHAR, artist VARCHAR)
### Question:
What year was S.A. Allward's theme that had an issue price of $16.95 released?
### Answer:
SELECT year FROM table_name_60 WHERE issue_price = "$16.95" AND artist = "s.a. allward" |
Below is an context that describes a sql 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 (home VARCHAR, date VARCHAR)
### Question:
Was it a home game on the date of April 6?
### Answer:
SELECT home FROM table_name_6 WHERE date = "april 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_19 (format VARCHAR, region VARCHAR)
### Question:
Which format has a region of united kingdom?
### Answer:
SELECT format FROM table_name_19 WHERE region = "united kingdom" |
Below is an context that describes a sql 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 (division VARCHAR, team VARCHAR, apps VARCHAR)
### Question:
What is the total number of Division(s), when Team is Chongqing Lifan, and when Apps is greater than 9?
### Answer:
SELECT COUNT(division) FROM table_name_7 WHERE team = "chongqing lifan" AND apps > 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_229059_2 (winners_share__ INTEGER, champion VARCHAR)
### Question:
What was the winner share (in $) in the year when Se Ri Pak (2) was the champion?
### Answer:
SELECT MIN(winners_share__) AS $_ FROM table_229059_2 WHERE champion = "Se Ri Pak (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_16388439_3 (date VARCHAR, home_team VARCHAR, ground VARCHAR)
### Question:
Name the date for adelaide for westpac stadium
### Answer:
SELECT date FROM table_16388439_3 WHERE home_team = "Adelaide" AND ground = "Westpac 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_name_76 (to_par VARCHAR, winning_score VARCHAR)
### Question:
What is the to par when the winning score was 67-68-70-66=271?
### Answer:
SELECT to_par FROM table_name_76 WHERE winning_score = 67 - 68 - 70 - 66 = 271 |
Below is an context that describes a 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 (home VARCHAR, score VARCHAR)
### Question:
what's the home team where score is l 80–88
### Answer:
SELECT home FROM table_11964047_9 WHERE score = "L 80–88" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_61 (week VARCHAR, result VARCHAR)
### Question:
Name the week when the result was l 38-17
### Answer:
SELECT week FROM table_name_61 WHERE result = "l 38-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_53 (high_assists VARCHAR, game VARCHAR)
### Question:
Who has the highest assists in game 72?
### Answer:
SELECT high_assists FROM table_name_53 WHERE game = 72 |
Below is an context that describes 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 (city_code VARCHAR, age INTEGER)
### Question:
Find the number and average age of students living in each city.
### Answer:
SELECT COUNT(*), AVG(age), city_code FROM student GROUP BY city_code |
Below is an context that describes a sql 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 (round VARCHAR, opponent VARCHAR)
### Question:
What was the round when he fought Joe Stevenson?
### Answer:
SELECT round FROM table_name_26 WHERE opponent = "joe stevenson" |
Below is an context that describes a sql 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 (best VARCHAR, name VARCHAR)
### Question:
Name the the Best of rodolfo lavín
### Answer:
SELECT best FROM table_name_12 WHERE name = "rodolfo lavín" |
Below is an context that describes a sql 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 (engine VARCHAR, year VARCHAR)
### Question:
What engine was in the year of 1961?
### Answer:
SELECT engine FROM table_name_85 WHERE year = 1961 |
Below is an context that describes a sql 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 (country VARCHAR, place VARCHAR, player VARCHAR)
### Question:
What is the Country, when Place is T6, and when Player is "Raymond Floyd"?
### Answer:
SELECT country FROM table_name_3 WHERE place = "t6" AND player = "raymond floyd" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14035132_3 (original_air_date VARCHAR, no_in_season VARCHAR)
### Question:
When did the episode with season number 10b air for the first time?
### Answer:
SELECT original_air_date FROM table_14035132_3 WHERE no_in_season = "10b" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_67 (country VARCHAR, player VARCHAR)
### Question:
What Country does Larry Mize play for?
### Answer:
SELECT country FROM table_name_67 WHERE player = "larry mize" |
Below is an context that describes a sql 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 (period VARCHAR, other_mozilla VARCHAR)
### Question:
What period has 0.25% as the other mozilla?
### Answer:
SELECT period FROM table_name_66 WHERE other_mozilla = "0.25%" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_92 (year INTEGER, group VARCHAR, award VARCHAR, result VARCHAR, film_series VARCHAR)
### Question:
What is the average year in which Kim was nominated for Thirst as Best Actress at the Baeksang Arts Awards?
### Answer:
SELECT AVG(year) FROM table_name_92 WHERE result = "nominated" AND film_series = "thirst" AND award = "best actress" AND group = "baeksang arts awards" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1139087_2 (date VARCHAR, grand_prix VARCHAR)
### Question:
What day is the french grand prix
### Answer:
SELECT date FROM table_1139087_2 WHERE grand_prix = "French grand_prix" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.