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_21 (investing_dragon_s_ VARCHAR, company_or_product_name VARCHAR)
### Question:
Who is the company Investing Dragons, or tiny box?
### Answer:
SELECT investing_dragon_s_ FROM table_name_21 WHERE company_or_product_name = "tiny box" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_38 (attendance INTEGER, h___a VARCHAR, date VARCHAR)
### Question:
What is the average attendance for the date of 7 November 2007 with an H/A of H?
### Answer:
SELECT AVG(attendance) FROM table_name_38 WHERE h___a = "h" AND date = "7 november 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_56 (ihsaa_class VARCHAR, location VARCHAR)
### Question:
What is the IHSAA class in monon?
### Answer:
SELECT ihsaa_class FROM table_name_56 WHERE location = "monon" |
Below is an context that describes a sql 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 (award VARCHAR, category VARCHAR)
### Question:
What was the award for the excellence in tamil category?
### Answer:
SELECT award FROM table_name_96 WHERE category = "excellence in tamil" |
Below is an context that describes a sql 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 (car__number VARCHAR, make VARCHAR, driver VARCHAR)
### Question:
What is Mike Skinner's Chevrolet's Car #?
### Answer:
SELECT COUNT(car__number) FROM table_name_74 WHERE make = "chevrolet" AND driver = "mike skinner" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2144389_9 (japanese_translation VARCHAR, japanese_title VARCHAR)
### Question:
When 七色アーチ is the japanese title what is the japanese translation?
### Answer:
SELECT japanese_translation FROM table_2144389_9 WHERE japanese_title = "七色アーチ" |
Below is an context that describes a sql 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 (total INTEGER, gold VARCHAR, rank VARCHAR, bronze VARCHAR)
### Question:
Which is the highest total at rank 6, bronze 2, and gold larger than 0?
### Answer:
SELECT MAX(total) FROM table_name_74 WHERE rank = 6 AND bronze = 2 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_3 (school_club_team VARCHAR, player VARCHAR)
### Question:
Who did mark eaton play for?
### Answer:
SELECT school_club_team FROM table_name_3 WHERE player = "mark eaton" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE dorm (dorm_name VARCHAR, student_capacity INTEGER)
### Question:
Find the name of dorms that can accommodate more than 300 students.
### Answer:
SELECT dorm_name FROM dorm WHERE student_capacity > 300 |
Below is an context that describes a sql 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 (player VARCHAR, to_club VARCHAR)
### Question:
What player was moved to Blackpool?
### Answer:
SELECT player FROM table_name_41 WHERE to_club = "blackpool" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22669375_1 (location VARCHAR, race_name VARCHAR)
### Question:
Name the location for trenton 300
### Answer:
SELECT location FROM table_22669375_1 WHERE race_name = "Trenton 300" |
Below is an context that describes a sql 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 (date VARCHAR, format VARCHAR)
### Question:
What was the date for a catalog formatted in stereo LP?
### Answer:
SELECT date FROM table_name_33 WHERE format = "stereo lp" |
Below is an context that describes a sql 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 (goals_for VARCHAR, wins VARCHAR, goal_difference VARCHAR)
### Question:
What is the number of goals with less than 14 wins and a goal difference less than -4?
### Answer:
SELECT goals_for FROM table_name_97 WHERE wins < 14 AND goal_difference < -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_232458_1 (pop_density__per_km²_ VARCHAR, no_of_barangays VARCHAR)
### Question:
If the number of barangays is 19, what is the population density?
### Answer:
SELECT pop_density__per_km²_ FROM table_232458_1 WHERE no_of_barangays = 19 |
Below is an context that describes a sql 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 (home_team VARCHAR, venue VARCHAR)
### Question:
When the Venue was Punt Road Oval, who was the Home Team?
### Answer:
SELECT home_team FROM table_name_47 WHERE venue = "punt road 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_79 (date VARCHAR, venue VARCHAR)
### Question:
When is the event at lake oval?
### Answer:
SELECT date FROM table_name_79 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 table_name_81 (home_team VARCHAR, tie_no VARCHAR, away_team VARCHAR)
### Question:
Who was the home team that had a replay of Tie Number and played against the Bolton Wanderers?
### Answer:
SELECT home_team FROM table_name_81 WHERE tie_no = "replay" AND away_team = "bolton wanderers" |
Below is an context that describes a sql 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 (result VARCHAR, attendance INTEGER)
### Question:
What was the result for the 71,164 in attendance?
### Answer:
SELECT result FROM table_name_9 WHERE attendance > 71 OFFSET 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_17 (score VARCHAR, round VARCHAR, club VARCHAR)
### Question:
What is the final score of the 1st round game of club Union Luxembourg?
### Answer:
SELECT score FROM table_name_17 WHERE round = "1st round" AND club = "union luxembourg" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28715942_6 (original_artist VARCHAR, track VARCHAR)
### Question:
Who is the original artist of "Use Somebody"?
### Answer:
SELECT original_artist FROM table_28715942_6 WHERE track = "Use Somebody" |
Below is an context that describes a sql 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 (example_code__huc_ INTEGER, level VARCHAR, example_name VARCHAR, digits VARCHAR)
### Question:
What is the mean huc example code when the example name's lower snake, there are 6 digits, and less than 3 levels?
### Answer:
SELECT AVG(example_code__huc_) FROM table_name_35 WHERE example_name = "lower snake" AND digits = 6 AND level < 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_89 (father VARCHAR, spouse VARCHAR, birth VARCHAR)
### Question:
What is the name of the father who was born in 1204 and married ottokar ii?
### Answer:
SELECT father FROM table_name_89 WHERE spouse = "ottokar ii" AND birth = "1204" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1212189_1 (torque__nm__rpm VARCHAR, model_engine VARCHAR)
### Question:
What is the torque formula for the 1.6 Duratec ti-vct model/engine?
### Answer:
SELECT torque__nm__rpm FROM table_1212189_1 WHERE model_engine = "1.6 Duratec Ti-VCT" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26866519_1 (season__number VARCHAR, director VARCHAR)
### Question:
How many episodes are directed by ricardo mendez matta?
### Answer:
SELECT COUNT(season__number) FROM table_26866519_1 WHERE director = "Ricardo Mendez Matta" |
Below is an context that describes a sql 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 (team VARCHAR, score VARCHAR)
### Question:
What team has a Score of l 88–94 (ot)?
### Answer:
SELECT team FROM table_name_98 WHERE score = "l 88–94 (ot)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1057316_1 (wheel_arrangement___whyte_notation__ VARCHAR, disposition VARCHAR)
### Question:
What is the wheel arrangement for the train in Riverdale, Georgia?
### Answer:
SELECT wheel_arrangement___whyte_notation__ FROM table_1057316_1 WHERE disposition = "Riverdale, Georgia" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1672976_7 (location VARCHAR, big_ten_team VARCHAR)
### Question:
Name the location for illinois
### Answer:
SELECT location FROM table_1672976_7 WHERE big_ten_team = "Illinois" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_97 (score VARCHAR, save VARCHAR)
### Question:
What is the score of the match with a save postponed rescheduled for June 24?
### Answer:
SELECT score FROM table_name_97 WHERE save = "postponed rescheduled for june 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_10402018_1 (london VARCHAR, character VARCHAR)
### Question:
How many people play Frank in London?
### Answer:
SELECT COUNT(london) FROM table_10402018_1 WHERE character = "Frank" |
Below is an context that describes a sql 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 (score VARCHAR, date VARCHAR)
### Question:
What was the Score on March 15?
### Answer:
SELECT score FROM table_name_8 WHERE date = "march 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_33 (tries INTEGER, goals INTEGER)
### Question:
How many tries have goals greater than 0?
### Answer:
SELECT SUM(tries) FROM table_name_33 WHERE goals > 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_23308178_6 (date VARCHAR, location VARCHAR)
### Question:
How many dates were played at the wachovia center?
### Answer:
SELECT COUNT(date) FROM table_23308178_6 WHERE location = "Wachovia Center" |
Below is an context that describes a sql 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 (name VARCHAR, town_city VARCHAR)
### Question:
What is the museum name located in Rudyard?
### Answer:
SELECT name FROM table_name_52 WHERE town_city = "rudyard" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_56 (opponent VARCHAR, october INTEGER)
### Question:
What is the Opponent of the game after October 28?
### Answer:
SELECT opponent FROM table_name_56 WHERE october > 28 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE entrepreneur (Company VARCHAR, People_ID VARCHAR); CREATE TABLE people (People_ID VARCHAR, Height VARCHAR)
### Question:
Show the company of the tallest entrepreneur.
### Answer:
SELECT T1.Company FROM entrepreneur AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID ORDER BY T2.Height 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 competition (country VARCHAR, competition_type VARCHAR)
### Question:
which countries did participated in both Friendly and Tournament type competitions.
### Answer:
SELECT country FROM competition WHERE competition_type = 'Friendly' INTERSECT SELECT country FROM competition WHERE competition_type = 'Tournament' |
Below is an context that describes a 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_50 (type VARCHAR, settlement VARCHAR)
### Question:
How many types of settlement if Neradin?
### Answer:
SELECT COUNT(type) FROM table_2562572_50 WHERE settlement = "Neradin" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_69 (record VARCHAR, leading_scorer VARCHAR)
### Question:
What's the record of the game where Lebron James (16) was the leading scorer?
### Answer:
SELECT record FROM table_name_69 WHERE leading_scorer = "lebron james (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_69 (horse VARCHAR, result VARCHAR)
### Question:
What horse has a 66.452 result?
### Answer:
SELECT horse FROM table_name_69 WHERE result = "66.452" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_13237088_28 (no_yds VARCHAR, ast VARCHAR)
### Question:
List all number of yards with an AST of 8.
### Answer:
SELECT no_yds FROM table_13237088_28 WHERE ast = 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_1013129_1 (pick INTEGER, player VARCHAR)
### Question:
What is the smallest pick for the player, brett lindros?
### Answer:
SELECT MIN(pick) FROM table_1013129_1 WHERE player = "Brett Lindros" |
Below is an context that describes a sql 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 (driver VARCHAR, laps VARCHAR, grid VARCHAR)
### Question:
What driver has grid 2 and over 72 laps?
### Answer:
SELECT driver FROM table_name_35 WHERE laps > 72 AND grid = 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_10 (event VARCHAR, score_points VARCHAR)
### Question:
What is the event where there are 10 score points?
### Answer:
SELECT event FROM table_name_10 WHERE score_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_19 (current_champion_s_ VARCHAR, location VARCHAR, previous_champion_s_ VARCHAR)
### Question:
Who is the current champion for the event in Beverly, MA, with previous champions of Mike Webb and Nick Fahrenheit?
### Answer:
SELECT current_champion_s_ FROM table_name_19 WHERE location = "beverly, ma" AND previous_champion_s_ = "mike webb and nick fahrenheit" |
Below is an context that describes a sql 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 (record VARCHAR, visitor VARCHAR)
### Question:
What was the cougars record during the game where Boston were the visitors?
### Answer:
SELECT record FROM table_name_88 WHERE visitor = "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_4 (year INTEGER, chassis VARCHAR, points VARCHAR)
### Question:
When is the latest year that an entrant has toro rosso str1 chassis and under 1 point?
### Answer:
SELECT MAX(year) FROM table_name_4 WHERE chassis = "toro rosso str1" AND points < 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_59 (date VARCHAR, surface VARCHAR, opponent VARCHAR)
### Question:
What was the date of the match against Jean-Julien Rojer, on a clay surface?
### Answer:
SELECT date FROM table_name_59 WHERE surface = "clay" AND opponent = "jean-julien rojer" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17521433_1 (swimsuit VARCHAR, country VARCHAR)
### Question:
What was the swimsuit score for Illinois?
### Answer:
SELECT swimsuit FROM table_17521433_1 WHERE country = "Illinois" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_94 (sundsvall VARCHAR, falun VARCHAR)
### Question:
What did Sundsvall score when Falun scored 2?
### Answer:
SELECT sundsvall FROM table_name_94 WHERE falun = "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_31 (school VARCHAR, position VARCHAR)
### Question:
What is the school of the player who plays ends?
### Answer:
SELECT school FROM table_name_31 WHERE position = "ends" |
Below is an context that describes a sql 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 (away_team VARCHAR, home_team VARCHAR)
### Question:
What was the away team that played against Melbourne?
### Answer:
SELECT away_team FROM table_name_96 WHERE home_team = "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_35 (high_assists VARCHAR, high_points VARCHAR)
### Question:
What is the High assists when jalen rose (22) had the high points?
### Answer:
SELECT high_assists FROM table_name_35 WHERE high_points = "jalen rose (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_261941_1 (founded INTEGER)
### Question:
When was the earliest founded university?
### Answer:
SELECT MIN(founded) FROM table_261941_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_2333416_2 (wins INTEGER)
### Question:
What is the greatest number of wins Ken Bouchard had in a season?
### Answer:
SELECT MIN(wins) FROM table_2333416_2 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_39 (laps VARCHAR, grid VARCHAR, time VARCHAR, team VARCHAR)
### Question:
What is the total number of Laps when collision shows for time for Switzerland and less than 11 for grid?
### Answer:
SELECT COUNT(laps) FROM table_name_39 WHERE time = "collision" AND team = "switzerland" AND grid < 11 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_49 (score VARCHAR, record VARCHAR)
### Question:
What was the score of the game when the record was 39–21–4?
### Answer:
SELECT score FROM table_name_49 WHERE record = "39–21–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_39 (rank INTEGER, gold VARCHAR, silver VARCHAR)
### Question:
What is the highest rank for a nation with 26 golds and over 17 silvers?
### Answer:
SELECT MAX(rank) FROM table_name_39 WHERE gold = 26 AND silver > 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_21 (season VARCHAR, score VARCHAR, winners VARCHAR)
### Question:
In which season did the Rangers win with a score of 2–1?
### Answer:
SELECT season FROM table_name_21 WHERE score = "2–1" AND winners = "rangers" |
Below is an context that describes a sql 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 (name VARCHAR, qual_1 VARCHAR)
### Question:
What is the name of the racer that had a first qualification time of 1:22.085?
### Answer:
SELECT name FROM table_name_5 WHERE qual_1 = "1:22.085" |
Below is an context that describes a sql 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 (city VARCHAR, icao VARCHAR)
### Question:
Which city has an ICAO of Oejn?
### Answer:
SELECT city FROM table_name_61 WHERE icao = "oejn" |
Below is an context that describes a sql 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 (opponent VARCHAR, series VARCHAR)
### Question:
Who was the opponent with a series of 3-2?
### Answer:
SELECT opponent FROM table_name_54 WHERE series = "3-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_12 (decision VARCHAR, home VARCHAR)
### Question:
What was the decision in Minnesota?
### Answer:
SELECT decision FROM table_name_12 WHERE home = "minnesota" |
Below is an context that describes a sql 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 (total VARCHAR, nation VARCHAR, silver VARCHAR)
### Question:
How many totals does Chile have when the number of silvers is more than 0?
### Answer:
SELECT COUNT(total) FROM table_name_73 WHERE nation = "chile" AND silver > 0 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_48 (record VARCHAR, date VARCHAR)
### Question:
What's the record for january 10?
### Answer:
SELECT record FROM table_name_48 WHERE date = "january 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_92 (team VARCHAR, laps VARCHAR)
### Question:
Name the team with Laps of 333
### Answer:
SELECT team FROM table_name_92 WHERE laps = 333 |
Below is an context that describes a sql 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 (games INTEGER, assist INTEGER)
### Question:
How many games had an assist number greater than 54?
### Answer:
SELECT SUM(games) FROM table_name_54 WHERE assist > 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_93 (date VARCHAR, score VARCHAR, venue VARCHAR)
### Question:
On what Date in Stade Leopold Senghor, Dakar was the Score 4–0?
### Answer:
SELECT date FROM table_name_93 WHERE score = "4–0" AND venue = "stade leopold senghor, dakar" |
Below is an context that describes a sql 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 (country VARCHAR, timeslot VARCHAR, series_finale VARCHAR, weekly_schedule VARCHAR)
### Question:
What country was the series finale present and was shown Monday to Sunday at 18:45-21:00?
### Answer:
SELECT country FROM table_name_70 WHERE series_finale = "present" AND weekly_schedule = "monday to sunday" AND timeslot = "18:45-21:00" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23186738_9 (game INTEGER, score VARCHAR)
### Question:
Name the least game for score of l 93–109 (ot)
### Answer:
SELECT MIN(game) FROM table_23186738_9 WHERE score = "L 93–109 (OT)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE submission (Author VARCHAR, College VARCHAR)
### Question:
Show the names of authors from college "Florida" or "Temple"
### Answer:
SELECT Author FROM submission WHERE College = "Florida" OR College = "Temple" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_10335_1 (camp VARCHAR, estimated_deaths VARCHAR)
### Question:
what's the camp with estimated deaths of 600,000
### Answer:
SELECT camp FROM table_10335_1 WHERE estimated_deaths = "600,000" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2076557_2 (enrollment__spring_2012_ VARCHAR, school VARCHAR)
### Question:
Name the number of spring enrollment for sioux falls seminary
### Answer:
SELECT COUNT(enrollment__spring_2012_) FROM table_2076557_2 WHERE school = "Sioux Falls Seminary" |
Below is an context that describes a sql 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 (team VARCHAR, year VARCHAR, chassis VARCHAR)
### Question:
What team has jordan 193 chassis after 1990?
### Answer:
SELECT team FROM table_name_61 WHERE year > 1990 AND chassis = "jordan 193" |
Below is an context that describes a sql 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 (year INTEGER, opponent VARCHAR)
### Question:
what year was the opponent caroline garcia?
### Answer:
SELECT SUM(year) FROM table_name_22 WHERE opponent = "caroline garcia" |
Below is an context that describes a sql 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 (australian VARCHAR, examples VARCHAR)
### Question:
What is 17th c., when Australian is "i, ɪ, ə", and when Examples is "œsophagus"?
### Answer:
SELECT 17 AS th_c FROM table_name_25 WHERE australian = "i, ɪ, ə" AND examples = "œsophagus" |
Below is an context that describes a sql 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 (rank VARCHAR, nation VARCHAR, gold VARCHAR)
### Question:
What is the total rank with a Nation of gotland, and a Gold larger than 23?
### Answer:
SELECT COUNT(rank) FROM table_name_34 WHERE nation = "gotland" AND gold > 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_88 (bronze VARCHAR, gold VARCHAR, total VARCHAR)
### Question:
How much Bronze has a Gold larger than 0, and a Total smaller than 1?
### Answer:
SELECT COUNT(bronze) FROM table_name_88 WHERE gold > 0 AND total < 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_87 (constituency_number VARCHAR, name VARCHAR)
### Question:
Amritpur has what constituency number?
### Answer:
SELECT constituency_number FROM table_name_87 WHERE name = "amritpur" |
Below is an context that describes a sql 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 (solvent VARCHAR, boiling_point VARCHAR)
### Question:
What solvent has a boiling point of 100–103 °c?
### Answer:
SELECT solvent FROM table_name_55 WHERE boiling_point = "100–103 °c" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1507852_5 (bubbles VARCHAR, category VARCHAR)
### Question:
how many bubbles with category being input
### Answer:
SELECT COUNT(bubbles) FROM table_1507852_5 WHERE category = "Input" |
Below is an context that describes a sql 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 (played VARCHAR, losing_bonus VARCHAR)
### Question:
What played has 3 as the losing bonus?
### Answer:
SELECT played FROM table_name_91 WHERE losing_bonus = "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_69 (attendance INTEGER, opponent VARCHAR, date VARCHAR)
### Question:
What attendance has astros as the opponent, and april 29 as the date?
### Answer:
SELECT SUM(attendance) FROM table_name_69 WHERE opponent = "astros" AND date = "april 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_34 (unfavorable INTEGER, no_opinion VARCHAR, favorable VARCHAR, date VARCHAR)
### Question:
What is the most unfavorable that is favorable of 34 during 1953 August and has a no opinion score larger than 24?
### Answer:
SELECT MAX(unfavorable) FROM table_name_34 WHERE favorable = 34 AND date = "1953 august" AND no_opinion > 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_74 (det_pre_amp VARCHAR, _number_tubes VARCHAR)
### Question:
Name the det/pre-amp with # of tubes of 8
### Answer:
SELECT det_pre_amp FROM table_name_74 WHERE _number_tubes = "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_81 (release_type VARCHAR, album VARCHAR)
### Question:
What type of release was Napisten Hava?
### Answer:
SELECT release_type FROM table_name_81 WHERE album = "napisten hava" |
Below is an context that describes a sql 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 (city_of_license VARCHAR, call_sign VARCHAR)
### Question:
Which City of license has a Call sign of w220ba?
### Answer:
SELECT city_of_license FROM table_name_64 WHERE call_sign = "w220ba" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_18424435_5 (us_air_date VARCHAR, directed_by VARCHAR)
### Question:
How many air dates where directed by jim donovan?
### Answer:
SELECT COUNT(us_air_date) FROM table_18424435_5 WHERE directed_by = "Jim Donovan" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23292220_8 (first_broadcast VARCHAR, jasons_team VARCHAR)
### Question:
What is the broadcast date where Jason's team is Rhod Gilbert and Shappi Khorsandi?
### Answer:
SELECT first_broadcast FROM table_23292220_8 WHERE jasons_team = "Rhod Gilbert and Shappi Khorsandi" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_10023387_1 (singles_w_l VARCHAR, player VARCHAR)
### Question:
what's the singles w-l for kim doo-hwan
### Answer:
SELECT singles_w_l FROM table_10023387_1 WHERE player = "Kim Doo-Hwan" |
Below is an context that describes a sql 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 (inaug VARCHAR, no_units VARCHAR, type VARCHAR, name VARCHAR)
### Question:
What is the number of Inaug., when the Type is Public, when the Name is Mei Lam Estate, and when the No Units is larger than 4,156?
### Answer:
SELECT COUNT(inaug) FROM table_name_96 WHERE type = "public" AND name = "mei lam estate" AND no_units > 4 OFFSET 156 |
Below is an context that describes a sql 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 (opponent_in_final VARCHAR, date VARCHAR)
### Question:
What is Opponent in Final, when Date is "13 January 1992"?
### Answer:
SELECT opponent_in_final FROM table_name_12 WHERE date = "13 january 1992" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25703_2 (birth_2012 VARCHAR, january_december_2012 VARCHAR)
### Question:
What is the total number of birth/2012 for January–December 2012 in Kurgan Oblast?
### Answer:
SELECT COUNT(birth_2012) FROM table_25703_2 WHERE january_december_2012 = "Kurgan Oblast" |
Below is an context that describes a sql 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 (place VARCHAR, player VARCHAR, score VARCHAR)
### Question:
What place did Bob May get when his score was 72-66=138?
### Answer:
SELECT place FROM table_name_84 WHERE score = 72 - 66 = 138 AND player = "bob may" |
Below is an context that describes a sql 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 (result VARCHAR, year VARCHAR, tournament VARCHAR)
### Question:
for the tournament of world amateur championship what was the result in 2010?
### Answer:
SELECT result FROM table_name_81 WHERE year = 2010 AND tournament = "world amateur championship" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_80 (draws INTEGER, byes INTEGER)
### Question:
What is the smallest draws for Byes less than 4?
### Answer:
SELECT MIN(draws) FROM table_name_80 WHERE byes < 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_83 (draws INTEGER, losses VARCHAR, wins VARCHAR, wimmera_fl VARCHAR)
### Question:
How many Draws have Wins larger than 7, and a Wimmera FL of nhill, and Losses larger than 8?
### Answer:
SELECT SUM(draws) FROM table_name_83 WHERE wins > 7 AND wimmera_fl = "nhill" AND losses > 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_81 (common_english VARCHAR, abbr VARCHAR)
### Question:
What is the common english word with the abbr of ai?
### Answer:
SELECT common_english FROM table_name_81 WHERE abbr = "ai" |
Below is an context that describes a sql 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 (total VARCHAR, sports VARCHAR, silver VARCHAR, gold VARCHAR, bronze VARCHAR)
### Question:
What is the Total medals the Year Yugoslavia had 1 Sport and won 0 Gold, Bronze or Silver?
### Answer:
SELECT total FROM table_name_94 WHERE gold = "0" AND bronze = "0" AND silver = "0" AND sports = "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_77 (year VARCHAR, national_champion VARCHAR)
### Question:
In what Year was Rhode Island the National Champion?
### Answer:
SELECT year FROM table_name_77 WHERE national_champion = "rhode island" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Accounts (Account_details INTEGER)
### Question:
What are the account details with the largest value or with value having char '5' in it?
### Answer:
SELECT MAX(Account_details) FROM Accounts UNION SELECT Account_details FROM Accounts WHERE Account_details LIKE "%5%" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.