sql
stringlengths
9
2.37k
table
stringclasses
9 values
query
stringlengths
51
503
SELECT MAX Titles FROM table WHERE Current run since < 2013 AND Club = järve
CREATE TABLE INST, Here is a database schema( table schema);
What is the highest number of titles won by the Järve club before 2013?.It is not neccessary to use all the tables.
SELECT AVG(year) FROM table_name_27 WHERE inglewood < 2 OFFSET 575
CREATE TABLE INST, Here is a database schema( table schema);
What is the average year that had a value less than 2575 in Inglewood?It is not neccessary to use all the tables.
SELECT COUNT 3rd runner-up FROM table WHERE Country/Territory = Turkey
CREATE TABLE INST, Here is a database schema( table schema);
How many 3rd runner up values does Turkey have?.It is not neccessary to use all the tables.
SELECT "Opponent" FROM table_21327 WHERE "Score" = 'L 68-60'
CREATE TABLE INST, Here is a database schema( table schema);
Who was the oppenent what the score was L 68-60?It is not neccessary to use all the tables.
SELECT MIN Year FROM table WHERE Engine = bristol
CREATE TABLE INST, Here is a database schema( table schema);
What is the earliest year that has a Bristol engine?.It is not neccessary to use all the tables.
SELECT Away team FROM table WHERE Home team score = 12.8 (80)
CREATE TABLE INST, Here is a database schema( table schema);
What team was the away team when the home team scored 12.8 (80)?.It is not neccessary to use all the tables.
SELECT Hometown FROM table WHERE Age(s) = 16
CREATE TABLE INST, Here is a database schema( table schema);
what are all the hometown where the average age is 16.It is not neccessary to use all the tables.
SELECT percentage_of_total_area FROM table_15555661_2 WHERE percentage_protected = "8.06"
CREATE TABLE INST, Here is a database schema( table schema);
What is the percentage of total area in the ecozone that the percentage protected is 8.06?It is not neccessary to use all the tables.
SELECT count(DISTINCT school_district) FROM FINREV_FED_17 as T1 JOIN FINREV_FED_KEY_17 as T2 ON T1.state_code = T2.state_code WHERE T2.state = "Indiana"
CREATE TABLE INST, Here is a database schema( finrev fed 17);
How many unique school districts in Indiana?. It is not neccessary to use all the tables.
SELECT SUM t (µm) FROM table WHERE Technology = mj
CREATE TABLE INST, Here is a database schema( table schema);
What is the sum of t (µm), when Technology is MJ?.It is not neccessary to use all the tables.
SELECT Neighborhood FROM table WHERE Branch = hollywood library
CREATE TABLE INST, Here is a database schema( table schema);
What is Neighborhood, when Branch is Hollywood Library?.It is not neccessary to use all the tables.
SELECT Barrel length FROM table WHERE Name = AR-15A3 Competition HBAR
CREATE TABLE INST, Here is a database schema( table schema);
what are all the barrel lengths whith the name ar-15a3 competition hbar.It is not neccessary to use all the tables.
SELECT MAX(population_august_15), _2012 FROM table_12496904_1 WHERE population_density_2012__km_2__ = 307
CREATE TABLE INST, Here is a database schema( table schema);
What is the August 15 2012 population when the population density of 2012 is 307?It is not neccessary to use all the tables.
SELECT Opponent FROM table WHERE Score = 85-102
CREATE TABLE INST, Here is a database schema( table schema);
Who played against the Celtics when the final game score was 85-102?.It is not neccessary to use all the tables.
SELECT title FROM table_name_91 WHERE length = "3:32" AND producer_s_ = "hadise açıkgöz, yves jongen"
CREATE TABLE INST, Here is a database schema( table schema);
Which Title has a Length of 3:32 and a Producer(s) of hadise açıkgöz yves jongen?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, days, flight, state WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'PITTSBURGH' AND date_day.day_number = 21 AND date_day.month_number...
CREATE TABLE INST, Here is a database schema( table schema);
show me the flights from LOS ANGELES to PITTSBURGH which arrive at PITTSBURGH on mondayIt is not neccessary to use all the tables.
SELECT El Canal de las Estrellas FROM table WHERE October 20, 2008 = June 5, 2009
CREATE TABLE INST, Here is a database schema( table schema);
state el canal de las estrellas where october 20, 2008 stat is june 5, 2009.It is not neccessary to use all the tables.
SELECT Week 12 FROM table WHERE Week 2 = magda tomek
CREATE TABLE INST, Here is a database schema( table schema);
Who is the week 12 for the week 2 with Magda Tomek?.It is not neccessary to use all the tables.
SELECT vote_percentage FROM table_19744915_17 WHERE couple = "Todd and Susie"
CREATE TABLE INST, Here is a database schema( table schema);
For couple Todd and Susie what was the vote percentage?It is not neccessary to use all the tables.
SELECT damage__millions_usd__ FROM table_name_36 WHERE min_press___mbar__ = "972" AND deaths = "52"
CREATE TABLE INST, Here is a database schema( table schema);
What is the cost of 972 Min Press caused 52 death?It is not neccessary to use all the tables.
SELECT Date FROM table WHERE Home team = richmond
CREATE TABLE INST, Here is a database schema( table schema);
What date does the Home team of Richmond have?.It is not neccessary to use all the tables.
SELECT Tournament FROM table WHERE Date = february 17, 2002
CREATE TABLE INST, Here is a database schema( table schema);
What is the tournament on February 17, 2002?.It is not neccessary to use all the tables.
SELECT nation FROM table_18666752_3 WHERE horse = "Parkmore Ed"
CREATE TABLE INST, Here is a database schema( table schema);
Which nation is where the horse parkmore ed is?It is not neccessary to use all the tables.
SELECT date FROM table_name_57 WHERE label = "rca" AND catalog = "sf-7635"
CREATE TABLE INST, Here is a database schema( table schema);
What is the Date of the RCA release with Catalog number SF-7635?It is not neccessary to use all the tables.
SELECT Time/Retired FROM table WHERE Grid < 10 AND Laps > 20 AND Constructor = talbot-lago - talbot
CREATE TABLE INST, Here is a database schema( table schema);
What is the Time/Retired for a Grid smaller than 10, a Laps larger than 20, and a Constructor of talbot-lago - talbot?.It is not neccessary to use all the tables.
SELECT Traditional FROM table WHERE Pinyin = hédōng qū
CREATE TABLE INST, Here is a database schema( table schema);
What is the Traditional when the Pinyin is hédōng qū?.It is not neccessary to use all the tables.
SELECT COUNT("District") FROM table_18208 WHERE "Candidates" = 'Eliot L. Engel (D) 85.2% Martin Richman (R) 14.8%'
CREATE TABLE INST, Here is a database schema( table schema);
how many district with candidates being eliot l. engel (d) 85.2% martin richman (r) 14.8%It is not neccessary to use all the tables.
SELECT Position FROM table WHERE Overall Pick # = 17
CREATE TABLE INST, Here is a database schema( table schema);
What is the position for the pick number 17?.It is not neccessary to use all the tables.
SELECT COUNT 2002 Commission FROM table WHERE 2012 Commission = Gloria Moon
CREATE TABLE INST, Here is a database schema( table schema);
How many people named gloria moon were on the 2002 and 2012 commissions?.It is not neccessary to use all the tables.
SELECT MIN Game FROM table WHERE Team = Houston
CREATE TABLE INST, Here is a database schema( table schema);
What is the lowest game number when the team is Houston? .It is not neccessary to use all the tables.
SELECT MAX(round) FROM table_20036882_2 WHERE winning_pilot = "Michael Goulian"
CREATE TABLE INST, Here is a database schema( table schema);
Name the most round for michael goulianIt is not neccessary to use all the tables.
SELECT Head Coach FROM table WHERE Score = 4-3
CREATE TABLE INST, Here is a database schema( table schema);
Who is the head coach for the score of 4-3?.It is not neccessary to use all the tables.
SELECT New/Returning/Same Network FROM table WHERE Previous Network = nbc AND Show = blockbusters
CREATE TABLE INST, Here is a database schema( table schema);
Which New/Returning/Same Network has a Previous Network of nbc, and a Show of blockbusters?.It is not neccessary to use all the tables.
SELECT winners FROM table_name_11 WHERE year = 1998
CREATE TABLE INST, Here is a database schema( table schema);
Who were the winners in 1998?It is not neccessary to use all the tables.
SELECT Score FROM table WHERE Date = december 5
CREATE TABLE INST, Here is a database schema( table schema);
Name the score for december 5.It is not neccessary to use all the tables.
SELECT Category, COUNT(*) FROM music_festival GROUP BY Category
CREATE TABLE INST, Here is a database schema( table schema);
Give me a pie to show the total number from different category.It is not neccessary to use all the tables.
SELECT AVG(seasons_completed) FROM table_name_97 WHERE division_titles < 1 AND playoff_appearances = 0 AND finals_appearances > 0
CREATE TABLE INST, Here is a database schema( table schema);
What is the average number of seasons completed of the team with less than 1 division titles 0 playoff appearances and more than 0 finals appearances?It is not neccessary to use all the tables.
SELECT College FROM table WHERE Position = linebacker AND School = lessburg high school
CREATE TABLE INST, Here is a database schema( table schema);
Which college has a linebacker from Lessburg High School?.It is not neccessary to use all the tables.
SELECT Champion FROM table WHERE Third = blaho blahoyeve AND Season = 1995-96
CREATE TABLE INST, Here is a database schema( table schema);
Which Champion has a Third of blaho blahoyeve, and a Season of 1995-96?.It is not neccessary to use all the tables.
SELECT software FROM table_name_78 WHERE cost___usd__ = "free" AND latest_stable_date__version_ = "1.1"
CREATE TABLE INST, Here is a database schema( table schema);
What is the free sotware with the latest stable date version of 1.1?It is not neccessary to use all the tables.
SELECT MIN(heat) FROM table_name_9 WHERE lane = 4 AND nationality = "canada"
CREATE TABLE INST, Here is a database schema( table schema);
Who was the 4 lane person from Canada?It is not neccessary to use all the tables.
SELECT Constructor FROM table WHERE Grid = 2
CREATE TABLE INST, Here is a database schema( table schema);
Which Constructor has grid 2?.It is not neccessary to use all the tables.
SELECT Money ( $ ) FROM table WHERE Player = justin leonard
CREATE TABLE INST, Here is a database schema( table schema);
what is the money ($) for player justin leonard?.It is not neccessary to use all the tables.
SELECT races FROM table_name_40 WHERE series = "formula one" AND poles = "test driver"
CREATE TABLE INST, Here is a database schema( table schema);
What race was there in the formula one series when there was a test driver?It is not neccessary to use all the tables.
SELECT 1996 FROM table_name_92 WHERE tournament = "wimbledon"
CREATE TABLE INST, Here is a database schema( table schema);
What is the value for the Wimbledon tournament in 1996?It is not neccessary to use all the tables.
SELECT Opponent FROM table WHERE Save = || 36,388 ||15-7||
CREATE TABLE INST, Here is a database schema( table schema);
Who was the Opponent when the Save was || 36,388 ||15-7||?.It is not neccessary to use all the tables.
SELECT sport FROM table_name_3 WHERE founded = 2010
CREATE TABLE INST, Here is a database schema( table schema);
What sport was played by the team founded in 2010?It is not neccessary to use all the tables.
SELECT Notes FROM table WHERE Format = soft adult contemporary
CREATE TABLE INST, Here is a database schema( table schema);
What is the Notes of the Frequency with a Format of soft adult contemporary?.It is not neccessary to use all the tables.
SELECT MIN Round 1 FROM table WHERE Place = t15 AND Year < 1998
CREATE TABLE INST, Here is a database schema( table schema);
What is the lowest round with a place of t15 in a year earlier than 1998?.It is not neccessary to use all the tables.
SELECT Team FROM table WHERE Driver(s) = reed sorenson
CREATE TABLE INST, Here is a database schema( table schema);
What team does Reed Sorenson drive for?.It is not neccessary to use all the tables.
SELECT SUM Silver FROM table WHERE Gold < 0
CREATE TABLE INST, Here is a database schema( table schema);
What is the total of silver when gold is less than 0?.It is not neccessary to use all the tables.
SELECT SUM Bronze FROM table WHERE Nation = west germany
CREATE TABLE INST, Here is a database schema( table schema);
How many bronzes have west germany as the nation?.It is not neccessary to use all the tables.
SELECT MIN Expenditures on R&D (billions of US$ , PPP ) FROM table WHERE Country/Region = poland AND Year > 2011
CREATE TABLE INST, Here is a database schema( table schema);
What is the lowest expenditures on R&D for Poland after 2011?.It is not neccessary to use all the tables.
SELECT MIN Runs FROM table
CREATE TABLE INST, Here is a database schema( table schema);
What is the smallest number of runs?.It is not neccessary to use all the tables.
SELECT player FROM table_name_83 WHERE year_s__won = "1993"
CREATE TABLE INST, Here is a database schema( table schema);
Who is the player who won in 1993?It is not neccessary to use all the tables.
SELECT "Role" FROM table_1122 WHERE "Casino Theatre 1888" = 'George Broderick'
CREATE TABLE INST, Here is a database schema( table schema);
How many roles include George Broderick in the casino 1888 theater?It is not neccessary to use all the tables.
SELECT Opponent FROM table WHERE Loss = glynn (0-2)
CREATE TABLE INST, Here is a database schema( table schema);
Witch opponent has a loss of Glynn (0-2)?.It is not neccessary to use all the tables.
SELECT year FROM table_name_81 WHERE points = 0 AND chassis = "ags jh23b"
CREATE TABLE INST, Here is a database schema( table schema);
Which year had 0 points and an AGS JH23B chassis?It is not neccessary to use all the tables.
SELECT Position FROM table WHERE College/junior/club team = Regina Pats (WHL)
CREATE TABLE INST, Here is a database schema( table schema);
What position is the player from the Regina Pats (WHL)?.It is not neccessary to use all the tables.
SELECT "Away team score" FROM table_10951 WHERE "Away team" = 'geelong'
CREATE TABLE INST, Here is a database schema( table schema);
When the away team was geelong, what was the away team score?It is not neccessary to use all the tables.
SELECT Position FROM table WHERE Nationality = canada AND NHL team = boston bruins
CREATE TABLE INST, Here is a database schema( table schema);
What position is the player that is from Canada and on the Boston Bruins.It is not neccessary to use all the tables.
SELECT unwto_region FROM table_name_24 WHERE country = "italy"
CREATE TABLE INST, Here is a database schema( table schema);
What is Italy's UNWTO region?It is not neccessary to use all the tables.
SELECT name__wade_giles_ FROM table_name_87 WHERE characters = "廣亨"
CREATE TABLE INST, Here is a database schema( table schema);
What's the name that has the characters 廣亨?It is not neccessary to use all the tables.
SELECT Date FROM table WHERE Away = toronto eagles
CREATE TABLE INST, Here is a database schema( table schema);
When did the team play an away game against the Toronto Eagles?.It is not neccessary to use all the tables.
SELECT home FROM table_name_9 WHERE decision = "kolzig" AND date = "november 5"
CREATE TABLE INST, Here is a database schema( table schema);
Which home has a Decision of kolzig and a Date of november 5?It is not neccessary to use all the tables.
SELECT opponent FROM table_24561550_1 WHERE record = "4-4"
CREATE TABLE INST, Here is a database schema( table schema);
List all opponents from the 4-4 scoring game.It is not neccessary to use all the tables.
SELECT years FROM table_name_15 WHERE tied < 31 AND pct = 0.5451
CREATE TABLE INST, Here is a database schema( table schema);
How many years for the team with under 31 ties and a percentage of 0.5451?It is not neccessary to use all the tables.
SELECT COUNT Directed by FROM table WHERE Title = "Fail Fish"
CREATE TABLE INST, Here is a database schema( table schema);
How many different people directed the episode titled "Fail Fish"?.It is not neccessary to use all the tables.
SELECT Winning driver FROM table WHERE Race Name = iv grand prix de caen
CREATE TABLE INST, Here is a database schema( table schema);
Who is the winning drive of iv grand prix de caen?.It is not neccessary to use all the tables.
SELECT market_value__billion_$_ FROM table_1682026_6 WHERE sales__billion_$_ = "172.7"
CREATE TABLE INST, Here is a database schema( table schema);
What is the market value of a company in billions that has 172.7 billion in sales?It is not neccessary to use all the tables.
SELECT COUNT(attendance) FROM table_name_67 WHERE home = "lakers"
CREATE TABLE INST, Here is a database schema( table schema);
What is the attendance total of the game with the Lakers as the home team?It is not neccessary to use all the tables.
SELECT Fastest lap FROM table WHERE Pole position = phil hill AND Winning driver = wolfgang von trips
CREATE TABLE INST, Here is a database schema( table schema);
What was the fastest lap in a race where Phil Hill had the Pole position and was won by Wolfgang von Trips?.It is not neccessary to use all the tables.
SELECT MAX Winner's share ($) FROM table WHERE Location = madison, wisconsin AND Year < 1963
CREATE TABLE INST, Here is a database schema( table schema);
What was the winner's share before 1963 in Madison, Wisconsin?.It is not neccessary to use all the tables.
SELECT opponent FROM table_name_34 WHERE points < 62 AND january < 6
CREATE TABLE INST, Here is a database schema( table schema);
what opponent has an average less than 62 and a January average less than 6It is not neccessary to use all the tables.
SELECT Format FROM table WHERE Label = geffen AND Region = united states
CREATE TABLE INST, Here is a database schema( table schema);
Tell me the format for geffen of the united states.It is not neccessary to use all the tables.
SELECT City / State FROM table WHERE Event Circuit = hidden valley raceway
CREATE TABLE INST, Here is a database schema( table schema);
What city is the hidden valley raceway in?.It is not neccessary to use all the tables.
SELECT no_in_series FROM table_26259391_1 WHERE production_code = "8ACX05"
CREATE TABLE INST, Here is a database schema( table schema);
how many series have production code 8acx05It is not neccessary to use all the tables.
SELECT Notes FROM table WHERE Competition = world championships AND Position = 2nd
CREATE TABLE INST, Here is a database schema( table schema);
Which Notes have a Competition of world championships, and a Position of 2nd?.It is not neccessary to use all the tables.
SELECT MAX Total Cargo (Metric Tonnes) FROM table WHERE Code (IATA/ICAO) = bkk/vtbs AND Rank > 19
CREATE TABLE INST, Here is a database schema( table schema);
What is the highest total cargo of an airport ranked larger than 19 with a code of BKK/VTBS?.It is not neccessary to use all the tables.
SELECT MAX Played FROM table WHERE Lost < 12 AND Name = ec amberg (n) AND Position < 4
CREATE TABLE INST, Here is a database schema( table schema);
What is the most elevated Played that has a Lost smaller than 12, and a Name of ec amberg (n), and a Position smaller than 4?.It is not neccessary to use all the tables.
SELECT time FROM table_name_80 WHERE event = "rings: final capture"
CREATE TABLE INST, Here is a database schema( table schema);
How long did the match last in the Rings: Final Capture event?It is not neccessary to use all the tables.
SELECT directed_by FROM table_25668962_1 WHERE no_in_series = 18
CREATE TABLE INST, Here is a database schema( table schema);
Who directed episode number 18 in the series?It is not neccessary to use all the tables.
SELECT COUNT(player) FROM table_2679061_2 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 date FROM table_name_61 WHERE venue = "windy hill"
CREATE TABLE INST, Here is a database schema( table schema);
On which date was the venue at Windy Hill?It is not neccessary to use all the tables.
SELECT Home team score FROM table WHERE Venue = lake oval
CREATE TABLE INST, Here is a database schema( table schema);
What's the home team's score at lake oval?.It is not neccessary to use all the tables.
SELECT best_actor FROM table_name_44 WHERE best_director = "takeshi kitano for outrage beyond"
CREATE TABLE INST, Here is a database schema( table schema);
Which Best Actor has a Best Director of takeshi kitano for outrage beyond?It is not neccessary to use all the tables.
SELECT team FROM table_23391714_1 WHERE chassis_engine = "Lola T92/00/ Buick"
CREATE TABLE INST, Here is a database schema( table schema);
Which team uses lola t92/00/ buick for their chassis/engine?It is not neccessary to use all the tables.
SELECT Official Name FROM table WHERE Area km 2 = 16.13
CREATE TABLE INST, Here is a database schema( table schema);
What is the Official Name of the Community with an Area km 2 of 16.13?.It is not neccessary to use all the tables.
SELECT MIN Rank FROM table WHERE Name = el paso natural gas company building
CREATE TABLE INST, Here is a database schema( table schema);
What is the lowest rank for El Paso Natural Gas Company Building?.It is not neccessary to use all the tables.
SELECT type FROM table_name_63 WHERE transfer_fee = "free" AND name = "kapetanos"
CREATE TABLE INST, Here is a database schema( table schema);
Which Type has a Transfer fee of free and a Name of kapetanos?It is not neccessary to use all the tables.
SELECT MAX(rank) FROM table_name_98 WHERE gold < 3 AND silver > 2 AND total < 5
CREATE TABLE INST, Here is a database schema( table schema);
What is the highest rank a country with less than 3 gold more than 2 silver and less than 5 total medals has?It is not neccessary to use all the tables.
SELECT SUM(2010 AS _employees__total_) FROM table_name_1 WHERE employer = "university of alberta"
CREATE TABLE INST, Here is a database schema( table schema);
What shows for 2010 Employees (Total) when the employer is University of Alberta?It is not neccessary to use all the tables.
SELECT precincts FROM table_17820556_4 WHERE g_hager = "19 (20%)"
CREATE TABLE INST, Here is a database schema( table schema);
How many precincts are in the county where G. Hager received 19 (20%) votes?It is not neccessary to use all the tables.
SELECT MAX(extra_points) FROM table_14341967_2 WHERE player = "John Heston"
CREATE TABLE INST, Here is a database schema( table schema);
Name the most extra points for john hestonIt is not neccessary to use all the tables.
SELECT Result FROM table WHERE Event = strikeforce AND Method = ko (double roundhouse kick)
CREATE TABLE INST, Here is a database schema( table schema);
Which Result has the Event, Strikeforce, and Method, Ko (double roundhouse kick)?.It is not neccessary to use all the tables.
SELECT final_score FROM table_24918268_2 WHERE kickoff = "6:00 p.m."
CREATE TABLE INST, Here is a database schema( table schema);
What was the score for the game that kicked off at 6:00 p.m.?It is not neccessary to use all the tables.
SELECT "Home team score" FROM table_4544 WHERE "Venue" = 'brunswick street oval'
CREATE TABLE INST, Here is a database schema( table schema);
When the VFL played Brunswick Street Oval what was the home team score?It is not neccessary to use all the tables.
SELECT others__number FROM table_name_59 WHERE bush__percentage = "63.98%"
CREATE TABLE INST, Here is a database schema( table schema);
What was the other number with 63.98% bush?It is not neccessary to use all the tables.
SELECT COUNT Year FROM table WHERE Chassis = lotus 18
CREATE TABLE INST, Here is a database schema( table schema);
What is the year of the Lotus 18 chassis?.It is not neccessary to use all the tables.
SELECT species FROM table_1818471_1 WHERE afinsa = 639
CREATE TABLE INST, Here is a database schema( table schema);
What is every species when Afinsa is 639?It is not neccessary to use all the tables.