sql stringlengths 9 2.37k | table stringclasses 9
values | query stringlengths 51 503 |
|---|---|---|
SELECT position FROM table_12962773_2 WHERE player = "Yotam Halperin" | CREATE TABLE INST, Here is a database schema( table schema); | What's Yotam Halperin's position?It is not neccessary to use all the tables. |
SELECT MIN Population FROM table WHERE Police officers = 94 | CREATE TABLE INST, Here is a database schema( table schema); | If the number of police officers is 94, what is the lowest population number?.It is not neccessary to use all the tables. |
SELECT MIN Swimsuit FROM table WHERE Interview < 8.574 AND Average > 8.532 | CREATE TABLE INST, Here is a database schema( table schema); | Which smallest swimsuit number's interview was less than 8.574 when the average number was bigger than 8.532?.It is not neccessary to use all the tables. |
SELECT away_team FROM table_name_11 WHERE venue = "western oval" | CREATE TABLE INST, Here is a database schema( table schema); | What away team played at western oval?It is not neccessary to use all the tables. |
SELECT Aircraft FROM table WHERE Quantity = 129 | CREATE TABLE INST, Here is a database schema( table schema); | What aircraft has 129 made?.It is not neccessary to use all the tables. |
SELECT overall_record FROM table_name_4 WHERE last_10_meetings = "ou, 7-3" AND at_norman = "ou, 18-3" | CREATE TABLE INST, Here is a database schema( table schema); | What is the Overall Record when the Last 10 Meetings is ou 7-3 and Norman is ou 18-3?It is not neccessary to use all the tables. |
SELECT streak FROM table_name_53 WHERE date = "january 7" | CREATE TABLE INST, Here is a database schema( table schema); | Which Streak has a Date of january 7?It is not neccessary to use all the tables. |
SELECT COUNT Record (%) [draw = 0.5 wins] FROM table WHERE Wins > 3 AND Matches = 10 AND Draws > 1 | CREATE TABLE INST, Here is a database schema( table schema); | What is the draw record (%) total for clubs with more than 3 wins with 10 matches and more than 1 draw?.It is not neccessary to use all the tables. |
SELECT country FROM table_name_38 WHERE place = "t9" AND player = "gary player" | CREATE TABLE INST, Here is a database schema( table schema); | What country is Gary Player from in T9 place?It is not neccessary to use all the tables. |
SELECT COUNT Vacator FROM table WHERE Successor = William H. Wells ( F ) | CREATE TABLE INST, Here is a database schema( table schema); | What is the number of vacators when the successor was William H. Wells ( F )?.It is not neccessary to use all the tables. |
SELECT COUNT("Points") FROM table_23073 WHERE "Mile Run" = '3' | CREATE TABLE INST, Here is a database schema( table schema); | How many point categories are there for the 3 mile run?It is not neccessary to use all the tables. |
SELECT Tonnes FROM table WHERE IATA Code = IND | CREATE TABLE INST, Here is a database schema( table schema); | How many tonnes of cargo did the airport have with the IATA Code IND?.It is not neccessary to use all the tables. |
SELECT Cores/Threads FROM table WHERE Max Memory Speed = DDR3-1333 AND Frequency = 2.66-2.8GHz | CREATE TABLE INST, Here is a database schema( table schema); | List the number of cores for ddr3-1333 with frequencies between 2.66-2.8ghz..It is not neccessary to use all the tables. |
SELECT Wicket FROM table WHERE Batting partners = mahela jayawardene and thilan samaraweera | CREATE TABLE INST, Here is a database schema( table schema); | During what wicket were Mahela Jayawardene and Thilan Samaraweera batting partners?.It is not neccessary to use all the tables. |
SELECT employee_id, first_name, last_name FROM employees WHERE department_id IN (SELECT department_id FROM employees WHERE first_name LIKE '%T%') | CREATE TABLE INST, Here is a database schema( table schema); | display the employee number and name( first name and last name ) for all employees who work in a department with any employee whose name contains a ’T’.It is not neccessary to use all the tables. |
SELECT COUNT("5K Wins") FROM table_52895 WHERE "Runner" = 'emily chebet' AND "Total" > '2' | CREATE TABLE INST, Here is a database schema( table schema); | How many 5K wins did Emily Chebet, who had more than 2 total, have?It is not neccessary to use all the tables. |
SELECT aircraft_type FROM table_28342423_1 WHERE parent_unit = "Jagdgeschwader 26" | CREATE TABLE INST, Here is a database schema( table schema); | Name the aircraft type for jagdgeschwader 26It is not neccessary to use all the tables. |
SELECT MAX(poles) FROM table_24466191_1 WHERE series = "Macau Grand Prix" | CREATE TABLE INST, Here is a database schema( table schema); | Name th most poles for macau grand prixIt is not neccessary to use all the tables. |
SELECT MIN(grid) FROM table_name_54 WHERE laps > 21 | CREATE TABLE INST, Here is a database schema( table schema); | What is the lowest grid number that a race took place doing more than 21 laps?It is not neccessary to use all the tables. |
SELECT Charts FROM table WHERE Sales < 32,000 AND Álbum = requebra | CREATE TABLE INST, Here is a database schema( table schema); | What is the chart number of the Requebra album with sales smaller than 32,000?.It is not neccessary to use all the tables. |
SELECT MIN(byes) FROM table_name_51 WHERE against = 1655 AND wins > 10 | CREATE TABLE INST, Here is a database schema( table schema); | How many byes were there with an Against of 1655 and more than 10 wins?It is not neccessary to use all the tables. |
SELECT date FROM table_name_20 WHERE distance = "km (mi)" AND course = "roccaraso to san giorgio del sannio" | CREATE TABLE INST, Here is a database schema( table schema); | What is the date with the distance of km (mi) at the course of roccaraso to san giorgio del sannio?It is not neccessary to use all the tables. |
SELECT Margin of victory FROM table WHERE Tournament = southwest golf classic | CREATE TABLE INST, Here is a database schema( table schema); | What was the Margin of victory in the southwest golf classic Tournament?.It is not neccessary to use all the tables. |
SELECT Longitude FROM table WHERE Latitude = 61.0s | CREATE TABLE INST, Here is a database schema( table schema); | What is the Longitude of the 61.0s Latitude?.It is not neccessary to use all the tables. |
SELECT COUNT(heat) FROM table_name_88 WHERE name = "julia wilkinson" | CREATE TABLE INST, Here is a database schema( table schema); | How many heats does Julia Wilkinson have?It is not neccessary to use all the tables. |
SELECT Census division FROM table WHERE Name = Kenora | CREATE TABLE INST, Here is a database schema( table schema); | What is the census division for the city named Kenora?.It is not neccessary to use all the tables. |
SELECT COUNT Player FROM table WHERE Affiliation = University of Maryland | CREATE TABLE INST, Here is a database schema( table schema); | How many players have an affiliation with University of Maryland?.It is not neccessary to use all the tables. |
SELECT format FROM table_name_6 WHERE single = "i can't stay" | CREATE TABLE INST, Here is a database schema( table schema); | What's the format of the single I Can't Stay?It is not neccessary to use all the tables. |
SELECT MIN(no_disc) FROM table_15430606_1 WHERE no_in_series = "14" | CREATE TABLE INST, Here is a database schema( table schema); | Name the minimum number disc for number in series for 14It is not neccessary to use all the tables. |
SELECT Player FROM table WHERE NFL Team = New Orleans Saints | CREATE TABLE INST, Here is a database schema( table schema); | Name the player for new orleans saints.It is not neccessary to use all the tables. |
SELECT origin FROM table_287159_1 WHERE other_abbreviation = "Tele" | CREATE TABLE INST, Here is a database schema( table schema); | What is the origin of the constellation that can be abbreviated to tele?It is not neccessary to use all the tables. |
SELECT COUNT(result) FROM table_1341586_26 WHERE candidates = "Gene Taylor (R) 67.0% Ken Young (D) 33.0%" | CREATE TABLE INST, Here is a database schema( table schema); | How many results have the two candidates Gene Taylor (r) 67.0% Ken Young (d) 33.0%?It is not neccessary to use all the tables. |
SELECT Score FROM table WHERE Date = september 25 | CREATE TABLE INST, Here is a database schema( table schema); | Name the score for september 25.It is not neccessary to use all the tables. |
SELECT inflation__percentage_annual__2012_ FROM table_1598533_8 WHERE gdp_per_capita_in_ppp_us$__2012_ = 24505 | CREATE TABLE INST, Here is a database schema( table schema); | What is the annual inflation % when GDP per capita in ppp US$ is 24505 in 2012?It is not neccessary to use all the tables. |
SELECT to_par FROM table_name_39 WHERE country = "argentina" | CREATE TABLE INST, Here is a database schema( table schema); | What is the To par of the Player from Argentina?It is not neccessary to use all the tables. |
SELECT Boys doubles FROM table WHERE Girls doubles = Ayu Pratiwi Anggi Widia | CREATE TABLE INST, Here is a database schema( table schema); | When the girls doubles is ayu pratiwi anggi widia what is the boys doubles?.It is not neccessary to use all the tables. |
SELECT Opponent FROM table WHERE Game < 5 AND Record = 0-1-0 | CREATE TABLE INST, Here is a database schema( table schema); | Who is the opponent before game 5 with a 0-1-0 record?.It is not neccessary to use all the tables. |
SELECT time FROM table_name_78 WHERE distance = "24.00km" AND start_time = "21:27" | CREATE TABLE INST, Here is a database schema( table schema); | What was the finishing time of the Stage that featured a distance of 24.00km and a start time of 21:27?It is not neccessary to use all the tables. |
SELECT opponent FROM table_name_55 WHERE date = "may 21" | CREATE TABLE INST, Here is a database schema( table schema); | What Opponent played on the Date May 21?It is not neccessary to use all the tables. |
SELECT AVG("Rank") FROM table_41631 WHERE "Annual change" = '9.3%' | CREATE TABLE INST, Here is a database schema( table schema); | What is the average rank of the airport with a 9.3% annual change?It is not neccessary to use all the tables. |
SELECT district FROM table_1341930_11 WHERE incumbent = "Carl Vinson" | CREATE TABLE INST, Here is a database schema( table schema); | What is the district for carl vinson?It is not neccessary to use all the tables. |
SELECT COUNT Play-off FROM table WHERE Points = 813.5 | CREATE TABLE INST, Here is a database schema( table schema); | How many games had a score value of 813.5 in post-season play?.It is not neccessary to use all the tables. |
SELECT COUNT Minutes played FROM table WHERE Points = 18 AND Opponent = chicago bulls | CREATE TABLE INST, Here is a database schema( table schema); | How many minutes were played when there were 18 points and the opponent was Chicago Bulls?.It is not neccessary to use all the tables. |
SELECT COUNT(*) FROM table_204_130 WHERE "venue" = 'brazil' | CREATE TABLE INST, Here is a database schema( table schema); | how many times is the venue located in brazil ?It is not neccessary to use all the tables. |
SELECT speed___knots__ FROM table_23614702_2 WHERE tons___lton__ = "1.150" | CREATE TABLE INST, Here is a database schema( table schema); | List the maximum speed for the 1.150 ton ships?It is not neccessary to use all the tables. |
SELECT Series FROM table WHERE Game = game 5 | CREATE TABLE INST, Here is a database schema( table schema); | Name the series for game 5.It is not neccessary to use all the tables. |
SELECT venue FROM table_13514348_7 WHERE captain = "Luke Blackwell" | CREATE TABLE INST, Here is a database schema( table schema); | Which venue did Luke Blackwell serve as captain?It is not neccessary to use all the tables. |
SELECT Record FROM table WHERE Date = November 7 | CREATE TABLE INST, Here is a database schema( table schema); | What was the record in the November 7 game?.It is not neccessary to use all the tables. |
SELECT MAX Year FROM table WHERE Pageant = miss internet www AND Result = second runner-up | CREATE TABLE INST, Here is a database schema( table schema); | What's the latest year the miss internet www pageant had a result of second runner-up?.It is not neccessary to use all the tables. |
SELECT College FROM table WHERE Player = Steve Justice | CREATE TABLE INST, Here is a database schema( table schema); | What college did steve justice attend?.It is not neccessary to use all the tables. |
SELECT school FROM table_name_41 WHERE player = "tyrone johnson" | CREATE TABLE INST, Here is a database schema( table schema); | Which School did Player Tyrone Johnson attend?It is not neccessary to use all the tables. |
SELECT Record medal event FROM table WHERE Sport = athletics AND Athlete = robert garrett AND Medal count < 3 | CREATE TABLE INST, Here is a database schema( table schema); | What record medal event has athletics as the sport, with robert garrett as the athlete, and a medal count less than 3?.It is not neccessary to use all the tables. |
SELECT Score FROM table WHERE Competition = 1998 fifa world cup qualification | CREATE TABLE INST, Here is a database schema( table schema); | What was the score of the 1998 FIFA World Cup qualification competition?.It is not neccessary to use all the tables. |
SELECT Originalairdate FROM table WHERE Title = "A Bright and Shiny Future" | CREATE TABLE INST, Here is a database schema( table schema); | on what date did the episode titled "A Bright and Shiny Future" originally air?.It is not neccessary to use all the tables. |
SELECT Position FROM table WHERE College = notre dame | CREATE TABLE INST, Here is a database schema( table schema); | What is the position of the player who went to college of notre dame?.It is not neccessary to use all the tables. |
SELECT Score FROM table WHERE Date = 11 march 2001 | CREATE TABLE INST, Here is a database schema( table schema); | What is the Score on 11 march 2001?.It is not neccessary to use all the tables. |
SELECT MIN(total) FROM table_name_17 WHERE to_par > 12 | CREATE TABLE INST, Here is a database schema( table schema); | Which Total has a To par larger than 12?It is not neccessary to use all the tables. |
SELECT melamine_content_mg_kg_ FROM table_name_31 WHERE samples_failed > 1 AND product = "英雄牌嬰幼兒配方乳粉" | CREATE TABLE INST, Here is a database schema( table schema); | What's the melamine content of 英雄牌嬰幼兒配方乳粉 having more than 1 samples failed?It is not neccessary to use all the tables. |
SELECT Transfer fee FROM table WHERE Moving from = celta de vigo | CREATE TABLE INST, Here is a database schema( table schema); | What was the transfer fee when the moving from was celta de Vigo?.It is not neccessary to use all the tables. |
SELECT Title FROM table WHERE Character = sheyda/ashraf | CREATE TABLE INST, Here is a database schema( table schema); | What is the title of the TV series with a character of Sheyda/Ashraf?.It is not neccessary to use all the tables. |
SELECT Nationality FROM table WHERE Player = Terrence Ross | CREATE TABLE INST, Here is a database schema( table schema); | What is terrence ross' nationality.It is not neccessary to use all the tables. |
SELECT record FROM table_1233808_2 WHERE opponent = "Aylesbury United" | CREATE TABLE INST, Here is a database schema( table schema); | What records are hit where the opponent is Aylesbury United?It is not neccessary to use all the tables. |
SELECT MAX Year FROM table WHERE Record = 18-12 | CREATE TABLE INST, Here is a database schema( table schema); | What's the highest Year with the Record of 18-12?.It is not neccessary to use all the tables. |
SELECT name FROM table_name_70 WHERE weight = "head coach: aleksandr kabanov" | CREATE TABLE INST, Here is a database schema( table schema); | What is the name when weight shows head coach: Aleksandr Kabanov?It is not neccessary to use all the tables. |
SELECT Lok Sabha FROM table WHERE Constituency No. = 216 | CREATE TABLE INST, Here is a database schema( table schema); | How many Lok Sabha are in the one with 216 constituents?.It is not neccessary to use all the tables. |
SELECT 2nd (m) FROM table WHERE 1st (m) = 124.5 | CREATE TABLE INST, Here is a database schema( table schema); | Name the 2nd for 1st m being 124.5.It is not neccessary to use all the tables. |
SELECT AVG(points) FROM table_name_3 WHERE played > 126 | CREATE TABLE INST, Here is a database schema( table schema); | What is the average Points when Played is greater than 126?It is not neccessary to use all the tables. |
SELECT Ceased to be Duchess FROM table WHERE Birth = 9 october 1574 | CREATE TABLE INST, Here is a database schema( table schema); | Which duchess was born on 9 october 1574?.It is not neccessary to use all the tables. |
SELECT Team FROM table WHERE Date = February 8 | CREATE TABLE INST, Here is a database schema( table schema); | what's the team where date is february 8.It is not neccessary to use all the tables. |
SELECT Player FROM table WHERE Score = 69-73-68=210 AND Country = united states | CREATE TABLE INST, Here is a database schema( table schema); | What United States player has a score of 69-73-68=210?.It is not neccessary to use all the tables. |
SELECT Notes FROM table WHERE Event = 400 m AND Year < 2004 AND Position = 12th (h) | CREATE TABLE INST, Here is a database schema( table schema); | What was the notes of the 400 m event before 2004 with a position of 12th (h)?.It is not neccessary to use all the tables. |
SELECT Adapted by FROM table WHERE Exists? = yes AND Episode = 101 | CREATE TABLE INST, Here is a database schema( table schema); | What is the Adapted by when there is a yes for exists is yes, for episode 101?.It is not neccessary to use all the tables. |
SELECT Winning driver FROM table WHERE Date = 24 august | CREATE TABLE INST, Here is a database schema( table schema); | Who won the race on 24 August?.It is not neccessary to use all the tables. |
SELECT writer FROM table_name_85 WHERE producer_executive_producer = "dka, jl, as" | CREATE TABLE INST, Here is a database schema( table schema); | Which writer had a producer DKA JL AS?It is not neccessary to use all the tables. |
SELECT Third member FROM table WHERE Second party = liberal AND Third party = conservative AND Second member = humphrey mildmay | CREATE TABLE INST, Here is a database schema( table schema); | Who is the third member of the Liberal Party, a third party conservative, the second member Humphrey Mildmay?.It is not neccessary to use all the tables. |
SELECT MAX(Transit_Passengers), MIN(Transit_Passengers) FROM airport | CREATE TABLE INST, Here is a database schema( table schema); | What are the maximum and minimum number of transit passengers of all aiports.It is not neccessary to use all the tables. |
SELECT Record FROM table WHERE Date = august 28 | CREATE TABLE INST, Here is a database schema( table schema); | Name the record for august 28.It is not neccessary to use all the tables. |
SELECT "Date" FROM table_76207 WHERE "Region" = 'europe' AND "Catalog" = '74321 45851 2' | CREATE TABLE INST, Here is a database schema( table schema); | What Date has the Region Europe and a Catalog of 74321 45851 2?It is not neccessary to use all the tables. |
SELECT Round FROM table WHERE Record = 4-1 | CREATE TABLE INST, Here is a database schema( table schema); | What round had a record of 4-1?.It is not neccessary to use all the tables. |
SELECT Conference Joined FROM table WHERE Mascot = little sycamores | CREATE TABLE INST, Here is a database schema( table schema); | Can you tell me the Conference Joined that has the Mascot of little sycamores?.It is not neccessary to use all the tables. |
SELECT score FROM table_name_56 WHERE date = "june 28, 2009" | CREATE TABLE INST, Here is a database schema( table schema); | What was the score on June 28 2009?It is not neccessary to use all the tables. |
SELECT Tries for FROM table WHERE Played = 22 AND Tries against = 33 AND Points = 60 | CREATE TABLE INST, Here is a database schema( table schema); | What is the number of tries for the team that has 22 plays with 33 tries against and 60 points?.It is not neccessary to use all the tables. |
SELECT record FROM table_name_37 WHERE opponent = "jeff williams" | CREATE TABLE INST, Here is a database schema( table schema); | what is the record when the opponent is jeff williams?It is not neccessary to use all the tables. |
SELECT COUNT(*) > 0 FROM diagnoses_icd WHERE diagnoses_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 54894) AND DATETIME(diagnoses_icd.charttime) >= DATETIME(CURRENT_TIME(), '-1 year') | CREATE TABLE INST, Here is a database schema( table schema); | has patient 54894 received any diagnoses since 1 year ago?It is not neccessary to use all the tables. |
SELECT Nation FROM table WHERE Satellite = PAGEOS 1 | CREATE TABLE INST, Here is a database schema( table schema); | What nation was Pageos 1 from?.It is not neccessary to use all the tables. |
SELECT MAX Channel FROM table WHERE Aspect = 4:3 AND PSIP Short Name = ibc-tv | CREATE TABLE INST, Here is a database schema( table schema); | Name the highest Channel with an Aspect of 4:3, and a PSIP Short Name of ibc-tv?.It is not neccessary to use all the tables. |
SELECT Service FROM table WHERE Language = bengali | CREATE TABLE INST, Here is a database schema( table schema); | What network is in the language of Bengali?.It is not neccessary to use all the tables. |
SELECT Season FROM table WHERE Runner-up = Jeanne d'Arc (Bamako) | CREATE TABLE INST, Here is a database schema( table schema); | In which season was Jeanne d'Arc (Bamako) the runner-up?.It is not neccessary to use all the tables. |
SELECT Time/Retired FROM table WHERE Laps < 77 AND Grid = 16 | CREATE TABLE INST, Here is a database schema( table schema); | Which Time/Retired has less than 77 laps, and a Grid of 16?.It is not neccessary to use all the tables. |
SELECT T1.title FROM item AS T1 JOIN review AS T2 ON T1.i_id = T2.i_id WHERE T2.rating > (SELECT AVG(rating) FROM review) | CREATE TABLE INST, Here is a database schema( table schema); | Find the titles of items whose rating is higher than the average review rating of all items.It is not neccessary to use all the tables. |
SELECT MIN Season # FROM table WHERE Title English = The first time | CREATE TABLE INST, Here is a database schema( table schema); | Name the least season # for the first time.It is not neccessary to use all the tables. |
SELECT Teleplay FROM table WHERE Director = george mccowan AND Season < 1.1400000000000001 AND First Broadcast = april 3, 1981 | CREATE TABLE INST, Here is a database schema( table schema); | What is Teleplay, when Director is "George McCowan", when Season is less than 1.1400000000000001, and when First Broadcast is April 3, 1981?.It is not neccessary to use all the tables. |
SELECT COUNT City/Neighborhood FROM table WHERE Station = Hospital | CREATE TABLE INST, Here is a database schema( table schema); | How many neighborhoods have a station proposed at a Hospital?.It is not neccessary to use all the tables. |
SELECT All_Home, SUM(Team_ID) FROM basketball_match GROUP BY All_Home ORDER BY All_Home DESC | CREATE TABLE INST, Here is a database schema( table schema); | Show me about the distribution of All_Home and the sum of Team_ID , and group by attribute All_Home in a bar chart, and rank x-axis in descending order.It is not neccessary to use all the tables. |
SELECT Outcome FROM table WHERE Score = 2–6, 1–6 | CREATE TABLE INST, Here is a database schema( table schema); | Tell me the outcome of 2–6, 1–6.It is not neccessary to use all the tables. |
SELECT opponent FROM table_name_16 WHERE date = "june 3" | CREATE TABLE INST, Here is a database schema( table schema); | What team did the Red Sox play against on June 3?It is not neccessary to use all the tables. |
SELECT Date of appointment FROM table WHERE Team = ac horsens | CREATE TABLE INST, Here is a database schema( table schema); | WHAT IS THE APPOINTMENT DATE FOR AC HORSENS?.It is not neccessary to use all the tables. |
SELECT Event FROM table WHERE Venue = valencia, spain | CREATE TABLE INST, Here is a database schema( table schema); | What even was held in Valencia, Spain?.It is not neccessary to use all the tables. |
SELECT "dance" FROM table_204_711 ORDER BY id DESC LIMIT 1 | CREATE TABLE INST, Here is a database schema( table schema); | which is the last dance on the chartIt is not neccessary to use all the tables. |
SELECT Date FROM table WHERE Venue = princes park | CREATE TABLE INST, Here is a database schema( table schema); | What was the date of the game at Princes Park?.It is not neccessary to use all the tables. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.