sql
stringlengths
9
2.37k
table
stringclasses
9 values
query
stringlengths
51
503
SELECT portuguese_title FROM table_22118197_1 WHERE english_title = "Belle Toujours"
CREATE TABLE INST, Here is a database schema( table schema);
What is the Portuguese name of the film who's English title is Belle Toujours?It is not neccessary to use all the tables.
SELECT MAX(height) FROM table_name_15 WHERE position = "libero"
CREATE TABLE INST, Here is a database schema( table schema);
What is the height of the person whose position is Libero?It is not neccessary to use all the tables.
SELECT Nationality FROM table WHERE Player = rob nicholson
CREATE TABLE INST, Here is a database schema( table schema);
What nationality is Rob Nicholson?.It is not neccessary to use all the tables.
SELECT position FROM table_name_42 WHERE pick = "1"
CREATE TABLE INST, Here is a database schema( table schema);
What is the position of the pick 1 player?It is not neccessary to use all the tables.
SELECT Height (m) FROM table WHERE Player = Lior Eliyahu
CREATE TABLE INST, Here is a database schema( table schema);
How tall is the basket ball player lior eliyahu in meters?.It is not neccessary to use all the tables.
SELECT event FROM table_name_3 WHERE opponent = "jason yee"
CREATE TABLE INST, Here is a database schema( table schema);
Which Event has the Opponent Jason Yee?It is not neccessary to use all the tables.
SELECT team FROM table_27734577_13 WHERE high_assists = "Josh Smith (8)"
CREATE TABLE INST, Here is a database schema( table schema);
What team was the opponent when josh smith (8) had the high assists?It is not neccessary to use all the tables.
SELECT Class FROM table WHERE Machine = rs125r AND Points > 113 AND Rank = 4th
CREATE TABLE INST, Here is a database schema( table schema);
Which class had a machine of RS125R, points over 113, and a rank of 4th?.It is not neccessary to use all the tables.
SELECT Score FROM table WHERE Attendance > 43,191 AND Date = june 12
CREATE TABLE INST, Here is a database schema( table schema);
On June 12 what score had an attendance larger than 43,191?.It is not neccessary to use all the tables.
SELECT team FROM table_name_11 WHERE qual_2 = "1:01.093"
CREATE TABLE INST, Here is a database schema( table schema);
Which team had a qualifying 2 time of 1:01.093?It is not neccessary to use all the tables.
SELECT Time FROM table WHERE Grid < 6 AND Rider = noriyuki haga
CREATE TABLE INST, Here is a database schema( table schema);
What was the time for a grid less than 6 for Noriyuki Haga?.It is not neccessary to use all the tables.
SELECT "Played" FROM table_71375 WHERE "Points against" = 'points against'
CREATE TABLE INST, Here is a database schema( table schema);
Name the played with points against of points againstIt is not neccessary to use all the tables.
SELECT COUNT(tackles) FROM table_name_21 WHERE fumr = 0 AND totaltk = 54 AND yards < 0
CREATE TABLE INST, Here is a database schema( table schema);
what is the total number of tackles when fumr is 0 totaltk is 54 and yards is less than 0?It is not neccessary to use all the tables.
SELECT COUNT(episode) AS Summary FROM table_2140071_10 WHERE coach = "Jesse Csincsak"
CREATE TABLE INST, Here is a database schema( table schema);
Name the number of episode summary for jesse csincsakIt is not neccessary to use all the tables.
SELECT years FROM table_name_55 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 COUNT(points) FROM table_name_49 WHERE score = "1–3" AND game > 82
CREATE TABLE INST, Here is a database schema( table schema);
How many Points have a Score of 1–3 and a Game larger than 82?It is not neccessary to use all the tables.
SELECT Home team score FROM table WHERE Away team score = 15.17 (107)
CREATE TABLE INST, Here is a database schema( table schema);
What was the home team's score when the away team scored 15.17 (107)?.It is not neccessary to use all the tables.
SELECT MIN(gp_gs) FROM table_name_42 WHERE avg_g < 234.3 AND effic = "410.80"
CREATE TABLE INST, Here is a database schema( table schema);
What is the lowest gp-gs that has an avg/g less than 234.3 with 410.80 as the effic?It is not neccessary to use all the tables.
SELECT COUNT("Location Attendance") FROM table_25892 WHERE "High assists" = 'Brandon Roy (6)' AND "Game" = '78'
CREATE TABLE INST, Here is a database schema( table schema);
When 78 is the game and brandon roy (6) has the highest amount of assists how many locations/attendances are there?It is not neccessary to use all the tables.
SELECT MIN Storage stability FROM table WHERE Toxicity as blood agent > 8 AND Agent = arsine AND Field stability < 5
CREATE TABLE INST, Here is a database schema( table schema);
What is the storage stability of Arsine with a toxicity of 8, and field stability less than 5?.It is not neccessary to use all the tables.
SELECT SUM Crowd FROM table WHERE Away team = geelong
CREATE TABLE INST, Here is a database schema( table schema);
How big was the crowd at the game the away team geelong played at?.It is not neccessary to use all the tables.
SELECT COUNT Fleet size FROM table WHERE IATA = 5J
CREATE TABLE INST, Here is a database schema( table schema);
How large is the fleet size of the airline with the IATA code of 5j?.It is not neccessary to use all the tables.
SELECT Tonnage FROM table WHERE Nationality = great britain AND Ship = batna
CREATE TABLE INST, Here is a database schema( table schema);
What was the tonnage of the Great Britain ship Batna?.It is not neccessary to use all the tables.
SELECT LOCATION FROM performance WHERE Attendance > 2000 INTERSECT SELECT LOCATION FROM performance WHERE Attendance < 1000
CREATE TABLE INST, Here is a database schema( table schema);
Show the locations that have both performances with more than 2000 attendees and performances with less than 1000 attendees.It is not neccessary to use all the tables.
SELECT release_price___usd__ FROM table_name_90 WHERE release_date = "april 2012" AND part_number_s_ = "cm8063701211900bx80637i73770s"
CREATE TABLE INST, Here is a database schema( table schema);
Which Release price (USD ) that has a Release date on april 2012 and a Part number(s) of cm8063701211900bx80637i73770s?It is not neccessary to use all the tables.
SELECT AVG Year FROM table WHERE 3rd day = rowed-over AND 4th Day = bumped corpus christi
CREATE TABLE INST, Here is a database schema( table schema);
What is the year that the 3rd say is Rowed-Over and the 4th day was bumped Corpus Christi?.It is not neccessary to use all the tables.
SELECT Category FROM table WHERE Year > 1996 AND Result = won AND Title = brokeback mountain AND Award = golden globe award
CREATE TABLE INST, Here is a database schema( table schema);
Which Category has a Year larger than 1996, and a Result of won, and a Title of brokeback mountain, and an Award of golden globe award?.It is not neccessary to use all the tables.
SELECT us_viewers__millions_ FROM table_22265225_1 WHERE no_in_season = "12"
CREATE TABLE INST, Here is a database schema( table schema);
How many million U.s. Viewers watched episode 12 in the season?It is not neccessary to use all the tables.
SELECT Record FROM table WHERE Team = utah
CREATE TABLE INST, Here is a database schema( table schema);
What was the record of Utah?.It is not neccessary to use all the tables.
SELECT MAX(lane) FROM table_name_67 WHERE nationality = "malta"
CREATE TABLE INST, Here is a database schema( table schema);
What is the highest Lane used by a racer from Malta?It is not neccessary to use all the tables.
SELECT Runner-Up FROM table WHERE Semi-Finalist #1 = south florida
CREATE TABLE INST, Here is a database schema( table schema);
Who was the runner-up at the South Florida Semi-Finalist #1?.It is not neccessary to use all the tables.
SELECT MIN(year) FROM table_name_23 WHERE tournament = "dunlop phoenix tournament" AND round_4 > 72
CREATE TABLE INST, Here is a database schema( table schema);
What is the earliest year when the Dunlop Phoenix Tournament was played with a round 4 score larger than 72?It is not neccessary to use all the tables.
SELECT Location FROM table WHERE Ground = Lootospark
CREATE TABLE INST, Here is a database schema( table schema);
Where is lootospark from?.It is not neccessary to use all the tables.
SELECT COUNT Year FROM table WHERE Location = helsinki
CREATE TABLE INST, Here is a database schema( table schema);
How many years has there been a competition in Helsinki?.It is not neccessary to use all the tables.
SELECT MAX(year) FROM table_name_42 WHERE owner = "michael e. pegram"
CREATE TABLE INST, Here is a database schema( table schema);
What year was owner Michael E. Pegram's last win?It is not neccessary to use all the tables.
SELECT MAX Year FROM table WHERE Points = 2
CREATE TABLE INST, Here is a database schema( table schema);
in what year were 2 points scored?.It is not neccessary to use all the tables.
SELECT current_affiliation FROM table_name_62 WHERE years_owned = "1955–1995"
CREATE TABLE INST, Here is a database schema( table schema);
What is the current affiliation when the years owned is between 1955–1995?It is not neccessary to use all the tables.
SELECT Segment B FROM table WHERE Segment C = Artificial Flowers
CREATE TABLE INST, Here is a database schema( table schema);
What is listed in segment b when segment c is artificial flowers?.It is not neccessary to use all the tables.
SELECT COUNT Start FROM table WHERE Team = rahal letterman AND Year = 2006
CREATE TABLE INST, Here is a database schema( table schema);
Where did the team of Rahal Letterman in 2006 start?.It is not neccessary to use all the tables.
SELECT score FROM table_name_21 WHERE opponent = "ekaterina makarova"
CREATE TABLE INST, Here is a database schema( table schema);
What was the score in the tournament against Ekaterina Makarova?It is not neccessary to use all the tables.
SELECT MIN Game FROM table WHERE Opponent = boston bruins
CREATE TABLE INST, Here is a database schema( table schema);
What is the lowest Game, when Opponent is "Boston Bruins"?.It is not neccessary to use all the tables.
SELECT Name FROM table WHERE Years Played = 2004–2008 AND Date and Opponent = 2/17/07 vs. purdue
CREATE TABLE INST, Here is a database schema( table schema);
Which Name has a Years Played of 2004–2008, and a Date and Opponent of 2/17/07 vs. purdue?.It is not neccessary to use all the tables.
SELECT themed_area FROM table_name_35 WHERE type = "animal show" AND opened = "2010"
CREATE TABLE INST, Here is a database schema( table schema);
What themed area opened in 2010 as an animal show?It is not neccessary to use all the tables.
SELECT COUNT Player FROM table WHERE NHL team = Winnipeg Jets
CREATE TABLE INST, Here is a database schema( table schema);
how many times is the nhl team the winnipeg jets?.It is not neccessary to use all the tables.
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, date_day AS DATE_DAY_0, date_day AS DATE_DAY_1, days AS DAYS_0, days AS DAYS_1, fare, fare_basis AS FARE_BASIS_0, fare_basis AS FARE_BASIS_1, flight, flight_fare WHERE ((DATE...
CREATE TABLE INST, Here is a database schema( table schema);
show me flights with FIRST class reservations from SAN FRANCISCO to PITTSBURGH for mondayIt is not neccessary to use all the tables.
SELECT Republican/ Democratic FROM table WHERE State ranked in partisan order = south carolina
CREATE TABLE INST, Here is a database schema( table schema);
What is the ratio of Republicans to Democrats in South Carolina?.It is not neccessary to use all the tables.
SELECT years_for_jazz FROM table_11545282_17 WHERE player = "Truck Robinson"
CREATE TABLE INST, Here is a database schema( table schema);
Wht years did truck robinson play?It is not neccessary to use all the tables.
SELECT MIN("08-09 I/O best") FROM table_26422
CREATE TABLE INST, Here is a database schema( table schema);
What is the least 08-09 i/o best?It is not neccessary to use all the tables.
SELECT Tournament FROM table WHERE Surface = clay AND Partner = henri leconte AND Date = 1983
CREATE TABLE INST, Here is a database schema( table schema);
Which tournament has a clay surface and partner henri leconte in 1983?.It is not neccessary to use all the tables.
SELECT "Best finish" FROM table_4209 WHERE "Money list rank" = '206'
CREATE TABLE INST, Here is a database schema( table schema);
What was the best finish for 206 on the money list?It is not neccessary to use all the tables.
SELECT Fastest Lap FROM table WHERE Race Winner = joan lascorz
CREATE TABLE INST, Here is a database schema( table schema);
Who had the fastest lap where Joan Lascorz was the winner?.It is not neccessary to use all the tables.
SELECT Record FROM table WHERE Home = montreal canadiens AND Date = march 23
CREATE TABLE INST, Here is a database schema( table schema);
What is the Record of the Montreal Canadiens Home game on March 23?.It is not neccessary to use all the tables.
SELECT T2.Name FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID = T2.People_ID WHERE T2.Hometown <> "Santo Domingo"
CREATE TABLE INST, Here is a database schema( table schema);
What are the names of gymnasts whose hometown is not "Santo Domingo"?It is not neccessary to use all the tables.
SELECT mixed_doubles FROM table_14903627_1 WHERE womens_singles = "Kairi Viilup"
CREATE TABLE INST, Here is a database schema( table schema);
WHAT IS THE NAME OF THE MIXED DOUBLES PLAYER WHEN THE WOMENS SINGLE PLAYER IS KAIRI VIILUP?It is not neccessary to use all the tables.
SELECT COUNT Year FROM table WHERE Team = newman/haas racing AND Rank = 1st
CREATE TABLE INST, Here is a database schema( table schema);
How many years did Team Newman/Haas Racing receive a 1st place ranking?.It is not neccessary to use all the tables.
SELECT Class FROM table WHERE Behind = +44.780
CREATE TABLE INST, Here is a database schema( table schema);
What is the class of the team that has a behind of +44.780?.It is not neccessary to use all the tables.
SELECT Session FROM table WHERE Circuit = milwaukee mile
CREATE TABLE INST, Here is a database schema( table schema);
The Milwaukee Mile circuit has what type of session?.It is not neccessary to use all the tables.
SELECT COUNT(year) FROM table_name_51 WHERE performer_s_ = "louis armstrong"
CREATE TABLE INST, Here is a database schema( table schema);
How many years was Louis Armstrong performing?It is not neccessary to use all the tables.
SELECT Player FROM table WHERE Position = fly-half AND Club/province = munster
CREATE TABLE INST, Here is a database schema( table schema);
Which player Munster from Munster is a fly-half?.It is not neccessary to use all the tables.
SELECT SUM(stellar_mass___m__) FROM table_name_57 WHERE type = "m0"
CREATE TABLE INST, Here is a database schema( table schema);
What is the total stellar mass of the type m0?It is not neccessary to use all the tables.
SELECT COUNT(athlete) FROM table_17085947_32 WHERE trans_1 = "0:26"
CREATE TABLE INST, Here is a database schema( table schema);
How many athletes completed a trans 1 within 0:26?It is not neccessary to use all the tables.
SELECT frequency FROM table_name_6 WHERE owner = "bell media" AND call_sign = "chsu-fm"
CREATE TABLE INST, Here is a database schema( table schema);
What is the frequency for the radio owned by bell media with a call sign of chsu-fm?It is not neccessary to use all the tables.
SELECT Name FROM table WHERE Games > 1 AND Order = 907
CREATE TABLE INST, Here is a database schema( table schema);
Who had an order of 907 and more than 1 game?.It is not neccessary to use all the tables.
SELECT "Track" FROM table_45161 WHERE "Date" = '09-13-2008'
CREATE TABLE INST, Here is a database schema( table schema);
Where was the race on 09-13-2008?It is not neccessary to use all the tables.
SELECT Arkansas FROM table WHERE Alabama = ken stabler
CREATE TABLE INST, Here is a database schema( table schema);
Who is the Arkansas player associated with Ken Stabler?.It is not neccessary to use all the tables.
SELECT torque FROM table_24729_2 WHERE co2 = "206g/km"
CREATE TABLE INST, Here is a database schema( table schema);
whe co2 is 206g/km what is the torque?It is not neccessary to use all the tables.
SELECT MAX(cuts_made) FROM table_name_20 WHERE top_5 = 0 AND wins < 0
CREATE TABLE INST, Here is a database schema( table schema);
What is the highest number of cuts made in a tournament with 0 wins and 0 top 5 placings?It is not neccessary to use all the tables.
SELECT total FROM table_25831483_1 WHERE actor_actress = "Pam Ferris"
CREATE TABLE INST, Here is a database schema( table schema);
How many total are there when actor/actress is pam ferris?It is not neccessary to use all the tables.
SELECT AVG Crowd FROM table WHERE Home team = south melbourne
CREATE TABLE INST, Here is a database schema( table schema);
Which average Crowd has a Home team of south melbourne?.It is not neccessary to use all the tables.
SELECT programming FROM table_name_71 WHERE name = "mrt sobraniski kanal"
CREATE TABLE INST, Here is a database schema( table schema);
What is the programming for mrt sobraniski kanal?It is not neccessary to use all the tables.
SELECT home_team AS score FROM table_name_51 WHERE away_team = "essendon"
CREATE TABLE INST, Here is a database schema( table schema);
What was the home team score when essendon was the away team?It is not neccessary to use all the tables.
SELECT date FROM table_name_64 WHERE record = "3-3"
CREATE TABLE INST, Here is a database schema( table schema);
Name the date for record 3-3It is not neccessary to use all the tables.
SELECT MAX("Bush#") FROM table_18861 WHERE "Others%" = '1.57%'
CREATE TABLE INST, Here is a database schema( table schema);
what is the maximum bush# with others% being 1.57%It is not neccessary to use all the tables.
SELECT Location FROM table WHERE Score = W 73-70
CREATE TABLE INST, Here is a database schema( table schema);
When w 73-70 is the score what is the location?.It is not neccessary to use all the tables.
SELECT Stadium FROM table WHERE Final Score = 26-24
CREATE TABLE INST, Here is a database schema( table schema);
At what stadium was the game with the final score of 26-24 played?.It is not neccessary to use all the tables.
SELECT MIN NO votes FROM table
CREATE TABLE INST, Here is a database schema( table schema);
What is the lowest overall amount of no votes?.It is not neccessary to use all the tables.
SELECT High rebounds FROM table WHERE High assists = Dwyane Wade (9)
CREATE TABLE INST, Here is a database schema( table schema);
who had all the high rebounds when high assists is by dwyane wade (9).It is not neccessary to use all the tables.
SELECT COUNT Pos. FROM table WHERE Postseason = promoted AND Tier < 2
CREATE TABLE INST, Here is a database schema( table schema);
How many teams were promoted in the postseason in a tier above 2?.It is not neccessary to use all the tables.
SELECT SENIOR (4th Year) FROM table WHERE SOPHOMORE (Grade 8) = Intermediate Algebra
CREATE TABLE INST, Here is a database schema( table schema);
What is after intermediate algebra.It is not neccessary to use all the tables.
SELECT Premierships FROM table WHERE Venue = queensland raceway
CREATE TABLE INST, Here is a database schema( table schema);
How many premierships for the queensland raceway?.It is not neccessary to use all the tables.
SELECT MIN(against) FROM table_name_33 WHERE wins < 16 AND wimmera_fl = "warrack eagles"
CREATE TABLE INST, Here is a database schema( table schema);
What is the lowest against of the wimmera fl warrack eagles which have less than 16 wins?It is not neccessary to use all the tables.
SELECT at Columbia FROM table WHERE Overall Record = MU, 3-1
CREATE TABLE INST, Here is a database schema( table schema);
What is the record at Columbia for the team overall record of MU, 3-1?.It is not neccessary to use all the tables.
SELECT Original air date FROM table WHERE U.S. viewers (millions) = 6.09
CREATE TABLE INST, Here is a database schema( table schema);
When did 6.09 million people in the US see the original airing of an episode of the show?.It is not neccessary to use all the tables.
SELECT Place FROM table WHERE Country = japan
CREATE TABLE INST, Here is a database schema( table schema);
Where did Japan place?.It is not neccessary to use all the tables.
SELECT record FROM table_name_70 WHERE opponent = "jimmy smith"
CREATE TABLE INST, Here is a database schema( table schema);
What is Jimmy Smith's opponent's record?It is not neccessary to use all the tables.
SELECT COUNT(target) FROM table_1661124_1 WHERE approval_date = 1997
CREATE TABLE INST, Here is a database schema( table schema);
How many targets are there with an approval date of 1997?It is not neccessary to use all the tables.
SELECT COUNT Losses FROM table WHERE Played > 30
CREATE TABLE INST, Here is a database schema( table schema);
What is the total number of losses for the over 30 games played?.It is not neccessary to use all the tables.
SELECT COUNT(driver) FROM table_2175858_1 WHERE laps = "300" AND average_speed__mph_ = "103.594"
CREATE TABLE INST, Here is a database schema( table schema);
How many drivers drove 300 laps at average speed of 103.594?It is not neccessary to use all the tables.
SELECT Author FROM table WHERE Title = bludgeoning angel dokuro-chan
CREATE TABLE INST, Here is a database schema( table schema);
Who is the author of Bludgeoning Angel Dokuro-Chan?.It is not neccessary to use all the tables.
SELECT MAX(top_5) FROM table_name_63 WHERE events < 4
CREATE TABLE INST, Here is a database schema( table schema);
What is the highest Top-5 ranking with Events less than 4?It is not neccessary to use all the tables.
SELECT acquis_chapters_open_closed FROM table_name_44 WHERE membership_application = "2009-04-28"
CREATE TABLE INST, Here is a database schema( table schema);
What is the acquis chapter open/closed dates with a membership application in 2009-04-28?It is not neccessary to use all the tables.
SELECT outcome FROM table_name_88 WHERE year > 2003 AND score = "6–0, 6–3"
CREATE TABLE INST, Here is a database schema( table schema);
What is the Outcome of the Match played after 2003 with a Score of 6–0 6–3?It is not neccessary to use all the tables.
SELECT Date of vacancy FROM table WHERE Team = Greenock Morton
CREATE TABLE INST, Here is a database schema( table schema);
What days is greenock morton vacant?.It is not neccessary to use all the tables.
SELECT Date FROM table WHERE Edition = 1988 world group i AND Result = 7–6 (7–5) , 6–3
CREATE TABLE INST, Here is a database schema( table schema);
What date was the 1988 world group i edition with a result of 7–6 (7–5) , 6–3?.It is not neccessary to use all the tables.
SELECT Nation FROM table WHERE Bronze < 10 AND Silver = 5
CREATE TABLE INST, Here is a database schema( table schema);
What Nation has a Bronze that is smaller than 10 with a Silver of 5?.It is not neccessary to use all the tables.
SELECT Platforms FROM table WHERE Application = CityEngine
CREATE TABLE INST, Here is a database schema( table schema);
Name the platforms for cityengine.It is not neccessary to use all the tables.
SELECT 1990 FROM table WHERE 1993 = 1r
CREATE TABLE INST, Here is a database schema( table schema);
WHICH 1990 has a 1993 of 1r?.It is not neccessary to use all the tables.
SELECT date FROM table_23285761_8 WHERE score = "W 109–95 (OT)"
CREATE TABLE INST, Here is a database schema( table schema);
Name the date for score w 109 95 (ot)It is not neccessary to use all the tables.
SELECT Home team FROM table WHERE Away team score = 12.4 (76)
CREATE TABLE INST, Here is a database schema( table schema);
What is the home team that played against an away team scoring 12.4 (76)?.It is not neccessary to use all the tables.
SELECT COUNT(total) FROM table_name_74 WHERE year_won < 1991 AND to_par < 14
CREATE TABLE INST, Here is a database schema( table schema);
What is the total of the player who won before 1991 and has a to par less than 14?It is not neccessary to use all the tables.