text_output
stringlengths 114
770
|
|---|
<s>[INST] <<SYS>>
CREATE TABLE table_name_75 (net_profit__ INTEGER, earnings_per_share__p_ VARCHAR, profit__loss__before_tax__£m_ VARCHAR)
<</SYS>>
SELECT SUM(net_profit__) AS £m_ FROM table_name_75 WHERE earnings_per_share__p_ = 27.4 AND profit__loss__before_tax__£m_ < 194.6[/INST] What is the total net profit when earnings per share is 27.4, and profit/loss befor tax was smaller than 194.6 million?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_86 (year INTEGER, chassis VARCHAR)
<</SYS>>
SELECT SUM(year) FROM table_name_86 WHERE chassis = "kurtis kraft 500a"[/INST] What is the year with a kurtis kraft 500a chassis?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_18524_6 (tourism_receipts__2003___as__percentage_of_exports_ VARCHAR, tourism_competitiveness__2011___ttci_ VARCHAR)
<</SYS>>
SELECT COUNT(tourism_receipts__2003___as__percentage_of_exports_) FROM table_18524_6 WHERE tourism_competitiveness__2011___ttci_ = "3.26"[/INST] Name the tourism receipts 2003 for tourism competitiveness 3.26</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_73 (Chinese VARCHAR, index VARCHAR)
<</SYS>>
SELECT Chinese AS name FROM table_name_73 WHERE index = "f10"[/INST] What is the Chinese name of the player in Index F10?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_13 (year INTEGER, opponent VARCHAR)
<</SYS>>
SELECT AVG(year) FROM table_name_13 WHERE opponent = "manly-warringah sea eagles"[/INST] Name the average year for manly-warringah sea eagles</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_85 (distance__km_ VARCHAR, station VARCHAR)
<</SYS>>
SELECT distance__km_ FROM table_name_85 WHERE station = "funao"[/INST] What is the distance to funao?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_13836704_9 (airport VARCHAR, rank VARCHAR)
<</SYS>>
SELECT COUNT(airport) FROM table_13836704_9 WHERE rank = 4[/INST] how many airport with rank being 4</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_30057479_1 (researched_at VARCHAR, geometry VARCHAR)
<</SYS>>
SELECT researched_at FROM table_30057479_1 WHERE geometry = "D: 25~70nm, L: 10~20 μm"[/INST] Where was d: 25~70nm, l: 10~20 μm geometry researched?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_17323529_5 (high_points VARCHAR, date VARCHAR)
<</SYS>>
SELECT high_points FROM table_17323529_5 WHERE date = "November 24"[/INST] Name the high points for the date of november 24</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_75 (rank INTEGER, placings VARCHAR, points VARCHAR)
<</SYS>>
SELECT MAX(rank) FROM table_name_75 WHERE placings > 123 AND points > 88.06[/INST] I want to know the highest rank with placings more than 123 and points greater than 88.06</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_12 (class VARCHAR, rank VARCHAR)
<</SYS>>
SELECT class FROM table_name_12 WHERE rank = "89th"[/INST] Tell me the class with rank of 89th</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_22 (developer_s_ VARCHAR, genre VARCHAR)
<</SYS>>
SELECT developer_s_ FROM table_name_22 WHERE genre = "adventure"[/INST] Who was the developer(s) of the genre Adventure?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_63 (nationality VARCHAR, school_club_team VARCHAR)
<</SYS>>
SELECT nationality FROM table_name_63 WHERE school_club_team = "louisiana state"[/INST] Which Nationality has a School/Club Team of louisiana state?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_47 (podiums INTEGER, points VARCHAR, wins VARCHAR, races VARCHAR)
<</SYS>>
SELECT AVG(podiums) FROM table_name_47 WHERE wins > 1 AND races = 2 AND points > 150[/INST] What is the average Podiums, when Wins is greater than 1, when Races is 2, and when Points is greater than 150?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_20193855_2 (author_s__or_editor_s_ VARCHAR, book_title VARCHAR)
<</SYS>>
SELECT COUNT(author_s__or_editor_s_) FROM table_20193855_2 WHERE book_title = "Elf Child"[/INST] How many authors or editors are there for the book title elf child?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_14139408_1 (class VARCHAR, poles INTEGER)
<</SYS>>
SELECT COUNT(class) FROM table_14139408_1 WHERE poles > 1.0[/INST] how many class with poles being bigger than 1.0</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_18 (league INTEGER, fa_cup VARCHAR, club VARCHAR)
<</SYS>>
SELECT MAX(league) AS Cup FROM table_name_18 WHERE fa_cup = 5 AND club = "boston united" AND league < 16[/INST] Which League Cup has a FA Cup of 5, and a Club of boston united, and a League smaller than 16?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE Teachers (address_id VARCHAR); CREATE TABLE Students (address_id VARCHAR); CREATE TABLE Addresses (line_1 VARCHAR, address_id VARCHAR)
<</SYS>>
SELECT T1.line_1 FROM Addresses AS T1 JOIN Students AS T2 ON T1.address_id = T2.address_id INTERSECT SELECT T1.line_1 FROM Addresses AS T1 JOIN Teachers AS T2 ON T1.address_id = T2.address_id[/INST] What are the line 1 of addresses shared by some students and some teachers?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_12 (location VARCHAR, home_ground VARCHAR)
<</SYS>>
SELECT location FROM table_name_12 WHERE home_ground = "mong kok stadium"[/INST] Where was the location of the Mong Kok Stadium?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_80 (gold INTEGER, total VARCHAR, silver VARCHAR)
<</SYS>>
SELECT MIN(gold) FROM table_name_80 WHERE total > 1 AND silver = 18[/INST] How many gold medals when the total is more than 1 and 18 silver?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_57 (grid VARCHAR, laps VARCHAR)
<</SYS>>
SELECT COUNT(grid) FROM table_name_57 WHERE laps = 37[/INST] What is the grid total when there are 37 laps?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_16 (year INTEGER, venue VARCHAR)
<</SYS>>
SELECT AVG(year) FROM table_name_16 WHERE venue = "bokskogens"[/INST] What was the average year that the venue was Bokskogens?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_68 (surface VARCHAR, year VARCHAR)
<</SYS>>
SELECT surface FROM table_name_68 WHERE year = 1996[/INST] What was the surface in 1996?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_88 (source VARCHAR, country VARCHAR, transfer_fee VARCHAR)
<</SYS>>
SELECT source FROM table_name_88 WHERE country = "eng" AND transfer_fee = "£1.5m"[/INST] What was the source of an ENG transfer that paid a £1.5m transfer fee?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_72 (record VARCHAR, opponent VARCHAR)
<</SYS>>
SELECT record FROM table_name_72 WHERE opponent = "st. louis cardinals"[/INST] What is the record for the opponent St. Louis Cardinals?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_16 (home_team VARCHAR)
<</SYS>>
SELECT home_team AS score FROM table_name_16 WHERE home_team = "fitzroy"[/INST] What was Fitzroy's score when they were the home team?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_4 (lost INTEGER, position VARCHAR, drawn VARCHAR)
<</SYS>>
SELECT AVG(lost) FROM table_name_4 WHERE position = 4 AND drawn < 3[/INST] Which Lost has a Position of 4, and a Drawn smaller than 3?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2472711_32 (up_down VARCHAR, total VARCHAR)
<</SYS>>
SELECT COUNT(up_down) FROM table_2472711_32 WHERE total = 301470[/INST] How many values of up/down have a total value of exactly 301470?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_19 (record VARCHAR, round VARCHAR, event VARCHAR)
<</SYS>>
SELECT record FROM table_name_19 WHERE round = 2 AND event = "dream 9"[/INST] What record does the event of dream 9 with a round of 2 hold?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_71 (week INTEGER, game_site VARCHAR, date VARCHAR)
<</SYS>>
SELECT MIN(week) FROM table_name_71 WHERE game_site = "kingdome" AND date = "october 13, 1991"[/INST] Which week was the game held at Kingdome on October 13, 1991?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_262383_1 (margin VARCHAR, runner_s__up VARCHAR)
<</SYS>>
SELECT margin FROM table_262383_1 WHERE runner_s__up = "Mike Turnesa"[/INST] what is the space where the next one was mike turnesa</s>
|
<s>[INST] <<SYS>>
CREATE TABLE school (LOCATION VARCHAR, Founded VARCHAR)
<</SYS>>
SELECT LOCATION FROM school ORDER BY Founded DESC[/INST] List the locations of schools in descending order of founded year.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_4 (pct INTEGER, lost VARCHAR, name VARCHAR)
<</SYS>>
SELECT AVG(pct) FROM table_name_4 WHERE lost > 7 AND name = "george felton"[/INST] What's the average pct for George Felton when he had losses greater than 7?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_34 (bronze INTEGER, rank VARCHAR, silver VARCHAR)
<</SYS>>
SELECT SUM(bronze) FROM table_name_34 WHERE rank > 3 AND silver > 0[/INST] How many bronzes were won for the country that had a larger than 3 rank and a silver win count above 0?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_28211213_2 (institution VARCHAR, team_nickname VARCHAR)
<</SYS>>
SELECT COUNT(institution) FROM table_28211213_2 WHERE team_nickname = "Gray Wolves"[/INST] When gray wolves is the team nickname how many institutions are there?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_34 (year_s__won VARCHAR, player VARCHAR, total VARCHAR, to_par VARCHAR)
<</SYS>>
SELECT year_s__won FROM table_name_34 WHERE total < 291 AND to_par = "+10" AND player = "raymond floyd"[/INST] In what year(s) did Raymond Floyd have a total of less than 291 and a To par of +10?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_24233848_2 (reward VARCHAR, eliminated VARCHAR)
<</SYS>>
SELECT reward FROM table_24233848_2 WHERE eliminated = "Hilca"[/INST] Name the reward eliminated hilca</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_79 (away_team VARCHAR)
<</SYS>>
SELECT away_team AS score FROM table_name_79 WHERE away_team = "north melbourne"[/INST] What is the score for the away team of north melbourne?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_255188_1 (founded INTEGER, joined VARCHAR)
<</SYS>>
SELECT MAX(founded) FROM table_255188_1 WHERE joined = 1978[/INST] When was the University founded that joined in 1978?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_79 (name VARCHAR, altitude__meters_ VARCHAR, range VARCHAR, rank VARCHAR)
<</SYS>>
SELECT name FROM table_name_79 WHERE range = "sivorgfjella" AND rank > 69 AND altitude__meters_ < 2154[/INST] What name is associated with a rank greater than 69, an altitude (meters) smaller than 2154, and a range of Sivorgfjella?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_3 (position VARCHAR, hometown VARCHAR)
<</SYS>>
SELECT position FROM table_name_3 WHERE hometown = "fort lauderdale, florida"[/INST] What is the position of the player from Fort Lauderdale, Florida?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_12 (per_capita_income VARCHAR, county VARCHAR)
<</SYS>>
SELECT per_capita_income FROM table_name_12 WHERE county = "washington"[/INST] What is the per capital income for Washington county?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_55 (wickets INTEGER, maidens VARCHAR, best VARCHAR)
<</SYS>>
SELECT MAX(wickets) FROM table_name_55 WHERE maidens > 630 AND best = "7/72"[/INST] What is the largest number of wickets when there are more than 630 maidens and a best of 7/72?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_53 (color_commentator_s_ VARCHAR, year VARCHAR, network VARCHAR)
<</SYS>>
SELECT color_commentator_s_ FROM table_name_53 WHERE year < 2012 AND network = "espn"[/INST] Who were the collor commentator(s) for ESPN before 2012?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_44 (score VARCHAR, opponent VARCHAR)
<</SYS>>
SELECT score FROM table_name_44 WHERE opponent = "javier genaro-martinez"[/INST] Name the score with opponent of javier genaro-martinez</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_79 (date VARCHAR, home_team VARCHAR)
<</SYS>>
SELECT date FROM table_name_79 WHERE home_team = "collingwood"[/INST] What day is collingwood the home side?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_70 (points INTEGER, entrant VARCHAR, year VARCHAR)
<</SYS>>
SELECT SUM(points) FROM table_name_70 WHERE entrant = "alfa romeo spa" AND year < 1951[/INST] What is the total points that an 1951 Entrant alfa romeo spa have?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_16494599_1 (no VARCHAR, years_for_grizzlies VARCHAR)
<</SYS>>
SELECT COUNT(no) FROM table_16494599_1 WHERE years_for_grizzlies = "2000-2002"[/INST] How may players played for the Grizzlies from 2000-2002?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_27 (lost INTEGER, _percentage_pts VARCHAR)
<</SYS>>
SELECT MIN(lost) FROM table_name_27 WHERE _percentage_pts = 93.45[/INST] If the points scored were 93.45%, what's the lowest amount of games lost?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_27462177_1 (us_viewers__millions_ VARCHAR, written_by VARCHAR)
<</SYS>>
SELECT us_viewers__millions_ FROM table_27462177_1 WHERE written_by = "Jack Sanderson"[/INST] How many millions of US viewers watched the episode written by Jack Sanderson?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_43 (score VARCHAR, time VARCHAR)
<</SYS>>
SELECT score FROM table_name_43 WHERE time = "14:10"[/INST] What Score has a time of 14:10?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_93 (player VARCHAR, date VARCHAR)
<</SYS>>
SELECT player FROM table_name_93 WHERE date = "july 6, 1949"[/INST] Which player is associated with the date July 6, 1949?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_55 (province VARCHAR, election INTEGER)
<</SYS>>
SELECT province FROM table_name_55 WHERE election > 2009[/INST] What province has an election after 2009?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_86 (school VARCHAR, year_joined VARCHAR, mascot VARCHAR)
<</SYS>>
SELECT school FROM table_name_86 WHERE year_joined > 1926 AND mascot = "vikings"[/INST] Which School has a Year Joined larger than 1926, and a Mascot of vikings?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_56 (time VARCHAR, lane VARCHAR)
<</SYS>>
SELECT time FROM table_name_56 WHERE lane = 7[/INST] What time does lane 7 have?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_22815568_2 (status VARCHAR, population VARCHAR)
<</SYS>>
SELECT COUNT(status) FROM table_22815568_2 WHERE population = 90565[/INST] How many status' are there with a population of 90565?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2127933_3 (outcome VARCHAR, opponents VARCHAR)
<</SYS>>
SELECT outcome FROM table_2127933_3 WHERE opponents = "Bill Tilden Florence Ballin"[/INST] What were the outcomes of matches with bill tilden florence ballin as opponents?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_89 (result VARCHAR, week VARCHAR, opponent VARCHAR)
<</SYS>>
SELECT result FROM table_name_89 WHERE week > 14 AND opponent = "dallas cowboys"[/INST] Where week is greater than 14 and Opponent is Dallas Cowboys, what is the result?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_75 (insurgents VARCHAR, civilians VARCHAR)
<</SYS>>
SELECT insurgents FROM table_name_75 WHERE civilians = "49"[/INST] Name the insurgents for civilians being 49</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_20887670_1 (affiliation VARCHAR, mascot VARCHAR)
<</SYS>>
SELECT affiliation FROM table_20887670_1 WHERE mascot = "Hilltoppers"[/INST] what is the affiliation of the hilltoppers mascot?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_86 (became_consort VARCHAR, spouse VARCHAR)
<</SYS>>
SELECT became_consort FROM table_name_86 WHERE spouse = "louis ii"[/INST] On what date did the woman married to Louis II become consort?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_14035132_3 (original_air_date VARCHAR, no_in_season VARCHAR)
<</SYS>>
SELECT original_air_date FROM table_14035132_3 WHERE no_in_season = "10b"[/INST] When did the episode with season number 10b air for the first time? </s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_85 (tournament VARCHAR, partner VARCHAR, score VARCHAR)
<</SYS>>
SELECT tournament FROM table_name_85 WHERE partner = "barbara jordan" AND score = "6-2, 3-6, 3-6"[/INST] In what Tournament was Barbara Jordan a Partner with a Score of 6-2, 3-6, 3-6?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_74 (heat VARCHAR, lane VARCHAR, name VARCHAR)
<</SYS>>
SELECT COUNT(heat) FROM table_name_74 WHERE lane < 4 AND name = "christophe lebon"[/INST] What is the sum of heat for christophe lebon when lane is less than 4?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_5 (original_airdate VARCHAR, writer_s_ VARCHAR, episode VARCHAR)
<</SYS>>
SELECT original_airdate FROM table_name_5 WHERE writer_s_ = "sidney slon" AND episode = "7-17 (195)"[/INST] What is the original airdate for episode 7-17 (195) from writer Sidney Slon?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_5 (segment_a VARCHAR, segment_b VARCHAR)
<</SYS>>
SELECT segment_a FROM table_name_5 WHERE segment_b = "aerospace fuel lines"[/INST] Segment B of aerospace fuel lines has what segment A?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_20 (extra_points INTEGER, points VARCHAR, field_goals VARCHAR)
<</SYS>>
SELECT MAX(extra_points) FROM table_name_20 WHERE points = 28 AND field_goals < 0[/INST] What is the highest amount of extra points someone got when they scored 28 points but had 0 field goals?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_64 (attendance INTEGER, week VARCHAR)
<</SYS>>
SELECT MAX(attendance) FROM table_name_64 WHERE week = 12[/INST] What was the highest attendance week 12?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_24160890_3 (regular_season_winner VARCHAR, tournament_winner VARCHAR)
<</SYS>>
SELECT COUNT(regular_season_winner) FROM table_24160890_3 WHERE tournament_winner = "Cincinnati"[/INST] When Cincinnati is the tournament winner how many regular season winners are there?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2417741_1 (par VARCHAR, winner VARCHAR)
<</SYS>>
SELECT COUNT(par) FROM table_2417741_1 WHERE winner = "Cary Middlecoff"[/INST] When cary middlecoff is the winner how many pars are there?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_20774360_2 (year VARCHAR, standing VARCHAR)
<</SYS>>
SELECT year FROM table_20774360_2 WHERE standing = "T-10th"[/INST] Name the year for t-10th</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_80 (week_4 VARCHAR, week_3 VARCHAR)
<</SYS>>
SELECT week_4 FROM table_name_80 WHERE week_3 = "cidney carson"[/INST] Which week 4 had a week 3 of Cidney Carson?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_78 (lost VARCHAR, tries_for VARCHAR)
<</SYS>>
SELECT lost FROM table_name_78 WHERE tries_for = "75"[/INST] Which Lost has a Tries for of 75?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_24 (population VARCHAR, english_name VARCHAR)
<</SYS>>
SELECT COUNT(population) FROM table_name_24 WHERE english_name = "jiyang"[/INST] how many subdivisions have an English Name of jiyang?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_86 (population_estimate_2005 VARCHAR, capital VARCHAR)
<</SYS>>
SELECT COUNT(population_estimate_2005) FROM table_name_86 WHERE capital = "majene"[/INST] how many population estimate 2005 are for majene?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1341395_22 (first_elected INTEGER, district VARCHAR)
<</SYS>>
SELECT MIN(first_elected) FROM table_1341395_22 WHERE district = "Massachusetts 3"[/INST] What was the earliest year someone was first elected from Massachusetts 3</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_18974269_1 (original_season VARCHAR, player VARCHAR)
<</SYS>>
SELECT original_season FROM table_18974269_1 WHERE player = "Evelyn Smith"[/INST] What was the season where Evelyn Smith was on?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_75 (player VARCHAR, round INTEGER)
<</SYS>>
SELECT player FROM table_name_75 WHERE round < 2[/INST] What is the name of the player picked before round 2?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_88 (average INTEGER, evening_gown VARCHAR, swimsuit VARCHAR, country VARCHAR)
<</SYS>>
SELECT AVG(average) FROM table_name_88 WHERE swimsuit < 9.109 AND country = "pennsylvania" AND evening_gown < 9.163[/INST] What is Pennsylvania's average where the swimsuit is smaller than 9.109 and the evening gown is smaller than 9.163?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1341973_6 (result VARCHAR, incumbent VARCHAR)
<</SYS>>
SELECT result FROM table_1341973_6 WHERE incumbent = "Harry R. Sheppard"[/INST] What was the result of the election of the incumbent harry r. sheppard?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_76 (Took VARCHAR, location VARCHAR, type VARCHAR)
<</SYS>>
SELECT Took AS office FROM table_name_76 WHERE location = "dover" AND type = "executive"[/INST] What date did the executive office in Dover take office?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_221653_1 (bleeding_time VARCHAR, condition VARCHAR)
<</SYS>>
SELECT COUNT(bleeding_time) FROM table_221653_1 WHERE condition = "Disseminated intravascular coagulation"[/INST] What is the bleeding time for the disseminated intravascular coagulation condition?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_72 (laps INTEGER, grid VARCHAR)
<</SYS>>
SELECT MIN(laps) FROM table_name_72 WHERE grid = 7[/INST] What were grid 7's laps?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_38 (population__2004_ INTEGER, moroccan_population INTEGER)
<</SYS>>
SELECT AVG(population__2004_) FROM table_name_38 WHERE moroccan_population > 234506[/INST] Which Population (2004) has a Moroccan population larger than 234506?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_47 (result VARCHAR, opponent VARCHAR)
<</SYS>>
SELECT result FROM table_name_47 WHERE opponent = "texas longhorns"[/INST] What result has texas longhorns as the opponent?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_77 (capacity VARCHAR, colors VARCHAR)
<</SYS>>
SELECT capacity FROM table_name_77 WHERE colors = "purple and white"[/INST] Which capacity has a purple and white colors?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_12792876_2 (club VARCHAR, points_against VARCHAR)
<</SYS>>
SELECT club FROM table_12792876_2 WHERE points_against = "714"[/INST] Which club gave up 714 points?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_39 (elected INTEGER, party VARCHAR, district VARCHAR)
<</SYS>>
SELECT MAX(elected) FROM table_name_39 WHERE party = "republican" AND district = "5th"[/INST] Party of republican, and a District of 5th is what highest elected?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_61 (date VARCHAR, series VARCHAR)
<</SYS>>
SELECT date FROM table_name_61 WHERE series = "winfield triple challenge"[/INST] On which date did the Winfield Triple Challenge series take place?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_62 (circumstances VARCHAR, location VARCHAR)
<</SYS>>
SELECT circumstances FROM table_name_62 WHERE location = "baghlan"[/INST] What were the circumstances for the Baghlan location?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_70 (country VARCHAR, notes VARCHAR, athlete VARCHAR)
<</SYS>>
SELECT country FROM table_name_70 WHERE notes = "fa" AND athlete = "ekaterina karsten"[/INST] What country did ekaterina karsten row for with fa listed under notes?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_2 (round INTEGER, school VARCHAR)
<</SYS>>
SELECT AVG(round) FROM table_name_2 WHERE school = "east carolina"[/INST] What's the average round number for East Carolina?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_15 (opponents VARCHAR, partner VARCHAR)
<</SYS>>
SELECT opponents FROM table_name_15 WHERE partner = "anastasia pivovarova"[/INST] What is the name of the opponent when anastasia pivovarova was the partner?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_79 (lane INTEGER, name VARCHAR, rank VARCHAR)
<</SYS>>
SELECT AVG(lane) FROM table_name_79 WHERE name = "bronte barratt" AND rank > 4[/INST] What lane did Bronte Barratt, who had a rank larger than 4, swim in?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_54 (opponent VARCHAR, record VARCHAR)
<</SYS>>
SELECT opponent FROM table_name_54 WHERE record = "6-0"[/INST] What Opponent has a 6-0 Record?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_22 (attendance VARCHAR, date VARCHAR)
<</SYS>>
SELECT attendance FROM table_name_22 WHERE date = "november 18, 1951"[/INST] Which Attendance has a Date of november 18, 1951?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_14035132_3 (original_air_date VARCHAR, no_in_series VARCHAR)
<</SYS>>
SELECT original_air_date FROM table_14035132_3 WHERE no_in_series = "29a"[/INST] When did the episode with series number 29a originally air? </s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_14 (date VARCHAR, venue VARCHAR, result VARCHAR)
<</SYS>>
SELECT date FROM table_name_14 WHERE venue = "jjb stadium" AND result = "w"[/INST] What date is for Venue of jjb stadium, and a Result of w?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_40 (position INTEGER, points VARCHAR, conceded VARCHAR)
<</SYS>>
SELECT MAX(position) FROM table_name_40 WHERE points > 16 AND conceded < 7[/INST] The highest position with more than 16 points and less than 7 concedes?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE TRANSACTIONS (transaction_type_code VARCHAR); CREATE TABLE Ref_Transaction_Types (transaction_type_description VARCHAR, transaction_type_code VARCHAR)
<</SYS>>
SELECT T1.transaction_type_description FROM Ref_Transaction_Types AS T1 JOIN TRANSACTIONS AS T2 ON T1.transaction_type_code = T2.transaction_type_code GROUP BY T1.transaction_type_code ORDER BY COUNT(*) DESC LIMIT 1[/INST] Show the description of the transaction type that occurs most frequently.</s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.