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_91 (quantity INTEGER, numbers VARCHAR)
### Question:
What is the quantity of the item with the numbers of 29-36?
### Answer:
SELECT AVG(quantity) FROM table_name_91 WHERE numbers = "29-36" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_31 (total INTEGER, position INTEGER)
### Question:
What's the total that the position is less than 1?
### Answer:
SELECT MIN(total) FROM table_name_31 WHERE position < 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_26 (lost INTEGER, team VARCHAR, draw VARCHAR)
### Question:
what the most lost for Alianza with a draw less than 6?
### Answer:
SELECT MAX(lost) FROM table_name_26 WHERE team = "alianza" AND draw < 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_20 (player VARCHAR, to_par VARCHAR)
### Question:
What Player has a To par of –2?
### Answer:
SELECT player FROM table_name_20 WHERE to_par = "–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_25 (points INTEGER, player VARCHAR, goals VARCHAR)
### Question:
How many points does Shawn Mceachern with less than 79 goals?
### Answer:
SELECT SUM(points) FROM table_name_25 WHERE player = "shawn mceachern" AND goals < 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 (inhabitants INTEGER, party VARCHAR, election VARCHAR)
### Question:
How many Inhabitants were there after 2009 in the Municipality with a Party of union for trentino?
### Answer:
SELECT AVG(inhabitants) FROM table_name_7 WHERE party = "union for trentino" AND election > 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_27250813_1 (title VARCHAR, no_in_season VARCHAR)
### Question:
What is the title of the episode no. 16 by season?
### Answer:
SELECT title FROM table_27250813_1 WHERE no_in_season = 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_87 (points INTEGER, laps INTEGER)
### Question:
What is the average amount of points larger than 154 laps?
### Answer:
SELECT AVG(points) FROM table_name_87 WHERE laps > 154 |
Below is an context that describes a sql 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 (goals_against INTEGER, position VARCHAR, wins VARCHAR, losses VARCHAR)
### Question:
What is the average number of goals against with more than 12 wins, 12 losses, and a position greater than 3?
### Answer:
SELECT AVG(goals_against) FROM table_name_98 WHERE wins > 12 AND losses = 12 AND position > 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_1341973_3 (candidates VARCHAR, district VARCHAR)
### Question:
Which candidates ran in the Alabama 6 district?
### Answer:
SELECT candidates FROM table_1341973_3 WHERE district = "Alabama 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_22904780_1 (original_air_date VARCHAR, written_by VARCHAR)
### Question:
List the 1st air date for the show where the writers are russel friend & garrett lerner.
### Answer:
SELECT original_air_date FROM table_22904780_1 WHERE written_by = "Russel Friend & Garrett Lerner" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_12591022_2 (program VARCHAR, focus VARCHAR)
### Question:
What is the program where the focus is risk management and regulation?
### Answer:
SELECT program FROM table_12591022_2 WHERE focus = "Risk Management and Regulation" |
Below is an context that describes a sql 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 (torque VARCHAR, volume VARCHAR, co_2 VARCHAR)
### Question:
Which Torque has a Volume of 1896 cc, and a CO 2 of 140 g/km?
### Answer:
SELECT torque FROM table_name_21 WHERE volume = "1896 cc" AND co_2 = "140 g/km" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1977630_2 (vos__ VARCHAR, _ VARCHAR, él___ella___usted VARCHAR)
### Question:
What are the forms of the conjucated vos(*) where él / ella / usted is muela
### Answer:
SELECT vos__ * _ FROM table_1977630_2 WHERE él___ella___usted = "muela" |
Below is an context that describes a sql 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 (week_2 VARCHAR, week_4 VARCHAR)
### Question:
What was the week 2 prior to the when Miranda Jordan was the week 4?
### Answer:
SELECT week_2 FROM table_name_99 WHERE week_4 = "miranda jordan" |
Below is an context that describes a sql 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 (birth_place VARCHAR, monarchs_served VARCHAR, entered_office VARCHAR)
### Question:
What is the birth place of the prime minister who served George V and entered office on 23 October 1922?
### Answer:
SELECT birth_place FROM table_name_83 WHERE monarchs_served = "george v" AND entered_office = "23 october 1922" |
Below is an context that describes a sql 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 (location VARCHAR, circuit VARCHAR)
### Question:
What is Location, when Circuit is August 16?
### Answer:
SELECT location FROM table_name_1 WHERE circuit = "august 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_90 (record VARCHAR, high_points VARCHAR)
### Question:
What is Record, when High Points is "Ray Allen (27)"?
### Answer:
SELECT record FROM table_name_90 WHERE high_points = "ray allen (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_15 (points INTEGER, rider VARCHAR)
### Question:
What are the fewest points that Roger Dutton/Tony Wright have received?
### Answer:
SELECT MIN(points) FROM table_name_15 WHERE rider = "roger dutton/tony wright" |
Below is an context that describes a sql 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 (sequence_length__aa_ INTEGER, common_name VARCHAR, divergence_from_human_lineage__mya_ VARCHAR)
### Question:
What is the sequence length (aa) of the protein with the common name Purple Sea Urchin and a divergence from human lineage less than 742.9?
### Answer:
SELECT SUM(sequence_length__aa_) FROM table_name_67 WHERE common_name = "purple sea urchin" AND divergence_from_human_lineage__mya_ < 742.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 airport (Airport_ID VARCHAR, Total_Passengers INTEGER); CREATE TABLE aircraft (Aircraft VARCHAR, Description VARCHAR, Aircraft_ID VARCHAR); CREATE TABLE airport_aircraft (Aircraft_ID VARCHAR, Airport_ID VARCHAR)
### Question:
Please show the names and descriptions of aircrafts associated with airports that have a total number of passengers bigger than 10000000.
### Answer:
SELECT T1.Aircraft, T1.Description FROM aircraft AS T1 JOIN airport_aircraft AS T2 ON T1.Aircraft_ID = T2.Aircraft_ID JOIN airport AS T3 ON T2.Airport_ID = T3.Airport_ID WHERE T3.Total_Passengers > 10000000 |
Below is an context that describes a sql 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 (term_in_office VARCHAR, electorate VARCHAR)
### Question:
Which term in office has an Electorate of hinkler?
### Answer:
SELECT term_in_office FROM table_name_65 WHERE electorate = "hinkler" |
Below is an context that describes a sql 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 (draws INTEGER, losses VARCHAR, against VARCHAR)
### Question:
What is the average number of draws for losses over 8 and Against values under 1344?
### Answer:
SELECT AVG(draws) FROM table_name_9 WHERE losses > 8 AND against < 1344 |
Below is an context that describes a 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_15 (geo_id INTEGER)
### Question:
what is the lowest geo id?
### Answer:
SELECT MIN(geo_id) FROM table_18600760_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_9 (player VARCHAR, college VARCHAR)
### Question:
Which player is from Murray State college?
### Answer:
SELECT player FROM table_name_9 WHERE college = "murray state" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE driver (home_city VARCHAR, age INTEGER)
### Question:
Show home city where at least two drivers older than 40 are from.
### Answer:
SELECT home_city FROM driver WHERE age > 40 GROUP BY home_city HAVING COUNT(*) >= 2 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17001658_10 (record VARCHAR, high_rebounds VARCHAR)
### Question:
What was the final score of the game with gerald wallace (14) as the High Rebound?
### Answer:
SELECT record FROM table_17001658_10 WHERE high_rebounds = "Gerald Wallace (14)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_90 (scale VARCHAR, name VARCHAR)
### Question:
What is URA Index scale?
### Answer:
SELECT scale FROM table_name_90 WHERE name = "ura index" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE party (Lieutenant_Governor VARCHAR, Comptroller VARCHAR, Party VARCHAR)
### Question:
Show the lieutenant governor and comptroller from the democratic party.
### Answer:
SELECT Lieutenant_Governor, Comptroller FROM party WHERE Party = "Democratic" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26794530_1 (f_laps VARCHAR, points VARCHAR)
### Question:
How many f/laps were there when he scored 170 points?
### Answer:
SELECT COUNT(f_laps) FROM table_26794530_1 WHERE points = "170" |
Below is an context that describes a sql 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 (percent_of_slovenes_1951 VARCHAR, percent_of_slovenes_1991 VARCHAR)
### Question:
What was the percentage of Slovenes in 1951 in the village that had 10.1% in 1991?
### Answer:
SELECT percent_of_slovenes_1951 FROM table_name_22 WHERE percent_of_slovenes_1991 = "10.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_8 (location VARCHAR, opponent VARCHAR)
### Question:
Where did they play against Clemson?
### Answer:
SELECT location FROM table_name_8 WHERE opponent = "clemson" |
Below is an context that describes a sql 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 (streak VARCHAR, game VARCHAR)
### Question:
What is the streak for game 2?
### Answer:
SELECT streak FROM table_name_6 WHERE game = "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_34 (total VARCHAR, bronze VARCHAR, gold VARCHAR)
### Question:
how many times is bronze 2 and gold more than 3?
### Answer:
SELECT COUNT(total) FROM table_name_34 WHERE bronze = 2 AND gold > 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_11734041_20 (years_for_rockets VARCHAR, position VARCHAR)
### Question:
what's the years for rockets where position is guard / forward
### Answer:
SELECT years_for_rockets FROM table_11734041_20 WHERE position = "Guard / 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_35 (year INTEGER, entrant VARCHAR)
### Question:
What year did Cooper Car Company enter?
### Answer:
SELECT AVG(year) FROM table_name_35 WHERE entrant = "cooper car company" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16254861_1 (language_s_ VARCHAR, year__ceremony_ VARCHAR)
### Question:
How many languages for the 2001 (74th) awards?
### Answer:
SELECT COUNT(language_s_) FROM table_16254861_1 WHERE year__ceremony_ = "2001 (74th)" |
Below is an context that describes a sql 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 (record VARCHAR, date VARCHAR)
### Question:
Name the record for april 22
### Answer:
SELECT record FROM table_name_52 WHERE date = "april 22" |
Below is an context that describes a sql 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 (date VARCHAR, opposing_teams VARCHAR)
### Question:
What day was Wales the opposing team?
### Answer:
SELECT date FROM table_name_17 WHERE opposing_teams = "wales" |
Below is an context that describes a sql 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 (margin_of_victory VARCHAR, tournament VARCHAR)
### Question:
Which margin of victory has cyber agent ladies as the tournament?
### Answer:
SELECT margin_of_victory FROM table_name_78 WHERE tournament = "cyber agent ladies" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29090919_1 (away_team VARCHAR, home_team VARCHAR)
### Question:
Which team was the away team when the home team was north melbourne?
### Answer:
SELECT away_team FROM table_29090919_1 WHERE home_team = "North 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_93 (date VARCHAR, away_team VARCHAR)
### Question:
What is the date when the away team is essendon?
### Answer:
SELECT date FROM table_name_93 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_16729930_18 (sspec_number VARCHAR, tdp VARCHAR, model_number VARCHAR)
### Question:
For a processor with model number atom e665c and a TDP of 3.6 W, what is the sSpec number?
### Answer:
SELECT sspec_number FROM table_16729930_18 WHERE tdp = "3.6 W" AND model_number = "Atom E665C" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_18207285_2 (record VARCHAR, opponents VARCHAR)
### Question:
What's the record in the game played against 42?
### Answer:
SELECT record FROM table_18207285_2 WHERE opponents = 42 |
Below is an context that describes a sql 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 (year_completed INTEGER, floors VARCHAR)
### Question:
What year was the building completed that has 10 floors?
### Answer:
SELECT AVG(year_completed) FROM table_name_82 WHERE floors = 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_96 (class VARCHAR, city_of_license VARCHAR)
### Question:
What was the class for Appleton, Wisconsin?
### Answer:
SELECT class FROM table_name_96 WHERE city_of_license = "appleton, wisconsin" |
Below is an context that describes a sql 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 (area__km_2__ INTEGER, place VARCHAR, population VARCHAR)
### Question:
What's the most area of Bochum Part 2 with a population less than 15,911?
### Answer:
SELECT MAX(area__km_2__) FROM table_name_72 WHERE place = "bochum part 2" AND population < 15 OFFSET 911 |
Below is an context that describes a sql 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 (release_date VARCHAR, title VARCHAR, production_number VARCHAR, director VARCHAR)
### Question:
What is the release date of the episode named Mouse-Placed Kitten with an episode number less than 1495 directed by Robert McKimson?
### Answer:
SELECT release_date FROM table_name_93 WHERE production_number < 1495 AND director = "robert mckimson" AND title = "mouse-placed kitten" |
Below is an context that describes a sql 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 (elevator VARCHAR, elector VARCHAR)
### Question:
What is listed for the Elevator that has the Elector of Gerardo?
### Answer:
SELECT elevator FROM table_name_10 WHERE elector = "gerardo" |
Below is an context that describes a sql 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 (circuit VARCHAR, race VARCHAR)
### Question:
Name the circuit for italian grand prix
### Answer:
SELECT circuit FROM table_name_97 WHERE race = "italian grand prix" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23606500_4 (_percentage_40_59 VARCHAR, _percentage_60_74 VARCHAR)
### Question:
What is every value for % 40-59 if % 60-74 is 12,40%?
### Answer:
SELECT _percentage_40_59 FROM table_23606500_4 WHERE _percentage_60_74 = "12,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_12 (finishes VARCHAR, stage_wins VARCHAR, starts VARCHAR, points VARCHAR)
### Question:
What is the number of finishes associated with 13 starts, more than 169 points, and 96 stage wins?
### Answer:
SELECT finishes FROM table_name_12 WHERE starts = 13 AND points > 169 AND stage_wins = 96 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17429402_7 (years_of_participation VARCHAR, school VARCHAR)
### Question:
What are the years of participation for central crossing school?
### Answer:
SELECT years_of_participation FROM table_17429402_7 WHERE school = "Central Crossing" |
Below is an context that describes a sql 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 (pos VARCHAR, team VARCHAR)
### Question:
What was the position of the Racing Organisation Course team?
### Answer:
SELECT pos FROM table_name_79 WHERE team = "racing organisation course" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_77 (tournament VARCHAR)
### Question:
What is the tournament with A in 2011?
### Answer:
SELECT tournament FROM table_name_77 WHERE 2011 = "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_12 (internet VARCHAR, position INTEGER)
### Question:
What is the internet when the position is more than 13?
### Answer:
SELECT internet FROM table_name_12 WHERE position > 13 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_34 (overall INTEGER, pick INTEGER)
### Question:
Which average overall has a Pick smaller than 5?
### Answer:
SELECT AVG(overall) FROM table_name_34 WHERE pick < 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_24 (attendance VARCHAR, home VARCHAR)
### Question:
What was the attendance when the Hawks played?
### Answer:
SELECT COUNT(attendance) FROM table_name_24 WHERE home = "hawks" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2231241_1 (seat_no_6 VARCHAR, seat_no_1 VARCHAR, seat_no_5 VARCHAR)
### Question:
Who was seat no 6 when seat no 1 and seat no 5 were jacques lachapelle and donald s. dutton
### Answer:
SELECT seat_no_6 FROM table_2231241_1 WHERE seat_no_1 = "Jacques Lachapelle" AND seat_no_5 = "Donald S. Dutton" |
Below is an context that describes a sql 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 (game INTEGER, attendance VARCHAR)
### Question:
What is the first game number that had attendance of 56,505?
### Answer:
SELECT MIN(game) FROM table_name_98 WHERE attendance = 56 OFFSET 505 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_19897294_8 (family_families VARCHAR, no_overall VARCHAR)
### Question:
Name the number of families for uk30
### Answer:
SELECT COUNT(family_families) FROM table_19897294_8 WHERE no_overall = "UK30" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28680377_2 (original_air_date VARCHAR, us_viewers__million_ VARCHAR)
### Question:
What is the original air date of the episode that was watched by 0.88 million U.S. viewers?
### Answer:
SELECT original_air_date FROM table_28680377_2 WHERE us_viewers__million_ = "0.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_82 (silver INTEGER, total VARCHAR, bronze VARCHAR)
### Question:
What is the highest silver that has 57 as the total, with a bronze greater than 20?
### Answer:
SELECT MAX(silver) FROM table_name_82 WHERE total = 57 AND bronze > 20 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_98 (population INTEGER, per_capita_income VARCHAR, number_of_households VARCHAR)
### Question:
What is the population when the Per capita income of $18,884, and a Number of households smaller than 14,485?
### Answer:
SELECT SUM(population) FROM table_name_98 WHERE per_capita_income = "$18,884" AND number_of_households < 14 OFFSET 485 |
Below is an context that describes a sql 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 (city_state VARCHAR, status VARCHAR)
### Question:
Which city/state was associated with a contestant whose status was 2nd runner-up?
### Answer:
SELECT city_state FROM table_name_52 WHERE status = "2nd runner-up" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_77 (opponent VARCHAR, attendance VARCHAR)
### Question:
Who was the opponent for the game that had 90,287 in attendance?
### Answer:
SELECT opponent FROM table_name_77 WHERE attendance = "90,287" |
Below is an context that describes a 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_5 (high_points VARCHAR, team VARCHAR)
### Question:
How many leading scorers were there in the game against Utah?
### Answer:
SELECT COUNT(high_points) FROM table_13557843_5 WHERE team = "Utah" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE city (Name VARCHAR, CountryCode VARCHAR); CREATE TABLE country (Name VARCHAR, Code VARCHAR); CREATE TABLE countrylanguage (CountryCode VARCHAR, IsOfficial VARCHAR, Language VARCHAR); CREATE TABLE country (Code VARCHAR, Continent VARCHAR, Name VARCHAR)
### Question:
Which cities are in European countries where English is not the official language?
### Answer:
SELECT DISTINCT T2.Name FROM country AS T1 JOIN city AS T2 ON T2.CountryCode = T1.Code WHERE T1.Continent = 'Europe' AND NOT T1.Name IN (SELECT T3.Name FROM country AS T3 JOIN countrylanguage AS T4 ON T3.Code = T4.CountryCode WHERE T4.IsOfficial = 'T' AND T4.Language = 'English') |
Below is an context that describes a 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_b_winner VARCHAR, group_c_winner VARCHAR)
### Question:
What is the number of group b winner for francavilla?
### Answer:
SELECT COUNT(group_b_winner) FROM table_1137142_1 WHERE group_c_winner = "Francavilla" |
Below is an context that describes a sql 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 (operating_income_ INTEGER, _percentage_change_on_year VARCHAR, value__$m_ VARCHAR)
### Question:
What is the highest operating income that change by 2% and is less than $1,036m?
### Answer:
SELECT MAX(operating_income_) AS $m_ FROM table_name_23 WHERE _percentage_change_on_year = "2" AND value__$m_ < 1 OFFSET 036 |
Below is an context that describes a sql 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 (losses VARCHAR, name VARCHAR)
### Question:
How many Losses have a Name of blair kiel?
### Answer:
SELECT COUNT(losses) FROM table_name_45 WHERE name = "blair kiel" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24399615_3 (viewers VARCHAR, airdate VARCHAR)
### Question:
How many entries are shown for viewers when the airdate was 26 november 2009?
### Answer:
SELECT COUNT(viewers) FROM table_24399615_3 WHERE airdate = "26 November 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_44 (bronze VARCHAR, nation VARCHAR)
### Question:
What is the total number of bronzes from the Netherlands?
### Answer:
SELECT COUNT(bronze) FROM table_name_44 WHERE nation = "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_31 (capacity__mw_ INTEGER, turbines VARCHAR, size__mw_ VARCHAR, wind_farm VARCHAR)
### Question:
What is the sum of the capacities for Carrigh wind warm that has a size of 0.85 MW and more than 3 turbines?
### Answer:
SELECT SUM(capacity__mw_) FROM table_name_31 WHERE size__mw_ = "0.85" AND wind_farm = "carrigh" AND turbines > 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_36 (game_1 VARCHAR, date VARCHAR)
### Question:
What is the 3rd Liga from Game 1 of 0-1 between the years 2008-09?
### Answer:
SELECT 3 AS rd_liga_3rd FROM table_name_36 WHERE game_1 = "0-1" AND date = "2008-09" |
Below is an context that describes a sql 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 (crowd INTEGER, venue VARCHAR)
### Question:
How many people attended the game at Lake Oval?
### Answer:
SELECT SUM(crowd) FROM table_name_42 WHERE venue = "lake 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 airports (name VARCHAR, city VARCHAR, country VARCHAR, elevation VARCHAR)
### Question:
Find the name, city, and country of the airport that has the lowest altitude.
### Answer:
SELECT name, city, country FROM airports ORDER BY elevation 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_70 (pick INTEGER, school_club_team VARCHAR, round VARCHAR)
### Question:
What is the pick for the Maryland-Eastern Shore team with a round lower than 2?
### Answer:
SELECT SUM(pick) FROM table_name_70 WHERE school_club_team = "maryland-eastern shore" AND round < 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_68 (opponent_in_the_final VARCHAR, date VARCHAR)
### Question:
What is the Opponent in the final of the game on february 2, 2004?
### Answer:
SELECT opponent_in_the_final FROM table_name_68 WHERE date = "february 2, 2004" |
Below is an context that describes a sql 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 (team VARCHAR, stadium VARCHAR)
### Question:
What is the team at Stadion Maksimir?
### Answer:
SELECT team FROM table_name_48 WHERE stadium = "stadion maksimir" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_63 (crowd INTEGER, venue VARCHAR)
### Question:
What was the attendance at Kardinia Park?
### Answer:
SELECT AVG(crowd) FROM table_name_63 WHERE venue = "kardinia 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_12 (best_actress VARCHAR, year VARCHAR)
### Question:
Which Best Actress has a Year of 2012 6th?
### Answer:
SELECT best_actress FROM table_name_12 WHERE year = "2012 6th" |
Below is an context that describes a sql 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 (date VARCHAR, road_team VARCHAR, game VARCHAR)
### Question:
Which Date has a Road team of portland, and a Game of game 5?
### Answer:
SELECT date FROM table_name_16 WHERE road_team = "portland" AND game = "game 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 school (Location VARCHAR, School_ID VARCHAR); CREATE TABLE player (Team VARCHAR, School_ID VARCHAR)
### Question:
For each player, show the team and the location of school they belong to.
### Answer:
SELECT T1.Team, T2.Location FROM player AS T1 JOIN school AS T2 ON T1.School_ID = T2.School_ID |
Below is an context that describes a sql 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 (pct__percentage INTEGER, goals_against INTEGER)
### Question:
What is the highest Pct %, when Goals Against is less than 229?
### Answer:
SELECT MAX(pct__percentage) FROM table_name_60 WHERE goals_against < 229 |
Below is an context that describes a sql 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 (heat INTEGER, lane VARCHAR, mark VARCHAR, name VARCHAR)
### Question:
What is the highest heat for Ihor Bodrov when the mark is 6.76 and the lane is less than 1?
### Answer:
SELECT MAX(heat) FROM table_name_8 WHERE mark = "6.76" AND name = "ihor bodrov" AND lane < 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_78 (owner VARCHAR, branding VARCHAR)
### Question:
Who is the owner of the branding gx94?
### Answer:
SELECT owner FROM table_name_78 WHERE branding = "gx94" |
Below is an context that describes a sql 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 (constructor VARCHAR, laps VARCHAR, time_retired VARCHAR)
### Question:
Who constructed the car with laps more than 70 and a time/retired of +12.535?
### Answer:
SELECT constructor FROM table_name_5 WHERE laps > 70 AND time_retired = "+12.535" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1015521_2 (rank_in_spanish VARCHAR, rank_in_english VARCHAR)
### Question:
If you get a ranking as major in the english military then what would the spanish military address you as?
### Answer:
SELECT rank_in_spanish FROM table_1015521_2 WHERE rank_in_english = "Major" |
Below is an context that describes a sql 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 (year_of_most_recent_appearance VARCHAR, corps_name VARCHAR, number_of_finals_appearances VARCHAR)
### Question:
What is the year of most recent appearance of the Suncoast sound, who had more than 7 finals appearances?
### Answer:
SELECT COUNT(year_of_most_recent_appearance) FROM table_name_95 WHERE corps_name = "suncoast sound" AND number_of_finals_appearances > 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_55 (chassis VARCHAR, points VARCHAR, engine VARCHAR, entrant VARCHAR)
### Question:
What is the chassis of Officine Alfieri Maserati with a Maserati Straight-6 engine and fewer than 6 points?
### Answer:
SELECT chassis FROM table_name_55 WHERE engine = "maserati straight-6" AND entrant = "officine alfieri maserati" AND points < 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_86 (pole_position VARCHAR, grand_prix VARCHAR)
### Question:
Who had the pole at the French Grand Prix?
### Answer:
SELECT pole_position FROM table_name_86 WHERE grand_prix = "french grand prix" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23286158_10 (date VARCHAR, high_rebounds VARCHAR)
### Question:
When marcus camby (15) has the highest amount of rebounds what is the date?
### Answer:
SELECT date FROM table_23286158_10 WHERE high_rebounds = "Marcus Camby (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_14 (driver VARCHAR, chassis___engine VARCHAR)
### Question:
Who is the driver of the chassis-engine porsche 956 gti?
### Answer:
SELECT driver FROM table_name_14 WHERE chassis___engine = "porsche 956 gti" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26681728_1 (rank_final INTEGER, score_final VARCHAR)
### Question:
What was the maximum rank-final value for a score of 14.975?
### Answer:
SELECT MAX(rank_final) FROM table_26681728_1 WHERE score_final = "14.975" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_3005450_1 (station VARCHAR, metlink_code VARCHAR)
### Question:
what is the name of the station where the metlink code is mata?
### Answer:
SELECT station FROM table_3005450_1 WHERE metlink_code = "MATA" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27155678_2 (accession_number VARCHAR, sequence_similarity VARCHAR)
### Question:
Name the accession number for sequence similarity being 54
### Answer:
SELECT accession_number FROM table_27155678_2 WHERE sequence_similarity = 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_94 (place VARCHAR, player VARCHAR)
### Question:
Where has Jimmy Demaret as a player?
### Answer:
SELECT place FROM table_name_94 WHERE player = "jimmy demaret" |
Below is an context that describes a sql 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 (place VARCHAR, country VARCHAR, score VARCHAR)
### Question:
What place is the United States in that has a score of 68-73-68=209?
### Answer:
SELECT place FROM table_name_8 WHERE country = "united states" AND score = 68 - 73 - 68 = 209 |
Below is an context that describes a sql 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 (interview INTEGER, average VARCHAR, evening_gown VARCHAR, state VARCHAR)
### Question:
What is the lowest evening score of the contestant with an evening gown less than 8.938, from Texas, and with an average less than 8.846 has?
### Answer:
SELECT MIN(interview) FROM table_name_3 WHERE evening_gown < 8.938 AND state = "texas" AND average < 8.846 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.