sql
stringlengths
9
2.37k
table
stringclasses
9 values
query
stringlengths
51
503
SELECT read_by FROM table_name_9 WHERE un__abridged = "unabridged" AND author = "gary paulsen"
CREATE TABLE INST, Here is a database schema( table schema);
Who read the unabridged book written by Gary Paulsen?It is not neccessary to use all the tables.
SELECT Winning Score FROM table WHERE Date = feb 12, 1978
CREATE TABLE INST, Here is a database schema( table schema);
What's the winning score on Feb 12, 1978?.It is not neccessary to use all the tables.
SELECT MAX("EL places") FROM table_12193 WHERE "Rank 2013" = '15'
CREATE TABLE INST, Here is a database schema( table schema);
Which EL places have a Rank 2013 of 15?It is not neccessary to use all the tables.
SELECT Name FROM conductor WHERE Nationality <> 'USA'
CREATE TABLE INST, Here is a database schema( table schema);
What are the names of conductors whose nationalities are not "USA"?It is not neccessary to use all the tables.
SELECT Venue FROM table WHERE Against = 11
CREATE TABLE INST, Here is a database schema( table schema);
In which venue was there an against of 11?.It is not neccessary to use all the tables.
SELECT Character FROM table WHERE Character Voice = Yumi Kakazu
CREATE TABLE INST, Here is a database schema( table schema);
Which character is yumi kakazu the character voice?.It is not neccessary to use all the tables.
SELECT Round FROM table WHERE Status = in AND Song = 叶良俊 - 爱你不是爱给别人看
CREATE TABLE INST, Here is a database schema( table schema);
Which round status is in with this song: 叶良俊 - 爱你不是爱给别人看?.It is not neccessary to use all the tables.
SELECT Result FROM table WHERE Location = guangzhou AND Score = 1-0
CREATE TABLE INST, Here is a database schema( table schema);
In guangzhou, who won the game with a score of 1-0?.It is not neccessary to use all the tables.
SELECT Surface FROM table WHERE Partnering = paul goldstein AND Date = october 2, 2006
CREATE TABLE INST, Here is a database schema( table schema);
Name the surface for paul goldstein and date of october 2, 2006.It is not neccessary to use all the tables.
SELECT Score FROM table WHERE Surface = hard AND Opponent in the final = irena pavlovic
CREATE TABLE INST, Here is a database schema( table schema);
What was the score when the opponent was irena pavlovic and the surface was hard?.It is not neccessary to use all the tables.
SELECT Coach FROM table WHERE City = al farwaniyah
CREATE TABLE INST, Here is a database schema( table schema);
Who coached for al farwaniyah?.It is not neccessary to use all the tables.
SELECT winner FROM table_name_53 WHERE season = 2008
CREATE TABLE INST, Here is a database schema( table schema);
Who was the winner in the 2008 season?It is not neccessary to use all the tables.
SELECT Home team FROM table WHERE Away team = brentford
CREATE TABLE INST, Here is a database schema( table schema);
What is Home Team, when Away Team is "Brentford"?.It is not neccessary to use all the tables.
SELECT Time FROM table WHERE Local/Networked = local AND Ad Freq = 20 minutes AND News Freq = n/a after 7pm news
CREATE TABLE INST, Here is a database schema( table schema);
Which time has a local/networked value of Local, ad frequency of every 20 minutes, and news frequency of n/a after 7PM news?.It is not neccessary to use all the tables.
SELECT COUNT(*) FROM camera_lens WHERE NOT id IN (SELECT camera_lens_id FROM photos)
CREATE TABLE INST, Here is a database schema( table schema);
How many camera lenses are not used in taking any photos?It is not neccessary to use all the tables.
SELECT player FROM table_name_98 WHERE score = 68 - 67 = 135
CREATE TABLE INST, Here is a database schema( table schema);
Who had a score of 68-67=135?It is not neccessary to use all the tables.
SELECT Moving from FROM table WHERE Nat. = ned
CREATE TABLE INST, Here is a database schema( table schema);
Which Moving from has a Nat of ned?.It is not neccessary to use all the tables.
SELECT Gender, COUNT(Gender) FROM player GROUP BY Gender ORDER BY COUNT(Gender) DESC
CREATE TABLE INST, Here is a database schema( table schema);
Compare the distribution of the players' gender using a bar chart, show by the total number from high to low please.It is not neccessary to use all the tables.
SELECT entered FROM table_name_92 WHERE celebrity = "kim woodburn"
CREATE TABLE INST, Here is a database schema( table schema);
When did kim woodburn enter?It is not neccessary to use all the tables.
SELECT Release date FROM table WHERE Title = milk and money
CREATE TABLE INST, Here is a database schema( table schema);
What is the release date of Milk and Money?.It is not neccessary to use all the tables.
SELECT SUM Against FROM table WHERE Losses > 2 AND Wins = 8 AND Byes < 0
CREATE TABLE INST, Here is a database schema( table schema);
Which Against has Losses larger than 2, and Wins of 8, and Byes smaller than 0?.It is not neccessary to use all the tables.
SELECT Wins FROM table WHERE Podiums = 2 AND F/Laps = 2
CREATE TABLE INST, Here is a database schema( table schema);
If Podiums is 2 and F/Laps are 2, what are the wins?.It is not neccessary to use all the tables.
SELECT Loss FROM table WHERE Record = 66-78
CREATE TABLE INST, Here is a database schema( table schema);
with a record of 66-78 what was the loss?.It is not neccessary to use all the tables.
SELECT COUNT(cash_prize) FROM table_25926120_3 WHERE language = "Hindi" AND name_of_film = "Jodhaa Akbar"
CREATE TABLE INST, Here is a database schema( table schema);
How many cash prizes were given for the hindi language film jodhaa akbar?It is not neccessary to use all the tables.
SELECT Assist/pass FROM table WHERE Score = 1-0 AND Goal = 5
CREATE TABLE INST, Here is a database schema( table schema);
Which Assist/pass has a Score of 1-0, and a Goal of 5?.It is not neccessary to use all the tables.
SELECT Kickoff [a ] FROM table WHERE Week = 3
CREATE TABLE INST, Here is a database schema( table schema);
What is the kickoff time for week 3?.It is not neccessary to use all the tables.
SELECT Crowd FROM table WHERE Score = w 7-6
CREATE TABLE INST, Here is a database schema( table schema);
How many people attended the score of w 7-6?.It is not neccessary to use all the tables.
SELECT AVG(played) FROM table_name_83 WHERE city = "belgrade" AND average_attendance > 26 OFFSET 222
CREATE TABLE INST, Here is a database schema( table schema);
What is the average played value in Belgrade with attendance greater than 26222?It is not neccessary to use all the tables.
SELECT proto_polynesian FROM table_name_69 WHERE number = "five"
CREATE TABLE INST, Here is a database schema( table schema);
WHich Proto-Polynesian has a Number of five?It is not neccessary to use all the tables.
SELECT AVG Year FROM table WHERE Country = u.s. AND Location = edmond , ok
CREATE TABLE INST, Here is a database schema( table schema);
What is the average Year, when Country is "U.S.", and when Location is "Edmond , OK"?.It is not neccessary to use all the tables.
SELECT draw FROM table_name_76 WHERE match = "10" AND team = "skra warszawa"
CREATE TABLE INST, Here is a database schema( table schema);
What is the Draw for match 10 and the team was skra warszawa?It is not neccessary to use all the tables.
SELECT episode_title FROM table_24425976_2 WHERE production_code = "107"
CREATE TABLE INST, Here is a database schema( table schema);
What is the name of the episode with a production code of 107?It is not neccessary to use all the tables.
SELECT MAX Pick # FROM table
CREATE TABLE INST, Here is a database schema( table schema);
What is the highest numbered draft pick?.It is not neccessary to use all the tables.
SELECT Birthdate FROM table WHERE Name = raymond bonney
CREATE TABLE INST, Here is a database schema( table schema);
What is the Birthdate of raymond bonney?.It is not neccessary to use all the tables.
SELECT "years" FROM table_203_577 WHERE "coach" = 'thomas stouch'
CREATE TABLE INST, Here is a database schema( table schema);
how long was thomas stouch coach ?It is not neccessary to use all the tables.
SELECT position FROM table_21321804_5 WHERE player = "Marc Parenteau"
CREATE TABLE INST, Here is a database schema( table schema);
What is Marc Parenteau's position?It is not neccessary to use all the tables.
SELECT elector FROM table_name_74 WHERE order = "cardinal-priest" AND nationality = "french"
CREATE TABLE INST, Here is a database schema( table schema);
Which Elector has an Order of cardinal-priest and a Nationality of french?It is not neccessary to use all the tables.
SELECT player FROM table_name_63 WHERE score = 69 - 71 = 140
CREATE TABLE INST, Here is a database schema( table schema);
Which golfer had a score of 69-71=140?It is not neccessary to use all the tables.
SELECT T1.Name, T2.Tourist_Attraction_ID FROM Tourist_Attractions AS T1 JOIN VISITS AS T2 ON T1.Tourist_Attraction_ID = T2.Tourist_Attraction_ID GROUP BY T2.Tourist_Attraction_ID HAVING COUNT(*) >= 2
CREATE TABLE INST, Here is a database schema( table schema);
Show the names and ids of tourist attractions that are visited at least two times.It is not neccessary to use all the tables.
SELECT MIN(wins) FROM table_15327489_1
CREATE TABLE INST, Here is a database schema( table schema);
Name the most winsIt is not neccessary to use all the tables.
SELECT MAX No. in series FROM table WHERE Directed by = Harvey S. Laidman
CREATE TABLE INST, Here is a database schema( table schema);
What is the maximum number in the series for the episode directed by Harvey S. Laidman?.It is not neccessary to use all the tables.
SELECT End of term FROM table WHERE Age at inauguration = 78years, 160days
CREATE TABLE INST, Here is a database schema( table schema);
What is the End of term of the President with an Age at inauguration of 78years, 160days?.It is not neccessary to use all the tables.
SELECT city FROM table_name_63 WHERE country = "mayotte"
CREATE TABLE INST, Here is a database schema( table schema);
What city is in the country of Mayotte?It is not neccessary to use all the tables.
SELECT Authority FROM table WHERE Gender = coed AND Area = pinehaven
CREATE TABLE INST, Here is a database schema( table schema);
What authority is the coed school in pinehaven?.It is not neccessary to use all the tables.
SELECT Series FROM table WHERE High rebounds = gasol (10)
CREATE TABLE INST, Here is a database schema( table schema);
What is the Series with a High rebounds with gasol (10)?.It is not neccessary to use all the tables.
SELECT Date FROM table WHERE Tie no = 3
CREATE TABLE INST, Here is a database schema( table schema);
What was the date of the game that tied at 3?.It is not neccessary to use all the tables.
SELECT Region 1 FROM table WHERE Ep # = 13
CREATE TABLE INST, Here is a database schema( table schema);
Name the region 1 for episode number 13.It is not neccessary to use all the tables.
SELECT frequency FROM table_name_54 WHERE model_number = "c7 1.0"
CREATE TABLE INST, Here is a database schema( table schema);
What is the Frequency for Model Number c7 1.0?It is not neccessary to use all the tables.
SELECT Margin FROM table WHERE Winning score = +8 (70-69-70-75=284)
CREATE TABLE INST, Here is a database schema( table schema);
What is the Margin when the Winning score is +8 (70-69-70-75=284)?.It is not neccessary to use all the tables.
SELECT Away team FROM table WHERE Home team = collingwood
CREATE TABLE INST, Here is a database schema( table schema);
When Collingwood was the home team who was the opposing away team?.It is not neccessary to use all the tables.
SELECT SUM Gold FROM table WHERE Nation = total
CREATE TABLE INST, Here is a database schema( table schema);
Nation of total has what sum of gold?.It is not neccessary to use all the tables.
SELECT outcome FROM table_name_30 WHERE score = "4–6 3–6"
CREATE TABLE INST, Here is a database schema( table schema);
Which Outcome has a Score of 4–6 3–6?It is not neccessary to use all the tables.
SELECT AVG January FROM table WHERE Opponent = vancouver canucks AND Game > 39
CREATE TABLE INST, Here is a database schema( table schema);
What is the average january number when the game number was higher than 39 and the opponent was the Vancouver Canucks?.It is not neccessary to use all the tables.
SELECT developer_s_ FROM table_name_4 WHERE game = "resident evil 4"
CREATE TABLE INST, Here is a database schema( table schema);
Who was the developer of Resident Evil 4?It is not neccessary to use all the tables.
SELECT home_team FROM table_name_79 WHERE date = "january 5, 2008"
CREATE TABLE INST, Here is a database schema( table schema);
Which home team played on January 5 2008?It is not neccessary to use all the tables.
SELECT acc_football_titles FROM table_28744929_1 WHERE nickname = "Tar Heels"
CREATE TABLE INST, Here is a database schema( table schema);
how many acc football titles have been won by the institution nicknamed tar heels?It is not neccessary to use all the tables.
SELECT date FROM table_name_52 WHERE attendance = "69,024"
CREATE TABLE INST, Here is a database schema( table schema);
What date was the game that was attended by 69024?It is not neccessary to use all the tables.
SELECT MIN Lost FROM table WHERE % Pts = 93.45
CREATE TABLE INST, Here is a database schema( table schema);
If the points scored were 93.45%, what's the lowest amount of games lost?.It is not neccessary to use all the tables.
SELECT team__number2 FROM table_name_88 WHERE team__number1 = "liege basket"
CREATE TABLE INST, Here is a database schema( table schema);
Who was the team 2 in the game with a team 1 of Liege Basket?It is not neccessary to use all the tables.
SELECT Song title FROM table WHERE Artist = Europe
CREATE TABLE INST, Here is a database schema( table schema);
Name the song title for europe.It is not neccessary to use all the tables.
SELECT arabs FROM table_25947046_1 WHERE annual_population_growth_rate = "1.7%"
CREATE TABLE INST, Here is a database schema( table schema);
What is the arabs when the annual population growth rate is 1.7%?It is not neccessary to use all the tables.
SELECT COUNT Win% FROM table WHERE Postseason = did not qualify AND Rank > 8
CREATE TABLE INST, Here is a database schema( table schema);
What number of win% has a postseason of did not qualify and rank larger than 8?.It is not neccessary to use all the tables.
SELECT qual FROM table_name_43 WHERE rank > 28 AND grid > 23
CREATE TABLE INST, Here is a database schema( table schema);
Which qual has rank of more than 28 and a grid number that is bigger than 23?It is not neccessary to use all the tables.
SELECT SUM(to_par) FROM table_name_23 WHERE country = "united states" AND year_s__won = "1973"
CREATE TABLE INST, Here is a database schema( table schema);
What is the sum of To Par when Country is "United States" and when Year(s) Won is "1973"?It is not neccessary to use all the tables.
SELECT race_name FROM table_name_59 WHERE winning_driver = "graham rahal" AND round > 6 AND pole_position = "graham rahal"
CREATE TABLE INST, Here is a database schema( table schema);
What race after round 6 did Graham Rahal win with a pole position of graham rahal?It is not neccessary to use all the tables.
SELECT percentage FROM table_name_9 WHERE draw = 6
CREATE TABLE INST, Here is a database schema( table schema);
Which Percentage has a Draw of 6?It is not neccessary to use all the tables.
SELECT SUM(downhill_points) FROM table_name_50 WHERE total = "9.31"
CREATE TABLE INST, Here is a database schema( table schema);
What are the downhill points for the skier with total of 9.31 points?It is not neccessary to use all the tables.
SELECT PLYFF FROM table WHERE Opponent = billings outlaws
CREATE TABLE INST, Here is a database schema( table schema);
What is the Plyff team that plays the Billings Outlaws?.It is not neccessary to use all the tables.
SELECT Home team FROM table WHERE Score = 2 – 2
CREATE TABLE INST, Here is a database schema( table schema);
What is the Home team of the game with a Score of 2 – 2?.It is not neccessary to use all the tables.
SELECT COUNT("Total") FROM table_43799 WHERE "Bronze" = '2' AND "Gold" > '3'
CREATE TABLE INST, Here is a database schema( table schema);
how many times is bronze 2 and gold more than 3?It is not neccessary to use all the tables.
SELECT score FROM table_name_78 WHERE place = "2"
CREATE TABLE INST, Here is a database schema( table schema);
What score has 2 as the place?It is not neccessary to use all the tables.
SELECT Round FROM table WHERE Opponent = michael buell
CREATE TABLE INST, Here is a database schema( table schema);
What is the round number of the match with Michael Buell as the opponent?.It is not neccessary to use all the tables.
SELECT i_o_bus FROM table_name_28 WHERE sspec_number = "sr0n5(l1)"
CREATE TABLE INST, Here is a database schema( table schema);
what is the i/o bus when the sspec numebr is sr0n5(l1)?It is not neccessary to use all the tables.
SELECT manner_of_departure FROM table_27683516_3 WHERE date_of_vacancy = "28 September 2010"
CREATE TABLE INST, Here is a database schema( table schema);
What is the manner of departure when the date of vacancy is 28 september 2010?It is not neccessary to use all the tables.
SELECT release_date FROM table_1893815_1 WHERE album_number = "2nd"
CREATE TABLE INST, Here is a database schema( table schema);
Name the release date for album # 2ndIt is not neccessary to use all the tables.
SELECT COUNT Pictorials FROM table WHERE Centerfold model = Rebekka Armstrong
CREATE TABLE INST, Here is a database schema( table schema);
Who were all the pictorials when the centerfold model was Rebekka Armstrong?.It is not neccessary to use all the tables.
SELECT Result FROM table WHERE Year (Ceremony) = 2009 (82nd)
CREATE TABLE INST, Here is a database schema( table schema);
What was the result for the 2009 (82nd) awards?.It is not neccessary to use all the tables.
SELECT COUNT Hometown FROM table WHERE Height = 1.80
CREATE TABLE INST, Here is a database schema( table schema);
How many different cities are represented by contestants whose height stands at 1.80?.It is not neccessary to use all the tables.
SELECT 18-49 (Rating/Share) FROM table WHERE Viewers (m) = 7.35
CREATE TABLE INST, Here is a database schema( table schema);
how many number 18-49 (rating/share) when viewers (m) is 7.35.It is not neccessary to use all the tables.
SELECT Tournament FROM table WHERE 2004 = 1r
CREATE TABLE INST, Here is a database schema( table schema);
Which Tournament has a 2004 of 1r?.It is not neccessary to use all the tables.
SELECT AVG(result) FROM table_name_11 WHERE location = "atlanta" AND rank < 4
CREATE TABLE INST, Here is a database schema( table schema);
What Result has a Location of atlanta and Rank smaller than 4?It is not neccessary to use all the tables.
SELECT home FROM table_name_94 WHERE visitor = "chicago black hawks" AND record = "0-2"
CREATE TABLE INST, Here is a database schema( table schema);
What was the home team when the visiting team was Chicago Black Hawks a game with a record of 0-2?It is not neccessary to use all the tables.
SELECT AVG Games FROM table WHERE Name = pablo prigioni AND Assists > 14
CREATE TABLE INST, Here is a database schema( table schema);
What is the mean number of games for pablo prigioni when there are more than 14 assists?.It is not neccessary to use all the tables.
SELECT Clean & jerk FROM table WHERE Snatch < 150 AND Bodyweight = 76.18
CREATE TABLE INST, Here is a database schema( table schema);
What is the Clean & jerk for the snatch less than 150 and a Bodyweight of 76.18?.It is not neccessary to use all the tables.
SELECT COUNT Hometown FROM table WHERE Fresh Meat Partner = Sydney Walker
CREATE TABLE INST, Here is a database schema( table schema);
How many cast members had sydney walker as their fresh meat partner?.It is not neccessary to use all the tables.
SELECT COUNT(couple) FROM table_19744915_3 WHERE total = "14.5"
CREATE TABLE INST, Here is a database schema( table schema);
how many coupless totalled 14.5It is not neccessary to use all the tables.
SELECT author FROM table_22464685_1 WHERE english_name = "Histories and Eulogies of the Sovereigns"
CREATE TABLE INST, Here is a database schema( table schema);
Who is the auther when the english name was histories and eulogies of the sovereigns?It is not neccessary to use all the tables.
SELECT class FROM table_name_11 WHERE event = "freestyle test" AND result < 70.277 AND horse = "fabuleux 5"
CREATE TABLE INST, Here is a database schema( table schema);
What is the class of Fabuleux 5 get less than 70.277 in the freestyle test?It is not neccessary to use all the tables.
SELECT director FROM table_name_23 WHERE original_title = "la ronde"
CREATE TABLE INST, Here is a database schema( table schema);
what is the director of la rondeIt is not neccessary to use all the tables.
SELECT MIN tons ( L.ton ) FROM table WHERE Warship = Independencia
CREATE TABLE INST, Here is a database schema( table schema);
How much does the Independencia weight?.It is not neccessary to use all the tables.
SELECT co_drivers FROM table_name_42 WHERE laps > 310 AND team = "aston martin racing bms"
CREATE TABLE INST, Here is a database schema( table schema);
Who were the co-drivers with more than 310 laps and team aston martin racing bms?It is not neccessary to use all the tables.
SELECT Title FROM table WHERE Production code = 217
CREATE TABLE INST, Here is a database schema( table schema);
Which episodes had production code 217?.It is not neccessary to use all the tables.
SELECT no_in_series FROM table_15938543_1 WHERE production_code = 116
CREATE TABLE INST, Here is a database schema( table schema);
Which series number had the production code of 116It is not neccessary to use all the tables.
SELECT MIN("Total") FROM table_73115
CREATE TABLE INST, Here is a database schema( table schema);
What is the lowest total?It is not neccessary to use all the tables.
SELECT MAX Total offense FROM table WHERE Opponent = Penn State
CREATE TABLE INST, Here is a database schema( table schema);
What is the number of total offense when the opponentis Penn State?.It is not neccessary to use all the tables.
SELECT _number FROM table_21696800_1 WHERE us_viewers__million_ = "2.24"
CREATE TABLE INST, Here is a database schema( table schema);
What's the number of the episode seen by 2.24 million people in the US?It is not neccessary to use all the tables.
SELECT 2012 FROM table WHERE 2007 = a AND 2011 = qf
CREATE TABLE INST, Here is a database schema( table schema);
What is the 2012 value with A in 2007 and qf in 2011?.It is not neccessary to use all the tables.
SELECT Years FROM table WHERE Win-Loss = 11-60
CREATE TABLE INST, Here is a database schema( table schema);
What is Years, when Win-Loss is 11-60?.It is not neccessary to use all the tables.
SELECT High rebounds FROM table WHERE Score = W 105–88 (OT)
CREATE TABLE INST, Here is a database schema( table schema);
who did highest rebounds in the game with score w 105–88 (ot).It is not neccessary to use all the tables.
SELECT Original air date FROM table WHERE Title = "Vanessa's New Class"
CREATE TABLE INST, Here is a database schema( table schema);
When did the episode titled "Vanessa's new class" air for the first time?.It is not neccessary to use all the tables.