sql
stringlengths
9
2.37k
table
stringclasses
9 values
query
stringlengths
51
503
SELECT part_number_s_ FROM table_23028629_2 WHERE model_number = "Core i5-670"
CREATE TABLE INST, Here is a database schema( table schema);
What is every part number with model number core i5-670?It is not neccessary to use all the tables.
SELECT date FROM table_name_9 WHERE opponent = "adrián menéndez-maceiras"
CREATE TABLE INST, Here is a database schema( table schema);
What date was the match against adrián menéndez-maceiras?It is not neccessary to use all the tables.
SELECT distance FROM table_name_69 WHERE date = "5 september"
CREATE TABLE INST, Here is a database schema( table schema);
What is the distance for the 5 September race?It is not neccessary to use all the tables.
SELECT card_number FROM member WHERE Hometown LIKE "%Kentucky%"
CREATE TABLE INST, Here is a database schema( table schema);
list the card number of all members whose hometown address includes word "Kentucky".It is not neccessary to use all the tables.
SELECT College FROM table WHERE Round = round 7 AND Player = tony leiker
CREATE TABLE INST, Here is a database schema( table schema);
Which college had Tony Leiker in round 7?.It is not neccessary to use all the tables.
SELECT Vacator FROM table WHERE Reason for change = Died August 13, 1826
CREATE TABLE INST, Here is a database schema( table schema);
Name the vacator for died august 13, 1826.It is not neccessary to use all the tables.
SELECT "Date" FROM table_12438 WHERE "Home team" = 'chester city'
CREATE TABLE INST, Here is a database schema( table schema);
What is Date, when Home Team is 'Chester City'?It is not neccessary to use all the tables.
SELECT position FROM table_10966926_2 WHERE player_name = "Colt Brennan"
CREATE TABLE INST, Here is a database schema( table schema);
Which position does Colt Brennan play?It is not neccessary to use all the tables.
SELECT Position FROM table WHERE School = villa park high school
CREATE TABLE INST, Here is a database schema( table schema);
What position for the player from villa park high school?.It is not neccessary to use all the tables.
SELECT COUNT Enrollment FROM table WHERE # / County = 48 madison
CREATE TABLE INST, Here is a database schema( table schema);
Name the number of enrollment for county of 48 madison.It is not neccessary to use all the tables.
SELECT high_assists FROM table_23286158_10 WHERE high_rebounds = "Marcus Camby (15)"
CREATE TABLE INST, Here is a database schema( table schema);
When marcus camby (15) has the highest amount of rebounds who has the highest amount of assists?It is not neccessary to use all the tables.
SELECT duration FROM table_name_42 WHERE actor = "pietro genuardi"
CREATE TABLE INST, Here is a database schema( table schema);
What is the duration that has pietro genuardi as the actor?It is not neccessary to use all the tables.
SELECT COUNT First elected FROM table WHERE Result = Lost renomination
CREATE TABLE INST, Here is a database schema( table schema);
How many in total were elected first in lost renomination?.It is not neccessary to use all the tables.
SELECT MAX(total) FROM table_name_72 WHERE date = 1602 AND greater_doubles < 16
CREATE TABLE INST, Here is a database schema( table schema);
Which Total has a Date of 1602 and Greater Doubles smaller than 16?It is not neccessary to use all the tables.
SELECT LAST_NAME, MANAGER_ID FROM employees ORDER BY MANAGER_ID
CREATE TABLE INST, Here is a database schema( table schema);
Just show the employee's last name and their manager's id using a bar chart, could you order MANAGER_ID from low to high order please?It is not neccessary to use all the tables.
SELECT leading_scorer FROM table_name_35 WHERE visitor = "pistons"
CREATE TABLE INST, Here is a database schema( table schema);
Who was the leading scorer in the game where the visiting team was the Pistons?It is not neccessary to use all the tables.
SELECT Nationality FROM table WHERE Appearances = 116
CREATE TABLE INST, Here is a database schema( table schema);
What nationality has 116 appearances?.It is not neccessary to use all the tables.
SELECT mongolian FROM table_name_78 WHERE tamil_தமிழ் = "pūrāṭam பூராடம்"
CREATE TABLE INST, Here is a database schema( table schema);
Which Mongolian has a Tamil தமிழ் of pūrāṭam பூராடம்?It is not neccessary to use all the tables.
SELECT Country FROM nuclear_power_plants Group BY Country HAVING count(Name) > 3
CREATE TABLE INST, Here is a database schema( nuclear power plants);
How many countries have at least 3 nuclear power plants?. It is not neccessary to use all the tables.
SELECT sponsor_s_ FROM table_name_60 WHERE rounds = "all" AND driver_s_ = "josele garza"
CREATE TABLE INST, Here is a database schema( table schema);
Who sponsors Josele Garza in all rounds?It is not neccessary to use all the tables.
SELECT Episode FROM table WHERE Run time = 24:53
CREATE TABLE INST, Here is a database schema( table schema);
What episode had a run time of 24:53?.It is not neccessary to use all the tables.
SELECT MAX(attendance) FROM table_name_64 WHERE week = 12
CREATE TABLE INST, Here is a database schema( table schema);
What was the highest attendance week 12?It is not neccessary to use all the tables.
SELECT location FROM table_name_38 WHERE team = "dynamo-2"
CREATE TABLE INST, Here is a database schema( table schema);
Where is Dynamo-2 located?It is not neccessary to use all the tables.
SELECT class FROM table_name_57 WHERE frequency = "560 am"
CREATE TABLE INST, Here is a database schema( table schema);
What is the class when the frequency is 560 AM?It is not neccessary to use all the tables.
SELECT Directed by FROM table WHERE Title = "Who Nose"
CREATE TABLE INST, Here is a database schema( table schema);
Who directed the episode titled "who nose"?.It is not neccessary to use all the tables.
SELECT Location FROM table WHERE Name of mill = moulin bertrand
CREATE TABLE INST, Here is a database schema( table schema);
What is the Location of the Moulin Bertrand Mill?.It is not neccessary to use all the tables.
SELECT MIN Floors FROM table WHERE Street address = 921 sw sixth avenue
CREATE TABLE INST, Here is a database schema( table schema);
What's the least amount of floors at 921 sw sixth avenue?.It is not neccessary to use all the tables.
SELECT Frequency FROM table WHERE Coverage = Mega Manila
CREATE TABLE INST, Here is a database schema( table schema);
What frequency is mega manila set to?.It is not neccessary to use all the tables.
SELECT Damage (USD) FROM table WHERE Pressure = 1003hPa (29.62inHg)
CREATE TABLE INST, Here is a database schema( table schema);
What was the damage (usd) from the cyclones that measured 1003hPa (29.62inHg) pressure?.It is not neccessary to use all the tables.
SELECT country FROM table_name_55 WHERE director_s_ = "julio robledo"
CREATE TABLE INST, Here is a database schema( table schema);
Julio Robledo represents which country?It is not neccessary to use all the tables.
SELECT SUM(games) FROM table_name_53 WHERE name = "allofs, klaus" AND goals < 177
CREATE TABLE INST, Here is a database schema( table schema);
What is the sum of Games for Allofs Klaus with Goals less than 177?It is not neccessary to use all the tables.
SELECT Acronym FROM table WHERE Website = ul.edu.lb
CREATE TABLE INST, Here is a database schema( table schema);
What is the acronym for the school whose website is ul.edu.lb.It is not neccessary to use all the tables.
SELECT COUNT(high_rebounds) FROM table_27712451_6 WHERE date = "December 8"
CREATE TABLE INST, Here is a database schema( table schema);
How many high rebounds took place on December 8?It is not neccessary to use all the tables.
SELECT poles FROM table_29434211_1 WHERE series = "European F3 Open"
CREATE TABLE INST, Here is a database schema( table schema);
How many poles does the European F3 Open series have?It is not neccessary to use all the tables.
SELECT date FROM table_name_56 WHERE results¹ = "4:0"
CREATE TABLE INST, Here is a database schema( table schema);
On what Date were the Results¹ 4:0?It is not neccessary to use all the tables.
SELECT MIN(points) FROM table_name_7 WHERE team = "rothmans honda" AND year = 1992
CREATE TABLE INST, Here is a database schema( table schema);
How many points did team Rothmans Honda have in 1992?It is not neccessary to use all the tables.
SELECT player FROM table_name_56 WHERE points > 36 AND goals > 0 AND tries = 12
CREATE TABLE INST, Here is a database schema( table schema);
Tell me the player with points larger than 36 and goals more than 0 with tries of 12It is not neccessary to use all the tables.
SELECT MAX(week) FROM table_name_63 WHERE venue = "league park" AND date = "november 25, 1920"
CREATE TABLE INST, Here is a database schema( table schema);
What is the largest week number for the venue of League Park for the date of November 25 1920?It is not neccessary to use all the tables.
SELECT MIN Date FROM table WHERE Medal = bronze
CREATE TABLE INST, Here is a database schema( table schema);
What is the earliest date for the bronze medal?.It is not neccessary to use all the tables.
SELECT Season FROM table WHERE The Mole = Milouska
CREATE TABLE INST, Here is a database schema( table schema);
Which season is it when Milouska was the show's mole ?.It is not neccessary to use all the tables.
SELECT record FROM table_name_71 WHERE opponent = "christian nielson"
CREATE TABLE INST, Here is a database schema( table schema);
Name the record with opponent of christian nielsonIt is not neccessary to use all the tables.
SELECT Date FROM table WHERE Home = calgary
CREATE TABLE INST, Here is a database schema( table schema);
What Date has a Home listed as Calgary?.It is not neccessary to use all the tables.
SELECT Home team score FROM table WHERE Home team = fitzroy
CREATE TABLE INST, Here is a database schema( table schema);
When fitzroy what was the home team score?.It is not neccessary to use all the tables.
SELECT event FROM table_name_46 WHERE opponent = "jose carlos oliveira"
CREATE TABLE INST, Here is a database schema( table schema);
Which event was the opponent jose carlos oliveira?It is not neccessary to use all the tables.
SELECT Year FROM table WHERE Event = spanish grand prix AND Driver = emerson fittipaldi
CREATE TABLE INST, Here is a database schema( table schema);
What year was the Spanish Grand Prix where Emerson Fittipaldi drove?.It is not neccessary to use all the tables.
SELECT MIN(game) FROM table_27700375_11 WHERE score = "L 109–116 (OT)"
CREATE TABLE INST, Here is a database schema( table schema);
Name the least game for l 109–116 (ot)It is not neccessary to use all the tables.
SELECT Opponent FROM table WHERE Week = 8
CREATE TABLE INST, Here is a database schema( table schema);
Who was the opponent in Week 8?.It is not neccessary to use all the tables.
SELECT DISTINCT patient.gender FROM patient WHERE patient.uniquepid = '028-40370'
CREATE TABLE INST, Here is a database schema( table schema);
tell me the sex of patient 028-40370.It is not neccessary to use all the tables.
SELECT COUNT(rank) FROM table_name_93 WHERE club = "zulte waregem" AND points > 22
CREATE TABLE INST, Here is a database schema( table schema);
Which Rank has a Club of zulte waregem and Points larger than 22?It is not neccessary to use all the tables.
SELECT T2.Pilot_name, COUNT(*) FROM pilot_record AS T1 JOIN pilot AS T2 ON T1.pilot_ID = T2.pilot_ID GROUP BY T2.Pilot_name
CREATE TABLE INST, Here is a database schema( table schema);
Show the names of pilots and the number of records they have.It is not neccessary to use all the tables.
SELECT theme FROM table_name_24 WHERE special_notes = "from calgary flames gift set"
CREATE TABLE INST, Here is a database schema( table schema);
What theme has special notes from calgary flames gift set?It is not neccessary to use all the tables.
SELECT MAX Played FROM table WHERE Drawn > 0 AND Lost < 3 AND Points < 27
CREATE TABLE INST, Here is a database schema( table schema);
What is the highest played with more than 0 draws, less than 3 losses, and less than 27 points?.It is not neccessary to use all the tables.
SELECT replaced_by FROM table_27091128_2 WHERE date_of_appointment = "08.06.2010"
CREATE TABLE INST, Here is a database schema( table schema);
Which manager was appointed on 08.06.2010?It is not neccessary to use all the tables.
SELECT MAX(year) FROM table_2199290_2 WHERE partner = "Wesley Moodie"
CREATE TABLE INST, Here is a database schema( table schema);
In what year was the partner Wesley Moodie?It is not neccessary to use all the tables.
SELECT AVG Drawn FROM table WHERE Points < 14 AND Lost < 4 AND Played > 9
CREATE TABLE INST, Here is a database schema( table schema);
Which average Drawn has Points smaller than 14, and a Lost smaller than 4, and a Played larger than 9?.It is not neccessary to use all the tables.
SELECT Notes FROM table WHERE Location = berlin
CREATE TABLE INST, Here is a database schema( table schema);
What is the notes left for Berlin?.It is not neccessary to use all the tables.
SELECT Official_native_language FROM country WHERE Official_native_language LIKE "%English%"
CREATE TABLE INST, Here is a database schema( table schema);
Show all official native languages that contain the word "English".It is not neccessary to use all the tables.
SELECT directed_by FROM table_29063233_1 WHERE uk_viewers__million_ = "6.09"
CREATE TABLE INST, Here is a database schema( table schema);
Who directed the episode with UK viewership of 6.09 million?It is not neccessary to use all the tables.
SELECT college_junior_club_team__league_ FROM table_name_48 WHERE position = "right wing" AND round < 3
CREATE TABLE INST, Here is a database schema( table schema);
Which College/Junior/Club Team (League) has a Position of right wing and a Round smaller than 3?It is not neccessary to use all the tables.
SELECT COUNT December FROM table WHERE Opponent = calgary flames
CREATE TABLE INST, Here is a database schema( table schema);
How many Decembers have calgary flames as the opponent?.It is not neccessary to use all the tables.
SELECT role FROM table_name_56 WHERE festival_organization = "sydney film festival"
CREATE TABLE INST, Here is a database schema( table schema);
What role was nominated at the Sydney Film Festival?It is not neccessary to use all the tables.
SELECT SUM Week FROM table WHERE Date = november 20, 1977
CREATE TABLE INST, Here is a database schema( table schema);
What was the Week number on November 20, 1977?.It is not neccessary to use all the tables.
SELECT Height (f) FROM table WHERE Player = Steffen Hamann
CREATE TABLE INST, Here is a database schema( table schema);
Name the height for steffen hamann.It is not neccessary to use all the tables.
SELECT winner FROM table_name_48 WHERE home_team = "sioux falls storm" AND year < 2012
CREATE TABLE INST, Here is a database schema( table schema);
who is the winner when the home team is sioux falls storm and the year is earlier than 2012?It is not neccessary to use all the tables.
SELECT Year 8 1st Quad FROM table WHERE Year 9 2nd Quad = stm AND Year 9 1st Quad = som AND Year 8 3rd Quad = sta
CREATE TABLE INST, Here is a database schema( table schema);
For the Crew with Year 9 2nd Quads of STM, Year 9 1st Quads of SOM, and a Year 8 3rd Quads of STA what was the Year 8 1st Quads?.It is not neccessary to use all the tables.
SELECT player FROM table_name_51 WHERE country = "united states" AND place = "t10" AND score = 68 - 71 = 139
CREATE TABLE INST, Here is a database schema( table schema);
What is Player when Country is "United States" when Place is "T10" and when Score is "68-71=139"?It is not neccessary to use all the tables.
SELECT Rank, COUNT(*) FROM captain WHERE age < 50 GROUP BY Rank ORDER BY Rank
CREATE TABLE INST, Here is a database schema( table schema);
Draw a bar chart for how many captains with younger than 50 are in each rank?, sort by the X from low to high.It is not neccessary to use all the tables.
SELECT Result FROM table WHERE Score = 1–0 AND Date = 18 april 2009
CREATE TABLE INST, Here is a database schema( table schema);
What is the Result with a Score of 1–0, and a Date with 18 april 2009?.It is not neccessary to use all the tables.
SELECT Nationality FROM table WHERE Name = assyrian
CREATE TABLE INST, Here is a database schema( table schema);
Which Nationality has a Name of assyrian?.It is not neccessary to use all the tables.
SELECT District FROM table WHERE Candidates = Edward Boland (D) Unopposed
CREATE TABLE INST, Here is a database schema( table schema);
what is the district with the candidates edward boland (d) unopposed?.It is not neccessary to use all the tables.
SELECT hindi FROM table_name_37 WHERE tamil = "vyazhan"
CREATE TABLE INST, Here is a database schema( table schema);
WHAT HINDI HAS Tamil of vyazhan?It is not neccessary to use all the tables.
SELECT Rank by average FROM table WHERE Number of dances = 7
CREATE TABLE INST, Here is a database schema( table schema);
tell the mean of the times competition for the 7 jigs.It is not neccessary to use all the tables.
SELECT COUNT Location FROM table WHERE Big Ten Team = #12 Michigan State
CREATE TABLE INST, Here is a database schema( table schema);
How many locations have #12 Michigan State as the big ten team?.It is not neccessary to use all the tables.
SELECT MAX Position FROM table WHERE Date Eliminated = 11 November
CREATE TABLE INST, Here is a database schema( table schema);
What is the position of the song that was eliminated on 11 november?.It is not neccessary to use all the tables.
SELECT MAX Season FROM table WHERE Score = 3 – 3 aet , 4–3 pen
CREATE TABLE INST, Here is a database schema( table schema);
Which Seasonhas a Score of 3 – 3 aet , 4–3 pen?.It is not neccessary to use all the tables.
SELECT rank FROM table_name_75 WHERE games = "2009 hanoi"
CREATE TABLE INST, Here is a database schema( table schema);
What was the rank in the 2009 Hanoi Games?It is not neccessary to use all the tables.
SELECT Location of the Church FROM table WHERE Church Name = Ortnevik kyrkje
CREATE TABLE INST, Here is a database schema( table schema);
What is the location of the church when the church name is Ortnevik Kyrkje?.It is not neccessary to use all the tables.
SELECT COUNT Pick FROM table WHERE Team = los angeles dodgers AND Position = lhp AND Year < 1979
CREATE TABLE INST, Here is a database schema( table schema);
What is the total pick number of the los angeles dodgers, which has a lhp position before 1979?.It is not neccessary to use all the tables.
SELECT scorers FROM table_name_34 WHERE ground = "a" AND date = "1 august 2008"
CREATE TABLE INST, Here is a database schema( table schema);
Who are the scorers on 1 August 2008 where the ground was A?It is not neccessary to use all the tables.
SELECT "season" FROM table_203_34 ORDER BY "goals" DESC LIMIT 1
CREATE TABLE INST, Here is a database schema( table schema);
there were years where he had 0 goals but was year did he have the most goals ?It is not neccessary to use all the tables.
SELECT title FROM table_name_83 WHERE production_number = "1039"
CREATE TABLE INST, Here is a database schema( table schema);
What is the title of the production with a number of 1039?It is not neccessary to use all the tables.
SELECT MIN Int. caps FROM table
CREATE TABLE INST, Here is a database schema( table schema);
What is the lowest value for int. caps?.It is not neccessary to use all the tables.
SELECT Margin of victory FROM table WHERE Winning score = −14 (63-67-73-67=270)
CREATE TABLE INST, Here is a database schema( table schema);
What was the margin of victory when the winning score was −14 (63-67-73-67=270)?.It is not neccessary to use all the tables.
SELECT MIN Revenue ($M) FROM table WHERE Country = england AND Team = chelsea AND Rank < 7
CREATE TABLE INST, Here is a database schema( table schema);
Name the least revenue for chelsea of england with rank less than 7.It is not neccessary to use all the tables.
SELECT Year FROM table WHERE Weight = 170
CREATE TABLE INST, Here is a database schema( table schema);
In which year was the Weight 170?.It is not neccessary to use all the tables.
SELECT MAX Year FROM table WHERE Notes = team competition AND Venue = antwerp, belgium
CREATE TABLE INST, Here is a database schema( table schema);
What's the year of the event that took place most recently in Antwerp, Belgium with team competition notes?.It is not neccessary to use all the tables.
SELECT opponent FROM table_name_69 WHERE championship = "pétange"
CREATE TABLE INST, Here is a database schema( table schema);
What is Opponent when Championship is Pétange?It is not neccessary to use all the tables.
SELECT birth_year FROM writer WHERE name = 'Kevin Spacey'
CREATE TABLE INST, Here is a database schema( table schema);
In what year was ' Kevin Spacey ' born ?It is not neccessary to use all the tables.
SELECT final_score FROM table_26401898_2 WHERE opponent = "Barcelona Dragons"
CREATE TABLE INST, Here is a database schema( table schema);
Name the final score for barcelona dragonsIt is not neccessary to use all the tables.
SELECT MAX Round FROM table WHERE School = bowling green AND Pick < 210
CREATE TABLE INST, Here is a database schema( table schema);
What was the highest round for Bowling Green with a pick smaller than 210?.It is not neccessary to use all the tables.
SELECT SOLiDv4 FROM table WHERE PacBio = $300 USD
CREATE TABLE INST, Here is a database schema( table schema);
How much was solidv4 when pacbio is $300 usd?.It is not neccessary to use all the tables.
SELECT Country FROM table WHERE Location = trestles
CREATE TABLE INST, Here is a database schema( table schema);
What country was the game played in when the location was trestles?.It is not neccessary to use all the tables.
SELECT friday FROM table_name_36 WHERE monday = "fox sports primetime"
CREATE TABLE INST, Here is a database schema( table schema);
What is shown on Friday when Monday is Fox Sports Primetime?It is not neccessary to use all the tables.
SELECT Holmenkollen FROM table WHERE FIS Nordic World Ski Championships = 1962, 1964
CREATE TABLE INST, Here is a database schema( table schema);
When the FIS Nordic World Ski Championships was 1962, 1964 what was the Holmenkollen?.It is not neccessary to use all the tables.
SELECT ACC_Road, Team_ID FROM basketball_match GROUP BY All_Home, ACC_Road ORDER BY ACC_Road
CREATE TABLE INST, Here is a database schema( table schema);
Find ACC_Road and Team_ID , and group by attribute All_Home, and visualize them by a bar chart, list X in asc order.It is not neccessary to use all the tables.
SELECT Home team score FROM table WHERE Ground = ghantoot racing and polo club
CREATE TABLE INST, Here is a database schema( table schema);
What is the home team score of the Ghantoot Racing and Polo Club Ground?.It is not neccessary to use all the tables.
SELECT Segment C FROM table WHERE Segment B = Package printing
CREATE TABLE INST, Here is a database schema( table schema);
What was segment C when segment B was package printing? .It is not neccessary to use all the tables.
SELECT kilgore__r_ FROM table_name_47 WHERE potts__i_ = "4%" AND kaine__d_ = "47%" AND date = "october 30, 2005"
CREATE TABLE INST, Here is a database schema( table schema);
What was Kilgore's percentage when Potts (I) had 4% and Kaine (D) 47% in the poll from October 30 2005?It is not neccessary to use all the tables.
SELECT COUNT Weight FROM table WHERE Block = 300
CREATE TABLE INST, Here is a database schema( table schema);
What is the total number of Weight(s), when Block is 300?.It is not neccessary to use all the tables.
SELECT Bello FROM table WHERE Liscumb = 27 AND Libweshya = 6539
CREATE TABLE INST, Here is a database schema( table schema);
What Bello has a 27 Liscumb and 6539 Libweshya?.It is not neccessary to use all the tables.