sql
stringlengths
9
2.37k
table
stringclasses
9 values
query
stringlengths
51
503
SELECT COUNT(Ends) AS won FROM table_15333005_1 WHERE l = 4 AND stolen_ends = 17
CREATE TABLE INST, Here is a database schema( table schema);
Name the number ends won when L is 4 and stolen ends is 17It is not neccessary to use all the tables.
SELECT director FROM table_name_51 WHERE production_number = "9368"
CREATE TABLE INST, Here is a database schema( table schema);
Who is the director of the production number 9368?It is not neccessary to use all the tables.
SELECT Example: ch'aghara- FROM table WHERE Example: did- = did-ma
CREATE TABLE INST, Here is a database schema( table schema);
What example for ch'aghara- is shown when the example for did- is did-ma?.It is not neccessary to use all the tables.
SELECT result FROM table_name_5 WHERE date = "february 22"
CREATE TABLE INST, Here is a database schema( table schema);
What was the result and score of the game on February 22?It is not neccessary to use all the tables.
SELECT Date FROM table WHERE Format = cd AND Label = columbia/legacy AND Country = uk
CREATE TABLE INST, Here is a database schema( table schema);
What date had a CD format, under Columbia/Legacy from the UK?.It is not neccessary to use all the tables.
SELECT City of license FROM table WHERE Facility ID > 150833
CREATE TABLE INST, Here is a database schema( table schema);
Which city has a facility ID greater than 150833?.It is not neccessary to use all the tables.
SELECT production_code FROM table_24319661_5 WHERE directed_by = "Robert Duncan McNeill"
CREATE TABLE INST, Here is a database schema( table schema);
What as the production code for the episode directed by Robert Duncan McNeill?It is not neccessary to use all the tables.
SELECT score_qualifying FROM table_25143284_1 WHERE score_final = "12.200"
CREATE TABLE INST, Here is a database schema( table schema);
What was the qualifying score of the competition whose final score was 12.200?It is not neccessary to use all the tables.
SELECT MAX Margin FROM table WHERE Winner = K. Balathandayutham
CREATE TABLE INST, Here is a database schema( table schema);
What is the margin when k. balathandayutham is the winner?.It is not neccessary to use all the tables.
SELECT AVG Heat FROM table WHERE Name = anjelika solovieva
CREATE TABLE INST, Here is a database schema( table schema);
What is the average Heat for anjelika solovieva?.It is not neccessary to use all the tables.
SELECT 2012 FROM table_name_6 WHERE 2003 = "2r" AND tournament = "wimbledon"
CREATE TABLE INST, Here is a database schema( table schema);
What is the tournament in 2012 results that has a 2003 results of 2r and played at Wimbledon?It is not neccessary to use all the tables.
SELECT MAX(share) FROM table_22822468_2 WHERE viewers__millions_ = "2.76"
CREATE TABLE INST, Here is a database schema( table schema);
Name the most share for 2.76 million viewersIt is not neccessary to use all the tables.
SELECT high_points FROM table_name_23 WHERE series = "0-2"
CREATE TABLE INST, Here is a database schema( table schema);
With a 0-2 series what is the high points?It is not neccessary to use all the tables.
SELECT Race Name FROM table WHERE Circuit = Oulton Park
CREATE TABLE INST, Here is a database schema( table schema);
What race was held at Oulton Park?.It is not neccessary to use all the tables.
SELECT position FROM table_name_17 WHERE school = "indiana state"
CREATE TABLE INST, Here is a database schema( table schema);
Name the position for indiana stateIt is not neccessary to use all the tables.
SELECT name FROM table_name_23 WHERE loss > 2 AND avg_g > -16 AND gp_gs = "11–7" AND gain > 86
CREATE TABLE INST, Here is a database schema( table schema);
which Name has a Loss larger than 2 and a Avg/G larger than -16 and a GP-GS of 11–7 and a Gain larger than 86?It is not neccessary to use all the tables.
SELECT player FROM table_name_3 WHERE score = 68 - 70 - 68 - 66 = 272
CREATE TABLE INST, Here is a database schema( table schema);
Which golfer had a score of 68-70-68-66=272?It is not neccessary to use all the tables.
SELECT height_[m] FROM table_name_27 WHERE architect = "ross and macfarlane"
CREATE TABLE INST, Here is a database schema( table schema);
What is the height of the building built by architects Ross and Macfarlane?It is not neccessary to use all the tables.
SELECT total vessels built FROM table WHERE Location (city, state) = wilmington, california
CREATE TABLE INST, Here is a database schema( table schema);
What is the total vessels built in Wilmington, California?.It is not neccessary to use all the tables.
SELECT Winner's Share FROM table WHERE Champion = hideto tanihara
CREATE TABLE INST, Here is a database schema( table schema);
What is the winner's share of champion hideto tanihara?.It is not neccessary to use all the tables.
SELECT round FROM table_name_46 WHERE score < 21.5
CREATE TABLE INST, Here is a database schema( table schema);
Which round is a lower score than 21.5?It is not neccessary to use all the tables.
SELECT score FROM table_name_67 WHERE place = "t3"
CREATE TABLE INST, Here is a database schema( table schema);
What was the score of T3 place?It is not neccessary to use all the tables.
SELECT class FROM table_name_77 WHERE laps < 336 AND year = 2004
CREATE TABLE INST, Here is a database schema( table schema);
What class had fewer than 336 laps in 2004?It is not neccessary to use all the tables.
SELECT christ_madeking FROM table_name_16 WHERE great_tribulation = "1925"
CREATE TABLE INST, Here is a database schema( table schema);
What was the Christ made king date with a great tribulation in 1925?It is not neccessary to use all the tables.
SELECT nationality FROM table_name_34 WHERE player = "gerry methe"
CREATE TABLE INST, Here is a database schema( table schema);
What nationality is Gerry Methe?It is not neccessary to use all the tables.
SELECT chassis FROM table_2503102_2 WHERE team = "Rahal Letterman Lanigan Racing"
CREATE TABLE INST, Here is a database schema( table schema);
What chassis is on the car repped by team rahal letterman lanigan racing?It is not neccessary to use all the tables.
SELECT Location FROM table WHERE Track Name = Farmer City Speedway
CREATE TABLE INST, Here is a database schema( table schema);
What location is farmer city speedway?.It is not neccessary to use all the tables.
SELECT Entrant FROM table WHERE Points = 0 AND Year > 1961 AND Chassis = ferrari 156
CREATE TABLE INST, Here is a database schema( table schema);
In the Formula One World Championships, which entrant had 0 points with a Ferrari 156 Chassis after 1961?.It is not neccessary to use all the tables.
SELECT MIN(pick) FROM table_name_91 WHERE round > 7 AND nationality = "united states"
CREATE TABLE INST, Here is a database schema( table schema);
What was the lowest pick number for a united states player picked before round 7?It is not neccessary to use all the tables.
SELECT MAX Crowd FROM table WHERE Away team = hawthorn
CREATE TABLE INST, Here is a database schema( table schema);
What was the crowd number when Hawthorn was the away team?.It is not neccessary to use all the tables.
SELECT Role FROM table WHERE Actor = kevin bishop
CREATE TABLE INST, Here is a database schema( table schema);
What role is Kevin Bishop the actor?.It is not neccessary to use all the tables.
SELECT apt_type_code, MAX(room_count), MIN(room_count) FROM apartments GROUP BY apt_type_code
CREATE TABLE INST, Here is a database schema( table schema);
Show each apartment type code, and the maximum and minimum number of rooms for each type.It is not neccessary to use all the tables.
SELECT MIN(mir_hossein_mousavi) FROM table_23390604_1 WHERE mohsen_rezaee = 44809
CREATE TABLE INST, Here is a database schema( table schema);
Display the lowest score for candidate Mir-Hossein Mousavi when candidate Mohsen Rezaee scored 44809 votesIt is not neccessary to use all the tables.
SELECT written_by FROM table_20967430_3 WHERE season = 10
CREATE TABLE INST, Here is a database schema( table schema);
When it is season 10 who are the writers?It is not neccessary to use all the tables.
SELECT SUM Year FROM table WHERE Competition = european indoor championships AND Venue = budapest , hungary
CREATE TABLE INST, Here is a database schema( table schema);
Which Year has a Competition of european indoor championships, and a Venue of budapest , hungary?.It is not neccessary to use all the tables.
SELECT tries_for FROM table_name_99 WHERE club = "nelson rfc"
CREATE TABLE INST, Here is a database schema( table schema);
How many tries for Nelson RFC?It is not neccessary to use all the tables.
SELECT Location Attendance FROM table WHERE High assists = Gilbert Arenas (9)
CREATE TABLE INST, Here is a database schema( table schema);
What is the location and attendance of the game when gilbert arenas (9) had the high assists?.It is not neccessary to use all the tables.
SELECT country FROM table_name_96 WHERE player = "thomas bjørn"
CREATE TABLE INST, Here is a database schema( table schema);
What country is player thomas bjørn from?It is not neccessary to use all the tables.
SELECT COUNT(no) FROM table_12962773_1 WHERE current_club = "Panathinaikos" AND position = "Forward"
CREATE TABLE INST, Here is a database schema( table schema);
what's the no with current club being panathinaikos and position being forwardIt is not neccessary to use all the tables.
SELECT COUNT Producer (s) FROM table WHERE Song (s) = Calling Out to Marlboro
CREATE TABLE INST, Here is a database schema( table schema);
how many producers are responsible for the song 'calling out to marlboro?.It is not neccessary to use all the tables.
SELECT "top speed" FROM table_24181 WHERE "max. power" = 'PS (kW; bhp)@5250-6250'
CREATE TABLE INST, Here is a database schema( table schema);
What is top speed of a petrol engine at ps (kw; bhp)@5250-6250?It is not neccessary to use all the tables.
SELECT MAX Goal Difference FROM table WHERE Played > 34
CREATE TABLE INST, Here is a database schema( table schema);
What is the highest goal difference of the club with more than 34 played?.It is not neccessary to use all the tables.
SELECT record FROM table_name_8 WHERE date = "october 30"
CREATE TABLE INST, Here is a database schema( table schema);
What was the Record for the game on October 30?It is not neccessary to use all the tables.
SELECT No. in series FROM table WHERE Title = "Shock Waves"
CREATE TABLE INST, Here is a database schema( table schema);
List the series number with the espide called "shock waves"..It is not neccessary to use all the tables.
SELECT date FROM table_name_86 WHERE week > 15
CREATE TABLE INST, Here is a database schema( table schema);
What was the date of the game played after week 15?It is not neccessary to use all the tables.
SELECT Country FROM table WHERE Year current Scouting organization joined WOSM = 1930 AND Year member organization was founded = 1926
CREATE TABLE INST, Here is a database schema( table schema);
Which countries have a scouting organization that was founded in 1926, and joined WOSM in 1930?.It is not neccessary to use all the tables.
SELECT Opponent FROM table WHERE Score = 6–4, 6–2 AND Surface = clay
CREATE TABLE INST, Here is a database schema( table schema);
Who is the opponent when the score was 6–4, 6–2 and the surface was clay?.It is not neccessary to use all the tables.
SELECT Exponent field FROM table WHERE Exp (biased) = 255 AND Value = +∞
CREATE TABLE INST, Here is a database schema( table schema);
What's the exponent field that has 255 exp and value of +∞?.It is not neccessary to use all the tables.
SELECT COUNT Laps FROM table WHERE Pos. = 4th AND Year > 2013
CREATE TABLE INST, Here is a database schema( table schema);
How many laps were driven by the racer who earned 4th place in 2013?.It is not neccessary to use all the tables.
SELECT Location FROM table WHERE Home Ground = mong kok stadium
CREATE TABLE INST, Here is a database schema( table schema);
Which Location has a Home Ground of Mong kok stadium?.It is not neccessary to use all the tables.
SELECT date FROM table_name_29 WHERE match = 5
CREATE TABLE INST, Here is a database schema( table schema);
What date was match 5?It is not neccessary to use all the tables.
SELECT date_of_vacancy FROM table_name_78 WHERE team = "vitória de guimarães"
CREATE TABLE INST, Here is a database schema( table schema);
What was the day of vacancy for vitória de guimarães?It is not neccessary to use all the tables.
SELECT Res. FROM table WHERE Round = 3 AND Opponent = keith wisniewski
CREATE TABLE INST, Here is a database schema( table schema);
What is the result with a Round of 3, and an Opponent of keith wisniewski?.It is not neccessary to use all the tables.
SELECT clublocation FROM club WHERE clubname = "Pen and Paper Gaming"
CREATE TABLE INST, Here is a database schema( table schema);
Find the location of the club "Pen and Paper Gaming".It is not neccessary to use all the tables.
SELECT AVG(height__cm_) FROM table_name_52 WHERE birthplace = "bloomfield hills, michigan"
CREATE TABLE INST, Here is a database schema( table schema);
Which Height (cm) has a Birthplace of bloomfield hills michigan?It is not neccessary to use all the tables.
SELECT International Marquee FROM table WHERE Vice-Captain = michael mcglinchey
CREATE TABLE INST, Here is a database schema( table schema);
What team is Michael McGlinchey vice captain of?.It is not neccessary to use all the tables.
SELECT COUNT(nba_draft) FROM table_11677760_1 WHERE player = "Felipe Lopez"
CREATE TABLE INST, Here is a database schema( table schema);
how many times was the player felipe lopez?It is not neccessary to use all the tables.
SELECT Years Active FROM table WHERE Home Venue = North Shore Events Centre Vector Arena
CREATE TABLE INST, Here is a database schema( table schema);
How long has the team who owns North Shore Events Centre Vector Arena been active?.It is not neccessary to use all the tables.
SELECT gender FROM table_name_3 WHERE riding = "st. john's south—mount pearl"
CREATE TABLE INST, Here is a database schema( table schema);
The candidate with Riding of st. john's south—mount pearl is what gender?It is not neccessary to use all the tables.
SELECT name FROM table_name_4 WHERE order = 1
CREATE TABLE INST, Here is a database schema( table schema);
Which name had an order number of 1?It is not neccessary to use all the tables.
SELECT constellation FROM table_name_57 WHERE declination___j2000__ = "°32′39″"
CREATE TABLE INST, Here is a database schema( table schema);
What constellation has a Declination ( J2000 ) of °32′39″?It is not neccessary to use all the tables.
SELECT Series FROM table WHERE Opponent = new york rangers AND Score = 3–2 ot
CREATE TABLE INST, Here is a database schema( table schema);
Which Series has an Opponent of new york rangers, and a Score of 3–2 ot?.It is not neccessary to use all the tables.
SELECT "Score in the final" FROM table_4537 WHERE "Date" = '1974'
CREATE TABLE INST, Here is a database schema( table schema);
What was the score of the tournament that was held in 1974?It is not neccessary to use all the tables.
SELECT MIN(score) FROM table_name_23 WHERE player = "tommy bolt"
CREATE TABLE INST, Here is a database schema( table schema);
What is the score of Tommy BoltIt is not neccessary to use all the tables.
SELECT method FROM table_name_72 WHERE time = "5:00" AND round < 3 AND res = "loss" AND event = "road fc 12"
CREATE TABLE INST, Here is a database schema( table schema);
What is the method of the match in the Road fc 12 at 5:00 with less than 3 rounds, and a loss result?It is not neccessary to use all the tables.
SELECT MIN Year(s) FROM table WHERE Spokesperson = colin berry AND Radio commentator = ray moore
CREATE TABLE INST, Here is a database schema( table schema);
What is the earliest year with colin berry as the spokesperson and ray moore as the radio commentator?.It is not neccessary to use all the tables.
SELECT MIN(fin_pos) FROM table_17244483_1 WHERE driver = "Darren Manning"
CREATE TABLE INST, Here is a database schema( table schema);
Darren Manning finished in what position?It is not neccessary to use all the tables.
SELECT total_candidates FROM table_2676980_4 WHERE registered_voters = 47742
CREATE TABLE INST, Here is a database schema( table schema);
What is the number of total candidates when registered voters is 47742?It is not neccessary to use all the tables.
SELECT COUNT(directed_by) FROM table_14035132_3 WHERE written_by = "Darrick Bachman and Brett Varon"
CREATE TABLE INST, Here is a database schema( table schema);
How many episodes have been directed and written by Darrick Bachman and Brett Varon?It is not neccessary to use all the tables.
SELECT First Day Cover Cancellation FROM table WHERE Date of Issue = 13 june 2005
CREATE TABLE INST, Here is a database schema( table schema);
What's listed as the First Day Cover Cancellation with a Date of Issue of 13 June 2005?.It is not neccessary to use all the tables.
SELECT Binary FROM table WHERE Operation = find-min
CREATE TABLE INST, Here is a database schema( table schema);
Operation of find-min has what binary?.It is not neccessary to use all the tables.
SELECT Season FROM table WHERE Division = washington bullets
CREATE TABLE INST, Here is a database schema( table schema);
In which Season was the Division Washington Bullets?.It is not neccessary to use all the tables.
SELECT MIN Pick # FROM table WHERE Position = LB
CREATE TABLE INST, Here is a database schema( table schema);
Who was the lowest picked LB.It is not neccessary to use all the tables.
SELECT 7:00 FROM table WHERE 10:00 = dirty sexy money
CREATE TABLE INST, Here is a database schema( table schema);
What 7:00 has a 10:00 of dirty sexy money?.It is not neccessary to use all the tables.
SELECT Common name FROM table WHERE Scientific name = Furcifer pardalis
CREATE TABLE INST, Here is a database schema( table schema);
Name the common name for furcifer pardalis.It is not neccessary to use all the tables.
SELECT Winner FROM table WHERE Year = 1999 AND Loser = kansas city chiefs
CREATE TABLE INST, Here is a database schema( table schema);
Who was the winner of the game in 1999 with Kansas City Chiefs as the loser?.It is not neccessary to use all the tables.
SELECT Nationality FROM table WHERE Years in New Jersey = 2007-2009
CREATE TABLE INST, Here is a database schema( table schema);
What is the nationality of the play for New Jersey from 2007-2009?.It is not neccessary to use all the tables.
SELECT COUNT(slovene) FROM table_26757_4 WHERE belarusian = "рыба (rýba)"
CREATE TABLE INST, Here is a database schema( table schema);
When рыба (rýba) is the belarusian how many slovenes are there?It is not neccessary to use all the tables.
SELECT COUNT(losses) FROM table_name_1 WHERE games_played = 7 AND goals_against < 27
CREATE TABLE INST, Here is a database schema( table schema);
How many games did the team lose that played 7 games and has a GA of less than 27?It is not neccessary to use all the tables.
SELECT weight FROM table_name_95 WHERE name = "damir burić"
CREATE TABLE INST, Here is a database schema( table schema);
What is the weight of Damir Burić?It is not neccessary to use all the tables.
SELECT Date FROM table WHERE Home team score = 7.7 (49)
CREATE TABLE INST, Here is a database schema( table schema);
What was the date of the game where the home team scored 7.7 (49)?.It is not neccessary to use all the tables.
SELECT Runners-up FROM table WHERE Club = fc viktoria plzeň
CREATE TABLE INST, Here is a database schema( table schema);
Who were the runners-up for the FC Viktoria Plzeň club?.It is not neccessary to use all the tables.
SELECT Notes FROM table WHERE Year > 1983 AND Position = 18th
CREATE TABLE INST, Here is a database schema( table schema);
What Notes after 1983 have a Position of 18th?.It is not neccessary to use all the tables.
SELECT result FROM table_name_38 WHERE attendance = "56,906"
CREATE TABLE INST, Here is a database schema( table schema);
What is the result of the game when the attendance is 56906?It is not neccessary to use all the tables.
SELECT class FROM table_name_45 WHERE machine = "nsr250" AND points > 97
CREATE TABLE INST, Here is a database schema( table schema);
What class has nsr250 as the machine, with points greater than 97?It is not neccessary to use all the tables.
SELECT COUNT(*) FROM Player WHERE HS > 1000
CREATE TABLE INST, Here is a database schema( table schema);
How many players have more than 1000 hours of training?It is not neccessary to use all the tables.
SELECT date FROM table_name_74 WHERE opponent = "gisela dulko"
CREATE TABLE INST, Here is a database schema( table schema);
What is the Date when the Opponent is Gisela Dulko?It is not neccessary to use all the tables.
SELECT Country, COUNT(*) FROM perpetrator GROUP BY Country ORDER BY COUNT(*)
CREATE TABLE INST, Here is a database schema( table schema);
What are the countries of perpetrators? Show each country and the corresponding number of perpetrators there Plot them as bar chart, and could you sort total number in ascending order please?It is not neccessary to use all the tables.
SELECT spi FROM table_16731248_1 WHERE number_on_cyl = "7"
CREATE TABLE INST, Here is a database schema( table schema);
Are there SPI on the number 7 cylinder?It is not neccessary to use all the tables.
SELECT T1.subject_id, T2.subject_name, COUNT(*) FROM Courses AS T1 JOIN Subjects AS T2 ON T1.subject_id = T2.subject_id GROUP BY T1.subject_id
CREATE TABLE INST, Here is a database schema( table schema);
Find the subject ID subject name and the corresponding number of available courses for each subject.It is not neccessary to use all the tables.
SELECT date FROM table_name_69 WHERE outcome = "winner" AND score = "7–5, 6–4"
CREATE TABLE INST, Here is a database schema( table schema);
Which Date has an Outcome of winner, and a Score of 7 5, 6 4?It is not neccessary to use all the tables.
SELECT European tier FROM table WHERE Artist = Rick Springfield
CREATE TABLE INST, Here is a database schema( table schema);
Name the european tier for rick springfield.It is not neccessary to use all the tables.
SELECT total_number FROM table_14330096_4 WHERE director = "Roger Goldby"
CREATE TABLE INST, Here is a database schema( table schema);
How many of the episodes have Roger Goldby as the director?It is not neccessary to use all the tables.
SELECT Torque FROM table WHERE Model = 320td (diesel)
CREATE TABLE INST, Here is a database schema( table schema);
What is the Torque of the Model 320td (diesel)?.It is not neccessary to use all the tables.
SELECT COUNT Rank FROM table WHERE Ø-Pts > 1.26 AND Games = 1458
CREATE TABLE INST, Here is a database schema( table schema);
What was the rank for 1.26 Ø-Pts in game 1458?.It is not neccessary to use all the tables.
SELECT Directed by FROM table WHERE Production code = CA311
CREATE TABLE INST, Here is a database schema( table schema);
Who directed the episode with production code ca311?.It is not neccessary to use all the tables.
SELECT max. torque at rpm FROM table WHERE engine code(s) = bmm
CREATE TABLE INST, Here is a database schema( table schema);
What is the maximum torque at rpm for the engine with code BMM?.It is not neccessary to use all the tables.
SELECT 2010 FROM table WHERE Rank = 8
CREATE TABLE INST, Here is a database schema( table schema);
what is the production in 2010 with rank of 8?.It is not neccessary to use all the tables.
SELECT team_classification FROM table_26257223_13 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 SUM(lane) FROM table_name_82 WHERE reaction_time < 0.218 AND time > 44.74 AND nationality = "great britain"
CREATE TABLE INST, Here is a database schema( table schema);
What is the Lane of the Athlete from Great Britain with a Reaction time of less than 0.218 and a Time larger than 44.74?It is not neccessary to use all the tables.