answer
stringlengths
6
3.91k
question
stringlengths
7
766
context
stringlengths
27
7.14k
SELECT gs FROM table_17309500_1 WHERE points = "12.1"
Name the gs for points being 12.1
CREATE TABLE table_17309500_1 (gs VARCHAR, points VARCHAR)
SELECT T1.staff_id, T1.staff_name FROM staff AS T1 JOIN Staff_Department_Assignments AS T2 ON T1.staff_id = T2.staff_id ORDER BY date_assigned_to - date_assigned_from LIMIT 1
Find the id and name of the staff who has been assigned for the shortest period.
CREATE TABLE staff ( staff_id VARCHAR, staff_name VARCHAR ) CREATE TABLE Staff_Department_Assignments ( staff_id VARCHAR )
SELECT venue FROM table_name_31 WHERE score = "3-0" AND date = "december 7, 2002"
What venue hosted a match with a 3-0 score on December 7, 2002?
CREATE TABLE table_name_31 (venue VARCHAR, score VARCHAR, date VARCHAR)
SELECT assists FROM table_17309500_1 WHERE games = 157
Name the assists for 157 games
CREATE TABLE table_17309500_1 (assists VARCHAR, games VARCHAR)
SELECT "Downhill" FROM table_68184 WHERE "Overall" = '7'
Which downhill has 7 overalls?
CREATE TABLE table_68184 ( "Season" real, "Overall" text, "Slalom" text, "Giant Slalom" text, "Super G" text, "Downhill" text, "Combined" text )
SELECT competition FROM table_name_23 WHERE score = "2-0" AND venue = "amman"
What competition resulted in 2-0 score, hosted in Amman?
CREATE TABLE table_name_23 (competition VARCHAR, score VARCHAR, venue VARCHAR)
SELECT steals FROM table_17309500_1 WHERE season = "2007/2008"
Name the steals for season 2007/2008
CREATE TABLE table_17309500_1 (steals VARCHAR, season VARCHAR)
SELECT MIN("Position") FROM table_39043 WHERE "Conceded" > '16' AND "Draws" = '3' AND "Losses" > '3'
What's the lowest Position with a Conceded that's larger than 16, Draws of 3, and Losses that's larger than 3?
CREATE TABLE table_39043 ( "Position" real, "Team" text, "Played" real, "Wins" real, "Draws" real, "Losses" real, "Scored" real, "Conceded" real, "Points" real )
SELECT date FROM table_name_29 WHERE venue = "kuwait city"
On what date was Kuwait City a venue?
CREATE TABLE table_name_29 (date VARCHAR, venue VARCHAR)
SELECT COUNT(assists) FROM table_17309500_1 WHERE blocks = "77"
Name the total number of assists for 77 blocks
CREATE TABLE table_17309500_1 (assists VARCHAR, blocks VARCHAR)
SELECT (SELECT COUNT(DISTINCT t1.uniquepid) FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'chest pain - unlikely cardiac in origin' AND DATETIME(diagnosis.diagnosistime, 'start of year') = DA...
how many patients were diagnosed with chest pain - unlikely cardiac in origin and did not return to the hospital within 2 months during this year?
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 opponent FROM table_name_70 WHERE record = "26–32"
Who did the Mariners play when their record was 26–32?
CREATE TABLE table_name_70 (opponent VARCHAR, record VARCHAR)
SELECT record FROM table_17311759_9 WHERE high_assists = "Mike Bibby (8)"
When mike bibby (8) had the highest amount of assists what is the record?
CREATE TABLE table_17311759_9 (record VARCHAR, high_assists VARCHAR)
SELECT bedType, COUNT(bedType) FROM Rooms WHERE decor = "traditional" GROUP BY bedType
Using a pie chart to show the proportion of each type of bed.
CREATE TABLE Reservations ( Code INTEGER, Room TEXT, CheckIn TEXT, CheckOut TEXT, Rate REAL, LastName TEXT, FirstName TEXT, Adults INTEGER, Kids INTEGER ) CREATE TABLE Rooms ( RoomId TEXT, roomName TEXT, beds INTEGER, bedType TEXT, maxOccupancy INTEGER, baseP...
SELECT time_retired FROM table_name_37 WHERE laps = 49 AND constructor = "vanwall"
What was the Vanwall time/retired with 49 laps?
CREATE TABLE table_name_37 (time_retired VARCHAR, laps VARCHAR, constructor VARCHAR)
SELECT location_attendance FROM table_17311759_9 WHERE high_assists = "Mike Bibby (9)"
When mike bibby (9) has the highest amount of assists what is the location and attendance?
CREATE TABLE table_17311759_9 (location_attendance VARCHAR, high_assists VARCHAR)
SELECT "Batting 1st" FROM table_52981 WHERE "Game" = '8'
who is batting 1st in game 8?
CREATE TABLE table_52981 ( "Game" real, "Date" text, "Batting 1st" text, "Batting 2nd" text, "Result" text )
SELECT SUM(laps) FROM table_name_96 WHERE time_retired = "engine" AND grid = 1
How many laps did the grid 1 engine have?
CREATE TABLE table_name_96 (laps INTEGER, time_retired VARCHAR, grid VARCHAR)
SELECT team FROM table_17311759_6 WHERE date = "January 23"
Who was the team played on January 23?
CREATE TABLE table_17311759_6 (team VARCHAR, date VARCHAR)
SELECT COUNT("Longitude") FROM table_21062 WHERE "Latitude" = '9.9N'
How many longitudes have a latitude of 9.9n?
CREATE TABLE table_21062 ( "Name" text, "Latitude" text, "Longitude" text, "Diameter" text, "Year named" real, "Namesake" text )
SELECT MAX(laps) FROM table_name_19 WHERE grid > 13 AND time_retired = "engine" AND driver = "luigi piotti"
What was the highest lap for Luigi Piotti with more than 13 grid and a time/retired engine?
CREATE TABLE table_name_19 (laps INTEGER, driver VARCHAR, grid VARCHAR, time_retired VARCHAR)
SELECT location_attendance FROM table_17311759_6 WHERE team = "Orlando"
Where was the game held and what was the attendance when they played Orlando?
CREATE TABLE table_17311759_6 (location_attendance VARCHAR, team VARCHAR)
SELECT Team_ID, School_ID FROM basketball_match GROUP BY ACC_Road
Draw a scatter chart about the correlation between Team_ID and School_ID , and group by attribute ACC_Road.
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 MIN(pick__number) FROM table_name_16 WHERE position = "cornerback" AND round < 1
What Cornerback has the lowest Pick # and Round of less than 1?
CREATE TABLE table_name_16 (pick__number INTEGER, position VARCHAR, round VARCHAR)
SELECT MAX(game) FROM table_17311783_8 WHERE team = "Charlotte"
In what game did Miami play Charlotte?
CREATE TABLE table_17311783_8 (game INTEGER, team VARCHAR)
SELECT COUNT("title") FROM table_203_491 WHERE "year" >= 1994 AND "year" <= 2005
calculate the number of songs listed between 1994 and 2005 .
CREATE TABLE table_203_491 ( id number, "year" number, "title" text, "us hot 100" number, "us modern rock" number, "us mainstream rock" number, "album" text )
SELECT position FROM table_name_25 WHERE pick__number = 77
What is the Position of Pick #77?
CREATE TABLE table_name_25 (position VARCHAR, pick__number VARCHAR)
SELECT high_points FROM table_17311797_8 WHERE date = "February 6"
Who had the high points on February 6?
CREATE TABLE table_17311797_8 (high_points VARCHAR, date VARCHAR)
SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', diagnosis.diagnosistime)) FROM diagnosis WHERE diagnosis.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '016-9636'...
how many hours it has been since patient 016-9636 was first diagnosed with alcohol withdrawal in their current hospital visit?
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 COUNT(attendance) FROM table_name_52 WHERE date = "august 12"
How many attended the game on August 12?
CREATE TABLE table_name_52 (attendance VARCHAR, date VARCHAR)
SELECT MAX(laps) AS Led FROM table_17319931_1 WHERE points = "16"
What is the highest number of laps led with 16 points?
CREATE TABLE table_17319931_1 (laps INTEGER, points VARCHAR)
SELECT prescriptions.drug FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 12775) AND DATETIME(prescriptions.startdate, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') AND STRFTIME('%m', prescriptions.startdate) = '12' ORD...
what is the name of the medication that was first prescribed to patient 12775 in 12/this year?
CREATE TABLE microbiologyevents ( row_id number, subject_id number, hadm_id number, charttime time, spec_type_desc text, org_name text ) CREATE TABLE labevents ( row_id number, subject_id number, hadm_id number, itemid number, charttime time, valuenum number, valueuo...
SELECT MAX(crowd) FROM table_name_62 WHERE home_team = "hawthorn"
What is the largest crowd with Home team of hawthorn?
CREATE TABLE table_name_62 (crowd INTEGER, home_team VARCHAR)
SELECT COUNT(driver) FROM table_17319931_1 WHERE team = "SAMAX Motorsport"
How many drivers were there for Samax Motorsport?
CREATE TABLE table_17319931_1 (driver VARCHAR, team VARCHAR)
SELECT "Percentage" FROM table_25392 WHERE "Team" = 'Georgia'
Name the percentage for georgia
CREATE TABLE table_25392 ( "Team" text, "SEC Wins" real, "SEC Losses" real, "Percentage" text, "Home Record" text, "Road Record" text, "Overall Record" text )
SELECT home_team AS score FROM table_name_91 WHERE away_team = "fitzroy"
What is the home team score with Fitzroy as away team?
CREATE TABLE table_name_91 (home_team VARCHAR, away_team VARCHAR)
SELECT team FROM table_17319931_1 WHERE driver = "Jeff Simmons"
What is the team whose driver Jeff Simmons?
CREATE TABLE table_17319931_1 (team VARCHAR, driver VARCHAR)
SELECT "Score" FROM table_35349 WHERE "Record" = '21-27'
What is the score from the 21-27 Record?
CREATE TABLE table_35349 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" text, "Record" text )
SELECT home_team FROM table_name_59 WHERE venue = "glenferrie oval"
What is glenferrie oval's home team?
CREATE TABLE table_name_59 (home_team VARCHAR, venue VARCHAR)
SELECT COUNT(driver) FROM table_17319931_1 WHERE time_retired = "+3 laps" AND points = "24"
How many drivers where there when the time/retired +3 laps and points were 24?
CREATE TABLE table_17319931_1 (driver VARCHAR, time_retired VARCHAR, points VARCHAR)
SELECT original_air_date FROM table_21550870_1 WHERE us_viewers__million_ = "9.16"
Name the original air date for 9.16 viewers
CREATE TABLE table_21550870_1 ( original_air_date VARCHAR, us_viewers__million_ VARCHAR )
SELECT super_g FROM table_name_8 WHERE overall = "16"
What is the Super G value for the season that has an Overall score of 16?
CREATE TABLE table_name_8 (super_g VARCHAR, overall VARCHAR)
SELECT MAX(laps) FROM table_17319931_1 WHERE driver = "Darren Manning"
What is the highest number of laps for Darren Manning?
CREATE TABLE table_17319931_1 (laps INTEGER, driver VARCHAR)
SELECT Season, COUNT(Season) FROM game GROUP BY Home_team, Season ORDER BY Season DESC
I want to see trend the number of season over season by Home_team, and order by the X-axis from high to low.
CREATE TABLE game ( stadium_id int, id int, Season int, Date text, Home_team text, Away_team text, Score text, Competition text ) CREATE TABLE injury_accident ( game_id int, id int, Player text, Injury text, Number_of_matches text, Source text ) CREATE TABLE sta...
SELECT MIN(season) FROM table_name_34 WHERE super_g = "33"
What is the oldest season that had a listed Super G score of 33?
CREATE TABLE table_name_34 (season INTEGER, super_g VARCHAR)
SELECT COUNT(car_no) FROM table_17319931_1 WHERE time_retired = "+4.0019"
How many car numbers were recorded when the time/retired is +4.0019?
CREATE TABLE table_17319931_1 (car_no VARCHAR, time_retired VARCHAR)
SELECT AVG("FA Cup") FROM table_62724 WHERE "Total" < '1'
Which FA Cup has a Total smaller than 1?
CREATE TABLE table_62724 ( "Name" text, "Premier League" real, "League Cup" real, "FA Cup" real, "UEFA Cup" real, "Total" real )
SELECT season FROM table_name_70 WHERE overall = "77"
What year's Season had an Overall of 77?
CREATE TABLE table_name_70 (season VARCHAR, overall VARCHAR)
SELECT game FROM table_17311812_7 WHERE date = "January 28"
What game number was played on January 28?
CREATE TABLE table_17311812_7 (game VARCHAR, date VARCHAR)
SELECT MIN(total) FROM table_28068645_8
What is the minimum sum?
CREATE TABLE table_28068645_8 ( total INTEGER )
SELECT MAX(rank) FROM table_name_13 WHERE earnings___$__ > 533 OFFSET 929
What is the high rank for players earning over $533,929?
CREATE TABLE table_name_13 (rank INTEGER, earnings___$__ INTEGER)
SELECT high_points FROM table_17311812_8 WHERE date = "February 11"
What is the high amount of points on February 11?
CREATE TABLE table_17311812_8 (high_points VARCHAR, date VARCHAR)
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.dod_year <= "2111.0" AND lab.fluid = "Other Body Fluid"
count the number of patients whose year of death is less than or equal to 2111 and lab test fluid is other body fluid?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescription...
SELECT player FROM table_name_51 WHERE wins = 3 AND rank > 3
What player has 3 wins and ranks above 3rd?
CREATE TABLE table_name_51 (player VARCHAR, wins VARCHAR, rank VARCHAR)
SELECT high_assists FROM table_17311812_8 WHERE team = "Denver"
Who has the most assists on Denver?
CREATE TABLE table_17311812_8 (high_assists VARCHAR, team VARCHAR)
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_type = "NEWBORN" AND demographic.dob_year < "2168"
give the number of newborns who were born before the year 2168.
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, ...
SELECT time_retired FROM table_name_14 WHERE driver = "emerson fittipaldi"
What is the Time/Retired for emerson fittipaldi?
CREATE TABLE table_name_14 (time_retired VARCHAR, driver VARCHAR)
SELECT location_attendance FROM table_17322817_10 WHERE date = "April 13"
Name the location attendance for april 13
CREATE TABLE table_17322817_10 (location_attendance VARCHAR, date VARCHAR)
SELECT date FROM table_name_74 WHERE event = "monsters of rock" AND acts = "12 bands"
When is the Monsters of Rock show with 12 bands?
CREATE TABLE table_name_74 ( date VARCHAR, event VARCHAR, acts VARCHAR )
SELECT long FROM table_name_60 WHERE car = 26
What is the long for the player with 26 carries?
CREATE TABLE table_name_60 (long VARCHAR, car VARCHAR)
SELECT location_attendance FROM table_17322817_10 WHERE date = "April 5"
Name the location attendance for april 5
CREATE TABLE table_17322817_10 (location_attendance VARCHAR, date VARCHAR)
SELECT venue FROM table_name_64 WHERE away_team = "geelong"
What venue features geelong as the away side?
CREATE TABLE table_name_64 ( venue VARCHAR, away_team VARCHAR )
SELECT COUNT(car) FROM table_name_86 WHERE long = "2"
How many carries for the player with a 2 yard long?
CREATE TABLE table_name_86 (car VARCHAR, long VARCHAR)
SELECT high_points FROM table_17323042_6 WHERE date = "December 17"
Who had the high points on December 17?
CREATE TABLE table_17323042_6 (high_points VARCHAR, date VARCHAR)
SELECT constructor FROM table_1140088_6 WHERE race_name = "I Italian Republic Grand Prix"
Who constructed the I Italian Republic Grand Prix?
CREATE TABLE table_1140088_6 ( constructor VARCHAR, race_name VARCHAR )
SELECT long FROM table_name_78 WHERE car < 30 AND yards = "0"
What is the long for the player with under 30 carries and 0 yards?
CREATE TABLE table_name_78 (long VARCHAR, car VARCHAR, yards VARCHAR)
SELECT COUNT(score) FROM table_17323042_7 WHERE team = "Houston"
How many scores are listed for the game against Houston
CREATE TABLE table_17323042_7 (score VARCHAR, team VARCHAR)
SELECT fri_26_aug FROM table_30058355_2 WHERE mon_22_aug = "—— No Time"
What is shown for fri 26 aug when mon 22 aug is no time?
CREATE TABLE table_30058355_2 ( fri_26_aug VARCHAR, mon_22_aug VARCHAR )
SELECT AVG(wins) FROM table_name_85 WHERE division = "central" AND reds_season < 2000 AND losses < 81
How many wins were there in the 2000 season in the central division with less than 81 losses?
CREATE TABLE table_name_85 (wins INTEGER, losses VARCHAR, division VARCHAR, reds_season VARCHAR)
SELECT location_attendance FROM table_17323042_11 WHERE high_assists = "Andre Miller (7)"
What was the location and attendance of the game when High Assists were Andre Miller (7)?
CREATE TABLE table_17323042_11 (location_attendance VARCHAR, high_assists VARCHAR)
SELECT All_Home, AVG(Team_ID) FROM basketball_match GROUP BY All_Home ORDER BY All_Home DESC
Show me about the distribution of All_Home and the average of Team_ID , and group by attribute All_Home in a bar chart, and sort by the X in descending.
CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text, ACC_Percent text, ACC_Home text, ACC_Road text, All_Games text, All_Games_Percent int, All_Home text, All_Road text, All_Neutral text ) CREATE TABLE university ( Scho...
SELECT MIN(win_percentage) FROM table_name_59 WHERE gb_[c_] = "17" AND reds_season = 1989
What was the lowest percentages of wins in 1989 with a GB [c] of 17?
CREATE TABLE table_name_59 (win_percentage INTEGER, reds_season VARCHAR, gb_ VARCHAR, c_ VARCHAR)
SELECT high_assists FROM table_17323042_11 WHERE game = 1
Who was the High Assist in game 1?
CREATE TABLE table_17323042_11 (high_assists VARCHAR, game VARCHAR)
SELECT "Height ft (m)" FROM table_62431 WHERE "Rank" = '13'
How tall is the building ranked #13?
CREATE TABLE table_62431 ( "Rank" text, "Name" text, "Height ft (m)" text, "Floors" real, "Year" real )
SELECT AVG(losses) FROM table_name_61 WHERE mlb_season = "1943"
How many losses did the 1943 MLB have?
CREATE TABLE table_name_61 (losses INTEGER, mlb_season VARCHAR)
SELECT high_assists FROM table_17323042_11 WHERE high_rebounds = "Andre Iguodala (8)"
Who was the High Assist when the High Rebounds was andre iguodala (8)?
CREATE TABLE table_17323042_11 (high_assists VARCHAR, high_rebounds VARCHAR)
SELECT "Pavilion depth" FROM table_42669 WHERE "Crown angle" = '34.0–34.7°'
Which Pavilion depth has a Crown angle of 34.0 34.7 ?
CREATE TABLE table_42669 ( "Benchmark" text, "Crown height" text, "Pavilion depth" text, "Table diameter" text, "Girdle thickness" text, "Crown angle" text, "Pavilion angle" text, "Brilliance Grade" text )
SELECT MIN(wins) FROM table_name_74 WHERE finish = "7th" AND win_percentage > 0.429 AND reds_season < 1915
What was the lowest wins in a season less than 1915 with a 7th finish and 0.429 win %?
CREATE TABLE table_name_74 (wins INTEGER, reds_season VARCHAR, finish VARCHAR, win_percentage VARCHAR)
SELECT record FROM table_17323042_11 WHERE high_points = "Andre Miller (30)"
What was the W-L record when HIgh Points was andre miller (30)?
CREATE TABLE table_17323042_11 (record VARCHAR, high_points VARCHAR)
SELECT T2.date_moved_in, T1.customer_id, T1.customer_details FROM Customers AS T1 JOIN Customer_Events AS T2 ON T1.customer_id = T2.customer_id
What is each customer's move in date, and the corresponding customer id and details?
CREATE TABLE Customers ( customer_id VARCHAR, customer_details VARCHAR ) CREATE TABLE Customer_Events ( date_moved_in VARCHAR, customer_id VARCHAR )
SELECT gb_[c_] FROM table_name_98 WHERE win_percentage < 0.457 AND wins = 62 AND reds_season = 1900
In 1900 with 62 wins and a win percentage less than 0.457, what was the GB [c]?
CREATE TABLE table_name_98 (gb_ VARCHAR, c_ VARCHAR, reds_season VARCHAR, win_percentage VARCHAR, wins VARCHAR)
SELECT score FROM table_17323042_11 WHERE high_points = "Andre Miller (17)"
What was the score and game outcome when High Points was andre miller (17)?
CREATE TABLE table_17323042_11 (score VARCHAR, high_points VARCHAR)
SELECT team FROM table_27721131_6 WHERE high_points = "Andray Blatche , JaVale McGee (20)"
Which team played them when andray blatche , javale mcgee (20) had the high points?
CREATE TABLE table_27721131_6 ( team VARCHAR, high_points VARCHAR )
SELECT record FROM table_name_77 WHERE score = "7–6 (12)"
Which record has a score of 7–6 (12)?
CREATE TABLE table_name_77 (record VARCHAR, score VARCHAR)
SELECT COUNT(game) FROM table_17323042_11 WHERE high_points = "Andre Iguodala (29)"
How many games was High Points andre iguodala (29)?
CREATE TABLE table_17323042_11 (game VARCHAR, high_points VARCHAR)
SELECT week FROM table_name_66 WHERE finalist = "carlos moyá (5)"
What is the Week, when the Finalist is Carlos Moy (5)?
CREATE TABLE table_name_66 ( week VARCHAR, finalist VARCHAR )
SELECT date FROM table_name_62 WHERE record = "59–59"
On what date was the record 59–59?
CREATE TABLE table_name_62 (date VARCHAR, record VARCHAR)
SELECT COUNT(game) FROM table_17323042_9 WHERE date = "March 15"
How many games were played on March 15?
CREATE TABLE table_17323042_9 (game VARCHAR, date VARCHAR)
SELECT film_title_used_in_nomination FROM table_17155250_1 WHERE original_title = "The Black Tulip"
What name was used for nomination for the film with an original title of 'The Black Tulip'?
CREATE TABLE table_17155250_1 ( film_title_used_in_nomination VARCHAR, original_title VARCHAR )
SELECT loss FROM table_name_57 WHERE date = "august 21"
What loss occurred on August 21?
CREATE TABLE table_name_57 (loss VARCHAR, date VARCHAR)
SELECT record FROM table_17323042_5 WHERE team = "Orlando"
What was the team's record when they faced orlando?
CREATE TABLE table_17323042_5 (record VARCHAR, team 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, fare, fare_basis, flight, flight_fare WHERE ((fare_basis.class_type = 'COACH' AND fare.fare_basis_code = fare_basis.fare_basis_code) AND CITY_1.city_code = AIRPORT_SERVICE_1....
round trip flights from MINNEAPOLIS to SAN DIEGO COACH economy fare
CREATE TABLE time_zone ( time_zone_code text, time_zone_name text, hours_from_gmt int ) CREATE TABLE aircraft ( aircraft_code varchar, aircraft_description varchar, manufacturer varchar, basic_type varchar, engines int, propulsion varchar, wide_body varchar, wing_span int, ...
SELECT MAX(1985) FROM table_name_27 WHERE 1990 = 93
What is the highest 1985 value that has a 1990 value of 93?
CREATE TABLE table_name_27 (Id VARCHAR)
SELECT team FROM table_17323092_5 WHERE score = "L 97–107 (OT)"
Whic teams scored l 97–107 (ot)
CREATE TABLE table_17323092_5 (team VARCHAR, score VARCHAR)
SELECT AVG("Muslim") FROM table_35409 WHERE "Druze" < '2,534' AND "Year" = '2005' AND "Jewish" > '100,657'
What is the average muslim that has a druze less than 2,534, a year prior to 2005, and a jewish greater than 100,657?
CREATE TABLE table_35409 ( "Year" real, "Jewish" real, "Muslim" real, "Christian" real, "Druze" real, "Total" real )
SELECT MAX(2000) FROM table_name_51 WHERE 2010 = 82 AND 2005 < 74
What is the highest 2000 value that has a 2010 value of 82 and a 2005 value less than 74?
CREATE TABLE table_name_51 (Id VARCHAR)
SELECT high_assists FROM table_17323092_7 WHERE team = "@ Minnesota"
Who had the high assists when the team was @ Minnesota?
CREATE TABLE table_17323092_7 (high_assists VARCHAR, team VARCHAR)
SELECT res FROM table_name_51 WHERE time = "4:27"
What was the result of the 4:27 fight?
CREATE TABLE table_name_51 ( res VARCHAR, time VARCHAR )
SELECT SUM(1995) FROM table_name_7 WHERE year = "jiangxi" AND 2008 > 67
What is the 1995 value with a Jiangxi year and a 2008 value bigger than 67?
CREATE TABLE table_name_7 (year VARCHAR)
SELECT date FROM table_17323092_7 WHERE team = "Minnesota"
On what date did the Team Minnesota play?
CREATE TABLE table_17323092_7 (date VARCHAR, team VARCHAR)