text_output
stringlengths 114
770
|
|---|
<s>[INST] <<SYS>>
CREATE TABLE table_name_19 (long INTEGER, gain VARCHAR, loss VARCHAR)
<</SYS>>
SELECT MIN(long) FROM table_name_19 WHERE gain = 20 AND loss < 0[/INST] Can you tell me the lowest Long that has the Gain of 20, and the Loss smaller than 0?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_24136814_3 (record VARCHAR, date VARCHAR)
<</SYS>>
SELECT record FROM table_24136814_3 WHERE date = "September 7"[/INST] What was the record for the Argonauts on September 7?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_97 (location VARCHAR, date VARCHAR, cause VARCHAR, death_toll VARCHAR)
<</SYS>>
SELECT location FROM table_name_97 WHERE cause = "gas explosion" AND death_toll > 38 AND date = "10 june"[/INST] Where has a cause of gas explosion, a Death toll larger than 38 on 10 june?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_54 (constructor VARCHAR, rounds VARCHAR, driver VARCHAR)
<</SYS>>
SELECT constructor FROM table_name_54 WHERE rounds = "1-2" AND driver = "divina galica"[/INST] I want the constructor for divina galica rounds of 1-2</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_86 (crowd INTEGER, venue VARCHAR)
<</SYS>>
SELECT AVG(crowd) FROM table_name_86 WHERE venue = "arden street oval"[/INST] How many attended the game at Arden Street Oval?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_57 (home_team VARCHAR, venue VARCHAR)
<</SYS>>
SELECT home_team AS score FROM table_name_57 WHERE venue = "lake oval"[/INST] What is the home team of lake oval's score?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_81 (floors INTEGER, street_address VARCHAR)
<</SYS>>
SELECT SUM(floors) FROM table_name_81 WHERE street_address = "800 boylston street"[/INST] There is a building at 800 Boylston Street, how many floors does it have?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_29506171_2 (cuts_made INTEGER, earnings___€__ VARCHAR)
<</SYS>>
SELECT MAX(cuts_made) FROM table_29506171_2 WHERE earnings___€__ = "n/a"[/INST] How many cuts did Reid make in the year when her earnings were n/a?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1342370_39 (first_elected VARCHAR, incumbent VARCHAR)
<</SYS>>
SELECT first_elected FROM table_1342370_39 WHERE incumbent = "William Francis Stevenson"[/INST] what year was william francis stevenson first elected?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_78 (goals_scored INTEGER, played VARCHAR, draw VARCHAR)
<</SYS>>
SELECT AVG(goals_scored) FROM table_name_78 WHERE played < 34 AND draw > 2[/INST] What is the average goals scored when less than 34 were played and there were more than 2 draws?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_45 (overall INTEGER, round VARCHAR, name VARCHAR)
<</SYS>>
SELECT AVG(overall) FROM table_name_45 WHERE round = 10 AND name = "ed tomlin"[/INST] In Round 10, what was the Overall for Ed Tomlin?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2104176_1 (distinguished_service_cross VARCHAR, navy_cross VARCHAR)
<</SYS>>
SELECT distinguished_service_cross FROM table_2104176_1 WHERE navy_cross = "Coast Guard Commendation Medal"[/INST] What is the distinguished service cross when the navy cross is Coast Guard commendation medal?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_69 (division INTEGER, goals VARCHAR, country VARCHAR, apps VARCHAR)
<</SYS>>
SELECT SUM(division) FROM table_name_69 WHERE country = "serbia and montenegro" AND apps < 12 AND goals > 0[/INST] What is the total of the Divison that is from the country Serbia and Montenegro with apps smaller than 12 with more goals than 0?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_83 (birth_place VARCHAR, monarchs_served VARCHAR, entered_office VARCHAR)
<</SYS>>
SELECT birth_place FROM table_name_83 WHERE monarchs_served = "george v" AND entered_office = "23 october 1922"[/INST] What is the birth place of the prime minister who served George V and entered office on 23 October 1922?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_69 (driver VARCHAR, zan_2 VARCHAR)
<</SYS>>
SELECT driver FROM table_name_69 WHERE zan_2 = "5"[/INST] What driver has 5 as the zan 2?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_48 (commercial_operation VARCHAR, gross_capacity VARCHAR, electricity_grid VARCHAR)
<</SYS>>
SELECT commercial_operation FROM table_name_48 WHERE gross_capacity = "417 mw" AND electricity_grid = "27.12.1971"[/INST] Which Commercial Operation has both a Gross Capacity of 417 mw and an Electricity Grid 27.12.1971?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_62 (player VARCHAR, new_wnba_team VARCHAR, college_country_team VARCHAR)
<</SYS>>
SELECT player FROM table_name_62 WHERE new_wnba_team = "miami sol" AND college_country_team = "north carolina state"[/INST] Who is the player who played for the Miami Sol and went to school at North Carolina State?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1601027_1 (termination VARCHAR, us_msrp VARCHAR)
<</SYS>>
SELECT termination FROM table_1601027_1 WHERE us_msrp = "$49"[/INST] Which terminations correspond to a US MSRP of $49?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_14325808_1 (area__km²_ VARCHAR, density__pop_km²_ VARCHAR)
<</SYS>>
SELECT area__km²_ FROM table_14325808_1 WHERE density__pop_km²_ = "137.61"[/INST] What is the area in kilometers squared the population density is 137.61?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_77 (total INTEGER, bronze VARCHAR, rank VARCHAR, gold VARCHAR, silver VARCHAR)
<</SYS>>
SELECT SUM(total) FROM table_name_77 WHERE gold < 4 AND silver > 0 AND rank = "3" AND bronze < 6[/INST] Smaller than 4, and a Silver larger than 0, and a Rank of 3, and a Bronze smaller than 6 then what is the sum of the gold?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_87 (rank INTEGER, wins__outdoor_ VARCHAR, wins__indoor_ VARCHAR)
<</SYS>>
SELECT MAX(rank) FROM table_name_87 WHERE wins__outdoor_ > 1 AND wins__indoor_ < 0[/INST] Name the most rank for wins outdoor larger than 1 and wins indoor less than 0</s>
|
<s>[INST] <<SYS>>
CREATE TABLE Parts (part_name VARCHAR, part_id VARCHAR); CREATE TABLE Part_Faults (part_id VARCHAR)
<</SYS>>
SELECT T1.part_name, T1.part_id FROM Parts AS T1 JOIN Part_Faults AS T2 ON T1.part_id = T2.part_id GROUP BY T1.part_id HAVING COUNT(*) > 2[/INST] Which parts have more than 2 faults? Show the part name and id.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_22 (winning_team VARCHAR, name VARCHAR)
<</SYS>>
SELECT winning_team FROM table_name_22 WHERE name = "south pacific trophy"[/INST] Who is the winning team of the South Pacific Trophy?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_54 (score VARCHAR, runner_up VARCHAR)
<</SYS>>
SELECT score FROM table_name_54 WHERE runner_up = "richard krajicek"[/INST] what is the score when the runner-up is richard krajicek?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_7 (accreditation_level VARCHAR, hardware_model VARCHAR)
<</SYS>>
SELECT accreditation_level FROM table_name_7 WHERE hardware_model = "gt-i9100"[/INST] What is the Accreditation Level, when the Hardware Model is GT-I9100?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_17 (attendance VARCHAR, venue VARCHAR)
<</SYS>>
SELECT attendance FROM table_name_17 WHERE venue = "st andrew's"[/INST] What was the attendance for St Andrew's?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_24 (opponent_in_the_final VARCHAR, date VARCHAR)
<</SYS>>
SELECT opponent_in_the_final FROM table_name_24 WHERE date = "19 february 2006"[/INST] Who is the opponent in the final of the match on 19 February 2006?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_72 (record VARCHAR, date VARCHAR)
<</SYS>>
SELECT record FROM table_name_72 WHERE date = "october 27"[/INST] What was the record on the game that was played on october 27?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_99 (gold INTEGER, nation VARCHAR, silver VARCHAR)
<</SYS>>
SELECT AVG(gold) FROM table_name_99 WHERE nation = "russia (rus)" AND silver < 2[/INST] What is the average Gold where the Nation is Russia (rus) and the number of silver is less than 2?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_13 (elevated VARCHAR, nationality VARCHAR)
<</SYS>>
SELECT elevated FROM table_name_13 WHERE nationality = "pisa"[/INST] When was the elector from pisa elevated?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_8 (church_name VARCHAR, location_of_the_church VARCHAR)
<</SYS>>
SELECT church_name FROM table_name_8 WHERE location_of_the_church = "eikefjord"[/INST] What is the name of the church that is located in eikefjord?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_14945881_1 (week INTEGER, date VARCHAR)
<</SYS>>
SELECT MIN(week) FROM table_14945881_1 WHERE date = "September 19, 1976"[/INST] Name the least week for september 19, 1976</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_92 (builder VARCHAR, works_number VARCHAR)
<</SYS>>
SELECT builder FROM table_name_92 WHERE works_number = "323"[/INST] Who was the Builder for the locomotive that has a works number of 323?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_43 (date VARCHAR, venue VARCHAR, score VARCHAR)
<</SYS>>
SELECT date FROM table_name_43 WHERE venue = "pro player stadium" AND score = "4-1"[/INST] What is the date of the game at the Pro Player Stadium that had a score of 4-1?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_24538587_11 (i_o_bus VARCHAR, brand_name__list_ VARCHAR, socket VARCHAR, codename__main_article_ VARCHAR)
<</SYS>>
SELECT i_o_bus FROM table_24538587_11 WHERE socket = "LGA 1155" AND codename__main_article_ = "Sandy Bridge (Desktop)" AND brand_name__list_ = "Core i3-21xx"[/INST] What i/o buses are associated with the LGA 1155 socket, a code name of Sandy Bridge (desktop) and a brand name of Core i3-21xx?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_49 (goals VARCHAR, goal_ratio VARCHAR, games VARCHAR)
<</SYS>>
SELECT COUNT(goals) FROM table_name_49 WHERE goal_ratio < 0.8 AND games = 56[/INST] How many goals have a goal ration less than 0.8 with 56 games?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_95 (result VARCHAR, score VARCHAR)
<</SYS>>
SELECT result FROM table_name_95 WHERE score = "4-0"[/INST] What was the result of the competition that had a score of 4-0?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE Student_Course_Enrolment (date_of_enrolment VARCHAR, course_id VARCHAR); CREATE TABLE Courses (course_id VARCHAR, course_name VARCHAR)
<</SYS>>
SELECT T2.date_of_enrolment FROM Courses AS T1 JOIN Student_Course_Enrolment AS T2 ON T1.course_id = T2.course_id WHERE T1.course_name = "Spanish"[/INST] What is the date of enrollment of the course named "Spanish"?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_18963843_1 (_percentage_asian_american VARCHAR, indian_american_population__2010_ VARCHAR)
<</SYS>>
SELECT _percentage_asian_american FROM table_18963843_1 WHERE indian_american_population__2010_ = 23526[/INST] Name the % asian american for 23526</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_26609690_1 (team_s_ VARCHAR, winnings VARCHAR)
<</SYS>>
SELECT team_s_ FROM table_26609690_1 WHERE winnings = "$15,785"[/INST] Which team had $15,785 in winnings?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_76 (average_ratings VARCHAR, japanese_title VARCHAR, tv_station VARCHAR, episodes VARCHAR)
<</SYS>>
SELECT average_ratings FROM table_name_76 WHERE tv_station = "tbs" AND episodes = "10" AND japanese_title = "scandal"[/INST] What's the ratings of TBS of Episode 10 and had a Japanese title of Scandal?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_10650711_1 (pick__number INTEGER, player VARCHAR)
<</SYS>>
SELECT MAX(pick__number) FROM table_10650711_1 WHERE player = "Anthony Blaylock"[/INST] what is the maximum pick # where player is anthony blaylock</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_32 (_ppp__ VARCHAR, d__billions_of_us$_ VARCHAR, expenditures_on_r INTEGER, country_region VARCHAR, year VARCHAR)
<</SYS>>
SELECT AVG(expenditures_on_r) & d__billions_of_us$_, _ppp__ FROM table_name_32 WHERE country_region = "croatia" AND year > 2007[/INST] What is the average expenditures on R&D for Croatia after 2007?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_15861776_1 (no_in_series VARCHAR, tv_broadcast VARCHAR)
<</SYS>>
SELECT no_in_series FROM table_15861776_1 WHERE tv_broadcast = "S03E20"[/INST] What episode in the series is TV broadcast s03e20?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_69 (position VARCHAR, venue VARCHAR, time VARCHAR)
<</SYS>>
SELECT position FROM table_name_69 WHERE venue = "rome" AND time < 40.2[/INST] What position has a time less than 40.2 at the rome venue?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_15 (region VARCHAR, date VARCHAR)
<</SYS>>
SELECT region FROM table_name_15 WHERE date = "early september 1999"[/INST] Which Region has a Date of early september 1999?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_10 (opponent VARCHAR, record VARCHAR)
<</SYS>>
SELECT opponent FROM table_name_10 WHERE record = "3-9"[/INST] What was the Opponent when the Cavaliers had a Record of 3-9?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_32 (time VARCHAR, heat VARCHAR, name VARCHAR)
<</SYS>>
SELECT time FROM table_name_32 WHERE heat = 4 AND name = "liu limin"[/INST] What was Liu Limin's time in heat 4?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_72 (driver VARCHAR, time_retired VARCHAR, laps VARCHAR, grid VARCHAR, points VARCHAR)
<</SYS>>
SELECT driver FROM table_name_72 WHERE grid < 17 AND points > 0 AND laps = 87 AND time_retired = "1:48:11.023"[/INST] Which Driver has a Grid smaller than 17, and Points larger than 0, and a Lapse of 87, and a Time/Retired of 1:48:11.023?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_4 (route_of_administration VARCHAR, status VARCHAR)
<</SYS>>
SELECT route_of_administration FROM table_name_4 WHERE status = "several ongoing and complete"[/INST] What is the route of administration that has several ongoing and complete?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_53 (goals_for INTEGER, goal_difference VARCHAR, goals_against VARCHAR, club VARCHAR)
<</SYS>>
SELECT AVG(goals_for) FROM table_name_53 WHERE goals_against > 59 AND club = "real avilés cf" AND goal_difference > -10[/INST] What is teh average amount of goals for club real avilés cf, which has more than 59 goals against and a -10 goal difference?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_26335424_86 (semifinals VARCHAR, round_of_16 VARCHAR)
<</SYS>>
SELECT semifinals FROM table_26335424_86 WHERE round_of_16 = "Yulius Fernando ( INA ) L PTS 5-6"[/INST] If the round of 16 was yulius fernando ( ina ) l pts 5-6, what was the semifinals?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_26493520_3 (title VARCHAR, total_viewers_on_fx VARCHAR)
<</SYS>>
SELECT title FROM table_26493520_3 WHERE total_viewers_on_fx = "483,000"[/INST] Name the title for total viewers on fx+ being 483,000</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_70 (date VARCHAR, region VARCHAR, catalog VARCHAR)
<</SYS>>
SELECT date FROM table_name_70 WHERE region = "europe" AND catalog = "28765 22392 8"[/INST] What's the Date for the Region of Europe and has the Catalog of 28765 22392 8?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_48 (year VARCHAR, rank VARCHAR)
<</SYS>>
SELECT COUNT(year) FROM table_name_48 WHERE rank = "31"[/INST] with rank of 31 what is the year?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_24225238_1 (supporting_actress VARCHAR, year VARCHAR)
<</SYS>>
SELECT supporting_actress FROM table_24225238_1 WHERE year = 1943[/INST] Who was the supporting actress in 1943?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_76 (year_made VARCHAR, wheel_arrangement VARCHAR, class VARCHAR)
<</SYS>>
SELECT year_made FROM table_name_76 WHERE wheel_arrangement = "0-6-0" AND class = "302"[/INST] What year was the wheel arrangement 0-6-0 and a class 302?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_97 (score VARCHAR, save VARCHAR)
<</SYS>>
SELECT score FROM table_name_97 WHERE save = "postponed rescheduled for june 24"[/INST] What is the score of the match with a save postponed rescheduled for June 24?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_22 (wins VARCHAR, events INTEGER)
<</SYS>>
SELECT COUNT(wins) FROM table_name_22 WHERE events < 2[/INST] How many wins did he have when he played under 2 events?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_14747043_1 (class_a VARCHAR, class_aAAAA VARCHAR, Weslaco VARCHAR, class_aAAA VARCHAR, Brownwood VARCHAR)
<</SYS>>
SELECT class_a FROM table_14747043_1 WHERE class_aAAAA = Weslaco AND class_aAAA = Brownwood[/INST] Which is the class A when Weslaco was the class AAAAA and brownwood was the class AAAA</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_14 (name VARCHAR, laps VARCHAR, time_retired VARCHAR)
<</SYS>>
SELECT name FROM table_name_14 WHERE laps < 159 AND time_retired = "4:00:30.7537 (retired - fire)"[/INST] What team had less than 159 laps and a time or retired time of 4:00:30.7537 (retired - fire)?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_5 (opponent VARCHAR, attendance VARCHAR)
<</SYS>>
SELECT opponent FROM table_name_5 WHERE attendance = "76,202"[/INST] What opponent has 76,202 attendance ?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_19 (type VARCHAR, lt_nos VARCHAR, bldr VARCHAR, year VARCHAR)
<</SYS>>
SELECT type FROM table_name_19 WHERE bldr = "mcw&f" AND year < 1927 AND lt_nos = "9820-9821"[/INST] Bldr of mcw&f, and a Year smaller than 1927, and a LT Nos of 9820-9821 has what type?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_27615520_1 (speed___iops__ VARCHAR, storage_medium VARCHAR)
<</SYS>>
SELECT speed___iops__ FROM table_27615520_1 WHERE storage_medium = "eMLC Flash"[/INST] What is the Input/output operations per second for the emlc flash?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_36 (race VARCHAR, circuit VARCHAR, length VARCHAR)
<</SYS>>
SELECT race FROM table_name_36 WHERE circuit = "las vegas motor speedway" AND length = "2 hours"[/INST] Which race was on the Las Vegas Motor Speedway for 2 hours?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_25 (nationality VARCHAR, player VARCHAR)
<</SYS>>
SELECT nationality FROM table_name_25 WHERE player = "tom cassidy"[/INST] What is tom cassidy's nationality?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_6 (bronze VARCHAR, nation VARCHAR, total VARCHAR)
<</SYS>>
SELECT COUNT(bronze) FROM table_name_6 WHERE nation = "jamaica (jam)" AND total < 7[/INST] How many bronzes have a Nation of jamaica (jam), and a Total smaller than 7?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1213511_6 (position VARCHAR, player VARCHAR)
<</SYS>>
SELECT position FROM table_1213511_6 WHERE player = "Jim Johnston"[/INST] What position does Jim Johnston play?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_37 (result VARCHAR, against VARCHAR, round VARCHAR, surface VARCHAR)
<</SYS>>
SELECT result FROM table_name_37 WHERE round = "1r" AND surface = "hard" AND against = "tunisia"[/INST] What is the result of the match in round 1r against tunisia and on a hard surface?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_17 (round VARCHAR, record VARCHAR)
<</SYS>>
SELECT round FROM table_name_17 WHERE record = "4-1"[/INST] What round had a record of 4-1?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_85 (host_city VARCHAR, president_in_office VARCHAR, year VARCHAR)
<</SYS>>
SELECT host_city FROM table_name_85 WHERE president_in_office = "margaret thatcher" AND year = 1981[/INST] In which host city was Margaret Thatcher the President-in-Office in 1981?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_21655290_1 (film_title_used_in_nomination VARCHAR, year__ceremony_ VARCHAR)
<</SYS>>
SELECT film_title_used_in_nomination FROM table_21655290_1 WHERE year__ceremony_ = "1990 (63rd)"[/INST] Which film title used in nomination has the year (ceremony) 1990 (63rd)?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_88 (away_team VARCHAR, home_team VARCHAR)
<</SYS>>
SELECT away_team FROM table_name_88 WHERE home_team = "collingwood"[/INST] When collingwood played as the home team who was the away team?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_79 (frequency VARCHAR, sspec_number VARCHAR)
<</SYS>>
SELECT frequency FROM table_name_79 WHERE sspec_number = "sl3bn(kc0)sl3e9(kc0)"[/INST] What is the frequency of the processor with an sSpec number of sl3bn(kc0)sl3e9(kc0)?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_21 (entrants INTEGER, winner VARCHAR)
<</SYS>>
SELECT AVG(entrants) FROM table_name_21 WHERE winner = "frank gary"[/INST] How many entrants did the events won by Frank Gary average?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_28035004_1 (variant VARCHAR, bodybuilder VARCHAR)
<</SYS>>
SELECT COUNT(variant) FROM table_28035004_1 WHERE bodybuilder = "Northern Counties"[/INST] How many different variants are there for Northern Counties bodybuilder?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_26 (attendance VARCHAR, week VARCHAR)
<</SYS>>
SELECT attendance FROM table_name_26 WHERE week = 7[/INST] What was the attendance on week 7?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_68 (organized_by VARCHAR, church_name VARCHAR)
<</SYS>>
SELECT organized_by FROM table_name_68 WHERE church_name = "alston church"[/INST] Who organized Alston Church?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1341663_44 (incumbent VARCHAR, district VARCHAR)
<</SYS>>
SELECT incumbent FROM table_1341663_44 WHERE district = "Texas 19"[/INST] What was the incumbent for texas 19?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_95 (attendance INTEGER, opponents VARCHAR)
<</SYS>>
SELECT SUM(attendance) FROM table_name_95 WHERE opponents = "hearts"[/INST] How many people attended the match when Manchester United played against the Hearts?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_27 (sign_in_bicker VARCHAR, location VARCHAR)
<</SYS>>
SELECT sign_in_bicker FROM table_name_27 WHERE location = "wash50 on washington rd"[/INST] What is the Sign-in/Bicker at wash50 on washington rd?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_38 (league VARCHAR, number VARCHAR, record VARCHAR)
<</SYS>>
SELECT league FROM table_name_38 WHERE number < 122 AND record = "least wins"[/INST] What league has a number less than 122, and least wins as the record?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2761641_1 (rebounds_per_game VARCHAR, tournament VARCHAR)
<</SYS>>
SELECT rebounds_per_game FROM table_2761641_1 WHERE tournament = "2006 FIBA World Championship"[/INST] How many rebounds per game did he have at the 2006 fiba world championship?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_57 (record VARCHAR, opponent VARCHAR, november VARCHAR, game VARCHAR, decision VARCHAR)
<</SYS>>
SELECT record FROM table_name_57 WHERE game < 24 AND decision = "lundqvist" AND november < 8 AND opponent = "new york islanders"[/INST] What is the Record for a game smaller than 24, Lundqvist was the decision, November less than 8, and opponent Was New York Islanders?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_72 (winner VARCHAR, points_classification VARCHAR, stage VARCHAR)
<</SYS>>
SELECT winner FROM table_name_72 WHERE points_classification = "tony rominger" AND stage = "17"[/INST] Which winner has a points classification of Tony Rominger at stage 17?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_9 (country VARCHAR, year_s__won VARCHAR)
<</SYS>>
SELECT country FROM table_name_9 WHERE year_s__won = "1983"[/INST] From which country was the player whose year(s) won was 1983?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_33 (season VARCHAR, runs VARCHAR)
<</SYS>>
SELECT season FROM table_name_33 WHERE runs = "577"[/INST] In what season was 577 runs scored?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_7 (position VARCHAR, number VARCHAR)
<</SYS>>
SELECT position FROM table_name_7 WHERE number = 16[/INST] Which position is number 16?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_11318462_5 (open_1st_viii VARCHAR, u15_6th_iv VARCHAR)
<</SYS>>
SELECT open_1st_viii FROM table_11318462_5 WHERE u15_6th_iv = "BGS"[/INST] what are all the open 1st viii with u15 6th iv being bgs</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_1 (engine VARCHAR, entrant VARCHAR, points VARCHAR)
<</SYS>>
SELECT engine FROM table_name_1 WHERE entrant = "mercedes amg petronas f1 team" AND points = "93"[/INST] What engine has the Mercedes AMG Petronas f1 team, and 93 points?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_51 (role VARCHAR, registration VARCHAR)
<</SYS>>
SELECT role FROM table_name_51 WHERE registration = "s5-hpb"[/INST] What is the role of the aircraft that has a registration of s5-hpb?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE weather (zip_code VARCHAR, mean_visibility_miles INTEGER)
<</SYS>>
SELECT zip_code FROM weather GROUP BY zip_code HAVING AVG(mean_visibility_miles) < 10[/INST] Find the zip code in which the average mean visibility is lower than 10.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_14342592_5 (touchdowns VARCHAR, points VARCHAR)
<</SYS>>
SELECT touchdowns FROM table_14342592_5 WHERE points = 22[/INST] When the total points are 22 how many total touchdowns have been made?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_23 (bangladeshis_admitted INTEGER, nepalis_admitted VARCHAR, pakistanis_admitted VARCHAR)
<</SYS>>
SELECT AVG(bangladeshis_admitted) FROM table_name_23 WHERE nepalis_admitted = 714 AND pakistanis_admitted > 13 OFFSET 575[/INST] How many Bangladeshis were admitted when 714 Nepalis and 13,575 Pakistanis were admitted?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_23050383_1 (kei VARCHAR, economic_incentive_regime VARCHAR)
<</SYS>>
SELECT COUNT(kei) FROM table_23050383_1 WHERE economic_incentive_regime = "2.56"[/INST] How many KEI catagories are listed when the economic incentive regime is 2.56? </s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_18143210_2 (first_season_of_current_spell_in_top_division VARCHAR, first_season_in_top_division VARCHAR)
<</SYS>>
SELECT first_season_of_current_spell_in_top_division FROM table_18143210_2 WHERE first_season_in_top_division = "1964-65"[/INST] When was the 'first season of current spell in top division' if the first season in top division is in 1964-65?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_77 (visiting_team VARCHAR, final_score VARCHAR)
<</SYS>>
SELECT visiting_team FROM table_name_77 WHERE final_score = "18-40"[/INST] Which visiting team wound up with a final score of 18-40?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_47 (races VARCHAR, points VARCHAR)
<</SYS>>
SELECT races FROM table_name_47 WHERE points = "8"[/INST] How many races did he do in the year he had 8 points?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_33 (result VARCHAR, nominated_work VARCHAR, award VARCHAR)
<</SYS>>
SELECT result FROM table_name_33 WHERE nominated_work = "marlene" AND award = "olivier award"[/INST] When Marlene was nominated for the Olivier Award, what was the result?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_82 (event VARCHAR, opponent VARCHAR)
<</SYS>>
SELECT event FROM table_name_82 WHERE opponent = "masato shiozawa"[/INST] What event did he fight masato shiozawa?</s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.