answer
stringlengths
6
3.91k
question
stringlengths
7
766
context
stringlengths
27
7.14k
SELECT "Record" FROM table_79894 WHERE "Loss" = 'stottlemyre (10-12)'
What was the record of the game that had a loss of Stottlemyre (10-12)?
CREATE TABLE table_79894 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Record" text )
SELECT AVG(bronze) FROM table_name_9 WHERE sport = "football" AND silver > 1
What is the football Bronze with more than 1 Silver?
CREATE TABLE table_name_9 (bronze INTEGER, sport VARCHAR, silver VARCHAR)
SELECT divisions FROM table_20195922_3 WHERE number_of_winning_tickets = 565
Which divisions have 565 as the number of winning tickets?
CREATE TABLE table_20195922_3 (divisions VARCHAR, number_of_winning_tickets VARCHAR)
SELECT "Type" FROM table_23216 WHERE "Nickname" = 'Spirits'
What's the type of the school whose students' name is spirits?
CREATE TABLE table_23216 ( "Institution" text, "Location" text, "Nickname" text, "Founded" real, "Type" text, "Enrollment" real, "Joined" real )
SELECT AVG(silver) FROM table_name_74 WHERE total > 1 AND gold = 1 AND bronze > 2
With 1 Gold, more than 2 Bronze and Total greater than 1, what is the Silver?
CREATE TABLE table_name_74 (silver INTEGER, bronze VARCHAR, total VARCHAR, gold VARCHAR)
SELECT гә_гә_[ɡʷ] FROM table_202365_2 WHERE ҕь_ҕь_[ʁʲ_ɣʲ] = "Ҭә ҭә [tʷʰ]"
what is гә гә [ɡʷ] when ҕь ҕь [ʁʲ/ɣʲ] is ҭә ҭә [tʷʰ]?
CREATE TABLE table_202365_2 (гә_гә_ VARCHAR, ɡʷ VARCHAR, ҕь_ҕь_ VARCHAR, ʁʲ_ɣʲ VARCHAR)
SELECT d_labitems.label FROM d_labitems WHERE d_labitems.itemid IN (SELECT t3.itemid FROM (SELECT t2.itemid, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, diagnoses_icd.charttime FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id WHERE diagnoses_icd.i...
since 2101, what are the top four most frequently ordered laboratory tests for patients during the same month after they have been diagnosed with ac dvt/emb distl low ext?
CREATE TABLE cost ( row_id number, subject_id number, hadm_id number, event_type text, event_id number, chargetime time, cost number ) CREATE TABLE diagnoses_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE chartevent...
SELECT AVG(total) FROM table_name_86 WHERE silver > 1 AND sport = "total" AND gold > 1
With more than 1 Gold and Silver and Total Sport, what is the Total?
CREATE TABLE table_name_86 (total INTEGER, gold VARCHAR, silver VARCHAR, sport VARCHAR)
SELECT гә_гә_[ɡʷ] FROM table_202365_2 WHERE ҕ_ҕ_[ʁ_ɣ] = "Ҿ ҿ [t͡ʂʼ]"
What is гә гә [ɡʷ] when ҕ ҕ [ʁ/ɣ] is ҿ ҿ [t͡ʂʼ]?
CREATE TABLE table_202365_2 (гә_гә_ VARCHAR, ɡʷ VARCHAR, ҕ_ҕ_ VARCHAR, ʁ_ɣ VARCHAR)
SELECT COUNT(*) > 0 FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-188114' AND NOT patient.hospitaldischargetime IS NULL ORDER BY patient.hospitaladmit...
did patient 006-188114 get a vitamin b12 laboratory test during the first hospital visit?
CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE patient ( uniquepid text, patientheal...
SELECT year FROM table_name_78 WHERE distance_duration = "44 laps" AND driver = "robin buck"
What year does robin buck go 44 laps?
CREATE TABLE table_name_78 (year VARCHAR, distance_duration VARCHAR, driver VARCHAR)
SELECT г_г_[ɡ] FROM table_202365_2 WHERE а_а_[a] = "Ҕә ҕә [ʁʷ/ɣʷ]"
what is г г [ɡ] when а а [a] is ҕә ҕә [ʁʷ/ɣʷ]?
CREATE TABLE table_202365_2 (г_г_ VARCHAR, ɡ VARCHAR, а_а_ VARCHAR, a VARCHAR)
SELECT date, AVG(cloud_cover) FROM weather ORDER BY AVG(cloud_cover) DESC
I want a bar chart to show the average cloud cover of the dates that have the 5 highest cloud cover rates each year, and rank by the y axis from high to low.
CREATE TABLE weather ( date TEXT, max_temperature_f INTEGER, mean_temperature_f INTEGER, min_temperature_f INTEGER, max_dew_point_f INTEGER, mean_dew_point_f INTEGER, min_dew_point_f INTEGER, max_humidity INTEGER, mean_humidity INTEGER, min_humidity INTEGER, max_sea_level_pre...
SELECT COUNT(year) FROM table_name_94 WHERE team = "wal-mart / tide"
How many years does Team wal-mart / tide participate?
CREATE TABLE table_name_94 (year VARCHAR, team VARCHAR)
SELECT а_а_[a] FROM table_202365_2 WHERE ҕь_ҕь_[ʁʲ_ɣʲ] = "Ш ш [ʂʃ]"
what is а а [a] when ҕь ҕь [ʁʲ/ɣʲ] is ш ш [ʂʃ]?
CREATE TABLE table_202365_2 (а_а_ VARCHAR, a VARCHAR, ҕь_ҕь_ VARCHAR, ʁʲ_ɣʲ VARCHAR)
SELECT Classroom, Grade FROM list
A scatter chart about what are the grade number and classroom number of each class in the list?
CREATE TABLE teachers ( LastName TEXT, FirstName TEXT, Classroom INTEGER ) CREATE TABLE list ( LastName TEXT, FirstName TEXT, Grade INTEGER, Classroom INTEGER )
SELECT score FROM table_name_65 WHERE result = "11–0"
Which score has a Result of 11–0?
CREATE TABLE table_name_65 (score VARCHAR, result VARCHAR)
SELECT а_а_[a] FROM table_202365_2 WHERE гь_гь_[ɡʲ] = "Л л [l]"
what is а а [a] when гь гь [ɡʲ] is л л [l]?
CREATE TABLE table_202365_2 (а_а_ VARCHAR, a VARCHAR, гь_гь_ VARCHAR, ɡʲ VARCHAR)
SELECT t3.drugname FROM (SELECT t2.drugname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'dka' AND STRFTIME('%y', diagnosis.diagnosistime) =...
what were the five most common medications prescribed for patients who had previously been diagnosed with dka within 2 months, in 2102?
CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid number, wardid number, admissionheight number, admissionweight number, dischargeweight number, hospitaladmittime time, ...
SELECT result FROM table_name_23 WHERE score = "1–1"
Which result has a Score of 1–1?
CREATE TABLE table_name_23 (result VARCHAR, score VARCHAR)
SELECT ҕь_ҕь_[ʁʲ_ɣʲ] FROM table_202365_2 WHERE гь_гь_[ɡʲ] = "Ҷ ҷ [t͡ʃʼ]"
what is ҕь ҕь [ʁʲ/ɣʲ] when гь гь [ɡʲ] is ҷ ҷ [t͡ʃʼ]?
CREATE TABLE table_202365_2 (ҕь_ҕь_ VARCHAR, ʁʲ_ɣʲ VARCHAR, гь_гь_ VARCHAR, ɡʲ VARCHAR)
SELECT COUNT("Round") FROM table_50474 WHERE "Location" = 'nevada, united states' AND "Time" = '1:55'
What is the total number of Rounds held in Nevada, United States in which the time was 1:55?
CREATE TABLE table_50474 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real, "Time" text, "Location" text )
SELECT score FROM table_name_73 WHERE result = "11–0"
Which score has a Result of 11–0?
CREATE TABLE table_name_73 (score VARCHAR, result VARCHAR)
SELECT green FROM table_20217811_1 WHERE electorate = "Otaki"
Name the green for otaki
CREATE TABLE table_20217811_1 (green VARCHAR, electorate VARCHAR)
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.religion = "JEWISH" AND demographic.admityear < "2148"
how many jewish patients were admitted to the hospital before year 2148?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location t...
SELECT score FROM table_name_40 WHERE record = "11-32-11"
What is the score of the game with an 11-32-11 record?
CREATE TABLE table_name_40 (score VARCHAR, record VARCHAR)
SELECT national FROM table_20217811_1 WHERE electorate = "Rimutaka"
Name the national for rimutaka
CREATE TABLE table_20217811_1 (national VARCHAR, electorate VARCHAR)
SELECT "2nd leg" FROM table_50664 WHERE "Team 1" = 'sporting'
WHAT IS THE 2ND LEG WITH TEAM 1 OF SPORTING?
CREATE TABLE table_50664 ( "Team 1" text, "Agg." text, "Team 2" text, "1st leg" text, "2nd leg" text )
SELECT home FROM table_name_33 WHERE visitor = "new jersey" AND record = "11-35-12"
What is the home team of the game where New Jersey was the visitor team and the record was 11-35-12?
CREATE TABLE table_name_33 (home VARCHAR, visitor VARCHAR, record VARCHAR)
SELECT electorate FROM table_20217811_1 WHERE united_future = "4.47%"
Name the electoraate for united future being 4.47%
CREATE TABLE table_20217811_1 (electorate VARCHAR, united_future VARCHAR)
SELECT "Location" FROM table_47354 WHERE "Date" = 'september 22'
Where was the September 22 game played?
CREATE TABLE table_47354 ( "Date" text, "Time" text, "Opponent" text, "Location" text, "Score" text )
SELECT visitor FROM table_name_74 WHERE home = "chicago"
What is the visitor team of the game with Chicago as the home team?
CREATE TABLE table_name_74 (visitor VARCHAR, home VARCHAR)
SELECT COUNT(popular_vote) FROM table_20246201_9 WHERE candidate = "Rick Perry"
How many different popular vote counts were there for the candidate Rick Perry?
CREATE TABLE table_20246201_9 (popular_vote VARCHAR, candidate VARCHAR)
SELECT COUNT(year) FROM table_name_76 WHERE name = "prof. aditya naraian purohit"
What is the total number of years that prof. aditya naraian purohit won?
CREATE TABLE table_name_76 ( year VARCHAR, name VARCHAR )
SELECT score FROM table_name_25 WHERE visitor = "new jersey" AND date = "february 27"
What is the score of the game on February 27 with New Jersey as the visitor team?
CREATE TABLE table_name_25 (score VARCHAR, visitor VARCHAR, date VARCHAR)
SELECT office FROM table_20246201_9 WHERE states___third_place = "1 New Hampshire"
Which office has 1 New Hampshire as a third place state?
CREATE TABLE table_20246201_9 (office VARCHAR, states___third_place VARCHAR)
SELECT "Stage" FROM table_70136 WHERE "Mountains classification" = 'mariano piccoli' AND "Winner" = 'giuseppe citterio'
Which stage has a mountains classification of Mariano Piccoli and was won by Giuseppe Citterio?
CREATE TABLE table_70136 ( "Stage" text, "Winner" text, "General classification" text, "Points classification" text, "Mountains classification" text, "Trofeo Fast Team" text )
SELECT home FROM table_name_72 WHERE date = "february 3"
What is the home team of the game on February 3?
CREATE TABLE table_name_72 (home VARCHAR, date VARCHAR)
SELECT office FROM table_20246201_9 WHERE candidate = "Jon Huntsman"
What office is Jon Huntsman a candidate for?
CREATE TABLE table_20246201_9 (office VARCHAR, candidate VARCHAR)
SELECT Comments.PostId, Comments.Text AS "Coment rio" FROM Comments WHERE Comments.UserId = 4816
Procurar Merchandising Feito pelo Daniel.
CREATE TABLE PostNotices ( Id number, PostId number, PostNoticeTypeId number, CreationDate time, DeletionDate time, ExpiryDate time, Body text, OwnerUserId number, DeletionUserId number ) CREATE TABLE PostsWithDeleted ( Id number, PostTypeId number, AcceptedAnswerId numb...
SELECT visitor FROM table_name_29 WHERE home = "buffalo"
Who is the visitor team of the game where Buffalo was the home team?
CREATE TABLE table_name_29 (visitor VARCHAR, home VARCHAR)
SELECT COUNT(states___first_place) FROM table_20246201_9 WHERE office = "Governor"
How many states-first place are there for the office of Governor?
CREATE TABLE table_20246201_9 (states___first_place VARCHAR, office VARCHAR)
SELECT t3.title FROM authors AS t1 JOIN authorship AS t2 ON t1.authid = t2.authid JOIN papers AS t3 ON t2.paperid = t3.paperid WHERE t1.fname = "Olin" AND t1.lname = "Shivers"
Which papers did the author 'Olin Shivers' write? Give me the paper titles.
CREATE TABLE papers ( paperid number, title text ) CREATE TABLE authorship ( authid number, instid number, paperid number, authorder number ) CREATE TABLE inst ( instid number, name text, country text ) CREATE TABLE authors ( authid number, lname text, fname text )
SELECT driver FROM table_name_98 WHERE grid = 18
What driver has grid number 18?
CREATE TABLE table_name_98 (driver VARCHAR, grid VARCHAR)
SELECT competition FROM table_20251343_4 WHERE head_to_head = "Australia 13, New Zealand 40, Drawn 3"
Name the competition for australia 13, new zealand 40, drawn 3
CREATE TABLE table_20251343_4 (competition VARCHAR, head_to_head VARCHAR)
SELECT "Release Date" FROM table_33930 WHERE "Frequency" = '2300mhz'
When is the release date for a chip that has a Frequency of 2300mhz?
CREATE TABLE table_33930 ( "Model Number" text, "Stepping" text, "Frequency" text, "L2 Cache" text, "Multi 1" text, "V Core" text, "Socket" text, "Release Date" text, "Part Number(s)" text )
SELECT time_retired FROM table_name_72 WHERE laps < 70 AND grid > 15 AND driver = "timo glock"
What is the time or retired time for timo glock with under 70 laps and a grid number greater than 15?
CREATE TABLE table_name_72 (time_retired VARCHAR, driver VARCHAR, laps VARCHAR, grid VARCHAR)
SELECT explanation FROM table_2026548_1 WHERE rank_by_time_in_office = 10
Name the explanation by rank is 10
CREATE TABLE table_2026548_1 (explanation VARCHAR, rank_by_time_in_office VARCHAR)
SELECT player FROM table_name_67 WHERE country = "united states" AND to_par = "+4" AND score = 71 - 77 = 148
What United States Player has a To par of +4 and a Score of 71-77=148?
CREATE TABLE table_name_67 ( player VARCHAR, country VARCHAR, to_par VARCHAR, score VARCHAR )
SELECT SUM(area_in_km²) FROM table_name_68 WHERE original_name = "kecamatan bogor timur" AND number_of_settlements_and_villages > 6
Kecamatan Bogor Timur has more than 6 villages, what is the area in km²?
CREATE TABLE table_name_68 (area_in_km² INTEGER, original_name VARCHAR, number_of_settlements_and_villages VARCHAR)
SELECT order_in_office FROM table_2026548_1 WHERE vice_president = "Spiro Agnew"
Name the order in office for spiro agnew
CREATE TABLE table_2026548_1 (order_in_office VARCHAR, vice_president VARCHAR)
SELECT "year" FROM table_203_734 WHERE id = 1
in what year was civallero 's first listed achievement ?
CREATE TABLE table_203_734 ( id number, "year" number, "competition" text, "venue" text, "position" text, "event" text, "notes" text )
SELECT SUM(area_in_km²) FROM table_name_78 WHERE original_name = "kecamatan bogor tengah" AND number_of_settlements_and_villages < 11
There are less than 11 settlements in Kecamatan Bogor Tengah, what is the area in km²?
CREATE TABLE table_name_78 (area_in_km² INTEGER, original_name VARCHAR, number_of_settlements_and_villages VARCHAR)
SELECT explanation FROM table_2026548_1 WHERE vice_president = "Alben W. Barkley"
Name the explanation for alben w. barkley
CREATE TABLE table_2026548_1 (explanation VARCHAR, vice_president VARCHAR)
SELECT STRFTIME('%j', patient.unitdischargetime) - STRFTIME('%j', patient.unitadmittime) FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '013-12480') AND NOT patient.unitadmittime IS NULL ORDER BY patient.unitadmittime LIMIT 1
calculate the duration of patient 013-12480's stay in the first icu.
CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code tex...
SELECT AVG(gold) FROM table_name_9 WHERE nation = "luxembourg"
Luxembourg received how many gold medals?
CREATE TABLE table_name_9 (gold INTEGER, nation VARCHAR)
SELECT obama__percentage FROM table_20278716_2 WHERE county = "Burlington"
What percentage of people voted for Obama in Burlington?
CREATE TABLE table_20278716_2 (obama__percentage VARCHAR, county VARCHAR)
SELECT All_Neutral, ACC_Percent FROM basketball_match ORDER BY ACC_Percent
Show me about the distribution of All_Neutral and ACC_Percent in a bar chart, sort by the Y-axis in asc.
CREATE TABLE university ( School_ID int, School text, Location text, Founded real, Affiliation text, Enrollment real, Nickname text, Primary_conference text ) CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text, ACC_Per...
SELECT SUM(tonnage) FROM table_name_73 WHERE type_of_ship = "twin screw ro-ro motorship" AND date_entered_service = "11 february 1983"
what is the sum of tonnage when the type of ship is twin screw ro-ro motorship and the date entered service is 11 february 1983?
CREATE TABLE table_name_73 (tonnage INTEGER, type_of_ship VARCHAR, date_entered_service VARCHAR)
SELECT mccain__percentage FROM table_20278716_2 WHERE county = "Burlington"
What percentage of voters choise McCain in Burlington?
CREATE TABLE table_20278716_2 (mccain__percentage VARCHAR, county VARCHAR)
SELECT SUM(outputevents.value) FROM outputevents WHERE outputevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 28484) AND NOT icustays.outtime IS NULL ORDER BY icustays.intime LIMIT 1)
what is the total volume of output patient 28484 had on the first icu visit?
CREATE TABLE patients ( row_id number, subject_id number, gender text, dob time, dod time ) CREATE TABLE icustays ( row_id number, subject_id number, hadm_id number, icustay_id number, first_careunit text, last_careunit text, first_wardid number, last_wardid number, ...
SELECT MIN(tonnage) FROM table_name_21 WHERE date_entered_service = "11 february 1983"
what is the least tonnage for the ship(s) that entered service on 11 february 1983?
CREATE TABLE table_name_21 (tonnage INTEGER, date_entered_service VARCHAR)
SELECT others__percentage FROM table_20278716_2 WHERE others__number = 802
What percentage of voters voted for a third party in the county that had 802 third party voters?
CREATE TABLE table_20278716_2 (others__percentage VARCHAR, others__number VARCHAR)
SELECT MAX(first_elected) FROM table_1342359_2
What is the last year that someone is first elected?
CREATE TABLE table_1342359_2 ( first_elected INTEGER )
SELECT SUM(gold) FROM table_name_17 WHERE silver > 2 AND total = 12
What's the sum of gold where silver is more than 2 and the total is 12?
CREATE TABLE table_name_17 (gold INTEGER, silver VARCHAR, total VARCHAR)
SELECT mccain__percentage FROM table_20278716_2 WHERE others__percentage = "1.1%"
What percentage of voters chose McCain in the county where 1.1% of voters voted third party?
CREATE TABLE table_20278716_2 (mccain__percentage VARCHAR, others__percentage VARCHAR)
SELECT COUNT(*) > 0 FROM course WHERE department = 'EECS' AND has_lab = 'Y' AND number = 527
Is there a lab for 527 ?
CREATE TABLE comment_instructor ( instructor_id int, student_id int, score int, comment_text varchar ) CREATE TABLE student_record ( student_id int, course_id int, semester int, grade varchar, how varchar, transfer_source varchar, earn_credit varchar, repeat_term varchar...
SELECT MIN(gold) FROM table_name_16 WHERE total = 4 AND nation = "liechtenstein" AND silver < 2
What's the lowest gold with a total of 4 and less than 2 silver for liechtenstein?
CREATE TABLE table_name_16 (gold INTEGER, silver VARCHAR, total VARCHAR, nation VARCHAR)
SELECT mccain__percentage FROM table_20278716_2 WHERE others__percentage = "2.1%"
What percentage of voters chose McCain in the county where 2.1% of voters voted third party?
CREATE TABLE table_20278716_2 (mccain__percentage VARCHAR, others__percentage VARCHAR)
SELECT MAX(chartevents.valuenum) FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 12367 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime DESC LIMIT 1)) AND chart...
indicate the daily maximum amount of heart rate for patient 12367 during their last hospital encounter.
CREATE TABLE transfers ( row_id number, subject_id number, hadm_id number, icustay_id number, eventtype text, careunit text, wardid number, intime time, outtime time ) CREATE TABLE admissions ( row_id number, subject_id number, hadm_id number, admittime time, dis...
SELECT COUNT(gold) FROM table_name_96 WHERE total < 23 AND rank > 10
What's the total number of gold where the total is less than 23 and the rank is over 10?
CREATE TABLE table_name_96 (gold VARCHAR, total VARCHAR, rank VARCHAR)
SELECT county FROM table_20278716_2 WHERE others__number = 915
What county had 915 third party voters?
CREATE TABLE table_20278716_2 (county VARCHAR, others__number VARCHAR)
SELECT "Original air date" FROM table_25126 WHERE "Written by" = 'Tracy Poust & Jon Kinnally'
What is the original air date where tracy poust & jon kinnally was written by?
CREATE TABLE table_25126 ( "Series #" real, "Season #" real, "Episode title" text, "Written by" text, "Directed by" text, "U.S. viewers (millions)" text, "Original air date" text )
SELECT COUNT(total) FROM table_name_58 WHERE rank > 9 AND gold < 1
What's the sum of total where the rank is over 9 and the gold is less than 1?
CREATE TABLE table_name_58 (total VARCHAR, rank VARCHAR, gold VARCHAR)
SELECT ply__uk, _nz, _au_ FROM table_20297668_1 WHERE yarn_type__us_ = "Fingering"
Name the ply (uk, nz, au) for fingering
CREATE TABLE table_20297668_1 (ply__uk VARCHAR, _nz VARCHAR, _au_ VARCHAR, yarn_type__us_ VARCHAR)
SELECT "year" FROM table_202_28 WHERE "year" >= 1990 AND "year" <= 2004 ORDER BY "output growth rate %" DESC LIMIT 1
what year saw the highest output growth rate in japan between the years 1990 and 2004 ?
CREATE TABLE table_202_28 ( id number, "year" number, "output growth rate %" number, "unemployment rate %" number, "inflation rate %" number )
SELECT SUM(location_attendance) FROM table_name_69 WHERE team = "timberwolves"
What was the attendance number for the Timberwolves game?
CREATE TABLE table_name_69 (location_attendance INTEGER, team VARCHAR)
SELECT wraps_per_inch__wpi_ FROM table_20297668_1 WHERE m_100g = "120-240"
Name the wraps per inch for 120-240
CREATE TABLE table_20297668_1 (wraps_per_inch__wpi_ VARCHAR, m_100g VARCHAR)
SELECT college FROM table_name_23 WHERE player = "delray brooks"
What college did delray brooks go to?
CREATE TABLE table_name_23 ( college VARCHAR, player VARCHAR )
SELECT COUNT(crowd) FROM table_name_91 WHERE home_team = "richmond"
What is the combined of Crowd when richmond played at home?
CREATE TABLE table_name_91 (crowd VARCHAR, home_team VARCHAR)
SELECT ply__uk, _nz, _au_ FROM table_20297668_1 WHERE wraps_per_inch__wpi_ = "7 wpi"
Name the ply uk, nz, au for wraps per inch 7 wpi
CREATE TABLE table_20297668_1 (ply__uk VARCHAR, _nz VARCHAR, _au_ VARCHAR, wraps_per_inch__wpi_ VARCHAR)
SELECT "Winning team" FROM table_40441 WHERE "Losing team" = 'san francisco giants'
Who won the series when the San Francisco Giants lost?
CREATE TABLE table_40441 ( "Year" real, "Series" text, "Winning team" text, "Losing team" text, "Score" text, "Site" text )
SELECT opponent FROM table_name_74 WHERE result = "3–6, 6–2, 4–6"
What opponent has a result of 3–6, 6–2, 4–6?
CREATE TABLE table_name_74 (opponent VARCHAR, result VARCHAR)
SELECT yarn_type__us_ FROM table_20297668_1 WHERE standard_yarn_weight_system = "3 or Light"
Name the yarn type for standard yarn weight system for 3 or light
CREATE TABLE table_20297668_1 (yarn_type__us_ VARCHAR, standard_yarn_weight_system VARCHAR)
SELECT "Novelty" FROM table_42373 WHERE "Status" = 'valid' AND "Location" = 'mongolia' AND "Name" = 'prenocephale'
What is the novel that has a valid status, located in Mongolia, and named Prenocephale?
CREATE TABLE table_42373 ( "Name" text, "Novelty" text, "Status" text, "Authors" text, "Location" text )
SELECT date FROM table_name_2 WHERE edition = "1991 world group i" AND opponent = "li fang"
When was the 1991 world group I with the opponent of Li Fang?
CREATE TABLE table_name_2 (date VARCHAR, edition VARCHAR, opponent VARCHAR)
SELECT standard_yarn_weight_system FROM table_20297668_1 WHERE wraps_per_inch__wpi_ = "7 wpi"
Name the standard yarn weight system for 7 wpi
CREATE TABLE table_20297668_1 (standard_yarn_weight_system VARCHAR, wraps_per_inch__wpi_ VARCHAR)
SELECT rank FROM table_26041144_11 WHERE average = "39.69"
What is the rank of the player with the 39.69 average?
CREATE TABLE table_26041144_11 ( rank VARCHAR, average VARCHAR )
SELECT surface FROM table_name_15 WHERE date = "july 15, 1984"
On July 15, 1984 what surface was used?
CREATE TABLE table_name_15 (surface VARCHAR, date VARCHAR)
SELECT standard_yarn_weight_system FROM table_20297668_1 WHERE wraps_per_inch__wpi_ = "9 wpi"
Name the standard yarn weight system for 9 wpi
CREATE TABLE table_20297668_1 (standard_yarn_weight_system VARCHAR, wraps_per_inch__wpi_ VARCHAR)
SELECT MAX("Season") FROM table_20211 WHERE "Bowl game" = '1993 Independence Bowl'
What is the highest season for a bowl game of the 1993 Independence Bowl?
CREATE TABLE table_20211 ( "#" real, "Season" real, "Bowl game" text, "Result" text, "Opponent" text, "Stadium" text, "Location" text, "Attendance" text )
SELECT round FROM table_name_95 WHERE opponent = "mercedes paz" AND result = "4–6, 6–1, 6–3"
For what round was the opponent mercedes paz with a result of 4–6, 6–1, 6–3?
CREATE TABLE table_name_95 (round VARCHAR, opponent VARCHAR, result VARCHAR)
SELECT date_motor_gear_fitted FROM table_2030453_1 WHERE lms_1946_no = 1901
When was the motor gear of the LMS 1946 no. 1901 model fitted?
CREATE TABLE table_2030453_1 (date_motor_gear_fitted VARCHAR, lms_1946_no VARCHAR)
SELECT "Score" FROM table_43863 WHERE "Time" = '18:00' AND "Venue" = 'african union'
Name the Score which has a Time of 18:00 and a Venue of african union?
CREATE TABLE table_43863 ( "Match No." real, "Date" text, "Time" text, "Score" text, "Venue" text, "Match Report" text )
SELECT surface FROM table_name_30 WHERE date = "july 17, 1983"
What surface was used on July 17, 1983?
CREATE TABLE table_name_30 (surface VARCHAR, date VARCHAR)
SELECT COUNT(played) FROM table_20301877_2 WHERE player = "Wayne Mardle"
how many matches did wayne mardle play
CREATE TABLE table_20301877_2 (played VARCHAR, player VARCHAR)
SELECT T2.customer_first_name, T1.customer_id FROM Accounts AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id
Show first name and id for all customers with at least 2 accounts. Show bar chart.
CREATE TABLE Invoices ( invoice_number INTEGER, order_id INTEGER, invoice_date DATETIME ) CREATE TABLE Products ( product_id INTEGER, parent_product_id INTEGER, production_type_code VARCHAR(15), unit_price DECIMAL(19,4), product_name VARCHAR(80), product_color VARCHAR(20), produ...
SELECT result FROM table_name_58 WHERE date = "october 8, 1985"
What was the result on October 8, 1985?
CREATE TABLE table_name_58 (result VARCHAR, date VARCHAR)
SELECT 3 AS _dart_average FROM table_20301877_2 WHERE player = "Raymond van Barneveld"
what is the 3-dart average of raymond van barneveld
CREATE TABLE table_20301877_2 (player VARCHAR)
SELECT date FROM table_name_9 WHERE sub_total = "9:30"
On which day were the subtotal hours 9:30?
CREATE TABLE table_name_9 ( date VARCHAR, sub_total VARCHAR )