sql
stringlengths 9
2.37k
| table
stringclasses 9
values | query
stringlengths 51
503
|
---|---|---|
SELECT MIN Wins FROM table WHERE Events = 8 AND Player = billy casper AND Earnings ( $ ) < 71,979
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many wins for billy casper over 8 events and uner $71,979 in earnings?.It is not neccessary to use all the tables.
|
SELECT "Nation" FROM table_42208 WHERE "Date" = 'may 6, 1991'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the Nation with a Date that is may 6, 1991?It is not neccessary to use all the tables.
|
SELECT name FROM table_13636_1 WHERE first_operational = "March 1945"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what's the name with first operational being march 1945It is not neccessary to use all the tables.
|
SELECT team_1 FROM table_name_17 WHERE team_2 = "fluminense (rj)"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who is team 1 where team 2 is Fluminense (RJ)?It is not neccessary to use all the tables.
|
SELECT All-time Rank FROM table WHERE Rank < 9 AND Debut Year = 1994
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the all-time rank associated with a rank less than 9 and a debut in 1994?.It is not neccessary to use all the tables.
|
SELECT "Record" FROM table_29845 WHERE "High points" = 'Chris Paul (16)'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the record when chris paul (16) had the high points?It is not neccessary to use all the tables.
|
SELECT COUNT Date FROM table WHERE High rebounds = Marcus Camby (18)
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many times was the high rebounds by marcus camby (18)?.It is not neccessary to use all the tables.
|
SELECT COUNT Goals FROM table WHERE Points < 4
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many goals did the player with less than 4 points have?.It is not neccessary to use all the tables.
|
SELECT AVG("Fall 09") FROM table_38830 WHERE "Fall 05" < '3'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the mean Fall 09 number where fall 05 is less than 3?It is not neccessary to use all the tables.
|
SELECT opponent FROM table_name_10 WHERE record = "52-58"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the opponent with record of 52-58It is not neccessary to use all the tables.
|
SELECT pole_position FROM table_name_33 WHERE team = "arting team impul" AND round = 3
|
CREATE TABLE INST, Here is a database schema( table schema);
|
On round 3 for Arting Team Impul, who held pole position?It is not neccessary to use all the tables.
|
SELECT Points Classification FROM table WHERE General Classification = cyril dessel
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Points Classification does the General Classification of Cyril Dessel have?.It is not neccessary to use all the tables.
|
SELECT Time FROM table WHERE Name = arkady vyatchanin
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was Arkady Vyatchanin's time?.It is not neccessary to use all the tables.
|
SELECT visitor FROM table_name_30 WHERE home = "vancouver" AND decision = "cloutier"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Visitor has a Home of vancouver and a Decision of cloutier?It is not neccessary to use all the tables.
|
SELECT tie_no FROM table_24887326_6 WHERE home_team = "Stoke City"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the tie when the home team is Stoke City?It is not neccessary to use all the tables.
|
SELECT Attendance FROM table WHERE Date = bye
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What attendance is listed against the date of bye?.It is not neccessary to use all the tables.
|
SELECT tracking_method FROM table_name_23 WHERE latest_stable_release = "6.0"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which tracking method has a latest stable release of 6.0?It is not neccessary to use all the tables.
|
SELECT recopa_sudamericana_1996 FROM table_name_64 WHERE copa_libertadores_1996 = "round of 16"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the recoupa sudamericana 1996 of the team with a copa libertadores 1996 result of the round of 16?It is not neccessary to use all the tables.
|
SELECT Number of Doses FROM table WHERE Vaccine = bacillus calmette-guérin
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many doses for the bacillus calmette-guérin?.It is not neccessary to use all the tables.
|
SELECT 7:30 FROM table WHERE 9:00 = the tudors
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What's on at 7:30 before the 9:00 showing of the Tudors?.It is not neccessary to use all the tables.
|
SELECT Season premiere FROM table WHERE Rank = #21
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many season premiers have a rank of #21?.It is not neccessary to use all the tables.
|
SELECT MIN(extra_points) FROM table_25517718_3
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the smallest number of extra points?It is not neccessary to use all the tables.
|
SELECT AVG Long FROM table WHERE Gain < 16 AND Loss < 6
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which average Long has a Gain smaller than 16, and a Loss smaller than 6?.It is not neccessary to use all the tables.
|
SELECT MAX(wins) FROM table_name_3 WHERE pos = "2nd" AND poles > 2
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Wins is the highest one that has a Pos of 2nd and Poles larger than 2?It is not neccessary to use all the tables.
|
SELECT Date FROM table WHERE Games = 2002 salt lake city AND Time = 3:57.70
|
CREATE TABLE INST, Here is a database schema( table schema);
|
On what day was the record set at the 2002 Salt Lake City games with a time of 3:57.70?.It is not neccessary to use all the tables.
|
SELECT MAX Tonnage FROM table WHERE Nationality = great britain AND Ship = newton ash
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the highest tonnage for a ship from Great Britain named Newton Ash?.It is not neccessary to use all the tables.
|
SELECT position FROM table_name_39 WHERE height < 1.96 AND year_born > 1980 AND player = "sergio rodríguez"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What position does Sergio Rodríguez who is less than 1.96 tall and was born after 1980 play?It is not neccessary to use all the tables.
|
SELECT COUNT Stadium FROM table WHERE Club = Haka
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many stadiums have haka as the club?.It is not neccessary to use all the tables.
|
SELECT Name origin FROM table WHERE Longitude = 71.1E
|
CREATE TABLE INST, Here is a database schema( table schema);
|
At a latitude of 71.1e, what is the feature's name origin?.It is not neccessary to use all the tables.
|
SELECT away_team FROM table_name_95 WHERE home_team = "brighton & hove albion"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who was the away team when Brighton & Hove Albion was home?It is not neccessary to use all the tables.
|
SELECT COUNT(*) > 0 FROM outputevents WHERE outputevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 95986)) AND outputevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'pacu urine' AND d_items.linksto = 'outputevents') AND DATETIME(outputevents.charttime) >= DATETIME(CURRENT_TIME(), '-1511 day')
|
CREATE TABLE INST, Here is a database schema( table schema);
|
does patient 95986 had any pacu urine output since 1511 days ago?It is not neccessary to use all the tables.
|
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "WHITE - RUSSIAN" AND demographic.dob_year < "1846"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Find the number of ethnically white russian patients born before the year 1846.It is not neccessary to use all the tables.
|
SELECT SUM(sack) FROM table_name_86 WHERE totaltk = 1 AND asst > 0
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what is the total sack when totaltk is 1 and asst. is more than 0?It is not neccessary to use all the tables.
|
SELECT Title FROM table WHERE Rank > 11 AND Worldwide Gross = $131,002,597
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the Title of the Film with a Rank greater than 11 and Worldwide Gross of $131,002,597?.It is not neccessary to use all the tables.
|
SELECT SUM(cuts_made) FROM table_name_72 WHERE top_10 < 2
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What are the Cuts made with a Top-10 smaller than 2?It is not neccessary to use all the tables.
|
SELECT COUNT(air_date) FROM table_25816476_2 WHERE team_guest_captain = "Stephen K Amos"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many entries are shown for an air date when the team guest captain was stephen k amos?It is not neccessary to use all the tables.
|
SELECT COUNT(tournament_winner) FROM table_24348134_3 WHERE regular_season_winner = "Iona , Siena & Niagara"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
List the number of tournament winners when iona siena & niagara won in the regular season.It is not neccessary to use all the tables.
|
SELECT Team FROM table WHERE Season = 2003-04
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What team did the 2003-04 winner play for?.It is not neccessary to use all the tables.
|
SELECT tyres FROM table_name_70 WHERE chassis = "jbw type 2"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the tyres for the JBW type 2 chassis?It is not neccessary to use all the tables.
|
SELECT road_team FROM table_name_3 WHERE date = "may 2"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who was the road team on May 2?It is not neccessary to use all the tables.
|
SELECT Years for Rockets FROM table WHERE Position = Guard / Forward
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what's the years for rockets where position is guard / forward.It is not neccessary to use all the tables.
|
SELECT High assists FROM table WHERE Date = march 30
|
CREATE TABLE INST, Here is a database schema( table schema);
|
who had the high assists on march 30?.It is not neccessary to use all the tables.
|
SELECT Result FROM table WHERE District = New York 16
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what are all the result for New York 16 district.It is not neccessary to use all the tables.
|
SELECT LNER class FROM table WHERE Date introduced = 1885 AND GNoSR Class = g
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which LNER class was introduced in 1885 and GNoSR class of g?.It is not neccessary to use all the tables.
|
SELECT 2004 FROM table_name_41 WHERE tournament = "french open"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which 2004 has a Tournament of french open?It is not neccessary to use all the tables.
|
SELECT Transfer fee FROM table WHERE Name = odjidja-ofoe
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is Odjidja-Ofoe's transfer fee?.It is not neccessary to use all the tables.
|
SELECT AVG(pick) FROM table_name_38 WHERE nationality = "canada" AND year < 1974 AND player = "yvon bouillon"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the pic for Canada for player Yvon Bouillon earlier than 1974?It is not neccessary to use all the tables.
|
SELECT Nationality FROM table WHERE Date = 8 may 1942
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Nationality has a Date of 8 may 1942?.It is not neccessary to use all the tables.
|
SELECT home_team FROM table_name_6 WHERE venue = "princes park"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who is Princes Park's home team?It is not neccessary to use all the tables.
|
SELECT Event FROM table WHERE Opponent = edson claas vieira
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which event had Edson Claas Vieira as an opponent?.It is not neccessary to use all the tables.
|
SELECT Industry FROM table WHERE Profits (billion $) < 14.2 AND Assets (billion $) > 2,467.9
|
CREATE TABLE INST, Here is a database schema( table schema);
|
For which industry was the profit smaller than 14.2 billion and the assets larger than 2,467.9 billion?.It is not neccessary to use all the tables.
|
SELECT AVG(price_range) FROM HOTELS WHERE star_rating_code = "5" AND pets_allowed_yn = 1
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Show the average price range of hotels that have 5 star ratings and allow pets.It is not neccessary to use all the tables.
|
SELECT Series 1 FROM table WHERE Series 2 = doug richards
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What series 1 has a Doug Richards in Series 2?.It is not neccessary to use all the tables.
|
SELECT SUM(goals_for) FROM table_name_5 WHERE draws > 9 AND played > 38
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many goals have more than 38 played and more than 9 draws?It is not neccessary to use all the tables.
|
SELECT Multi 1 FROM table WHERE Frequency = 2300mhz AND Release date = q3 2008 AND Model number = turion x2 ultra zm-84
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Multi 1 has a Frequency of 2300mhz, and a Release date of q3 2008 and a Model number of turion x2 ultra zm-84?.It is not neccessary to use all the tables.
|
SELECT Safari FROM table WHERE Period = 2012 q4
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What safari has 2012 q4 as the period?.It is not neccessary to use all the tables.
|
SELECT AVG(t1.c1) FROM (SELECT SUM(cost.cost) AS c1 FROM cost WHERE cost.hadm_id IN (SELECT labevents.hadm_id FROM labevents WHERE labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'transferrin')) AND STRFTIME('%y', cost.chargetime) <= '2102' GROUP BY cost.hadm_id) AS t1
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what's the average total cost of a hospital, including transferrin lab tests until 2102?It is not neccessary to use all the tables.
|
SELECT position FROM table_11677691_10 WHERE school = "Butler High school"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the position of the player from Butler High School?It is not neccessary to use all the tables.
|
SELECT Country FROM table WHERE Score = 72-72=144
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What country is the player with a score of 72-72=144 from?.It is not neccessary to use all the tables.
|
SELECT COUNT Kitmaker FROM table WHERE Team = Ittihad Kalba
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many kitmaker correspond to team ittihad kalba?.It is not neccessary to use all the tables.
|
SELECT city FROM table_name_87 WHERE venue = "mackey arena"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Where is the Mackey Arena located?It is not neccessary to use all the tables.
|
SELECT date FROM table_name_85 WHERE visitor = "cavaliers" AND home = "knicks"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What day was the game that had the Cavaliers as visiting team and the Knicks as the home team?It is not neccessary to use all the tables.
|
SELECT SUM(grid) FROM table_name_7 WHERE time = "+6.355" AND laps > 23
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Can you tell me the sum of Grid that has the Time of +6.355 and the Laps larger than 23?It is not neccessary to use all the tables.
|
SELECT away_team FROM table_name_77 WHERE home_team = "carlton"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What away team did Carlton play?It is not neccessary to use all the tables.
|
SELECT commandery AS capital FROM table_278229_1 WHERE commandery = "Changsha 長沙"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
when changsha 長沙 is the commandery what is the commandery capital?It is not neccessary to use all the tables.
|
SELECT COUNT(Ends) AS won FROM table_25714995_2 WHERE stolen_ends = 8
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many ends won catagories are listed when there are 8 stolen ends?It is not neccessary to use all the tables.
|
SELECT COUNT(cancelled) FROM table_211615_2 WHERE station = "Turnham Green"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the number of cancelled for turnham greenIt is not neccessary to use all the tables.
|
SELECT Prothrombin time FROM table WHERE Condition = Uremia
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Is uremia affect prothrombin?.It is not neccessary to use all the tables.
|
SELECT SUM("Launch Failures") FROM table_40905 WHERE "Launched" = '4' AND "Not usable" > '0'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the total launch failures when there are 4 launches, and the not usable is greater than 0?It is not neccessary to use all the tables.
|
SELECT MAX Week FROM table WHERE Result = l 16–12
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the highest week with a result of l 16–12?.It is not neccessary to use all the tables.
|
SELECT T2.driverid, T3.forename FROM races AS T1 JOIN results AS T2 ON T1.raceid = T2.raceid JOIN drivers AS T3 ON T2.driverid = T3.driverid WHERE T1.name = "Australian Grand Prix" INTERSECT SELECT T2.driverid, T3.forename FROM races AS T1 JOIN results AS T2 ON T1.raceid = T2.raceid JOIN drivers AS T3 ON T2.driverid = T3.driverid WHERE T1.name = "Chinese Grand Prix"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the id and first name of all the drivers who participated in the Australian Grand Prix and the Chinese Grand Prix?It is not neccessary to use all the tables.
|
SELECT rounds FROM table_name_63 WHERE driver = "vic elford" AND engine = "ford cosworth dfv 3.0 v8"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which rounds did Vic Elford with a Ford cosworth dfv 3.0 v8 engine have?It is not neccessary to use all the tables.
|
SELECT * FROM table_dev_57 WHERE heart_disease = 1
|
CREATE TABLE INST, Here is a database schema( table schema);
|
a history of uncorrected significant valvular heart diseaseIt is not neccessary to use all the tables.
|
SELECT "date" FROM table_204_513 WHERE id = (SELECT id FROM table_204_513 WHERE "date" = 'november 16') + 1
|
CREATE TABLE INST, Here is a database schema( table schema);
|
when is the next game played after november 17th ?It is not neccessary to use all the tables.
|
SELECT opponents FROM table_name_84 WHERE surface = "hard" AND outcome = "runner-up"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who were the opponents in the match that was played on a hard court and had a runner-up outcome?It is not neccessary to use all the tables.
|
SELECT home FROM table_name_77 WHERE venue = "stadion pod vrmcem"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who was the home team for the match at Stadion pod Vrmcem?It is not neccessary to use all the tables.
|
SELECT Season Finale FROM table WHERE Viewers (in millions) = 10.29
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What year did the season finale have a total of 10.29 million viewers?.It is not neccessary to use all the tables.
|
SELECT Player FROM table WHERE College = Utah
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which player is from Utah?.It is not neccessary to use all the tables.
|
SELECT team FROM table_name_59 WHERE year > 1935 AND player = "daniel bradshaw"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which team did daniel bradshaw play for after 1935?It is not neccessary to use all the tables.
|
SELECT Score FROM table WHERE Date = October 7
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What`s the score in October 7..It is not neccessary to use all the tables.
|
SELECT Result/Score FROM table WHERE Year > 2005 AND Opponent = #8 arkansas #1 memphis
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is Result/Score, when Year is greater than 2005, and when Opponent is #8 Arkansas #1 Memphis?.It is not neccessary to use all the tables.
|
SELECT MIN(no_in_series) FROM table_21313327_1 WHERE written_by = "Rob Wright & Debra J. Fisher & Erica Messer"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what is the No in series when Rob wright & Debra j. Fisher & Erica Messer were the writers?It is not neccessary to use all the tables.
|
SELECT Language FROM table WHERE Film Name = seethaiah
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what language is seethaiah in.It is not neccessary to use all the tables.
|
SELECT broadcast_date FROM table_29135051_3 WHERE guest_s_ = "Michael McIntyre and Alex James"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
when was the episode guest starring michael mcintyre and alex james broadcastedIt is not neccessary to use all the tables.
|
SELECT COUNT(season) AS premiere FROM table_10120207_8 WHERE viewers__millions_ = "10.17"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the number of season premieres were 10.17 people watched?It is not neccessary to use all the tables.
|
SELECT party FROM table_26129220_2 WHERE senator = "Mark Wagoner"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the party affiliation for senator mark Wagoner?It is not neccessary to use all the tables.
|
SELECT season FROM table_name_84 WHERE champion = "nicolas kiesa"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What season has the champion of Nicolas Kiesa?It is not neccessary to use all the tables.
|
SELECT AVG Goals Scored FROM table WHERE Place > 1 AND Team = once municipal AND Points < 27
|
CREATE TABLE INST, Here is a database schema( table schema);
|
For Once Municipal, what were the goals scored that had less than 27 points and greater than place 1?.It is not neccessary to use all the tables.
|
SELECT Nebraska FROM table WHERE Year = 2004
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Nebraska has 2004 year?.It is not neccessary to use all the tables.
|
SELECT Serials issued FROM table WHERE Design = yellow on blue AND Issued = 1955
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the issued serial for yellow on blue design issued in 1955?.It is not neccessary to use all the tables.
|
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'SAN DIEGO' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'WASHINGTON' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code AND flight.to_airport = AIRPORT_SERVICE_1.airport_code
|
CREATE TABLE INST, Here is a database schema( table schema);
|
show me the flights from SAN DIEGO to WASHINGTONIt is not neccessary to use all the tables.
|
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 = 'TAMPA' AND date_day.day_number = 25 AND date_day.month_number = 6 AND date_day.year = 1991 AND days.day_name = date_day.day_name AND flight.flight_days = days.days_code AND flight.to_airport = AIRPORT_SERVICE_1.airport_code) AND CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'NEWARK' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what flights depart NEWARK for TAMPA on fridayIt is not neccessary to use all the tables.
|
SELECT COUNT(player) FROM table_11677691_11 WHERE hometown = "Delray Beach, Florida"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many players are from Delray Beach Florida?It is not neccessary to use all the tables.
|
SELECT MIN(demographic.age) FROM demographic WHERE demographic.marital_status = "WIDOWED" AND demographic.age >= "43"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what is the minimum age of patients with marital status as widowed and aged in or above 43?It is not neccessary to use all the tables.
|
SELECT SUM(frequency) FROM table_name_13 WHERE type = "christian pop"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the sum of Frequency when Type is "Christian Pop"?It is not neccessary to use all the tables.
|
SELECT SUM Points FROM table WHERE Season = 2007
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is total amount of points for the 2007 season?.It is not neccessary to use all the tables.
|
SELECT Home team FROM table WHERE Away team score = 16.15 (111)
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which home team played an away team that had a score of 16.15 (111)?.It is not neccessary to use all the tables.
|
SELECT Location FROM table WHERE Nickname = Vikings
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which location has a team that is nicknamed the Vikings?.It is not neccessary to use all the tables.
|
SELECT "Goals For" FROM table_17709 WHERE "Overall Record" = '12-9-7'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
The Dallas Burn had a 12-9-7 record and what number of goals for?It is not neccessary to use all the tables.
|
SELECT AVG(demographic.age) FROM demographic WHERE demographic.diagnosis = "AORTIC INSUFFICIENCY\RE-DO STERNOTOMY; AORTIC VALVE REPLACEMENT " AND demographic.days_stay = "10"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Calculate the average age of patients with aortic insufficiency re-do sternotomy aortic valve replacement who stayed in hospital for 10 days.It is not neccessary to use all the tables.
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.