sql
stringlengths 9
2.37k
| table
stringclasses 9
values | query
stringlengths 51
503
|
---|---|---|
SELECT Circuit FROM table WHERE Race = british grand prix | CREATE TABLE INST, Here is a database schema( table schema); | What circuit was the British Grand Prix?.It is not neccessary to use all the tables. |
SELECT DISTINCT fare.fare_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) OR fare.one_direction_cost = (SELECT MIN(FAREalias1.one_direction_cost) FROM airport_service AS AIRPORT_SERVICEalias2, airport_service AS AIRPORT_SERVICEalias3, city AS CITYalias2, city AS CITYalias3, fare AS FAREalias1 WHERE CITYalias2.city_code = AIRPORT_SERVICEalias2.city_code AND CITYalias2.city_name = 'DENVER' AND CITYalias3.city_code = AIRPORT_SERVICEalias3.city_code AND CITYalias3.city_name = 'ATLANTA' AND FAREalias1.from_airport = AIRPORT_SERVICEalias2.airport_code AND FAREalias1.to_airport = AIRPORT_SERVICEalias3.airport_code)) AND CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'DENVER' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'ATLANTA' AND flight_fare.fare_id = fare.fare_id AND flight.flight_id = flight_fare.flight_id 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); | i'd like a ticket on a plane from DENVER to ATLANTA i would like a COACH class or lowest fare ticketIt is not neccessary to use all the tables. |
SELECT desired_rate__p_ FROM table_25316812_1 WHERE rate_limit__p_ = "50.33" | CREATE TABLE INST, Here is a database schema( table schema); | What is the desired rate when the rate limit (p) is 50.33?It is not neccessary to use all the tables. |
SELECT Country FROM table WHERE Film title used in nomination = tent of miracles | CREATE TABLE INST, Here is a database schema( table schema); | Which country is the film Tent of Miracles from?.It is not neccessary to use all the tables. |
SELECT Tournament FROM table WHERE 1983 = 3r | CREATE TABLE INST, Here is a database schema( table schema); | What tournament has a 3r in 1983?.It is not neccessary to use all the tables. |
SELECT Qual FROM table WHERE Rank = 29 AND Year = 1957 | CREATE TABLE INST, Here is a database schema( table schema); | What is the qualification for rank of 29 in 1957?.It is not neccessary to use all the tables. |
SELECT being__qualities_ FROM table_name_36 WHERE having__things_ = "language, religions, work, customs, values, norms" | CREATE TABLE INST, Here is a database schema( table schema); | Name the being qualities for having things of language religions work customs values normsIt is not neccessary to use all the tables. |
SELECT Venue FROM table WHERE Away team = collingwood | CREATE TABLE INST, Here is a database schema( table schema); | What venue had collingwood as the away team?.It is not neccessary to use all the tables. |
SELECT NHL team FROM table WHERE Player = Blaine Russell | CREATE TABLE INST, Here is a database schema( table schema); | Which team picked Blaine Russell?.It is not neccessary to use all the tables. |
SELECT Type FROM table WHERE Royal house = ji AND Title = ruler | CREATE TABLE INST, Here is a database schema( table schema); | What type of state has a royal house of ji and has a ruler?.It is not neccessary to use all the tables. |
SELECT Name FROM table WHERE Rank = 5 | CREATE TABLE INST, Here is a database schema( table schema); | Who has rank 5?.It is not neccessary to use all the tables. |
SELECT (SELECT vitalperiodic.respiration FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '027-136480') AND patient.unitdischargetime IS NULL) AND NOT vitalperiodic.respiration IS NULL ORDER BY vitalperiodic.observationtime LIMIT 1 OFFSET 1) - (SELECT vitalperiodic.respiration FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '027-136480') AND patient.unitdischargetime IS NULL) AND NOT vitalperiodic.respiration IS NULL ORDER BY vitalperiodic.observationtime LIMIT 1) | CREATE TABLE INST, Here is a database schema( table schema); | show me the respiration change in patient 027-136480 second measured on the current icu visit compared to the first value measured on the current icu visit?It is not neccessary to use all the tables. |
SELECT COUNT Year FROM table WHERE Name = prof. aditya naraian purohit | CREATE TABLE INST, Here is a database schema( table schema); | What is the total number of years that prof. aditya naraian purohit won?.It is not neccessary to use all the tables. |
SELECT COUNT LosingTeam FROM table WHERE Location = Sydney Football Stadium, Sydney (11) | CREATE TABLE INST, Here is a database schema( table schema); | How many teams lost at the sydney football stadium, sydney (11)?.It is not neccessary to use all the tables. |
SELECT operator_s_ FROM table_name_96 WHERE reserves = "100 bbbl" | CREATE TABLE INST, Here is a database schema( table schema); | Which operator has a Reserve of 100 bbbl?It is not neccessary to use all the tables. |
SELECT location FROM table_name_16 WHERE score = "119-115 (ot)" | CREATE TABLE INST, Here is a database schema( table schema); | Score of 119-115 (ot) involved what location?It is not neccessary to use all the tables. |
SELECT Result FROM table WHERE Attendance = 18304 | CREATE TABLE INST, Here is a database schema( table schema); | In the game with an attendance of 18304, what was the final score?.It is not neccessary to use all the tables. |
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.age < "47" AND lab.fluid = "Ascites" | CREATE TABLE INST, Here is a database schema( table schema); | count the number of patients whose age is less than 47 and lab test fluid is ascites?It is not neccessary to use all the tables. |
SELECT 2010 ARWU Rankings FROM table WHERE 2000 Singapore “Asiaweek” Rankings = none AND Median ranks < 10 AND 2009 QS Asian Rankings: Int’l student review = 144 | CREATE TABLE INST, Here is a database schema( table schema); | What's the ARWU ranking that has the int' student review of 144, a median rank of less than 10, and 2000 Singapore “Asiaweek” of none?.It is not neccessary to use all the tables. |
SELECT slno FROM table_25383715_1 WHERE contact_person = "SDE (P), Thiruppattur" | CREATE TABLE INST, Here is a database schema( table schema); | What was the SlNo no of contact person SDE (P) Thiruppattur?It is not neccessary to use all the tables. |
SELECT AVG Attendance FROM table WHERE Record = 1–5–0 | CREATE TABLE INST, Here is a database schema( table schema); | What was the average attendance for a Kings game when they had a record of 1–5–0?.It is not neccessary to use all the tables. |
SELECT Gold FROM table WHERE Bronze = 1 | CREATE TABLE INST, Here is a database schema( table schema); | What shows for gold when bronze is 1?.It is not neccessary to use all the tables. |
SELECT Part 4 FROM table WHERE Part 1 = *hlaupaną *stautaną | CREATE TABLE INST, Here is a database schema( table schema); | What is the part 4 with *hlaupaną *stautaną in part 1?.It is not neccessary to use all the tables. |
SELECT event FROM table_22644589_4 WHERE compulsory_dance__cd_ = "28.12" | CREATE TABLE INST, Here is a database schema( table schema); | In what event was the compulsory dance score 28.12?It is not neccessary to use all the tables. |
SELECT viewers__in_millions_ FROM table_1723080_1 WHERE broadcast_date = "1August1964" | CREATE TABLE INST, Here is a database schema( table schema); | How many viewers were there on 1august1964?It is not neccessary to use all the tables. |
SELECT AVG Attendance FROM table WHERE Week > 16 | CREATE TABLE INST, Here is a database schema( table schema); | What is the average attendance after week 16?.It is not neccessary to use all the tables. |
SELECT date FROM table_17782308_1 WHERE opponent = "Miami Dolphins" | CREATE TABLE INST, Here is a database schema( table schema); | What was the date of the game when the opponent was the Miami Dolphins?It is not neccessary to use all the tables. |
SELECT COUNT(leader) FROM table_19283982_4 WHERE _percentage_of_popular_vote = "11.05%" | CREATE TABLE INST, Here is a database schema( table schema); | Name the number of leaders for % of popular vote being 11.05%It is not neccessary to use all the tables. |
SELECT policy_type_code, COUNT(*) FROM policies GROUP BY policy_type_code | CREATE TABLE INST, Here is a database schema( table schema); | Find the number of records of each policy type and its type code.It is not neccessary to use all the tables. |
SELECT School FROM table WHERE School Corp. = missouri synod | CREATE TABLE INST, Here is a database schema( table schema); | What school is in the Missouri Synod school corporation?.It is not neccessary to use all the tables. |
SELECT Medal FROM table WHERE Event = men's freestyle 52 kg | CREATE TABLE INST, Here is a database schema( table schema); | What medal was awarded in the men's freestyle 52 kg?.It is not neccessary to use all the tables. |
SELECT Europe FROM table WHERE Title = z.h.p. unlosing ranger vs darkdeath evilman | CREATE TABLE INST, Here is a database schema( table schema); | Tell me the Europe for z.h.p. unlosing ranger vs darkdeath evilman.It is not neccessary to use all the tables. |
SELECT d_icd_procedures.short_title FROM d_icd_procedures WHERE d_icd_procedures.icd9_code IN (SELECT t1.icd9_code FROM (SELECT procedures_icd.icd9_code, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM procedures_icd WHERE procedures_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.age BETWEEN 30 AND 39) AND STRFTIME('%y', procedures_icd.charttime) <= '2102' GROUP BY procedures_icd.icd9_code) AS t1 WHERE t1.c1 <= 3) | CREATE TABLE INST, Here is a database schema( table schema); | until 2102, what was the three most frequently ordered procedure for patients 30s?It is not neccessary to use all the tables. |
SELECT score FROM table_27537518_6 WHERE first_star = "O. Pavelec" | CREATE TABLE INST, Here is a database schema( table schema); | What was the score of the game whose first star was O. Pavelec?It is not neccessary to use all the tables. |
SELECT COUNT(capital) FROM table_1888051_1 WHERE area__km²_ = "1111.14" | CREATE TABLE INST, Here is a database schema( table schema); | How many capitals are there when area (km²) is 1111.14?It is not neccessary to use all the tables. |
SELECT date FROM table_name_54 WHERE game = "game 1" | CREATE TABLE INST, Here is a database schema( table schema); | On what date was Game 1?It is not neccessary to use all the tables. |
SELECT "City" FROM table_32897 WHERE "Venue" = 'united spirit arena' | CREATE TABLE INST, Here is a database schema( table schema); | In what city is the United Spirit Arena located?It is not neccessary to use all the tables. |
SELECT Competition FROM table WHERE Total = 428kg | CREATE TABLE INST, Here is a database schema( table schema); | Which competition led to a total weight of 428kg?.It is not neccessary to use all the tables. |
SELECT difference FROM table_15400878_1 WHERE drawn > 2.0 | CREATE TABLE INST, Here is a database schema( table schema); | Name the difference for when drawn is larger than 2.0It is not neccessary to use all the tables. |
SELECT Date FROM perpetrator ORDER BY Killed DESC | CREATE TABLE INST, Here is a database schema( table schema); | List the date of perpetrators in descending order of the number of people killed.It is not neccessary to use all the tables. |
SELECT High assists FROM table WHERE Date = March 26 | CREATE TABLE INST, Here is a database schema( table schema); | Who had the high assists on March 26?.It is not neccessary to use all the tables. |
SELECT AVG(total) FROM table_name_64 WHERE rank < 5 AND bronze < 7 | CREATE TABLE INST, Here is a database schema( table schema); | What is the average medal total when the rank is less than 5 and less than 7 bronze medals were won?It is not neccessary to use all the tables. |
SELECT courtesy_title FROM table_name_1 WHERE tenure = "1766–1794" | CREATE TABLE INST, Here is a database schema( table schema); | What is the courtesy title of the person whose tenure goes from 1766–1794?It is not neccessary to use all the tables. |
SELECT Movie FROM table WHERE Song Title = "anti pettukundhuna" | CREATE TABLE INST, Here is a database schema( table schema); | What movie was "anti pettukundhuna" in?.It is not neccessary to use all the tables. |
SELECT serbs FROM table_2374338_2 WHERE hungarians = "9.26%" | CREATE TABLE INST, Here is a database schema( table schema); | What is every value for Serbs if value for Hungarians is 9.26%?It is not neccessary to use all the tables. |
SELECT engine FROM table_name_44 WHERE chassis = "march 90ca" | CREATE TABLE INST, Here is a database schema( table schema); | What car has a March 90ca Chassis?It is not neccessary to use all the tables. |
SELECT MAX Contestants FROM table WHERE Runner-Up = Monique Evans | CREATE TABLE INST, Here is a database schema( table schema); | How many contestants were there when the runner-up was Monique Evans?.It is not neccessary to use all the tables. |
SELECT SUM(intakeoutput.cellvaluenumeric) FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '009-1746')) AND intakeoutput.cellpath LIKE '%output%' AND STRFTIME('%y-%m-%d', intakeoutput.intakeoutputtime) <= '2105-12-28' | CREATE TABLE INST, Here is a database schema( table schema); | what's the total output that patient 009-1746 has had until 12/28/2105?It is not neccessary to use all the tables. |
SELECT SUM(pick) FROM table_name_56 WHERE name = "ed hickerson" AND round < 10 | CREATE TABLE INST, Here is a database schema( table schema); | Which Pick has a Name of ed hickerson and a Round smaller than 10?It is not neccessary to use all the tables. |
SELECT length__miles_ FROM table_1817879_2 WHERE endpoints = "Westlake/MacArthur Park to Wilshire/Western" | CREATE TABLE INST, Here is a database schema( table schema); | What is the lenth (miles) of endpoints westlake/macarthur park to wilshire/western?It is not neccessary to use all the tables. |
SELECT Location FROM table WHERE Team = belshina | CREATE TABLE INST, Here is a database schema( table schema); | What is the Location for Belshina?.It is not neccessary to use all the tables. |
SELECT "Date" FROM table_9073 WHERE "Result" = 'l 25-13' | CREATE TABLE INST, Here is a database schema( table schema); | Which date has a Result of l 25-13?It is not neccessary to use all the tables. |
SELECT MIN ANSI code FROM table WHERE GEO ID > 3809927140 AND Water (sqmi) < 0.492 AND Pop. (2010) = 37 AND Latitude > 48.245979 | CREATE TABLE INST, Here is a database schema( table schema); | Which ANSI code has a GEO ID larger than 3809927140, and a Water (sqmi) smaller than 0.492, and a Pop (2010) of 37, and a Latitude larger than 48.245979?.It is not neccessary to use all the tables. |
SELECT Away team FROM table WHERE Away team score = 15.9 (99) | CREATE TABLE INST, Here is a database schema( table schema); | What is the away team that had a score of 15.9 (99)?.It is not neccessary to use all the tables. |
SELECT MAX Height (ft) FROM table WHERE City = cologne | CREATE TABLE INST, Here is a database schema( table schema); | How high was the highest building in feet in the city of cologne?.It is not neccessary to use all the tables. |
SELECT Region FROM table WHERE Vehicle = 39.2% | CREATE TABLE INST, Here is a database schema( table schema); | Name the region for 39.2% vehicle.It is not neccessary to use all the tables. |
SELECT "author" FROM table_201_31 WHERE "first line" = '"two loves i have, of comfort and despair"' | CREATE TABLE INST, Here is a database schema( table schema); | which author wrote two loves i have , of comfort and despair , and on a day -lrb- alack the day -rrb- ?It is not neccessary to use all the tables. |
SELECT COUNT(season__number) FROM table_26866519_1 WHERE director = "Ricardo Mendez Matta" | CREATE TABLE INST, Here is a database schema( table schema); | How many episodes are directed by ricardo mendez matta?It is not neccessary to use all the tables. |
SELECT DISTINCT T2.Name FROM APPELLATIONs AS T1 JOIN WINE AS T2 ON T1.Appelation = T2.Appelation WHERE T1.Area = "North Coast" | CREATE TABLE INST, Here is a database schema( table schema); | Find the names of all distinct wines that have appellations in North Coast area.It is not neccessary to use all the tables. |
SELECT val_de_marne FROM table_name_18 WHERE seine_saint_denis = "2.7%" | CREATE TABLE INST, Here is a database schema( table schema); | WHAT IS THE VAL-DE-MARNE WITH A Seine-Saint-Denis of 2.7%?It is not neccessary to use all the tables. |
SELECT Name FROM table WHERE Floors = 46 | CREATE TABLE INST, Here is a database schema( table schema); | what is the name that had 46 floors?.It is not neccessary to use all the tables. |
SELECT COUNT Round FROM table WHERE Opponent = wrexham AND Venue = away | CREATE TABLE INST, Here is a database schema( table schema); | What is the round number when the opponent was Wrexham, and the venue shows as Away?.It is not neccessary to use all the tables. |
SELECT "Acquisition via" FROM table_42795 WHERE "Number" < '22' AND "Season" = '2002' | CREATE TABLE INST, Here is a database schema( table schema); | What is the Acquisition that has less than 22, in the 2002 season?It is not neccessary to use all the tables. |
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.days_stay > "5" AND diagnoses.icd9_code = "40391" | CREATE TABLE INST, Here is a database schema( table schema); | how many patients whose days of hospital stay is greater than 5 and diagnoses icd9 code is 40391?It is not neccessary to use all the tables. |
SELECT 200m FROM table WHERE 100m > 57.34 AND 600m = 5:54.45 | CREATE TABLE INST, Here is a database schema( table schema); | Which swimmer has a 100m time longer than 57.34 and a 600m of 5:54.45?.It is not neccessary to use all the tables. |
SELECT Position FROM table WHERE Height = 5-8 AND Home Town = grottoes, va | CREATE TABLE INST, Here is a database schema( table schema); | What position does the 5-8 player from Grottoes, VA play?.It is not neccessary to use all the tables. |
SELECT score FROM table_name_27 WHERE away_team = "aldershot" AND date = "aldershot" | CREATE TABLE INST, Here is a database schema( table schema); | With a date of Aldershot and Aldershot as the away team what was the score of the game?It is not neccessary to use all the tables. |
SELECT scorers FROM table_name_64 WHERE opponent = "neuchâtel xamax" AND date = "10 december 1985" | CREATE TABLE INST, Here is a database schema( table schema); | Who were the scorers in the game against neuchâtel xamax played on 10 December 1985?It is not neccessary to use all the tables. |
SELECT rank FROM table_171666_1 WHERE area__sq_mi_ = 456800 | CREATE TABLE INST, Here is a database schema( table schema); | What is the rank of the division with an area of 456800 sq mi?It is not neccessary to use all the tables. |
SELECT SUM Annual ridership (2012) FROM table WHERE Stations = 13 AND Lines > 4 | CREATE TABLE INST, Here is a database schema( table schema); | What is the number of annual ridership with a station that has more than 13 stations and larger than 4 lines?.It is not neccessary to use all the tables. |
SELECT * FROM table_train_115 WHERE creatinine_clearance_cl < 45 | CREATE TABLE INST, Here is a database schema( table schema); | creatinine clearance ( cl ) of < 45 ml / minIt is not neccessary to use all the tables. |
SELECT AVG Goals FROM table WHERE Apps = 234 AND Rank < 8 | CREATE TABLE INST, Here is a database schema( table schema); | What is the average number of goals of the player with 234 apps and a rank above 8?.It is not neccessary to use all the tables. |
SELECT COUNT(traditional_chinese) FROM table_1805919_1 WHERE english_translation = "Crossing the River" | CREATE TABLE INST, Here is a database schema( table schema); | How many traditional Chinese for the translation of "Crossing the River"?It is not neccessary to use all the tables. |
SELECT city FROM table_name_39 WHERE region = "mideast" AND host = "temple university" | CREATE TABLE INST, Here is a database schema( table schema); | Which city in the mideast region is the hot of Temple University?It is not neccessary to use all the tables. |
SELECT Reidsville FROM table WHERE Information = Enrollment | CREATE TABLE INST, Here is a database schema( table schema); | Name the reidsville for enrollment.It is not neccessary to use all the tables. |
SELECT Lyricist FROM table WHERE Film = mukti | CREATE TABLE INST, Here is a database schema( table schema); | Who wrote the lyrics for Mukti?.It is not neccessary to use all the tables. |
SELECT "First elected" FROM table_53015 WHERE "Party" = 'labor' AND "Member" = 'james sharpe' | CREATE TABLE INST, Here is a database schema( table schema); | Which first election for the labor party is James Sharpe a part of?It is not neccessary to use all the tables. |
SELECT height_in_ft FROM table_name_93 WHERE position = "center" AND school_club_team_country = "kansas" | CREATE TABLE INST, Here is a database schema( table schema); | Name the height for the center position from kansasIt is not neccessary to use all the tables. |
SELECT Constellation FROM table WHERE Object type = globular cluster AND NGC number = 5986 | CREATE TABLE INST, Here is a database schema( table schema); | What Constellation has a Object type of globular cluster and a NGC number of 5986?.It is not neccessary to use all the tables. |
SELECT Owner/operator FROM table WHERE From/to = kambalda to esperance | CREATE TABLE INST, Here is a database schema( table schema); | Who is the owner/operator of the line from Kambalda to Esperance?.It is not neccessary to use all the tables. |
SELECT COUNT(stage) FROM table_17672470_19 WHERE winner = "Robbie McEwen" | CREATE TABLE INST, Here is a database schema( table schema); | How many stages were won by Robbie McEwen?It is not neccessary to use all the tables. |
SELECT name FROM table_name_83 WHERE fa_cup_goals = 0 AND league_cup_goals < 2 AND total_goals = 2 | CREATE TABLE INST, Here is a database schema( table schema); | Who had fa cup goals of 0 league cup goals less than 2 and total goals of 2?It is not neccessary to use all the tables. |
SELECT Country FROM table WHERE Player = rocco mediate | CREATE TABLE INST, Here is a database schema( table schema); | What Country is Rocco Mediate from?.It is not neccessary to use all the tables. |
SELECT Date of delivery FROM table WHERE Baby gender = boy AND Congresswoman = kirsten gillibrand | CREATE TABLE INST, Here is a database schema( table schema); | What was the delivery date of Congresswoman Kirsten Gillibrand's baby boy?.It is not neccessary to use all the tables. |
SELECT Position FROM table WHERE NHL team = Philadelphia Flyers | CREATE TABLE INST, Here is a database schema( table schema); | Which position did the player hold that played for the Philadelphia Flyers in NHL?.It is not neccessary to use all the tables. |
SELECT surface FROM table_name_55 WHERE date = "january 11, 1998" | CREATE TABLE INST, Here is a database schema( table schema); | Date of january 11 1998 has what surface?It is not neccessary to use all the tables. |
SELECT гә_гә_[ɡʷ] FROM table_202365_2 WHERE ҕ_ҕ_[ʁ_ɣ] = "Ҿ ҿ [t͡ʂʼ]" | CREATE TABLE INST, Here is a database schema( table schema); | What is гә гә [ɡʷ] when ҕ ҕ [ʁ/ɣ] is ҿ ҿ [t͡ʂʼ]?It is not neccessary to use all the tables. |
SELECT opponent FROM table_13258876_2 WHERE date = "September 4, 1983" | CREATE TABLE INST, Here is a database schema( table schema); | Who did the Seahawks play on September 4 1983?It is not neccessary to use all the tables. |
SELECT "Player" FROM table_43702 WHERE "Place" = 't7' AND "Country" = 'united states' | CREATE TABLE INST, Here is a database schema( table schema); | Who has a place of T7 and is from the United States?It is not neccessary to use all the tables. |
SELECT MIN(gold) FROM table_name_60 WHERE nation = "united states" AND total > 5 | CREATE TABLE INST, Here is a database schema( table schema); | Which Gold has a Nation of united states and a Total larger than 5?It is not neccessary to use all the tables. |
SELECT COUNT Drawn FROM table WHERE Won = 10 | CREATE TABLE INST, Here is a database schema( table schema); | How many matches were drawn by the teams that won exactly 10?.It is not neccessary to use all the tables. |
SELECT canton FROM table_10020178_1 WHERE name = "Grande Dixence" | CREATE TABLE INST, Here is a database schema( table schema); | What is the canton of grande dixence?It is not neccessary to use all the tables. |
SELECT Report FROM table WHERE Location = tripoli AND Year > 1928 AND Driver = baconin borzacchini | CREATE TABLE INST, Here is a database schema( table schema); | What is a report for a race with Baconin Borzacchini in Tripoli in a year after 1928?.It is not neccessary to use all the tables. |
SELECT Score FROM table WHERE Record = 6-8 | CREATE TABLE INST, Here is a database schema( table schema); | If the record is 6-8, what was the score?.It is not neccessary to use all the tables. |
SELECT rd, _time FROM table_name_86 WHERE date = "october 3, 2009" | CREATE TABLE INST, Here is a database schema( table schema); | What was the Rd. Time for October 3 2009?It is not neccessary to use all the tables. |
SELECT Date FROM table WHERE Crowd > 16,000 AND Away team score = 8.11 (59) | CREATE TABLE INST, Here is a database schema( table schema); | What date was the crowd larger than 16,000 people and the away team scored 8.11 (59)?.It is not neccessary to use all the tables. |
SELECT tournament FROM table_name_41 WHERE outcome = "runner-up" AND score = "4–6, 3–6" | CREATE TABLE INST, Here is a database schema( table schema); | What Tournament has an Outcome of runner-up and a Score of 4–6 3–6?It is not neccessary to use all the tables. |
SELECT AVG Ties FROM table WHERE Goals Against < 56 AND Team = ottawa hockey club AND Goals For > 47 | CREATE TABLE INST, Here is a database schema( table schema); | What is the average number of ties when goals against is less than 56 for Ottawa Hockey Club and the goals for is more than 47?.It is not neccessary to use all the tables. |
SELECT Policy_Type_Code FROM Customer_Policies GROUP BY Policy_Type_Code ORDER BY COUNT(*) DESC LIMIT 1 | CREATE TABLE INST, Here is a database schema( table schema); | Which kind of policy type was chosen by the most customers?It is not neccessary to use all the tables. |
SELECT title FROM table_20174050_1 WHERE story__number = 91 | CREATE TABLE INST, Here is a database schema( table schema); | What's the title of the audio book with story number 91?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.