answer stringlengths 6 3.91k | question stringlengths 7 766 | context stringlengths 27 7.14k |
|---|---|---|
SELECT us_viewers__millions_ FROM table_22078972_2 WHERE no_in_series = 103 | How many millions of people in the US saw the episode with series number 103? | CREATE TABLE table_22078972_2 (us_viewers__millions_ VARCHAR, no_in_series 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_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'ATLANTA' AND flight.arrival_time < 1800 AND flight.to_airport = AIRPORT_SERVICE_1.airpo... | i'd like to find a nonstop flight from BOSTON to ATLANTA that leaves sometime in the afternoon and arrives in ATLANTA before evening | CREATE TABLE date_day (
month_number int,
day_number int,
year int,
day_name varchar
)
CREATE TABLE days (
days_code varchar,
day_name varchar
)
CREATE TABLE time_zone (
time_zone_code text,
time_zone_name text,
hours_from_gmt int
)
CREATE TABLE airline (
airline_code varchar,... |
SELECT icelandic FROM table_name_47 WHERE norwegian__nynorsk_ = "kvitt/kvit" | Which Icelandic has a Norwegian (nynorsk) of kvitt/kvit? | CREATE TABLE table_name_47 (icelandic VARCHAR, norwegian__nynorsk_ VARCHAR) |
SELECT no_in_series FROM table_22078906_2 WHERE us_viewers__millions_ = "15.89" | What number episode in the series was watched by 15.89 million U.S. viewers? | CREATE TABLE table_22078906_2 (no_in_series VARCHAR, us_viewers__millions_ VARCHAR) |
SELECT T2.song_name FROM files AS T1 JOIN song AS T2 ON T1.f_id = T2.f_id WHERE T1.formats = "mp3" INTERSECT SELECT song_name FROM song WHERE resolution < 1000 | Return the names of songs for which format is mp3 and resolution is below 1000. | CREATE TABLE genre (
g_name text,
rating text,
most_popular_in text
)
CREATE TABLE song (
song_name text,
artist_name text,
country text,
f_id number,
genre_is text,
rating number,
languages text,
releasedate time,
resolution number
)
CREATE TABLE files (
f_id numbe... |
SELECT faroese FROM table_name_83 WHERE english = "white" | Which Faroese has an English of white? | CREATE TABLE table_name_83 (faroese VARCHAR, english VARCHAR) |
SELECT title FROM table_22078906_2 WHERE directed_by = "William Webb" | What is the title of the episode directed by William Webb? | CREATE TABLE table_22078906_2 (title VARCHAR, directed_by VARCHAR) |
SELECT COUNT("Best UK team") FROM table_22958 WHERE "Class 1-200" = 'University of Birmingham' | Name the best uk team for university of birmingham | CREATE TABLE table_22958 (
"Year" text,
"Location" text,
"Class 1" text,
"Best UK team" text,
"Class 1-200" text,
"Class 3" text,
"Class 1a" text
) |
SELECT norwegian__nynorsk_ FROM table_name_12 WHERE danish = "farvel" | Which Norwegian (nynorsk) has a Danish of farvel? | CREATE TABLE table_name_12 (norwegian__nynorsk_ VARCHAR, danish VARCHAR) |
SELECT result FROM table_2208838_2 WHERE runner_up = "River Plate" | What was the final score when River Plate was the runner-up? | CREATE TABLE table_2208838_2 (result VARCHAR, runner_up VARCHAR) |
SELECT COUNT(DISTINCT t2.subject_id) FROM (SELECT t1.subject_id, t1.charttime FROM (SELECT admissions.subject_id, diagnoses_icd.charttime FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_di... | how many patient have died after they were diagnosed with ch ob asthma w stat asth in the same month? | CREATE TABLE labevents (
row_id number,
subject_id number,
hadm_id number,
itemid number,
charttime time,
valuenum number,
valueuom text
)
CREATE TABLE d_labitems (
row_id number,
itemid number,
label text
)
CREATE TABLE prescriptions (
row_id number,
subject_id number,... |
SELECT english FROM table_name_69 WHERE danish = "rødt/rød" | Which English has a Danish of rødt/rød? | CREATE TABLE table_name_69 (english VARCHAR, danish VARCHAR) |
SELECT spent_per_voter___php__ FROM table_22097588_9 WHERE amount_spent___php__ = "210,280,000" | What was spent per voter when total amount spent was 210,280,000? | CREATE TABLE table_22097588_9 (spent_per_voter___php__ VARCHAR, amount_spent___php__ VARCHAR) |
SELECT COUNT(*) > 0 FROM diagnosis WHERE diagnosis.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '028-55503')) AND DATETIME(diagnosis.diagnosistime) >= DATETIME(CURRENT_TIME(... | has patient 028-55503 ever received a diagnosis since 1 year ago? | 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 congress FROM table_name_97 WHERE _number_of_cosponsors = 44 | What number of Congress has 44 cosponsors? | CREATE TABLE table_name_97 (congress VARCHAR, _number_of_cosponsors VARCHAR) |
SELECT spent_per_voter___php__ FROM table_22097588_9 WHERE spent_per_vote___php__ = "20.07" | What was spent per voter when the spent per vote was 20.07? | CREATE TABLE table_22097588_9 (spent_per_voter___php__ VARCHAR, spent_per_vote___php__ VARCHAR) |
SELECT laps FROM table_name_35 WHERE time_retired = "+8 laps" | Tell me the Laps for time/retired of +8 laps | CREATE TABLE table_name_35 (
laps VARCHAR,
time_retired VARCHAR
) |
SELECT sponsor FROM table_name_43 WHERE date_introduced = "april 22, 2004" | Who was the sponsor on April 22, 2004? | CREATE TABLE table_name_43 (sponsor VARCHAR, date_introduced VARCHAR) |
SELECT shows___sellout FROM table_22123920_4 WHERE sellout___percentage_ = "75%" | Between November 25–30, 2008 the sellout rate was at 75%, indicating that the ration between shows to sellout was what? | CREATE TABLE table_22123920_4 (shows___sellout VARCHAR, sellout___percentage_ VARCHAR) |
SELECT lens__35mm_equiv__zoom, _aperture FROM table_name_79 WHERE model = "coolpix 5400" | What is the lens zoom and aperture for the coolpix 5400? | CREATE TABLE table_name_79 (
lens__35mm_equiv__zoom VARCHAR,
_aperture VARCHAR,
model VARCHAR
) |
SELECT score FROM table_name_98 WHERE home = "new york rangers" | What is the score of the game when the New York Rangers were the home team? | CREATE TABLE table_name_98 (score VARCHAR, home VARCHAR) |
SELECT tickets_sold___available FROM table_22123920_4 WHERE gross_sales = "$2,628,457" | During the period in which gross sales totals for "The Show Girl Must Go On" reached $2,628,457, what did the numbers show for tickets sold/ available at the box office? | CREATE TABLE table_22123920_4 (tickets_sold___available VARCHAR, gross_sales VARCHAR) |
SELECT COUNT("districts") FROM table_204_739 WHERE "population" > 100000 | how many districts have more than 100,000 people in this city ? | CREATE TABLE table_204_739 (
id number,
"districts" text,
"ubigeo" number,
"area\n(km2)" number,
"population" number,
"population density\n(/km2)" number,
"created" text,
"postal\ncode" number
) |
SELECT result FROM table_name_26 WHERE date = "8 october 1961" | What was the result on 8 October 1961? | CREATE TABLE table_name_26 (result VARCHAR, date VARCHAR) |
SELECT dates__mdy_ FROM table_22123920_4 WHERE gross_sales = "$2,877,906" | Which specific dates encompass the time period when "The Show Girl Must Go On" showed a gross sales figure total of $2,877,906? | CREATE TABLE table_22123920_4 (dates__mdy_ VARCHAR, gross_sales VARCHAR) |
SELECT status FROM table_name_84 WHERE authors = "del corro" | What is the status of Author Del Corro? | CREATE TABLE table_name_84 (
status VARCHAR,
authors VARCHAR
) |
SELECT venue FROM table_name_33 WHERE date = "27 april 1964" | What was the venue of the game on 27 April 1964? | CREATE TABLE table_name_33 (venue VARCHAR, date VARCHAR) |
SELECT year__ceremony_ FROM table_22102732_1 WHERE english_title = "Time Out" | What year and the corresponding ceremony was the english titled movie "time out" submitted? | CREATE TABLE table_22102732_1 (year__ceremony_ VARCHAR, english_title VARCHAR) |
SELECT MIN(series__number) FROM table_name_41 WHERE production_code = 717 AND season__number < 17 | Name the least series number with production code of 717 and season number less than 17 | CREATE TABLE table_name_41 (
series__number INTEGER,
production_code VARCHAR,
season__number VARCHAR
) |
SELECT home_team AS score FROM table_name_1 WHERE away_team = "hawthorn" | What is the home team score when the away team was Hawthorn? | CREATE TABLE table_name_1 (home_team VARCHAR, away_team VARCHAR) |
SELECT COUNT(english_title) FROM table_22102732_1 WHERE director = "Carlos Moreno" | How many english titles were directed by carlos moreno? | CREATE TABLE table_22102732_1 (english_title VARCHAR, director VARCHAR) |
SELECT "Away team" FROM table_77788 WHERE "Home team" = 'melbourne' | During melbourne's home game, who was the away team? | CREATE TABLE table_77788 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) |
SELECT score FROM table_name_56 WHERE opponent_in_the_final = "divij sharan" | What was the score of the game against Divij Sharan? | CREATE TABLE table_name_56 (score VARCHAR, opponent_in_the_final VARCHAR) |
SELECT rank_number FROM table_22098274_1 WHERE winning_pitcher = "Kelli Miller" | What is the rank # of kelli miller the winning pitcher? | CREATE TABLE table_22098274_1 (rank_number VARCHAR, winning_pitcher VARCHAR) |
SELECT original_title FROM table_name_36 WHERE film_title_used_in_nomination = "keep smiling" | What was the original title for the film used in nomination of keep smiling? | CREATE TABLE table_name_36 (
original_title VARCHAR,
film_title_used_in_nomination VARCHAR
) |
SELECT score FROM table_name_85 WHERE surface = "hard" AND opponent_in_the_final = "peter gojowczyk" | What was the score of the match that was a played on a hard surface against Peter Gojowczyk? | CREATE TABLE table_name_85 (score VARCHAR, surface VARCHAR, opponent_in_the_final VARCHAR) |
SELECT COUNT(site) FROM table_22098274_1 WHERE date = "May 1, 2004" | How many number of site have May 1, 2004 as the date? | CREATE TABLE table_22098274_1 (site VARCHAR, date VARCHAR) |
SELECT "product" FROM table_204_870 ORDER BY id DESC LIMIT 1 | what is the last product represented in the chart ? | CREATE TABLE table_204_870 (
id number,
"product" text,
"main functionality" text,
"input format" text,
"output format" text,
"platform" text,
"license and cost" text,
"notes" text
) |
SELECT COUNT(attendance) FROM table_name_59 WHERE record = "43-34" | How many attended the game with a record of 43-34? | CREATE TABLE table_name_59 (attendance VARCHAR, record VARCHAR) |
SELECT time FROM table_22098274_1 WHERE site = "USF Softball Field • Tampa, FL" AND result = "W4-0" | At what time is the site usf softball field • tampa, fl and w4-0 is the result? | CREATE TABLE table_22098274_1 (time VARCHAR, site VARCHAR, result VARCHAR) |
SELECT COUNT(appearances) FROM table_name_95 WHERE goals = 5 AND rank < 7 | How many appearances were made by people that had 5 goals and less than 7 rank? | CREATE TABLE table_name_95 (
appearances VARCHAR,
goals VARCHAR,
rank VARCHAR
) |
SELECT opponents FROM table_name_81 WHERE partner = "michelle strebel" | Who was Manuela Maleeva opponent when she played a match partnered with michelle strebel? | CREATE TABLE table_name_81 (opponents VARCHAR, partner VARCHAR) |
SELECT result FROM table_22118197_1 WHERE english_title = "Morning Undersea" | What was the result for the film with the English name of Morning Undersea? | CREATE TABLE table_22118197_1 (result VARCHAR, english_title VARCHAR) |
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_location = "CLINIC REFERRAL/PREMATURE" AND demographic.diagnosis = "CELO-VESSICLE FISTULA" | what is the number of patients whose admission location is clinic referral/premature and primary disease is celo-vessicle fistula? | 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 AVG(points) FROM table_name_61 WHERE pct__percentage > 0.685 | When the percent is larger than 0.685, what is the average number of points scored? | CREATE TABLE table_name_61 (points INTEGER, pct__percentage INTEGER) |
SELECT result FROM table_22118197_1 WHERE portuguese_title = "Um Filme Falado" | What was the result of the film with the Portuguese title, Um Filme Falado? | CREATE TABLE table_22118197_1 (result VARCHAR, portuguese_title VARCHAR) |
SELECT COUNT(date) FROM table_27734769_8 WHERE high_assists = "Andre Miller (7)" | How many times was the high assists andre miller (7)? | CREATE TABLE table_27734769_8 (
date VARCHAR,
high_assists VARCHAR
) |
SELECT MIN(pct__percentage) FROM table_name_90 WHERE points < 37 | When less than 37 points are scored, what's the lowest Pct % found? | CREATE TABLE table_name_90 (pct__percentage INTEGER, points INTEGER) |
SELECT portuguese_title FROM table_22118197_1 WHERE english_title = "Belle Toujours" | What is the Portuguese name of the film who's English title is, Belle Toujours? | CREATE TABLE table_22118197_1 (portuguese_title VARCHAR, english_title VARCHAR) |
SELECT place FROM table_name_35 WHERE score = 65 - 70 - 72 = 207 | What was the place when the score was 65-70-72=207? | CREATE TABLE table_name_35 (
place VARCHAR,
score VARCHAR
) |
SELECT round FROM table_name_82 WHERE event = "rings: king of kings 2000 block a" AND record = "6-1" | How many rounds did the event rings: king of kings 2000 block a have with a record of 6-1? | CREATE TABLE table_name_82 (round VARCHAR, event VARCHAR, record VARCHAR) |
SELECT result FROM table_22128871_1 WHERE year__ceremony_ = "2007 (80th)" | What is every result for the ceremony year of 2007 (80th)? | CREATE TABLE table_22128871_1 (result VARCHAR, year__ceremony_ VARCHAR) |
SELECT MAX("Crowd") FROM table_58045 WHERE "Venue" = 'mcg' | What was the highest crowd at the venue MCG? | CREATE TABLE table_58045 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) |
SELECT time FROM table_name_72 WHERE event = "adrenaline mma 3" | How long was the fight 'adrenaline mma 3'? | CREATE TABLE table_name_72 (time VARCHAR, event VARCHAR) |
SELECT english_title FROM table_22128871_1 WHERE result = "Nominee" | What is every English title for the result of nominee? | CREATE TABLE table_22128871_1 (english_title VARCHAR, result VARCHAR) |
SELECT COUNT("name") FROM table_203_298 WHERE "ascended" = 2010 | what is the total number of monarchs that ascended the throne in 2010 ? | CREATE TABLE table_203_298 (
id number,
"rank" number,
"name" text,
"nation(s)" text,
"born" text,
"ascended" text,
"years reigned" text
) |
SELECT record FROM table_name_60 WHERE opponent = "john salter" | What was roberto travern's record when he fought against john salter? | CREATE TABLE table_name_60 (record VARCHAR, opponent VARCHAR) |
SELECT COUNT(director) FROM table_22128871_1 WHERE vietnamese_title = "Gate, gate, paragate" | How many directors have vietnamese titles of Gate, Gate, Paragate? | CREATE TABLE table_22128871_1 (director VARCHAR, vietnamese_title VARCHAR) |
SELECT T2.region_name FROM affected_region AS T1 JOIN region AS T2 ON T1.region_id = T2.region_id JOIN storm AS T3 ON T1.storm_id = T3.storm_id WHERE T3.number_deaths >= 10 | What are the region names affected by the storm with a number of deaths of least 10? | CREATE TABLE affected_region (
region_id number,
storm_id number,
number_city_affected number
)
CREATE TABLE region (
region_id number,
region_code text,
region_name text
)
CREATE TABLE storm (
storm_id number,
name text,
dates_active text,
max_speed number,
damage_millions... |
SELECT away_team AS score FROM table_name_16 WHERE venue = "mcg" | What was the score of the away team at the MCG? | CREATE TABLE table_name_16 (away_team VARCHAR, venue VARCHAR) |
SELECT year__ceremony_ FROM table_22128871_1 WHERE result = "Nominee" | What is every ceremony year for the result of nominee? | CREATE TABLE table_22128871_1 (year__ceremony_ VARCHAR, result VARCHAR) |
SELECT intakeoutput.celllabel FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '018-95228') AND NOT patient.unitdischargetime IS NULL ORDER ... | tell me the name of the output patient 018-95228 had for the last time on the first icu visit? | CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
drugstoptime time
)
CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
h... |
SELECT constructor FROM table_name_1 WHERE grid > 20 AND time_retired = "accident" | Who constructed the car with a grid larger than 20 that got in an accident? | CREATE TABLE table_name_1 (constructor VARCHAR, grid VARCHAR, time_retired VARCHAR) |
SELECT pilot FROM table_221315_3 WHERE max_altitude__miles_ = "55.9" | Who was the pilot of max altitude of 55.9 miles? | CREATE TABLE table_221315_3 (pilot VARCHAR, max_altitude__miles_ VARCHAR) |
SELECT "City" FROM table_40696 WHERE "Region" = 'east' AND "Venue" = 'university hall (university of virginia)' | What city is east region venue University Hall (University of Virginia) in? | CREATE TABLE table_40696 (
"Region" text,
"Host" text,
"Venue" text,
"City" text,
"State" text
) |
SELECT position FROM table_name_6 WHERE cfl_team = "montreal alouettes (via edmonton)" | Which Position has a CFL Team of montreal alouettes (via edmonton)? | CREATE TABLE table_name_6 (position VARCHAR, cfl_team VARCHAR) |
SELECT MAX(fai_space_flights) FROM table_221315_3 WHERE max_mach = "5.65" | What is the highest number of fai space flights when max mach is 5.65? | CREATE TABLE table_221315_3 (fai_space_flights INTEGER, max_mach VARCHAR) |
SELECT date FROM table_name_29 WHERE league_position = "1st" AND result_f___a = "5 – 0" | What date that was the league position was 1st, and the result F A was 5 0? | CREATE TABLE table_name_29 (
date VARCHAR,
league_position VARCHAR,
result_f___a VARCHAR
) |
SELECT player FROM table_name_23 WHERE cfl_team = "montreal alouettes (via hamilton via winnipeg)" | Which Player has a CFL Team of montreal alouettes (via hamilton via winnipeg)? | CREATE TABLE table_name_23 (player VARCHAR, cfl_team VARCHAR) |
SELECT max_altitude__miles_ FROM table_221315_3 WHERE pilot = "Neil Armstrong" | What was the maximum altitude for Neil Armstrong? | CREATE TABLE table_221315_3 (max_altitude__miles_ VARCHAR, pilot VARCHAR) |
SELECT "Score" FROM table_36709 WHERE "Date" = '1/22' | What score has 1/22 as the date? | CREATE TABLE table_36709 (
"Date" text,
"Opponent" text,
"Score" text,
"Record" text,
"Television" text
) |
SELECT position FROM table_name_35 WHERE player = "patrick macdonald" | Which Position has a Player of patrick macdonald? | CREATE TABLE table_name_35 (position VARCHAR, player VARCHAR) |
SELECT COUNT(max_speed__mph_) FROM table_221315_3 WHERE usaf_space_flights = 1 AND total_flights = 34 | How many numbers were recorded under max speed for 1 USAF space flight and total flights 34? | CREATE TABLE table_221315_3 (max_speed__mph_ VARCHAR, usaf_space_flights VARCHAR, total_flights VARCHAR) |
SELECT * FROM table_train_77 WHERE (gender = 'male' OR gender = 'female') AND (age >= 50 AND age <= 90) | male or female 50 to 90 of age inclusive. | CREATE TABLE table_train_77 (
"id" int,
"gender" string,
"pregnancy_or_lactation" bool,
"language" string,
"hiv_aids" bool,
"age" float,
"NOUSE" float
) |
SELECT SUM(series) FROM table_name_54 WHERE sixth_place = "joan tena" | What series had Joan Tena in sixth place? | CREATE TABLE table_name_54 (series INTEGER, sixth_place VARCHAR) |
SELECT usaf_space_flights FROM table_221315_3 WHERE max_speed__mph_ = 3822 | What were all USAF space flights when the aximum speed was 3822? | CREATE TABLE table_221315_3 (usaf_space_flights VARCHAR, max_speed__mph_ VARCHAR) |
SELECT COUNT("No.") FROM table_31089 WHERE "Written by" = 'Jim Barnes' AND "U.S. viewers (million)" = '1.82' | Name the number of episodes that jim barnes wrote for 1.82 million viewers | CREATE TABLE table_31089 (
"No." real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" text,
"U.S. viewers (million)" text
) |
SELECT sixth_place FROM table_name_34 WHERE series = 7 | Who was in sixth place in series 7? | CREATE TABLE table_name_34 (sixth_place VARCHAR, series VARCHAR) |
SELECT max_mach FROM table_221315_3 WHERE max_speed__mph_ = 3887 | What was the max mach when the maximum speed was 3887? | CREATE TABLE table_221315_3 (max_mach VARCHAR, max_speed__mph_ VARCHAR) |
SELECT "Gas storage" FROM table_24565 WHERE "Alternative fuel" = 'Yes' | What was the gas storage status for the nation that had 'yes' for alternative fuel? | CREATE TABLE table_24565 (
"Country" text,
"% of imports from Russia" text,
"% cut" text,
"Diversification" text,
"Gas storage" text,
"Alternative fuel" text
) |
SELECT sixth_place FROM table_name_19 WHERE fifth_place = "hugo salazar" | Who was sixth place when Hugo Salazar was fifth place? | CREATE TABLE table_name_19 (sixth_place VARCHAR, fifth_place VARCHAR) |
SELECT away_leg FROM table_2214582_1 WHERE round = 1 AND aggregate = "2-0" | What is the record for the away leg in round 1 and aggregate 2-0? | CREATE TABLE table_2214582_1 (away_leg VARCHAR, round VARCHAR, aggregate VARCHAR) |
SELECT MAX(number_one_s_) FROM table_19542477_8 | What is the highest overall number one(s)? | CREATE TABLE table_19542477_8 (
number_one_s_ INTEGER
) |
SELECT third_place FROM table_name_78 WHERE fifth_place = "fran dieli" | Who was third place when Fran Dieli was fifth place? | CREATE TABLE table_name_78 (third_place VARCHAR, fifth_place VARCHAR) |
SELECT COUNT(parishes) FROM table_221375_1 WHERE province_of_1936 = "Beira Baixa Province" | Name the parishes for beira baixa province | CREATE TABLE table_221375_1 (parishes VARCHAR, province_of_1936 VARCHAR) |
SELECT "Base Fares" FROM table_54999 WHERE "Fare Categories" = 'senior/disabled' | What is the Base Fare in the senior/disabled category? | CREATE TABLE table_54999 (
"Fare Categories" text,
"Base Fares" text,
"Day Pass" text,
"7-Day Pass" text,
"30-Day Pass" text
) |
SELECT order_and_title FROM table_name_88 WHERE elevated = "1261, december 17" AND faction = "angevin" | What is the Order and Title with an Elevated with 1261, december 17, and a Faction with angevin? | CREATE TABLE table_name_88 (order_and_title VARCHAR, elevated VARCHAR, faction VARCHAR) |
SELECT MAX(municipalities) FROM table_221375_1 WHERE province_of_1936 = "Alto Alentejo Province (partly Ribatejo)" | Name the most municipalities for alto alentejo province (partly ribatejo) | CREATE TABLE table_221375_1 (municipalities INTEGER, province_of_1936 VARCHAR) |
SELECT MAX("Played") FROM table_61253 WHERE "Goals Scored" < '18' AND "Lost" > '10' | Name the highest Played of Goals Scored smaller than 18 and a Lost larger than 10? | CREATE TABLE table_61253 (
"Team" text,
"Played" real,
"Draw" real,
"Lost" real,
"Goals Scored" real,
"Goals Conceded" real,
"Points" text
) |
SELECT elector FROM table_name_5 WHERE nationality = "roman" AND elevator = "urban iv" AND elevated = "1261, december 17" | What is the Elector with a Nationality with roman, and an Elevator of urban iv, and an Elevated with 1261, december 17? | CREATE TABLE table_name_5 (elector VARCHAR, elevated VARCHAR, nationality VARCHAR, elevator VARCHAR) |
SELECT province_of_1936 FROM table_221375_1 WHERE district = "Viana do Castelo" | Name province of 1936 viana do castelo | CREATE TABLE table_221375_1 (province_of_1936 VARCHAR, district VARCHAR) |
SELECT "03-04" FROM table_40392 WHERE "95-96" = '337,660' | What is 03-04, when 95-96 is 337,660? | CREATE TABLE table_40392 (
"School year" text,
"95-96" text,
"99-00" text,
"00-01" text,
"01-02" text,
"02-03" text,
"03-04" text,
"04-05" text,
"05-06" text,
"06-07" text
) |
SELECT nationality FROM table_name_36 WHERE elector = "bertrand de saint-martin" | What is the Nationality with an Elector with bertrand de saint-martin? | CREATE TABLE table_name_36 (nationality VARCHAR, elector VARCHAR) |
SELECT score FROM table_2215159_2 WHERE partner = "Rafael Osuna" | What was the score when the partner is Rafael Osuna? | CREATE TABLE table_2215159_2 (score VARCHAR, partner VARCHAR) |
SELECT launched FROM table_name_31 WHERE date_of_commission = "3 may 2001" | What is the Launched which is on 3 may 2001? | CREATE TABLE table_name_31 (
launched VARCHAR,
date_of_commission VARCHAR
) |
SELECT order_and_title FROM table_name_6 WHERE nationality = "roman" AND elector = "matteo orsini rosso" | What is the Order and Title with a Nationality with roman, and an Elector with matteo orsini rosso? | CREATE TABLE table_name_6 (order_and_title VARCHAR, nationality VARCHAR, elector VARCHAR) |
SELECT outcome FROM table_2215159_2 WHERE partner = "Rafael Osuna" | What was the outcome of the game when the partner is Rafael Osuna? | CREATE TABLE table_2215159_2 (outcome VARCHAR, partner VARCHAR) |
SELECT Id AS "post_link", Tags, ViewCount, CreationDate FROM Posts WHERE ParentId IS NULL AND AnswerCount = 0 AND Tags LIKE '<batch-file>' ORDER BY ViewCount LIMIT 100 | Unanswered Inactive Questions for a Specific Tag. Inactive questions with no answers for a specific tag (ViewCount ASC) | CREATE TABLE FlagTypes (
Id number,
Name text,
Description text
)
CREATE TABLE Votes (
Id number,
PostId number,
VoteTypeId number,
UserId number,
CreationDate time,
BountyAmount number
)
CREATE TABLE ReviewTaskStates (
Id number,
Name text,
Description text
)
CREATE T... |
SELECT elector FROM table_name_56 WHERE faction = "roman" AND elevated = "1244, may 28" | What is the Elector with a Faction of roman, and an Elevated with 1244, may 28? | CREATE TABLE table_name_56 (elector VARCHAR, faction VARCHAR, elevated VARCHAR) |
SELECT surface FROM table_2215159_2 WHERE championship = "French championships" | What is the surface of the French Championships? | CREATE TABLE table_2215159_2 (surface VARCHAR, championship VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.