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_13557843_7 (game VARCHAR, date VARCHAR)
### Question:
what's the game with date being march 7
### Answer:
SELECT game FROM table_13557843_7 WHERE date = "March 7" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28884858_2 (total_attendance INTEGER, team VARCHAR)
### Question:
What was the total attendance of the New York Giants?
### Answer:
SELECT MIN(total_attendance) FROM table_28884858_2 WHERE team = "New York Giants" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16661199_2 (attendance INTEGER, giants_points VARCHAR)
### Question:
Name the most attendance for giants points of 10
### Answer:
SELECT MAX(attendance) FROM table_16661199_2 WHERE giants_points = 10 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_52 (model VARCHAR, cpu_speed VARCHAR)
### Question:
Which model has a CPU speed of 133mhz?
### Answer:
SELECT model FROM table_name_52 WHERE cpu_speed = "133mhz" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_88 (venue VARCHAR, opponent VARCHAR)
### Question:
Name the venue for netherlands opponent
### Answer:
SELECT venue FROM table_name_88 WHERE opponent = "netherlands" |
Below is an context that describes a sql 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 (bushi VARCHAR, kaz_hayashi VARCHAR)
### Question:
Name the BUSHI that has kaz hayashi of kai (14:01)
### Answer:
SELECT bushi FROM table_name_50 WHERE kaz_hayashi = "kai (14:01)" |
Below is an context that describes a sql 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 (format_s_ VARCHAR, label VARCHAR, catalog VARCHAR)
### Question:
What are the formats associated with the Atlantic Records label, catalog number 512336?
### Answer:
SELECT format_s_ FROM table_name_15 WHERE label = "atlantic records" AND catalog = "512336" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2140071_13 (external_link VARCHAR, coach VARCHAR)
### Question:
What is the number of external links with a coach named Katie Kansas?
### Answer:
SELECT COUNT(external_link) FROM table_2140071_13 WHERE coach = "Katie Kansas" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14882588_2 (skipper VARCHAR, yacht VARCHAR)
### Question:
How many different skippers of the yacht City Index Leopard?
### Answer:
SELECT COUNT(skipper) FROM table_14882588_2 WHERE yacht = "City Index Leopard" |
Below is an context that describes a sql 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 (avg INTEGER, long VARCHAR)
### Question:
What is the sum of averages with a long value of 32?
### Answer:
SELECT SUM(avg) FROM table_name_70 WHERE long = 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_20 (team VARCHAR, goals_for VARCHAR, goals_against VARCHAR, points_2 VARCHAR)
### Question:
What team has less than 64 goals against, 101 goals for, and a Points 2 total of 63?
### Answer:
SELECT team FROM table_name_20 WHERE goals_against < 64 AND points_2 = 63 AND goals_for = 101 |
Below is an context that describes a sql 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 (player VARCHAR, nationality VARCHAR, pick VARCHAR)
### Question:
Tell me the player for nationality of canada for pick of 43
### Answer:
SELECT player FROM table_name_85 WHERE nationality = "canada" AND pick = "43" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16951593_1 (original_air_date VARCHAR, no_in_season VARCHAR)
### Question:
Name the original air date of 1/2 in season
### Answer:
SELECT original_air_date FROM table_16951593_1 WHERE no_in_season = "1/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_2679061_6 (position VARCHAR, pick__number VARCHAR)
### Question:
what is the position for pick # 103?
### Answer:
SELECT position FROM table_2679061_6 WHERE pick__number = 103 |
Below is an context that describes a sql 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 (event VARCHAR, time VARCHAR)
### Question:
What is the Event with a Time that is 3:06?
### Answer:
SELECT event FROM table_name_85 WHERE time = "3:06" |
Below is an context that describes a sql 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 (engine VARCHAR, rounds VARCHAR, entrant VARCHAR)
### Question:
What kind of engine is in the car for Scuderia Ferrari that went all rounds?
### Answer:
SELECT engine FROM table_name_28 WHERE rounds = "all" AND entrant = "scuderia ferrari" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_23 (attendance INTEGER, home VARCHAR)
### Question:
What's the sum of the attendance for the calgary home team?
### Answer:
SELECT SUM(attendance) FROM table_name_23 WHERE home = "calgary" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_21191496_1 (winning_team VARCHAR, circuit VARCHAR)
### Question:
When circuit ricardo tormo is the circuit who is the winning team?
### Answer:
SELECT winning_team FROM table_21191496_1 WHERE circuit = "circuit Ricardo Tormo" |
Below is an context that describes a sql 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 (ihsaa_class VARCHAR, school VARCHAR)
### Question:
What kind of IHSAA Class has a School of decatur central?
### Answer:
SELECT ihsaa_class FROM table_name_2 WHERE school = "decatur central" |
Below is an context that describes a sql 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 (middle_german___luxemburgish__ VARCHAR, english VARCHAR)
### Question:
What is the Middle German (Luxemburgish) word for stone?
### Answer:
SELECT middle_german___luxemburgish__ FROM table_name_58 WHERE english = "stone" |
Below is an context that describes a sql 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 (overall INTEGER, position VARCHAR)
### Question:
Which Overall is the lowest one that has a Position of offensive tackle?
### Answer:
SELECT MIN(overall) FROM table_name_33 WHERE position = "offensive tackle" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15366849_1 (c_ VARCHAR, metropolitan_borough_ VARCHAR, station VARCHAR)
### Question:
How many metropolitan boroughs have dorridge as a station?
### Answer:
SELECT COUNT(metropolitan_borough_)[c_] FROM table_15366849_1 WHERE station = "Dorridge" |
Below is an context that describes a sql 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 (round VARCHAR, name VARCHAR)
### Question:
What round has a name of vladimir morozov?
### Answer:
SELECT round FROM table_name_90 WHERE name = "vladimir morozov" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27293285_6 (points VARCHAR, won VARCHAR)
### Question:
For teams that won exactly 15, how many points were scored?
### Answer:
SELECT points FROM table_27293285_6 WHERE won = "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_19872699_1 (flag VARCHAR, builder VARCHAR)
### Question:
Which flag was on the Green Marine's boat?
### Answer:
SELECT flag FROM table_19872699_1 WHERE builder = "Green Marine" |
Below is an context that describes a sql 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 (silver INTEGER, bronze VARCHAR, total VARCHAR)
### Question:
Name the Silver which has a Bronze of 19, and a Total larger than 58?
### Answer:
SELECT MIN(silver) FROM table_name_1 WHERE bronze = 19 AND total > 58 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1304443_2 (others_percentage VARCHAR, bush_percentage VARCHAR)
### Question:
What's the percentage of votes for other candidates in the county where Bush got 51.6% of the votes?
### Answer:
SELECT others_percentage FROM table_1304443_2 WHERE bush_percentage = "51.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_28068645_8 (super_league INTEGER, champions_league VARCHAR)
### Question:
List the lowest super league for a 0 champion league.
### Answer:
SELECT MIN(super_league) FROM table_28068645_8 WHERE champions_league = 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_23 (entrant VARCHAR, driver VARCHAR)
### Question:
kenneth mcalpine drove from which entrant?
### Answer:
SELECT entrant FROM table_name_23 WHERE driver = "kenneth mcalpine" |
Below is an context that describes a sql 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 (title VARCHAR, japan VARCHAR)
### Question:
Tell me the title of japan january 31, 2008
### Answer:
SELECT title FROM table_name_74 WHERE japan = "january 31, 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_55 (Id VARCHAR)
### Question:
What is the 2009 value in the 2011 Grand Slam Tournaments?
### Answer:
SELECT 2009 FROM table_name_55 WHERE 2011 = "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_name_22 (format VARCHAR, open_standard VARCHAR, image_support VARCHAR, interactivity_support VARCHAR, word_wrap_support VARCHAR)
### Question:
Which Format has an Interactivity support of no, a Word wrap support of yes, an Image support of yes, and an Open standard of yes?
### Answer:
SELECT format FROM table_name_22 WHERE interactivity_support = "no" AND word_wrap_support = "yes" AND image_support = "yes" AND open_standard = "yes" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_89 (record VARCHAR, class VARCHAR, sport VARCHAR)
### Question:
What is the team's record in 3a volleyball?
### Answer:
SELECT record FROM table_name_89 WHERE class = "3a" AND sport = "volleyball" |
Below is an context that describes a sql 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 (home VARCHAR, date VARCHAR)
### Question:
What is the Home team on April 4?
### Answer:
SELECT home FROM table_name_61 WHERE date = "april 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_10 (location VARCHAR, game VARCHAR, record VARCHAR)
### Question:
What is the location before game 44, and a 20-16 record?
### Answer:
SELECT location FROM table_name_10 WHERE game < 44 AND record = "20-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_22 (team VARCHAR, location_attendance VARCHAR)
### Question:
What team has a location and attendance at the Seattle Center Coliseum 12,591?
### Answer:
SELECT team FROM table_name_22 WHERE location_attendance = "seattle center coliseum 12,591" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_20667854_1 (gics_sector VARCHAR, free_float VARCHAR)
### Question:
What is every GICS sector for free float of 0.3180?
### Answer:
SELECT gics_sector FROM table_20667854_1 WHERE free_float = "0.3180" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1364343_2 (total_population VARCHAR, catholic VARCHAR, region VARCHAR)
### Question:
how many total population with catholic being smaller than 31370649.1405057 and region being north africa
### Answer:
SELECT COUNT(total_population) FROM table_1364343_2 WHERE catholic < 31370649.1405057 AND region = "North Africa" |
Below is an context that describes a sql 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 (total INTEGER, gold VARCHAR, silver VARCHAR, rank VARCHAR, bronze VARCHAR)
### Question:
What is the Total with 0 Silver and Gold, 1 Bronze and Rank larger than 2?
### Answer:
SELECT MIN(total) FROM table_name_54 WHERE rank > 2 AND bronze = 1 AND silver > 0 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_81 (name VARCHAR, overall VARCHAR, pick__number VARCHAR)
### Question:
Who has an overall greater than 414 with a pick# bigger than 9?
### Answer:
SELECT name FROM table_name_81 WHERE overall > 414 AND pick__number > 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_74 (opponent VARCHAR, attendance VARCHAR)
### Question:
Tell me the opponent for attendance of 68,264
### Answer:
SELECT opponent FROM table_name_74 WHERE attendance = "68,264" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_13636_1 (computing_mechanism VARCHAR, first_operational VARCHAR)
### Question:
what's the computing mechanbeingm with first operational being february 1944
### Answer:
SELECT computing_mechanism FROM table_13636_1 WHERE first_operational = "February 1944" |
Below is an context that describes a sql 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, visitor VARCHAR, home VARCHAR)
### Question:
What was the record when the visitor was Cleveland in Dallas?
### Answer:
SELECT record FROM table_name_59 WHERE visitor = "cleveland" AND home = "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_name_36 (ofsted_number INTEGER, type VARCHAR, intake VARCHAR)
### Question:
Can you tell me the highest Ofsted number that has the Type of infants, and the Intake larger than 60?
### Answer:
SELECT MAX(ofsted_number) FROM table_name_36 WHERE type = "infants" AND intake > 60 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_98 (event VARCHAR, location VARCHAR)
### Question:
What bombing happened in Brighton, UK?
### Answer:
SELECT event FROM table_name_98 WHERE location = "brighton, uk" |
Below is an context that describes a sql 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 (date VARCHAR, winning_constructor VARCHAR, winning_driver VARCHAR)
### Question:
Tell me the date for bugatti fpr stanislas czaykowski
### Answer:
SELECT date FROM table_name_60 WHERE winning_constructor = "bugatti" AND winning_driver = "stanislas czaykowski" |
Below is an context that describes a sql 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 (date VARCHAR, home VARCHAR, visitor VARCHAR)
### Question:
What is the date for the home detroit and visitor was chicago?
### Answer:
SELECT date FROM table_name_82 WHERE home = "detroit" AND 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_86 (college VARCHAR, team VARCHAR, round VARCHAR)
### Question:
Name the college that has 7 rounds and boston celtics team
### Answer:
SELECT college FROM table_name_86 WHERE team = "boston celtics" AND round = "7" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_79 (listed VARCHAR, county VARCHAR)
### Question:
what is the listing date for nuckolls county?
### Answer:
SELECT listed FROM table_name_79 WHERE county = "nuckolls" |
Below is an context that describes a sql 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 (region VARCHAR, date VARCHAR)
### Question:
Which regio has a date of 24 march 2006?
### Answer:
SELECT region FROM table_name_15 WHERE date = "24 march 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_17085724_1 (brighton_cast VARCHAR, character VARCHAR)
### Question:
Name the brighton cast for jerry cruncher
### Answer:
SELECT brighton_cast FROM table_17085724_1 WHERE character = "Jerry Cruncher" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17323529_8 (record VARCHAR, team VARCHAR)
### Question:
What is the record against Boston?
### Answer:
SELECT record FROM table_17323529_8 WHERE team = "Boston" |
Below is an context that describes a sql 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 (total INTEGER, player VARCHAR)
### Question:
Bernhard Langer maximum total was what?
### Answer:
SELECT MAX(total) FROM table_name_27 WHERE player = "bernhard langer" |
Below is an context that describes a sql 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 (nationality VARCHAR, school_club_team VARCHAR)
### Question:
What is the nationality of the School/Club team of Louisville?
### Answer:
SELECT nationality FROM table_name_43 WHERE school_club_team = "louisville" |
Below is an context that describes a sql 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 (pole_position VARCHAR, circuit VARCHAR, winning_team VARCHAR)
### Question:
What is Pole Position, when Circuit is Adelaide Street Circuit, and when Winning Team is Piccola Scuderia Corse?
### Answer:
SELECT pole_position FROM table_name_71 WHERE circuit = "adelaide street circuit" AND winning_team = "piccola scuderia corse" |
Below is an context that describes a sql 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 (air_date VARCHAR, order VARCHAR)
### Question:
What is the sum of numbers listed in 18-49 for the episode that aired on June 25, 2009 with an order larger than 29?
### Answer:
SELECT SUM(18 AS _49) FROM table_name_51 WHERE air_date = "june 25, 2009" AND order > 29 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_30 (pick INTEGER, position VARCHAR, player VARCHAR)
### Question:
What is the lowest pick of the defensive tackle player dave haverdick?
### Answer:
SELECT MIN(pick) FROM table_name_30 WHERE position = "defensive tackle" AND player = "dave haverdick" |
Below is an context that describes a sql 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 (date VARCHAR, rating VARCHAR, event VARCHAR)
### Question:
What is Date, when Rating 1.5, and when Event is Johnson Vs. Moraga?
### Answer:
SELECT date FROM table_name_76 WHERE rating = "1.5" AND event = "johnson vs. moraga" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27987623_3 (episode VARCHAR, viewers__millions_ VARCHAR)
### Question:
Which episode had viewership of 0.296 million?
### Answer:
SELECT episode FROM table_27987623_3 WHERE viewers__millions_ = "0.296" |
Below is an context that describes a sql 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 (visiting_team VARCHAR, week VARCHAR, stadium VARCHAR)
### Question:
Who was the visiting team on weeks under 12 and at Sports Authority Field at Mile High?
### Answer:
SELECT visiting_team FROM table_name_24 WHERE week < 12 AND stadium = "sports authority field at mile high" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28819393_1 (average_votes_per_candidate INTEGER, average__percentage_of_vote_per_candidate VARCHAR)
### Question:
When 3.29% was the average per candidate, what was the number of average votes per candidate?
### Answer:
SELECT MIN(average_votes_per_candidate) FROM table_28819393_1 WHERE average__percentage_of_vote_per_candidate = "3.29" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_48 (time INTEGER, reaction_time VARCHAR)
### Question:
What is the Time of the Athlete with a Reaction time of 0.164?
### Answer:
SELECT SUM(time) FROM table_name_48 WHERE reaction_time = 0.164 |
Below is an context that describes a sql 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 (time VARCHAR, rider VARCHAR, laps VARCHAR, grid VARCHAR)
### Question:
What is the Time when there are 18 laps, grid larger than 15, and Rider of Russell Holland?
### Answer:
SELECT time FROM table_name_42 WHERE laps = 18 AND grid > 15 AND rider = "russell holland" |
Below is an context that describes a sql 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 (high_rebounds VARCHAR, date VARCHAR)
### Question:
For the game played on November 29, who had the highest rebounds?
### Answer:
SELECT high_rebounds FROM table_name_73 WHERE date = "november 29" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE constructorstandings (constructorid VARCHAR, points VARCHAR); CREATE TABLE constructors (name VARCHAR, constructorid VARCHAR, nationality VARCHAR)
### Question:
Find the names of Japanese constructors that have once earned more than 5 points?
### Answer:
SELECT T1.name FROM constructors AS T1 JOIN constructorstandings AS T2 ON T1.constructorid = T2.constructorid WHERE T1.nationality = "Japanese" AND T2.points > 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 (used VARCHAR, power__hp_ VARCHAR, engine VARCHAR)
### Question:
When was power (hp) less than 93 for the OM324 engine used?
### Answer:
SELECT used FROM table_name_4 WHERE power__hp_ < 93 AND engine = "om324" |
Below is an context that describes a sql 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 (score VARCHAR, country VARCHAR)
### Question:
What was the score for the player from Scotland?
### Answer:
SELECT score FROM table_name_76 WHERE country = "scotland" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2764267_2 (country VARCHAR, currency VARCHAR)
### Question:
Name the number of countries that have the us dollar
### Answer:
SELECT COUNT(country) FROM table_2764267_2 WHERE currency = "US dollar" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2182573_2 (avg_finish VARCHAR, year VARCHAR)
### Question:
What was the average finish in 2007?
### Answer:
SELECT avg_finish FROM table_2182573_2 WHERE year = 2007 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22951646_1 (premiere VARCHAR, number_of_episodes VARCHAR)
### Question:
Name the premiere for 8 episodes
### Answer:
SELECT premiere FROM table_22951646_1 WHERE number_of_episodes = 8 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_34 (grid VARCHAR, laps INTEGER)
### Question:
What is the grid total for cars with over 69 laps?
### Answer:
SELECT COUNT(grid) FROM table_name_34 WHERE laps > 69 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11948857_1 (county_s__represented VARCHAR, member_senator VARCHAR)
### Question:
What is the county for senator C. Anthony Muse?
### Answer:
SELECT county_s__represented FROM table_11948857_1 WHERE member_senator = "C. Anthony Muse" |
Below is an context that describes a sql 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 (height_in_ft VARCHAR, years_with_spurs VARCHAR)
### Question:
What is Height in Ft., when Years With Spurs is 1973-74?
### Answer:
SELECT height_in_ft FROM table_name_87 WHERE years_with_spurs = "1973-74" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_48 (to_par VARCHAR, money___$__ INTEGER)
### Question:
Which To par has a Money ($) larger than 5,500?
### Answer:
SELECT to_par FROM table_name_48 WHERE money___$__ > 5 OFFSET 500 |
Below is an context that describes a sql 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 (overall VARCHAR, position VARCHAR, pick__number VARCHAR)
### Question:
What is the overall number for a kicker with a pick of less than 6?
### Answer:
SELECT COUNT(overall) FROM table_name_84 WHERE position = "kicker" AND pick__number < 6 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_5 (byes INTEGER, losses INTEGER)
### Question:
Which Byes has a Losses smaller than 1?
### Answer:
SELECT MAX(byes) FROM table_name_5 WHERE losses < 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_73 (date VARCHAR, catalogue_number VARCHAR)
### Question:
What is the date for the release with a catalogue number of WARPCDD333?
### Answer:
SELECT date FROM table_name_73 WHERE catalogue_number = "warpcdd333" |
Below is an context that describes a sql 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 (Id VARCHAR)
### Question:
Who came in 3rd at Venue?
### Answer:
SELECT 3 AS rd_place FROM table_name_99 WHERE "venue" = "venue" |
Below is an context that describes a sql 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 (place VARCHAR, score VARCHAR)
### Question:
In what place is the golfer with a score of 68-69-73-70=280?
### Answer:
SELECT place FROM table_name_24 WHERE score = 68 - 69 - 73 - 70 = 280 |
Below is an context that describes a sql 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 (property_taxes VARCHAR, year VARCHAR, total_revenue VARCHAR)
### Question:
What were property taxes in a year when total revenue was $40,891,700 after 2002?
### Answer:
SELECT property_taxes FROM table_name_33 WHERE year > 2002 AND total_revenue = "$40,891,700" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_12194021_1 (womens_doubles VARCHAR, mens_singles VARCHAR, mixed_doubles VARCHAR)
### Question:
In womens doubles and mens singles, what years did Arvind Bhat or Valiyaveetil Diju Jwala Gutta win?
### Answer:
SELECT womens_doubles FROM table_12194021_1 WHERE mens_singles = "Arvind Bhat" AND mixed_doubles = "Valiyaveetil Diju Jwala Gutta" |
Below is an context that describes a sql 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 (position VARCHAR, name VARCHAR, win_loss VARCHAR, spread VARCHAR, country VARCHAR)
### Question:
What position has a spread greater than -319, and United States as the country, a win loss of 11-13, and gabriel, marty as the name?
### Answer:
SELECT position FROM table_name_96 WHERE spread > -319 AND country = "united states" AND win_loss = "11-13" AND name = "gabriel, marty" |
Below is an context that describes a sql 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 (location VARCHAR, type VARCHAR, years VARCHAR)
### Question:
What is the location for the club trophy from the year 1867 only?
### Answer:
SELECT location FROM table_name_52 WHERE type = "club trophy" AND years = "1867 only" |
Below is an context that describes a sql 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 (crowd VARCHAR, home_team VARCHAR)
### Question:
What was the attendance when Fitzroy played as home team?
### Answer:
SELECT COUNT(crowd) FROM table_name_2 WHERE home_team = "fitzroy" |
Below is an context that describes a sql 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 (player VARCHAR, country VARCHAR, score VARCHAR)
### Question:
Who was the player from the United States with a score of 70-70-71=211?
### Answer:
SELECT player FROM table_name_66 WHERE country = "united states" AND score = 70 - 70 - 71 = 211 |
Below is an context that describes a sql 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 (name VARCHAR, location VARCHAR)
### Question:
Which is located in Nigeria?
### Answer:
SELECT name FROM table_name_72 WHERE location = "nigeria" |
Below is an context that describes a sql 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 (attendance VARCHAR, record VARCHAR)
### Question:
For record 25-24, what is the sum of attendance?
### Answer:
SELECT COUNT(attendance) FROM table_name_83 WHERE record = "25-24" |
Below is an context that describes a sql 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 (school VARCHAR, hometown VARCHAR)
### Question:
What is the school of the player from Dallas, TX?
### Answer:
SELECT school FROM table_name_47 WHERE hometown = "dallas, tx" |
Below is an context that describes a sql 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 (engine VARCHAR, year VARCHAR)
### Question:
What is the engine for a vehicle in 1960?
### Answer:
SELECT engine FROM table_name_59 WHERE year = 1960 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11677691_12 (player VARCHAR, school VARCHAR)
### Question:
who are all the players for st. thomas aquinas high school
### Answer:
SELECT player FROM table_11677691_12 WHERE school = "St. Thomas Aquinas High school" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_31 (year VARCHAR)
### Question:
Who won the 250 cc in 1987?
### Answer:
SELECT 250 AS _cc FROM table_name_31 WHERE year = "1987" |
Below is an context that describes a sql 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 (year INTEGER, director VARCHAR, english_title VARCHAR)
### Question:
What is the submission Year of the Film The Dark Side of the Moon directed by Erik Clausen?
### Answer:
SELECT SUM(year) FROM table_name_40 WHERE director = "erik clausen" AND english_title = "the dark side of the moon" |
Below is an context that describes a sql 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 (date VARCHAR, location VARCHAR)
### Question:
What is the date of the match in Vilnius, Lithuania?
### Answer:
SELECT date FROM table_name_60 WHERE location = "vilnius, lithuania" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11411026_2 (directed_by VARCHAR, no_in_series VARCHAR)
### Question:
How many titles were directed in series 79?
### Answer:
SELECT COUNT(directed_by) FROM table_11411026_2 WHERE no_in_series = 79 |
Below is an context that describes a sql 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 (senior_status VARCHAR, appointed_by VARCHAR, born_died VARCHAR)
### Question:
Which Senior status has Appointed by of l. johnson category:articles with hcards, and Born/Died of 1918–2009?
### Answer:
SELECT senior_status FROM table_name_7 WHERE appointed_by = "l. johnson category:articles with hcards" AND born_died = "1918–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_60 (place INTEGER, draw VARCHAR, artist VARCHAR)
### Question:
what is the place when the draw is less than 12 and the artist is quartissimo feat. martina?
### Answer:
SELECT SUM(place) FROM table_name_60 WHERE draw < 12 AND artist = "quartissimo feat. martina" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2562572_20 (cyrillic_name_other_names VARCHAR, settlement VARCHAR, dominant_religion__2002_ VARCHAR, type VARCHAR)
### Question:
Name the cyrillic name for orthodox christianity village and bačko dobro polje
### Answer:
SELECT cyrillic_name_other_names FROM table_2562572_20 WHERE dominant_religion__2002_ = "Orthodox Christianity" AND type = "village" AND settlement = "Bačko Dobro Polje" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_10953197_7 (director VARCHAR, production_code VARCHAR)
### Question:
who directed the production code 2398204
### Answer:
SELECT director FROM table_10953197_7 WHERE production_code = "2398204" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_21 (country VARCHAR, player VARCHAR)
### Question:
What country does charles coody play for?
### Answer:
SELECT country FROM table_name_21 WHERE player = "charles coody" |
Below is an context that describes a sql 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 (crowd INTEGER, away_team VARCHAR)
### Question:
What was the size of the largest crowd that Essendon played in front of as the away team?
### Answer:
SELECT MAX(crowd) FROM table_name_41 WHERE away_team = "essendon" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.