text_output
stringlengths 114
770
|
|---|
<s>[INST] <<SYS>>
CREATE TABLE table_name_69 (height VARCHAR, name VARCHAR)
<</SYS>>
SELECT height FROM table_name_69 WHERE name = "dylan postl"[/INST] How tall is Dylan Postl?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_61 (gold VARCHAR, bronze VARCHAR)
<</SYS>>
SELECT gold FROM table_name_61 WHERE bronze = "kim sun-bin"[/INST] What's the Gold that also has Bronze of Kim Sun-Bin?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2886617_4 (nationality VARCHAR, nhl_team VARCHAR)
<</SYS>>
SELECT nationality FROM table_2886617_4 WHERE nhl_team = "Vancouver Canucks"[/INST] What country does the player who joined the Vancouver Canucks originally hail from?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_47 (starts VARCHAR, driver VARCHAR, points VARCHAR)
<</SYS>>
SELECT COUNT(starts) FROM table_name_47 WHERE driver = "nasser al-attiyah" AND points > 1[/INST] What's the total starts with more points than 1 and the driver is Nasser Al-Attiyah?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_14 (grid INTEGER, laps VARCHAR, driver VARCHAR)
<</SYS>>
SELECT SUM(grid) FROM table_name_14 WHERE laps > 73 AND driver = "bruce mclaren"[/INST] What is the grid total for bruce mclaren with over 73 laps?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE STUDENT (Age INTEGER, StuID VARCHAR, Sex VARCHAR); CREATE TABLE VOTING_RECORD (Election_Cycle VARCHAR)
<</SYS>>
SELECT AVG(T1.Age) FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID = SECRETARY_Vote WHERE T1.Sex = "F" AND T2.Election_Cycle = "Spring"[/INST] Find the average age of female (sex is F) students who have secretary votes in the spring election cycle.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_250309_1 (models_produced VARCHAR, plant VARCHAR)
<</SYS>>
SELECT COUNT(models_produced) FROM table_250309_1 WHERE plant = "Castle Bromwich"[/INST] how many models produced where the plant is castle bromwich?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_37 (total INTEGER, gold VARCHAR, bronze VARCHAR)
<</SYS>>
SELECT SUM(total) FROM table_name_37 WHERE gold > 2 AND bronze > 0[/INST] What is the total for the team with more than 2 golds and more than 0 bronze?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE professionals (role_code VARCHAR, street VARCHAR, city VARCHAR, state VARCHAR)
<</SYS>>
SELECT role_code, street, city, state FROM professionals WHERE city LIKE '%West%'[/INST] Which professionals live in a city containing the substring 'West'? List his or her role, street, city and state.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_16 (mission VARCHAR, resident_country VARCHAR)
<</SYS>>
SELECT mission FROM table_name_16 WHERE resident_country = "switzerland"[/INST] What is the mission for switzerland as a resident County?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2553861_1 (league VARCHAR, playoffs VARCHAR)
<</SYS>>
SELECT league FROM table_2553861_1 WHERE playoffs = "Conference Finals"[/INST] Name the league for conference finals</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_19 (player VARCHAR, total VARCHAR)
<</SYS>>
SELECT player FROM table_name_19 WHERE total = 160[/INST] Which player has a total of 160?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_56 (money___ INTEGER, to_par VARCHAR, score VARCHAR)
<</SYS>>
SELECT MAX(money___) AS $__ FROM table_name_56 WHERE to_par = "–1" AND score = 73 - 70 - 73 - 71 = 287[/INST] Which money is the highest one that has a To par of –1, and a Score of 73-70-73-71=287?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_38 (attendance VARCHAR, record VARCHAR)
<</SYS>>
SELECT attendance FROM table_name_38 WHERE record = "47–63"[/INST] How many people attended when the record was broken with 47–63?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_77 (record VARCHAR, score VARCHAR)
<</SYS>>
SELECT record FROM table_name_77 WHERE score = "21-16"[/INST] What was the record at the game with a score of 21-16?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_19 (score VARCHAR, partner VARCHAR)
<</SYS>>
SELECT score FROM table_name_19 WHERE partner = "lorenzo manta"[/INST] What was the score when Mark parterned with lorenzo manta?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_82 (oberliga_südwest VARCHAR, oberliga_bayern VARCHAR)
<</SYS>>
SELECT oberliga_südwest FROM table_name_82 WHERE oberliga_bayern = "fc schweinfurt 05"[/INST] Which Oberliga Südwest has an Oberliga Bayern of fc schweinfurt 05?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_40 (runner_up VARCHAR, tournament VARCHAR)
<</SYS>>
SELECT runner_up FROM table_name_40 WHERE tournament = "algarve"[/INST] Name the runner-up for algarve tournament</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_97 (liberal_party VARCHAR, conservative_party VARCHAR, labour_party VARCHAR)
<</SYS>>
SELECT liberal_party FROM table_name_97 WHERE conservative_party = "16 (-1)" AND labour_party = "6 (+2)"[/INST] What was the Liberal Party result from the election having a Conservative Party result of 16 (-1) and Labour of 6 (+2)?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_77 (record VARCHAR, score VARCHAR)
<</SYS>>
SELECT record FROM table_name_77 WHERE score = "7–6 (12)"[/INST] Which record has a score of 7–6 (12)?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_25721_3 (airdate VARCHAR, dave_ja_vu_viewers VARCHAR)
<</SYS>>
SELECT airdate FROM table_25721_3 WHERE dave_ja_vu_viewers = 106000[/INST] What was the airdate of the episode with 106000 dave ja vu viewers?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_38 (position VARCHAR, school VARCHAR, points VARCHAR)
<</SYS>>
SELECT position FROM table_name_38 WHERE school = "ohio state" AND points = "412"[/INST] What position does the winner from Ohio State with 412 points play?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_52 (time_elapsed VARCHAR, launched VARCHAR, closest_approach VARCHAR)
<</SYS>>
SELECT time_elapsed FROM table_name_52 WHERE launched = "15 october 1997" AND closest_approach = "24 june 1999"[/INST] What Time elapsed has both the Launched of 15 October 1997 and the Closest approach of 24 June 1999?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_53 (frequency VARCHAR, callsign VARCHAR)
<</SYS>>
SELECT frequency FROM table_name_53 WHERE callsign = "dybt"[/INST] What is the frequency for the station with DYBT as its callsign?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE ship (lost_in_battle VARCHAR, name VARCHAR); CREATE TABLE battle (name VARCHAR, date VARCHAR, id VARCHAR)
<</SYS>>
SELECT T1.name, T1.date FROM battle AS T1 JOIN ship AS T2 ON T1.id = T2.lost_in_battle WHERE T2.name = 'Lettice' INTERSECT SELECT T1.name, T1.date FROM battle AS T1 JOIN ship AS T2 ON T1.id = T2.lost_in_battle WHERE T2.name = 'HMS Atalanta'[/INST] List the name and date the battle that has lost the ship named 'Lettice' and the ship named 'HMS Atalanta'</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_1 (round VARCHAR, time VARCHAR)
<</SYS>>
SELECT COUNT(round) FROM table_name_1 WHERE time = "6:21"[/INST] What is the number of rounds that took place for the fight that lasted 6:21?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_49 (crowd INTEGER, away_team VARCHAR)
<</SYS>>
SELECT MIN(crowd) FROM table_name_49 WHERE away_team = "footscray"[/INST] What is the smallest crowd that Footscray had as the away team?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_69 (country VARCHAR, team VARCHAR)
<</SYS>>
SELECT country FROM table_name_69 WHERE team = "eurasia astana"[/INST] What country is the Eurasia Astana team from?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_46 (constructor VARCHAR, winning_driver VARCHAR, race VARCHAR)
<</SYS>>
SELECT constructor FROM table_name_46 WHERE winning_driver = "jack brabham" AND race = "monaco grand prix"[/INST] What was the constructor when Jack Brabham was the driver at the Monaco Grand Prix?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_35 (points VARCHAR, try_bonus VARCHAR)
<</SYS>>
SELECT points FROM table_name_35 WHERE try_bonus = "2"[/INST] How many points were there when the try bonus was 2?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_20539826_1 (mccain_percentage VARCHAR, county VARCHAR)
<</SYS>>
SELECT mccain_percentage FROM table_20539826_1 WHERE county = "DeBaca"[/INST] How many percent of the votes in Debaca did McCain get?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_9 (overall VARCHAR, combined VARCHAR, downhill VARCHAR)
<</SYS>>
SELECT overall FROM table_name_9 WHERE combined = "1" AND downhill = "24"[/INST] How many overalls has 1 combined and 24 downhills?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_83 (recorded VARCHAR, track VARCHAR, translation VARCHAR)
<</SYS>>
SELECT recorded FROM table_name_83 WHERE track > 7 AND translation = "death"[/INST] Name the song that has a track larger than 7 and means death.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_21 (week INTEGER, game_site VARCHAR, attendance VARCHAR)
<</SYS>>
SELECT MIN(week) FROM table_name_21 WHERE game_site = "mile high stadium" AND attendance > 75 OFFSET 007[/INST] What was the first week when there was an attendance over 75,007 at Mile High Stadium?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_80 (points INTEGER, position VARCHAR, played VARCHAR)
<</SYS>>
SELECT MAX(points) FROM table_name_80 WHERE position = 5 AND played < 18[/INST] Which Points is the highest one that has a Position of 5, and a Played smaller than 18?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_98 (date VARCHAR, opponent VARCHAR)
<</SYS>>
SELECT date FROM table_name_98 WHERE opponent = "cleveland browns"[/INST] What is the date of the game when the opponent is the Cleveland Browns?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_24 (gold INTEGER, silver VARCHAR, bronze VARCHAR, total VARCHAR)
<</SYS>>
SELECT MIN(gold) FROM table_name_24 WHERE bronze = 0 AND total < 2 AND silver < 0[/INST] What is the lowest gold when there are 0 bronze and the total is less than 2, and silver is less than 0?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_35 (points INTEGER, races INTEGER)
<</SYS>>
SELECT MIN(points) FROM table_name_35 WHERE races > 16[/INST] What is the lowest number of points for Drivers that have raced in more than 16 Races?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_2 (flight_day VARCHAR, artist VARCHAR)
<</SYS>>
SELECT flight_day FROM table_name_2 WHERE artist = "u2"[/INST] On what flight day was U2 played?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_77 (city VARCHAR, name VARCHAR)
<</SYS>>
SELECT city FROM table_name_77 WHERE name = "jal hotel"[/INST] What City is the Jal hotel in?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_88 (country VARCHAR, player VARCHAR)
<</SYS>>
SELECT country FROM table_name_88 WHERE player = "geoff ogilvy"[/INST] what is the country for geoff ogilvy?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_52 (player VARCHAR, round VARCHAR, school_club_team VARCHAR)
<</SYS>>
SELECT player FROM table_name_52 WHERE round > 5 AND school_club_team = "bethune-cookman"[/INST] Which Player has a Round larger than 5, and a School/Club Team of bethune-cookman?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_23575917_2 (scores VARCHAR, davids_team VARCHAR)
<</SYS>>
SELECT COUNT(scores) FROM table_23575917_2 WHERE davids_team = "David Baddiel and Maureen Lipman"[/INST] Name the scores for david baddiel and maureen lipman</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_75 (track VARCHAR, recorded VARCHAR)
<</SYS>>
SELECT COUNT(track) FROM table_name_75 WHERE recorded = "1964-01-08"[/INST] How many tracks were Recorded 1964-01-08?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_54 (visitor VARCHAR, record VARCHAR)
<</SYS>>
SELECT visitor FROM table_name_54 WHERE record = "14–17–5"[/INST] Who is the visitor with a record of 14–17–5?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_26099252_1 (vp9___webm__ VARCHAR, h264 VARCHAR)
<</SYS>>
SELECT vp9___webm__ FROM table_26099252_1 WHERE h264 = "9.0"[/INST] When h.264 is 9.0, how much is vp9 ( webm )</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_54 (loss VARCHAR, record VARCHAR)
<</SYS>>
SELECT loss FROM table_name_54 WHERE record = "48-37"[/INST] Name the loss for 48-37</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_20971444_3 (episode VARCHAR, rating__18_49_ VARCHAR)
<</SYS>>
SELECT COUNT(episode) FROM table_20971444_3 WHERE rating__18_49_ = "3.6"[/INST] Name the episode for 18-49 rating being 3.6</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_58 (nba_draft VARCHAR, college VARCHAR)
<</SYS>>
SELECT nba_draft FROM table_name_58 WHERE college = "ohio state"[/INST] What is the NBA draft for ohio state?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_41 (october INTEGER, game VARCHAR)
<</SYS>>
SELECT MAX(october) FROM table_name_41 WHERE game = 9[/INST] Which game has the highest score in October with 9?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_41 (crowd VARCHAR, date VARCHAR, away_team VARCHAR)
<</SYS>>
SELECT crowd FROM table_name_41 WHERE date = "4 july 1981" AND away_team = "essendon"[/INST] What was the crowd size on 4 july 1981, and a Away team of essendon?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_88 (date VARCHAR, attendance VARCHAR)
<</SYS>>
SELECT date FROM table_name_88 WHERE attendance = "35,763"[/INST] I want to know the date with attendance of 35,763</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_7 (southbridge VARCHAR, model VARCHAR)
<</SYS>>
SELECT southbridge FROM table_name_7 WHERE model = "amd-640 chipset"[/INST] What shows for Southbridge when the Model number is amd-640 chipset?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2387461_1 (assists_per_game VARCHAR, points_per_game VARCHAR)
<</SYS>>
SELECT assists_per_game FROM table_2387461_1 WHERE points_per_game = "7.7"[/INST] How may assists per game have 7.7 points per game?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_17 (launched VARCHAR, spacecraft VARCHAR)
<</SYS>>
SELECT launched FROM table_name_17 WHERE spacecraft = "mariner 4"[/INST] What launched has mariner 4 as the spacecraft?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_59 (german VARCHAR, hungarian VARCHAR, year VARCHAR, other VARCHAR)
<</SYS>>
SELECT german FROM table_name_59 WHERE year > 1910 AND other = "143" AND hungarian = "32"[/INST] What is the german total population after 1910 with an other total of 143 and 32 hungarians?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_85 (batting_style VARCHAR, player VARCHAR)
<</SYS>>
SELECT batting_style FROM table_name_85 WHERE player = "makhaya ntini"[/INST] What is the batting style of Makhaya Ntini?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_23286158_8 (record VARCHAR, location_attendance VARCHAR)
<</SYS>>
SELECT record FROM table_23286158_8 WHERE location_attendance = "Rose Garden 20,565"[/INST] Name the record for rose garden 20,565 attendance</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_97 (date VARCHAR, plant_patent_number VARCHAR)
<</SYS>>
SELECT date FROM table_name_97 WHERE plant_patent_number = "us plant patent 12098"[/INST] What date had the patent number US plant patent 12098?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_20 (circuit VARCHAR, winning_constructor VARCHAR, winning_driver VARCHAR)
<</SYS>>
SELECT circuit FROM table_name_20 WHERE winning_constructor = "bugatti" AND winning_driver = "edward bret"[/INST] What Circuit has a Winning constructor of bugatti, and a Winning driver of edward bret?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_72 (rookie_of_the_year VARCHAR, season VARCHAR)
<</SYS>>
SELECT rookie_of_the_year FROM table_name_72 WHERE season = 2000[/INST] Who was the Rookie of the Year for the Season in 2000?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_54 (district VARCHAR, constituency_number VARCHAR)
<</SYS>>
SELECT district FROM table_name_54 WHERE constituency_number = "98"[/INST] What district has 98 constituencies?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_89 (date VARCHAR, home_team VARCHAR)
<</SYS>>
SELECT date FROM table_name_89 WHERE home_team = "richmond"[/INST] When did the home team of Richmond play?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_15 (origin VARCHAR, final_destination VARCHAR)
<</SYS>>
SELECT origin FROM table_name_15 WHERE final_destination = "brandholmen"[/INST] What is the origin of the one whose final destination is Brandholmen?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_34 (crowd INTEGER, venue VARCHAR)
<</SYS>>
SELECT SUM(crowd) FROM table_name_34 WHERE venue = "victoria park"[/INST] In the game at Victoria Park, what was the number of people in the crowd?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_11951237_1 (directed_by VARCHAR, series__number VARCHAR)
<</SYS>>
SELECT directed_by FROM table_11951237_1 WHERE series__number = 1[/INST] Who was the director of the Series 1 episode?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_160510_1 (modern_equivalent VARCHAR, province VARCHAR)
<</SYS>>
SELECT modern_equivalent FROM table_160510_1 WHERE province = "Hanju"[/INST] What are the modern equivalents for the province of "hanju"?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_17058178_11 (high_rebounds VARCHAR, date VARCHAR)
<</SYS>>
SELECT high_rebounds FROM table_17058178_11 WHERE date = "April 7"[/INST] Name the high reobounds for april 7</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_48 (team VARCHAR, finish VARCHAR)
<</SYS>>
SELECT team FROM table_name_48 WHERE finish = "19"[/INST] What is the name of the team with a finish of 19?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_31 (performer_1 VARCHAR, date VARCHAR)
<</SYS>>
SELECT performer_1 FROM table_name_31 WHERE date = "8 july 1994"[/INST] Date of 8 july 1994 involves which performer 1?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_25479607_3 (fixed_charge___rs__kwh_ VARCHAR, unit__kwh__time_range VARCHAR)
<</SYS>>
SELECT fixed_charge___rs__kwh_ FROM table_25479607_3 WHERE unit__kwh__time_range = "I-2: Peak (18:30-22:30)"[/INST] What is the fixed charge for the user with a unit/time range of i-2: peak (18:30-22:30)?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_43 (date VARCHAR, record VARCHAR)
<</SYS>>
SELECT date FROM table_name_43 WHERE record = "21-11"[/INST] What date was the record 21-11?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_57 (engine_s_ VARCHAR, year VARCHAR, points VARCHAR)
<</SYS>>
SELECT engine_s_ FROM table_name_57 WHERE year = 1966 AND points = "42"[/INST] Which engine(s) has a year of 1966, and a point of 42.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_48 (catalogue VARCHAR, date VARCHAR)
<</SYS>>
SELECT catalogue FROM table_name_48 WHERE date = "october 15, 2004"[/INST] Name the october 15, 2004 catalogue</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_94 (tuesday VARCHAR, saturday VARCHAR)
<</SYS>>
SELECT tuesday FROM table_name_94 WHERE saturday = "土曜日 doyōbi"[/INST] Which Tuesday has a Saturday of 土曜日 doyōbi?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_68 (constructor VARCHAR, grid VARCHAR, laps VARCHAR)
<</SYS>>
SELECT constructor FROM table_name_68 WHERE grid < 20 AND laps = 6[/INST] I want the constructor for grid less than 20 and Laps of 6</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_5 (laps INTEGER, driver VARCHAR)
<</SYS>>
SELECT AVG(laps) FROM table_name_5 WHERE driver = "bob wollek"[/INST] How many Laps did Bob Wollek have?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_40 (socket VARCHAR, turbo VARCHAR)
<</SYS>>
SELECT socket FROM table_name_40 WHERE turbo = "8/8/10/11"[/INST] What is the socked when the turbo is 8/8/10/11?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_88 (silver INTEGER, rank VARCHAR, gold VARCHAR, total VARCHAR)
<</SYS>>
SELECT SUM(silver) FROM table_name_88 WHERE gold = 2 AND total < 15 AND rank > 5[/INST] What is the sum of sliver medals when there were 2 gold medals, less than 15 total medals, and the rank is greater than 5?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_91 (title__english_ VARCHAR, number_of_season VARCHAR)
<</SYS>>
SELECT title__english_ FROM table_name_91 WHERE number_of_season = 6[/INST] What is the English title for season 6?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_29 (position VARCHAR, pick__number VARCHAR, nationality VARCHAR, nhl_team VARCHAR)
<</SYS>>
SELECT position FROM table_name_29 WHERE nationality = "canada" AND nhl_team = "new york islanders" AND pick__number = "113"[/INST] What position shows for canada, and an NHL team of new york islanders, and a Pick # of 113?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_69 (Id VARCHAR)
<</SYS>>
SELECT 2008 FROM table_name_69 WHERE 2011 = "olympic games"[/INST] Tell me the 2008 of 2001 olympic games</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_11 (number_of_electorates__2009_ INTEGER, district VARCHAR, name VARCHAR)
<</SYS>>
SELECT SUM(number_of_electorates__2009_) FROM table_name_11 WHERE district = "fatehpur" AND name = "jahanabad"[/INST] Count the Number of electorates (2009) that has a District of fatehpur and jahanabad?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_69 (points INTEGER, entrant VARCHAR, year VARCHAR)
<</SYS>>
SELECT MAX(points) FROM table_name_69 WHERE entrant = "first racing" AND year > 1987[/INST] after 1987 and entrant of first racing what is the highest points?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_91 (date VARCHAR, opponent VARCHAR)
<</SYS>>
SELECT date FROM table_name_91 WHERE opponent = "dallas cowboys"[/INST] What date has dallas cowboys as the opponent?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_29871617_1 (name VARCHAR, family_name VARCHAR)
<</SYS>>
SELECT name FROM table_29871617_1 WHERE family_name = "IL-1F2"[/INST] What are the names listed in the family il-1f2?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_41 (venue VARCHAR, home_team VARCHAR)
<</SYS>>
SELECT venue FROM table_name_41 WHERE home_team = "footscray"[/INST] Where did Footscray play as the home team?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1341865_23 (party VARCHAR, incumbent VARCHAR)
<</SYS>>
SELECT party FROM table_1341865_23 WHERE incumbent = "Edward Boland"[/INST] Name the party with edward boland</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_37 (score VARCHAR, opponent VARCHAR)
<</SYS>>
SELECT score FROM table_name_37 WHERE opponent = "younes el aynaoui"[/INST] What is the score of the tournament with younes el aynaoui as the opponent?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_2 (notes VARCHAR, position VARCHAR)
<</SYS>>
SELECT notes FROM table_name_2 WHERE position = "10th"[/INST] What were the notes when his position was 10th?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_27403436_1 (us_viewers__million_ VARCHAR, written_by VARCHAR)
<</SYS>>
SELECT us_viewers__million_ FROM table_27403436_1 WHERE written_by = "Shana Goldberg-Meehan & Greg Malins"[/INST] How many viewers watched the episode written by shana goldberg-meehan & greg malins? </s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_13258806_2 (date VARCHAR, record VARCHAR)
<</SYS>>
SELECT date FROM table_13258806_2 WHERE record = "0-1"[/INST] When was the record of 0-1 set?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_37 (away_team VARCHAR, venue VARCHAR)
<</SYS>>
SELECT away_team AS score FROM table_name_37 WHERE venue = "princes park"[/INST] What was the away teams score at Princes Park?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_51 (airline VARCHAR, notes VARCHAR)
<</SYS>>
SELECT airline FROM table_name_51 WHERE notes = "aoc 135"[/INST] What is the Airline when the notes show aoc 135?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_75 (area INTEGER, population VARCHAR, density VARCHAR, rank VARCHAR)
<</SYS>>
SELECT MIN(area) FROM table_name_75 WHERE density > 234.77 AND rank = 32 AND population < 965 OFFSET 040[/INST] What is the lowest area when the density is greater than 234.77, the population is less than 965,040, and the rank is 32?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_49 (opponents VARCHAR, team VARCHAR, year VARCHAR)
<</SYS>>
SELECT opponents FROM table_name_49 WHERE team = "arsenal" AND year = "1963–64"[/INST] Which Opponents have a Team of arsenal, and a Year of 1963–64?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_22 (scottish_cup VARCHAR, europe VARCHAR, league VARCHAR, years VARCHAR)
<</SYS>>
SELECT COUNT(scottish_cup) FROM table_name_22 WHERE league < 561 AND years = "1989–1995 1997–2001" AND europe < 11[/INST] Which Scottish Cup has a League smaller than 561, Years of 1989–1995 1997–2001, and Europe smaller than 11?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_32 (event_2 VARCHAR, air_date VARCHAR)
<</SYS>>
SELECT event_2 FROM table_name_32 WHERE air_date = "8 june 2008"[/INST] What was the 2nd event aired on 8 June 2008?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_3 (opponent VARCHAR, round VARCHAR, event VARCHAR)
<</SYS>>
SELECT opponent FROM table_name_3 WHERE round > 1 AND event = "king of the cage 31"[/INST] Which Opponent has a Round larger than 1, and an Event of king of the cage 31?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_27435931_1 (continent VARCHAR, country VARCHAR)
<</SYS>>
SELECT continent FROM table_27435931_1 WHERE country = "Russia"[/INST] what is the continent in which the country russia is listed?</s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.