text_output
stringlengths 114
770
|
|---|
<s>[INST] <<SYS>>
CREATE TABLE Participants (Participant_ID VARCHAR, Participant_Type_Code VARCHAR, Participant_Details VARCHAR)
<</SYS>>
SELECT Participant_ID, Participant_Type_Code, Participant_Details FROM Participants[/INST] What are all the the participant ids, type code and details?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_23316034_16 (innings VARCHAR, average VARCHAR)
<</SYS>>
SELECT COUNT(innings) FROM table_23316034_16 WHERE average = "45.65"[/INST] If the average is 45.65, what is the total number of innings?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE product (pages_per_minute_color INTEGER)
<</SYS>>
SELECT AVG(pages_per_minute_color) FROM product[/INST] What is the average pages per minute color?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_22355_20 (silver INTEGER)
<</SYS>>
SELECT MIN(silver) FROM table_22355_20[/INST] Who has the minimum number of silver?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_22875369_3 (location VARCHAR, record VARCHAR)
<</SYS>>
SELECT COUNT(location) FROM table_22875369_3 WHERE record = "22-1"[/INST] Name the number of location for 22-1</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_40 (away_team VARCHAR, home_team VARCHAR)
<</SYS>>
SELECT away_team AS score FROM table_name_40 WHERE home_team = "essendon"[/INST] What was Essendon's opponents away score?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_71 (date_of_inauguration VARCHAR)
<</SYS>>
SELECT date_of_inauguration FROM table_name_71 WHERE "lifespan" = "lifespan"[/INST] What was the date of the inauguration in the row with an entry of lifespan in the lifespan column?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_19 (week VARCHAR, school VARCHAR)
<</SYS>>
SELECT week FROM table_name_19 WHERE school = "ball state"[/INST] What is the week with a school that is ball state?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_31 (goal_gain INTEGER, game INTEGER)
<</SYS>>
SELECT MIN(goal_gain) FROM table_name_31 WHERE game < 18[/INST] What team with a Game smaller than 18 has the lowest Goal Gain?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_9 (bronze INTEGER, sport VARCHAR, silver VARCHAR)
<</SYS>>
SELECT AVG(bronze) FROM table_name_9 WHERE sport = "football" AND silver > 1[/INST] What is the football Bronze with more than 1 Silver?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_65 (top_25 VARCHAR, events INTEGER)
<</SYS>>
SELECT COUNT(top_25) FROM table_name_65 WHERE events > 86[/INST] What is the total number of Top-25, when Events is greater than 86?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE dorm (dorm_name VARCHAR, gender VARCHAR)
<</SYS>>
SELECT dorm_name FROM dorm WHERE gender = 'F'[/INST] Find the name of dorms only for female (F gender).</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_50 (engine VARCHAR, entrant VARCHAR)
<</SYS>>
SELECT engine FROM table_name_50 WHERE entrant = "garvey team lotus"[/INST] What engine does Garvey Team Lotus use?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_9 (date VARCHAR, venue VARCHAR, goal VARCHAR)
<</SYS>>
SELECT date FROM table_name_9 WHERE venue = "mexico city, mexico" AND goal = 8[/INST] When was the venue mexico city, mexico with a goal of 8?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_80 (laps INTEGER, year VARCHAR)
<</SYS>>
SELECT AVG(laps) FROM table_name_80 WHERE year = 2007[/INST] Which Laps has a Year of 2007?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_26 (competition VARCHAR, opponent VARCHAR, date VARCHAR)
<</SYS>>
SELECT competition FROM table_name_26 WHERE opponent = "peterborough phantoms" AND date = 2[/INST] What was the name of the competition that had Peterborough Phantoms as an opponent and a date of 2?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_12 (format VARCHAR, catalog VARCHAR)
<</SYS>>
SELECT format FROM table_name_12 WHERE catalog = "alca-487"[/INST] What is the Format for the alca-487 catalog?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_16575609_5 (college VARCHAR, pick__number VARCHAR)
<</SYS>>
SELECT COUNT(college) FROM table_16575609_5 WHERE pick__number = 36[/INST] How many colleges did the player drafted at 36 attend?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_67 (opponent VARCHAR, record VARCHAR)
<</SYS>>
SELECT opponent FROM table_name_67 WHERE record = "71-78"[/INST] Who was the opponent at the game when the record was 71-78?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_20 (team__number2 VARCHAR)
<</SYS>>
SELECT 2 AS nd_leg FROM table_name_20 WHERE team__number2 = "dinamo minsk"[/INST] What is the 2nd leg of dinamo minsk team #2?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_53 (game INTEGER, score VARCHAR)
<</SYS>>
SELECT MIN(game) FROM table_name_53 WHERE score = "102-104"[/INST] What is the lowest game when the score is 102-104?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_76 (attendance INTEGER, tie_no VARCHAR)
<</SYS>>
SELECT SUM(attendance) FROM table_name_76 WHERE tie_no = 19[/INST] How many attended tie number 19?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1886270_1 (cr_no INTEGER)
<</SYS>>
SELECT MIN(cr_no) FROM table_1886270_1[/INST] What is the lowest cr number?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_77 (genre VARCHAR, station VARCHAR)
<</SYS>>
SELECT genre FROM table_name_77 WHERE station = "bbc world service"[/INST] What is the genre of the BBC World Service?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_98 (driver VARCHAR, grid VARCHAR)
<</SYS>>
SELECT driver FROM table_name_98 WHERE grid = 18[/INST] What driver has grid number 18?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_95 (fall_08 INTEGER, fall_09 VARCHAR, fall_05 VARCHAR)
<</SYS>>
SELECT MAX(fall_08) FROM table_name_95 WHERE fall_09 = 792 AND fall_05 < 791[/INST] What is the largest value for Fall 08 when Fall 09 is 792 and Fall 05 is less than 791?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_84 (designation VARCHAR, quantity VARCHAR)
<</SYS>>
SELECT designation FROM table_name_84 WHERE quantity = 52[/INST] Which Designation has a Quantity of 52?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_71 (Id VARCHAR)
<</SYS>>
SELECT SUM(2007) FROM table_name_71 WHERE 2006 = 0.2 AND 2010 < 0.1[/INST] How many 2007s have 0.2 as a 2006, with a 2010 less than 0.1?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_88 (Id VARCHAR)
<</SYS>>
SELECT 2008 FROM table_name_88 WHERE 1998 = "a" AND 2002 = "1r" AND 2004 = "2r"[/INST] Name the 2008 with 1998 of a and 2002 of 1r with 2004 of 2r</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_56 (erp_w INTEGER, class VARCHAR, frequency_mhz VARCHAR)
<</SYS>>
SELECT SUM(erp_w) FROM table_name_56 WHERE class = "d" AND frequency_mhz = 98.7[/INST] Name the sum of ERP W for class of d and frequency mhz of 98.7</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_29 (league_cup INTEGER, position VARCHAR, UEfa_cup VARCHAR)
<</SYS>>
SELECT SUM(league_cup) FROM table_name_29 WHERE position = "defender" AND UEfa_cup < 10[/INST] What is the sum of the appearances at the league cup for the defender who had less than 10 appearances at the UEFA cup?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_70 (finish VARCHAR, player VARCHAR, total VARCHAR, to_par VARCHAR)
<</SYS>>
SELECT finish FROM table_name_70 WHERE total > 286 AND to_par = "+4" AND player = "bob tway"[/INST] What was the finish with a total larger than 286, a to par of +4 and Bob Tway played?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE Person (name VARCHAR, age INTEGER); CREATE TABLE person (name VARCHAR, age INTEGER)
<</SYS>>
SELECT name FROM Person WHERE age = (SELECT MAX(age) FROM person)[/INST] Who is the oldest person?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_80 (year INTEGER, result VARCHAR, location VARCHAR)
<</SYS>>
SELECT SUM(year) FROM table_name_80 WHERE result < 20.26 AND location = "eugene"[/INST] Which Year has a Result smaller than 20.26, and a Location of eugene?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_15 (mintage VARCHAR, theme VARCHAR)
<</SYS>>
SELECT mintage FROM table_name_15 WHERE theme = "santa claus"[/INST] What was the mintage when the theme was Santa Claus?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_16 (round VARCHAR, position VARCHAR)
<</SYS>>
SELECT COUNT(round) FROM table_name_16 WHERE position = "defensive end"[/INST] How many Rounds have a Defensive End Pick?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_70 (date VARCHAR, japan VARCHAR)
<</SYS>>
SELECT date FROM table_name_70 WHERE japan = "0.59 million"[/INST] Which date had Japanese sales of 0.59 million?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_65 (kerry__number INTEGER, others__percentage VARCHAR, kerry__percentage VARCHAR)
<</SYS>>
SELECT MIN(kerry__number) FROM table_name_65 WHERE others__percentage = "0.8%" AND kerry__percentage = "70.4%"[/INST] What was Kerry's lowest number of votes where Other received 0.8% and Kerry 70.4%?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE Other_Available_Features (Id VARCHAR)
<</SYS>>
SELECT COUNT(*) FROM Other_Available_Features[/INST] How many available features are there in total?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_127511_1 (ion_torrent_pgm VARCHAR, sanger_3730xl VARCHAR)
<</SYS>>
SELECT COUNT(ion_torrent_pgm) FROM table_127511_1 WHERE sanger_3730xl = "$2400 USD"[/INST] How many times was Sanger 3730xl $2400 usd?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_19643196_1 (fleet__number VARCHAR, length__ft_ VARCHAR)
<</SYS>>
SELECT fleet__number FROM table_19643196_1 WHERE length__ft_ = 30[/INST] What is the fleet number when the length (ft) is 30?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_15869204_5 (high_assists VARCHAR, location_attendance VARCHAR)
<</SYS>>
SELECT high_assists FROM table_15869204_5 WHERE location_attendance = "Delta Center 19,639"[/INST] Name the high assists for delta center 19,639</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_14889988_1 (title VARCHAR, written_by VARCHAR)
<</SYS>>
SELECT title FROM table_14889988_1 WHERE written_by = "Robert Carlock & Dana Klein Borkow"[/INST] What is the title for the episode written by Robert Carlock & Dana Klein Borkow?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE Student (city_code VARCHAR)
<</SYS>>
SELECT COUNT(*) FROM Student WHERE city_code = "HKG" OR city_code = "CHI"[/INST] How many students live in HKG or CHI?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_80 (constructor VARCHAR, grid VARCHAR, time_retired VARCHAR)
<</SYS>>
SELECT constructor FROM table_name_80 WHERE grid > 21 AND time_retired = "suspension"[/INST] Who built the 21 grid car that retired due to suspension?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1341865_44 (party VARCHAR, district VARCHAR)
<</SYS>>
SELECT party FROM table_1341865_44 WHERE district = "Tennessee 3"[/INST] what's party with district being tennessee 3</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_55 (overall INTEGER, round VARCHAR)
<</SYS>>
SELECT SUM(overall) FROM table_name_55 WHERE round = 3[/INST] What is the overall sum of round 3?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_11147852_1 (channel_tv___dt__ VARCHAR, year_of_affiliation VARCHAR)
<</SYS>>
SELECT channel_tv___dt__ FROM table_11147852_1 WHERE year_of_affiliation = "2002"[/INST] What channels have stations that were affiliated in 2002?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_25353861_5 (rebounds VARCHAR, player VARCHAR)
<</SYS>>
SELECT rebounds FROM table_25353861_5 WHERE player = "Tammy Sutton-Brown"[/INST] How many rebounds did Tammy Sutton-Brown have?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE playlists (name VARCHAR)
<</SYS>>
SELECT name FROM playlists[/INST] List the name of all playlist.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_56 (year INTEGER, points VARCHAR, team VARCHAR, wins VARCHAR)
<</SYS>>
SELECT MAX(year) FROM table_name_56 WHERE team = "repsol honda" AND wins < 4 AND points < 162[/INST] What is the highest year that Carlos drove for repsol honda and had less than 4 wins and less than 162 points?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_6 (chef VARCHAR, restaurant_name VARCHAR, location VARCHAR, original_name VARCHAR)
<</SYS>>
SELECT chef FROM table_name_6 WHERE location = "toronto, on" AND original_name = "n/a" AND restaurant_name = "bagel world"[/INST] What chef that has a location in Toronto, ON, that has n/a as the original name, and a Restaurant Name of Bagel World?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_18 (position INTEGER, pilot VARCHAR)
<</SYS>>
SELECT AVG(position) FROM table_name_18 WHERE pilot = "erwin sommer"[/INST] What is Erwin Sommer's average position?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_71 (goal_ratio INTEGER, debut_in_europe VARCHAR, goals VARCHAR, games VARCHAR)
<</SYS>>
SELECT AVG(goal_ratio) FROM table_name_71 WHERE goals > 1 AND games > 161 AND debut_in_europe < 1985[/INST] What's the average goal ratio with Goals larger than 1, Games larger than 161, and a Debut in Europe smaller than 1985?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_96 (title VARCHAR, language VARCHAR, network VARCHAR)
<</SYS>>
SELECT title FROM table_name_96 WHERE language = "korean" AND network = "kbs2"[/INST] What is the title for the Korean progran on KBS2?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_22133191_3 (date_of_appointment VARCHAR, position_in_table VARCHAR)
<</SYS>>
SELECT date_of_appointment FROM table_22133191_3 WHERE position_in_table = "10th"[/INST] What was the date of appointment for the 10th person in position?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_16 (rank INTEGER, country VARCHAR)
<</SYS>>
SELECT MIN(rank) FROM table_name_16 WHERE country = "bulgaria"[/INST] What is the rank for the competitor from Bulgaria?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_67 (name VARCHAR, took_office VARCHAR)
<</SYS>>
SELECT name FROM table_name_67 WHERE took_office = "march 4, 1875"[/INST] Who has Took Office of march 4, 1875?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_12 (average_annual_output__million_kwh_ INTEGER, name VARCHAR, installed_capacity__megawatts_ VARCHAR)
<</SYS>>
SELECT AVG(average_annual_output__million_kwh_) FROM table_name_12 WHERE name = "culligran" AND installed_capacity__megawatts_ < 19[/INST] What is the Average annual output for Culligran power station with an Installed capacity less than 19?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_43 (simplified_chinese VARCHAR, standard_order VARCHAR, transcription__based_on_pinyin_ VARCHAR)
<</SYS>>
SELECT simplified_chinese FROM table_name_43 WHERE standard_order > 4 AND transcription__based_on_pinyin_ = "bei hui feng"[/INST] What is the simplified Chinese with a standard order over 4, and the transcription of Bei Hui Feng?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_68 (model VARCHAR, year VARCHAR, fuel_or_propulsion VARCHAR, manufacturer VARCHAR)
<</SYS>>
SELECT model FROM table_name_68 WHERE fuel_or_propulsion = "diesel" AND manufacturer = "orion" AND year = 2005[/INST] Tell me the model with fuel or propulsion of diesel and orion manufacturer in 2005</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_19704392_1 (modified_speed__6th_gear_ INTEGER, standard_speed__6th_gear_ VARCHAR)
<</SYS>>
SELECT MAX(modified_speed__6th_gear_) FROM table_19704392_1 WHERE standard_speed__6th_gear_ = "98"[/INST] when the max speed for modified speed (6th gear) where standard speed (6th gear) is 98</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_10420426_1 (podiums VARCHAR, points VARCHAR)
<</SYS>>
SELECT podiums FROM table_10420426_1 WHERE points = 144[/INST] What is the podium for 144 points?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE loan (cust_id VARCHAR, amount INTEGER); CREATE TABLE customer (cust_name VARCHAR, cust_id VARCHAR)
<</SYS>>
SELECT T1.cust_name FROM customer AS T1 JOIN loan AS T2 ON T1.cust_id = T2.cust_id GROUP BY T1.cust_name ORDER BY SUM(T2.amount) DESC LIMIT 1[/INST] Find the name of customer who has the highest amount of loans.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_27 (home VARCHAR, attendance VARCHAR)
<</SYS>>
SELECT home FROM table_name_27 WHERE attendance = 3305[/INST] Who was the home team with 3305 in attendance?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_27003186_3 (other VARCHAR, registered_voters VARCHAR)
<</SYS>>
SELECT other FROM table_27003186_3 WHERE registered_voters = "50.7%"[/INST] What is other when registered voters is 50.7%?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_4 (winning_score VARCHAR, date VARCHAR)
<</SYS>>
SELECT winning_score FROM table_name_4 WHERE date = "7 jun 1976"[/INST] What was the winning score on 7 jun 1976?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_29 (original_teams VARCHAR, the_biggest_loser VARCHAR)
<</SYS>>
SELECT original_teams FROM table_name_29 WHERE the_biggest_loser = "danni allen"[/INST] What were the original teams for the season that was won by Danni Allen?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_62 (population_112008 INTEGER, urban_area VARCHAR, population_112006 VARCHAR)
<</SYS>>
SELECT SUM(population_112008) FROM table_name_62 WHERE urban_area = "tønsberg" AND population_112006 > 45.447[/INST] Name the sum of population 1.1.2008 for tønsberg and population 1.1.2006 more than 45.447</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2139111_1 (regular_season VARCHAR, year VARCHAR)
<</SYS>>
SELECT regular_season FROM table_2139111_1 WHERE year = 2005[/INST] Name the regular season for 2005</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_11545282_19 (player VARCHAR, no VARCHAR)
<</SYS>>
SELECT player FROM table_11545282_19 WHERE no = 6[/INST] Which player wears the number 6?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_9 (draft VARCHAR, pick VARCHAR)
<</SYS>>
SELECT draft FROM table_name_9 WHERE pick = "46"[/INST] In which year was the Pick #46?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_7 (res VARCHAR, record VARCHAR)
<</SYS>>
SELECT res FROM table_name_7 WHERE record = "3–1"[/INST] Record of 3–1 had what Res?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_58 (team_1 VARCHAR)
<</SYS>>
SELECT 1 AS st_leg FROM table_name_58 WHERE team_1 = "chelsea"[/INST] What is the 1st leg when team 1 is Chelsea?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_14 (regular_season_vacated VARCHAR, record_as_played VARCHAR)
<</SYS>>
SELECT regular_season_vacated FROM table_name_14 WHERE record_as_played = "12–19"[/INST] What is the regular season vacated for the Record as played of 12–19?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_21 (score VARCHAR, goal VARCHAR, result VARCHAR, competition VARCHAR)
<</SYS>>
SELECT score FROM table_name_21 WHERE result = "2–1" AND competition = "friendly" AND goal < 17[/INST] Which Score has a Result of 2–1, and a Competition of friendly, and a Goal smaller than 17?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_98 (name VARCHAR, location VARCHAR, entered_service VARCHAR)
<</SYS>>
SELECT name FROM table_name_98 WHERE location = "angola" AND entered_service = "1988"[/INST] Which is located in Angola and entered service in 1988?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_5 (score VARCHAR, team_2 VARCHAR)
<</SYS>>
SELECT score FROM table_name_5 WHERE team_2 = "stade lavallois (d1)"[/INST] What was the score of team 2 Stade Lavallois (D1)?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_7 (year VARCHAR, composer VARCHAR)
<</SYS>>
SELECT COUNT(year) FROM table_name_7 WHERE composer = "mejo joseph"[/INST] What year was the composition by Mejo Joseph?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_20 (home_team VARCHAR, tie_no VARCHAR)
<</SYS>>
SELECT home_team FROM table_name_20 WHERE tie_no = "2"[/INST] What is the Home team of Tie no 2?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1357052_6 (software_executable_space_protection VARCHAR, distribution VARCHAR)
<</SYS>>
SELECT software_executable_space_protection FROM table_1357052_6 WHERE distribution = "Gentoo"[/INST] what's the software executable space protection with dbeingtribution being gentoo</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_3 (score VARCHAR, home_team VARCHAR)
<</SYS>>
SELECT score FROM table_name_3 WHERE home_team = "wigan athletic"[/INST] What is the score of the wigan athletic home team?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_71 (power VARCHAR, city_of_license VARCHAR)
<</SYS>>
SELECT power FROM table_name_71 WHERE city_of_license = "belleville"[/INST] what is the power when the city of license is belleville?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_25773915_11 (int INTEGER, player VARCHAR)
<</SYS>>
SELECT MAX(int) FROM table_25773915_11 WHERE player = "Maake Kemoeatu"[/INST] If the player is Maake Kemoeatu, what is the int maximum?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_70 (set_2 VARCHAR, set_3 VARCHAR)
<</SYS>>
SELECT set_2 FROM table_name_70 WHERE set_3 = "20–25"[/INST] Which Set 2 has a Set 3 of 20–25?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_81 (score VARCHAR, country VARCHAR)
<</SYS>>
SELECT score FROM table_name_81 WHERE country = "canada"[/INST] What is Canada's score?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_1 (time VARCHAR, event VARCHAR)
<</SYS>>
SELECT time FROM table_name_1 WHERE event = "k-1 the challenge 1999"[/INST] What time was the event k-1 the challenge 1999?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_4 (total INTEGER, nation VARCHAR, bronze VARCHAR)
<</SYS>>
SELECT MAX(total) FROM table_name_4 WHERE nation = "united states" AND bronze > 3[/INST] Which Total has a Nation of united states, and a Bronze larger than 3?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_35 (year VARCHAR, playoffs VARCHAR)
<</SYS>>
SELECT COUNT(year) FROM table_name_35 WHERE playoffs = "quarterfinals"[/INST] Name the total number of years for quarterfinals</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_29701419_2 (total_appearances VARCHAR, league_appearances VARCHAR)
<</SYS>>
SELECT COUNT(total_appearances) FROM table_29701419_2 WHERE league_appearances = 192[/INST] How many total appearances are there when the league appearances is 192?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE station (LOCATION VARCHAR)
<</SYS>>
SELECT LOCATION FROM station GROUP BY LOCATION HAVING COUNT(*) = 1[/INST] Show all locations with only 1 station.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_90 (cyclist VARCHAR, nation VARCHAR)
<</SYS>>
SELECT cyclist FROM table_name_90 WHERE nation = "australia"[/INST] Which cyclist is from Australia?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_75 (name VARCHAR, lost VARCHAR, position VARCHAR)
<</SYS>>
SELECT name FROM table_name_75 WHERE lost = 2 AND position > 1[/INST] Who lost 2 and had a position bigger than 1?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_31 (colour VARCHAR, compound_name VARCHAR)
<</SYS>>
SELECT colour FROM table_name_31 WHERE compound_name = "super-soft"[/INST] What color is the super-soft compound?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_60 (suburb VARCHAR, roll VARCHAR)
<</SYS>>
SELECT suburb FROM table_name_60 WHERE roll = 741[/INST] What is the name of the suburb with a roll of 741?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_260938_1 (base_10 VARCHAR, peletier VARCHAR)
<</SYS>>
SELECT base_10 FROM table_260938_1 WHERE peletier = "Bi llion"[/INST] Name the base 10 for peletier for bi llion</s>
|
<s>[INST] <<SYS>>
CREATE TABLE problems (problem_id VARCHAR, date_problem_reported INTEGER)
<</SYS>>
SELECT problem_id FROM problems WHERE date_problem_reported > "1978-06-26"[/INST] What are the ids of the problems which are reported after 1978-06-26?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_24074130_5 (surface VARCHAR, against VARCHAR)
<</SYS>>
SELECT surface FROM table_24074130_5 WHERE against = "Sweden"[/INST] What is every surface against Sweden?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_44 (species_authority VARCHAR, name VARCHAR)
<</SYS>>
SELECT species_authority FROM table_name_44 WHERE name = "true's beaked whale"[/INST] Which Species/Authority has a Name of true's beaked whale?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_23575917_7 (scores VARCHAR, lees_team VARCHAR)
<</SYS>>
SELECT scores FROM table_23575917_7 WHERE lees_team = "Clare Balding and Miranda Hart"[/INST] If the lees team is Clare Balding and Miranda Hart, what was the score?</s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.