answer
stringlengths
6
3.91k
question
stringlengths
7
766
context
stringlengths
27
7.14k
SELECT iata FROM table_name_5 WHERE airport = "hamburg airport"
What kind of IATA has an Airport of hamburg airport?
CREATE TABLE table_name_5 ( iata VARCHAR, airport VARCHAR )
SELECT venue FROM table_name_81 WHERE home_team = "footscray"
What was the venue when the home team was footscray?
CREATE TABLE table_name_81 (venue VARCHAR, home_team VARCHAR)
SELECT year FROM table_15315816_1 WHERE tournament_location = "Western Turnpike Golf Course"
When are all years that tournament location is Western Turnpike Golf Course?
CREATE TABLE table_15315816_1 (year VARCHAR, tournament_location VARCHAR)
SELECT Id AS "user_link", DisplayName, Reputation, Location FROM Users WHERE Location LIKE '%Sofia%' OR Location LIKE '%Bulgaria%' ORDER BY Reputation DESC LIMIT 200
Top 200 users from Bulgaria.
CREATE TABLE CloseAsOffTopicReasonTypes ( Id number, IsUniversal boolean, InputTitle text, MarkdownInputGuidance text, MarkdownPostOwnerGuidance text, MarkdownPrivilegedUserGuidance text, MarkdownConcensusDescription text, CreationDate time, CreationModeratorId number, ApprovalDa...
SELECT MIN(crowd) FROM table_name_72 WHERE away_team = "hawthorn"
What was the crowd when the away team was hawthorn?
CREATE TABLE table_name_72 (crowd INTEGER, away_team VARCHAR)
SELECT year FROM table_15315816_1 WHERE champion = "Ji Min Jeong"
When are all years that the champion is Ji Min Jeong?
CREATE TABLE table_15315816_1 (year VARCHAR, champion VARCHAR)
SELECT "Attendance" FROM table_64932 WHERE "Arena" = 'arrowhead pond of anaheim' AND "Points" < '5'
Which Attendance has an Arena of arrowhead pond of anaheim, and Points smaller than 5?
CREATE TABLE table_64932 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Record" text, "Arena" text, "Points" real )
SELECT city FROM table_name_86 WHERE stadium = "ciro vigorito"
What city houses the Ciro Vigorito stadium?
CREATE TABLE table_name_86 (city VARCHAR, stadium VARCHAR)
SELECT winners_share__$_ FROM table_15315816_1 WHERE year = "2004"
How much are all winners share ($) in the year 2004?
CREATE TABLE table_15315816_1 (winners_share__$_ VARCHAR, year VARCHAR)
SELECT "Rank (week)" FROM table_28418 WHERE "#" = '19'
What was the ranking of episode #19?
CREATE TABLE table_28418 ( "No." real, "#" real, "Title" text, "Directed by" text, "Written by" text, "U.S. viewers (million)" text, "Rank (week)" text, "Original air date" text, "Production code" text )
SELECT MAX(silver) FROM table_name_7 WHERE total = 4 AND nation = "poland" AND gold < 1
I want to know the highest silver for total of 4 for poland and gold less than 1
CREATE TABLE table_name_7 (silver INTEGER, gold VARCHAR, total VARCHAR, nation VARCHAR)
SELECT COUNT(dates) FROM table_15315816_1 WHERE year = "2006"
When are all dates in the year 2006?
CREATE TABLE table_15315816_1 (dates VARCHAR, year VARCHAR)
SELECT driver FROM table_name_45 WHERE grid = "1"
Which Driver has a Grid of 1?
CREATE TABLE table_name_45 ( driver VARCHAR, grid VARCHAR )
SELECT AVG(silver) FROM table_name_62 WHERE total > 1 AND bronze = 2 AND nation = "france" AND gold > 0
Tell me the average silver for total more than 1 with bronze of 2 for france and gold more than 0
CREATE TABLE table_name_62 (silver INTEGER, gold VARCHAR, nation VARCHAR, total VARCHAR, bronze VARCHAR)
SELECT dates FROM table_15315816_1 WHERE score = "205 (–8)" AND country = "Australia"
When are all dates with a score of 205 (–8) in Australia?
CREATE TABLE table_15315816_1 (dates VARCHAR, score VARCHAR, country VARCHAR)
SELECT "Horse" FROM table_76507 WHERE "Finished" = '8'
Which Horse finished in 8?
CREATE TABLE table_76507 ( "Finished" text, "Horse" text, "Jockey" text, "Trainer" text, "Odds" text )
SELECT COUNT(gold) FROM table_name_12 WHERE silver = 1 AND nation = "albania" AND total < 1
Tell me the number of gold for albania with a silver of 1 and total less than 1
CREATE TABLE table_name_12 (gold VARCHAR, total VARCHAR, silver VARCHAR, nation VARCHAR)
SELECT dates FROM table_15315816_1 WHERE country = "Canada"
What are all of the dates in the country of Canada?
CREATE TABLE table_15315816_1 (dates VARCHAR, country VARCHAR)
SELECT COUNT(rank) FROM table_name_49 WHERE assets__bn$_ = 70.74 AND market_value__bn$_ > 11.29
How many ranks have assets of $70.74 billion and market value greater than $11.29 billion?
CREATE TABLE table_name_49 ( rank VARCHAR, assets__bn$_ VARCHAR, market_value__bn$_ VARCHAR )
SELECT AVG(gold) FROM table_name_25 WHERE nation = "moldova" AND bronze < 1
Tell me the average gold for moldova and bronze less than 1
CREATE TABLE table_name_25 (gold INTEGER, nation VARCHAR, bronze VARCHAR)
SELECT dates FROM table_15315276_1 WHERE champion = "Jenny Gleason"
When was Jenny Gleason the champion of the Northeast Delta Dental International?
CREATE TABLE table_15315276_1 (dates VARCHAR, champion VARCHAR)
SELECT STRFTIME('%j', patient.unitdischargetime) - STRFTIME('%j', patient.unitadmittime) FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-254232') AND NOT patient.unitadmittime IS NULL ORDER BY patient.unitadmittime DESC LIMIT ...
calculate patient 006-254232's duration of stay of the last stay in the icu.
CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number...
SELECT SUM(gold) FROM table_name_31 WHERE bronze < 0
Tell me the sum of gold for bronze less than 0
CREATE TABLE table_name_31 (gold INTEGER, bronze INTEGER)
SELECT tournament_location FROM table_15315276_1 WHERE champion = "Misun Cho"
Where was the tournament located when Misun Cho won the championship?
CREATE TABLE table_15315276_1 (tournament_location VARCHAR, champion VARCHAR)
SELECT ROW_NUMBER() OVER (ORDER BY SUM(CASE WHEN VoteTypeId = 2 THEN 1 ELSE (CASE WHEN VoteTypeId = 3 THEN -1 ELSE 0 END) END) DESC) AS "#", Users.Id AS "user_link", SUM(CASE WHEN VoteTypeId = 2 THEN 1 ELSE (CASE WHEN VoteTypeId = 3 THEN -1 ELSE 0 END) END) AS CalcRep FROM Users, Tags INNER JOIN PostTags ON PostTags.Ta...
Top Ranking by Tag and Country.
CREATE TABLE CloseReasonTypes ( Id number, Name text, Description text ) CREATE TABLE Comments ( Id number, PostId number, Score number, Text text, CreationDate time, UserDisplayName text, UserId number, ContentLicense text ) CREATE TABLE PostHistory ( Id number, Po...
SELECT tyre FROM table_name_71 WHERE circuit = "zandvoort"
What tyre was used in the Zandvoort circuit?
CREATE TABLE table_name_71 (tyre VARCHAR, circuit VARCHAR)
SELECT MAX(purse__) AS $_ FROM table_15315276_1
What is the maximum purse prize of the Northeast Delta Dental International Championship?
CREATE TABLE table_15315276_1 (purse__ INTEGER)
SELECT T1.total_points FROM gymnast AS T1 JOIN people AS T2 ON T1.gymnast_id = T2.people_id ORDER BY T2.age LIMIT 1
What is the total point count of the youngest gymnast?
CREATE TABLE gymnast ( gymnast_id number, floor_exercise_points number, pommel_horse_points number, rings_points number, vault_points number, parallel_bars_points number, horizontal_bar_points number, total_points number ) CREATE TABLE people ( people_id number, name text, a...
SELECT circuit FROM table_name_86 WHERE constructor = "ferrari" AND fastest_lap = "alberto ascari"
Which circuit did Alberto Ascari set the fastest lap time with a Ferrari?
CREATE TABLE table_name_86 (circuit VARCHAR, constructor VARCHAR, fastest_lap VARCHAR)
SELECT COUNT(purse__) AS $_ FROM table_15315276_1 WHERE champion = "Jenny Shin"
How many prizes were available when Jenny Shin became the champion?
CREATE TABLE table_15315276_1 (purse__ VARCHAR, champion VARCHAR)
SELECT melbourne FROM table_name_49 WHERE adelaide = "no" AND auckland = "yes" AND gold_coast = "no"
Name the melbourne for adelaide of no with auckland of yes and gold coast of yes
CREATE TABLE table_name_49 ( melbourne VARCHAR, gold_coast VARCHAR, adelaide VARCHAR, auckland VARCHAR )
SELECT winning_driver FROM table_name_32 WHERE constructor = "ferrari" AND fastest_lap = "luigi villoresi"
Who won the race with a Ferrari, were Luigi Villoresi set the fastest lap time?
CREATE TABLE table_name_32 (winning_driver VARCHAR, constructor VARCHAR, fastest_lap VARCHAR)
SELECT team FROM table_15318779_1 WHERE points = 21
Which team had 21 points?
CREATE TABLE table_15318779_1 (team VARCHAR, points VARCHAR)
SELECT "Opponent" FROM table_6601 WHERE "Game" > '22' AND "Record" = '17-10-4'
Who was the opponent at the game later than game 22 when the record was 17-10-4?
CREATE TABLE table_6601 ( "Game" real, "December" real, "Opponent" text, "Score" text, "Record" text )
SELECT race FROM table_name_4 WHERE pole_position = "alberto ascari" AND winning_driver = "alberto ascari" AND fastest_lap = "luigi villoresi"
Which race did Alberto Ascari have both the Pole position and the win, but Luigi Villoresi set the fastest lap time?
CREATE TABLE table_name_4 (race VARCHAR, fastest_lap VARCHAR, pole_position VARCHAR, winning_driver VARCHAR)
SELECT MAX(won) FROM table_15318779_1 WHERE team = "Palmeiras"
How many games did Palmeiras win?
CREATE TABLE table_15318779_1 (won INTEGER, team VARCHAR)
SELECT MAX("Points") FROM table_71123 WHERE "Tyres" = 'g' AND "Chassis" = 'minardi m187'
What is the highest points with g Tyres and Minardi m187?
CREATE TABLE table_71123 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Tyres" text, "Points" real )
SELECT county FROM table_name_7 WHERE name = "broderick wood products"
Which county is named broderick wood products?
CREATE TABLE table_name_7 (county VARCHAR, name VARCHAR)
SELECT COUNT(lost) FROM table_15319684_1 WHERE against = 46
Name the number of lost for against being 46
CREATE TABLE table_15319684_1 (lost VARCHAR, against VARCHAR)
SELECT COUNT("Affiliation") FROM table_20707 WHERE "Enrollment" = '14898'
Name the total number of affiliation for enrollment being 14898
CREATE TABLE table_20707 ( "School" text, "Location" text, "Founded" real, "Affiliation" text, "Enrollment" real, "Nickname" text, "Primary conference" text )
SELECT construction_completed FROM table_name_76 WHERE name = "nelson tunnel/commodore waste rock"
What construction completed is named nelson tunnel/commodore waste rock?
CREATE TABLE table_name_76 (construction_completed VARCHAR, name VARCHAR)
SELECT COUNT(against) FROM table_15319684_1 WHERE team = "Portuguesa Santista"
Name the number of against for portuguesa santista
CREATE TABLE table_15319684_1 (against VARCHAR, team VARCHAR)
SELECT * FROM table_train_161 WHERE c_peptide_level < 1
c _ peptide value less than 1 pmol / ml 90 minutes after oral boost plus administration.
CREATE TABLE table_train_161 ( "id" int, "white_blood_cell_count_wbc" int, "systolic_blood_pressure_sbp" int, "c_peptide_level" float, "diastolic_blood_pressure_dbp" int, "heart_rate" int, "glycosylated_hemoglobin" float, "NOUSE" float )
SELECT cerclis_id FROM table_name_98 WHERE listed = "09/08/1983" AND name = "marshall landfill"
What is the ID of marshall landfill on 09/08/1983?
CREATE TABLE table_name_98 (cerclis_id VARCHAR, listed VARCHAR, name VARCHAR)
SELECT won FROM table_15319684_1 WHERE difference = "33"
Name the won for difference being 33
CREATE TABLE table_15319684_1 (won VARCHAR, difference VARCHAR)
SELECT mountains_classification FROM table_name_15 WHERE general_classification = "denis menchov" AND winner = "carlos sastre"
What's the mountains classification of winner Carlos Sastre when the general classification is Denis Menchov?
CREATE TABLE table_name_15 ( mountains_classification VARCHAR, general_classification VARCHAR, winner VARCHAR )
SELECT nominee FROM table_name_7 WHERE outcome = "won" AND category = "fourth best indian film"
Which nominee won the award for Fourth Best Indian Film?
CREATE TABLE table_name_7 (nominee VARCHAR, outcome VARCHAR, category VARCHAR)
SELECT MIN(lost) FROM table_15319684_1 WHERE team = "Corinthians"
Name the most losst for corinthians
CREATE TABLE table_15319684_1 (lost INTEGER, team VARCHAR)
SELECT MIN(t1.c1) FROM (SELECT COUNT(DISTINCT diagnosis.patientunitstayid) AS c1 FROM diagnosis WHERE diagnosis.diagnosisname = 'sinusitis - radiographically demonstrated' AND DATETIME(diagnosis.diagnosistime) <= DATETIME(CURRENT_TIME(), '-2 year') GROUP BY STRFTIME('%y-%m', diagnosis.diagnosistime)) AS t1
what was the minimum monthly number of patients who were diagnosed with sinusitis - radiographically demonstrated until 2 years ago?
CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemics...
SELECT ceremony FROM table_name_80 WHERE nominee = "harnam singh rawail"
In which ceremony was Harnam Singh Rawail nominated for an award?
CREATE TABLE table_name_80 (ceremony VARCHAR, nominee VARCHAR)
SELECT r_z___arcsecond__ FROM table_15318324_1 WHERE r_y___arcsecond__ = "−0.247"
How many values of r z (arcsecond) correspond with a r y (arcsecond) value of −0.247?
CREATE TABLE table_15318324_1 (r_z___arcsecond__ VARCHAR, r_y___arcsecond__ VARCHAR)
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.insurance = "Private" AND demographic.days_stay > "7"
give me the number of patients whose insurance is private and days of hospital stay is greater than 7?
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 ceremony FROM table_name_69 WHERE nominee = "jayant"
In which ceremony was Jayant nominated for an award?
CREATE TABLE table_name_69 (ceremony VARCHAR, nominee VARCHAR)
SELECT r_z___arcsecond__ FROM table_15318324_1 WHERE target_datum = "Ireland 1965"
How many values of r z(arcsecond) are associated with a target datum of Ireland 1965?
CREATE TABLE table_15318324_1 (r_z___arcsecond__ VARCHAR, target_datum VARCHAR)
SELECT patient.admissionheight FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '012-35195') AND NOT patient.admissionheight IS NULL ORDER BY patient.unitadmittime LIMIT 1
what the first height of patient 012-35195.
CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE lab ( labid number, patientuni...
SELECT surface FROM table_name_88 WHERE date = "april 24, 2003"
What surface was the April 24, 2003 match played on?
CREATE TABLE table_name_88 (surface VARCHAR, date VARCHAR)
SELECT muslim___percentage_of_total_population_ FROM table_1532779_1 WHERE population_of_england_and_wales_000 = 49634
What is the muslim percentage of the 49634 population of england and wales 000?
CREATE TABLE table_1532779_1 (muslim___percentage_of_total_population_ VARCHAR, population_of_england_and_wales_000 VARCHAR)
SELECT DISTINCT name FROM races ORDER BY name DESC
List the names of all distinct races in reversed lexicographic order?
CREATE TABLE drivers ( driverid number, driverref text, number number, code text, forename text, surname text, dob text, nationality text, url text ) CREATE TABLE circuits ( circuitid number, circuitref text, name text, location text, country text, lat number...
SELECT SUM(top_25) FROM table_name_47 WHERE cuts_made = 6
How many times has Watney made the top 25 for a tournament in which he as also been cut 6 times?
CREATE TABLE table_name_47 (top_25 INTEGER, cuts_made VARCHAR)
SELECT MAX(census_year) FROM table_1532779_1
What is the most recent census year?
CREATE TABLE table_1532779_1 (census_year INTEGER)
SELECT "Statistic" FROM table_59136 WHERE "Name" = 'calvin abueva calvin abueva'
Calvin Abueva Calvin Abueva had what statistic?
CREATE TABLE table_59136 ( "Statistic" text, "Name" text, "Total" text, "School" text, "Opponent" text, "Stage" text )
SELECT MAX(cuts_made) FROM table_name_54 WHERE top_25 = 4
Which tournament has the highest number of cuts while also having 4 top 25 appearances?
CREATE TABLE table_name_54 (cuts_made INTEGER, top_25 VARCHAR)
SELECT muslim___percentage_of_total_population_ FROM table_1532779_1 WHERE registered_mosques = 614
What was the percentage of muslims during a time where there were 614 registered mosques?
CREATE TABLE table_1532779_1 (muslim___percentage_of_total_population_ VARCHAR, registered_mosques VARCHAR)
SELECT time__cet_ FROM table_21536557_2 WHERE name = "Lillehammer 2"
What is every time(cet) for the name of Lillehammer 2?
CREATE TABLE table_21536557_2 ( time__cet_ VARCHAR, name VARCHAR )
SELECT MIN(grid) FROM table_name_6 WHERE time_retired = "collision" AND driver = "pedro diniz"
What is the smallest grid with collision as the Time/Retired for pedro diniz?
CREATE TABLE table_name_6 (grid INTEGER, time_retired VARCHAR, driver VARCHAR)
SELECT MAX(pa) FROM table_15333005_1 WHERE locale = Ontario
Name the most pa for ontario
CREATE TABLE table_15333005_1 (pa INTEGER, locale VARCHAR, Ontario VARCHAR)
SELECT "Statistic" FROM table_59137 WHERE "Opponent" = 'ssc-r'
When the opposing team was SSC-R what was the statistic?
CREATE TABLE table_59137 ( "Statistic" text, "Name" text, "Total" text, "School" text, "Opponent" text, "Stage" text )
SELECT COUNT(laps) FROM table_name_88 WHERE grid = 14
What is the number of laps for Grid 14?
CREATE TABLE table_name_88 (laps VARCHAR, grid VARCHAR)
SELECT Ends AS lost FROM table_15333005_1 WHERE pa = 67
Name the ends lost for 67 pa
CREATE TABLE table_15333005_1 (Ends VARCHAR, pa VARCHAR)
SELECT "date" FROM table_203_280 WHERE "result" = 'l' ORDER BY id LIMIT 1
when was their first loss of the season ?
CREATE TABLE table_203_280 ( id number, "week" number, "date" text, "opponent" text, "result" text, "record" text, "game site" text, "tv time" text, "attendance" number, "bye" text )
SELECT COUNT(grid) FROM table_name_65 WHERE driver = "mika häkkinen" AND laps > 45
What is the number of the grid for mika häkkinen and more than 45 laps?
CREATE TABLE table_name_65 (grid VARCHAR, driver VARCHAR, laps VARCHAR)
SELECT COUNT(Ends) AS won FROM table_15333005_1 WHERE l = 4 AND stolen_ends = 17
Name the number ends won when L is 4 and stolen ends is 17
CREATE TABLE table_15333005_1 (Ends VARCHAR, l VARCHAR, stolen_ends VARCHAR)
SELECT T3.pilot_name, T2.fleet_series FROM pilot_record AS T1 JOIN aircraft AS T2 ON T1.aircraft_id = T2.aircraft_id JOIN pilot AS T3 ON T1.pilot_id = T3.pilot_id ORDER BY T3.rank
Show the names of pilots and fleet series of the aircrafts they have flied with in ascending order of the rank of the pilot.
CREATE TABLE pilot ( pilot_id number, pilot_name text, rank number, age number, nationality text, position text, join_year number, team text ) CREATE TABLE pilot_record ( record_id number, pilot_id number, aircraft_id number, date text ) CREATE TABLE aircraft ( airc...
SELECT home_team FROM table_name_73 WHERE crowd > 19 OFFSET 000
Which home team has more than 19,000 spectators?
CREATE TABLE table_name_73 (home_team VARCHAR, crowd INTEGER)
SELECT date FROM table_15346009_1 WHERE tournament = "JELD-WEN Tradition"
What day was Jeld-Wen Tradition held?
CREATE TABLE table_15346009_1 (date VARCHAR, tournament VARCHAR)
SELECT "year" FROM table_203_438 WHERE "title" = 'beyond the sea'
what year was beyond the sea released ?
CREATE TABLE table_203_438 ( id number, "year" number, "title" text, "role" text, "notes" text )
SELECT theme FROM table_name_54 WHERE artist = "christie paquet" AND issue_price = "$34.95" AND year > 2004
What is the Theme of Christie Paquet after 2004 with an Issue Price of $34.95?
CREATE TABLE table_name_54 (theme VARCHAR, year VARCHAR, artist VARCHAR, issue_price VARCHAR)
SELECT date FROM table_15346009_1 WHERE winner = "Bernhard Langer (2)"
What day did Bernhard Langer (2) win?
CREATE TABLE table_15346009_1 (date VARCHAR, winner VARCHAR)
SELECT COUNT("title") FROM table_203_349 WHERE "original air date" = 8
how many titles are listed for august ?
CREATE TABLE table_203_349 ( id number, "no. in\nseries" number, "no. in\nseason" number, "title" text, "directed by" text, "written by" text, "original air date" text, "production\ncode" text, "u.s. viewers\n(millions)" number )
SELECT AVG(year) FROM table_name_78 WHERE artist = "christie paquet" AND issue_price = "$34.95"
What is the Year of Christie Paquet with Issue Price of $34.95?
CREATE TABLE table_name_78 (year INTEGER, artist VARCHAR, issue_price VARCHAR)
SELECT date FROM table_15346009_1 WHERE location = "Alabama"
On what day was the tournament in Alabama?
CREATE TABLE table_15346009_1 (date VARCHAR, location VARCHAR)
SELECT accreditation FROM table_2076522_2 WHERE school = "United Tribes Technical College"
What is the accrediation for united tribes technical college?
CREATE TABLE table_2076522_2 ( accreditation VARCHAR, school VARCHAR )
SELECT crowd FROM table_name_88 WHERE venue = "princes park"
What is the Crowd for the Venue of Princes Park?
CREATE TABLE table_name_88 (crowd VARCHAR, venue VARCHAR)
SELECT 1 AS st_prize__$__ FROM table_15346009_1 WHERE score = "271 (-9)"
What was the value of 1st prize when the score was 271 (-9)?
CREATE TABLE table_15346009_1 (score VARCHAR)
SELECT AVG(round) FROM table_name_18 WHERE college = "baylor" AND pick < 28
What is the average round of the player from the college of baylor with a pick less than 28?
CREATE TABLE table_name_18 ( round INTEGER, college VARCHAR, pick VARCHAR )
SELECT home_team AS score FROM table_name_98 WHERE home_team = "melbourne"
What is the Home team score for the Home team of Melbourne?
CREATE TABLE table_name_98 (home_team VARCHAR)
SELECT date FROM table_15346009_1 WHERE score = "200 (-16)"
What day was the score 200 (-16)?
CREATE TABLE table_15346009_1 (date VARCHAR, score VARCHAR)
SELECT component FROM table_name_21 WHERE integrated = "one"
What component has an integrated of one?
CREATE TABLE table_name_21 ( component VARCHAR, integrated VARCHAR )
SELECT home_team AS score FROM table_name_33 WHERE home_team = "south melbourne"
What is the Home team score for the Home team from South Melbourne?
CREATE TABLE table_name_33 (home_team VARCHAR)
SELECT location FROM table_15346009_1 WHERE tournament = "Outback Steakhouse Pro-Am"
Where was Outback Steakhouse Pro-AM held?
CREATE TABLE table_15346009_1 (location VARCHAR, tournament VARCHAR)
SELECT date, COUNT(date) FROM weather WHERE mean_sea_level_pressure_inches BETWEEN 30.3 AND 31 ORDER BY COUNT(date)
What are the dates that have an average sea level pressure between 303 and 31, and count them by a bar chart, and rank by the y-axis in ascending please.
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 home_team AS score FROM table_name_89 WHERE venue = "mcg"
What is the Home team score for the Venue named MCG?
CREATE TABLE table_name_89 (home_team VARCHAR, venue VARCHAR)
SELECT date_of_polls FROM table_15329030_1 WHERE state = "Mizoram"
Which dates of polls occur in the Mizoram state?
CREATE TABLE table_15329030_1 (date_of_polls VARCHAR, state VARCHAR)
SELECT COUNT(prominence__m_) FROM table_18946749_4 WHERE rank = 5
How many values of prominence(m) occur at rank 5?
CREATE TABLE table_18946749_4 ( prominence__m_ VARCHAR, rank VARCHAR )
SELECT MIN(earnings__) AS $__ FROM table_name_38 WHERE rank < 2
Who has the lowest earnings that has a rank smaller than 2?
CREATE TABLE table_name_38 (earnings__ INTEGER, rank INTEGER)
SELECT COUNT(date_of_polls) FROM table_15329030_1 WHERE state = "Madhya Pradesh"
How many dates of polls occur in the Madhya Pradesh state?
CREATE TABLE table_15329030_1 (date_of_polls VARCHAR, state VARCHAR)
SELECT country FROM table_name_84 WHERE to_par = "e"
What country has a To par of e?
CREATE TABLE table_name_84 ( country VARCHAR, to_par VARCHAR )
SELECT COUNT(wins) FROM table_name_73 WHERE rank > 2 AND player = "mike hill"
What was the total number of wins with player Mike Hill with a rank bigger than 2?
CREATE TABLE table_name_73 (wins VARCHAR, rank VARCHAR, player VARCHAR)
SELECT COUNT(against) FROM table_15352382_1 WHERE difference = 11
How many under the category of Against have a Difference of 11
CREATE TABLE table_15352382_1 (against VARCHAR, difference VARCHAR)
SELECT * FROM table_dev_31 WHERE (baseline_hemoglobin_hgb < 10.5 AND gender = 'female') OR (baseline_hemoglobin_hgb < 13 AND gender = 'male')
baseline hb < 10.5 gm / dl in female , or < 13 gm / dl in male
CREATE TABLE table_dev_31 ( "id" int, "gender" string, "pre_dm" bool, "hemoglobin_a1c_hba1c" float, "renal_disease" bool, "diabetic" string, "fasting_blood_glucose_fbg" float, "creatinine_clearance_cl" float, "estimated_glomerular_filtration_rate_egfr" int, "fasting_plasma_glucos...