answer stringlengths 6 3.91k | question stringlengths 7 766 | context stringlengths 27 7.14k |
|---|---|---|
SELECT COUNT(125 AS cc_winner) FROM table_20935975_1 WHERE moto2_winner = "Shoya Tomizawa" | How many 125cc winners were in the same events as when the Moto2 winner was Shoya Tomizawa? | CREATE TABLE table_20935975_1 (moto2_winner VARCHAR) |
SELECT college FROM match_season WHERE position = "Midfielder" INTERSECT SELECT college FROM match_season WHERE position = "Defender" | Which college have both players with position midfielder and players with position defender? | CREATE TABLE country (
country_id number,
country_name text,
capital text,
official_native_language text
)
CREATE TABLE match_season (
season number,
player text,
position text,
country number,
team number,
draft_pick_number number,
draft_class text,
college text
)
CREA... |
SELECT transfer_fee FROM table_name_27 WHERE name = "damia" | Name the transfer fee for damia | CREATE TABLE table_name_27 (transfer_fee VARCHAR, name VARCHAR) |
SELECT COUNT(opponents) FROM table_20928682_1 WHERE record = "1-0-0" | After how many opponents was the overall record 1-0-0? | CREATE TABLE table_20928682_1 (opponents VARCHAR, record VARCHAR) |
SELECT MONTH(10) | Titre des 10 derni res questions pos es et pseudo de l'auteur. | CREATE TABLE Comments (
Id number,
PostId number,
Score number,
Text text,
CreationDate time,
UserDisplayName text,
UserId number,
ContentLicense text
)
CREATE TABLE PostNotices (
Id number,
PostId number,
PostNoticeTypeId number,
CreationDate time,
DeletionDate time... |
SELECT moving_to FROM table_name_24 WHERE transfer_fee = "free" AND status = "transfer" AND name = "rodri" | Name the moving to with a transfer fee of free with a transfer status for rodri | CREATE TABLE table_name_24 (moving_to VARCHAR, name VARCHAR, transfer_fee VARCHAR, status VARCHAR) |
SELECT record FROM table_20928682_1 WHERE hurricanes_points = 24 | What was the record after the game in which the Hurricanes scored 24 points? | CREATE TABLE table_20928682_1 (record VARCHAR, hurricanes_points VARCHAR) |
SELECT PostId AS "post_link", Text, Score FROM Comments WHERE UserId = '##UserId##' ORDER BY Score DESC | My comments by score with post link. | 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,
ProfileImageUrl text,
EmailHash text,
AccountId number
)
CRE... |
SELECT date FROM table_name_23 WHERE venue = "western oval" | When was the game played at the Western Oval venue? | CREATE TABLE table_name_23 (date VARCHAR, venue VARCHAR) |
SELECT MIN(game) FROM table_20928682_1 WHERE opponent = "Georgia" | Which game number was played against Georgia? | CREATE TABLE table_20928682_1 (game INTEGER, opponent VARCHAR) |
SELECT Enrollment FROM school WHERE Denomination <> "Catholic" | What are the enrollments of schools whose denomination is not 'Catholic'? | CREATE TABLE school (
Enrollment VARCHAR,
Denomination VARCHAR
) |
SELECT livery FROM table_name_33 WHERE serial_no = "83-1010" | What is the livery of the locomotive with a serial number 83-1010? | CREATE TABLE table_name_33 (livery VARCHAR, serial_no VARCHAR) |
SELECT COUNT(opponents) FROM table_20928682_1 WHERE opponent = "Tulane" | How many games were played against Tulane? | CREATE TABLE table_20928682_1 (opponents VARCHAR, opponent VARCHAR) |
SELECT DISTINCT district FROM election | What are the distinct districts for elections? | CREATE TABLE county (
county_id number,
county_name text,
population number,
zip_code text
)
CREATE TABLE party (
party_id number,
year number,
party text,
governor text,
lieutenant_governor text,
comptroller text,
attorney_general text,
us_senate text
)
CREATE TABLE el... |
SELECT livery FROM table_name_86 WHERE serial_no = "83-1011" | What is the livery on the locomotive with a serial number 83-1011? | CREATE TABLE table_name_86 (livery VARCHAR, serial_no VARCHAR) |
SELECT parking FROM table_2093995_1 WHERE city__neighborhood = "Van Nuys" AND stations = "Sepulveda" | How much parking is in Van Nuys at the Sepulveda station? | CREATE TABLE table_2093995_1 (parking VARCHAR, city__neighborhood VARCHAR, stations VARCHAR) |
SELECT date FROM table_name_88 WHERE opponent = "denver broncos" | Opponent of denver broncos happened on what date? | CREATE TABLE table_name_88 (
date VARCHAR,
opponent VARCHAR
) |
SELECT locomotive FROM table_name_74 WHERE gauge = "standard" AND serial_no = "83-1015" | What is the locomotive with a standard gauge and a serial number of 83-1015? | CREATE TABLE table_name_74 (locomotive VARCHAR, gauge VARCHAR, serial_no VARCHAR) |
SELECT stations FROM table_2093995_1 WHERE city__neighborhood = "Tarzana" | What are the stations in Tarzana? | CREATE TABLE table_2093995_1 (stations VARCHAR, city__neighborhood VARCHAR) |
SELECT Publication_Date, COUNT(Publication_Date) FROM publication GROUP BY Publication_Date ORDER BY COUNT(Publication_Date) | Bar chart x axis publication date y axis how many publication date, and show y-axis in ascending order. | CREATE TABLE book (
Book_ID int,
Title text,
Issues real,
Writer text
)
CREATE TABLE publication (
Publication_ID int,
Book_ID int,
Publisher text,
Publication_Date text,
Price real
) |
SELECT entered_service FROM table_name_76 WHERE gauge = "broad" AND serial_no = "83-1018" | What is the date of entered service for the locomotive with a broad gauge and a serial no of 83-1018? | CREATE TABLE table_name_76 (entered_service VARCHAR, gauge VARCHAR, serial_no VARCHAR) |
SELECT COUNT(connections) FROM table_2093995_1 WHERE stations = "Tampa" | How many connection catagories are there for Tampa? | CREATE TABLE table_2093995_1 (connections VARCHAR, stations 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, date_day, days, flight, state WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'BALTIMORE' AND date_day.day_number = 10 AND date_day.month_number ... | show me all the flights from DENVER to BALTIMORE arriving 5 10 | CREATE TABLE time_zone (
time_zone_code text,
time_zone_name text,
hours_from_gmt int
)
CREATE TABLE dual_carrier (
main_airline varchar,
low_flight_number int,
high_flight_number int,
dual_airline varchar,
service_name text
)
CREATE TABLE food_service (
meal_code text,
meal_nu... |
SELECT venue FROM table_name_13 WHERE date = "october 16, 1996" | What was the venue on October 16, 1996? | CREATE TABLE table_name_13 (venue VARCHAR, date VARCHAR) |
SELECT stations FROM table_2093995_1 WHERE parking = "Park & Ride Lot" | Which station has park & ride lot parking? | CREATE TABLE table_2093995_1 (stations VARCHAR, parking VARCHAR) |
SELECT "Date" FROM table_56468 WHERE "Leading scorer" = 'deron williams (29)' AND "Visitor" = 'hornets' | While the Hornets were visiting, what date was Deron Williams (29) the leading scorer? | CREATE TABLE table_56468 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Leading scorer" text,
"Record" text
) |
SELECT score FROM table_name_58 WHERE result = "win" AND competition = "1998 fifa world cup qualification" AND date = "october 30, 1996" | What's the score at the October 30, 1996 1998 fifa world cup qualification with a result of win? | CREATE TABLE table_name_58 (score VARCHAR, date VARCHAR, result VARCHAR, competition VARCHAR) |
SELECT 3 AS _dart_average FROM table_20948329_1 WHERE high_checkout = 112 | What is the 3-dart average with a high checkout of 112? | CREATE TABLE table_20948329_1 (high_checkout VARCHAR) |
SELECT "Away team" FROM table_55547 WHERE "Home team score" = '14.12 (96)' | Who did Footscray play against when they scored 14.12 (96)? | CREATE TABLE table_55547 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) |
SELECT date FROM table_name_37 WHERE competition = "friendship cup" | When was the friendship cup? | CREATE TABLE table_name_37 (date VARCHAR, competition VARCHAR) |
SELECT MAX(180 AS s) FROM table_20948329_1 WHERE legs_won = 45 | How many 180s have legs won of 45? | CREATE TABLE table_20948329_1 (legs_won VARCHAR) |
SELECT COUNT(*) FROM treatment WHERE treatment.treatmentname = 'hypotonic fluid administration - half-normal saline solution' AND DATETIME(treatment.treatmenttime) >= DATETIME(CURRENT_TIME(), '-4 year') | how many times is hypotonic fluid administration - half-normal saline solution taken since 4 years ago? | CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
)
CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE vitalperiodic (
... |
SELECT MIN(cars_per_set) FROM table_name_88 WHERE year_built = "1977-1979" AND number > 32 | What is the smallest number for Cars per Set built in 1977-1979 larger than 32? | CREATE TABLE table_name_88 (cars_per_set INTEGER, year_built VARCHAR, number VARCHAR) |
SELECT COUNT(touchdowns) FROM table_20938922_2 WHERE yards = 145 | The player who had 145 yards had how many touchdowns? | CREATE TABLE table_20938922_2 (touchdowns VARCHAR, yards VARCHAR) |
SELECT "Chinese Name" FROM table_70966 WHERE "Index" = 'f10' | What is the Chinese name of the player in Index F10? | CREATE TABLE table_70966 (
"Index" text,
"Name" text,
"Chinese Name" text,
"Country" text,
"Status" text
) |
SELECT MAX(number) FROM table_name_30 WHERE cars_per_set < 9 | What is the largest number of cars per set that is less than 9? | CREATE TABLE table_name_30 (number INTEGER, cars_per_set INTEGER) |
SELECT team FROM table_20938922_2 WHERE carries = 27 | Which team did the player have who had 27 total carries? | CREATE TABLE table_20938922_2 (team VARCHAR, carries VARCHAR) |
SELECT COUNT(mountains_classification) FROM table_25999087_2 WHERE winner = "Rui Costa" | How many mountains classifications when Rui Costa is the winner? | CREATE TABLE table_25999087_2 (
mountains_classification VARCHAR,
winner VARCHAR
) |
SELECT year_built FROM table_name_10 WHERE class = "class 253" AND number > 18 | What year was the class 253 larger than 18 built? | CREATE TABLE table_name_10 (year_built VARCHAR, class VARCHAR, number VARCHAR) |
SELECT opponent FROM table_20938922_2 WHERE week = 12 | What was the player's team's opponent for Week 12? | CREATE TABLE table_20938922_2 (opponent VARCHAR, week VARCHAR) |
SELECT county FROM table_22815568_6 WHERE unemployment_rate = "4.8%" | What county is the unemployment rate 4.8%? | CREATE TABLE table_22815568_6 (
county VARCHAR,
unemployment_rate VARCHAR
) |
SELECT margin FROM table_name_34 WHERE championship = "masters tournament (2)" | What is the margin for the Masters Tournament (2) championship? | CREATE TABLE table_name_34 (margin VARCHAR, championship VARCHAR) |
SELECT directed_by FROM table_20967430_4 WHERE original_air_date = "March 18, 1988" | Who directed the episode that originally aired on March 18, 1988? | CREATE TABLE table_20967430_4 (directed_by VARCHAR, original_air_date VARCHAR) |
SELECT "Nickname" FROM table_25581 WHERE "Founded" = '1798' | Name the nickname that was founded 1798 | CREATE TABLE table_25581 (
"Institution" text,
"Nickname" text,
"Location" text,
"Founded" real,
"Type" text,
"Enrollment" real,
"Joined" real,
"Left" real
) |
SELECT 54 AS _holes FROM table_name_33 WHERE runner_s__up = "phil mickelson" | What is the round of 54 holes in which Phil Mickelson was the runner-up? | CREATE TABLE table_name_33 (runner_s__up VARCHAR) |
SELECT title FROM table_20967430_4 WHERE original_air_date = "March 11, 1988" | What was the name of the episode that aired originally on March 11, 1988? | CREATE TABLE table_20967430_4 (title VARCHAR, original_air_date VARCHAR) |
SELECT t3.drug FROM (SELECT t2.drug, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, prescriptions.startdate FROM prescriptions JOIN admissions ON prescriptions.hadm_id = admissions.hadm_id WHERE prescriptions.drug = 'sertraline' AND DATETIME(prescriptions.startdate) >= DATETIME(CUR... | list the top three most frequent prescriptions that patients were prescribed with within the same month after being prescribed sertraline since 6 years ago. | 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 inputevents_cv (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttim... |
SELECT home FROM table_name_27 WHERE date = "april 14" | What is the home team of the April 14 game? | CREATE TABLE table_name_27 (home VARCHAR, date VARCHAR) |
SELECT prod_code FROM table_20967430_4 WHERE written_by = "Jack Carrerrow" | What is the production code of the episode written by Jack Carrerrow? | CREATE TABLE table_20967430_4 (prod_code VARCHAR, written_by VARCHAR) |
SELECT "Result" FROM table_34970 WHERE "District" = 'pennsylvania 13' | Which Result has a District of pennsylvania 13? | CREATE TABLE table_34970 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Result" text
) |
SELECT date FROM table_name_23 WHERE visitor = "detroit" | What is the date of the game with Detroit as the visitor team? | CREATE TABLE table_name_23 (date VARCHAR, visitor VARCHAR) |
SELECT COUNT(ep) FROM table_20967430_4 WHERE prod_code = "5M13" | How many episodes had a production code of 5m13? | CREATE TABLE table_20967430_4 (ep VARCHAR, prod_code VARCHAR) |
SELECT AVG("Rank") FROM table_32003 WHERE "Total" < '24' AND "Gold" > '7' | What is the rank of the Nation that has fewer than 24 total medals are more than 7 Gold medals? | CREATE TABLE table_32003 (
"Rank" real,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
) |
SELECT viewers__m_ FROM table_name_73 WHERE share = 1 AND rating > 0.7000000000000001 AND rank___number_ = "100/102" | How many vieweres for the episode with a share of 1, a Rating larger than 0.7000000000000001, and a Rank (#) of 100/102? | CREATE TABLE table_name_73 (viewers__m_ VARCHAR, rank___number_ VARCHAR, share VARCHAR, rating VARCHAR) |
SELECT title FROM table_20967430_2 WHERE original_air_date = "November 08, 1985" | Name the title that aired for november 08, 1985 | CREATE TABLE table_20967430_2 (title VARCHAR, original_air_date VARCHAR) |
SELECT MAX("Game") FROM table_49046 WHERE "Opponent" = 'miami heat' | What was the highest game number when the opponent was the Miami Heat? | CREATE TABLE table_49046 (
"Game" real,
"Date" text,
"Opponent" text,
"Score" text,
"Location" text,
"Record" text
) |
SELECT lead_tpt FROM table_name_68 WHERE bass = "kevin tomanka" AND alto_1 = "alan moffett" | Name the lead tpt for bass of kevin tomanka and alto 1 of alan moffett | CREATE TABLE table_name_68 (lead_tpt VARCHAR, bass VARCHAR, alto_1 VARCHAR) |
SELECT prod_code FROM table_20967430_2 WHERE original_air_date = "November 08, 1985" | Name the production code for november 08, 1985 | CREATE TABLE table_20967430_2 (prod_code VARCHAR, original_air_date VARCHAR) |
SELECT DISTINCT semester.semester, semester.year FROM course, course_offering, instructor, offering_instructor, semester WHERE course.course_id = course_offering.course_id AND course.number = 763 AND course_offering.semester = semester.semester_id AND instructor.name LIKE '%Sarah Mcdowell%' AND offering_instructor.inst... | When will Sarah Mcdowell teach 763 next ? | CREATE TABLE offering_instructor (
offering_instructor_id int,
offering_id int,
instructor_id int
)
CREATE TABLE requirement (
requirement_id int,
requirement varchar,
college varchar
)
CREATE TABLE course_offering (
offering_id int,
course_id int,
semester int,
section_number ... |
SELECT COUNT(crowd) FROM table_name_86 WHERE venue = "moorabbin oval" | What was the crowd size at the moorabbin oval venue? | CREATE TABLE table_name_86 (crowd VARCHAR, venue VARCHAR) |
SELECT written_by FROM table_20967430_2 WHERE prod_code = "4G07" | Name the written by for production code 4g07 | CREATE TABLE table_20967430_2 (written_by VARCHAR, prod_code VARCHAR) |
SELECT (SELECT SUM(inputevents_cv.amount) FROM inputevents_cv WHERE inputevents_cv.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 2753))) - (SELECT SUM(outputevents.value) FROM outputevents WHERE outputevents.icu... | tell me the difference between the total amount of input and output for patient 2753. | CREATE TABLE diagnoses_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE cost (
row_id number,
subject_id number,
hadm_id number,
event_type text,
event_id number,
chargetime time,
cost number
)
CREATE TABLE procedures... |
SELECT home_team AS score FROM table_name_28 WHERE away_team = "collingwood" | What did the home team score against the away team collingwood? | CREATE TABLE table_name_28 (home_team VARCHAR, away_team VARCHAR) |
SELECT MIN(ep) FROM table_20967430_2 WHERE original_air_date = "November 29, 1985" | Name the least episode for november 29, 1985 | CREATE TABLE table_20967430_2 (ep INTEGER, original_air_date VARCHAR) |
SELECT (SELECT labevents.valuenum FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 26612 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime LIMIT 1) AND labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label ... | is the creatine kinase (ck) value of patient 26612 last measured on the first hospital visit greater than the value of the patient second to last measured on the first hospital visit? | CREATE TABLE transfers (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
eventtype text,
careunit text,
wardid number,
intime time,
outtime time
)
CREATE TABLE d_items (
row_id number,
itemid number,
label text,
linksto text
)
CREATE TABLE chart... |
SELECT 1 AS _letter FROM table_name_10 WHERE amino_acid = "asparagine" | what is the 1-letter for the amino acid asparagine? | CREATE TABLE table_name_10 (amino_acid VARCHAR) |
SELECT score_in_final FROM table_20986710_1 WHERE runner_up = "Tracy Austin" | What was the final score when tracy austin was runner up? | CREATE TABLE table_20986710_1 (score_in_final VARCHAR, runner_up VARCHAR) |
SELECT AVG("Rank") FROM table_41792 WHERE "Years" = '1998–present' | Which Rank has a Years of 1998 present? | CREATE TABLE table_41792 (
"Rank" real,
"Name" text,
"Years" text,
"Matches" real,
"Goals" real
) |
SELECT away_team AS score FROM table_name_40 WHERE home_team = "north melbourne" | What was home team North Melbourne's opponents score? | CREATE TABLE table_name_40 (away_team VARCHAR, home_team VARCHAR) |
SELECT MAX(ep) FROM table_20967430_3 WHERE prod_code = "5A06" | When 5a06 is the production code what is the highest episode? | CREATE TABLE table_20967430_3 (ep INTEGER, prod_code VARCHAR) |
SELECT COUNT("Change since 2006") FROM table_22978 WHERE "County" = 'County Leitrim' | How many places did the rank change since 22006 for County Leitrim? | CREATE TABLE table_22978 (
"Rank 2011" real,
"Change since 2006" text,
"Urban Area" text,
"County" text,
"Population 2011" real,
"Increase since 2006" text
) |
SELECT home_team AS score FROM table_name_16 WHERE home_team = "melbourne" | What was Melbourne's score as the home team? | CREATE TABLE table_name_16 (home_team VARCHAR) |
SELECT written_by FROM table_20967430_3 WHERE season = 10 | When it is season 10 who are the writers? | CREATE TABLE table_20967430_3 (written_by VARCHAR, season VARCHAR) |
SELECT home_team FROM table_name_77 WHERE venue = "windy hill" | What home team plays at Windy Hill? | CREATE TABLE table_name_77 (
home_team VARCHAR,
venue VARCHAR
) |
SELECT away_team FROM table_name_63 WHERE venue = "junction oval" | Who was the away team at Junction Oval? | CREATE TABLE table_name_63 (away_team VARCHAR, venue VARCHAR) |
SELECT mens_singles FROM table_21001903_2 WHERE womens_singles = "Wang Yihan" AND tour = "French Super Series" | when womens singles is wang yihan and tour is french super series, what were the men's singles? | CREATE TABLE table_21001903_2 (mens_singles VARCHAR, womens_singles VARCHAR, tour VARCHAR) |
SELECT incumbent FROM table_2646656_3 WHERE district = "Ohio 5" | Who was the incumbent in the Ohio 5 district? | CREATE TABLE table_2646656_3 (
incumbent VARCHAR,
district VARCHAR
) |
SELECT usca FROM table_name_67 WHERE total < 14 AND joint_music_award = "1" AND mrhma = "2" AND rthk = "3" | What is the USCA that's Total is smaller than 14, with 1 Joint Music Award, MRHMA of 2, and RTHK of 3? | CREATE TABLE table_name_67 (usca VARCHAR, rthk VARCHAR, mrhma VARCHAR, total VARCHAR, joint_music_award VARCHAR) |
SELECT tour FROM table_21001903_2 WHERE mixed_doubles = "Zheng Bo Ma Jin" AND womens_singles = "Wang Yihan" | when mixed doubles is zheng bo ma jin and womens singles is wang yihan, what was the tour? | CREATE TABLE table_21001903_2 (tour VARCHAR, mixed_doubles VARCHAR, womens_singles VARCHAR) |
SELECT AVG(T1.Total) FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID WHERE T2.Height > 200 | What is the average total score of body builders with height bigger than 200? | CREATE TABLE body_builder (
Total INTEGER,
People_ID VARCHAR
)
CREATE TABLE people (
People_ID VARCHAR,
Height INTEGER
) |
SELECT total FROM table_name_99 WHERE joint_music_award = "1" AND rthk = "4" AND usca = "4" | What is the Total with a Joint Music Award of 1, RTHK of 4, and USCA of 4? | CREATE TABLE table_name_99 (total VARCHAR, usca VARCHAR, joint_music_award VARCHAR, rthk VARCHAR) |
SELECT COUNT(title) FROM table_21002034_4 WHERE director = "Alex Chapple" | How many titles were directed by Alex Chapple? | CREATE TABLE table_21002034_4 (title VARCHAR, director VARCHAR) |
SELECT class_code FROM class WHERE class_room = 'KLR209' | What are the codes of all the courses that are located in room KLR209? | CREATE TABLE student (
stu_num number,
stu_lname text,
stu_fname text,
stu_init text,
stu_dob time,
stu_hrs number,
stu_class text,
stu_gpa number,
stu_transfer number,
dept_code text,
stu_phone text,
prof_num number
)
CREATE TABLE enroll (
class_code text,
stu_n... |
SELECT joint_music_award FROM table_name_81 WHERE year < 2006 AND rthk = "1" | How many Joint Music Awards were there with a RTHK of 1, in a Year before 2006? | CREATE TABLE table_name_81 (joint_music_award VARCHAR, year VARCHAR, rthk VARCHAR) |
SELECT MAX(_number) FROM table_21002034_7 WHERE air_date_netherlands_yyyy_mm_dd = "2009/12/29" | Name the most number for air date 2009/12/29 | CREATE TABLE table_21002034_7 (_number INTEGER, air_date_netherlands_yyyy_mm_dd VARCHAR) |
SELECT aggregate_score FROM table_28068063_2 WHERE winners = "Viadana" | What was the aggregate score for the match won by Viadana? | CREATE TABLE table_28068063_2 (
aggregate_score VARCHAR,
winners VARCHAR
) |
SELECT joint_music_award FROM table_name_32 WHERE total > 18 AND year > 2007 | How many Joint Music Awards are there when the Total is larger than 18, in a Year after 2007? | CREATE TABLE table_name_32 (joint_music_award VARCHAR, total VARCHAR, year VARCHAR) |
SELECT viewers__in_millions_ FROM table_2101431_1 WHERE run_time = "23:25" | How many millions viewers watched the episode that ran 23:25? | CREATE TABLE table_2101431_1 (viewers__in_millions_ VARCHAR, run_time VARCHAR) |
SELECT "Propulsion" FROM table_5272 WHERE "Order Year" = '2003-2004' AND "Manufacturer" = 'neoplan usa' | What is the Propulsion for the model offered in 2003-2004 by neoplan usa? | CREATE TABLE table_5272 (
"Order Year" text,
"Manufacturer" text,
"Model" text,
"Fleet (Qty.)" text,
"Propulsion" text,
"Length (ft.)" real
) |
SELECT MIN(lane) FROM table_name_47 WHERE semi = 49.19 | Which lane did the athlete swim in who had a semi-final time of 49.19? | CREATE TABLE table_name_47 (lane INTEGER, semi VARCHAR) |
SELECT broadcast_date FROM table_2101431_1 WHERE archive = "16mm t/r" AND run_time = "23:25" | What is the broadcast date of the episode on 16mm t/r that ran 23:25? | CREATE TABLE table_2101431_1 (broadcast_date VARCHAR, archive VARCHAR, run_time VARCHAR) |
SELECT "Venue" FROM table_67709 WHERE "Date" = '3,4,5,6,7 june 1993' | What was the venue for the matches played on the dates 3,4,5,6,7 June 1993? | CREATE TABLE table_67709 (
"Date" text,
"Home captain" text,
"Away captain" text,
"Venue" text,
"Result" text
) |
SELECT species FROM table_name_70 WHERE gender = "male" | Which species is male? | CREATE TABLE table_name_70 (species VARCHAR, gender VARCHAR) |
SELECT episode FROM table_2101431_1 WHERE viewers__in_millions_ = "7.2" | Which episode was watched by 7.2 million viewers? | CREATE TABLE table_2101431_1 (episode VARCHAR, viewers__in_millions_ VARCHAR) |
SELECT SUM(frequency_mhz) FROM table_name_99 WHERE class = "b1" | What is the total of Frequency MHz with a Class of b1? | CREATE TABLE table_name_99 (
frequency_mhz INTEGER,
class VARCHAR
) |
SELECT home_team AS score FROM table_name_71 WHERE venue = "junction oval" | What was the home teams score at Junction Oval? | CREATE TABLE table_name_71 (home_team VARCHAR, venue VARCHAR) |
SELECT episode FROM table_2101431_1 WHERE run_time = "24:18" | What episode had a run time of 24:18? | CREATE TABLE table_2101431_1 (episode VARCHAR, run_time VARCHAR) |
SELECT COUNT(bronze) FROM table_name_67 WHERE sport = "futsal" | Tell me the total number of Bronze for futsal | CREATE TABLE table_name_67 (
bronze VARCHAR,
sport VARCHAR
) |
SELECT president FROM table_name_6 WHERE presidency > 7 | What President has a Presidency greater than 7? | CREATE TABLE table_name_6 (president VARCHAR, presidency INTEGER) |
SELECT MIN(valves) FROM table_21021796_1 | What is the greatest number of valves? | CREATE TABLE table_21021796_1 (valves INTEGER) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.