sql
stringlengths
9
2.37k
table
stringclasses
9 values
query
stringlengths
51
503
SELECT launched FROM table_name_50 WHERE commissioned = "25 july 1998"
CREATE TABLE INST, Here is a database schema( table schema);
What is Launched when Commissioned is "25 July 1998"?It is not neccessary to use all the tables.
SELECT parish__prestegjeld_ FROM table_178399_1 WHERE year_built = 1908
CREATE TABLE INST, Here is a database schema( table schema);
Name the parish for 1908It is not neccessary to use all the tables.
SELECT region FROM table_25042332_16 WHERE below_50_percentage_of_median_income = "17.4%"
CREATE TABLE INST, Here is a database schema( table schema);
In what region does 17.4% of the population make below 50% of the median income?It is not neccessary to use all the tables.
SELECT Athlete FROM table WHERE Country/State = united kingdom
CREATE TABLE INST, Here is a database schema( table schema);
Which Athlete is from the United Kingdom?.It is not neccessary to use all the tables.
SELECT MIN Week FROM table WHERE Attendance > 23,058 AND Date = october 24, 1943
CREATE TABLE INST, Here is a database schema( table schema);
What is the lowest week that has an attendance greater than 23,058, with october 24, 1943 as the date?.It is not neccessary to use all the tables.
SELECT points FROM table_14070062_4 WHERE try_bonus = "6"
CREATE TABLE INST, Here is a database schema( table schema);
what was the score when the extras were 6It is not neccessary to use all the tables.
SELECT college_junior_club_team FROM table_2679061_7 WHERE nhl_team = "Buffalo Sabres"
CREATE TABLE INST, Here is a database schema( table schema);
Where are the Buffalo Sabres from?It is not neccessary to use all the tables.
SELECT SUM January FROM table WHERE Score = 7–4 AND Game < 42
CREATE TABLE INST, Here is a database schema( table schema);
Which January has a Score of 7–4, and a Game smaller than 42?.It is not neccessary to use all the tables.
SELECT SUM Draw FROM table WHERE Place < 5 AND Points < 62 AND Song = "ne izdajte me"
CREATE TABLE INST, Here is a database schema( table schema);
What is the draw total that has under 5 places, under 62 points, and a Song of "ne izdajte me"?.It is not neccessary to use all the tables.
SELECT Date FROM table WHERE Theatre, Studio, or Network = adelphi
CREATE TABLE INST, Here is a database schema( table schema);
What year was there a production created by Adelphi?.It is not neccessary to use all the tables.
SELECT released FROM table_name_6 WHERE album_number = "1st"
CREATE TABLE INST, Here is a database schema( table schema);
Album # of 1st was released on what date?It is not neccessary to use all the tables.
SELECT 2011 FROM table_name_16 WHERE tournament = "french open"
CREATE TABLE INST, Here is a database schema( table schema);
What was the result in 2011 for the French Open tournament?It is not neccessary to use all the tables.
SELECT Hebrew FROM table WHERE English = heart
CREATE TABLE INST, Here is a database schema( table schema);
If in english it is heart, what is it in hebrew?.It is not neccessary to use all the tables.
SELECT Europe FROM table WHERE Head Coach = vainauskas , sakalauskas AND Regional Competitions = nebl finalist
CREATE TABLE INST, Here is a database schema( table schema);
WHAT IS THE ERUPE WITH HEAD COACH vainauskas , sakalauskas AND WITH NEBL FINALIST?.It is not neccessary to use all the tables.
SELECT Institution FROM table WHERE School website = http://www.mfschools.org/high/
CREATE TABLE INST, Here is a database schema( table schema);
What's the name of the city or town of the school that operates the http://www.mfschools.org/high/ website?.It is not neccessary to use all the tables.
SELECT MIN(week) FROM table_name_71 WHERE attendance = 51 OFFSET 558
CREATE TABLE INST, Here is a database schema( table schema);
Which Week has Attendance of 51558?It is not neccessary to use all the tables.
SELECT MAX(population__2001_) FROM table_27366772_3
CREATE TABLE INST, Here is a database schema( table schema);
What is the highest population in 2001?It is not neccessary to use all the tables.
SELECT lema_sublema FROM table_name_22 WHERE votes < 218656 AND ch_of_deputies = "0"
CREATE TABLE INST, Here is a database schema( table schema);
Which LEMA/SUBLEMA that has Votes smaller than 218656 and a Ch of Deputies of 0?It is not neccessary to use all the tables.
SELECT "Score points" FROM table_59511 WHERE "Rank points" = 'defending champion'
CREATE TABLE INST, Here is a database schema( table schema);
What Score points has a Rank points of defending champion?It is not neccessary to use all the tables.
SELECT Party FROM table WHERE Candidates = George McDuffie (J)
CREATE TABLE INST, Here is a database schema( table schema);
What party did candidate george mcduffie (j) represent?.It is not neccessary to use all the tables.
SELECT MIN Game FROM table WHERE Location = shibe park AND Date = october 10
CREATE TABLE INST, Here is a database schema( table schema);
Name the least game for october 10 at shibe park.It is not neccessary to use all the tables.
SELECT class FROM table_name_66 WHERE event = "championship test" AND result = "62.516"
CREATE TABLE INST, Here is a database schema( table schema);
What class had a Championship Test event with a 62.516 result?It is not neccessary to use all the tables.
SELECT p.Id AS "post_link", p.ViewCount, p.Score FROM Posts AS p LEFT JOIN PostLinks AS pl ON pl.PostId = p.Id WHERE NOT ClosedDate IS NULL AND pl.LinkTypeId = 3 AND Score < 5 AND p.Id NOT IN (SELECT DISTINCT PostId FROM PostHistory AS ph INNER JOIN Users AS u ON u.Id = ph.UserId WHERE u.Reputation > 5000) GROUP BY p.I...
CREATE TABLE INST, Here is a database schema( table schema);
Dupe posts untouched by high-rep users.It is not neccessary to use all the tables.
SELECT T2.allergytype, COUNT(*) FROM has_allergy AS T1 JOIN allergy_type AS T2 ON T1.allergy = T2.allergy GROUP BY T2.allergytype
CREATE TABLE INST, Here is a database schema( table schema);
How many students are affected by each allergy type?It is not neccessary to use all the tables.
SELECT years FROM table_name_26 WHERE duration = "18 years" AND actor = "patrizio rispo"
CREATE TABLE INST, Here is a database schema( table schema);
What years have a duration of 18 years and patrizio rispo as the actor?It is not neccessary to use all the tables.
SELECT SUM(draws) FROM table_name_38 WHERE goals_against = 52 AND losses < 15
CREATE TABLE INST, Here is a database schema( table schema);
What is the total draw count with 52 goals and less than 15 losses?It is not neccessary to use all the tables.
SELECT Type of game FROM table WHERE Results¹ = 3:1 AND Opponent = france
CREATE TABLE INST, Here is a database schema( table schema);
What type of game was held against France with the results of 3:1?.It is not neccessary to use all the tables.
SELECT MIN(place) FROM table_26375386_28 WHERE couple = "Keiron & Brianne"
CREATE TABLE INST, Here is a database schema( table schema);
What is the least place when the couple is Keiron & Brianne?It is not neccessary to use all the tables.
SELECT MAX 2nd (m) FROM table WHERE Rank > 2 AND Points > 249.3
CREATE TABLE INST, Here is a database schema( table schema);
What is the highest 2nd in (m) that has a Rank more than 2 and Points more than 249.3.It is not neccessary to use all the tables.
SELECT MIN Mins played FROM table WHERE Good passes = 638
CREATE TABLE INST, Here is a database schema( table schema);
What is the fewest minutes played for the player with exactly 638 good passes?.It is not neccessary to use all the tables.
SELECT home FROM table_name_78 WHERE decision = "legace" AND visitor = "st. louis" AND date = "february 22"
CREATE TABLE INST, Here is a database schema( table schema);
What was the home team in the February 22 game that Legace played in for the St. Louis Blues?It is not neccessary to use all the tables.
SELECT college FROM table_name_85 WHERE player = "jordan phillips"
CREATE TABLE INST, Here is a database schema( table schema);
Which college is Jordan Phillips playing for?It is not neccessary to use all the tables.
SELECT country FROM table_name_37 WHERE place = "t3" AND player = "billy mayfair"
CREATE TABLE INST, Here is a database schema( table schema);
Which country is t3 finisher billy mayfair from?It is not neccessary to use all the tables.
SELECT COUNT(rides) FROM table_name_16 WHERE total_points < 274 AND rider = "ray day" AND bonus_pts > 3
CREATE TABLE INST, Here is a database schema( table schema);
How many rides did it take Ray Day to get 274 points in total with less than 3 bonus points?It is not neccessary to use all the tables.
SELECT COUNT(*) > 0 FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '007-4322')) AND intakeoutput.cellpath LIKE '%intake%' AND intakeoutput...
CREATE TABLE INST, Here is a database schema( table schema);
has the po ada ever been given to patient 007-4322?It is not neccessary to use all the tables.
SELECT builder FROM table_17607663_1 WHERE br_no = 31779
CREATE TABLE INST, Here is a database schema( table schema);
Who is the builder for br no. 31779?It is not neccessary to use all the tables.
SELECT production_number FROM table_name_52 WHERE director = "friz freleng" AND title = "wacky worm, the"
CREATE TABLE INST, Here is a database schema( table schema);
Name the Production Number with a Director of friz freleng and a Title of wacky worm the?It is not neccessary to use all the tables.
SELECT Result FROM table WHERE Film title used in nomination = Baran
CREATE TABLE INST, Here is a database schema( table schema);
If the film title nominated is Baran, what was the result?.It is not neccessary to use all the tables.
SELECT date FROM table_name_52 WHERE result = "82-92"
CREATE TABLE INST, Here is a database schema( table schema);
On what Date was the Result 82-92?It is not neccessary to use all the tables.
SELECT COUNT(seats_2006) FROM table_21132404_1 WHERE _percentage_1997 = "38.9"
CREATE TABLE INST, Here is a database schema( table schema);
How many seats in 2006 has a % 1997 rating of 38.9?It is not neccessary to use all the tables.
SELECT COUNT(avg_g) FROM table_name_81 WHERE gain < 1571 AND long < 46
CREATE TABLE INST, Here is a database schema( table schema);
How much Avg/G has a Gain smaller than 1571 and a Long smaller than 46?It is not neccessary to use all the tables.
SELECT Result FROM table WHERE Record = 3–3
CREATE TABLE INST, Here is a database schema( table schema);
Record of 3–3 has what result?.It is not neccessary to use all the tables.
SELECT language FROM table_name_96 WHERE country = "switzerland"
CREATE TABLE INST, Here is a database schema( table schema);
Name the langauge for switzerlandIt is not neccessary to use all the tables.
SELECT MAX Village FROM table WHERE House Affected = 103279
CREATE TABLE INST, Here is a database schema( table schema);
What is the largest village that had 103279 houses affected? .It is not neccessary to use all the tables.
SELECT Original title FROM table WHERE Director = lene grønlykke and sven grønlykke
CREATE TABLE INST, Here is a database schema( table schema);
What was the original title of the film directed by Lene Grønlykke and Sven Grønlykke?.It is not neccessary to use all the tables.
SELECT lab.flag FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.name = "Paul Edwards"
CREATE TABLE INST, Here is a database schema( table schema);
what is lab test abnormal status of subject name paul edwards?It is not neccessary to use all the tables.
SELECT turbine_manufacturer FROM table_24837750_1 WHERE county = "Wheatland"
CREATE TABLE INST, Here is a database schema( table schema);
Who was the turbine manufacturer for the Wheatland county?It is not neccessary to use all the tables.
SELECT "Previous Conference" FROM table_80168 WHERE "School" = 'whiting'
CREATE TABLE INST, Here is a database schema( table schema);
Which conference held at School of whiting?It is not neccessary to use all the tables.
SELECT Laps FROM table WHERE Year = 2009
CREATE TABLE INST, Here is a database schema( table schema);
How many laps were driven in 2009?.It is not neccessary to use all the tables.
SELECT Club FROM table WHERE Venue = pepsi arena
CREATE TABLE INST, Here is a database schema( table schema);
Venue of Pepsi arena involved what club?.It is not neccessary to use all the tables.
SELECT COUNT(record) FROM table_15869204_5 WHERE game = 27
CREATE TABLE INST, Here is a database schema( table schema);
Name the total number of record for 27It is not neccessary to use all the tables.
SELECT runner_up FROM table_name_39 WHERE year = 1887
CREATE TABLE INST, Here is a database schema( table schema);
Who was the runner-up in 1887 competition for 'Articles with HCards'?It is not neccessary to use all the tables.
SELECT f_laps FROM table_name_94 WHERE points = "n/a" AND poles = "1" AND wins = "0"
CREATE TABLE INST, Here is a database schema( table schema);
What F/Laps listing has entries of n/a Points 1 Poles and 0 Wins?It is not neccessary to use all the tables.
SELECT score FROM table_name_97 WHERE partner = "hayley ericksen"
CREATE TABLE INST, Here is a database schema( table schema);
What was hayley ericksen's score?It is not neccessary to use all the tables.
SELECT category FROM table_name_54 WHERE for_the_show = "kasautii zindagii kay" AND year = 2006
CREATE TABLE INST, Here is a database schema( table schema);
For 2006 what category has the Show of kasautii zindagii kay?It is not neccessary to use all the tables.
SELECT COUNT Lost FROM table WHERE Tied < 5 AND Goals for > 330
CREATE TABLE INST, Here is a database schema( table schema);
What is the total number of losses for teams with less than 5 ties and more than 330 goals for?.It is not neccessary to use all the tables.
SELECT COUNT Rank FROM table WHERE Reb. Avg. < 6.1
CREATE TABLE INST, Here is a database schema( table schema);
How many ranks have a rebound average smaller than 6.1?.It is not neccessary to use all the tables.
SELECT Score FROM table WHERE Date = 1 september
CREATE TABLE INST, Here is a database schema( table schema);
What was the score of the game on 1 september?.It is not neccessary to use all the tables.
SELECT player FROM table_name_41 WHERE no_s_ = "14"
CREATE TABLE INST, Here is a database schema( table schema);
What is the player with the no. 14?It is not neccessary to use all the tables.
SELECT points_per_game FROM table_25774493_3 WHERE rebounds_per_game = "15.0"
CREATE TABLE INST, Here is a database schema( table schema);
What were the points per game in the selection where the rebounds per game were 15.0?It is not neccessary to use all the tables.
SELECT "venue" FROM table_203_384 GROUP BY "venue" ORDER BY COUNT(*) DESC LIMIT 1
CREATE TABLE INST, Here is a database schema( table schema);
which country was the venue in the most number of times ?It is not neccessary to use all the tables.
SELECT milepost FROM table_2572788_1 WHERE town_city = "Beacon Falls"
CREATE TABLE INST, Here is a database schema( table schema);
At what milepost is Beacon Falls?It is not neccessary to use all the tables.
SELECT MAX(number_of_bearers_2008) FROM table_name_32 WHERE surname = "hansen" AND rank < 1
CREATE TABLE INST, Here is a database schema( table schema);
What is the highest Number of Bearers 2008 when Surname is Hansen and when Rank is less than 1?It is not neccessary to use all the tables.
SELECT Destination FROM table WHERE Winner = Anwar Syed
CREATE TABLE INST, Here is a database schema( table schema);
What was the destination of the season won by Anwar Syed?.It is not neccessary to use all the tables.
SELECT artist FROM table_name_66 WHERE draw < 16 AND english_translation = "lullaby"
CREATE TABLE INST, Here is a database schema( table schema);
Can you tell me the Artist that has the Draw smaller than 16 and the English translation of lullaby?It is not neccessary to use all the tables.
SELECT audience FROM table_name_74 WHERE title = "mi amigo el monstruo"
CREATE TABLE INST, Here is a database schema( table schema);
What was the audience for Mi Amigo el Monstruo?It is not neccessary to use all the tables.
SELECT party FROM table_name_55 WHERE minister = "franco frattini"
CREATE TABLE INST, Here is a database schema( table schema);
What is Party, when Minister is 'Franco Frattini'?It is not neccessary to use all the tables.
SELECT set_3 FROM table_name_61 WHERE time = "10:00" AND score = "3–2" AND total = "113–102"
CREATE TABLE INST, Here is a database schema( table schema);
Which set 3 has a Time of 10:00 and a Score of 3–2 and a Total of 113–102?It is not neccessary to use all the tables.
SELECT Member FROM table WHERE Party = liberal AND Electorate = bruce
CREATE TABLE INST, Here is a database schema( table schema);
What member is in the liberal party and has an electorate of bruce?.It is not neccessary to use all the tables.
SELECT SUM Money ( $ ) FROM table WHERE Score = 69-72-67-71=279 AND Player = loren roberts
CREATE TABLE INST, Here is a database schema( table schema);
Can you tell me the sum of Money ($) that has the Score of 69-72-67-71=279, and the Player of loren roberts?.It is not neccessary to use all the tables.
SELECT Score FROM table WHERE Save = ||25,354||63–43
CREATE TABLE INST, Here is a database schema( table schema);
What was the score when a save of ||25,354||63–43 occurred?.It is not neccessary to use all the tables.
SELECT circuit FROM table_name_1 WHERE fastest_lap = "phil hill"
CREATE TABLE INST, Here is a database schema( table schema);
What is the name of the circuit when Phil Hill has the fastest lap?It is not neccessary to use all the tables.
SELECT Rebounds per game FROM table WHERE Tournament = 2006 FIBA World Championship
CREATE TABLE INST, Here is a database schema( table schema);
How many rebounds per game did he have at the 2006 fiba world championship?.It is not neccessary to use all the tables.
SELECT Outcome FROM table WHERE Date = june 9, 1997
CREATE TABLE INST, Here is a database schema( table schema);
What is the outcome on June 9, 1997?.It is not neccessary to use all the tables.
SELECT Dissolved FROM table WHERE Elected = 1553
CREATE TABLE INST, Here is a database schema( table schema);
Who was dissolved that was elected in 1553?.It is not neccessary to use all the tables.
SELECT MIN(no_in_series) FROM table_24132083_1 WHERE written_by = "Lauren Gussis"
CREATE TABLE INST, Here is a database schema( table schema);
What in the series number of the episode written by Lauren Gussis?It is not neccessary to use all the tables.
SELECT Chassis FROM table WHERE Engine = weslake v12
CREATE TABLE INST, Here is a database schema( table schema);
What Chassis had a Weslake v12 in it?.It is not neccessary to use all the tables.
SELECT COUNT Episode FROM table WHERE Performer 4 = Jimmy Mulville
CREATE TABLE INST, Here is a database schema( table schema);
How many episodes was Jimmy Mulville performer 4?.It is not neccessary to use all the tables.
SELECT name FROM table_name_84 WHERE position = "center"
CREATE TABLE INST, Here is a database schema( table schema);
What is the Name of the Center?It is not neccessary to use all the tables.
SELECT institution FROM table_13759592_2 WHERE founded = 1923
CREATE TABLE INST, Here is a database schema( table schema);
Which institution was founded in 1923?It is not neccessary to use all the tables.
SELECT COUNT Played FROM table WHERE % Win = 50.00% AND Losses = 1 AND Wins < 1
CREATE TABLE INST, Here is a database schema( table schema);
How many Played has a % Win of 50.00%, and Losses of 1, and Wins smaller than 1?.It is not neccessary to use all the tables.
SELECT player FROM table_1965650_11 WHERE college_junior_club_team = "University of Michigan (NCAA)"
CREATE TABLE INST, Here is a database schema( table schema);
Who came from the University of Michigan (NCAA) team?It is not neccessary to use all the tables.
SELECT player FROM table_11545282_12 WHERE years_for_jazz = "1974-75" AND school_club_team = "Marshall"
CREATE TABLE INST, Here is a database schema( table schema);
Which player is from Marshall and played 1974-75?It is not neccessary to use all the tables.
SELECT COUNT("U.S. viewers (in millions)") FROM table_29271 WHERE "Title" = 'If at First You Don''t Succeed, Lie, Lie Again'
CREATE TABLE INST, Here is a database schema( table schema);
How many viewer data were given for episode 'If at First You Don't Succeed, Lie, Lie Again'?It is not neccessary to use all the tables.
SELECT Date FROM table WHERE Opponent = miami dolphins
CREATE TABLE INST, Here is a database schema( table schema);
WHEN has a Opponent of miami dolphins?.It is not neccessary to use all the tables.
SELECT accreditation FROM table_2076608_1 WHERE school = "Hollins University"
CREATE TABLE INST, Here is a database schema( table schema);
What accreditation does Hollins University have?It is not neccessary to use all the tables.
SELECT Population density (per km 2 ) FROM table WHERE Municipal district = Smoky Lake County
CREATE TABLE INST, Here is a database schema( table schema);
What is the population per km in Smoky Lake County?.It is not neccessary to use all the tables.
SELECT Doctor FROM table WHERE Series Sorted = 6EB/B
CREATE TABLE INST, Here is a database schema( table schema);
What was the doctor for sorted series 6eb/b?.It is not neccessary to use all the tables.
SELECT "Score" FROM table_38037 WHERE "Points" = '96'
CREATE TABLE INST, Here is a database schema( table schema);
What was the score of the game with 96 points?It is not neccessary to use all the tables.
SELECT home_team FROM table_name_94 WHERE venue = "arden street oval"
CREATE TABLE INST, Here is a database schema( table schema);
Which home team has a venue of Arden Street Oval?It is not neccessary to use all the tables.
SELECT Score FROM table WHERE Competition = continental qualifier AND Date = february 23, 2003
CREATE TABLE INST, Here is a database schema( table schema);
What was the score in the Continental Qualifier on February 23, 2003?.It is not neccessary to use all the tables.
SELECT AVG TD's FROM table WHERE Long = 42
CREATE TABLE INST, Here is a database schema( table schema);
When the Long is 42, what is the average TD's?.It is not neccessary to use all the tables.
SELECT SUM Total FROM table WHERE Bronze > 1 AND Nation = hong kong (hkg) AND Gold < 3
CREATE TABLE INST, Here is a database schema( table schema);
what is the total when bronze is more than 1, nation is hong kong (hkg) and gold is less than 3?.It is not neccessary to use all the tables.
SELECT School FROM table WHERE Nickname(s) = tornadoes lady tornadoes
CREATE TABLE INST, Here is a database schema( table schema);
What is the name of the school with the Tornadoes Lady Tornadoes?.It is not neccessary to use all the tables.
SELECT Total FROM table WHERE 1st run = 37.410 (4)
CREATE TABLE INST, Here is a database schema( table schema);
For what total was 37.410 (4) the 1st run?.It is not neccessary to use all the tables.
SELECT Tournament FROM table WHERE 2012 = q2
CREATE TABLE INST, Here is a database schema( table schema);
What is the tournament when 2012 is q2?.It is not neccessary to use all the tables.
SELECT SUM("Crowd") FROM table_54146 WHERE "Away team score" = '18.17 (125)'
CREATE TABLE INST, Here is a database schema( table schema);
How many people attended the game that resulted in an away team score of 18.17 (125)?It is not neccessary to use all the tables.
SELECT Bandwidth Included FROM table WHERE Internet Plan = 8mb
CREATE TABLE INST, Here is a database schema( table schema);
What is Bandwidth Included, when Internet Plan is "8mb"?.It is not neccessary to use all the tables.
SELECT opponent FROM table_name_86 WHERE week > 3 AND result = "l 10–6"
CREATE TABLE INST, Here is a database schema( table schema);
What is the Opponent of the game after Week 3 with a Result of L 10–6?It is not neccessary to use all the tables.
SELECT "Model" FROM table_4379 WHERE "Total production" = '1347'
CREATE TABLE INST, Here is a database schema( table schema);
Tell me the model for total production of 1347It is not neccessary to use all the tables.