text_output
stringlengths 114
770
|
|---|
<s>[INST] <<SYS>>
CREATE TABLE table_name_31 (country VARCHAR, athletes VARCHAR)
<</SYS>>
SELECT country FROM table_name_31 WHERE athletes = "adam van koeverden"[/INST] What country does Adam van Koeverden play for?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_20 (record VARCHAR, date VARCHAR)
<</SYS>>
SELECT record FROM table_name_20 WHERE date = "6 april 2008"[/INST] What was the record on 6 April 2008?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_8 (molecules VARCHAR, percent_of_mass VARCHAR)
<</SYS>>
SELECT molecules FROM table_name_8 WHERE percent_of_mass = "1.0"[/INST] what is the molecules when the percent mass is 1.0?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_91 (launched VARCHAR, time_elapsed VARCHAR)
<</SYS>>
SELECT launched FROM table_name_91 WHERE time_elapsed = "158 days (5 months, 8 days)"[/INST] What launched has 158 days (5 months, 8 days) as the time elapsed?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_23619492_3 (london_ VARCHAR, _great_britain VARCHAR, world_record VARCHAR)
<</SYS>>
SELECT london_, _great_britain FROM table_23619492_3 WHERE world_record = "Championship record"[/INST] Name the london great britain for championship record</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_11251601_2 (avg_emission_per_km_2_of_its_land__tons_ INTEGER, country VARCHAR)
<</SYS>>
SELECT MAX(avg_emission_per_km_2_of_its_land__tons_) FROM table_11251601_2 WHERE country = "India"[/INST] WHAT WAS THE AVERAGE EMISSION PER KM 2 IN INDIA?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1620397_2 (series_sorted VARCHAR, released VARCHAR)
<</SYS>>
SELECT COUNT(series_sorted) FROM table_1620397_2 WHERE released = "April 2010"[/INST] Name the total number of series sorted for when released is april 2010</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_23649244_1 (level VARCHAR, artist_1 VARCHAR)
<</SYS>>
SELECT level FROM table_23649244_1 WHERE artist_1 = "Wale"[/INST] Which level has wale as artist 1?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_35 (high_assists VARCHAR, high_points VARCHAR)
<</SYS>>
SELECT high_assists FROM table_name_35 WHERE high_points = "jalen rose (22)"[/INST] What is the High assists when jalen rose (22) had the high points?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1601792_3 (station VARCHAR, language VARCHAR)
<</SYS>>
SELECT station FROM table_1601792_3 WHERE language = "Tamil Malay"[/INST] What is the name of the station where the language is tamil malay?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_46 (overall_record VARCHAR, away_team VARCHAR)
<</SYS>>
SELECT overall_record FROM table_name_46 WHERE away_team = "miami"[/INST] Can you tell me the Overall Record that has the Away Team of miami?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE Allergy_type (allergy VARCHAR)
<</SYS>>
SELECT COUNT(DISTINCT allergy) FROM Allergy_type[/INST] How many allergies are there?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_60 (crowd INTEGER, away_team VARCHAR)
<</SYS>>
SELECT MAX(crowd) FROM table_name_60 WHERE away_team = "st kilda"[/INST] What is the largest crowd when st kilda was the away team?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_10592536_8 (date_of_appointment VARCHAR, date_of_vacancy VARCHAR)
<</SYS>>
SELECT date_of_appointment FROM table_10592536_8 WHERE date_of_vacancy = "21 December 2007"[/INST] What is the date of appointment when the date of vacancy is 21 december 2007?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_79 (high_points VARCHAR, location_attendance VARCHAR)
<</SYS>>
SELECT high_points FROM table_name_79 WHERE location_attendance = "conseco fieldhouse 7,134"[/INST] What is the highest number of points of the game in Conseco fieldhouse 7,134?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_1 (crowd VARCHAR, date VARCHAR, away_team VARCHAR)
<</SYS>>
SELECT crowd FROM table_name_1 WHERE date = "19 july 1980" AND away_team = "footscray"[/INST] When the Away team footscray played on the Date of 19 july 1980, what was the amount of people in the Crowd?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2668393_18 (result VARCHAR, district VARCHAR)
<</SYS>>
SELECT result FROM table_2668393_18 WHERE district = "Virginia 11"[/INST] What is the result in the virginia 11 district?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_62 (pole_position VARCHAR, fastest_lap VARCHAR, grand_prix VARCHAR)
<</SYS>>
SELECT pole_position FROM table_name_62 WHERE fastest_lap = "damon hill" AND grand_prix = "japanese grand prix"[/INST] Name the pole position at the japanese grand prix when the fastest lap is damon hill</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_11 (opponent VARCHAR, decision VARCHAR, season VARCHAR)
<</SYS>>
SELECT opponent FROM table_name_11 WHERE decision = "w" AND season = "2011"[/INST] Who is the opponent for the 2011 season with a decision of W?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_5 (entrant VARCHAR, driver VARCHAR)
<</SYS>>
SELECT entrant FROM table_name_5 WHERE driver = "gary brabham"[/INST] Who was the entrant for Gary Brabham?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_4 (attendance VARCHAR, result VARCHAR)
<</SYS>>
SELECT COUNT(attendance) FROM table_name_4 WHERE result = "l 35-17"[/INST] Tell me the number of attendance that has a result of l 35-17</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_44 (team VARCHAR, round_winner VARCHAR, circuit VARCHAR)
<</SYS>>
SELECT team FROM table_name_44 WHERE round_winner = "john bowe" AND circuit = "winton motor raceway"[/INST] On what team did John Bowe round winner at Winton Motor Raceway belong to?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_12159115_2 (directed_by VARCHAR, us_viewers__millions_ VARCHAR)
<</SYS>>
SELECT COUNT(directed_by) FROM table_12159115_2 WHERE us_viewers__millions_ = "11.34"[/INST] What's the total number of directors who've directed episodes seen by 11.34 million US viewers?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_99 (share_of_votes VARCHAR, election VARCHAR)
<</SYS>>
SELECT share_of_votes FROM table_name_99 WHERE election = "2008 (1)"[/INST] What is the share of votes in the 2008 (1) election?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_10 (year_joined VARCHAR, school VARCHAR)
<</SYS>>
SELECT year_joined FROM table_name_10 WHERE school = "western"[/INST] In what year did the team from the Western school join the conference?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_17881033_1 (division_north VARCHAR, season VARCHAR)
<</SYS>>
SELECT division_north FROM table_17881033_1 WHERE season = "2007–08"[/INST] what is the division north in 2007–08</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_31 (attendance VARCHAR, visitor VARCHAR, home VARCHAR)
<</SYS>>
SELECT COUNT(attendance) FROM table_name_31 WHERE visitor = "miami" AND home = "washington"[/INST] How many people were at Washington's home game against Miami?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_17503169_1 (district VARCHAR, republican VARCHAR)
<</SYS>>
SELECT COUNT(district) FROM table_17503169_1 WHERE republican = "Bob Goodlatte"[/INST] How many districts had republican Bob Goodlatte as a candidate?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1850282_7 (common_name VARCHAR, species VARCHAR)
<</SYS>>
SELECT common_name FROM table_1850282_7 WHERE species = "Chironius multiventris septentrionalis"[/INST] Name the common name for chironius multiventris septentrionalis</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_90 (gold INTEGER, silver VARCHAR, nation VARCHAR, total VARCHAR, bronze VARCHAR)
<</SYS>>
SELECT AVG(gold) FROM table_name_90 WHERE total > 1 AND bronze < 10 AND nation = "switzerland" AND silver > 1[/INST] What is the average number of gold medals Switzerland received when they ranked larger than 1st and received fewer than 10 bronze medals and more than 1 silver medal?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_18946749_1 (island VARCHAR, peak VARCHAR)
<</SYS>>
SELECT island FROM table_18946749_1 WHERE peak = "Mount Wondiwoi"[/INST] When mount wondiwoi is the peak what is the island?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_75 (appearances VARCHAR, goals VARCHAR, name VARCHAR)
<</SYS>>
SELECT appearances FROM table_name_75 WHERE goals < 30 AND name = "gary depalma"[/INST] How many appearances did Gary Depalma make when he scored less than 30 goals?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_74 (rank INTEGER, team VARCHAR, time VARCHAR)
<</SYS>>
SELECT MIN(rank) FROM table_name_74 WHERE team = "honda 250cc" AND time = "31’ 03.093"[/INST] Team of honda 250cc, and a Time of 31’ 03.093 has what lowest rank?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_40 (value VARCHAR, british_name VARCHAR)
<</SYS>>
SELECT value FROM table_name_40 WHERE british_name = "maxima"[/INST] what is the value when the british name is maxima?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_19769948_26 (dismissals VARCHAR, innings VARCHAR)
<</SYS>>
SELECT COUNT(dismissals) FROM table_19769948_26 WHERE innings = 191[/INST] how many dismissals in a game with 191 innings</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_14 (location VARCHAR, home_ground VARCHAR)
<</SYS>>
SELECT location FROM table_name_14 WHERE home_ground = "mong kok stadium"[/INST] Which Location has a Home Ground of Mong kok stadium?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_20 (class VARCHAR, date VARCHAR)
<</SYS>>
SELECT class FROM table_name_20 WHERE date = "august 25"[/INST] What is the class of the race that takes place on August 25?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE book (Writer VARCHAR)
<</SYS>>
SELECT Writer FROM book GROUP BY Writer HAVING COUNT(*) > 1[/INST] List the writers who have written more than one book.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_46 (copies_per_particle VARCHAR, protein VARCHAR)
<</SYS>>
SELECT copies_per_particle FROM table_name_46 WHERE protein = "nsp2"[/INST] How many copies per particle does the protein nsp2 have?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_65 (date VARCHAR, week VARCHAR)
<</SYS>>
SELECT date FROM table_name_65 WHERE week = "9"[/INST] When was the date that week 9 started?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_23214055_2 (ezhavas VARCHAR, syrian_christians VARCHAR)
<</SYS>>
SELECT ezhavas FROM table_23214055_2 WHERE syrian_christians = "26.2"[/INST] Name the ezhavas and syrian christians being 26.2</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_91 (away_team VARCHAR, home_team VARCHAR)
<</SYS>>
SELECT away_team AS score FROM table_name_91 WHERE home_team = "north melbourne"[/INST] What was the away score when North Melbourne was played?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE departments (department_name VARCHAR, department_id VARCHAR); CREATE TABLE employees (department_id VARCHAR)
<</SYS>>
SELECT T2.department_name, COUNT(*) FROM employees AS T1 JOIN departments AS T2 ON T1.department_id = T2.department_id GROUP BY T2.department_name[/INST] display the department name and number of employees in each of the department.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE products (price INTEGER, Manufacturer VARCHAR); CREATE TABLE manufacturers (name VARCHAR, code VARCHAR)
<</SYS>>
SELECT AVG(T1.price), T2.name FROM products AS T1 JOIN manufacturers AS T2 ON T1.Manufacturer = T2.code GROUP BY T2.name[/INST] Find the average prices of all products from each manufacture, and list each company's name.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_27 (to_par INTEGER, player VARCHAR, total VARCHAR)
<</SYS>>
SELECT MAX(to_par) FROM table_name_27 WHERE player = "justin leonard" AND total < 297[/INST] What is the highest to par number for Justin Leonard when the total is less than 297?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_11677691_9 (player VARCHAR, college VARCHAR)
<</SYS>>
SELECT player FROM table_11677691_9 WHERE college = "Ohio State"[/INST] What player is from Ohio State college?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_24540893_6 (pick__number VARCHAR, school VARCHAR, position VARCHAR)
<</SYS>>
SELECT pick__number FROM table_24540893_6 WHERE school = "Western Ontario" AND position = "OL"[/INST] What numbered pick attended western ontario and is an OL?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_14649522_1 (college VARCHAR, position VARCHAR, pick__number VARCHAR)
<</SYS>>
SELECT college FROM table_14649522_1 WHERE position = "Wide Receiver" AND pick__number < 130.0[/INST] Which college was the wide receiver whose pick was less than 130.0 picked from?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_57 (lost VARCHAR, opposition VARCHAR, tied VARCHAR)
<</SYS>>
SELECT COUNT(lost) FROM table_name_57 WHERE opposition = "rajasthan royals" AND tied > 0[/INST] What is the total number of losses against the Rajasthan Royals with more than 0 ties?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_16493961_1 (driver VARCHAR, race_time VARCHAR)
<</SYS>>
SELECT driver FROM table_16493961_1 WHERE race_time = "2:34:21"[/INST] Name the driver for race time being 2:34:21</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_64 (position VARCHAR, venue VARCHAR)
<</SYS>>
SELECT position FROM table_name_64 WHERE venue = "debrecen, hungary"[/INST] What Position is listed against a Venue of Debrecen, Hungary</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_96 (founded INTEGER, team VARCHAR)
<</SYS>>
SELECT AVG(founded) FROM table_name_96 WHERE team = "baton rouge blaze"[/INST] What is the mean Founded number when the team is the Baton Rouge Blaze?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_13328239_4 (date VARCHAR, venue VARCHAR)
<</SYS>>
SELECT date FROM table_13328239_4 WHERE venue = "Halton Stadium"[/INST] When was the game happening at Halton Stadium?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE pilot (POSITION VARCHAR, Age INTEGER)
<</SYS>>
SELECT DISTINCT POSITION FROM pilot WHERE Age > 30[/INST] List the distinct positions of pilots older than 30.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_17355408_5 (high_points VARCHAR, location_attendance VARCHAR)
<</SYS>>
SELECT high_points FROM table_17355408_5 WHERE location_attendance = "Pepsi Center 18,611"[/INST] Name the high points for pepsi center 18,611</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_18349697_1 (province VARCHAR, _community VARCHAR, age VARCHAR)
<</SYS>>
SELECT province, _community FROM table_18349697_1 WHERE age = 27[/INST] What is the province where the age of the contestant is 27?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_74 (term_end VARCHAR, party VARCHAR, term_in_office VARCHAR)
<</SYS>>
SELECT term_end FROM table_name_74 WHERE party = "united australia" AND term_in_office = "184 days"[/INST] What is the Term end that has a Party of united australia and 184 days in office?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_45 (competition VARCHAR, year INTEGER)
<</SYS>>
SELECT competition FROM table_name_45 WHERE year > 2000[/INST] Which Competition has a Year larger than 2000?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_42 (method VARCHAR, event VARCHAR)
<</SYS>>
SELECT method FROM table_name_42 WHERE event = "flawless fighting championship 1: the beginning"[/INST] Which method's event was flawless fighting championship 1: the beginning?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_26748252_1 (written_by VARCHAR, us_viewers__in_millions_ VARCHAR)
<</SYS>>
SELECT COUNT(written_by) FROM table_26748252_1 WHERE us_viewers__in_millions_ = "3.40"[/INST] How many people wrote the episode with 3.40 million U.S viewers?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_79 (report VARCHAR, winning_drivers VARCHAR)
<</SYS>>
SELECT report FROM table_name_79 WHERE winning_drivers = "frank lockhart"[/INST] Which report shows that Frank Lockhart was a winning driver?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_191323_2 (alt_name VARCHAR, notes VARCHAR)
<</SYS>>
SELECT alt_name FROM table_191323_2 WHERE notes = "Mission failed. Guidance system failed. No orbit."[/INST] What are the alternative names of those satellites where the notes are: mission failed. guidance system failed. no orbit.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_89 (year INTEGER, position VARCHAR, player VARCHAR)
<</SYS>>
SELECT MIN(year) FROM table_name_89 WHERE position = "c" AND player = "gary bergen"[/INST] What is the earliest year of c position player gary bergen?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_11959669_3 (high_assists VARCHAR, date VARCHAR)
<</SYS>>
SELECT high_assists FROM table_11959669_3 WHERE date = "November 4"[/INST] Who had the highest assists on November 4</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_49 (conv VARCHAR, pens VARCHAR, player VARCHAR)
<</SYS>>
SELECT conv FROM table_name_49 WHERE pens = "0" AND player = "severo koroduadua waqanibau"[/INST] How many conversions did Severo Koroduadua Waqanibau have when he has 0 pens?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_46 (area__km_2__ INTEGER, population VARCHAR)
<</SYS>>
SELECT AVG(area__km_2__) FROM table_name_46 WHERE population = 311[/INST] What is the km2 area for the population of 311?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_16 (premier_league VARCHAR, position VARCHAR, total VARCHAR)
<</SYS>>
SELECT COUNT(premier_league) FROM table_name_16 WHERE position = "forward" AND total > 22[/INST] What is the premier league number when the position is forward, and the total is more than 22?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_60 (rank INTEGER, publication VARCHAR, year VARCHAR)
<</SYS>>
SELECT SUM(rank) FROM table_name_60 WHERE publication = "rolling stone" AND year = 2008[/INST] Where did Day & Age rank in the Rolling Stone in 2008?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_87 (game INTEGER, date VARCHAR)
<</SYS>>
SELECT AVG(game) FROM table_name_87 WHERE date = "october 16"[/INST] What average game was played on October 16?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_60 (non__stop VARCHAR, aspirated_stop VARCHAR)
<</SYS>>
SELECT non__stop FROM table_name_60 WHERE aspirated_stop = "ㅎ"[/INST] Which Non- stop has an Aspirated stop of ㅎ?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_85 (silver INTEGER, bronze INTEGER)
<</SYS>>
SELECT MAX(silver) FROM table_name_85 WHERE bronze < 0[/INST] What is the highest number of silver medals of the team with less than 0 bronzes?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_42 (founded INTEGER, club VARCHAR)
<</SYS>>
SELECT MIN(founded) FROM table_name_42 WHERE club = "bizerte athletic f.c."[/INST] What is the lowest founded that has bizerte athletic f.c. as the club?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_8 (engine VARCHAR, year VARCHAR, power VARCHAR)
<</SYS>>
SELECT engine FROM table_name_8 WHERE year > 2006 AND power = "bhp (kw)"[/INST] Which Engine has a Year that's Larger than 2006 and Power of BHP (KW)?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_23195_5 (present_share VARCHAR, producing_nation VARCHAR)
<</SYS>>
SELECT present_share FROM table_23195_5 WHERE producing_nation = "Australia"[/INST] Name the present share for australia</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_7 (points INTEGER, entrant VARCHAR)
<</SYS>>
SELECT MIN(points) FROM table_name_7 WHERE entrant = "officine alfieri maserati"[/INST] Name the lowest points for officine alfieri maserati</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2139023_2 (outcome VARCHAR, surface VARCHAR, year VARCHAR)
<</SYS>>
SELECT outcome FROM table_2139023_2 WHERE surface = "Grass" AND year = 1955[/INST] What was the result of the match on grass in 1955?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_20866024_4 (gvw__kg_ton_ VARCHAR, model_designation VARCHAR)
<</SYS>>
SELECT gvw__kg_ton_ FROM table_20866024_4 WHERE model_designation = "97H00"[/INST] What is the GVW for model 97H00?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2468961_2 (no_in_series VARCHAR, written_by VARCHAR)
<</SYS>>
SELECT COUNT(no_in_series) FROM table_2468961_2 WHERE written_by = "Ross Brown"[/INST] How many episodes were written by Ross brown?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_26519486_1 (area__km²_ VARCHAR, languages VARCHAR)
<</SYS>>
SELECT area__km²_ FROM table_26519486_1 WHERE languages = "German"[/INST] Name the area for german</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_23 (wednesday VARCHAR, saturday VARCHAR)
<</SYS>>
SELECT wednesday FROM table_name_23 WHERE saturday = "གཟའ་སྤེན་པ།"[/INST] Which Wednesday has a Saturday of གཟའ་སྤེན་པ།?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_225880_1 (year VARCHAR, runner_s__up VARCHAR)
<</SYS>>
SELECT year FROM table_225880_1 WHERE runner_s__up = "Willie Goggin"[/INST] Name the year for willie goggin</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_52 (class_aA VARCHAR, class_a VARCHAR, school_year VARCHAR)
<</SYS>>
SELECT class_aA FROM table_name_52 WHERE class_a = "rule" AND school_year = "1995-96"[/INST] Name the class AA with class A of rule and school year of 1995-96</s>
|
<s>[INST] <<SYS>>
CREATE TABLE channel (OWNER VARCHAR)
<</SYS>>
SELECT COUNT(DISTINCT OWNER) FROM channel[/INST] what is the number of different channel owners?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_35 (played VARCHAR, club VARCHAR)
<</SYS>>
SELECT played FROM table_name_35 WHERE club = "morriston rfc"[/INST] What is listed under Played that has a Club of Morriston RFC?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_11 (date VARCHAR, visitor VARCHAR, attendance VARCHAR)
<</SYS>>
SELECT date FROM table_name_11 WHERE visitor = "knicks" AND attendance > 18 OFFSET 165[/INST] What is the date of the game where the vistor team was the Knicks and more than 18,165 were in attendance?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_14489821_1 (played INTEGER)
<</SYS>>
SELECT MAX(played) FROM table_14489821_1[/INST] what is the maximum number of matches played by a team?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_92 (date VARCHAR, week VARCHAR, opponent VARCHAR)
<</SYS>>
SELECT date FROM table_name_92 WHERE week < 14 AND opponent = "san francisco 49ers"[/INST] Which date has a Week smaller than 14, and an Opponent of san francisco 49ers?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_73 (score VARCHAR, game VARCHAR)
<</SYS>>
SELECT score FROM table_name_73 WHERE game = 2[/INST] What's the score of Game 2?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_45 (position VARCHAR, hometown VARCHAR)
<</SYS>>
SELECT position FROM table_name_45 WHERE hometown = "queens, ny"[/INST] What is the name of the position of the person whose hometown is Queens, NY?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_91 (water__sqmi_ INTEGER, latitude VARCHAR, land___sqmi__ VARCHAR, township VARCHAR)
<</SYS>>
SELECT MAX(water__sqmi_) FROM table_name_91 WHERE land___sqmi__ > 33.576 AND township = "glenila" AND latitude > 48.832189[/INST] What is the highest water (sq mi) of the township glenila, which has more than 33.576 sq mi of land and a latitude greater than 48.832189?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE undergoes (patient VARCHAR, dateundergoes VARCHAR)
<</SYS>>
SELECT patient FROM undergoes ORDER BY dateundergoes LIMIT 1[/INST] Find the patient who has the most recent undergoing treatment?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_13 (competition VARCHAR, date VARCHAR)
<</SYS>>
SELECT competition FROM table_name_13 WHERE date = "1999-08-07"[/INST] What is Competition, when Date is "1999-08-07"?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_42 (home_team VARCHAR, away_team VARCHAR)
<</SYS>>
SELECT home_team FROM table_name_42 WHERE away_team = "footscray"[/INST] When the Away team is footscray, what is the Home team playing?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1108394_24 (manhattan VARCHAR, richmond_ VARCHAR, staten_is VARCHAR)
<</SYS>>
SELECT manhattan FROM table_1108394_24 WHERE richmond_[staten_is] = "35_percentage"[/INST] What is the manhattan for richmond 35%?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_20 (win__percentage INTEGER, opposition VARCHAR)
<</SYS>>
SELECT MIN(win__percentage) FROM table_name_20 WHERE opposition = "perth scorchers"[/INST] What is the lowest win percentage for when Perth Scorchers is the opposition?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_85 (rank INTEGER, country VARCHAR)
<</SYS>>
SELECT MAX(rank) FROM table_name_85 WHERE country = "palestinian territories"[/INST] Which highest rank belongs to the palestinian territories?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_29163303_2 (year INTEGER, championship VARCHAR)
<</SYS>>
SELECT MIN(year) FROM table_29163303_2 WHERE championship = "US Open (2)"[/INST] What is the earliest year in which the result is championship US Open (2)?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_44 (team_1 VARCHAR)
<</SYS>>
SELECT 1 AS st_round FROM table_name_44 WHERE team_1 = "toulouse fc (d1)"[/INST] What is the first round when team 1 was toulouse fc (d1)?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_70 (position VARCHAR, nationality VARCHAR, player VARCHAR)
<</SYS>>
SELECT position FROM table_name_70 WHERE nationality = "united states" AND player = "corey maggette"[/INST] Corey Maggette from the United States plays what position?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_41 (gold INTEGER, bronze VARCHAR, silver VARCHAR, event VARCHAR)
<</SYS>>
SELECT AVG(gold) FROM table_name_41 WHERE silver = 1 AND event = "2000 summer paralympics" AND bronze > 3[/INST] what is the gold when silver is 1, event is 2000 summer paralympics and bronze is more than 3?</s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.