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_38 (country VARCHAR, time VARCHAR)
### Question:
What country has a time of 6:49.28?
### Answer:
SELECT country FROM table_name_38 WHERE time = "6:49.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 table_name_54 (chapter INTEGER, pinyin VARCHAR, articles VARCHAR)
### Question:
Can you tell me the lowest Chapter that has the Pinyin of dehua, and the Articles smaller than 16?
### Answer:
SELECT MIN(chapter) FROM table_name_54 WHERE pinyin = "dehua" AND articles < 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 people (Hometown VARCHAR)
### Question:
How many distinct hometowns did these people have?
### Answer:
SELECT COUNT(DISTINCT Hometown) FROM people |
Below is an context that describes a sql 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, round VARCHAR, position VARCHAR)
### Question:
What player has a round larger than 2, and position of (d)?
### Answer:
SELECT player FROM table_name_20 WHERE round > 2 AND position = "(d)" |
Below is an context that describes a sql 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 (result INTEGER, lane VARCHAR, reaction_time VARCHAR, name VARCHAR)
### Question:
What is the lowest result for Christian Malcolm with a reaction time greater than 0.185 and a lane higher than 3?
### Answer:
SELECT MIN(result) FROM table_name_66 WHERE reaction_time > 0.185 AND name = "christian malcolm" AND lane > 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_15 (races VARCHAR, wins INTEGER)
### Question:
What is the total number of Races when there were more than 8 wins?
### Answer:
SELECT COUNT(races) FROM table_name_15 WHERE wins > 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_66 (constructor VARCHAR, time_retired VARCHAR)
### Question:
Who built the car that has a Time/Retired of 1:36:38.887?
### Answer:
SELECT constructor FROM table_name_66 WHERE time_retired = "1:36:38.887" |
Below is an context that describes a sql 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 (runner_s__up VARCHAR, margin_of_victory VARCHAR, date VARCHAR)
### Question:
Who was the runnerup when the margin of victory was 1 stroke on jan 30, 2000?
### Answer:
SELECT runner_s__up FROM table_name_64 WHERE margin_of_victory = "1 stroke" AND date = "jan 30, 2000" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_51 (round INTEGER, position VARCHAR, overall VARCHAR)
### Question:
What is the lowest round of the position de player with an overall less than 84?
### Answer:
SELECT MIN(round) FROM table_name_51 WHERE position = "de" AND overall < 84 |
Below is an context that describes a sql 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 (finalist VARCHAR, tournament VARCHAR)
### Question:
Who was the finalist in Miami?
### Answer:
SELECT finalist FROM table_name_7 WHERE tournament = "miami" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_51 (home_team VARCHAR, away_team VARCHAR)
### Question:
Who is the home side when north melbourne is the away side?
### Answer:
SELECT home_team FROM table_name_51 WHERE away_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_70 (notes VARCHAR, bronze VARCHAR, gold VARCHAR, year VARCHAR)
### Question:
What is Notes, when Gold is "Thierry Gueorgiou", when Year is before 2008, and when Bronze is "Valentin Novikov"?
### Answer:
SELECT notes FROM table_name_70 WHERE gold = "thierry gueorgiou" AND year < 2008 AND bronze = "valentin novikov" |
Below is an context that describes a sql 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 (institution VARCHAR, location VARCHAR)
### Question:
What institution is located in athens, ga, us?
### Answer:
SELECT institution FROM table_name_55 WHERE location = "athens, ga, us" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_50 (body_width_mm VARCHAR, body_length_mm VARCHAR, pins VARCHAR)
### Question:
How much Body Width/mm has a Body Length/mm of 18.4, and Pins of 40?
### Answer:
SELECT COUNT(body_width_mm) FROM table_name_50 WHERE body_length_mm = 18.4 AND pins = "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_30120619_1 (poor_law_union VARCHAR, townland VARCHAR)
### Question:
What is the poor law union for the Barnahely towland?
### Answer:
SELECT poor_law_union FROM table_30120619_1 WHERE townland = "Barnahely" |
Below is an context that describes a sql 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 (name VARCHAR, town VARCHAR)
### Question:
What's the name of the structure at Egypt, Arkansas?
### Answer:
SELECT name FROM table_name_53 WHERE town = "egypt, arkansas" |
Below is an context that describes a sql 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 (winner VARCHAR, circuit VARCHAR)
### Question:
Who won at the Circuit of lakeside international raceway?
### Answer:
SELECT winner FROM table_name_89 WHERE circuit = "lakeside international 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_75 (staffel_a VARCHAR, staffel_b VARCHAR, staffel_d VARCHAR, staffel_c VARCHAR)
### Question:
What is the Staffel A that has a Staffel D of Energie Cottbus and a Staffel C of Chemie Leipzig and a Staffel B of 1. FC Union Berlin?
### Answer:
SELECT staffel_a FROM table_name_75 WHERE staffel_d = "energie cottbus" AND staffel_c = "chemie leipzig" AND staffel_b = "1. fc union berlin" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_47 (score VARCHAR, away_team VARCHAR)
### Question:
If the Away Team is Arsenal what is the Score?
### Answer:
SELECT score FROM table_name_47 WHERE away_team = "arsenal" |
Below is an context that describes a sql 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 (home_team VARCHAR, venue VARCHAR)
### Question:
Who was the home team at MCG?
### Answer:
SELECT home_team FROM table_name_39 WHERE venue = "mcg" |
Below is an context that describes a sql 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 (feminine_ōn_stems VARCHAR, feminine_ō_stems VARCHAR)
### Question:
What ending does siangu get for ön?
### Answer:
SELECT feminine_ōn_stems FROM table_name_82 WHERE feminine_ō_stems = "siangu" |
Below is an context that describes a sql 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 (goals_for INTEGER, draws VARCHAR, points VARCHAR, losses VARCHAR, wins VARCHAR)
### Question:
What is the average number of goals for entries with more than 12 losses, more than 10 wins, more than 3 draws, and fewer than 29 points?
### Answer:
SELECT AVG(goals_for) FROM table_name_99 WHERE losses > 12 AND wins > 10 AND points < 29 AND draws > 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_1342249_5 (party VARCHAR, district VARCHAR)
### Question:
What party did the incumbent from the Arkansas 5 district belong to?
### Answer:
SELECT party FROM table_1342249_5 WHERE district = "Arkansas 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_34 (studio VARCHAR, rank VARCHAR, gross VARCHAR)
### Question:
Which studio grossed $83,531,958 and ranked lower than 13?
### Answer:
SELECT studio FROM table_name_34 WHERE rank > 13 AND gross = "$83,531,958" |
Below is an context that describes a sql 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 (score VARCHAR, time VARCHAR)
### Question:
WHAT SCORE HAS A TIME OF 18:27?
### Answer:
SELECT score FROM table_name_95 WHERE time = "18: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_60 (area__km_2__ VARCHAR, common_of VARCHAR, population VARCHAR)
### Question:
How much Area (km 2) has a Common of collegno, and a Population smaller than 50137?
### Answer:
SELECT COUNT(area__km_2__) FROM table_name_60 WHERE common_of = "collegno" AND population < 50137 |
Below is an context that describes a sql 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 (sanction VARCHAR, location VARCHAR)
### Question:
What was the sanction of the event at Nashville, Illinois?
### Answer:
SELECT sanction FROM table_name_5 WHERE location = "nashville, 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_169766_13 (show VARCHAR, new_returning_same_network VARCHAR)
### Question:
Which show was sent to syndication for its new/returning/same network.
### Answer:
SELECT show FROM table_169766_13 WHERE new_returning_same_network = "Syndication" |
Below is an context that describes a sql 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 (length VARCHAR, shoulder VARCHAR)
### Question:
What is the length of the gun that has a shoulder measurement of 12.18 (.480)?
### Answer:
SELECT length FROM table_name_35 WHERE shoulder = "12.18 (.480)" |
Below is an context that describes a sql 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 (mascot VARCHAR, school VARCHAR)
### Question:
Which Mascot has a School of logansport community?
### Answer:
SELECT mascot FROM table_name_76 WHERE school = "logansport community" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_51 (outcome VARCHAR, opponent VARCHAR)
### Question:
What was the outcome of the match against Juan Ignacio Chela?
### Answer:
SELECT outcome FROM table_name_51 WHERE opponent = "juan ignacio chela" |
Below is an context that describes a sql 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 (losses VARCHAR, against VARCHAR, wins VARCHAR)
### Question:
What's the total losses that has more than 12 wins and 1017 against?
### Answer:
SELECT COUNT(losses) FROM table_name_42 WHERE against = 1017 AND wins > 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_16724844_1 (mens_45 VARCHAR, mens_40 VARCHAR)
### Question:
What was the mens 45 when mens 40 was Sunwest Razorbacks def Sydney Mets?
### Answer:
SELECT mens_45 FROM table_16724844_1 WHERE mens_40 = "SunWest Razorbacks def Sydney Mets" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE instructor (name VARCHAR, dept_name VARCHAR, salary VARCHAR)
### Question:
what is the name of the instructor who is in Statistics department and earns the lowest salary?
### Answer:
SELECT name FROM instructor WHERE dept_name = 'Statistics' ORDER BY salary 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_9 (employee__real_name_ VARCHAR, pick__number VARCHAR, brand__to_ VARCHAR)
### Question:
what is the employee (real name) when the pick # is higher than 10 and the brand (to) is raw?
### Answer:
SELECT employee__real_name_ FROM table_name_9 WHERE pick__number > 10 AND brand__to_ = "raw" |
Below is an context that describes a sql 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 (commenced_operations INTEGER, airline VARCHAR)
### Question:
Which Commenced operations have an Airline of valuair?
### Answer:
SELECT MAX(commenced_operations) FROM table_name_39 WHERE airline = "valuair" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23346303_5 (minutes INTEGER, rebounds VARCHAR)
### Question:
If the amount of rebounds is 0, what is the maximum minutes?
### Answer:
SELECT MAX(minutes) FROM table_23346303_5 WHERE rebounds = 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_21795986_1 (year INTEGER, original_number VARCHAR)
### Question:
When 2008 t is the original number what is the lowest year?
### Answer:
SELECT MIN(year) FROM table_21795986_1 WHERE original_number = "2008 T" |
Below is an context that describes a sql 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 (overall INTEGER, round VARCHAR, pick__number VARCHAR)
### Question:
Round of 11, and a Pick # larger than 14 is the highest overall pick?
### Answer:
SELECT MAX(overall) FROM table_name_64 WHERE round = 11 AND pick__number > 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_2 (date VARCHAR, home_team VARCHAR)
### Question:
On which date was St Kilda the home team?
### Answer:
SELECT date FROM table_name_2 WHERE home_team = "st kilda" |
Below is an context that describes a sql 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 (finishes INTEGER, wins VARCHAR, points VARCHAR, stage_wins VARCHAR)
### Question:
what is the highest finishes when the points is less than 337, the stage wins is 2 and the wins is more than 0?
### Answer:
SELECT MAX(finishes) FROM table_name_48 WHERE points < 337 AND stage_wins = 2 AND wins > 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_21 (team VARCHAR, draws VARCHAR)
### Question:
Which team had 15 draws?
### Answer:
SELECT team FROM table_name_21 WHERE draws = "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_42 (studio_host VARCHAR, year VARCHAR)
### Question:
WHich Studio host has a Year of 2003-04?
### Answer:
SELECT studio_host FROM table_name_42 WHERE year = "2003-04" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_47 (venue VARCHAR, home_team VARCHAR)
### Question:
Which Venue was used when the Home team was geelong?
### Answer:
SELECT venue FROM table_name_47 WHERE home_team = "geelong" |
Below is an context that describes a sql 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 (score VARCHAR, opponent VARCHAR, player VARCHAR)
### Question:
Which score had Essendon as an opponent and Steven Clark as a player?
### Answer:
SELECT score FROM table_name_53 WHERE opponent = "essendon" AND player = "steven clark" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22941863_19 (mountains_classification VARCHAR, winner VARCHAR)
### Question:
If the winner is Michael Albasini, what is the mountains classification name?
### Answer:
SELECT mountains_classification FROM table_22941863_19 WHERE winner = "Michael Albasini" |
Below is an context that describes a sql 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 (verb VARCHAR)
### Question:
What is the 2nd verb for Khola?
### Answer:
SELECT 2 AS __f_ FROM table_name_34 WHERE verb = "khola" |
Below is an context that describes a sql 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 (high_rebounds VARCHAR, high_assists VARCHAR)
### Question:
What is High Rebounds, when High Assists is "Rafer Alston , Rashard Lewis , Hedo Türkoğlu (3)"?
### Answer:
SELECT high_rebounds FROM table_name_80 WHERE high_assists = "rafer alston , rashard lewis , hedo türkoğlu (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 (county VARCHAR, mascot VARCHAR)
### Question:
What county is the team with the mascot of the Tigers in?
### Answer:
SELECT county FROM table_name_89 WHERE mascot = "tigers" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2534387_11 (prize VARCHAR, entries VARCHAR)
### Question:
What is the prize pool if the entries is 1,132?
### Answer:
SELECT prize AS Pool FROM table_2534387_11 WHERE entries = "1,132" |
Below is an context that describes a sql 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 (Champions INTEGER, total VARCHAR, position VARCHAR)
### Question:
What is the most Champions League assists for those with a total of 6 and position of Midfielder?
### Answer:
SELECT MAX(Champions) AS league FROM table_name_48 WHERE total = 6 AND position = "midfielder" |
Below is an context that describes a sql 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 (title VARCHAR, track VARCHAR)
### Question:
Which title has a Track of 3?
### Answer:
SELECT title FROM table_name_90 WHERE track = 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_15944_5 (sfc_in_g__kn·s_ VARCHAR, specific_impulse__s_ VARCHAR)
### Question:
What is the SFC when the specific impulse is 453?
### Answer:
SELECT sfc_in_g__kn·s_ FROM table_15944_5 WHERE specific_impulse__s_ = 453 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Transcripts (transcript_date INTEGER)
### Question:
On average, when were the transcripts printed?
### Answer:
SELECT AVG(transcript_date) FROM Transcripts |
Below is an context that describes a sql 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 (score VARCHAR, game VARCHAR)
### Question:
What is the Score of game 35?
### Answer:
SELECT score FROM table_name_43 WHERE game = 35 |
Below is an context that describes a sql 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 (high_assists VARCHAR, high_points VARCHAR)
### Question:
What high assists have McWilliams-franklin (22) as the high points?
### Answer:
SELECT high_assists FROM table_name_95 WHERE high_points = "mcwilliams-franklin (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_51 (goal_difference VARCHAR, club VARCHAR, played VARCHAR)
### Question:
what is the total number of goal different when the club is cf extremadura and the played is less than 38?
### Answer:
SELECT COUNT(goal_difference) FROM table_name_51 WHERE club = "cf extremadura" AND played < 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 singer (country VARCHAR, age INTEGER)
### Question:
Show countries where a singer above age 40 and a singer below 30 are from.
### Answer:
SELECT country FROM singer WHERE age > 40 INTERSECT SELECT country FROM singer WHERE age < 30 |
Below is an context that describes a sql 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 (share INTEGER, rank__overall_ VARCHAR, timeslot VARCHAR, air_date VARCHAR)
### Question:
What is the total share with Timeslot of 8:30 p.m., anAir Date of march 27, 2008, and a Rank greater than 65?
### Answer:
SELECT SUM(share) FROM table_name_25 WHERE timeslot = "8:30 p.m." AND air_date = "march 27, 2008" AND rank__overall_ > 65 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_19422702_1 (no_in_season INTEGER, production_code VARCHAR)
### Question:
What is the latest season number for a show with a production code of 816?
### Answer:
SELECT MAX(no_in_season) FROM table_19422702_1 WHERE production_code = 816 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_13570_1 (specifically_stains VARCHAR, nucleus VARCHAR)
### Question:
A nucleus that is blue/black will specifically stain what?
### Answer:
SELECT specifically_stains FROM table_13570_1 WHERE nucleus = "Blue/black" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE enzyme (Id VARCHAR)
### Question:
How many kinds of enzymes are there?
### Answer:
SELECT COUNT(*) FROM enzyme |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1331313_1 (office VARCHAR, incumbent VARCHAR)
### Question:
who is the the office with incumbent being ramon r. jimenez, jr.
### Answer:
SELECT office FROM table_1331313_1 WHERE incumbent = "Ramon R. Jimenez, Jr." |
Below is an context that describes a sql 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 (status VARCHAR, against VARCHAR)
### Question:
What is the status when the against is 11?
### Answer:
SELECT status FROM table_name_68 WHERE 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_27744976_6 (high_assists VARCHAR, date VARCHAR)
### Question:
Who had the high assists on November 17?
### Answer:
SELECT high_assists FROM table_27744976_6 WHERE date = "November 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_43 (played INTEGER, club VARCHAR, wins VARCHAR)
### Question:
What is the played average that has botev plovdiv as the club and wins larger than 11?
### Answer:
SELECT AVG(played) FROM table_name_43 WHERE club = "botev plovdiv" AND wins > 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_29 (loss VARCHAR, date VARCHAR)
### Question:
Name the loss on may 22
### Answer:
SELECT loss FROM table_name_29 WHERE date = "may 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_30 (matches INTEGER, goals VARCHAR, average VARCHAR)
### Question:
What is the total of Matches with Goals of 18, and an Average larger than 0.55?
### Answer:
SELECT SUM(matches) FROM table_name_30 WHERE goals = 18 AND average > 0.55 |
Below is an context that describes a sql 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 (type VARCHAR, cancelable VARCHAR, attribute VARCHAR)
### Question:
Name the type with cancelable of no and attribute of ondragend
### Answer:
SELECT type FROM table_name_79 WHERE cancelable = "no" AND attribute = "ondragend" |
Below is an context that describes a sql 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 (LNER VARCHAR, class VARCHAR)
### Question:
What LNER Class has a Class of 6db?
### Answer:
SELECT LNER AS class FROM table_name_31 WHERE class = "6db" |
Below is an context that describes a sql 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 (round VARCHAR, opponent VARCHAR)
### Question:
What is the round of the match with Emanuel Newton as the opponent?
### Answer:
SELECT round FROM table_name_70 WHERE opponent = "emanuel newton" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_13463790_2 (city VARCHAR, name VARCHAR)
### Question:
how many city with name being providence tower
### Answer:
SELECT COUNT(city) FROM table_13463790_2 WHERE name = "Providence Tower" |
Below is an context that describes a sql 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 (release_date INTEGER, music_label VARCHAR)
### Question:
What is the release date by Virgin?
### Answer:
SELECT AVG(release_date) FROM table_name_86 WHERE music_label = "virgin" |
Below is an context that describes a sql 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 (pct INTEGER, years VARCHAR, wins VARCHAR)
### Question:
Which Pct has Years of 1957–1970, and Wins smaller than 78?
### Answer:
SELECT SUM(pct) FROM table_name_89 WHERE years = "1957–1970" AND wins < 78 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17103729_8 (location_attendance VARCHAR, score VARCHAR)
### Question:
Name the location of 64-74
### Answer:
SELECT location_attendance FROM table_17103729_8 WHERE score = "64-74" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_182410_10 (channel VARCHAR, digital_terrestrial_channel VARCHAR)
### Question:
What is the channel that is on digital terrestrial channel 10?
### Answer:
SELECT channel FROM table_182410_10 WHERE digital_terrestrial_channel = "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_39 (round INTEGER, overall VARCHAR, pick__number VARCHAR)
### Question:
What is the lowest Round with Overall of 247 and pick less than 41?
### Answer:
SELECT MIN(round) FROM table_name_39 WHERE overall = 247 AND pick__number < 41 |
Below is an context that describes a sql 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 (first_game INTEGER, lost INTEGER)
### Question:
What First game has a Lost greater than 16?
### Answer:
SELECT AVG(first_game) FROM table_name_16 WHERE lost > 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_48 (gold INTEGER, silver VARCHAR, nation VARCHAR, bronze VARCHAR, total VARCHAR)
### Question:
What is the total Gold with a Bronze smaller than 7, a Total of 1, a Nation of cape verde, and a Silver smaller than 0?
### Answer:
SELECT SUM(gold) FROM table_name_48 WHERE bronze < 7 AND total = 1 AND nation = "cape verde" 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_42 (money___$__ VARCHAR, score VARCHAR)
### Question:
What was the money value that went along with the score of 68-67-69-76=280?
### Answer:
SELECT money___$__ FROM table_name_42 WHERE score = 68 - 67 - 69 - 76 = 280 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_3 (year INTEGER, surface VARCHAR, opponent VARCHAR)
### Question:
What is the lowest Year, when Surface is Hard, and when Opponent is Dinara Safina?
### Answer:
SELECT MIN(year) FROM table_name_3 WHERE surface = "hard" AND opponent = "dinara safina" |
Below is an context that describes a sql 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, founded VARCHAR)
### Question:
Which team was founded in 1970?
### Answer:
SELECT team FROM table_name_48 WHERE founded = "1970" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11677691_6 (hometown VARCHAR, player VARCHAR)
### Question:
Where is Shaq Thompson from?
### Answer:
SELECT hometown FROM table_11677691_6 WHERE player = "Shaq Thompson" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_272313_2 (horizontal INTEGER, pixel_aspect_ratio VARCHAR)
### Question:
Name the least horizontal for smpte 259m three quarters
### Answer:
SELECT MIN(horizontal) FROM table_272313_2 WHERE pixel_aspect_ratio = "SMPTE 259M three quarters" |
Below is an context that describes a sql 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 (year INTEGER, film VARCHAR)
### Question:
Which year did The Adventures of Tintin come out?
### Answer:
SELECT SUM(year) FROM table_name_17 WHERE film = "the adventures of tintin" |
Below is an context that describes a sql 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 (bats VARCHAR, position VARCHAR, first VARCHAR)
### Question:
Which does the lhp player with the first name lachlan bat?
### Answer:
SELECT bats FROM table_name_9 WHERE position = "lhp" AND first = "lachlan" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25716397_1 (no_in_season VARCHAR, written_by VARCHAR)
### Question:
How many episodes were written by Tom Scharpling and Daniel Dratch?
### Answer:
SELECT COUNT(no_in_season) FROM table_25716397_1 WHERE written_by = "Tom Scharpling and Daniel Dratch" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22737506_1 (pos VARCHAR, points VARCHAR)
### Question:
When 86 is the amount of points what is the position?
### Answer:
SELECT pos FROM table_22737506_1 WHERE points = 86 |
Below is an context that describes a sql 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 (date VARCHAR, home_team VARCHAR, game VARCHAR)
### Question:
On what date did Portland play game 5 at home?
### Answer:
SELECT date FROM table_name_98 WHERE home_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 table_name_59 (attendance INTEGER, date VARCHAR)
### Question:
Date of october 10, 1965 had what lowest attendance?
### Answer:
SELECT MIN(attendance) FROM table_name_59 WHERE date = "october 10, 1965" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1231316_5 (fastest_time__s_ VARCHAR, nation VARCHAR)
### Question:
Nigeria had the fastest time once.
### Answer:
SELECT COUNT(fastest_time__s_) FROM table_1231316_5 WHERE nation = "Nigeria" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_10 (status VARCHAR, population VARCHAR)
### Question:
What status has 10 as the population?
### Answer:
SELECT status FROM table_name_10 WHERE population = 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_1342359_39 (result VARCHAR, district VARCHAR)
### Question:
What is the result for south carolina 4?
### Answer:
SELECT result FROM table_1342359_39 WHERE district = "South Carolina 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_91 (is_2_m1945 VARCHAR, kv_1s_m1942 VARCHAR)
### Question:
What's the IS-2 when the KV-1S is 114?
### Answer:
SELECT is_2_m1945 FROM table_name_91 WHERE kv_1s_m1942 = "114" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_18278508_2 (position VARCHAR, total_score_week VARCHAR)
### Question:
What position did the team with the total score of 41/60 get?
### Answer:
SELECT position FROM table_18278508_2 WHERE total_score_week = "41/60" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_21 (authority VARCHAR, area VARCHAR, gender VARCHAR, decile VARCHAR)
### Question:
Which Authority has a Gender of coed, a Decile smaller than 6, and an Area of merivale?
### Answer:
SELECT authority FROM table_name_21 WHERE gender = "coed" AND decile < 6 AND area = "merivale" |
Below is an context that describes a sql 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 (crowd INTEGER, away_team VARCHAR)
### Question:
What is the size of the crowd for the game where the away team South Melbourne played?
### Answer:
SELECT AVG(crowd) FROM table_name_39 WHERE away_team = "south melbourne" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_79 (gross VARCHAR, studio VARCHAR, title VARCHAR)
### Question:
How much did Universal Studio's film Xanadu gross?
### Answer:
SELECT gross FROM table_name_79 WHERE studio = "universal" AND title = "xanadu" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_216776_2 (population__2010_ VARCHAR, municipality VARCHAR)
### Question:
How many different counts of the population in Cavinti in 2010 are there?
### Answer:
SELECT COUNT(population__2010_) FROM table_216776_2 WHERE municipality = "Cavinti" |
Below is an context that describes a sql 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 (nation VARCHAR, silver VARCHAR, rank VARCHAR, total VARCHAR)
### Question:
What nation had a rank higher than 4, a total of 2 medals and more than 0 silver medals?
### Answer:
SELECT nation FROM table_name_19 WHERE rank > 4 AND total = 2 AND silver > 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.