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_89 (manufacturer VARCHAR, rider VARCHAR, laps VARCHAR, grid VARCHAR)
### Question:
Which Manufacturer has a Laps of 21, a Grid larger than 16, and a Rider of akira ryō?
### Answer:
SELECT manufacturer FROM table_name_89 WHERE laps = 21 AND grid > 16 AND rider = "akira ryō" |
Below is an context that describes a sql 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 (rank INTEGER, time INTEGER)
### Question:
What is the average rank of an athlete that holds a time higher than 53.38?
### Answer:
SELECT AVG(rank) FROM table_name_76 WHERE time > 53.38 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27504682_1 (written_by VARCHAR, directed_by VARCHAR)
### Question:
Name who wrote the episode by lawrence trilling
### Answer:
SELECT written_by FROM table_27504682_1 WHERE directed_by = "Lawrence Trilling" |
Below is an context that describes a sql 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 (category VARCHAR, stations VARCHAR)
### Question:
Which category has 5 stations?
### Answer:
SELECT category FROM table_name_11 WHERE stations = "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_47 (position VARCHAR, player VARCHAR)
### Question:
What Position has a Player named kenneth udjus?
### Answer:
SELECT position FROM table_name_47 WHERE player = "kenneth udjus" |
Below is an context that describes a sql 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 (result VARCHAR, date VARCHAR)
### Question:
What was the result on October 4, 1993?
### Answer:
SELECT result FROM table_name_48 WHERE date = "october 4, 1993" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_43 (round VARCHAR, player VARCHAR)
### Question:
Which round was Robert Deciantis taken in?
### Answer:
SELECT round FROM table_name_43 WHERE player = "robert deciantis" |
Below is an context that describes a sql 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 (score VARCHAR, competition VARCHAR)
### Question:
What was the score for the 2014 FIFA World Cup Qualification (UEFA)?
### Answer:
SELECT score FROM table_name_64 WHERE competition = "2014 fifa world cup qualification (uefa)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25318033_1 (races VARCHAR, points VARCHAR)
### Question:
Which races have 137 points?
### Answer:
SELECT races FROM table_25318033_1 WHERE points = "137" |
Below is an context that describes a sql 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 (points VARCHAR, artist VARCHAR, place VARCHAR, draw VARCHAR)
### Question:
what is the number of points when the place is less than 7, the draw is more than 2 and the artist is piece of cake?
### Answer:
SELECT COUNT(points) FROM table_name_76 WHERE place < 7 AND draw > 2 AND artist = "piece of cake" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE journal_committee (Editor_ID VARCHAR, Journal_ID VARCHAR); CREATE TABLE editor (Name VARCHAR, Editor_ID VARCHAR); CREATE TABLE journal (Journal_ID VARCHAR, Sales INTEGER)
### Question:
Show the names of editors that are on the committee of journals with sales bigger than 3000.
### Answer:
SELECT T2.Name FROM journal_committee AS T1 JOIN editor AS T2 ON T1.Editor_ID = T2.Editor_ID JOIN journal AS T3 ON T1.Journal_ID = T3.Journal_ID WHERE T3.Sales > 3000 |
Below is an context that describes a sql 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 (class VARCHAR, vehicle VARCHAR, year VARCHAR)
### Question:
Which class had a vehicle of Nissan in 2007?
### Answer:
SELECT class FROM table_name_31 WHERE vehicle = "nissan" AND 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_name_3 (launches INTEGER, successes VARCHAR, failures VARCHAR, rocket VARCHAR)
### Question:
What are average launches with 0 failures, rocket of Soyuz, and less than 12 successes?
### Answer:
SELECT AVG(launches) FROM table_name_3 WHERE failures = 0 AND rocket = "soyuz" AND successes < 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_62 (goals_for VARCHAR, losses VARCHAR, draws VARCHAR, wins VARCHAR)
### Question:
What is the total number of goals for entries that have more than 7 draws, 8 wins, and more than 5 losses?
### Answer:
SELECT COUNT(goals_for) FROM table_name_62 WHERE draws > 7 AND wins > 8 AND losses > 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_13 (chassis VARCHAR, drivers VARCHAR)
### Question:
What chassis does Gary Bettenhausen use?
### Answer:
SELECT chassis FROM table_name_13 WHERE drivers = "gary bettenhausen" |
Below is an context that describes a sql 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 (launch_site VARCHAR, cospar_id_satcat_№ VARCHAR)
### Question:
What is the launch site of the satellite with a 2003-041a COSPAR ID?
### Answer:
SELECT launch_site FROM table_name_71 WHERE cospar_id_satcat_№ = "2003-041a" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17736890_5 (tie_no INTEGER, home_team VARCHAR)
### Question:
What tie number featured Chelsea as the home team?
### Answer:
SELECT MIN(tie_no) FROM table_17736890_5 WHERE home_team = "Chelsea" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1140099_6 (report VARCHAR, race_name VARCHAR)
### Question:
What is the report for the race i sunday mirror trophy?
### Answer:
SELECT report FROM table_1140099_6 WHERE race_name = "I Sunday Mirror Trophy" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Financial_Transactions (transaction_type VARCHAR)
### Question:
Show all transaction types.
### Answer:
SELECT DISTINCT transaction_type FROM Financial_Transactions |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14016079_1 (winner VARCHAR, circuit VARCHAR)
### Question:
Who was the winner on the Symmons Plains Raceway?
### Answer:
SELECT winner FROM table_14016079_1 WHERE circuit = "Symmons Plains Raceway" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_31 (date VARCHAR, race VARCHAR)
### Question:
What Date is Northern Spur Breeders' Cup Stakes Race?
### Answer:
SELECT date FROM table_name_31 WHERE race = "northern spur breeders' cup stakes" |
Below is an context that describes a sql 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 (poll_source VARCHAR, steve_poizner VARCHAR)
### Question:
What poll had Steve Poizner at 37%?
### Answer:
SELECT poll_source FROM table_name_55 WHERE steve_poizner = "37%" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE stadium (name VARCHAR, id VARCHAR); CREATE TABLE event (stadium_id VARCHAR)
### Question:
What is the name of the stadium which held the most events?
### Answer:
SELECT t1.name FROM stadium AS t1 JOIN event AS t2 ON t1.id = t2.stadium_id GROUP BY t2.stadium_id ORDER BY COUNT(*) DESC LIMIT 1 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_95 (home_team VARCHAR, venue VARCHAR)
### Question:
Which team played at VFL Park?
### Answer:
SELECT home_team FROM table_name_95 WHERE venue = "vfl park" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_1 (laps VARCHAR, grid VARCHAR, driver VARCHAR)
### Question:
Which lap number had a grid number of less than 17 when the driver was Giancarlo Fisichella?
### Answer:
SELECT COUNT(laps) FROM table_name_1 WHERE grid < 17 AND driver = "giancarlo fisichella" |
Below is an context that describes a sql 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 (song VARCHAR, points VARCHAR, artist VARCHAR)
### Question:
What song is it that artist morena camilleri does and has more than 38 points
### Answer:
SELECT song FROM table_name_46 WHERE points > 38 AND artist = "morena camilleri" |
Below is an context that describes a 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 (capacity_percentage VARCHAR, average_attendance VARCHAR)
### Question:
What was the capacity percentage when attendance was 71080?
### Answer:
SELECT capacity_percentage FROM table_28884858_2 WHERE average_attendance = 71080 |
Below is an context that describes a sql 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 (mark VARCHAR, name VARCHAR)
### Question:
What is the mark set by Laura Turner?
### Answer:
SELECT mark FROM table_name_65 WHERE name = "laura turner" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1137142_1 (group_d_winner VARCHAR, group_b_winner VARCHAR)
### Question:
What was the group d winner for modena?
### Answer:
SELECT group_d_winner FROM table_1137142_1 WHERE group_b_winner = "Modena" |
Below is an context that describes a sql 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 (player VARCHAR, score VARCHAR)
### Question:
Which player scored 76-68=144?
### Answer:
SELECT player FROM table_name_28 WHERE score = 76 - 68 = 144 |
Below is an context that describes a sql 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 (played INTEGER, team VARCHAR, against VARCHAR)
### Question:
Which Played is the lowest one that has a Team of vasco da gama, and an Against smaller than 11?
### Answer:
SELECT MIN(played) FROM table_name_54 WHERE team = "vasco da gama" AND against < 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_11207040_6 (date_of_appointment VARCHAR, outgoing_manager VARCHAR)
### Question:
What are the dates of the outgoing manager colin hendry does appointments?
### Answer:
SELECT date_of_appointment FROM table_11207040_6 WHERE outgoing_manager = "Colin Hendry" |
Below is an context that describes a sql 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 (home_team VARCHAR, venue VARCHAR)
### Question:
Who is the home team at brunswick street oval?
### Answer:
SELECT home_team FROM table_name_17 WHERE venue = "brunswick street oval" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_13 (gold VARCHAR, bronze VARCHAR)
### Question:
Who won the gold when Jules van Dyk Belgium won bronze?
### Answer:
SELECT gold FROM table_name_13 WHERE bronze = "jules van dyk belgium" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_18994724_1 (original_title VARCHAR, submitting_country VARCHAR)
### Question:
What is the original title of the film submitted by Greece?
### Answer:
SELECT original_title FROM table_18994724_1 WHERE submitting_country = "Greece" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_12284476_8 (reverse VARCHAR, series VARCHAR)
### Question:
how many reverse with series being iii series
### Answer:
SELECT COUNT(reverse) FROM table_12284476_8 WHERE series = "III series" |
Below is an context that describes a 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 (s_sikh VARCHAR, buddhist VARCHAR)
### Question:
What is the number of s sikh where 955 is the number of buddhists?
### Answer:
SELECT s_sikh FROM table_14598_5 WHERE buddhist = "955" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17311759_6 (team VARCHAR, date VARCHAR)
### Question:
Who was the team played on January 23?
### Answer:
SELECT team FROM table_17311759_6 WHERE date = "January 23" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_54 (run_2 INTEGER, athlete VARCHAR, run_3 VARCHAR)
### Question:
What is the highest run 2 of athlete eric neilson, who has a run 3 larger than 55.97?
### Answer:
SELECT MAX(run_2) FROM table_name_54 WHERE athlete = "eric neilson" AND run_3 > 55.97 |
Below is an context that describes a sql 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 (driver VARCHAR, laps VARCHAR, grid VARCHAR)
### Question:
What driver has more than 39 laps on gird 15?
### Answer:
SELECT driver FROM table_name_67 WHERE laps > 39 AND grid = 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_32 (nationality VARCHAR, year VARCHAR, position VARCHAR)
### Question:
What nationality has a year larger than 2009 with a position of power forward?
### Answer:
SELECT nationality FROM table_name_32 WHERE year > 2009 AND position = "power forward" |
Below is an context that describes a sql 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 (played INTEGER, drawn VARCHAR, lost VARCHAR, position VARCHAR)
### Question:
What is the sum of the number played with more than 5 losses, more than 1 draw, and a position under 8?
### Answer:
SELECT SUM(played) FROM table_name_13 WHERE lost > 5 AND position < 8 AND drawn > 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_26967904_1 (p_max___bar__ VARCHAR, p1_diameter__mm_ VARCHAR)
### Question:
What is the p max (bar) of the pistol with a P1 diameter of 9.70 mm?
### Answer:
SELECT p_max___bar__ FROM table_26967904_1 WHERE p1_diameter__mm_ = "9.70" |
Below is an context that describes a sql 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 (name VARCHAR, laid_down VARCHAR)
### Question:
What boat was laid down on 25 april 1887?
### Answer:
SELECT name FROM table_name_26 WHERE laid_down = "25 april 1887" |
Below is an context that describes a sql 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 (rank VARCHAR, total VARCHAR, bronze VARCHAR)
### Question:
What number of rank has more than 2 medals in total with less than 4 bronze?
### Answer:
SELECT COUNT(rank) FROM table_name_26 WHERE total > 2 AND bronze < 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_27932399_1 (release_date VARCHAR, release_title VARCHAR)
### Question:
What is the release date of "New Worlds for Old"?
### Answer:
SELECT release_date FROM table_27932399_1 WHERE release_title = "New Worlds For Old" |
Below is an context that describes a sql 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 (nationality VARCHAR, nba_team VARCHAR, pick VARCHAR)
### Question:
What is the nationality of the player who had the pick of 52 and plays for the NBA team of Phoenix Suns?
### Answer:
SELECT nationality FROM table_name_15 WHERE nba_team = "phoenix suns" AND pick = 52 |
Below is an context that describes a sql 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 (type VARCHAR, course VARCHAR)
### Question:
What type is the misurina to bassano del grappa course?
### Answer:
SELECT type FROM table_name_24 WHERE course = "misurina to bassano del grappa" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE CUSTOMER (LastName VARCHAR); CREATE TABLE CUSTOMER (LastName VARCHAR, CustomerId VARCHAR); CREATE TABLE Invoice (CustomerId VARCHAR, total INTEGER)
### Question:
Find all the customer last names that do not have invoice totals larger than 20.
### Answer:
SELECT LastName FROM CUSTOMER EXCEPT SELECT T1.LastName FROM CUSTOMER AS T1 JOIN Invoice AS T2 ON T1.CustomerId = T2.CustomerId WHERE T2.total > 20 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1028356_3 (score VARCHAR, partner VARCHAR)
### Question:
What is the score with partner Jim Pugh?
### Answer:
SELECT score FROM table_1028356_3 WHERE partner = "Jim Pugh" |
Below is an context that describes a sql 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 (round INTEGER, player VARCHAR, pick VARCHAR)
### Question:
What is the sum of Round, when Player is Tim Hunter (RW), and when Pick is less than 54?
### Answer:
SELECT SUM(round) FROM table_name_32 WHERE player = "tim hunter (rw)" AND pick < 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_73 (money___£__ VARCHAR, country VARCHAR)
### Question:
Name the money for ireland
### Answer:
SELECT money___£__ FROM table_name_73 WHERE country = "ireland" |
Below is an context that describes a sql 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 (round INTEGER, grand_prix VARCHAR)
### Question:
What is the smallest round with a Grand Prix of indian gp?
### Answer:
SELECT MIN(round) FROM table_name_74 WHERE grand_prix = "indian gp" |
Below is an context that describes a sql 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 (status VARCHAR, area_km_2 VARCHAR, official_name VARCHAR)
### Question:
Which status is 75.35 km2 and is named sussex?
### Answer:
SELECT status FROM table_name_20 WHERE area_km_2 < 75.35 AND official_name = "sussex" |
Below is an context that describes a 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_9 (literate_persons___percentage_ VARCHAR, females___percentage_ VARCHAR)
### Question:
What is the percentage of all the literate people where females are 73.17?
### Answer:
SELECT literate_persons___percentage_ FROM table_14598_9 WHERE females___percentage_ = "73.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_59 (drawn INTEGER, lost VARCHAR, points VARCHAR)
### Question:
How many total drawn has less than 4 lost and 8 points?
### Answer:
SELECT SUM(drawn) FROM table_name_59 WHERE lost < 4 AND points = 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_53 (year VARCHAR, score VARCHAR)
### Question:
How many years has 1 run?
### Answer:
SELECT COUNT(year) FROM table_name_53 WHERE score = "1 run" |
Below is an context that describes a sql 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 (population_density__per_km²_ VARCHAR, name VARCHAR, population__2006_ VARCHAR)
### Question:
How much Population density (per km²) has a Name of total northern villages, and a Population (2006) larger than 11414?
### Answer:
SELECT COUNT(population_density__per_km²_) FROM table_name_98 WHERE name = "total northern villages" AND population__2006_ > 11414 |
Below is an context that describes a sql 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 (title VARCHAR, translation VARCHAR)
### Question:
Which title has a translation in it of 1000 lies?
### Answer:
SELECT title FROM table_name_32 WHERE translation = "1000 lies" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29141354_3 (scores VARCHAR, episode VARCHAR)
### Question:
How many scores had an episode of 03x06?
### Answer:
SELECT COUNT(scores) FROM table_29141354_3 WHERE episode = "03x06" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_18047346_5 (tonnes VARCHAR, iata_code VARCHAR)
### Question:
How many tonnes of cargo did the airport have with the IATA Code IND?
### Answer:
SELECT tonnes FROM table_18047346_5 WHERE iata_code = "IND" |
Below is an context that describes a sql 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 (roll INTEGER, decile VARCHAR, name VARCHAR)
### Question:
What is the smallest roll with a Decile larger than 6, and a Name of broomfield school?
### Answer:
SELECT MIN(roll) FROM table_name_40 WHERE decile > 6 AND name = "broomfield 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_52 (front_row_starts INTEGER, driver VARCHAR)
### Question:
What was the highest front row starts for Alain Prost?
### Answer:
SELECT MAX(front_row_starts) FROM table_name_52 WHERE driver = "alain prost" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26259391_1 (no_in_series VARCHAR, production_code VARCHAR)
### Question:
how many series have production code 8acx05
### Answer:
SELECT no_in_series FROM table_26259391_1 WHERE production_code = "8ACX05" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_40 (date_of_vacancy VARCHAR, manner_of_departure VARCHAR, outgoing_manager VARCHAR)
### Question:
What was the date of vacancy of svetozar šapurić who departed with mutual consent?
### Answer:
SELECT date_of_vacancy FROM table_name_40 WHERE manner_of_departure = "mutual consent" AND outgoing_manager = "svetozar šapurić" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23995075_2 (teams_that_can_still_qualify VARCHAR, teams_that_have_secured_qualification VARCHAR, teams_started VARCHAR)
### Question:
How many teams can still qualify when there are 0 teams that have secured qualification and 52 teams started?
### Answer:
SELECT teams_that_can_still_qualify FROM table_23995075_2 WHERE teams_that_have_secured_qualification = "0" AND teams_started = "52" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE country (Code VARCHAR, Name VARCHAR); CREATE TABLE countrylanguage (Language VARCHAR, CountryCode VARCHAR)
### Question:
What is the total number of languages used in Aruba?
### Answer:
SELECT COUNT(T2.Language) FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T1.Name = "Aruba" |
Below is an context that describes a sql 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 (gold INTEGER, total INTEGER)
### Question:
For countries that won more than 32 gold medals, what was the highest number of golds?
### Answer:
SELECT MAX(gold) FROM table_name_81 WHERE total > 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_97 (method VARCHAR, round VARCHAR, opponent VARCHAR)
### Question:
what is the method for round 1 and the opponent is bobby mcmaster?
### Answer:
SELECT method FROM table_name_97 WHERE round = 1 AND opponent = "bobby mcmaster" |
Below is an context that describes a sql 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 (event VARCHAR, round VARCHAR, record VARCHAR)
### Question:
Which event is in round 1 with a record at 5-1?
### Answer:
SELECT event FROM table_name_28 WHERE round = 1 AND record = "5-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_30 (_number_of_national_votes INTEGER, _number_of_seats_won VARCHAR, leader VARCHAR, election VARCHAR, _percentage_of_prefectural_vote VARCHAR)
### Question:
What is the average # Of National Votes, when the Election is before 1992, when the % Of Prefectural Vote is 39.5%, when Leader is Takeo Fukuda, and when # Of Seats Won is greater than 63?
### Answer:
SELECT AVG(_number_of_national_votes) FROM table_name_30 WHERE election < 1992 AND _percentage_of_prefectural_vote = "39.5%" AND leader = "takeo fukuda" AND _number_of_seats_won > 63 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_25 (round INTEGER, college VARCHAR, pick VARCHAR)
### Question:
What is the lowest Round, when College is "Washington State", and when Pick is less than 48?
### Answer:
SELECT MIN(round) FROM table_name_25 WHERE college = "washington state" AND pick < 48 |
Below is an context that describes a sql 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 (nationality VARCHAR, position_s_ VARCHAR, season_s_ VARCHAR)
### Question:
What is the nationality of the player who played guard in 2006?
### Answer:
SELECT nationality FROM table_name_85 WHERE position_s_ = "guard" AND season_s_ = "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_37 (platform VARCHAR, publisher VARCHAR)
### Question:
For what platform does Mindark publish?
### Answer:
SELECT platform FROM table_name_37 WHERE publisher = "mindark" |
Below is an context that describes a sql 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 (name VARCHAR, country VARCHAR)
### Question:
What is the name of the player from Cod?
### Answer:
SELECT name FROM table_name_2 WHERE country = "cod" |
Below is an context that describes a sql 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 (year INTEGER, location VARCHAR)
### Question:
In what Year is the Location of the Festival Koror, Palau?
### Answer:
SELECT SUM(year) FROM table_name_9 WHERE location = "koror, palau" |
Below is an context that describes a sql 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 (game_site VARCHAR, week VARCHAR)
### Question:
I want the game site for week of 11
### Answer:
SELECT game_site FROM table_name_17 WHERE week = 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_24018112_1 (cores_threads VARCHAR, max_memory_speed VARCHAR, frequency VARCHAR)
### Question:
List the number of cores for ddr3-1333 with frequencies between 2.66-2.8ghz.
### Answer:
SELECT cores_threads FROM table_24018112_1 WHERE max_memory_speed = "DDR3-1333" AND frequency = "2.66-2.8GHz" |
Below is an context that describes a sql 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 (role VARCHAR, title VARCHAR, studio VARCHAR, leading_lady VARCHAR)
### Question:
Name the role for studio of rep with sheila mannors leading lady and title of westward ho
### Answer:
SELECT role FROM table_name_11 WHERE studio = "rep" AND leading_lady = "sheila mannors" AND title = "westward ho" |
Below is an context that describes a sql 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 (country VARCHAR, player VARCHAR)
### Question:
What country is Paul Lawrie from?
### Answer:
SELECT country FROM table_name_39 WHERE player = "paul lawrie" |
Below is an context that describes a sql 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 (females VARCHAR, language VARCHAR)
### Question:
What is the number of females that has the Polish language?
### Answer:
SELECT females FROM table_name_66 WHERE language = "polish" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24123547_2 (location VARCHAR, week VARCHAR)
### Question:
How many locations did the team play at on week 7?
### Answer:
SELECT COUNT(location) FROM table_24123547_2 WHERE week = 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_2562572_26 (population__2011_ VARCHAR, cyrillic_name_other_names VARCHAR)
### Question:
What is the population in стари жедник (croatian: stari žednik)?
### Answer:
SELECT population__2011_ FROM table_2562572_26 WHERE cyrillic_name_other_names = "Стари Жедник (Croatian: Stari Žednik)" |
Below is an context that describes a sql 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 (partner VARCHAR, year VARCHAR, outcome VARCHAR)
### Question:
Who was the partner of the winner after 2012?
### Answer:
SELECT partner FROM table_name_12 WHERE year > 2012 AND outcome = "winner" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_93 (score VARCHAR, runner_up VARCHAR)
### Question:
What is the score of the match with anders järryd as the runner-up?
### Answer:
SELECT score FROM table_name_93 WHERE runner_up = "anders järryd" |
Below is an context that describes a sql 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 (opponent VARCHAR, result VARCHAR)
### Question:
What is the name of the Opponent when the Result was w48-0?
### Answer:
SELECT opponent FROM table_name_6 WHERE result = "w48-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_17356205_1 (season__number VARCHAR, directed_by VARCHAR)
### Question:
What season episode is directed by Skipp Sudduth?
### Answer:
SELECT season__number FROM table_17356205_1 WHERE directed_by = "Skipp Sudduth" |
Below is an context that describes a sql 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 (year VARCHAR, total_matches VARCHAR)
### Question:
WHAT YEAR HAD 5 TOTAL MATCHES?
### Answer:
SELECT year FROM table_name_28 WHERE total_matches = 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_96 (gold VARCHAR, total VARCHAR, rank VARCHAR)
### Question:
What's the total number of gold where the total is less than 23 and the rank is over 10?
### Answer:
SELECT COUNT(gold) FROM table_name_96 WHERE total < 23 AND rank > 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_41 (byes VARCHAR, losses VARCHAR, wins VARCHAR)
### Question:
What is the total number of byes that has 13 losses and wins less than 5?
### Answer:
SELECT COUNT(byes) FROM table_name_41 WHERE losses = 13 AND wins < 5 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_71 (total INTEGER, nation VARCHAR, silver VARCHAR)
### Question:
what is the highest total when the nation is france and silver is more than 1?
### Answer:
SELECT MAX(total) FROM table_name_71 WHERE nation = "france" AND silver > 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_67 (ceremony VARCHAR, category VARCHAR)
### Question:
Which ceremony has the best lyricist category?
### Answer:
SELECT ceremony FROM table_name_67 WHERE category = "best lyricist" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27721131_2 (game INTEGER, high_rebounds VARCHAR)
### Question:
What's the maximum game in the javale mcgee (5) high rebounds?
### Answer:
SELECT MAX(game) FROM table_27721131_2 WHERE high_rebounds = "JaVale McGee (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_48 (state VARCHAR, member VARCHAR, term_in_office VARCHAR, party VARCHAR)
### Question:
Which state has a Term in office of 1984–1996, a Party of labor, and a Member of robert tickner?
### Answer:
SELECT state FROM table_name_48 WHERE term_in_office = "1984–1996" AND party = "labor" AND member = "robert tickner" |
Below is an context that describes a sql 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 (bronze INTEGER, silver VARCHAR, total VARCHAR)
### Question:
Which Bronze has a Silver of 2, and a Total smaller than 5?
### Answer:
SELECT AVG(bronze) FROM table_name_15 WHERE silver = 2 AND total < 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_39 (talent__male_ VARCHAR, year VARCHAR)
### Question:
Who is the male talent in 1991?
### Answer:
SELECT talent__male_ FROM table_name_39 WHERE year = 1991 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24807406_1 (name VARCHAR, position VARCHAR, appearances VARCHAR)
### Question:
What is the name if the appearance is 2 and the position is FW?
### Answer:
SELECT name FROM table_24807406_1 WHERE position = "FW" AND appearances = 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_35 (date VARCHAR, tournament VARCHAR, opponent VARCHAR)
### Question:
What date was the Izmir Cup in which İlhan played against Somdev Devvarman?
### Answer:
SELECT date FROM table_name_35 WHERE tournament = "izmir cup" AND opponent = "somdev devvarman" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17827271_1 (flatspin VARCHAR, actor_in_original_production VARCHAR)
### Question:
What FlatSpin actor played the same role as Robert Austin?
### Answer:
SELECT flatspin FROM table_17827271_1 WHERE actor_in_original_production = "Robert Austin" |
Below is an context that describes a sql 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 (points_classification VARCHAR, stage VARCHAR)
### Question:
What is the point classification of stage 15?
### Answer:
SELECT points_classification FROM table_name_92 WHERE stage = "15" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.