sql stringlengths 9 2.37k | table stringclasses 9
values | query stringlengths 51 503 |
|---|---|---|
SELECT Rank FROM table WHERE Speed = 120.979 mph AND Rider = gary johnson | CREATE TABLE INST, Here is a database schema( table schema); | What is the rank of rider gary johnson, who had a speed of 120.979 mph?.It is not neccessary to use all the tables. |
SELECT E/VAP FROM table WHERE Turnout = 85.7% | CREATE TABLE INST, Here is a database schema( table schema); | What is the e/vap value for a turnout of exactly 85.7%?.It is not neccessary to use all the tables. |
SELECT Robin FROM table WHERE Result = Eliminated | CREATE TABLE INST, Here is a database schema( table schema); | What was Robin's score when she was eliminated?.It is not neccessary to use all the tables. |
SELECT Artist FROM table WHERE Date of Publication = 1966 | CREATE TABLE INST, Here is a database schema( table schema); | Who was the artist who worked on the stories published in 1966?.It is not neccessary to use all the tables. |
SELECT couple FROM table_19744915_14 WHERE rank_by_average = 9 | CREATE TABLE INST, Here is a database schema( table schema); | If your rank by average is 9 what is the name of the couple?It is not neccessary to use all the tables. |
SELECT MIN Average FROM table WHERE Yards > 167 AND Team = at tb AND Week > 7 | CREATE TABLE INST, Here is a database schema( table schema); | Which Average has Yards larger than 167, and a Team of at tb, and a Week larger than 7?.It is not neccessary to use all the tables. |
SELECT Champion FROM table WHERE City = tucson, arizona | CREATE TABLE INST, Here is a database schema( table schema); | Which player from Tucson, Arizona won the Championship?.It is not neccessary to use all the tables. |
SELECT MIN Draw FROM table WHERE English translation = we the lovers AND Place > 1 | CREATE TABLE INST, Here is a database schema( table schema); | What is the lowest draw that has We The Lovers for the english translation, with a place greater than 1?.It is not neccessary to use all the tables. |
SELECT "Location" FROM table_47982 WHERE "Result" = '3-3' | CREATE TABLE INST, Here is a database schema( table schema); | What was the location of the match that had a result of 3-3?It is not neccessary to use all the tables. |
SELECT partial_thromboplastin_time FROM table_1226250_1 WHERE bleeding_time = "Unaffected" AND prothrombin_time = "Unaffected" | CREATE TABLE INST, Here is a database schema( table schema); | How long does thromboplastin last when prothrombin is unaffected?It is not neccessary to use all the tables. |
SELECT Programme FROM table WHERE Original channel(s) = CITV | CREATE TABLE INST, Here is a database schema( table schema); | Which programs were originally broadcast on CITV?.It is not neccessary to use all the tables. |
SELECT tuf_competitor FROM table_name_37 WHERE method = "decision (unanimous)" | CREATE TABLE INST, Here is a database schema( table schema); | who is the tuf competitor when the method id decision (unanimous)?It is not neccessary to use all the tables. |
SELECT director FROM table_11404452_1 WHERE us_viewers__millions_ = "13.66" | CREATE TABLE INST, Here is a database schema( table schema); | Who was the director when there were 13.66 million u.s viewers?It is not neccessary to use all the tables. |
SELECT MAX(overall) FROM table_name_38 WHERE round = 3 AND pick__number > 10 | CREATE TABLE INST, Here is a database schema( table schema); | With Round 3 and Pick # over 10 what is the higher Overall number?It is not neccessary to use all the tables. |
SELECT outgoing_manager FROM table_name_77 WHERE date_of_vacancy = "25 september 2008" | CREATE TABLE INST, Here is a database schema( table schema); | What is Outgoing Manager, when Date of Vacancy is '25 September 2008'?It is not neccessary to use all the tables. |
SELECT COUNT Change in population since 1993 FROM table WHERE % of countrys population = 4.2 | CREATE TABLE INST, Here is a database schema( table schema); | What is the change in population since 1993 in the region where the % of country's population was 4.2? .It is not neccessary to use all the tables. |
SELECT name FROM table_name_19 WHERE location = "brazil" AND unit = "caturrita formation" | CREATE TABLE INST, Here is a database schema( table schema); | What is the name of the non-mammal from brazil of the unit of caturrita formation?It is not neccessary to use all the tables. |
SELECT payment_date FROM payment ORDER BY payment_date LIMIT 1 | CREATE TABLE INST, Here is a database schema( table schema); | When did the first payment happen?It is not neccessary to use all the tables. |
SELECT MIN(gold) FROM table_name_13 WHERE total > 44 | CREATE TABLE INST, Here is a database schema( table schema); | What was the gold medal total for a total of 44 medals?It is not neccessary to use all the tables. |
SELECT Wins FROM table WHERE Last win = 2000 | CREATE TABLE INST, Here is a database schema( table schema); | How many wins did the club have with the last win in 2000?.It is not neccessary to use all the tables. |
SELECT MAX Crowd FROM table WHERE Venue = brunswick street oval | CREATE TABLE INST, Here is a database schema( table schema); | What was the largest crowd at the Brunswick Street Oval?.It is not neccessary to use all the tables. |
SELECT Position FROM table WHERE Height = 6-2 AND Name = martina wood | CREATE TABLE INST, Here is a database schema( table schema); | What is 6-2 Martina Wood's Position?.It is not neccessary to use all the tables. |
SELECT date FROM table_name_7 WHERE site = "memorial stadium • minneapolis, mn" AND attendance = "20,000" AND result = "w52-0" | CREATE TABLE INST, Here is a database schema( table schema); | What is the Date at memorial stadium • minneapolis mn with an Attendance of 20000 and a Result of w52-0?It is not neccessary to use all the tables. |
SELECT island FROM table_name_43 WHERE country = "united kingdom" | CREATE TABLE INST, Here is a database schema( table schema); | Which island is in the United Kingdom?It is not neccessary to use all the tables. |
SELECT ends FROM table_name_5 WHERE transfer_fee = "free" AND moving_from = "middlesbrough" | CREATE TABLE INST, Here is a database schema( table schema); | What is the ends with a free transfer fee and was moved from middlesbrough?It is not neccessary to use all the tables. |
SELECT "Position" FROM table_6813 WHERE "School/Club Team" = 'far eastern' | CREATE TABLE INST, Here is a database schema( table schema); | Who is the position from the school/club Far Eastern?It is not neccessary to use all the tables. |
SELECT Record FROM table WHERE Team = Phoenix | CREATE TABLE INST, Here is a database schema( table schema); | What is the record after the Phoenix game?.It is not neccessary to use all the tables. |
SELECT MAX(patient.admissionweight) FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '003-54468') AND NOT patient.admissionweight IS NULL AND STRFTIME('%y', patient.unitadmittime) >= '2102' GROUP BY STRFTIME('%y-%m-%d', patient.unitadmittime) | CREATE TABLE INST, Here is a database schema( table schema); | what would be patient 003-54468's daily maximum weight since 2102?It is not neccessary to use all the tables. |
SELECT result FROM table_name_27 WHERE attendance = "42,308" | CREATE TABLE INST, Here is a database schema( table schema); | Which team won on the day when attendance was 42308?It is not neccessary to use all the tables. |
SELECT Format FROM table WHERE Label = alfa records AND Catalog = alca-9016 | CREATE TABLE INST, Here is a database schema( table schema); | What is the Format when Alfa records is the label, and there is a Catalog of alca-9016?.It is not neccessary to use all the tables. |
SELECT Games FROM table WHERE Team = efes pilsen | CREATE TABLE INST, Here is a database schema( table schema); | How many Games for the player with Rebounds from Efes Pilsen?.It is not neccessary to use all the tables. |
SELECT Location Attendance FROM table WHERE Team = Charlotte | CREATE TABLE INST, Here is a database schema( table schema); | what was the location for charlotte?.It is not neccessary to use all the tables. |
SELECT Time FROM table WHERE City = baltimore | CREATE TABLE INST, Here is a database schema( table schema); | What is the time in Baltimore?.It is not neccessary to use all the tables. |
SELECT date FROM table_name_99 WHERE works_number = "12" | CREATE TABLE INST, Here is a database schema( table schema); | On what Date was the Works Number 12?It is not neccessary to use all the tables. |
SELECT Catalogue FROM table WHERE Song Title = love me tonight | CREATE TABLE INST, Here is a database schema( table schema); | Name the catalogue with song title of love me tonight.It is not neccessary to use all the tables. |
SELECT Year (Ceremony) FROM table WHERE Spanish title = Viva Cuba | CREATE TABLE INST, Here is a database schema( table schema); | When was Viva Cuba submitted?.It is not neccessary to use all the tables. |
SELECT date FROM table_name_46 WHERE opponents = "roma" AND h___a = "a" | CREATE TABLE INST, Here is a database schema( table schema); | Which date has roma as opponent and a H/A of A?It is not neccessary to use all the tables. |
SELECT place FROM table_name_73 WHERE season = 1996 AND location = "lake louise, canada" | CREATE TABLE INST, Here is a database schema( table schema); | What place result was the 1996 season at Lake Louise Canada?It is not neccessary to use all the tables. |
SELECT SUM(until) FROM table_name_80 WHERE titles = "5" | CREATE TABLE INST, Here is a database schema( table schema); | What is the total Until when the Titles was 5?It is not neccessary to use all the tables. |
SELECT COUNT Field goals FROM table WHERE Player = Weeks | CREATE TABLE INST, Here is a database schema( table schema); | How many figures are provided for Weeks' field goals?.It is not neccessary to use all the tables. |
SELECT Opponent FROM table WHERE Date = april 11 | CREATE TABLE INST, Here is a database schema( table schema); | Who did the Blue Jays play against on April 11?.It is not neccessary to use all the tables. |
SELECT catalog_entry_name FROM catalog_contents ORDER BY capacity LIMIT 1 | CREATE TABLE INST, Here is a database schema( table schema); | Find the name of the product that has the smallest capacity.It is not neccessary to use all the tables. |
SELECT socket FROM table_18823880_10 WHERE part_number_s_ = "BY80607002907AHBX80607I7720QM" | CREATE TABLE INST, Here is a database schema( table schema); | When by80607002907ahbx80607i7720qm is the part number what is the socket?It is not neccessary to use all the tables. |
SELECT Callsign FROM table WHERE Analog = 19 | CREATE TABLE INST, Here is a database schema( table schema); | what is the callsign for analog 19?.It is not neccessary to use all the tables. |
SELECT agg FROM table_name_12 WHERE team_1 = "seba united" | CREATE TABLE INST, Here is a database schema( table schema); | Name the agg for seba unitedIt is not neccessary to use all the tables. |
SELECT AVG(silver) FROM table_name_49 WHERE total < 2 AND nation = "south korea" | CREATE TABLE INST, Here is a database schema( table schema); | Name the Silver that has a Total smaller than 2 and a Nation of south korea?It is not neccessary to use all the tables. |
SELECT ACC_Road, COUNT(ACC_Road) FROM basketball_match GROUP BY ACC_Road | CREATE TABLE INST, Here is a database schema( table schema); | Draw a pie chart about the proportion of ACC_Road and the amount of ACC_Road.It is not neccessary to use all the tables. |
SELECT years_as_tallest FROM table_name_12 WHERE street_address = "324 e. 11th street" | CREATE TABLE INST, Here is a database schema( table schema); | What's the Years as tallest with a Street address of 324 E. 11th Street?It is not neccessary to use all the tables. |
SELECT COUNT(original_air_date) FROM table_19897294_9 WHERE family_families = "The Ryder Family and The Schwartz Family" | CREATE TABLE INST, Here is a database schema( table schema); | how many original air date where family/families is the ryder family and the schwartz familyIt is not neccessary to use all the tables. |
SELECT SUM Crowd FROM table WHERE Home team score = 14.20 (104) | CREATE TABLE INST, Here is a database schema( table schema); | In the match where the home team scored 14.20 (104), how many attendees were in the crowd?.It is not neccessary to use all the tables. |
SELECT COUNT(total) FROM table_name_14 WHERE silver < 0 | CREATE TABLE INST, Here is a database schema( table schema); | What is the total number that 0 silver?It is not neccessary to use all the tables. |
SELECT blagojevich__d_ FROM table_name_5 WHERE source = "zogby/wsj" AND topinka__r_ = "33.2%" | CREATE TABLE INST, Here is a database schema( table schema); | Which Blagojevich (D) has a Source of zogby/wsj, and a Topinka (R) of 33.2%?It is not neccessary to use all the tables. |
SELECT home_team AS score FROM table_name_11 WHERE away_team = "north melbourne" | CREATE TABLE INST, Here is a database schema( table schema); | What was the home team score at North Melbourne's away game?It is not neccessary to use all the tables. |
SELECT part_1 FROM table_name_88 WHERE part_4 = "february 10, 2008" | CREATE TABLE INST, Here is a database schema( table schema); | When is Part 1 when Part 4 is on February 10 2008?It is not neccessary to use all the tables. |
SELECT SUM("gold") FROM table_203_739 WHERE "rank" <= 3 | CREATE TABLE INST, Here is a database schema( table schema); | how many gold medals did the top 3 nations earn altogether ?It is not neccessary to use all the tables. |
SELECT MIN Place FROM table WHERE Tot. (1+2) > 37 AND Wk 1 > 20 | CREATE TABLE INST, Here is a database schema( table schema); | What is the place of the team that had a total score larger than 37 and a week one score above 20?.It is not neccessary to use all the tables. |
SELECT COUNT Year FROM table WHERE Group = sitges film festival | CREATE TABLE INST, Here is a database schema( table schema); | What is the number of years that Kim was nominated at the Sitges Film Festival?.It is not neccessary to use all the tables. |
SELECT venue FROM table_name_88 WHERE date = "23 january 2009" | CREATE TABLE INST, Here is a database schema( table schema); | Name the venue for 23 january 2009It is not neccessary to use all the tables. |
SELECT MIN(laps) FROM table_name_45 WHERE time = "42:31.153" AND grid > 1 | CREATE TABLE INST, Here is a database schema( table schema); | What is the fewest amount of laps when the grid was larger than 1 and 42:31.153?It is not neccessary to use all the tables. |
SELECT MIN(rd__number) FROM table_name_13 WHERE pl_gp > 0 AND pick__number > 51 | CREATE TABLE INST, Here is a database schema( table schema); | Name the least RD number that has PI GP more than 0 and pick # more than 51It is not neccessary to use all the tables. |
SELECT COUNT(week) FROM table_name_4 WHERE result = "l 21-19" | CREATE TABLE INST, Here is a database schema( table schema); | Which Week has a Result of l 21-19?It is not neccessary to use all the tables. |
SELECT Played FROM table WHERE Club = club | CREATE TABLE INST, Here is a database schema( table schema); | Which Played has a Club of club?.It is not neccessary to use all the tables. |
SELECT Copa Libertadores 1997 FROM table WHERE Team = Racing Club | CREATE TABLE INST, Here is a database schema( table schema); | what is the racing club where copa libertadores 1997?.It is not neccessary to use all the tables. |
SELECT area FROM table_name_71 WHERE years = "1–8" AND decile < 7 AND name = "waikari school" | CREATE TABLE INST, Here is a database schema( table schema); | Which area has Years of 1–8 a Decile smaller than 7 and a Name of waikari school?It is not neccessary to use all the tables. |
SELECT SUM(year) FROM table_name_15 WHERE entrant = "bmw motorsport" | CREATE TABLE INST, Here is a database schema( table schema); | What year shows the Entrant of bmw motorsport?It is not neccessary to use all the tables. |
SELECT si_prefix FROM table_260938_1 WHERE chuquet = "thousand" | CREATE TABLE INST, Here is a database schema( table schema); | Name the si prefix for thousand chuquetIt is not neccessary to use all the tables. |
SELECT Tries against FROM table WHERE Won = 14 | CREATE TABLE INST, Here is a database schema( table schema); | What is the tries against when the won is 14?.It is not neccessary to use all the tables. |
SELECT MIN(Winners) AS play_off_legs_won FROM table_24334163_1 | CREATE TABLE INST, Here is a database schema( table schema); | What is the least amount of playoff legs won?It is not neccessary to use all the tables. |
SELECT COUNT Released FROM table WHERE DVD Name = River Cottage Forever | CREATE TABLE INST, Here is a database schema( table schema); | How many releases did the DVD River Cottage forever have?.It is not neccessary to use all the tables. |
SELECT clock_multiplier FROM table_name_23 WHERE model_number = "c7-m 764" | CREATE TABLE INST, Here is a database schema( table schema); | Which Clock Multiplier has a Model Number of c7-m 764?It is not neccessary to use all the tables. |
SELECT Time/Retired FROM table WHERE Laps = 75 AND Driver = pedro de la rosa | CREATE TABLE INST, Here is a database schema( table schema); | Which time/retired had 75 laps and Pedro de la Rosa as a driver?.It is not neccessary to use all the tables. |
SELECT MAX(opponents) FROM table_18207285_2 WHERE result = "Win" AND game = 1 | CREATE TABLE INST, Here is a database schema( table schema); | How many opponents played 1 game with a result win?It is not neccessary to use all the tables. |
SELECT COUNT(round) FROM table_name_13 WHERE name = "jamaal charles" | CREATE TABLE INST, Here is a database schema( table schema); | How many rounds does Jamaal Charles have?It is not neccessary to use all the tables. |
SELECT COUNT(capacity) FROM table_name_97 WHERE vehicle = "2003 holden commodore ute" | CREATE TABLE INST, Here is a database schema( table schema); | How much Capacity has a Vehicle of 2003 holden commodore ute?It is not neccessary to use all the tables. |
SELECT champion FROM table_25563779_4 WHERE third = "Bruno Bonifacio" | CREATE TABLE INST, Here is a database schema( table schema); | If the third name is Bruno Bonifacio what is the champion?It is not neccessary to use all the tables. |
SELECT MIN Placings FROM table WHERE Nation = united kingdom AND Rank < 13 | CREATE TABLE INST, Here is a database schema( table schema); | Tell me the lowest placings for United Kingdom and rank less than 13.It is not neccessary to use all the tables. |
SELECT place FROM table_name_21 WHERE player = "ben hogan" | CREATE TABLE INST, Here is a database schema( table schema); | What is Ben Hogan's Place?It is not neccessary to use all the tables. |
SELECT Opponent FROM table WHERE Week = 3 | CREATE TABLE INST, Here is a database schema( table schema); | Who was the opponent in week 3?.It is not neccessary to use all the tables. |
SELECT Firefox FROM table WHERE Internet Explorer = 21.70% | CREATE TABLE INST, Here is a database schema( table schema); | What percentage of users were using Firefox according to the source that reported 21.70% used Internet Explorer?.It is not neccessary to use all the tables. |
SELECT away_team FROM table_name_31 WHERE home_team = "bournemouth" | CREATE TABLE INST, Here is a database schema( table schema); | Who was the away team when bournemouth was the home team?It is not neccessary to use all the tables. |
SELECT player FROM table_name_32 WHERE to_par = "e" AND score = 71 - 69 = 140 | CREATE TABLE INST, Here is a database schema( table schema); | Who had a to par of e and scored 71-69=140?It is not neccessary to use all the tables. |
SELECT network FROM table_name_25 WHERE year = 2011 | CREATE TABLE INST, Here is a database schema( table schema); | What's the network in 2011?It is not neccessary to use all the tables. |
SELECT games_lost___tests__ FROM table_name_73 WHERE games_played___tests__ = "2" AND year_s_ < 1999 AND points_for___tests__ = "24" | CREATE TABLE INST, Here is a database schema( table schema); | What is the games lost when games played was 2 year was earlier than 1999 and points for was 24?It is not neccessary to use all the tables. |
SELECT DISTINCT course.department, course.name, course.number FROM course INNER JOIN area ON course.course_id = area.course_id INNER JOIN program_course ON program_course.course_id = course.course_id WHERE (area.area LIKE '%Sustainable Cities%' OR course.description LIKE '%Sustainable Cities%' OR course.name LIKE '%Sustainable Cities%') AND program_course.category LIKE '%PreMajor%' | CREATE TABLE INST, Here is a database schema( table schema); | What Sustainable Cities courses , if any , will satisfy the PreMajor requirement ?It is not neccessary to use all the tables. |
SELECT Ryuji Hijikata FROM table WHERE TAKA Michinoku = hayashi (28:05) | CREATE TABLE INST, Here is a database schema( table schema); | Tell me the Ryuji Hijikata for TAKA Michinoku of Hayashi (28:05).It is not neccessary to use all the tables. |
SELECT Integrated Secondary Schools? FROM table WHERE Canton = Basel-Stadt | CREATE TABLE INST, Here is a database schema( table schema); | Are there integrated secondary schools in Basel-Stadt?.It is not neccessary to use all the tables. |
SELECT away_team FROM table_name_63 WHERE venue = "glenferrie oval" | CREATE TABLE INST, Here is a database schema( table schema); | Which away team plays at the venue glenferrie oval?It is not neccessary to use all the tables. |
SELECT year_s__won FROM table_name_91 WHERE player = "arnold palmer" | CREATE TABLE INST, Here is a database schema( table schema); | What is Year(s) Won when Player is Arnold Palmer?It is not neccessary to use all the tables. |
SELECT AVG(bangladeshis_admitted) FROM table_name_23 WHERE nepalis_admitted = 714 AND pakistanis_admitted > 13 OFFSET 575 | CREATE TABLE INST, Here is a database schema( table schema); | How many Bangladeshis were admitted when 714 Nepalis and 13575 Pakistanis were admitted?It is not neccessary to use all the tables. |
SELECT Opponent in the final FROM table WHERE Date = 19 september 1988 | CREATE TABLE INST, Here is a database schema( table schema); | What Opponent in the final has a Date of 19 september 1988?.It is not neccessary to use all the tables. |
SELECT away_team AS score FROM table_name_23 WHERE away_team = "hawthorn" | CREATE TABLE INST, Here is a database schema( table schema); | What was the away team's score against Hawthorn?It is not neccessary to use all the tables. |
SELECT object_type FROM table_name_58 WHERE declination___j2000__ = "°03′32″" | CREATE TABLE INST, Here is a database schema( table schema); | What Object Type has a °03′32″ Declination (J2000)?It is not neccessary to use all the tables. |
SELECT Rowers FROM table WHERE Notes = sa/b AND Time = 5:51.30 | CREATE TABLE INST, Here is a database schema( table schema); | Who were the rowers when notes were sa/b, with a time of 5:51.30?.It is not neccessary to use all the tables. |
SELECT school FROM table_name_20 WHERE pick > 89 AND position = "back" AND round = 16 | CREATE TABLE INST, Here is a database schema( table schema); | Which school picked a back in round 16 after pick 89?It is not neccessary to use all the tables. |
SELECT attendance FROM table_name_69 WHERE week < 5 AND result = "bye" | CREATE TABLE INST, Here is a database schema( table schema); | How many were in attendance in a week lower than 5 with a Bye result?It is not neccessary to use all the tables. |
SELECT Catalogue FROM table WHERE Date = 1987 | CREATE TABLE INST, Here is a database schema( table schema); | Which catalogue has a date of 1987?.It is not neccessary to use all the tables. |
SELECT original_title FROM table_name_70 WHERE english_title = "a judgement in stone" | CREATE TABLE INST, Here is a database schema( table schema); | What's the Original Title of the English title A Judgement in Stone?It is not neccessary to use all the tables. |
SELECT loss FROM table_name_65 WHERE date = "may 26" | CREATE TABLE INST, Here is a database schema( table schema); | Who lost the game on May 26?It is not neccessary to use all the tables. |
SELECT MAX(points) FROM table_name_8 WHERE entrant = "warsteiner brewery" | CREATE TABLE INST, Here is a database schema( table schema); | What are the highest number of points with an Entrant of warsteiner brewery?It is not neccessary to use all the tables. |
SELECT Other b FROM table WHERE FA Cup = 3 (17) | CREATE TABLE INST, Here is a database schema( table schema); | What is the Other b when the FA Cup shows 3 (17)?.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.