sql
stringlengths
9
2.37k
table
stringclasses
9 values
query
stringlengths
51
503
SELECT Team FROM table WHERE Rank < 4 AND Time = 1:14.04.88
CREATE TABLE INST, Here is a database schema( table schema);
Which team had a rank under 4 with a time of 1:14.04.88?.It is not neccessary to use all the tables.
SELECT "nation" FROM table_204_678 GROUP BY "nation" HAVING COUNT(*) = 1
CREATE TABLE INST, Here is a database schema( table schema);
which country is the only one to have only one record holder for pole vaulting ?It is not neccessary to use all the tables.
SELECT COUNT Opponents FROM table WHERE Outcome = Winner AND Partner = John Lloyd AND Surface = Clay
CREATE TABLE INST, Here is a database schema( table schema);
What was the total number of matches that had an outcome of Winner, a partner of John Lloyd, and a clay surface?.It is not neccessary to use all the tables.
SELECT USAF space flights FROM table WHERE Max speed (mph) = 3822
CREATE TABLE INST, Here is a database schema( table schema);
What were all USAF space flights when the aximum speed was 3822?.It is not neccessary to use all the tables.
SELECT COUNT Year FROM table WHERE Record = 73-65
CREATE TABLE INST, Here is a database schema( table schema);
How many years have a Record of 73-65?.It is not neccessary to use all the tables.
SELECT COUNT(entered_service) FROM table_name_89 WHERE locomotive = "13"
CREATE TABLE INST, Here is a database schema( table schema);
How many years entered service when there were 13 locomotives?It is not neccessary to use all the tables.
SELECT title FROM table_27657925_1 WHERE production_code = "231"
CREATE TABLE INST, Here is a database schema( table schema);
When 231 is the production code what is the title?It is not neccessary to use all the tables.
SELECT track FROM table_2454550_1 WHERE date = "March 19"
CREATE TABLE INST, Here is a database schema( table schema);
On what tra k was the march 19 race held?It is not neccessary to use all the tables.
SELECT COUNT(goals_against) FROM table_name_48 WHERE wins > 12 AND club = "ud las palmas" AND position > 5
CREATE TABLE INST, Here is a database schema( table schema);
How many Goals against have Wins larger than 12 and a Club of ud las palmas and a Position larger than 5?It is not neccessary to use all the tables.
SELECT player FROM table_name_43 WHERE money___$__ < 335
CREATE TABLE INST, Here is a database schema( table schema);
Which player won less than $335?It is not neccessary to use all the tables.
SELECT Venue FROM table WHERE Crowd > 11,000 AND Away team score = 7.9 (51)
CREATE TABLE INST, Here is a database schema( table schema);
What is the Venue when the Crowd was larger than 11,000 and the Away team score was 7.9 (51)?.It is not neccessary to use all the tables.
SELECT Turbo FROM table WHERE Frequency = 2.2 ghz
CREATE TABLE INST, Here is a database schema( table schema);
what is the turbo when the frequency is 2.2 ghz?.It is not neccessary to use all the tables.
SELECT Catalog # FROM table WHERE Region = united kingdom
CREATE TABLE INST, Here is a database schema( table schema);
What is the catalog number of the album whose region is the United Kingdom?.It is not neccessary to use all the tables.
SELECT COUNT(zip_code_prefix_es_) FROM table_14253123_1 WHERE _percentage_of_boundary_by_water = "63%"
CREATE TABLE INST, Here is a database schema( table schema);
When the % of boundary by water is 63% what is the overall number of zip code prefix(es)?It is not neccessary to use all the tables.
SELECT away_team AS score FROM table_name_40 WHERE home_team = "essendon"
CREATE TABLE INST, Here is a database schema( table schema);
What was Essendon's opponents away score?It is not neccessary to use all the tables.
SELECT date FROM table_name_96 WHERE game = 59
CREATE TABLE INST, Here is a database schema( table schema);
What is the date of game 59?It is not neccessary to use all the tables.
SELECT COUNT Year FROM table WHERE Earnings ($) = 2254598
CREATE TABLE INST, Here is a database schema( table schema);
How many years had a total earnings amount of 2254598?.It is not neccessary to use all the tables.
SELECT Catalogue # FROM table WHERE Country = brazil
CREATE TABLE INST, Here is a database schema( table schema);
What is the catalogue number for Brazil?.It is not neccessary to use all the tables.
SELECT date FROM table_name_39 WHERE attendance = "45,122"
CREATE TABLE INST, Here is a database schema( table schema);
What was the date of the game attended by 45122?It is not neccessary to use all the tables.
SELECT surface FROM table_name_44 WHERE opponents = "iryna bremond valeria savinykh"
CREATE TABLE INST, Here is a database schema( table schema);
What is the surface of the match when the opponent was iryna bremond valeria savinykh?It is not neccessary to use all the tables.
SELECT MAX(november) FROM table_name_57 WHERE game < 12 AND opponent = "@ detroit red wings"
CREATE TABLE INST, Here is a database schema( table schema);
What is the highest November that has a game less than 12 and @ detroit red wings as the opponent?It is not neccessary to use all the tables.
SELECT venue FROM table_name_38 WHERE host = "saint joseph's university"
CREATE TABLE INST, Here is a database schema( table schema);
What is the venue that Saint Joseph's University hosted at?It is not neccessary to use all the tables.
SELECT podiums FROM table_name_74 WHERE series = "world rally championship"
CREATE TABLE INST, Here is a database schema( table schema);
What Podiums listing has a World Rally Championship series entry?It is not neccessary to use all the tables.
SELECT Country FROM table WHERE Date = unknown AND Company = enernoc australia pty ltd
CREATE TABLE INST, Here is a database schema( table schema);
For the Enernoc Australia Pty Ltd, what's the country with an unknown date?.It is not neccessary to use all the tables.
SELECT MIN Created FROM table WHERE map# = 10
CREATE TABLE INST, Here is a database schema( table schema);
What is the earliest created year when the map# was 10?.It is not neccessary to use all the tables.
SELECT SUM(tries_against) FROM table_name_91 WHERE points_against = 95 AND tries_for > 20
CREATE TABLE INST, Here is a database schema( table schema);
What Tries against that have a Points against of 95 and Tries for larger than 20?It is not neccessary to use all the tables.
SELECT club FROM table_name_64 WHERE second = "rosa pompanin"
CREATE TABLE INST, Here is a database schema( table schema);
Rosa Pompanin was second for which club?It is not neccessary to use all the tables.
SELECT freq_currently FROM table_name_86 WHERE frequency = "0 657"
CREATE TABLE INST, Here is a database schema( table schema);
Which freq currently has 0 657?It is not neccessary to use all the tables.
SELECT current_streak FROM table_15740666_6 WHERE last_meeting = "12/5/1987"
CREATE TABLE INST, Here is a database schema( table schema);
if they played last on 12/5/1987 what is their recordIt is not neccessary to use all the tables.
SELECT "Official Name" FROM table_21282 WHERE "Area km 2" = '276.84'
CREATE TABLE INST, Here is a database schema( table schema);
What is the official name of the land with an area of 276.84 km2?It is not neccessary to use all the tables.
SELECT player FROM table_name_69 WHERE round < 2
CREATE TABLE INST, Here is a database schema( table schema);
Which Player has a Round smaller than 2?It is not neccessary to use all the tables.
SELECT Player FROM table WHERE Place = 2
CREATE TABLE INST, Here is a database schema( table schema);
What Player has a Place of 2?.It is not neccessary to use all the tables.
SELECT Doha , Qatar FROM table WHERE Snatch = total
CREATE TABLE INST, Here is a database schema( table schema);
What is the Doha, Qatar when the snatch is total?.It is not neccessary to use all the tables.
SELECT MIN Week FROM table WHERE Kickoff = 6:00 p.m.
CREATE TABLE INST, Here is a database schema( table schema);
What week had kickoff time at 6:00 p.m.?.It is not neccessary to use all the tables.
SELECT Player FROM table WHERE Country = northern ireland
CREATE TABLE INST, Here is a database schema( table schema);
Who is the golfer that golfs for Northern Ireland?.It is not neccessary to use all the tables.
SELECT Player FROM table WHERE From = cincinnati AND Position = c
CREATE TABLE INST, Here is a database schema( table schema);
What is Player, when From is Cincinnati, and when Position is C?.It is not neccessary to use all the tables.
SELECT "Position in E4s ratings b" FROM table_24837 WHERE "Original airing on Channel 4" = 'June 30, 2010'
CREATE TABLE INST, Here is a database schema( table schema);
What is the position in e4s ratings b when June 30, 2010 is the original airing on channel 4?It is not neccessary to use all the tables.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.religion = "ROMANIAN EAST. ORTH" AND diagnoses.long_title = "Accidents occurring in other specified places"
CREATE TABLE INST, Here is a database schema( table schema);
provide the number of romanian eastern orthodox christian patients who have been diagnosed with accidents occurring in other specific places.It is not neccessary to use all the tables.
SELECT Date FROM table WHERE Venue = lake oval
CREATE TABLE INST, Here is a database schema( table schema);
What was the date of the game at Lake Oval?.It is not neccessary to use all the tables.
SELECT COUNT(pommel_horse) FROM table_name_65 WHERE rank > 16 AND vault = 9.475
CREATE TABLE INST, Here is a database schema( table schema);
Name the total number of pommel horses for vault of 9.475 and rank more than 16It is not neccessary to use all the tables.
SELECT SUM(top_25) FROM table_name_93 WHERE tournament = "u.s. open" AND events < 7
CREATE TABLE INST, Here is a database schema( table schema);
What is the top-25 of the U.S. open which has less than 7 events?It is not neccessary to use all the tables.
SELECT Class FROM table WHERE City of license = great barrington, massachusetts
CREATE TABLE INST, Here is a database schema( table schema);
What's the Class for the city the license plate was issued in great barrington, massachusetts?.It is not neccessary to use all the tables.
SELECT COUNT Directed by FROM table WHERE Series # = 62
CREATE TABLE INST, Here is a database schema( table schema);
How many directors were there in total for the episode with series #62?.It is not neccessary to use all the tables.
SELECT AVG Height (m) FROM table WHERE Floors = 18 AND Height (ft) > 171 AND Rank = 32=
CREATE TABLE INST, Here is a database schema( table schema);
What is the Height (m) of the 32= Rank Building with 18 Floors and Height (ft) greater than 171?.It is not neccessary to use all the tables.
SELECT money_requested__£_ FROM table_name_10 WHERE company_or_product_name = "basstoneslap"
CREATE TABLE INST, Here is a database schema( table schema);
How much Money is requested by BassToneSlap?It is not neccessary to use all the tables.
SELECT Venue FROM table WHERE Competition = olympic games AND Position = dnq
CREATE TABLE INST, Here is a database schema( table schema);
Which venue hosts the Olympic Games for DNQ position?.It is not neccessary to use all the tables.
SELECT MIN Total FROM table WHERE Nanquan = 9.72 AND Rank > 3 AND Nangun < 9.5
CREATE TABLE INST, Here is a database schema( table schema);
WHAT IS THE TOTAL WITH A NANQUAN OF 9.72, RANK BIGGER THAN 3, NANGUN SMALLER THAN 9.5?.It is not neccessary to use all the tables.
SELECT MIN Men's FROM table WHERE Women's < 1 AND Total = 1
CREATE TABLE INST, Here is a database schema( table schema);
What is the lowest number of men's championships of the university with less than 1 women's and a total of 1 championship?.It is not neccessary to use all the tables.
SELECT AVG Goals (2008) FROM table WHERE Games (2008) = 21 AND Debut round < 1
CREATE TABLE INST, Here is a database schema( table schema);
What is the average number of goals with 21 games for a debut round less than 1?.It is not neccessary to use all the tables.
SELECT Launch Date FROM table WHERE Odds of Winning = 1 in 4.44
CREATE TABLE INST, Here is a database schema( table schema);
What is the launch date odds of winning 1 in 4.44?.It is not neccessary to use all the tables.
SELECT date FROM table_name_15 WHERE year > 1992 AND location = "murcia" AND score = "0-3"
CREATE TABLE INST, Here is a database schema( table schema);
What day did the team play in murcia with a score of 0-3 after 1992?It is not neccessary to use all the tables.
SELECT fastest_lap FROM table_name_35 WHERE winning_driver = "jim clark" AND circuit = "prince george"
CREATE TABLE INST, Here is a database schema( table schema);
Tell me the fastest lapf or jim clark being the winning driver for prince georgeIt is not neccessary to use all the tables.
SELECT number_of_households FROM table_name_71 WHERE county = "yadkin"
CREATE TABLE INST, Here is a database schema( table schema);
How many households have yadkin as the county?It is not neccessary to use all the tables.
SELECT MAX Played FROM table WHERE 140+ = 13
CREATE TABLE INST, Here is a database schema( table schema);
Name the most played for 140 plus is 13.It is not neccessary to use all the tables.
SELECT lane FROM table_name_4 WHERE rank < 4 AND nationality = "netherlands"
CREATE TABLE INST, Here is a database schema( table schema);
Which lane ranked less than 4 for the Netherlands?It is not neccessary to use all the tables.
SELECT Game FROM table WHERE Team = chicago
CREATE TABLE INST, Here is a database schema( table schema);
Which game number did they play the Chicago team?.It is not neccessary to use all the tables.
SELECT ground FROM table_16388230_1 WHERE away_team = "Richmond"
CREATE TABLE INST, Here is a database schema( table schema);
The away team of Richmond played on what grounds?It is not neccessary to use all the tables.
SELECT "males" FROM table_67371 WHERE "percentage (%)" = '87.5'
CREATE TABLE INST, Here is a database schema( table schema);
Which language do 87.5% of males speak?It is not neccessary to use all the tables.
SELECT language FROM table_25926120_7 WHERE awardee_s_ = "Re-recordist : Mateen Ahmad"
CREATE TABLE INST, Here is a database schema( table schema);
what is the language when the awardee is re-recordist : mateen ahmad?It is not neccessary to use all the tables.
SELECT MAX Wins FROM table WHERE Average > 73.02 AND Year > 1999
CREATE TABLE INST, Here is a database schema( table schema);
What is the highest number of wins for years after 1999 with averages over 73.02?.It is not neccessary to use all the tables.
SELECT japanese_title FROM table_name_89 WHERE episodes < 11 AND romaji_title = "regatta~kimi to ita eien~"
CREATE TABLE INST, Here is a database schema( table schema);
For what Japanese title is there less than 11 episodes and the Romaji title is Regatta~Kimi to Ita Eien~?It is not neccessary to use all the tables.
SELECT deductions FROM table_22014431_3 WHERE tosses_pyramids = "56.5"
CREATE TABLE INST, Here is a database schema( table schema);
How many deductions have 56.5 as tosses/pyramids?It is not neccessary to use all the tables.
SELECT COUNT(conceded) FROM table_name_77 WHERE wins < 3 AND points > 11
CREATE TABLE INST, Here is a database schema( table schema);
How much Conceded has Wins smaller than 3 and Points larger than 11?It is not neccessary to use all the tables.
SELECT airing_date FROM table_name_1 WHERE number_of_episodes = 62
CREATE TABLE INST, Here is a database schema( table schema);
What's the airing date for the show with 62 episodes?It is not neccessary to use all the tables.
SELECT year FROM table_2490289_1 WHERE pc_intro = "FR-08: The Product ( Farbrausch )"
CREATE TABLE INST, Here is a database schema( table schema);
What year did fr-08: the product ( farbrausch ) win best pc intro?It is not neccessary to use all the tables.
SELECT "Skip" FROM table_29119 WHERE "Country" = 'Sweden'
CREATE TABLE INST, Here is a database schema( table schema);
When sweden is the country who is the skip?It is not neccessary to use all the tables.
SELECT Writer(s) FROM table WHERE Title = "Boxing Sydney"
CREATE TABLE INST, Here is a database schema( table schema);
Who are the writers for the title "boxing sydney".It is not neccessary to use all the tables.
SELECT demographic.admission_type, diagnoses.icd9_code FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.name = "Alice Nixon"
CREATE TABLE INST, Here is a database schema( table schema);
what is admission type and diagnoses icd9 code of subject name alice nixon?It is not neccessary to use all the tables.
SELECT SUM(glyph) FROM table_name_4 WHERE hexadecimal = 38 AND binary < 111000
CREATE TABLE INST, Here is a database schema( table schema);
What is the sum of the glyph with a 38 hexadecimal and a binary less than 111000?It is not neccessary to use all the tables.
SELECT DISTINCT course_offering.end_time, course_offering.friday, course_offering.monday, course_offering.saturday, course_offering.start_time, course_offering.sunday, course_offering.thursday, course_offering.tuesday, course_offering.wednesday FROM semester INNER JOIN course_offering ON semester.semester_id = course_offering.semester INNER JOIN course ON course.course_id = course_offering.course_id WHERE course.name LIKE '%Applied Russian%' AND semester.semester = 'FA' AND semester.year = 2016
CREATE TABLE INST, Here is a database schema( table schema);
When can I take Applied Russian ?It is not neccessary to use all the tables.
SELECT glider FROM table_name_40 WHERE speed = "147.3km/h"
CREATE TABLE INST, Here is a database schema( table schema);
What is Glider when Speed is "147.3km/h"?It is not neccessary to use all the tables.
SELECT record FROM table_name_31 WHERE date = "june 7"
CREATE TABLE INST, Here is a database schema( table schema);
On the date of june 7 what was the score?It is not neccessary to use all the tables.
SELECT pairing FROM table_name_68 WHERE binomial = "θ(1)"
CREATE TABLE INST, Here is a database schema( table schema);
Binomial of θ(1) has what pairing?It is not neccessary to use all the tables.
SELECT venue FROM table_name_58 WHERE extra < 7.4 AND result = "4th"
CREATE TABLE INST, Here is a database schema( table schema);
What venue had less than 7.4 extra and the result of 4th?It is not neccessary to use all the tables.
SELECT condition FROM table_20592988_1 WHERE platelet_count = "Unaffected" AND prothrombin_time = "Unaffected"
CREATE TABLE INST, Here is a database schema( table schema);
In what conditions are both the platelet count and prothrombin time unaffected?It is not neccessary to use all the tables.
SELECT Date FROM table WHERE Record = 14-31
CREATE TABLE INST, Here is a database schema( table schema);
What is the date of the game with a record of 14-31?.It is not neccessary to use all the tables.
SELECT Tournament FROM table WHERE Opponent = lauren embree
CREATE TABLE INST, Here is a database schema( table schema);
In which tournament was the opponent Lauren Embree?.It is not neccessary to use all the tables.
SELECT winner FROM table_name_73 WHERE tournament = "the tour championship"
CREATE TABLE INST, Here is a database schema( table schema);
What is the name of the winner of the tour championship tournament?It is not neccessary to use all the tables.
SELECT FCC info FROM table WHERE City of license = irmo, south carolina
CREATE TABLE INST, Here is a database schema( table schema);
What is the FCC info of the translator with an Irmo, South Carolina city license?.It is not neccessary to use all the tables.
SELECT Date FROM table WHERE Time ( ET ) = 1:00 pm AND Game Site = arrowhead stadium
CREATE TABLE INST, Here is a database schema( table schema);
What date is the 1:00 pm game at arrowhead stadium?.It is not neccessary to use all the tables.
SELECT game FROM table_name_2 WHERE date = "september 12"
CREATE TABLE INST, Here is a database schema( table schema);
Which game was on September 12?It is not neccessary to use all the tables.
SELECT COUNT(laps) FROM table_name_90 WHERE time_retired = "+1.906"
CREATE TABLE INST, Here is a database schema( table schema);
How many laps did the team with a time/retired of +1.906 have?It is not neccessary to use all the tables.
SELECT home_team FROM table_name_6 WHERE away_team = "millwall"
CREATE TABLE INST, Here is a database schema( table schema);
Who was the home team in the match with an away team of Millwall?It is not neccessary to use all the tables.
SELECT visitor FROM table_name_7 WHERE date = "april 2"
CREATE TABLE INST, Here is a database schema( table schema);
Who was the visitor on April 2?It is not neccessary to use all the tables.
SELECT City FROM table WHERE Province = cantabria
CREATE TABLE INST, Here is a database schema( table schema);
Which city is in Cantabria?.It is not neccessary to use all the tables.
SELECT "To par" FROM table_14350 WHERE "Player" = 'billy andrade'
CREATE TABLE INST, Here is a database schema( table schema);
What did billy andrade to par?It is not neccessary to use all the tables.
SELECT COUNT(high_rebounds) FROM table_27756314_11 WHERE game = 76
CREATE TABLE INST, Here is a database schema( table schema);
How many different results for high rebounds were there for game number 76?It is not neccessary to use all the tables.
SELECT COUNT(wins) FROM table_name_90 WHERE club = "cobden" AND draws > 0
CREATE TABLE INST, Here is a database schema( table schema);
How many wins did Cobden have when draws were more than 0?It is not neccessary to use all the tables.
SELECT SUM Round FROM table WHERE Player = joe taylor
CREATE TABLE INST, Here is a database schema( table schema);
Which round was Joe Taylor selected in?.It is not neccessary to use all the tables.
SELECT COUNT Year FROM table WHERE Passenger Change = +32,9%
CREATE TABLE INST, Here is a database schema( table schema);
What is the year that saw a passenger change of +32,9%?.It is not neccessary to use all the tables.
SELECT label FROM table_name_93 WHERE catalogue = "rt-346-5"
CREATE TABLE INST, Here is a database schema( table schema);
What is the label for catalogue of RT-346-5?It is not neccessary to use all the tables.
SELECT transmitter_location FROM table_name_62 WHERE digital_power = "570kw"
CREATE TABLE INST, Here is a database schema( table schema);
What transmitter location has digital power of 570kw?It is not neccessary to use all the tables.
SELECT COUNT("Title") FROM table_2386 WHERE "Production code" = 'NABF07'
CREATE TABLE INST, Here is a database schema( table schema);
How many titles for the production code of NABF07?It is not neccessary to use all the tables.
SELECT MAX(rank) FROM table_name_85 WHERE country = "palestinian territories"
CREATE TABLE INST, Here is a database schema( table schema);
Which highest rank belongs to the palestinian territories?It is not neccessary to use all the tables.
SELECT join_date FROM table_26466528_1 WHERE location = "North Canton"
CREATE TABLE INST, Here is a database schema( table schema);
Name when north canton joinedIt is not neccessary to use all the tables.
SELECT medal FROM table_name_25 WHERE event = "light heavyweight"
CREATE TABLE INST, Here is a database schema( table schema);
What is the Medal for the Player in the Light Heavyweight event?It is not neccessary to use all the tables.
SELECT Series FROM table WHERE Site = ames AND Date = september 10, 2005
CREATE TABLE INST, Here is a database schema( table schema);
Which Series has a Site of ames on september 10, 2005?.It is not neccessary to use all the tables.
SELECT SUM Caps FROM table WHERE Date of Birth (Age) = 13 december 1977
CREATE TABLE INST, Here is a database schema( table schema);
What is the total of Caps when player born 13 December 1977?.It is not neccessary to use all the tables.
SELECT collaboration FROM table_name_63 WHERE indication = "non-hodgkin lymphoma"
CREATE TABLE INST, Here is a database schema( table schema);
What company collaborated in non-hodgkin lymphoma?It is not neccessary to use all the tables.
SELECT player FROM table_name_70 WHERE place = "1"
CREATE TABLE INST, Here is a database schema( table schema);
What is Player when Place is "1"?It is not neccessary to use all the tables.