answer stringlengths 6 3.91k | question stringlengths 7 766 | context stringlengths 27 7.14k |
|---|---|---|
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, date_day, days, flight WHERE ((CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'MILWAUKEE' AND date_day.day_number = 20 AND date_day.month_number = 1 AN... | what is the earliest flight from TAMPA to MILWAUKEE tomorrow | CREATE TABLE month (
month_number int,
month_name text
)
CREATE TABLE class_of_service (
booking_class varchar,
rank int,
class_description text
)
CREATE TABLE aircraft (
aircraft_code varchar,
aircraft_description varchar,
manufacturer varchar,
basic_type varchar,
engines int,... |
SELECT MIN(2009) FROM table_name_18 WHERE 2010 = 141 AND 1985 > 165 | What is the lowest 2009 value with a 2010 value of 141 and a 1985 value bigger than 165? | CREATE TABLE table_name_18 (Id VARCHAR) |
SELECT high_points FROM table_17323092_7 WHERE date = "February 10" | Who had the high points on the date February 10? | CREATE TABLE table_17323092_7 (high_points VARCHAR, date VARCHAR) |
SELECT "Score" FROM table_67164 WHERE "Country" = 'australia' | What is the score of Australia? | CREATE TABLE table_67164 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
) |
SELECT SUM(1995) FROM table_name_35 WHERE 2005 > 74 AND 2008 = 84 AND 2000 < 80 | What is the 1995 value with a 2005 value bigger than 74, a 2008 value of 84, and a 2000 value less than 80? | CREATE TABLE table_name_35 (Id VARCHAR) |
SELECT COUNT(high_points) FROM table_17323092_7 WHERE location_attendance = "FedExForum 11,498" | How many players had high points in the location/attendance FedexForum 11,498 respectively? | CREATE TABLE table_17323092_7 (high_points VARCHAR, location_attendance VARCHAR) |
SELECT "Party" FROM table_18153 WHERE "First elected" = '1990' | What's the party elected in the district that first elected in 1990? | CREATE TABLE table_18153 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" text,
"Results" text,
"Candidates" text
) |
SELECT label FROM table_name_24 WHERE year > 2004 | What label is after 2004? | CREATE TABLE table_name_24 (label VARCHAR, year INTEGER) |
SELECT high_rebounds FROM table_17323092_7 WHERE high_assists = "Shawn Marion (6)" | When the high assists were Shawn Marion (6) who had high rebounds? | CREATE TABLE table_17323092_7 (high_rebounds VARCHAR, high_assists VARCHAR) |
SELECT "Cost per capita" FROM table_17626 WHERE "Total costs (2005)" = '$700,116' | When total costs (2005) are $700,116, what is the cost per capita? | CREATE TABLE table_17626 (
"Municipality" text,
"Population" real,
"Police officers" real,
"Residents per officer" real,
"Total costs (2005)" text,
"Cost per capita" text,
"Case burden" real,
"Crime rate per 1,000 people" real,
"Police force" text
) |
SELECT format, _special_notes FROM table_name_23 WHERE title = "the pact: ...of the gods" | What is the Format and Special Notes for of the pact: ...of the gods? | CREATE TABLE table_name_23 (format VARCHAR, _special_notes VARCHAR, title VARCHAR) |
SELECT date FROM table_17323092_8 WHERE team = "Miami" | What dates did they play Miami? | CREATE TABLE table_17323092_8 (date VARCHAR, team VARCHAR) |
SELECT d_items.label FROM d_items WHERE d_items.itemid IN (SELECT t1.itemid FROM (SELECT inputevents_cv.itemid, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM inputevents_cv WHERE DATETIME(inputevents_cv.charttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year') GROUP BY inputevents_cv.it... | tell me what are the top three most common intakes during a year before? | CREATE TABLE chartevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
itemid number,
charttime time,
valuenum number,
valueuom text
)
CREATE TABLE d_icd_diagnoses (
row_id number,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE... |
SELECT title FROM table_name_98 WHERE tracks = "noxialicht" | What movie has noxialicht as a track? | CREATE TABLE table_name_98 (title VARCHAR, tracks VARCHAR) |
SELECT date FROM table_17323092_8 WHERE high_points = "Chris Bosh (18)" | What dates did Chris Bosh (18) score the high points? | CREATE TABLE table_17323092_8 (date VARCHAR, high_points VARCHAR) |
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.dod_year <= "2155.0" AND diagnoses.icd9_code = "4240" | count the number of patients whose year of death is less than or equal to 2155 and diagnoses icd9 code is 4240? | 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 MIN(gold) FROM table_name_81 WHERE rank = "12" | What is the lowest gold medals of a rank 12 team? | CREATE TABLE table_name_81 (gold INTEGER, rank VARCHAR) |
SELECT location_attendance FROM table_17323092_8 WHERE high_assists = "Anthony Parker (7)" | Where was the location and what was the attendance in the game that Anthony Parker (7) earned high assists? | CREATE TABLE table_17323092_8 (location_attendance VARCHAR, high_assists VARCHAR) |
SELECT first_elected FROM table_1342270_3 WHERE incumbent = "Joe Starnes" | what's the first elected with incumbent being joe starnes | CREATE TABLE table_1342270_3 (
first_elected VARCHAR,
incumbent VARCHAR
) |
SELECT COUNT(bronze) FROM table_name_67 WHERE silver > 8 AND total = 50 | What is the total number of bronze medals of the team with more than 8 silvers and a total of 50 medals? | CREATE TABLE table_name_67 (bronze VARCHAR, silver VARCHAR, total VARCHAR) |
SELECT high_points FROM table_17323092_8 WHERE game = 69 | Who earned high points in game 69? | CREATE TABLE table_17323092_8 (high_points VARCHAR, game VARCHAR) |
SELECT active_from_date, COUNT(active_from_date) FROM Customers AS t1 JOIN Customer_Contact_Channels AS t2 ON t1.customer_id = t2.customer_id WHERE t2.channel_code = 'Email' ORDER BY COUNT(active_from_date) | Find the number of customers that use email as the contact channel for each weekday Visualize with a bar chart, order from low to high by the Y-axis please. | CREATE TABLE Customer_Addresses (
customer_id INTEGER,
address_id INTEGER,
date_address_from DATETIME,
address_type VARCHAR(15),
date_address_to DATETIME
)
CREATE TABLE Products (
product_id INTEGER,
product_details VARCHAR(255)
)
CREATE TABLE Customers (
customer_id INTEGER,
payme... |
SELECT AVG(gold) FROM table_name_65 WHERE nation = "uzbekistan" AND total < 24 | What is the average gold medals Uzbekistan, which has less than 24 total medals, has? | CREATE TABLE table_name_65 (gold INTEGER, nation VARCHAR, total VARCHAR) |
SELECT COUNT(high_points) FROM table_17323092_6 WHERE date = "January 21" | What is the total number of high points on January 21? | CREATE TABLE table_17323092_6 (high_points VARCHAR, date VARCHAR) |
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.discharge_location = "SNF" AND demographic.diagnosis = "UPPER GI BLEED" | provide the number of patients whose discharge location is snf and primary disease is upper gi bleed? | CREATE TABLE procedures (
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
)
... |
SELECT open_cup FROM table_name_18 WHERE year > 1993 | Which open cup was after 1993? | CREATE TABLE table_name_18 (open_cup VARCHAR, year INTEGER) |
SELECT location_attendance FROM table_17323092_6 WHERE team = "Orlando" | What is the location and attendance for the Orlando team? | CREATE TABLE table_17323092_6 (location_attendance VARCHAR, team VARCHAR) |
SELECT COUNT("Candidates") FROM table_18493 WHERE "Incumbent" = 'Noah M. Mason' | What are the candidates for noah m. mason? | CREATE TABLE table_18493 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Result" text,
"Candidates" text
) |
SELECT AVG(year) FROM table_name_27 WHERE playoffs = "champion" | Which year had playoffs of champion? | CREATE TABLE table_name_27 (year INTEGER, playoffs VARCHAR) |
SELECT score FROM table_17325580_5 WHERE team = "Milwaukee" | what was the final score of the game versus Milwaukee? | CREATE TABLE table_17325580_5 (score VARCHAR, team VARCHAR) |
SELECT meet FROM table_name_67 WHERE club = "centro de natacon carabobo" | Which Meet has a Club of centro de natacon carabobo? | CREATE TABLE table_name_67 (
meet VARCHAR,
club VARCHAR
) |
SELECT division FROM table_name_93 WHERE year = 1993 | What divisions was in the year 1993? | CREATE TABLE table_name_93 (division VARCHAR, year VARCHAR) |
SELECT record FROM table_17323529_8 WHERE team = "Boston" | What is the record against Boston? | CREATE TABLE table_17323529_8 (record VARCHAR, team VARCHAR) |
SELECT COUNT(DISTINCT t1.subject_id) FROM (SELECT admissions.subject_id, COUNT(*) AS c1 FROM procedures_icd JOIN admissions ON procedures_icd.hadm_id = admissions.hadm_id WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'implt/repl carddefib ... | count the number of patients who had undergone a implt/repl carddefib tot procedure two or more times until 2103. | CREATE TABLE d_labitems (
row_id number,
itemid number,
label text
)
CREATE TABLE procedures_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE prescriptions (
row_id number,
subject_id number,
hadm_id number,
startdate... |
SELECT uk_base FROM table_name_9 WHERE troop_carrier_group = "441st tcg" AND serial = "14" | Which UK base has 441st tcg Troop carrier group and 14 as their seir serial? | CREATE TABLE table_name_9 (uk_base VARCHAR, troop_carrier_group VARCHAR, serial VARCHAR) |
SELECT high_points FROM table_17325580_6 WHERE team = "Washington" | What is every high point when the team is Washington? | CREATE TABLE table_17325580_6 (high_points VARCHAR, team VARCHAR) |
SELECT MIN("Wins") FROM table_42287 WHERE "Player" = 'larry nelson' AND "Rank" < '5' | What was the lowest wins of Larry Nelson, who ranked less than 5? | CREATE TABLE table_42287 (
"Rank" real,
"Player" text,
"Country" text,
"Earnings( $ )" real,
"Wins" real
) |
SELECT drop_zone AS Time FROM table_name_27 WHERE troop_carrier_group = "439th tcg" AND _number_of_c_47s > 36 | What is the Drop Zone time for the 439th tcg Troop Carrier Group with more tham 36 C-47s? | CREATE TABLE table_name_27 (drop_zone VARCHAR, troop_carrier_group VARCHAR, _number_of_c_47s VARCHAR) |
SELECT COUNT(game) FROM table_17325580_6 WHERE date = "December 12" | How many games occur on the date December 12? | CREATE TABLE table_17325580_6 (game VARCHAR, date VARCHAR) |
SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS "user_link", Reputation FROM Users WHERE LOWER(Location) LIKE '%fremont%' OR UPPER(Location) LIKE '%FREMONT%' OR Location LIKE '%fremont%' AND Reputation >= 1000 ORDER BY Reputation DESC | Amount of reputation from edits by Community. | CREATE TABLE PostNotices (
Id number,
PostId number,
PostNoticeTypeId number,
CreationDate time,
DeletionDate time,
ExpiryDate time,
Body text,
OwnerUserId number,
DeletionUserId number
)
CREATE TABLE Users (
Id number,
Reputation number,
CreationDate time,
DisplayNa... |
SELECT grid FROM table_name_40 WHERE constructor = "maserati" AND laps = 14 | What was the grid placement for the Maserati that completed 14 laps? | CREATE TABLE table_name_40 (grid VARCHAR, constructor VARCHAR, laps VARCHAR) |
SELECT COUNT(high_assists) FROM table_17325580_6 WHERE date = "December 13" | How many high assist are on the date December 13? | CREATE TABLE table_17325580_6 (high_assists VARCHAR, date VARCHAR) |
SELECT date_became_customer, COUNT(date_became_customer) FROM Customers WHERE customer_id BETWEEN 10 AND 20 ORDER BY COUNT(date_became_customer) DESC | A bar chart for finding the number of the 'date became customers' of the customers whose ID is between 10 and 20, and display by the y-axis in descending. | CREATE TABLE Customers (
customer_id INTEGER,
payment_method VARCHAR(15),
customer_name VARCHAR(80),
date_became_customer DATETIME,
other_customer_details VARCHAR(255)
)
CREATE TABLE Order_Items (
order_id INTEGER,
product_id INTEGER,
order_quantity VARCHAR(15)
)
CREATE TABLE Customer_... |
SELECT constructor FROM table_name_69 WHERE driver = "tony brooks" | What company built the car driven by Tony Brooks? | CREATE TABLE table_name_69 (constructor VARCHAR, driver VARCHAR) |
SELECT location_attendance FROM table_17325580_6 WHERE date = "December 12" | What is every location attendance on the date December 12? | CREATE TABLE table_17325580_6 (location_attendance VARCHAR, date VARCHAR) |
SELECT MAX("Loss") FROM table_1513 WHERE "Institution" = 'Michigan State Spartans' | How many losses did the Michigan State Spartans have? | CREATE TABLE table_1513 (
"Institution" text,
"Wins" real,
"Loss" real,
"Home Wins" real,
"Home Losses" real,
"Away Wins" real,
"Away Losses" real,
"Neutral Wins" real,
"Neutral Losses" real,
"Current Streak" text
) |
SELECT score FROM table_name_54 WHERE date = "may 2" | What is the score on the date of May 2? | CREATE TABLE table_name_54 (score VARCHAR, date VARCHAR) |
SELECT high_rebounds FROM table_17325937_5 WHERE date = "November 26" | What was the high rebounds on November 26? | CREATE TABLE table_17325937_5 (high_rebounds VARCHAR, date VARCHAR) |
SELECT date FROM table_name_82 WHERE year = 1786 | When was the date in 1786? | CREATE TABLE table_name_82 (
date VARCHAR,
year VARCHAR
) |
SELECT visitor FROM table_name_74 WHERE date = "april 30" | What city was a visitor on the date of April 30? | CREATE TABLE table_name_74 (visitor VARCHAR, date VARCHAR) |
SELECT high_assists FROM table_17325937_5 WHERE date = "November 14" | What was the high assists on November 14? | CREATE TABLE table_17325937_5 (high_assists VARCHAR, date VARCHAR) |
SELECT "Outcome" FROM table_21891 WHERE "Year" = '1975' | What was the outcome in 1975? | CREATE TABLE table_21891 (
"Outcome" text,
"Year" real,
"Championship" text,
"Surface" text,
"Partner" text,
"Opponents" text,
"Score" text
) |
SELECT visitor FROM table_name_5 WHERE date = "april 22" | On the date of April 22, which city was a visitor? | CREATE TABLE table_name_5 (visitor VARCHAR, date VARCHAR) |
SELECT high_assists FROM table_17325937_8 WHERE team = "Miami" | Who had the most assists in the game against Miami? | CREATE TABLE table_17325937_8 (high_assists VARCHAR, team VARCHAR) |
SELECT "Captain" FROM table_2746 WHERE "Runner-up" = 'Royal Challengers Bangalore' AND "L" = '5' | Name the captain for royal challengers bangalore for 5 | CREATE TABLE table_2746 (
"Season" real,
"Winner" text,
"Captain" text,
"Coach" text,
"League finish" text,
"Mat" real,
"W" real,
"L" real,
"Win %" text,
"Runner-up" text
) |
SELECT visitor FROM table_name_20 WHERE home = "ottawa" AND date = "april 26" | What visitor has Ottawa as a home and a date of April 26? | CREATE TABLE table_name_20 (visitor VARCHAR, home VARCHAR, date VARCHAR) |
SELECT COUNT(high_assists) FROM table_17325937_8 WHERE team = "San Antonio" | How many assists were made in the game against San Antonio? | CREATE TABLE table_17325937_8 (high_assists VARCHAR, team VARCHAR) |
SELECT age_as_of_1_february_2014 FROM table_name_23 WHERE province_or_country_of_birth = "united states" | What is the average age as of February 1, 2014 for the supercentenarians born in the United States? | CREATE TABLE table_name_23 (
age_as_of_1_february_2014 VARCHAR,
province_or_country_of_birth VARCHAR
) |
SELECT date_of_birth__age_ FROM table_name_46 WHERE player = "paino hehea" | What is Paino Hehea's date of birth? | CREATE TABLE table_name_46 (date_of_birth__age_ VARCHAR, player VARCHAR) |
SELECT high_rebounds FROM table_17326036_5 WHERE date = "November 1" | Who did the most high rebounds in the game played on November 1? | CREATE TABLE table_17326036_5 (high_rebounds VARCHAR, date VARCHAR) |
SELECT directed_by FROM table_18424435_4 WHERE production_code = 301 | Who directed the episode with a production code of 301? | CREATE TABLE table_18424435_4 (
directed_by VARCHAR,
production_code VARCHAR
) |
SELECT location FROM table_name_66 WHERE record = "3-0" | I want to know the location that has a record of 3-0 | CREATE TABLE table_name_66 (location VARCHAR, record VARCHAR) |
SELECT team FROM table_17326036_5 WHERE date = "November 21" | What team was the game on November 21 played against? | CREATE TABLE table_17326036_5 (team VARCHAR, date VARCHAR) |
SELECT "College" FROM table_62998 WHERE "Pick" = '136' | Which college did the player picked number 136 go to? | CREATE TABLE table_62998 (
"Pick" real,
"Team" text,
"Player" text,
"Position" text,
"College" text
) |
SELECT record FROM table_name_63 WHERE round > 1 | Tell me the record for round more than 1 | CREATE TABLE table_name_63 (record VARCHAR, round INTEGER) |
SELECT score FROM table_17326036_5 WHERE team = "Boston" | What was the score in the game against Boston? | CREATE TABLE table_17326036_5 (score VARCHAR, team VARCHAR) |
SELECT "name" FROM table_203_875 WHERE "office started" >= 1846 AND "office ended" <= 1866 | which bishop served between the years of 1846 and 1866 ? | CREATE TABLE table_203_875 (
id number,
"#" number,
"name" text,
"birth and death" text,
"office started" text,
"office ended" text
) |
SELECT method FROM table_name_71 WHERE opponent = "jerry bohlander" | I want to know the method for opponent of jerry bohlander | CREATE TABLE table_name_71 (method VARCHAR, opponent VARCHAR) |
SELECT date_of_appointment FROM table_17327264_3 WHERE replaced_by = "Petrik Sander" | Name the date of appointment for petrik sander | CREATE TABLE table_17327264_3 (date_of_appointment VARCHAR, replaced_by VARCHAR) |
SELECT others FROM table_name_33 WHERE martin = "9%" AND source = "ogm/news" | What percent of others did ogm/news count when MARTIN had 9%? | CREATE TABLE table_name_33 (
others VARCHAR,
martin VARCHAR,
source VARCHAR
) |
SELECT player FROM table_name_62 WHERE club = "bologna milan" | Who belongs to the Bologna Milan club? | CREATE TABLE table_name_62 (player VARCHAR, club VARCHAR) |
SELECT date_of_appointment FROM table_17327264_3 WHERE manner_of_departure = "Sacked" AND position_in_table = "14th" AND replaced_by = "Marco Kostmann" | Name the date of appointment for sacked and 14th position replaced by marco kostmann | CREATE TABLE table_17327264_3 (date_of_appointment VARCHAR, replaced_by VARCHAR, manner_of_departure VARCHAR, position_in_table VARCHAR) |
SELECT MAX(2005) FROM table_name_38 WHERE güzelçamlı’s_lost_panther = "the muse" | Which 2005 has a G zel aml s Lost Panther of the muse? | CREATE TABLE table_name_38 (
güzelçamlı’s_lost_panther VARCHAR
) |
SELECT opponent FROM table_name_23 WHERE date = "june 6" | Who is the opponent on June 6? | CREATE TABLE table_name_23 (opponent VARCHAR, date VARCHAR) |
SELECT COUNT(location_attendance) FROM table_17326036_6 WHERE date = "December 5" | How many location attendance was recorded for December 5? | CREATE TABLE table_17326036_6 (location_attendance VARCHAR, date VARCHAR) |
SELECT 2012 FROM table_name_4 WHERE tournament = "tournament played" | What is the 2012 that has tournament played as the tournament? | CREATE TABLE table_name_4 (
tournament VARCHAR
) |
SELECT date FROM table_name_67 WHERE field = "commerce bank ballpark" | What is the date of the game at Commerce Bank Ballpark? | CREATE TABLE table_name_67 (date VARCHAR, field VARCHAR) |
SELECT location_attendance FROM table_17326036_6 WHERE date = "December 15" | What was the attendance and location on December 15? | CREATE TABLE table_17326036_6 (location_attendance VARCHAR, date VARCHAR) |
SELECT MIN("Series #") FROM table_16787 WHERE "Writer(s)" = 'Shelia Lawrence' | When did Shelia Lawrence join the series? | CREATE TABLE table_16787 (
"Series #" real,
"Episode title" text,
"Writer(s)" text,
"Director" text,
"U.S. viewers (millions)" text,
"Original air date" text
) |
SELECT result FROM table_name_98 WHERE field = "bishop kearney field" AND date = "august 2" | What is the result of the game at Bishop Kearney Field on August 2? | CREATE TABLE table_name_98 (result VARCHAR, field VARCHAR, date VARCHAR) |
SELECT COUNT(game) FROM table_17326036_6 WHERE team = "@ Memphis" | How many games were recorded when the team was @ Memphis? | CREATE TABLE table_17326036_6 (game VARCHAR, team VARCHAR) |
SELECT MAX(silver) FROM table_name_1 WHERE nation = "total" AND bronze < 18 | Which Silver has a Nation of total, and a Bronze smaller than 18? | CREATE TABLE table_name_1 (
silver INTEGER,
nation VARCHAR,
bronze VARCHAR
) |
SELECT opponent FROM table_name_86 WHERE field = "homewood field" | Who was the opponent of the game at Homewood field? | CREATE TABLE table_name_86 (opponent VARCHAR, field VARCHAR) |
SELECT score FROM table_17326036_6 WHERE high_rebounds = "Jeff Foster (10)" | What was the score of the game when the high rebounds Jeff Foster (10)? | CREATE TABLE table_17326036_6 (score VARCHAR, high_rebounds VARCHAR) |
SELECT bowl_game FROM table_name_47 WHERE season > 2008 AND location = "new orleans, louisiana" | Which bowl game has a season greater than 2008, with new orleans, Louisiana as the location? | CREATE TABLE table_name_47 (
bowl_game VARCHAR,
season VARCHAR,
location VARCHAR
) |
SELECT result FROM table_name_24 WHERE field = "bishop kearney field" AND date = "august 2" | What is the result of the game at Bishop Kearney Field on August 2? | CREATE TABLE table_name_24 (result VARCHAR, field VARCHAR, date VARCHAR) |
SELECT team FROM table_17327458_1 WHERE date_of_appointment = "12 June" | What team appointed a manager on 12 June? | CREATE TABLE table_17327458_1 (team VARCHAR, date_of_appointment VARCHAR) |
SELECT "Place" FROM table_59852 WHERE "Year" = '2007' AND "Song" = ' work your magic ' | What is the place in 2007 for the song ' work your magic '? | CREATE TABLE table_59852 (
"Year" real,
"Song" text,
"Artist" text,
"Place" text,
"Points" text,
"Composer" text
) |
SELECT time FROM table_name_92 WHERE speed = "102.962mph" | What is the time of the rider with a speed of 102.962mph? | CREATE TABLE table_name_92 (time VARCHAR, speed VARCHAR) |
SELECT replaced_by FROM table_17327458_1 WHERE date_of_appointment = "11 July" | Who was replaced on 11 July? | CREATE TABLE table_17327458_1 (replaced_by VARCHAR, date_of_appointment VARCHAR) |
SELECT "Class" FROM table_75683 WHERE "Weight" = '203' | Which Class has a Weight of 203? | CREATE TABLE table_75683 (
"Position" text,
"Number" real,
"Name" text,
"Height" text,
"Weight" real,
"Class" text,
"Hometown" text,
"Games\u2191" real
) |
SELECT rider FROM table_name_52 WHERE time = "1:27.37.22" | Who is the rider who had the time of 1:27.37.22? | CREATE TABLE table_name_52 (rider VARCHAR, time VARCHAR) |
SELECT outgoing_manager FROM table_17327458_1 WHERE date_of_vacancy = "29 May" | Who left a position on 29 May? | CREATE TABLE table_17327458_1 (outgoing_manager VARCHAR, date_of_vacancy VARCHAR) |
SELECT population__1991_ FROM table_2562572_2 WHERE urban_settlement = "Bački Jarak" | What is the 1991 population for the urban settlement named Ba ki Jarak? | CREATE TABLE table_2562572_2 (
population__1991_ VARCHAR,
urban_settlement VARCHAR
) |
SELECT rider FROM table_name_57 WHERE rank < 10 AND time = "1:26.31.20" | Who is the rider who has a rank lower than 10, and a time of 1:26.31.20? | CREATE TABLE table_name_57 (rider VARCHAR, rank VARCHAR, time VARCHAR) |
SELECT outgoing_manager FROM table_17327458_1 WHERE date_of_vacancy = "24 January" | Who left a position on 24 January? | CREATE TABLE table_17327458_1 (outgoing_manager VARCHAR, date_of_vacancy VARCHAR) |
SELECT MAX(total) FROM table_name_4 WHERE nation = "united states" AND bronze > 3 | Which Total has a Nation of united states, and a Bronze larger than 3? | CREATE TABLE table_name_4 (
total INTEGER,
nation VARCHAR,
bronze VARCHAR
) |
SELECT date FROM table_name_33 WHERE circuit = "indianapolis" | What date was the Circuit of Indianapolis? | CREATE TABLE table_name_33 (date VARCHAR, circuit VARCHAR) |
SELECT COUNT(manner_of_departure) FROM table_17327458_1 WHERE date_of_vacancy = "25 May" | How many vacancies happened on 25 May? | CREATE TABLE table_17327458_1 (manner_of_departure VARCHAR, date_of_vacancy VARCHAR) |
SELECT "wager" FROM table_204_212 ORDER BY id DESC LIMIT 1 | what is the last wager on the chart ? | CREATE TABLE table_204_212 (
id number,
"wager" text,
"winner" text,
"loser" text,
"location" text,
"date" text,
"notes" text
) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.