text_output
stringlengths 114
770
|
|---|
<s>[INST] <<SYS>>
CREATE TABLE table_name_48 (class VARCHAR, wheel_arrangement VARCHAR, quantity_made VARCHAR)
<</SYS>>
SELECT class FROM table_name_48 WHERE wheel_arrangement = "2-8-2" AND quantity_made = "25"[/INST] What is the locomotive class that has a wheel arrangement of 2-8-2 and a quantity made of 25?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_45 (result VARCHAR, week VARCHAR)
<</SYS>>
SELECT result FROM table_name_45 WHERE week = 7[/INST] What is the result from the game played on week 7?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_88 (t_score INTEGER, nation VARCHAR, e_score VARCHAR)
<</SYS>>
SELECT AVG(t_score) FROM table_name_88 WHERE nation = "spain" AND e_score > 9.6[/INST] What was the average T score when the E score was larger than 9.6 and the team was from Spain?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_28 (scored VARCHAR, position INTEGER)
<</SYS>>
SELECT COUNT(scored) FROM table_name_28 WHERE position > 6[/INST] Name the Scored which has a Position larger than 6?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_22 (decision VARCHAR, visitor VARCHAR)
<</SYS>>
SELECT decision FROM table_name_22 WHERE visitor = "phoenix"[/INST] What is the decision when they're at phoenix?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_29 (losses INTEGER, matches VARCHAR, draws VARCHAR)
<</SYS>>
SELECT MAX(losses) FROM table_name_29 WHERE matches = 10 AND draws > 1[/INST] Which club has the most losses with 10 matches played and more than 1 draw?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_15 (country VARCHAR, name VARCHAR)
<</SYS>>
SELECT country FROM table_name_15 WHERE name = "glory alozie"[/INST] What country does Glory Alozie play for?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_90 (points VARCHAR, entrant VARCHAR, year VARCHAR)
<</SYS>>
SELECT points FROM table_name_90 WHERE entrant = "corbari italia" AND year = 1985[/INST] How many points did Corbari Italia earn in 1985?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_71 (score VARCHAR, date VARCHAR)
<</SYS>>
SELECT score FROM table_name_71 WHERE date = "26 september 2004"[/INST] Which Score has a Date of 26 september 2004?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_29 (total_votes VARCHAR, election VARCHAR, share_of_votes VARCHAR)
<</SYS>>
SELECT total_votes FROM table_name_29 WHERE election > 2001 AND share_of_votes = "44.5%"[/INST] What is the vote total for elections after 2001 with 44.5% participation?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_69 (viewers__in_millions_ VARCHAR, season VARCHAR)
<</SYS>>
SELECT viewers__in_millions_ FROM table_name_69 WHERE season = "1"[/INST] How many people watched season 1?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_22165661_3 (conference VARCHAR, championship_game_opponent VARCHAR)
<</SYS>>
SELECT conference FROM table_22165661_3 WHERE championship_game_opponent = "Ferris State"[/INST] What is the conference when Ferris State is the championship game opponent?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_19517621_3 (series__number INTEGER, written_by VARCHAR)
<</SYS>>
SELECT MAX(series__number) FROM table_19517621_3 WHERE written_by = "Kristen Dunphy and David Ogilvy"[/INST] What is the series number for the episode written by Kristen Dunphy and David Ogilvy?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_28741_1 (area__km_2__ INTEGER, capital VARCHAR)
<</SYS>>
SELECT MIN(area__km_2__) FROM table_28741_1 WHERE capital = "Nay Pyi Taw"[/INST] How few km 2 does the area with Nay Pyi Taw as capital cover?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_26144632_1 (location VARCHAR, dates VARCHAR)
<</SYS>>
SELECT location FROM table_26144632_1 WHERE dates = "Jul 8-11"[/INST] What is the location for tournament on Jul 8-11?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_14 (label VARCHAR, country VARCHAR, catalogue__number VARCHAR)
<</SYS>>
SELECT label FROM table_name_14 WHERE country = "united kingdom" AND catalogue__number = "hvnlp26cd"[/INST] What is the Label of Catalogue # HVNLP26CD from United Kingdom?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_10 (lead VARCHAR, skip VARCHAR)
<</SYS>>
SELECT lead FROM table_name_10 WHERE skip = "ritvars gulbis"[/INST] Who was the lead when Ritvars Gulbis was the skip?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_14959246_2 (result VARCHAR, opponent VARCHAR)
<</SYS>>
SELECT result FROM table_14959246_2 WHERE opponent = "Dallas Cowboys"[/INST] What was the final score of the game against the Dallas Cowboys?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE Documents (template_id VARCHAR); CREATE TABLE Templates (Template_Type_Code VARCHAR, template_id VARCHAR)
<</SYS>>
SELECT T1.template_id, T2.Template_Type_Code FROM Documents AS T1 JOIN Templates AS T2 ON T1.template_id = T2.template_id GROUP BY T1.template_id ORDER BY COUNT(*) DESC LIMIT 1[/INST] What is the id and type code for the template used by the most documents?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1204998_2 (pinyin VARCHAR, population VARCHAR)
<</SYS>>
SELECT pinyin FROM table_1204998_2 WHERE population = 374047[/INST] Which pinyin have a population of 374047?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_68 (airport VARCHAR, country VARCHAR, icao VARCHAR)
<</SYS>>
SELECT airport FROM table_name_68 WHERE country = "tunisia" AND icao = "dtaa"[/INST] what is the airport for the country tunisia with the icao dtaa?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_14 (win__percentage VARCHAR)
<</SYS>>
SELECT win__percentage FROM table_name_14 WHERE 2003 = "atp world tour finals"[/INST] What is the win % of the 2003 atp world tour finals?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_22 (rank INTEGER, wickets INTEGER)
<</SYS>>
SELECT MAX(rank) FROM table_name_22 WHERE wickets < 15[/INST] What is the highest rank for less than 15 Wickets?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_16 (transfers VARCHAR, distance__km_ VARCHAR, station_name VARCHAR)
<</SYS>>
SELECT transfers FROM table_name_16 WHERE distance__km_ > 36.5 AND station_name = "guangximen"[/INST] What's the transfer distance (km) larger than 36.5, at the station of guangximen?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1213511_3 (nhl_team VARCHAR, player VARCHAR)
<</SYS>>
SELECT COUNT(nhl_team) FROM table_1213511_3 WHERE player = "Bob Peppler"[/INST] How many teams did Bob Peppler play for?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_28 (attendance INTEGER, date VARCHAR)
<</SYS>>
SELECT MAX(attendance) FROM table_name_28 WHERE date = "august 2"[/INST] What was the attendance on August 2?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_19 (score VARCHAR, h_a_n VARCHAR, date VARCHAR)
<</SYS>>
SELECT score FROM table_name_19 WHERE h_a_n = "h" AND date = "december 17"[/INST] What was the score of the game played on December 17, with a H/A/N of H?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_17 (country VARCHAR, player VARCHAR, year VARCHAR)
<</SYS>>
SELECT country FROM table_name_17 WHERE player = "mario lemieux" AND year = 1994[/INST] What country did mario lemieux play for in 1994?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_261913_1 (founded INTEGER, joined VARCHAR)
<</SYS>>
SELECT MIN(founded) FROM table_261913_1 WHERE joined = "1977"[/INST] What was the earliest date an institution was founded that joined in 1977? </s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_29301050_1 (train_name VARCHAR, train_number VARCHAR)
<</SYS>>
SELECT COUNT(train_name) FROM table_29301050_1 WHERE train_number = 99808[/INST] how many trains have the number 99808</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_72 (ends_lost VARCHAR, shot_pct VARCHAR, ends_won VARCHAR)
<</SYS>>
SELECT COUNT(ends_lost) FROM table_name_72 WHERE shot_pct = 88 AND ends_won = 31[/INST] How many ends lost when shot % is 88 and ends won are 31?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_12186237_1 (circuit VARCHAR, date VARCHAR)
<</SYS>>
SELECT circuit FROM table_12186237_1 WHERE date = "4 May"[/INST] What circuit was on the date 4 May?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE channel (OWNER VARCHAR, rating_in_percent VARCHAR)
<</SYS>>
SELECT OWNER FROM channel ORDER BY rating_in_percent DESC LIMIT 1[/INST] What is the owner of the channel that has the highest rating ratio?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_14 (record VARCHAR, opponent VARCHAR)
<</SYS>>
SELECT record FROM table_name_14 WHERE opponent = "john flemming"[/INST] Which record has john flemming as the opponent?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_22 (date VARCHAR, result VARCHAR)
<</SYS>>
SELECT date FROM table_name_22 WHERE result = "w 35-7"[/INST] Name the date with resultof w 35-7</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_57 (top_10 INTEGER, cuts_made INTEGER)
<</SYS>>
SELECT MIN(top_10) FROM table_name_57 WHERE cuts_made > 42[/INST] Which Top-10 has a Cuts made larger than 42?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_9 (country VARCHAR, place VARCHAR, score VARCHAR)
<</SYS>>
SELECT country FROM table_name_9 WHERE place = "t6" AND score = 75 - 70 = 145[/INST] Which country has t6 as a place and 75-70=145 as the score?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_11 (grid VARCHAR, laps VARCHAR, manufacturer VARCHAR, rider VARCHAR)
<</SYS>>
SELECT COUNT(grid) FROM table_name_11 WHERE manufacturer = "ducati" AND rider = "casey stoner" AND laps < 27[/INST] How many grids does Ducati have with Casey Stoner as a rider with fewer than 27 laps?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_95 (frequency_mhz VARCHAR, call_sign VARCHAR)
<</SYS>>
SELECT COUNT(frequency_mhz) FROM table_name_95 WHERE call_sign = "w264bg"[/INST] How much Frequency MHz has a Call sign of w264bg?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_43 (date VARCHAR, week VARCHAR, result VARCHAR)
<</SYS>>
SELECT date FROM table_name_43 WHERE week > 6 AND result = "w 65-20"[/INST] When was there a result of w 65-20 after week 6?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_32 (position VARCHAR, win__number VARCHAR, winner VARCHAR)
<</SYS>>
SELECT position FROM table_name_32 WHERE win__number = 2 AND winner = "doug gibson"[/INST] What position for doug gibson with 2 wins?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_39 (town_city VARCHAR, name VARCHAR)
<</SYS>>
SELECT town_city FROM table_name_39 WHERE name = "garfield county museum"[/INST] What city is Garfield County Museum located in?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_68 (crowd INTEGER, home_team VARCHAR)
<</SYS>>
SELECT MIN(crowd) FROM table_name_68 WHERE home_team = "fitzroy"[/INST] What was the lowest attendance at a Fitzroy match?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_22 (lane VARCHAR, heat VARCHAR, nationality VARCHAR)
<</SYS>>
SELECT COUNT(lane) FROM table_name_22 WHERE heat = 4 AND nationality = "hungary"[/INST] What lane number was Hungary and had a heat of 4?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_26 (club VARCHAR, position VARCHAR, wins VARCHAR, goals_against VARCHAR)
<</SYS>>
SELECT club FROM table_name_26 WHERE wins = 13 AND goals_against < 48 AND position = 4[/INST] What Club has 13 wins, goals against less than 48, and a position of 4?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_20297668_1 (ply__uk VARCHAR, _nz VARCHAR, _au_ VARCHAR, wraps_per_inch__wpi_ VARCHAR)
<</SYS>>
SELECT ply__uk, _nz, _au_ FROM table_20297668_1 WHERE wraps_per_inch__wpi_ = "7 wpi"[/INST] Name the ply uk, nz, au for wraps per inch 7 wpi</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_31 (score VARCHAR, location VARCHAR)
<</SYS>>
SELECT score FROM table_name_31 WHERE location = "mex cancun"[/INST] which Score has a Location of mex cancun?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_11 (player VARCHAR, pba_team VARCHAR)
<</SYS>>
SELECT player FROM table_name_11 WHERE pba_team = "barangay ginebra kings"[/INST] Who is the player with the PBA team of Barangay Ginebra Kings?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_78 (psoe VARCHAR, polling_firm VARCHAR)
<</SYS>>
SELECT psoe FROM table_name_78 WHERE polling_firm = "local elections"[/INST] What is the PSOE for the Local Elections polling firm?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_91 (team_2 VARCHAR)
<</SYS>>
SELECT 1 AS st_leg FROM table_name_91 WHERE team_2 = "asil lysi"[/INST] What is the 1st leg when team 2 is Asil Lysi?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_18077713_1 (ebit__us_$m_ VARCHAR, net_profit__us_$m_ VARCHAR)
<</SYS>>
SELECT ebit__us_$m_ FROM table_18077713_1 WHERE net_profit__us_$m_ = "120.6"[/INST] What is the dollar amount of ebit when the net profit is 120.6?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_56 (years VARCHAR, points VARCHAR, goals VARCHAR)
<</SYS>>
SELECT years FROM table_name_56 WHERE points = "78" AND goals = "22"[/INST] What years did the player play when he scored 78 points and 22 goals?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_93 (place VARCHAR, building VARCHAR)
<</SYS>>
SELECT place FROM table_name_93 WHERE building = "victoria hall"[/INST] Name the place with building of victoria hall</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_56 (rank VARCHAR, nation VARCHAR, bronze VARCHAR, total VARCHAR)
<</SYS>>
SELECT rank FROM table_name_56 WHERE bronze = 0 AND total < 3 AND nation = "north korea"[/INST] What rank has 0 as the bronze, and a total less than 3, with north korea as the nation?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_21926985_2 (state_rank_by_revenue VARCHAR, known_for VARCHAR)
<</SYS>>
SELECT COUNT(state_rank_by_revenue) FROM table_21926985_2 WHERE known_for = "Retailing"[/INST] What is the rank of the company known for retailing?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_88 (density INTEGER, province VARCHAR, area VARCHAR)
<</SYS>>
SELECT MAX(density) FROM table_name_88 WHERE province = "independencia" AND area < 2 OFFSET 007.4[/INST] What is the highest Density for the independencia province, with an area smaller than 2,007.4?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_21636599_2 (insurgents VARCHAR, total_per_period VARCHAR)
<</SYS>>
SELECT insurgents FROM table_21636599_2 WHERE total_per_period = 156[/INST] How many insurgents are there when the total per period is 156?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2679061_2 (position VARCHAR, nhl_team VARCHAR)
<</SYS>>
SELECT position FROM table_2679061_2 WHERE nhl_team = "Toronto Maple Leafs"[/INST] what is the position for the nhl team toronto maple leafs?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_27539272_5 (opponent VARCHAR, game VARCHAR)
<</SYS>>
SELECT opponent FROM table_27539272_5 WHERE game = 14[/INST] who was the opponent where the game is 14?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_86 (LNER VARCHAR, class VARCHAR)
<</SYS>>
SELECT LNER AS class FROM table_name_86 WHERE class = "3"[/INST] What LNER Class has a Class of 3?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_92 (date VARCHAR, score VARCHAR)
<</SYS>>
SELECT date FROM table_name_92 WHERE score = "4–6, 2–6"[/INST] Which date has a Score of 4–6, 2–6?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_10 (Id VARCHAR)
<</SYS>>
SELECT 2004 FROM table_name_10 WHERE 2011 = "q1"[/INST] What is the 2004 tournament that has a Q1 of 2011?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_92 (rank INTEGER, matches VARCHAR, goals VARCHAR)
<</SYS>>
SELECT AVG(rank) FROM table_name_92 WHERE matches < 205 AND goals < 100[/INST] What is the average rank for players with under 205 matches and under 100 goals?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_16 (name_of_deity VARCHAR, name_of_the_river VARCHAR)
<</SYS>>
SELECT name_of_deity FROM table_name_16 WHERE name_of_the_river = "sone"[/INST] What is the name of the diety for the river of sone?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_22384475_1 (winner VARCHAR, margin VARCHAR)
<</SYS>>
SELECT winner FROM table_22384475_1 WHERE margin = "131 runs"[/INST] Who won the match when the margin was 131 runs?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE election (Party VARCHAR); CREATE TABLE party (Party VARCHAR, Party_ID VARCHAR)
<</SYS>>
SELECT T2.Party FROM election AS T1 JOIN party AS T2 ON T1.Party = T2.Party_ID GROUP BY T1.Party ORDER BY COUNT(*) DESC LIMIT 1[/INST] Show the name of the party that has the most delegates.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_47 (height__m_ft_ VARCHAR, rank VARCHAR, city VARCHAR, built VARCHAR)
<</SYS>>
SELECT height__m_ft_ FROM table_name_47 WHERE city = "bucharest" AND built = 2009 AND rank = 13[/INST] What is the Height (m/ft) for bucharest Built in 2009, and a Rank of 13?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_90 (week INTEGER, attendance INTEGER)
<</SYS>>
SELECT MIN(week) FROM table_name_90 WHERE attendance > 63 OFFSET 369[/INST] Which Week has an Attendance larger than 63,369?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_31 (player VARCHAR, to_par VARCHAR)
<</SYS>>
SELECT player FROM table_name_31 WHERE to_par = "+4"[/INST] Which player finished at +4?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_27298240_26 (pluperfect VARCHAR, perfect VARCHAR)
<</SYS>>
SELECT pluperfect FROM table_27298240_26 WHERE perfect = "si bio/la; bio/la si"[/INST] What is the pluperfect for the perfect si bio/la; bio/la si?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_37 (nickname VARCHAR, enrollment VARCHAR, location VARCHAR)
<</SYS>>
SELECT nickname FROM table_name_37 WHERE enrollment < 501 AND location = "clarkesville"[/INST] Which Nickname has an Enrollment smaller than 501, and a Location of clarkesville?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_45 (show VARCHAR, year VARCHAR, episode_title VARCHAR)
<</SYS>>
SELECT show FROM table_name_45 WHERE year < 2011 AND episode_title = "part 3"[/INST] Which show had a part 3 before 2011?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_60 (rider VARCHAR, points VARCHAR)
<</SYS>>
SELECT rider FROM table_name_60 WHERE points = 10[/INST] Which rider had a points score equal to 10?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_35 (attendance INTEGER, date VARCHAR, week VARCHAR)
<</SYS>>
SELECT AVG(attendance) FROM table_name_35 WHERE date = "october 10, 1971" AND week > 4[/INST] What was the Attendance after Week 4 on October 10, 1971?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_3 (school_club_team VARCHAR, player VARCHAR)
<</SYS>>
SELECT school_club_team FROM table_name_3 WHERE player = "mark eaton"[/INST] Who did mark eaton play for?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_53 (date VARCHAR, winning_team VARCHAR, circuit VARCHAR)
<</SYS>>
SELECT date FROM table_name_53 WHERE winning_team = "a.z.k./roc-compétition a.z.k./roc-compétition" AND circuit = "zolder"[/INST] What is the date of the zolder circuit, which had a.z.k./roc-compétition a.z.k./roc-compétition as the winning team?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_25 (position VARCHAR, crewe_alexandra_career VARCHAR, goals VARCHAR)
<</SYS>>
SELECT position FROM table_name_25 WHERE crewe_alexandra_career = "1988–1990" AND goals = 31[/INST] What is the position when the Crewe Alexandra career is 1988–1990, with 31 goals?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_70 (date VARCHAR, week VARCHAR)
<</SYS>>
SELECT date FROM table_name_70 WHERE week = 9[/INST] On what date was the game in Week 9 played?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_76 (attendance VARCHAR, date VARCHAR)
<</SYS>>
SELECT attendance FROM table_name_76 WHERE date = "october 17"[/INST] What was the attendance on October 17?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_48 (position VARCHAR, college VARCHAR, round VARCHAR, pick__number VARCHAR)
<</SYS>>
SELECT position FROM table_name_48 WHERE round > 6 AND pick__number < 25 AND college = "southern illinois"[/INST] Round larger than 6, and a Pick # smaller than 25, and a College of southern Illinois has what position?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_81 (outcome VARCHAR, opponent VARCHAR)
<</SYS>>
SELECT outcome FROM table_name_81 WHERE opponent = "jing-jing lu"[/INST] What was the outcome when Jing-Jing Lu was the opponent?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_18893428_1 (location VARCHAR, driver VARCHAR)
<</SYS>>
SELECT location FROM table_18893428_1 WHERE driver = "Pierre de Caters"[/INST] What is the location that had a driver named Pierre de Caters?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2646656_3 (incumbent VARCHAR, district VARCHAR)
<</SYS>>
SELECT incumbent FROM table_2646656_3 WHERE district = "Ohio 10"[/INST] Who was the incumbent in the Ohio 10 district?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_18710512_3 (other_details VARCHAR, single VARCHAR)
<</SYS>>
SELECT other_details FROM table_18710512_3 WHERE single = "My Love Will Follow Me"[/INST] What were the "other details" (number released) for "is my love will follow me"?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_64 (score VARCHAR, winner VARCHAR)
<</SYS>>
SELECT score FROM table_name_64 WHERE winner = "stefan edberg"[/INST] What was the score when Stefan Edberg won?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2208838_4 (team VARCHAR, average VARCHAR)
<</SYS>>
SELECT team FROM table_2208838_4 WHERE average = "20.4"[/INST] Which team had an average of 20.4?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_15187735_10 (segment_b VARCHAR, segment_d VARCHAR)
<</SYS>>
SELECT COUNT(segment_b) FROM table_15187735_10 WHERE segment_d = "s Banjo"[/INST] Name the total number of segment b for s banjo</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_98 (royal_house VARCHAR, state VARCHAR)
<</SYS>>
SELECT royal_house FROM table_name_98 WHERE state = "chu"[/INST] Which royal house is in the state of chu?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_88 (commissioned VARCHAR, builder VARCHAR)
<</SYS>>
SELECT commissioned FROM table_name_88 WHERE builder = "scotts, greenock"[/INST] when was it commissioned when the destroyer was built by scotts, greenock?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_11390711_4 (english_name VARCHAR, abbreviation VARCHAR)
<</SYS>>
SELECT english_name FROM table_11390711_4 WHERE abbreviation = "MTC"[/INST] Which colleges have the english abbreviation MTC?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_32 (result VARCHAR, opponent VARCHAR)
<</SYS>>
SELECT result FROM table_name_32 WHERE opponent = "cincinnati bengals"[/INST] What is Result, when Opponent is Cincinnati Bengals?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_30 (venue VARCHAR, away_team VARCHAR)
<</SYS>>
SELECT venue FROM table_name_30 WHERE away_team = "st kilda"[/INST] What venue does st kilda play at as the away team?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_81 (loss VARCHAR, record VARCHAR)
<</SYS>>
SELECT loss FROM table_name_81 WHERE record = "50-32"[/INST] What was the loss of the game when the record was 50-32?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1341568_24 (district VARCHAR, incumbent VARCHAR)
<</SYS>>
SELECT district FROM table_1341568_24 WHERE incumbent = "Vin Weber"[/INST] What location is Vin Weber from?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_66 (points_difference VARCHAR, points VARCHAR, lost VARCHAR)
<</SYS>>
SELECT points_difference FROM table_name_66 WHERE points > 3 AND lost > 0[/INST] What is the points difference associated with more than 3 points and more than 0 losses?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_43 (round VARCHAR, opponents VARCHAR)
<</SYS>>
SELECT round FROM table_name_43 WHERE opponents = "southampton"[/INST] Name the round for southampton opponents</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_83 (takuu VARCHAR, north_marquesan VARCHAR)
<</SYS>>
SELECT takuu FROM table_name_83 WHERE north_marquesan = "/vehine/"[/INST] What kind of Takuu has a North Marquesan of /vehine/?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_9 (crowd VARCHAR, venue VARCHAR)
<</SYS>>
SELECT crowd FROM table_name_9 WHERE venue = "corio oval"[/INST] What was the attendance at Corio Oval?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_55 (matches INTEGER, points VARCHAR, goals VARCHAR)
<</SYS>>
SELECT MAX(matches) FROM table_name_55 WHERE points < 88 AND goals < 0[/INST] What are the highest matches that have points less than 88, and goals less than 0?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_19 (draw INTEGER, competition VARCHAR, dynamo VARCHAR)
<</SYS>>
SELECT MAX(draw) FROM table_name_19 WHERE competition = "soviet league" AND dynamo > 34[/INST] what is the most draw when the competition is soviet league and dynamo is more than 34?</s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.