sql
stringlengths 9
2.37k
| table
stringclasses 9
values | query
stringlengths 51
503
|
|---|---|---|
SELECT title FROM table_25276528_2 WHERE directed_by = "Bill Foster"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What title did Bill Foster direct ?It is not neccessary to use all the tables.
|
SELECT COUNT(vacator) FROM table_224794_3 WHERE district = "Pennsylvania 33rd"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many vacators were in the Pennsylvania 33rd district?It is not neccessary to use all the tables.
|
SELECT AVG(rank) FROM table_name_74 WHERE events < 26 AND wins < 2
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the average rank for players with under 26 events and less than 2 wins?It is not neccessary to use all the tables.
|
SELECT COUNT(*) > 0 FROM course, course_offering, semester WHERE course_offering.friday = 'N' AND course_offering.monday = 'Y' AND course_offering.thursday = 'N' AND course_offering.tuesday = 'N' AND course_offering.wednesday = 'Y' AND course.course_id = course_offering.course_id AND course.department = 'EECS' AND course.number = 443 AND semester.semester = 'WN' AND semester.semester_id = course_offering.semester AND semester.year = 2016
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Mondays and Wednesdays can I take 443 ?It is not neccessary to use all the tables.
|
SELECT card_type_code, COUNT(*) FROM Customers_Cards GROUP BY card_type_code ORDER BY COUNT(*) DESC
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Bar chart x axis card type code y axis the total number, and display by the y-axis from high to low please.It is not neccessary to use all the tables.
|
SELECT cast FROM table_name_75 WHERE director = "colbert clark and armand schaefer" AND serial_title = "burn 'em up barnes"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
I want the cast for director of colbert clark and armand schaefer for burn 'em up barnesIt is not neccessary to use all the tables.
|
SELECT COUNT(P.Id) AS VoteCount, VT.Name AS VoteType, P.Id AS "post_link", P.Score, P.CreationDate, P.LastActivityDate FROM PostFeedback AS PF JOIN Posts AS P ON P.Id = PF.PostId JOIN PostHistory AS PH ON PF.Id = PH.PostId JOIN VoteTypes AS VT ON PF.VoteTypeId = VT.Id WHERE PF.IsAnonymous = 1 AND PH.Id = 15 GROUP BY P.Id, VT.Id, P.LastActivityDate, P.Score, P.CreationDate, VT.Name ORDER BY VoteCount DESC, VT.Id DESC
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Anonymous feedback to your posts.It is not neccessary to use all the tables.
|
SELECT Latin FROM table WHERE English = you sang
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the Latin for "you sang"?.It is not neccessary to use all the tables.
|
SELECT Cyrillic Name Other Names FROM table WHERE Settlement = Novi Vladimirovac
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the Cyrillic name for Novi Vladimirovac? .It is not neccessary to use all the tables.
|
SELECT apt_type_code FROM Apartments WHERE bathroom_count > 1 GROUP BY apt_type_code ORDER BY COUNT(*) DESC LIMIT 1
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Show the most common apartment type code among apartments with more than 1 bathroom.It is not neccessary to use all the tables.
|
SELECT diagnoses_icd.charttime FROM diagnoses_icd WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'mult mye w/o achv rmson') AND diagnoses_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 23858) AND DATETIME(diagnoses_icd.charttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year') ORDER BY diagnoses_icd.charttime DESC LIMIT 1
|
CREATE TABLE INST, Here is a database schema( table schema);
|
in the previous year, when was the last time that patient 23858 was diagnosed with mult mye w/o achv rmson?It is not neccessary to use all the tables.
|
SELECT Score FROM table WHERE Away team = exeter city
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the score where the away team is Exeter City?.It is not neccessary to use all the tables.
|
SELECT SUM(long) FROM table_name_47 WHERE yards = 926 AND avg_g < 84.2
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the sum for the long that has 926 yards and an avg/g less than 84.2?It is not neccessary to use all the tables.
|
SELECT bleeding_time FROM table_1226250_1 WHERE condition = "Aspirin"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What kind of bleeding does aspirin cause?It is not neccessary to use all the tables.
|
SELECT SUM(points) FROM table_name_58 WHERE year = 1988
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the total point for the year listed in 1988?It is not neccessary to use all the tables.
|
SELECT COUNT(division_five) FROM table_24575253_4 WHERE division_one = "Westcott"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
When westcott is in division one how many leagues are in division 5?It is not neccessary to use all the tables.
|
SELECT state_territory FROM table_name_8 WHERE winning_driver = "jamie whincup" AND round = 2
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the state the winning driver Jamie Whincup from in round 2?It is not neccessary to use all the tables.
|
SELECT entrant FROM table_name_13 WHERE chassis = "dallara f398"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which entrant has a Dallara F398 chassis?It is not neccessary to use all the tables.
|
SELECT Points % FROM table WHERE Foursomes W-L-H = 1–0–0 won w/ P. Creamer 3&2
|
CREATE TABLE INST, Here is a database schema( table schema);
|
When the foursome was w-l-h is 1–0–0 won w/ p. creamer 3&2, what was the points %?.It is not neccessary to use all the tables.
|
SELECT Home team score FROM table WHERE Crowd > 25,603
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the home score with a crowd larger than 25,603?.It is not neccessary to use all the tables.
|
SELECT date FROM table_name_17 WHERE label = "parlophone" AND format = "lp"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What date has parlophone as the label and lp as a format?It is not neccessary to use all the tables.
|
SELECT Catalog # FROM table WHERE Label = atlantic records AND Region = united states
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the catalog number of the album whose label is Atlantic Records and region is the United States?.It is not neccessary to use all the tables.
|
SELECT MAX Enrollment FROM table WHERE Institution = University of North Texas
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the highest number of students in attendance for the university of north texas?.It is not neccessary to use all the tables.
|
SELECT high_points FROM table_17288869_7 WHERE high_rebounds = "Dirk Nowitzki (13)"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who had the high points while Dirk Nowitzki (13) had the high rebounds?It is not neccessary to use all the tables.
|
SELECT 2010 FROM table_name_61 WHERE 2011 = "a" AND 2008 = "1r"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the 2010 for 2011 of a and 2008 of 1rIt is not neccessary to use all the tables.
|
SELECT field FROM table_name_24 WHERE commissioned = "1958, 2005"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What Field was Commissioned in 1958 2005?It is not neccessary to use all the tables.
|
SELECT Event FROM table WHERE Round = 1 AND Location = new town, north dakota , united states AND Time = 4:12
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is Event, when Round is "1", when Location is "New Town, North Dakota , United States" and when Time is "4:12"?.It is not neccessary to use all the tables.
|
SELECT team FROM table_name_68 WHERE driver = "jean alesi" AND engine_† = "acer 01a"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Jean Alesi drives the Acer 01A engine for which team?It is not neccessary to use all the tables.
|
SELECT coach FROM table_18461635_1 WHERE location = "Leicester"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who is the coach of the team in Leicester?It is not neccessary to use all the tables.
|
SELECT MAX(league_goals) FROM table_name_67 WHERE total_goals < 1 AND fa_cup_goals > 0
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Tell me the highest league goals with total goals less than 1 and FA cups more than 0It is not neccessary to use all the tables.
|
SELECT 2008 FROM table_name_39 WHERE 2009 = "a" AND tournament = "cincinnati masters"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which 2008 has a 2009 of A, and a Tournament of cincinnati masters?It is not neccessary to use all the tables.
|
SELECT Music by FROM table WHERE Episode title = Elbow Room
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who is the music by for episode the Elbow Room?.It is not neccessary to use all the tables.
|
SELECT Type FROM table WHERE Organization = Gamma Rho Lambda 1
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the type if the organization name is Gamma RHO Lambda 1?.It is not neccessary to use all the tables.
|
SELECT Team Classification FROM table WHERE Winner = Chris Horner
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who led team classification during the stage whose winner was Chris Horner?.It is not neccessary to use all the tables.
|
SELECT Dates administered FROM table WHERE Democrat: John Kerry = 63% AND Poll Source = Rasmussen Reports
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what are the dates where democrat john kerry is 63% and poll source is rasmussen reports?.It is not neccessary to use all the tables.
|
SELECT score FROM table_name_42 WHERE away_team = "arsenal"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the score for the game in which Arsenal was the away team?It is not neccessary to use all the tables.
|
SELECT Status, AVG(Population) FROM city GROUP BY Status
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Give me a histogram for what are the statuses and average populations of each city?It is not neccessary to use all the tables.
|
SELECT network FROM table_20026849_1 WHERE destination = "Australia"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What network showed the season with Australia as the destination?It is not neccessary to use all the tables.
|
SELECT "1980-81" FROM table_25166 WHERE "1983-84" = 'Caryn McKinney'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is every entry for 1980-81 when 1983-84 is Caryn McKinney?It is not neccessary to use all the tables.
|
SELECT MIN Total Governorate Seats FROM table WHERE Governorate = Hewler
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the governorate seats for hewler.It is not neccessary to use all the tables.
|
SELECT Year FROM table WHERE Venue = algiers, algeria AND Extra < 8.03 AND Meeting = all africa games
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What year has a venue of algiers, algeria, extra smaller than 8.03, and a Meeting of all africa games?.It is not neccessary to use all the tables.
|
SELECT player FROM table_name_58 WHERE position = "g" AND team = "washington capitols"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the name of the player with position of G and the team was the Washington Capitols?It is not neccessary to use all the tables.
|
SELECT TeBe career FROM table WHERE League matches = 163
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What are the years of TeBe career for the players whose league matches are exactly 163?.It is not neccessary to use all the tables.
|
SELECT Place FROM table WHERE Country = united states AND Player = jerry barber
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What place did Jerry Barber of the United States come in at?.It is not neccessary to use all the tables.
|
SELECT lyricist FROM table_10848177_1 WHERE length = "3:05"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who is the lyricist for the song with a length of 3:05?It is not neccessary to use all the tables.
|
SELECT Position FROM table WHERE Round > 6 AND Overall = 191
|
CREATE TABLE INST, Here is a database schema( table schema);
|
WHAT IS THE POSITION WITH A ROUND LARGER THAN 6, AND OVERALL OF 191?.It is not neccessary to use all the tables.
|
SELECT Result FROM table WHERE Opponent = at dallas cowboys
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what is the result when the opponent is at dallas cowboys?.It is not neccessary to use all the tables.
|
SELECT category FROM table_name_11 WHERE stations = "5"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which category has 5 stations?It is not neccessary to use all the tables.
|
SELECT AVG("Rank") FROM table_70058 WHERE "Headquarters" = 'toronto, on' AND "Screens" < '1,438'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the rank of the cinema when the headquarters are in toronto, ON and the screens is less than 1,438?It is not neccessary to use all the tables.
|
SELECT world_rank FROM table_name_81 WHERE year < 1977 AND location = "eugene"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which World Rank has a Year smaller than 1977 and a Location of eugene?It is not neccessary to use all the tables.
|
SELECT position FROM table_name_24 WHERE player = "wayne ellington"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What position does Wayne Ellington play?It is not neccessary to use all the tables.
|
SELECT t1.drug FROM (SELECT prescriptions.drug, COUNT(prescriptions.startdate) AS c1 FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 7476) AND STRFTIME('%y-%m', prescriptions.startdate) >= '2102-02' GROUP BY prescriptions.drug) AS t1 WHERE t1.c1 = 2
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what is the name of the drug that has been prescribed two times since 02/2102 to patient 7476?It is not neccessary to use all the tables.
|
SELECT gdp__billion_us$_ FROM table_1307842_7 WHERE gdp_per_capita__us$_ = 20200
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the gdp where gdp per capita 20200It is not neccessary to use all the tables.
|
SELECT competing_entities FROM table_name_37 WHERE age_groups = "18 or younger" AND held_every = "one year" AND sport = "table tennis"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what is the competing entities when the age group is 18 or younger held every is one year and the sport is table tennis?It is not neccessary to use all the tables.
|
SELECT COUNT(DISTINCT t1.subject_id) FROM (SELECT admissions.subject_id, procedures_icd.charttime FROM procedures_icd JOIN admissions ON procedures_icd.hadm_id = admissions.hadm_id WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'packed cell transfusion')) AS t1 JOIN (SELECT admissions.subject_id, procedures_icd.charttime FROM procedures_icd JOIN admissions ON procedures_icd.hadm_id = admissions.hadm_id WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'vaccination nec')) AS t2 ON t1.subject_id = t2.subject_id WHERE t1.charttime < t2.charttime AND DATETIME(t2.charttime) BETWEEN DATETIME(t1.charttime) AND DATETIME(t1.charttime, '+2 month')
|
CREATE TABLE INST, Here is a database schema( table schema);
|
count the number of patients that received a vaccination nec procedure within 2 months after having received a packed cell transfusion procedure.It is not neccessary to use all the tables.
|
SELECT "Type" FROM table_54169 WHERE "Distance" = 'km (mi)' AND "Course" = 'sorrento to sapri'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What type is the sorrento to sapri course with a distance of km (mi)?It is not neccessary to use all the tables.
|
SELECT country FROM table_name_62 WHERE year__most_recent_ = 2005 AND adult_men = "96%"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which country has its most recent year as being 2005 and has an Adult Men literacy rate of 96%?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 INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.short_title = "Elev transaminase/ldh" AND lab.fluid = "Other Body Fluid"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the number of patients who have diagnoses of elevated levels of transaminase and lactic acid dehydrogenase and were ordered other body fluid lab tests.It is not neccessary to use all the tables.
|
SELECT score FROM table_name_71 WHERE surface = "clay" AND date = "april 7, 2008"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the April 7 2008 score on a clay surface?It is not neccessary to use all the tables.
|
SELECT bronze FROM table_name_2 WHERE notes = "6.7km, 22controls"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is Bronze when Notes is "6.7km 22controls"?It is not neccessary to use all the tables.
|
SELECT Title FROM table WHERE Directed by = Christopher Petry AND Production code = 3X6006
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the title of the episode directed by Christopher Petry with the production cod 3x6006?.It is not neccessary to use all the tables.
|
SELECT Retail name FROM table WHERE Digital/analog signal = analog AND Chipset based on = radeon 9600
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the Retail name with a Digital/analog signal with analog, and a Chipset based on with radeon 9600?.It is not neccessary to use all the tables.
|
SELECT opponent_in_the_final FROM table_name_26 WHERE surface = "hard (i)" AND date = "october 9, 2005"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which final opponent's surface was hard (i) and participated on October 9 2005?It is not neccessary to use all the tables.
|
SELECT Year FROM table WHERE Regular Season = 2nd, central
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What year did the Nashville Metros have the Regular Season 2nd, central?.It is not neccessary to use all the tables.
|
SELECT "Party" FROM table_18253 WHERE "District" = 'Pennsylvania 21'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what's party with district being pennsylvania 21It is not neccessary to use all the tables.
|
SELECT mccain__percentage FROM table_20278716_2 WHERE others__percentage = "1.1%"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What percentage of voters chose McCain in the county where 1.1% of voters voted third party?It is not neccessary to use all the tables.
|
SELECT COUNT("Viewers") FROM table_20532 WHERE "Share" = '7' AND "Weekly Rank" = '64'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the total number of viewers where the share is 7 and the week rank is 64?It is not neccessary to use all the tables.
|
SELECT location___state FROM table_name_5 WHERE circuit = "adelaide international raceway"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the location/state that has adelaide international raceway as the circuit?It is not neccessary to use all the tables.
|
SELECT Rating FROM table WHERE Rank (#) = tba AND Air Date = april 21, 2009
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the rating of the show ranked tba, aired on April 21, 2009?.It is not neccessary to use all the tables.
|
SELECT MIN Population (January 1, 2008) FROM table WHERE Largest city = Roskilde
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the minimum population of the region in which Roskilde is the largest city?.It is not neccessary to use all the tables.
|
SELECT Cache FROM table WHERE Memory = 24 gb qpi 5.86 gt/s AND Number = 64
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the Cache for a Number 64 with a Memory of 24 gb qpi 5.86 gt/s?.It is not neccessary to use all the tables.
|
SELECT 2008/ 09 FROM table WHERE 2004/ 05 = ranking tournaments
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the 2008/09 with 2004/05 of ranking tournaments.It is not neccessary to use all the tables.
|
SELECT Condition/Parameter FROM table WHERE Velocity angle η in i-radians = ln[(1 + √5)/2] ≅ 0.481
|
CREATE TABLE INST, Here is a database schema( table schema);
|
If the velocity angle is ln[(1 + √5)/2] ≅ 0.481, what is the condition/parameter?.It is not neccessary to use all the tables.
|
SELECT opponent FROM table_name_82 WHERE game = 30
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who were the opponents during game 30?It is not neccessary to use all the tables.
|
SELECT MAX SLM Number FROM table WHERE Built > 1895
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What locomotive built after 1895 has the highest SLM number?.It is not neccessary to use all the tables.
|
SELECT name FROM procedures ORDER BY cost LIMIT 3
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Find the three most expensive procedures.It is not neccessary to use all the tables.
|
SELECT first_publisher FROM table_name_8 WHERE year = 2007
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the First Publisher in 2007?It is not neccessary to use all the tables.
|
SELECT manufacturer FROM table_name_25 WHERE quantity_made = "2" AND year_made = "1884"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is Manufacturer, when Quantity Made is 2, and when Year Made is 1884?It is not neccessary to use all the tables.
|
SELECT thursday FROM table_11019212_1 WHERE sunday = "1:00-5:00" AND tuesday = "1:00-7:00"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what's the thursday time with sunday being 1:00-5:00 and tuesday being 1:00-7:00It is not neccessary to use all the tables.
|
SELECT Away team FROM table WHERE Tie no = 14
|
CREATE TABLE INST, Here is a database schema( table schema);
|
For the Tie number of 14 who was the away team?.It is not neccessary to use all the tables.
|
SELECT College/junior/club team FROM table WHERE Pick # = 18
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What college team did draft pick 18 come from?.It is not neccessary to use all the tables.
|
SELECT COUNT(*), T1.name FROM accounts AS T1 JOIN checking AS T2 ON T1.custid = T2.custid GROUP BY T1.name
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Find the number of checking accounts for each account name.It is not neccessary to use all the tables.
|
SELECT SUM Rate FROM table WHERE Rank > 10
|
CREATE TABLE INST, Here is a database schema( table schema);
|
When rank is more than 10, what is the total rate?.It is not neccessary to use all the tables.
|
SELECT fastest_lap FROM table_16670746_2 WHERE winning_team = "TOM'S Racing"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who had the fastest lap when the winning team was Tom's Racing?It is not neccessary to use all the tables.
|
SELECT MIN(capacity) FROM table_name_75 WHERE year_opened = "1903"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the lowest capacity for 1903?It is not neccessary to use all the tables.
|
SELECT MIN(top_10) FROM table_name_43 WHERE wins > 0
|
CREATE TABLE INST, Here is a database schema( table schema);
|
With wins greater than 0 what is the minimum Top-10?It is not neccessary to use all the tables.
|
SELECT AVG(t1.c1) FROM (SELECT COUNT(DISTINCT diagnoses_icd.hadm_id) AS c1 FROM diagnoses_icd WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'resp obstr-inhal obj nec') AND DATETIME(diagnoses_icd.charttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year') GROUP BY STRFTIME('%y-%m-%d', diagnoses_icd.charttime)) AS t1
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what is the average number of daily diagnosed cases of resp obstr-inhal obj nec during a year before?It is not neccessary to use all the tables.
|
SELECT Class AAAA FROM table WHERE Class AAA = gonzales
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the Class AAAAA when the Class AAA is Gonzales?.It is not neccessary to use all the tables.
|
SELECT Nationality FROM table WHERE NHL team = washington capitals
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the nationality of the Washington Capitals?.It is not neccessary to use all the tables.
|
SELECT Australian FROM table WHERE British = aɪ, ɪ, ə
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is Australian, when British is "aɪ, ɪ, ə"?.It is not neccessary to use all the tables.
|
SELECT "Location" FROM table_69801 WHERE "Loser" = 'indianapolis colts' AND "Result" = '24-14'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Where was the game that the Indianapolis Colts lost 24-14?It is not neccessary to use all the tables.
|
SELECT 2009 FROM table WHERE 2008 = wta premier mandatory tournaments
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which 2009 has a 2008 of wta premier mandatory tournaments?.It is not neccessary to use all the tables.
|
SELECT Player FROM table WHERE Years for Jazz = 2004-05
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the player that played 2004-05?.It is not neccessary to use all the tables.
|
SELECT player FROM table_name_8 WHERE pick__number = "15"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the name of the player that was Pick 15?It is not neccessary to use all the tables.
|
SELECT mixed_doubles FROM table_20361783_1 WHERE womens_singles = "Wang Yihan"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
who won mixed doubles when wang yihan won womens singlesIt is not neccessary to use all the tables.
|
SELECT rank__week_ FROM table_28026156_1 WHERE written_by = "Thomas L. Moran"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Where did the episode rank that was written by thomas l. moran?It is not neccessary to use all the tables.
|
SELECT score FROM table_name_52 WHERE game = 30
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the score of game 30?It is not neccessary to use all the tables.
|
SELECT MAX(games) FROM table_name_26 WHERE rebounds > 100 AND name = "nikola peković" AND rank < 4
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the highest Games when Rebounds is greater than 100 when Name is Nikola Peković and when Rank is less than 4?It is not neccessary to use all the tables.
|
SELECT Venue FROM table WHERE Away team = melbourne tigers
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the venue that featured the Melbourne Tigers as the away team?.It is not neccessary to use all the tables.
|
SELECT COUNT("Points") FROM table_15699 WHERE "Goals Scored" < '20'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What were the total number of points when the amount of goals scored was less than 20?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.