answer stringlengths 6 3.91k | question stringlengths 7 766 | context stringlengths 27 7.14k |
|---|---|---|
SELECT "Country" FROM table_50568 WHERE "Place" = 't9' AND "Player" = 'gary player' | What country is Gary Player from in T9 place? | CREATE TABLE table_50568 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
) |
SELECT opponent FROM table_name_16 WHERE location = "wonju chiak indoor gym, south korea" | Which Opponent has Location Wonju Chiak Indoor Gym, South Korea? | CREATE TABLE table_name_16 (opponent VARCHAR, location VARCHAR) |
SELECT MIN(rank) FROM table_1682026_3 WHERE company = "BNP Paribas" | What is the ranking of BNP Paribas? | CREATE TABLE table_1682026_3 (rank INTEGER, company VARCHAR) |
SELECT regionalliga_süd FROM table_name_13 WHERE season = "1995-96" | What is the Regionalliga Sud for 1995-96? | CREATE TABLE table_name_13 (
regionalliga_süd VARCHAR,
season VARCHAR
) |
SELECT MIN(round) FROM table_name_60 WHERE opponent = "paul cahoon" AND location = "amsterdam, netherlands" | Which is the lowest Round with the Opponent, Paul Cahoon and Location, Amsterdam, Netherlands? | CREATE TABLE table_name_60 (round INTEGER, opponent VARCHAR, location VARCHAR) |
SELECT headquarters FROM table_1682026_3 WHERE sales__billion_$_ = "69.2" | Where are the headquarters of the company whose sales were 69.2 billion? | CREATE TABLE table_1682026_3 (headquarters VARCHAR, sales__billion_$_ VARCHAR) |
SELECT Fname, COUNT(Fname) FROM Student WHERE Age < (SELECT AVG(Age) FROM Student) GROUP BY Fname ORDER BY COUNT(Fname) DESC | Find the number of students whose age is younger than the average age and group by students' first name in a bar chart, could you show in descending by the y axis? | CREATE TABLE Lives_in (
stuid INTEGER,
dormid INTEGER,
room_number INTEGER
)
CREATE TABLE Has_amenity (
dormid INTEGER,
amenid INTEGER
)
CREATE TABLE Student (
StuID INTEGER,
LName VARCHAR(12),
Fname VARCHAR(12),
Age INTEGER,
Sex VARCHAR(1),
Major INTEGER,
Advisor INTEG... |
SELECT event FROM table_name_15 WHERE opponent = "bernard ackah" | Which Event has the Opponent, Bernard Ackah? | CREATE TABLE table_name_15 (event VARCHAR, opponent VARCHAR) |
SELECT assets__billion_$_ FROM table_1682026_3 WHERE headquarters = "China" AND profits__billion_$_ = "21.2" | What are the assets (in billions) of the company headquartered in China and whose profits are 21.2 billion? | CREATE TABLE table_1682026_3 (assets__billion_$_ VARCHAR, headquarters VARCHAR, profits__billion_$_ VARCHAR) |
SELECT "Position" FROM table_4597 WHERE "Round" = '7' AND "College" = 'oklahoma' | What position does the player from Oklahoma who was drafted in round 7 play? | CREATE TABLE table_4597 (
"Round" real,
"Overall" real,
"Player" text,
"Position" text,
"College" text
) |
SELECT launched FROM table_name_91 WHERE laid_down = "14 august 1942" | when was the destroyer launched when it was laid down on 14 august 1942? | CREATE TABLE table_name_91 (launched VARCHAR, laid_down VARCHAR) |
SELECT profits__billion_$_ FROM table_1682026_3 WHERE market_value__billion_$_ = "172.9" | What are the profits (in billions) of the company with a market value of 172.9 billion? | CREATE TABLE table_1682026_3 (profits__billion_$_ VARCHAR, market_value__billion_$_ VARCHAR) |
SELECT COUNT(milepost) FROM table_10568553_1 WHERE street_names = "Anne Street" | How many mileposts are there on Anne Street? | CREATE TABLE table_10568553_1 (
milepost VARCHAR,
street_names VARCHAR
) |
SELECT launched FROM table_name_57 WHERE builder = "john brown, clydebank" | what is the launched date when the builder is john brown, clydebank? | CREATE TABLE table_name_57 (launched VARCHAR, builder VARCHAR) |
SELECT profits__billion_$_ FROM table_1682026_3 WHERE assets__billion_$_ = "192.8" | What are the profits (in billions) where the assets are 192.8 billion? | CREATE TABLE table_1682026_3 (profits__billion_$_ VARCHAR, assets__billion_$_ VARCHAR) |
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE (CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'DENVER' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'BOSTON... | i would like to plan a flight on AA from BOSTON to DENVER | CREATE TABLE dual_carrier (
main_airline varchar,
low_flight_number int,
high_flight_number int,
dual_airline varchar,
service_name text
)
CREATE TABLE ground_service (
city_code text,
airport_code text,
transport_type text,
ground_fare int
)
CREATE TABLE airline (
airline_code... |
SELECT pennant FROM table_name_23 WHERE builder = "yarrow, scotstoun" | what is the pennant when the builder is yarrow, scotstoun? | CREATE TABLE table_name_23 (pennant VARCHAR, builder VARCHAR) |
SELECT COUNT(index_weighting___percentage__at_17_january_2013) FROM table_168274_1 WHERE company = "Bouygues" | Name the total number of index weighting % at 17 january 2013 for bouygues | CREATE TABLE table_168274_1 (index_weighting___percentage__at_17_january_2013 VARCHAR, company VARCHAR) |
SELECT position FROM table_2897457_7 WHERE college_junior_club_team = "Roseau High School (USHS-MN)" | What position did Roseau High School (USHS-MN) play? | CREATE TABLE table_2897457_7 (
position VARCHAR,
college_junior_club_team VARCHAR
) |
SELECT name FROM table_name_37 WHERE laid_down = "28 february 1943" | what is the name when the laid down is 28 february 1943? | CREATE TABLE table_name_37 (name VARCHAR, laid_down VARCHAR) |
SELECT icb_sector FROM table_168274_1 WHERE ticker_symbol = "AI" | Name the icb sector for ai | CREATE TABLE table_168274_1 (icb_sector VARCHAR, ticker_symbol VARCHAR) |
SELECT championships_in_st_louis FROM table_21564794_3 WHERE began_in_st_louis = 1950 | How may championships were won by the team that started in 1950? | CREATE TABLE table_21564794_3 (
championships_in_st_louis VARCHAR,
began_in_st_louis VARCHAR
) |
SELECT commissioned FROM table_name_88 WHERE builder = "scotts, greenock" | when was it commissioned when the destroyer was built by scotts, greenock? | CREATE TABLE table_name_88 (commissioned VARCHAR, builder VARCHAR) |
SELECT company FROM table_168274_1 WHERE index_weighting___percentage__at_17_january_2013 = "11.96" | Name the company where index weighting % is 11.96 | CREATE TABLE table_168274_1 (company VARCHAR, index_weighting___percentage__at_17_january_2013 VARCHAR) |
SELECT "Date" FROM table_43267 WHERE "Country" = 'japan' AND "Label" = 'sony' | What Date was the Country of japan, and a Label of sony? | CREATE TABLE table_43267 (
"Date" text,
"Label" text,
"Format" text,
"Country" text,
"Catalog" text
) |
SELECT launched FROM table_name_55 WHERE laid_down = "14 august 1942" | when was the launched date when the laid down date is 14 august 1942? | CREATE TABLE table_name_55 (launched VARCHAR, laid_down VARCHAR) |
SELECT index_weighting___percentage__at_17_january_2013 FROM table_168274_1 WHERE ticker_symbol = "RNO" | Name the index weighting % for 17 januaary 2013 for rno | CREATE TABLE table_168274_1 (index_weighting___percentage__at_17_january_2013 VARCHAR, ticker_symbol VARCHAR) |
SELECT demographic.expire_flag FROM demographic WHERE demographic.subject_id = "6983" | what is death status of subject id 6983? | CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
C... |
SELECT record FROM table_name_82 WHERE week < 13 AND date = "july 12" | What was the record for a week below 13 on July 12? | CREATE TABLE table_name_82 (record VARCHAR, week VARCHAR, date VARCHAR) |
SELECT COUNT(headquarters) FROM table_1682026_7 WHERE company = "HSBC" | How many headquarters are there listed for HSBC? | CREATE TABLE table_1682026_7 (headquarters VARCHAR, company VARCHAR) |
SELECT score FROM table_name_7 WHERE partnering = "nathalie tauziat" | What was the score of the game with Nathalie Tauziat as a partner? | CREATE TABLE table_name_7 (
score VARCHAR,
partnering VARCHAR
) |
SELECT location FROM table_name_92 WHERE final_score = "w 30 – 5" | What location had a final score of W 30 – 5? | CREATE TABLE table_name_92 (location VARCHAR, final_score VARCHAR) |
SELECT market_value__billion_$_ FROM table_1682026_7 WHERE assets__billion_$_ = "1,380.88" | What is the market value in billions when the assets totaled 1,380.88? | CREATE TABLE table_1682026_7 (market_value__billion_$_ VARCHAR, assets__billion_$_ VARCHAR) |
SELECT "Hanja" FROM table_31730 WHERE "Hangul" = '주' | Name the hanja for hangul of | CREATE TABLE table_31730 (
"Hangul" text,
"Hanja" text,
"Revised" text,
"McCune-Reischauer" text,
"Estimated distribution (2000)*" real
) |
SELECT label FROM table_name_48 WHERE catalog = "ch-9196" | Which label had a catalog designation of ch-9196? | CREATE TABLE table_name_48 (label VARCHAR, catalog VARCHAR) |
SELECT MAX(rank) FROM table_1682026_7 WHERE industry = "Oil and gas" AND headquarters = "Netherlands" | What is the highest rank of a company in the oil and gas industry headquartered in Netherlands? | CREATE TABLE table_1682026_7 (rank INTEGER, industry VARCHAR, headquarters VARCHAR) |
SELECT MIN(year) FROM table_name_36 WHERE points = 3 AND chassis = "cooper t20" | What was the earliest year for a car with 3 points and Cooper t20 chassis? | CREATE TABLE table_name_36 (
year INTEGER,
points VARCHAR,
chassis VARCHAR
) |
SELECT format FROM table_name_95 WHERE catalog = "21-382a" | Which format's catalog designation was 21-382a? | CREATE TABLE table_name_95 (format VARCHAR, catalog VARCHAR) |
SELECT MIN(rank) FROM table_1682026_7 WHERE assets__billion_$_ = "248.44" | What is the lowest rank of a company with 248.44 billions of dollars in assets? | CREATE TABLE table_1682026_7 (rank INTEGER, assets__billion_$_ VARCHAR) |
SELECT DISTINCT fare.fare_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, fare, fare_basis, flight, flight_fare WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'BALTIMORE' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code A... | please show me again the FIRST class fares from BALTIMORE to DALLAS | CREATE TABLE airline (
airline_code varchar,
airline_name text,
note text
)
CREATE TABLE time_interval (
period text,
begin_time int,
end_time int
)
CREATE TABLE class_of_service (
booking_class varchar,
rank int,
class_description text
)
CREATE TABLE time_zone (
time_zone_cod... |
SELECT catalog FROM table_name_66 WHERE date = "1984" | Which catalog had a date year of 1984? | CREATE TABLE table_name_66 (catalog VARCHAR, date VARCHAR) |
SELECT industry FROM table_1682026_7 WHERE sales__billion_$_ = "89.16" | In what industry was the company that had 89.16 billions of dollars in sales? | CREATE TABLE table_1682026_7 (industry VARCHAR, sales__billion_$_ VARCHAR) |
SELECT "Crowd" FROM table_58194 WHERE "Away team" = 'north melbourne' | How large was the crowd when North Melbourne played as the away team? | CREATE TABLE table_58194 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) |
SELECT format FROM table_name_32 WHERE label = "london records" | Which format was under the London Records label? | CREATE TABLE table_name_32 (format VARCHAR, label VARCHAR) |
SELECT COUNT(rank) FROM table_1682026_9 WHERE profits__billion_$_ = "9.52" | Name the number of rank for 9.52 profits | CREATE TABLE table_1682026_9 (rank VARCHAR, profits__billion_$_ VARCHAR) |
SELECT "Clubs" FROM table_12637 WHERE "Seasons at this level" = '27 seasons' | Which club has played for 27 seasons at this level? | CREATE TABLE table_12637 (
"Clubs" text,
"Seasons at this level" text,
"Settlements" text,
"Season joined league" text,
"Position in 1960/1961" text
) |
SELECT label FROM table_name_17 WHERE region = "united kingdom" | Which label was in the United Kingdom region? | CREATE TABLE table_name_17 (label VARCHAR, region VARCHAR) |
SELECT country FROM table_1682026_9 WHERE market_value__billion_$_ = "188.77" | Name the country for 188.77 market value | CREATE TABLE table_1682026_9 (country VARCHAR, market_value__billion_$_ VARCHAR) |
SELECT team__number2 FROM table_name_31 WHERE team__number1 = "deport" | What is the team #2 with Deport as team #1? | CREATE TABLE table_name_31 (
team__number2 VARCHAR,
team__number1 VARCHAR
) |
SELECT date FROM table_name_37 WHERE catalog = "ha-m 2230" | Which date had the catalog designation of ha-m 2230? | CREATE TABLE table_name_37 (date VARCHAR, catalog VARCHAR) |
SELECT numeral FROM table_1682865_1 WHERE english_name = "Florin" | What is the numeral where the English name is Florin? | CREATE TABLE table_1682865_1 (numeral VARCHAR, english_name VARCHAR) |
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.insurance = "Medicaid" AND demographic.diagnosis = "VENTRICULAR TACHYCARDIA" | how many patients with ventricular tachycardia had medicaid insurance? | 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 MAX(goals_conceded__gc_) FROM table_name_84 WHERE draw__pe_ = 2 AND goals_scored__gf_ > 29 AND ____dif_ > 15 | What is the maximum goals conceded for a team with 2 draws, more than 29 goals and a diff larger than 15? | CREATE TABLE table_name_84 (goals_conceded__gc_ INTEGER, ____dif_ VARCHAR, draw__pe_ VARCHAR, goals_scored__gf_ VARCHAR) |
SELECT £1_fraction FROM table_1682865_1 WHERE reverse = "Hare" | What is the £1 fraction when the reverse is hare? | CREATE TABLE table_1682865_1 (£1_fraction VARCHAR, reverse VARCHAR) |
SELECT opponent FROM table_name_35 WHERE date = "november 20, 1955" | Who was the opponent for the game on November 20, 1955? | CREATE TABLE table_name_35 (
opponent VARCHAR,
date VARCHAR
) |
SELECT SUM(points__pts_) FROM table_name_84 WHERE won__pg_ > 9 AND goals_scored__gf_ > 40 | What is the points for a team with more than 9 wins and more than 40 goals? | CREATE TABLE table_name_84 (points__pts_ INTEGER, won__pg_ VARCHAR, goals_scored__gf_ VARCHAR) |
SELECT introduction FROM table_1682865_1 WHERE numeral = "6d" | What date was the 6d introduced? | CREATE TABLE table_1682865_1 (introduction VARCHAR, numeral VARCHAR) |
SELECT date_of_birth, COUNT(date_of_birth) FROM Customers WHERE customer_status_code = 'Good Customer' ORDER BY COUNT(date_of_birth) | What is the date of birth of every customer whose status code is 'Good Customer', and count them by a bar chart, I want to rank by the total number from low to high. | CREATE TABLE Lessons (
lesson_id INTEGER,
customer_id INTEGER,
lesson_status_code VARCHAR(15),
staff_id INTEGER,
vehicle_id INTEGER,
lesson_date DATETIME,
lesson_time VARCHAR(10),
price DOUBLE
)
CREATE TABLE Staff (
staff_id INTEGER,
staff_address_id INTEGER,
nickname VARCHA... |
SELECT score FROM table_name_90 WHERE competition = "2012 africa cup of nations" | What was the score of the game played in the 2012 Africa Cup of Nations? | CREATE TABLE table_name_90 (score VARCHAR, competition VARCHAR) |
SELECT irish_name FROM table_1682865_1 WHERE £1_fraction = "1/240" | What is the Irish name for the £1 fraction of 1/240? | CREATE TABLE table_1682865_1 (irish_name VARCHAR, £1_fraction VARCHAR) |
SELECT Id AS "post_link", Title FROM Posts WHERE Title LIKE '%:%' AND LEFT(Title, STR_POSITION(Title, ':') - 1) IN (SELECT Tags.TagName FROM PostTags INNER JOIN Tags ON PostTags.TagId = Tags.Id WHERE PostTags.PostId = Posts.Id) ORDER BY CreationDate DESC | Posts whose titles are prefixed with one of its tags. Posts whose titles are of the form 'Tag: Blah blah blah', where 'Tag' is already one of the tags on that post. | CREATE TABLE PostTypes (
Id number,
Name text
)
CREATE TABLE Users (
Id number,
Reputation number,
CreationDate time,
DisplayName text,
LastAccessDate time,
WebsiteUrl text,
Location text,
AboutMe text,
Views number,
UpVotes number,
DownVotes number,
ProfileImage... |
SELECT score FROM table_name_72 WHERE competition = "friendly" | What is the score of the friendly competition? | CREATE TABLE table_name_72 (score VARCHAR, competition VARCHAR) |
SELECT reverse FROM table_1682865_1 WHERE £1_fraction = "1/480" | What is the reverse when the £1 fraction is 1/480? | CREATE TABLE table_1682865_1 (reverse VARCHAR, £1_fraction VARCHAR) |
SELECT Country, COUNT(*) FROM climber GROUP BY Country | Display a pie chart for how many climbers are from each country? | CREATE TABLE climber (
Climber_ID int,
Name text,
Country text,
Time text,
Points real,
Mountain_ID int
)
CREATE TABLE mountain (
Mountain_ID int,
Name text,
Height real,
Prominence real,
Range text,
Country text
) |
SELECT venue FROM table_name_28 WHERE date = "9 february 2011" | What venue was the game played on 9 February 2011 played at? | CREATE TABLE table_name_28 (venue VARCHAR, date VARCHAR) |
SELECT MAX(_number_of_seats_won) FROM table_168482_1 | What is the largest number of seats won? | CREATE TABLE table_168482_1 (_number_of_seats_won INTEGER) |
SELECT demographic.admission_type, prescriptions.drug FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.subject_id = "2560" | tell me the type of admission and the prescription drug for the patient with patient id 2560. | CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
C... |
SELECT date FROM table_name_12 WHERE home = "ny rangers" | What date did NY Rangers play at home? | CREATE TABLE table_name_12 (date VARCHAR, home VARCHAR) |
SELECT COUNT(_percentage_of_popular_vote) FROM table_168482_1 WHERE election = 1983 | How many percentages are listed for the election in 1983? | CREATE TABLE table_168482_1 (_percentage_of_popular_vote VARCHAR, election VARCHAR) |
SELECT "Driver" FROM table_52842 WHERE "Grid" = '7' | Who drove the car with a grid of 7? | CREATE TABLE table_52842 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
) |
SELECT score FROM table_name_32 WHERE decision = "smith" AND visitor = "colorado" | What is the score of Colorado when they were a visitor and had a Smith decision? | CREATE TABLE table_name_32 (score VARCHAR, decision VARCHAR, visitor VARCHAR) |
SELECT place FROM table_168482_1 WHERE _percentage_of_popular_vote = "0.86%" | What place did the party finish in the year when they earned 0.86% of the vote? | CREATE TABLE table_168482_1 (place VARCHAR, _percentage_of_popular_vote VARCHAR) |
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, fare, flight, flight_fare WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'DALLAS' AND NOT fare.round_trip_cost IS NULL AND flight_fare.fare_id =... | i want to fly from BALTIMORE to DALLAS round trip | CREATE TABLE food_service (
meal_code text,
meal_number int,
compartment text,
meal_description varchar
)
CREATE TABLE aircraft (
aircraft_code varchar,
aircraft_description varchar,
manufacturer varchar,
basic_type varchar,
engines int,
propulsion varchar,
wide_body varchar... |
SELECT runner_up FROM table_name_50 WHERE score = "3–6, 6–3, [10–4]" | Who is the runner up when the score was 3–6, 6–3, [10–4]? | CREATE TABLE table_name_50 (runner_up VARCHAR, score VARCHAR) |
SELECT ncbi_accession_number__mrna_protein_ FROM table_16849531_2 WHERE length__bp_aa_ = "5304bp/377aa" | What is the NCBI Accession Number for the length of 5304bp/377aa? | CREATE TABLE table_16849531_2 (ncbi_accession_number__mrna_protein_ VARCHAR, length__bp_aa_ VARCHAR) |
SELECT year_s__retired FROM table_name_32 WHERE serial_numbers = "27317–27336" | What year were the retired serial numbers 27317 27336? | CREATE TABLE table_name_32 (
year_s__retired VARCHAR,
serial_numbers VARCHAR
) |
SELECT runner_up FROM table_name_92 WHERE tournament = "são paulo" | What is the name of the runner up in the Tournament of são paulo? | CREATE TABLE table_name_92 (runner_up VARCHAR, tournament VARCHAR) |
SELECT ncbi_accession_number__mrna_protein_ FROM table_16849531_2 WHERE species = "Homo sapiens" | What is the NCBI Accession Number of the Homo Sapiens species? | CREATE TABLE table_16849531_2 (ncbi_accession_number__mrna_protein_ VARCHAR, species VARCHAR) |
SELECT DISTINCT course.name, course.number, program_course.workload FROM course, program_course WHERE course.department = 'EECS' AND course.number BETWEEN 300 AND 300 + 100 AND program_course.course_id = course.course_id AND program_course.workload < 3 ORDER BY program_course.workload | Provide me with some easy 300 -level courses ? | CREATE TABLE instructor (
instructor_id int,
name varchar,
uniqname varchar
)
CREATE TABLE gsi (
course_offering_id int,
student_id int
)
CREATE TABLE requirement (
requirement_id int,
requirement varchar,
college varchar
)
CREATE TABLE program (
program_id int,
name varchar,
... |
SELECT third_place FROM table_name_94 WHERE winner = "thomas enqvist" AND runner_up = "guy forget" | What person is in the third place when Thomas Enqvist won and a Runner-up was guy forget? | CREATE TABLE table_name_94 (third_place VARCHAR, winner VARCHAR, runner_up VARCHAR) |
SELECT protein_identity FROM table_16849531_2 WHERE length__bp_aa_ = "5304bp/377aa" | What is the protein identity with a length of 5304bp/377aa? | CREATE TABLE table_16849531_2 (protein_identity VARCHAR, length__bp_aa_ VARCHAR) |
SELECT HIRE_DATE, AVG(SALARY) FROM employees WHERE NOT FIRST_NAME LIKE '%M%' ORDER BY AVG(SALARY) DESC | For those employees whose first name does not containing the letter M, display their average salary by binning the hire date into Month interval for visualizing a bar chart, and list from high to low by the y axis. | CREATE TABLE countries (
COUNTRY_ID varchar(2),
COUNTRY_NAME varchar(40),
REGION_ID decimal(10,0)
)
CREATE TABLE regions (
REGION_ID decimal(5,0),
REGION_NAME varchar(25)
)
CREATE TABLE departments (
DEPARTMENT_ID decimal(4,0),
DEPARTMENT_NAME varchar(30),
MANAGER_ID decimal(6,0),
... |
SELECT tournament FROM table_name_15 WHERE runner_up = "thomas enqvist" | What tournament was Thomas Enqvist runner up? | CREATE TABLE table_name_15 (tournament VARCHAR, runner_up VARCHAR) |
SELECT release_date FROM table_16859758_1 WHERE title = "Tell You When" | When was "Tell You When" released? | CREATE TABLE table_16859758_1 (release_date VARCHAR, title VARCHAR) |
SELECT "Percentage Lost" FROM table_63871 WHERE "Starting Weight (kg)" > '102' AND "Weight Lost (kg)" = '46.9' | What is the Percentage Lost for the contestant with a starting weight above 102 kg who lost 46.9 kg? | CREATE TABLE table_63871 (
"Contestant" text,
"Starting Weight (kg)" real,
"Final Weight (kg)" real,
"Weight Lost (kg)" real,
"Percentage Lost" text,
"Position (out of Eliminated Contestants)" text
) |
SELECT runner_up FROM table_name_18 WHERE third_place = "yevgeny kafelnikov" AND score = "3–6, 6–4, [10–3]" | What is the name of the runner up when yevgeny kafelnikov was third place and the score was 3–6, 6–4, [10–3]? | CREATE TABLE table_name_18 (runner_up VARCHAR, third_place VARCHAR, score VARCHAR) |
SELECT location FROM table_16864968_7 WHERE game = 62 | Where was game 62 played? | CREATE TABLE table_16864968_7 (location VARCHAR, game VARCHAR) |
SELECT "name" FROM table_204_541 ORDER BY "floors" LIMIT 1 | which building had the least number of floors ? | CREATE TABLE table_204_541 (
id number,
"name" text,
"area" text,
"height" text,
"floors" number,
"year" number
) |
SELECT winner FROM table_name_65 WHERE third_place = "goran ivanišević" | What is the name of the winner when Goran Ivanišević was in third place? | CREATE TABLE table_name_65 (winner VARCHAR, third_place VARCHAR) |
SELECT score FROM table_16864968_7 WHERE opponent = "Columbus Blue Jackets" | What was the final score when the Maple Leafs played the Columbus Blue Jackets? | CREATE TABLE table_16864968_7 (score VARCHAR, opponent VARCHAR) |
SELECT MIN("Extras") FROM table_6928 WHERE "Name" = 'chamara kapugedera' AND "E.R." < '4.59' | What is the lowest Extras for Chamara Kapugedera, with an E.R. less than 4.59? | CREATE TABLE table_6928 (
"Name" text,
"Overs Bowled" real,
"Maidens" real,
"Runs Conceded" real,
"Wickets" real,
"Extras" real,
"E.R." real
) |
SELECT analog_channel FROM table_name_31 WHERE digital_channel = "4.1" | Which analog channel has a digital channel of 4.1? | CREATE TABLE table_name_31 (analog_channel VARCHAR, digital_channel VARCHAR) |
SELECT network FROM table_16884579_1 WHERE host_s_ = "Dré Steemans Ann Van Elsen" | Name the network for dré steemans ann van elsen | CREATE TABLE table_16884579_1 (network VARCHAR, host_s_ VARCHAR) |
SELECT DisplayName FROM Users WHERE LastAccessDate >= DATEDIFF(d, 2, GETDATE()) | Unanswered questions by active users. | CREATE TABLE ReviewRejectionReasons (
Id number,
Name text,
Description text,
PostTypeId number
)
CREATE TABLE ReviewTaskStates (
Id number,
Name text,
Description text
)
CREATE TABLE Comments (
Id number,
PostId number,
Score number,
Text text,
CreationDate time,
U... |
SELECT digital_channel FROM table_name_65 WHERE name = "storm tracker" | Which digital channel is named Storm Tracker? | CREATE TABLE table_name_65 (digital_channel VARCHAR, name VARCHAR) |
SELECT seasons_and_winners FROM table_16884579_1 WHERE premiere = "28 January 2007" | Name the seasons and winners that airs 28 january 2007 | CREATE TABLE table_16884579_1 (seasons_and_winners VARCHAR, premiere VARCHAR) |
SELECT MIN(rank) FROM table_22355_5 | What's the minimal rank of a athlete shown in the chart? | CREATE TABLE table_22355_5 (
rank INTEGER
) |
SELECT analog_channel FROM table_name_16 WHERE network = "fox" | Which analog channel is Fox on? | CREATE TABLE table_name_16 (analog_channel VARCHAR, network VARCHAR) |
SELECT host_s_ FROM table_16884579_1 WHERE network = "Prime" | Name the host for prime | CREATE TABLE table_16884579_1 (host_s_ VARCHAR, network VARCHAR) |
SELECT vitalperiodic.observationtime FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '027-136480')) AND vitalperiodic.heartrate > 122.0 A... | when was the first time the heartrate for patient 027-136480 was greater than 122.0 until 12/30/2105? | CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
heartrate number,
respiration number,
systemicsystolic number,
systemicdiastolic number,
systemicmean number,
observationtime time
)
CREATE TABLE intakeoutput (
in... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.