answer
stringlengths
6
3.91k
question
stringlengths
7
766
context
stringlengths
27
7.14k
SELECT COUNT(wheel_arrangement) FROM table_15608800_2 WHERE class = "D14"
Name the number of wheel arrangement when class is d14
CREATE TABLE table_15608800_2 (wheel_arrangement VARCHAR, class VARCHAR)
SELECT "Platform" FROM table_47555 WHERE "Company" = 'surfstats software'
What platform is the company Surfstats Software?
CREATE TABLE table_47555 ( "Name" text, "Company" text, "Platform" text, "Latest stable release" text, "Price in USD" text )
SELECT torque FROM table_name_99 WHERE type = "16 valves dohc" AND code = "k4m hi-flex"
What is the torque of the engine with a type 16 valves dohc and a code k4m hi-flex?
CREATE TABLE table_name_99 (torque VARCHAR, type VARCHAR, code VARCHAR)
SELECT MAX(number_at_pyewipe) FROM table_15608800_2
Name the most number of pyewipe
CREATE TABLE table_15608800_2 (number_at_pyewipe INTEGER)
SELECT SUM("Laps") FROM table_70487 WHERE "Year" = '2011'
What is the total laps for the year 2011?
CREATE TABLE table_70487 ( "Year" real, "Team" text, "Co-Drivers" text, "Class" text, "Laps" real, "Pos." text, "Class Pos." text )
SELECT high_assists FROM table_name_56 WHERE date = "november 13"
Who had the highest assists on the November 13 game?
CREATE TABLE table_name_56 (high_assists VARCHAR, date VARCHAR)
SELECT number_at_march FROM table_15608800_2 WHERE class = "J66"
Name the number at march when class is j66
CREATE TABLE table_15608800_2 (number_at_march VARCHAR, class VARCHAR)
SELECT date FROM table_name_30 WHERE competition = "friendly match" AND result = "1-1"
What was the date of the friendly match, ending in a result of 1-1?
CREATE TABLE table_name_30 ( date VARCHAR, competition VARCHAR, result VARCHAR )
SELECT MAX(date) FROM table_name_77 WHERE score_in_the_final = "1–6, 4–6, 5–7"
What is the most recent date for a singles final with the score of 1–6, 4–6, 5–7?
CREATE TABLE table_name_77 (date INTEGER, score_in_the_final VARCHAR)
SELECT railway FROM table_15608800_2 WHERE class = "J19"
Name the railway when class is j19
CREATE TABLE table_15608800_2 (railway VARCHAR, class VARCHAR)
SELECT * FROM table_test_24 WHERE history_of_bleeding_diathesis = 1 OR bleeding = 1
patient with known history of bleeding diathesis or currently active bleeding;
CREATE TABLE table_test_24 ( "id" int, "history_of_bleeding_diathesis" bool, "bleeding" int, "systolic_blood_pressure_sbp" int, "hemoglobin_a1c_hba1c" float, "blood_draw" bool, "renal_disease" bool, "allergy_to_aspirin" bool, "allergy_to_clopidogrel" bool, "cardiogenic_shock" boo...
SELECT championship FROM table_name_41 WHERE surface = "clay" AND score_in_the_final = "6–2, 5–7, 6–4, 6–2"
What was the championship that had final score of 6–2, 5–7, 6–4, 6–2 and was on a clay surface?
CREATE TABLE table_name_41 (championship VARCHAR, surface VARCHAR, score_in_the_final VARCHAR)
SELECT railway FROM table_15608800_2 WHERE class = "J15"
Name the railway when class is j15
CREATE TABLE table_15608800_2 (railway VARCHAR, class VARCHAR)
SELECT "Mintage" FROM table_28596 WHERE "Location" = 'Sion' AND "Denomination" = '00500 500 francs'
What is the mintage for a location of Sion and a denomination of 00500 500 Francs?
CREATE TABLE table_28596 ( "Location" text, "Date" real, "Denomination" text, "Coinage metal" text, "Mintage" real, "KM number" text )
SELECT score_in_the_final FROM table_name_92 WHERE date > 1984 AND outcome = "winner" AND opponent_in_the_final = "víctor pecci"
What was the score in the final, that Víctor Pecci was the opponent and winner after 1984?
CREATE TABLE table_name_92 (score_in_the_final VARCHAR, opponent_in_the_final VARCHAR, date VARCHAR, outcome VARCHAR)
SELECT years_in_orlando FROM table_15621965_1 WHERE school_club_team = "Penn State"
Name the years in orlando for penn state
CREATE TABLE table_15621965_1 (years_in_orlando VARCHAR, school_club_team VARCHAR)
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admityear < "2135" AND diagnoses.short_title = "Lower extremity embolism"
provide the number of patients whose admission year is less than 2135 and diagnoses short title is lower extremity embolism?
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id...
SELECT championship FROM table_name_79 WHERE score_in_the_final = "3–6, 6–4, 5–7"
Which championship had a score in the final of 3–6, 6–4, 5–7?
CREATE TABLE table_name_79 (championship VARCHAR, score_in_the_final VARCHAR)
SELECT nationality FROM table_15621965_1 WHERE no = 9
Name the nationality of number 9
CREATE TABLE table_15621965_1 (nationality VARCHAR, no VARCHAR)
SELECT Party_name, COUNT(*) FROM party_events AS T1 JOIN party AS T2 ON T1.Party_ID = T2.Party_ID GROUP BY T1.Party_ID
Return a bar chart on how many events are there for each party?
CREATE TABLE region ( Region_ID int, Region_name text, Date text, Label text, Format text, Catalogue text ) CREATE TABLE party ( Party_ID int, Minister text, Took_office text, Left_office text, Region_ID int, Party_name text ) CREATE TABLE member ( Member_ID int, ...
SELECT COUNT(grid) FROM table_name_57 WHERE laps = 37
What is the grid total when there are 37 laps?
CREATE TABLE table_name_57 (grid VARCHAR, laps VARCHAR)
SELECT years_in_orlando FROM table_15621965_10 WHERE position = "Forward"
Name the years in orlando for forward
CREATE TABLE table_15621965_10 (years_in_orlando VARCHAR, position VARCHAR)
SELECT AVG(round) FROM table_name_89 WHERE method = "tko (would not stand up from butt scoot)"
What round was it when the method was TKO (would not stand up from Butt Scoot)?
CREATE TABLE table_name_89 ( round INTEGER, method VARCHAR )
SELECT constructor FROM table_name_19 WHERE grid < 13 AND laps < 9
What constructor has a grid less than 13 with under 9 laps?
CREATE TABLE table_name_19 (constructor VARCHAR, grid VARCHAR, laps VARCHAR)
SELECT COUNT(player) FROM table_15621965_10 WHERE school_club_team = "Arizona"
Name the number of players from arizona
CREATE TABLE table_15621965_10 (player VARCHAR, school_club_team VARCHAR)
SELECT high_rebounds FROM table_name_57 WHERE high_assists = "jason kidd (8)" AND score = "w 105–95 (ot)"
Who had the high rebounds when the score was w 105 95 (ot) and Jason Kidd (8) had the high assists?
CREATE TABLE table_name_57 ( high_rebounds VARCHAR, high_assists VARCHAR, score VARCHAR )
SELECT AVG(year) FROM table_name_18 WHERE competition = "world junior championships" AND position = "20th (qf)"
What year was the Competition of World Junior Championships with a 20th (qf) position?
CREATE TABLE table_name_18 (year INTEGER, competition VARCHAR, position VARCHAR)
SELECT years_in_orlando FROM table_15621965_10 WHERE school_club_team = "Concord HS"
Name the years in orlando that the player from concord hs was in
CREATE TABLE table_15621965_10 (years_in_orlando VARCHAR, school_club_team VARCHAR)
SELECT "Airdate" FROM table_7092 WHERE "Adapted by" = 'stanley miller' AND "Title" = '“thirteen to centaurus”'
What is the Airdate for the episode titled thirteen to centaurus Adapted by stanley miller?
CREATE TABLE table_7092 ( "Episode" real, "Title" text, "Story" text, "Adapted by" text, "Director" text, "Airdate" text, "Exists?" text )
SELECT notes FROM table_name_69 WHERE event = "400 m" AND year < 2004 AND position = "12th (h)"
What was the notes of the 400 m event before 2004 with a position of 12th (h)?
CREATE TABLE table_name_69 (notes VARCHAR, position VARCHAR, event VARCHAR, year VARCHAR)
SELECT COUNT(player) FROM table_15621965_14 WHERE school_club_team = "Louisiana State"
Name the number of players for louisiana state
CREATE TABLE table_15621965_14 (player VARCHAR, school_club_team VARCHAR)
SELECT COUNT("Crowd") FROM table_58509 WHERE "Home Team" = 'melbourne victory'
Im the match where the home team is Melbourne Victory, what was the crowd attendance?
CREATE TABLE table_58509 ( "Round" text, "Date" text, "Home Team" text, "Score" text, "Away Team" text, "Crowd" real, "Stadium" text, "Match Details" text )
SELECT venue FROM table_name_32 WHERE year > 2003 AND notes = "3:34.88"
Which venue had a note of 3:34.88 after 2003?
CREATE TABLE table_name_32 (venue VARCHAR, year VARCHAR, notes VARCHAR)
SELECT school_club_team FROM table_15621965_14 WHERE player = "Kevin Ollie"
Name the school/club team for kevin ollie
CREATE TABLE table_15621965_14 (school_club_team VARCHAR, player VARCHAR)
SELECT SUM("Start") FROM table_37705 WHERE "Engine" = 'oldsmobile' AND "Finish" = '21' AND "Year" < '2001'
How many starts are associated with an oldsmobile engine, 21 finishes and before 2001?
CREATE TABLE table_37705 ( "Year" real, "Chassis" text, "Engine" text, "Start" real, "Finish" real, "Team" text )
SELECT notes FROM table_name_41 WHERE competition = "all-africa games" AND year < 2007
What were the notes of the All-Africa Games before 2007?
CREATE TABLE table_name_41 (notes VARCHAR, competition VARCHAR, year VARCHAR)
SELECT school_club_team FROM table_15621965_14 WHERE player = "Jawann Oldham"
Name the school/club team for jawann oldham
CREATE TABLE table_15621965_14 (school_club_team VARCHAR, player VARCHAR)
SELECT "Runner-up" FROM table_49571 WHERE "Year" = '1990'
Who is the runner-up in 1990?
CREATE TABLE table_49571 ( "Location" text, "Year" real, "Champion" text, "Runner-up" text, "Score" text )
SELECT event FROM table_name_87 WHERE year = 2007 AND position = "5th"
Which event in 2007 had a position of 5th?
CREATE TABLE table_name_87 (event VARCHAR, year VARCHAR, position VARCHAR)
SELECT player FROM table_15621965_14 WHERE school_club_team = "Seattle"
Name the player for seattle
CREATE TABLE table_15621965_14 (player VARCHAR, school_club_team VARCHAR)
SELECT Nationality, COUNT(Nationality) FROM ship GROUP BY Type, Nationality ORDER BY COUNT(Nationality) DESC
What is the total number of ships with different nationalities and ship types?, sort in descending by the total number.
CREATE TABLE ship ( Ship_ID int, Name text, Type text, Nationality text, Tonnage int ) CREATE TABLE mission ( Mission_ID int, Ship_ID int, Code text, Launched_Year int, Location text, Speed_knots int, Fate text )
SELECT SUM(attendance) FROM table_name_45 WHERE leading_scorer = "stephen jackson" AND date = "12/17"
How many attended the game on 12/17 with stephen jackson as the leading scorer?
CREATE TABLE table_name_45 (attendance INTEGER, leading_scorer VARCHAR, date VARCHAR)
SELECT nationality FROM table_15621965_16 WHERE school_club_team = "Clemson"
What is the nationality of th player who's school is Clemson?
CREATE TABLE table_15621965_16 (nationality VARCHAR, school_club_team VARCHAR)
SELECT COUNT(tdp) FROM table_27277284_27 WHERE order_part_number = "AMQL65DAM22GG"
How many thermal design power levels does part number amql65dam22gg have?
CREATE TABLE table_27277284_27 ( tdp VARCHAR, order_part_number VARCHAR )
SELECT score FROM table_name_80 WHERE tournament = "sant cugat" AND opponent_in_the_final = "jose checa-calvo"
WHAT WAS THE SCORE IN THE FINAL PLAYED AGAINST JOSE CHECA-CALVO IN THE SANT CUGAT TOURNAMENT ?
CREATE TABLE table_name_80 (score VARCHAR, tournament VARCHAR, opponent_in_the_final VARCHAR)
SELECT years_in_orlando FROM table_15621965_16 WHERE school_club_team = "Clemson"
What years did the player who's school is Clemson spend in Orlando?
CREATE TABLE table_15621965_16 (years_in_orlando VARCHAR, school_club_team VARCHAR)
SELECT COUNT(DISTINCT t1.uniquepid) FROM (SELECT patient.uniquepid, treatment.treatmenttime, patient.patienthealthsystemstayid FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'mechanical ventilation' AND STRFTIME('%y', treatment.treatmenttime) <= '2...
how many patients until 2104 were prescribed dextrose 50 % iv soln during the same hospital encounter after having undergone mechanical ventilation?
CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE vitalperiodic ( vitalperiodici...
SELECT score FROM table_name_92 WHERE opponent_in_the_final = "rabie chaki"
WHAT WAS THE SCORE IN THE FINAL AGAINST RABIE CHAKI?
CREATE TABLE table_name_92 (score VARCHAR, opponent_in_the_final VARCHAR)
SELECT MAX(no) FROM table_15621965_16 WHERE school_club_team = "Delta State"
What is the number of the player who attended Delta State?
CREATE TABLE table_15621965_16 (no INTEGER, school_club_team VARCHAR)
SELECT Date_Payment_Made, AVG(Amount_Payment) FROM Payments WHERE Payment_Method_Code = 'Visa'
For those payments processed with Visa, bin the payment day into the Day of Week interval and compute the average amount payment as the Y-axis.
CREATE TABLE Claims ( Claim_ID INTEGER, Policy_ID INTEGER, Date_Claim_Made DATE, Date_Claim_Settled DATE, Amount_Claimed INTEGER, Amount_Settled INTEGER ) CREATE TABLE Settlements ( Settlement_ID INTEGER, Claim_ID INTEGER, Date_Claim_Made DATE, Date_Claim_Settled DATE, Amoun...
SELECT away_team AS score FROM table_name_17 WHERE home_team = "collingwood"
What was the away team's score when Collingwood was the home team?
CREATE TABLE table_name_17 (away_team VARCHAR, home_team VARCHAR)
SELECT player FROM table_15621965_2 WHERE position = "Forward-Center"
Who plays the position of forward-center?
CREATE TABLE table_15621965_2 (player VARCHAR, position VARCHAR)
SELECT MAX(pick__number) FROM table_name_33 WHERE round > 11
What is the highest pick # after round 11?
CREATE TABLE table_name_33 ( pick__number INTEGER, round INTEGER )
SELECT home_team FROM table_name_87 WHERE venue = "victoria park"
Who was the home team for the game played at Victoria Park?
CREATE TABLE table_name_87 (home_team VARCHAR, venue VARCHAR)
SELECT years_in_orlando FROM table_15621965_3 WHERE player = "Chris Corchiani"
During what years did Chris Corchiani play in Orlando?
CREATE TABLE table_15621965_3 (years_in_orlando VARCHAR, player VARCHAR)
SELECT SUM("Specialist") FROM table_6484 WHERE "Bachelor's" > '4' AND "Masters" > '26'
How many specialists are at the college with more than 4 bachelor's degrees and more than 26 master's degrees?
CREATE TABLE table_6484 ( "College" text, "Bachelor's" real, "Masters" real, "Doctorate" real, "Specialist" real )
SELECT home_team FROM table_name_33 WHERE away_team = "fitzroy"
Who was the home team when Fitzroy was the away team?
CREATE TABLE table_name_33 (home_team VARCHAR, away_team VARCHAR)
SELECT date_of_issue FROM table_15635768_1 WHERE face_value = "42¢"
When the face value is 42¢, what was the issue's date?
CREATE TABLE table_15635768_1 (date_of_issue VARCHAR, face_value VARCHAR)
SELECT Q.Id AS "post_link", COUNT(*) AS ANum, SUM(CASE WHEN A.Score < 0 THEN 1 ELSE 0 END) AS ANegNum FROM Posts AS Q, Posts AS A WHERE A.ParentId = Q.Id AND Q.Score > 0 AND Q.AcceptedAnswerId IS NULL GROUP BY Q.Id HAVING COUNT(*) = SUM(CASE WHEN A.Score < 0 THEN 1 ELSE 0 END) ORDER BY Q.Id DESC
Positive scored questions, with multiple, all-negative answers, no accepted answer.
CREATE TABLE CloseAsOffTopicReasonTypes ( Id number, IsUniversal boolean, InputTitle text, MarkdownInputGuidance text, MarkdownPostOwnerGuidance text, MarkdownPrivilegedUserGuidance text, MarkdownConcensusDescription text, CreationDate time, CreationModeratorId number, ApprovalDa...
SELECT home_team FROM table_name_77 WHERE venue = "lake oval"
Who was the home team for the game played at Lake Oval?
CREATE TABLE table_name_77 (home_team VARCHAR, venue VARCHAR)
SELECT place_of_issue FROM table_15635768_1 WHERE ecosystem = "Kelp Forest"
Which location has the ecosystem of kelp forest?
CREATE TABLE table_15635768_1 (place_of_issue VARCHAR, ecosystem VARCHAR)
SELECT DISTINCT T1.driverid, T1.nationality FROM drivers AS T1 JOIN laptimes AS T2 ON T1.driverid = T2.driverid WHERE T2.milliseconds > 100000
Find all the distinct id and nationality of drivers who have had laptime more than 100000 milliseconds?
CREATE TABLE pitstops ( raceid number, driverid number, stop number, lap number, time text, duration text, milliseconds number ) CREATE TABLE constructors ( constructorid number, constructorref text, name text, nationality text, url text ) CREATE TABLE results ( res...
SELECT opponent_in_the_final FROM table_name_63 WHERE championship = "johannesburg, south africa"
Who was the opponent in the championship in Johannesburg, South Africa?
CREATE TABLE table_name_63 (opponent_in_the_final VARCHAR, championship VARCHAR)
SELECT COUNT(no_stamps_in_sheet) FROM table_15635768_1 WHERE face_value = "37¢" AND printer = "Banknote Corporation of America"
How many stamps have a face value of 37¢ and were printed in the banknote corporation of america?
CREATE TABLE table_15635768_1 (no_stamps_in_sheet VARCHAR, face_value VARCHAR, printer VARCHAR)
SELECT pick FROM table_name_11 WHERE position = "catcher" AND player = "josh donaldson"
What is catcher Josh Donaldson's pick number?
CREATE TABLE table_name_11 ( pick VARCHAR, position VARCHAR, player VARCHAR )
SELECT MIN(wins) FROM table_name_8 WHERE pct > 0.526 AND rank < 37 AND losses = 947
What is the lowest amount of wins a manager with more than 0.526 pct., ranked higher than 37, and 947 losses has?
CREATE TABLE table_name_8 (wins INTEGER, losses VARCHAR, pct VARCHAR, rank VARCHAR)
SELECT printer FROM table_15635768_1 WHERE place_of_issue = "Estes Park, Colorado"
Who was the printer of Estes Park, Colorado?
CREATE TABLE table_15635768_1 (printer VARCHAR, place_of_issue VARCHAR)
SELECT week_8 FROM table_name_52 WHERE week_1 = "carol roopali"
Who did the housemate that nominated Carol Roopali in week 1 nominate in week 8?
CREATE TABLE table_name_52 ( week_8 VARCHAR, week_1 VARCHAR )
SELECT COUNT(crowd) FROM table_name_31 WHERE home_team = "essendon"
I want the total number of people in the crowd for essendon home team
CREATE TABLE table_name_31 (crowd VARCHAR, home_team VARCHAR)
SELECT printer FROM table_15635768_1 WHERE face_value = "39¢"
The stamp was 39¢, who was the printer?
CREATE TABLE table_15635768_1 (printer VARCHAR, face_value VARCHAR)
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.short_title = "Acute uri NOS" AND lab.fluid = "Ascites"
Provide the number of patients diagnosed with unspecified acute upper respiratory tract infection who had an ascitic fluid lab test.
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, ...
SELECT COUNT(grid) FROM table_name_64 WHERE laps > 102 AND time_retired = "+ 6.18"
How many grids have 102 laps and a Time/Retired of + 6.18?
CREATE TABLE table_name_64 (grid VARCHAR, laps VARCHAR, time_retired VARCHAR)
SELECT attendance FROM table_15647838_3 WHERE location = "El Paso, TX"
What are values of attendance for the El Paso, TX location?
CREATE TABLE table_15647838_3 (attendance VARCHAR, location VARCHAR)
SELECT All_Home, COUNT(All_Home) FROM basketball_match GROUP BY All_Home ORDER BY COUNT(All_Home)
Show me the number of all home by all home in a histogram, show total number in ascending order.
CREATE TABLE university ( School_ID int, School text, Location text, Founded real, Affiliation text, Enrollment real, Nickname text, Primary_conference text ) CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text, ACC_Per...
SELECT SUM(laps) FROM table_name_29 WHERE driver = "innes ireland" AND grid > 11
How many laps did innes ireland drive with a grid higher than 11?
CREATE TABLE table_name_29 (laps INTEGER, driver VARCHAR, grid VARCHAR)
SELECT COUNT(result) FROM table_15647838_3 WHERE attendance = "74,111"
How many values for result correspond to attendance of 74,111?
CREATE TABLE table_15647838_3 (result VARCHAR, attendance VARCHAR)
SELECT DISTINCT cost.cost FROM cost WHERE cost.eventtype = 'diagnosis' AND cost.eventid IN (SELECT diagnosis.diagnosisid FROM diagnosis WHERE diagnosis.diagnosisname = 'svt - without hemodynamic compromise')
what is 'diagnosis cost' of svt - without hemodynamic compromise?
CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time ) CREATE TABLE patient ( uniquep...
SELECT AVG(grid) FROM table_name_16 WHERE constructor = "brm" AND driver = "tony maggs" AND laps > 102
What is the average grid that has a Constructor of brm, tony maggs, and a Laps larger than 102?
CREATE TABLE table_name_16 (grid INTEGER, laps VARCHAR, constructor VARCHAR, driver VARCHAR)
SELECT COUNT(location) FROM table_15647838_3 WHERE stadium = "Sun Life stadium"
How many locations have the Sun Life Stadium?
CREATE TABLE table_15647838_3 (location VARCHAR, stadium VARCHAR)
SELECT MIN("Date") FROM table_55711 WHERE "Catalog" = '3645' AND "Format" = 'cd' AND "Label" = 'luaka bop'
what is the earliest date for the album that had a catalog number of 3645, was formatted as a cd and was under the luaka bop label?
CREATE TABLE table_55711 ( "Region" text, "Date" real, "Label" text, "Format" text, "Catalog" text )
SELECT score FROM table_name_86 WHERE date = "23 july 1992"
I want the score for 23 july 1992
CREATE TABLE table_name_86 (score VARCHAR, date VARCHAR)
SELECT MAX(season) FROM table_15647838_3 WHERE bowl_game = "1993 Independence Bowl"
What is the highest season for a bowl game of the 1993 Independence Bowl?
CREATE TABLE table_15647838_3 (season INTEGER, bowl_game VARCHAR)
SELECT "Cardinal direction" FROM table_6623 WHERE "English" = 'wednesday p.m.'
What is the cardinal direction of Wednesday p.m. in English?
CREATE TABLE table_6623 ( "Cardinal direction" text, "Burmese" text, "Sanskrit" text, "English" text, "Planet" text, "Sign" text )
SELECT venue FROM table_name_64 WHERE date = "23 july 1992"
I want the venue for 23 july 1992
CREATE TABLE table_name_64 (venue VARCHAR, date VARCHAR)
SELECT MIN(_number) FROM table_15647838_3 WHERE location = "Atlanta, GA" AND opponent = "Georgia Bulldogs"
What is the lowest # in Atlanta, GA with the Georgia Bulldogs as an opponent?
CREATE TABLE table_15647838_3 (_number INTEGER, location VARCHAR, opponent VARCHAR)
SELECT YEAR(CreationDate) AS CreationDateYear, COUNT(*) AS PostsThisYear FROM dbo.Posts WHERE OwnerUserId = 22656 GROUP BY YEAR(CreationDate) ORDER BY YEAR(CreationDate)
ORDER BY - most recent Posts by CreationDate.
CREATE TABLE TagSynonyms ( Id number, SourceTagName text, TargetTagName text, CreationDate time, OwnerUserId number, AutoRenameCount number, LastAutoRename time, Score number, ApprovedByUserId number, ApprovalDate time ) CREATE TABLE CloseAsOffTopicReasonTypes ( Id number, ...
SELECT time_retired FROM table_name_1 WHERE grid < 8 AND laps = 73 AND constructor = "williams - bmw"
What is the Time/Retired that has a Grid smaller than 8, 73 laps, and a Constructor of williams - bmw?
CREATE TABLE table_name_1 (time_retired VARCHAR, constructor VARCHAR, grid VARCHAR, laps VARCHAR)
SELECT COUNT(attendance) FROM table_15647838_3 WHERE bowl_game = "1986 Peach Bowl"
How many values for attendance correspond to the 1986 Peach Bowl?
CREATE TABLE table_15647838_3 (attendance VARCHAR, bowl_game VARCHAR)
SELECT MIN(wins) FROM table_name_27 WHERE losses > 12 AND draws < 0
What is the lowest number of wins where the losses are more than 12 and the draws are less than 0?
CREATE TABLE table_name_27 ( wins INTEGER, losses VARCHAR, draws VARCHAR )
SELECT date FROM table_name_32 WHERE away_team = "richmond"
On what date was Richmond playing as an away team?
CREATE TABLE table_name_32 (date VARCHAR, away_team VARCHAR)
SELECT interview_subject FROM table_1566848_7 WHERE date = "2-86"
Who was the interview subject in the 2-86 issue?
CREATE TABLE table_1566848_7 (interview_subject VARCHAR, date VARCHAR)
SELECT (SELECT chartevents.valuenum FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 18866) AND icustays.outtime IS NULL) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_i...
compared to last measured on the current intensive care unit visit is the arterial bp mean of patient 18866 less than the value second to last measured on the current intensive care unit visit?
CREATE TABLE admissions ( row_id number, subject_id number, hadm_id number, admittime time, dischtime time, admission_type text, admission_location text, discharge_location text, insurance text, language text, marital_status text, ethnicity text, age number ) CREATE ...
SELECT crowd FROM table_name_99 WHERE venue = "victoria park"
What is the crowd size for Victoria park?
CREATE TABLE table_name_99 (crowd VARCHAR, venue VARCHAR)
SELECT COUNT(pictorials) FROM table_1566848_7 WHERE centerfold_model = "Rebekka Armstrong"
Who were all the pictorials when the centerfold model was Rebekka Armstrong?
CREATE TABLE table_1566848_7 (pictorials VARCHAR, centerfold_model VARCHAR)
SELECT MIN(year) FROM table_name_56 WHERE start = "saint-gaudens" AND stage < 15
What was the earliest year that had a start of Saint-Gaudens and a stage smaller than 15?
CREATE TABLE table_name_56 ( year INTEGER, start VARCHAR, stage VARCHAR )
SELECT AVG(crowd) FROM table_name_97 WHERE venue = "princes park"
What is the average crowd size for princes park?
CREATE TABLE table_name_97 (crowd INTEGER, venue VARCHAR)
SELECT pictorials FROM table_1566848_7 WHERE centerfold_model = "Ava Fabian"
Who were the pictorials when the centerfold model was Ava Fabian?
CREATE TABLE table_1566848_7 (pictorials VARCHAR, centerfold_model VARCHAR)
SELECT launched FROM table_name_81 WHERE territory = "singapore" AND channel = 83
When did channel 83 in singapore launch?
CREATE TABLE table_name_81 ( launched VARCHAR, territory VARCHAR, channel VARCHAR )
SELECT transfer_window FROM table_name_15 WHERE name = "giuly"
Name the transfer wind for giuly
CREATE TABLE table_name_15 (transfer_window VARCHAR, name VARCHAR)
SELECT COUNT(interview_subject) FROM table_1566848_7 WHERE centerfold_model = "Sherry Arnett"
Who was the interview subject when the centerfold model was Sherry Arnett?
CREATE TABLE table_1566848_7 (interview_subject VARCHAR, centerfold_model VARCHAR)