text_output
stringlengths 114
770
|
|---|
<s>[INST] <<SYS>>
CREATE TABLE table_name_36 (date VARCHAR, away_team VARCHAR)
<</SYS>>
SELECT date FROM table_name_36 WHERE away_team = "essendon"[/INST] What is the date of the game where Essendon is the away team?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_20 (music VARCHAR, style VARCHAR)
<</SYS>>
SELECT music FROM table_name_20 WHERE style = "jive"[/INST] Which music is jive?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_86 (bronze INTEGER, silver VARCHAR, gold VARCHAR, total VARCHAR)
<</SYS>>
SELECT AVG(bronze) FROM table_name_86 WHERE gold > 2 AND total < 14 AND silver = 4[/INST] What is the bronze with more than 2 gold and less than 14 total and 4 silver?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_71 (rank INTEGER, cyclist VARCHAR)
<</SYS>>
SELECT AVG(rank) FROM table_name_71 WHERE cyclist = "alexandr pliuschin"[/INST] what is the average rank when the cyclist is alexandr pliuschin?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_17 (country VARCHAR, score VARCHAR)
<</SYS>>
SELECT country FROM table_name_17 WHERE score = 72 - 66 - 72 = 210[/INST] What Country had a Player with a Score of 72-66-72=210?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_47 (country VARCHAR, score VARCHAR)
<</SYS>>
SELECT country FROM table_name_47 WHERE score = 66 - 72 - 70 - 69 = 277[/INST] What is the Country of the Player with a Score of 66-72-70-69=277?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_7 (rank VARCHAR, team VARCHAR)
<</SYS>>
SELECT rank FROM table_name_7 WHERE team = "tottenham hotspur"[/INST] Name the rank for tottenham hotspur</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_17 (enrollment INTEGER, left VARCHAR, current_conference VARCHAR)
<</SYS>>
SELECT MIN(enrollment) FROM table_name_17 WHERE left = 2012 AND current_conference = "mid-south"[/INST] What is the lowest enrollment amount for a year left of 2012 and a current conference of Mid-South?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_73 (draw INTEGER, song VARCHAR, points VARCHAR)
<</SYS>>
SELECT MAX(draw) FROM table_name_73 WHERE song = "u ritmu ljubavi" AND points > 87[/INST] WHAT IS THE DRAW FOR u ritmu ljubavi, POINTS LARGER THAN 87?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_11 (opponent VARCHAR, date VARCHAR)
<</SYS>>
SELECT opponent FROM table_name_11 WHERE date = "dec 8"[/INST] What is Opponent, when Date is "Dec 8"?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_51 (away_team VARCHAR, home_team VARCHAR)
<</SYS>>
SELECT away_team FROM table_name_51 WHERE home_team = "melbourne"[/INST] During melbourne's home game, who was the away team?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_21602734_1 (league VARCHAR, year VARCHAR)
<</SYS>>
SELECT league FROM table_21602734_1 WHERE year = 2010[/INST] What league was involved in 2010?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_11222744_3 (catalog_number VARCHAR, title VARCHAR)
<</SYS>>
SELECT COUNT(catalog_number) FROM table_11222744_3 WHERE title = "Quick Callanetics"[/INST] how many titles have the name "quick callanetics"?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_17 (county VARCHAR, school VARCHAR)
<</SYS>>
SELECT county FROM table_name_17 WHERE school = "merrillville"[/INST] In what county is the school of Merrillville?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1341672_10 (incumbent VARCHAR, candidates VARCHAR)
<</SYS>>
SELECT incumbent FROM table_1341672_10 WHERE candidates = "William V. Chappell, Jr. (D) Unopposed"[/INST] who is the incumbent where the candidates is william v. chappell, jr. (d) unopposed?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_29289372_1 (pop_density__per_km²_ VARCHAR, area__km²_ VARCHAR)
<</SYS>>
SELECT pop_density__per_km²_ FROM table_29289372_1 WHERE area__km²_ = "82.74"[/INST] When 82.74 is the area in kilometers squared what is the pop.density (per km2)?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_10707176_2 (pole_position VARCHAR, rnd VARCHAR)
<</SYS>>
SELECT pole_position FROM table_10707176_2 WHERE rnd = "12"[/INST] Who was the pole position for the rnd equalling 12?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_97 (year_born INTEGER, player VARCHAR, height VARCHAR)
<</SYS>>
SELECT AVG(year_born) FROM table_name_97 WHERE player = "radek necas" AND height < 2.04[/INST] When was radek necas with less than 2.04 height born?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2305948_1 (country VARCHAR)
<</SYS>>
SELECT COUNT(2) FROM table_2305948_1 WHERE country = "England"[/INST] How many times has a wrestler from the country of England wrestled in this event?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_62 (result VARCHAR, opponent VARCHAR)
<</SYS>>
SELECT result FROM table_name_62 WHERE opponent = "philadelphia eagles"[/INST] What is the Result of the game against Philadelphia Eagles?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_97 (length_feet VARCHAR, length_meters VARCHAR, parish VARCHAR, km_from_kingston VARCHAR)
<</SYS>>
SELECT COUNT(length_feet) FROM table_name_97 WHERE parish = "clarendon" AND km_from_kingston = 71.2 AND length_meters < 21.3[/INST] What is the total number of Length Feet, when Parish is Clarendon, when Km From Kingston is 71.2, and when Length Meters is less than 21.3?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_36 (winning_driver VARCHAR, circuit VARCHAR)
<</SYS>>
SELECT winning_driver FROM table_name_36 WHERE circuit = "monza"[/INST] Name the winning driver for circuit of monza</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_22 (album VARCHAR, year VARCHAR)
<</SYS>>
SELECT album FROM table_name_22 WHERE year = 1995[/INST] What is the 1995 Album?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_51 (year INTEGER, silver VARCHAR)
<</SYS>>
SELECT MIN(year) FROM table_name_51 WHERE silver = "kim kyung-ho"[/INST] What's listed for the lowest Year that a Silver of Kim Kyung-Ho?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_35 (original_title VARCHAR, director VARCHAR, film_title_used_in_nomination VARCHAR)
<</SYS>>
SELECT original_title FROM table_name_35 WHERE director = "veljko bulajić category:articles with hcards" AND film_title_used_in_nomination = "train without a timetable"[/INST] What is Original title, when Director is Veljko Bulajić category:articles with hcards, and when Film title used in nomination is Train Without A Timetable?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_60 (winning_party_2007 VARCHAR, constituency VARCHAR, result VARCHAR, swing_to_gain VARCHAR)
<</SYS>>
SELECT winning_party_2007 FROM table_name_60 WHERE result = "labour hold" AND swing_to_gain < 7.11 AND constituency = "wrexham"[/INST] Name the winning party 2007 for result of labour hold and swing to gain less than 7.11 for wrexham</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_65 (playoffs_mvp VARCHAR, result VARCHAR, champions VARCHAR)
<</SYS>>
SELECT playoffs_mvp FROM table_name_65 WHERE result = "4–1" AND champions = "daejeon hyundai dynat"[/INST] What is the Playoffs MVP of the game with a Result of 4–1 with Champions Daejeon Hyundai Dynat?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_26842217_4 (site VARCHAR, visiting_team VARCHAR)
<</SYS>>
SELECT site FROM table_26842217_4 WHERE visiting_team = "Louisiana-Lafayette"[/INST] Where's the louisiana-lafayette as a visiting team?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_75 (games INTEGER, points VARCHAR)
<</SYS>>
SELECT SUM(games) FROM table_name_75 WHERE points = 377[/INST] What's the total number of game that has 377 points?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_20 (matches_w_l VARCHAR, placing VARCHAR)
<</SYS>>
SELECT matches_w_l FROM table_name_20 WHERE placing = 3[/INST] Placing of 3 had what match w-l?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_29942205_1 (country_territory VARCHAR)
<</SYS>>
SELECT 1 AS st_runner_up FROM table_29942205_1 WHERE country_territory = "Philippines"[/INST] How many women has got the first runner-up position in representation of Philippines?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_44 (location VARCHAR, date VARCHAR)
<</SYS>>
SELECT location FROM table_name_44 WHERE date = "1931-02-02"[/INST] Which Location has a Date of 1931-02-02?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_14 (attendance INTEGER, away VARCHAR)
<</SYS>>
SELECT MAX(attendance) FROM table_name_14 WHERE away = "real juventud"[/INST] What was the highest attendance against Real Juventud?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_20 (share_of_votes VARCHAR, election VARCHAR)
<</SYS>>
SELECT share_of_votes FROM table_name_20 WHERE election = "2000 (2nd)"[/INST] What is the share of votes in the 2000 (2nd) election?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_18811741_15 (pos INTEGER, podiums VARCHAR)
<</SYS>>
SELECT MAX(pos) FROM table_18811741_15 WHERE podiums = 1[/INST] What is the highest pos for a driver with 1 podium?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_75 (home_team VARCHAR, date VARCHAR, away_team VARCHAR)
<</SYS>>
SELECT home_team FROM table_name_75 WHERE date = "31 january 1951" AND away_team = "sheffield united"[/INST] Who is the home team on 31 January 1951 when away team was Sheffield United?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_5 (political_party VARCHAR, monarchs_served VARCHAR, birth_place VARCHAR)
<</SYS>>
SELECT political_party FROM table_name_5 WHERE monarchs_served = "george v" AND birth_place = "manchester"[/INST] To which political party did the prime minister who served under George V and was born in Manchester belong?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_22883210_9 (game INTEGER, team VARCHAR)
<</SYS>>
SELECT MAX(game) FROM table_22883210_9 WHERE team = "Cleveland"[/INST] What is the highest game number where the team was Cleveland? </s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_69 (silver INTEGER, rank VARCHAR, bronze VARCHAR)
<</SYS>>
SELECT SUM(silver) FROM table_name_69 WHERE rank = "5" AND bronze < 14[/INST] What is the number of silver when rank was 5, and a bronze was smaller than 14?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_9 (winner VARCHAR, team VARCHAR, circuit VARCHAR)
<</SYS>>
SELECT winner FROM table_name_9 WHERE team = "peter jackson racing" AND circuit = "mallala motor sport park"[/INST] Who was the winner for Peter Jackson Racing at Mallala Motor Sport Park?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_27 (opponent VARCHAR, record VARCHAR)
<</SYS>>
SELECT opponent FROM table_name_27 WHERE record = "17-19-4"[/INST] Who is the opponent when the record is 17-19-4?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_32 (date VARCHAR, loss VARCHAR)
<</SYS>>
SELECT date FROM table_name_32 WHERE loss = "willis (0–1)"[/INST] What was the date of the game that had a loss of Willis (0–1)?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_82 (notes VARCHAR, call_sign VARCHAR)
<</SYS>>
SELECT notes FROM table_name_82 WHERE call_sign = "cbue-fm"[/INST] What is the Notes of the Frequency with a call sign of CBUE-FM?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_14 (video VARCHAR, aspect VARCHAR)
<</SYS>>
SELECT video FROM table_name_14 WHERE aspect = "16:9"[/INST] Which Video has an Aspect of 16:9?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2135222_2 (density VARCHAR, english_name VARCHAR)
<</SYS>>
SELECT COUNT(density) FROM table_2135222_2 WHERE english_name = "Yucheng County"[/INST] How many figures are there for density for Yucheng County?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_30062172_3 (gt4_winner VARCHAR, circuit VARCHAR, gt3_winner VARCHAR)
<</SYS>>
SELECT gt4_winner FROM table_30062172_3 WHERE circuit = "Donington Park" AND gt3_winner = "Charles Bateman Michael Lyons"[/INST] When charles bateman michael lyons is the gt3 winner and donington park is the circuit who is the gt4 winner?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_77 (wins VARCHAR, top_5 VARCHAR, events VARCHAR)
<</SYS>>
SELECT COUNT(wins) FROM table_name_77 WHERE top_5 < 2 AND events = 19[/INST] What was Miller Barber wins with Top-5 less than 2 and 19 Events?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_64 (opponent VARCHAR, date VARCHAR)
<</SYS>>
SELECT opponent FROM table_name_64 WHERE date = "17 november 2002"[/INST] Which Opponent is on 17 november 2002?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_75 (losses VARCHAR, draw VARCHAR, wins VARCHAR)
<</SYS>>
SELECT COUNT(losses) FROM table_name_75 WHERE draw < 51 AND wins > 6[/INST] How many total losses were with less than 51 draws but more than 6 wins?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_79 (tournament VARCHAR, date VARCHAR)
<</SYS>>
SELECT tournament FROM table_name_79 WHERE date = "april 3, 2005"[/INST] Name the tournament for april 3, 2005</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_29 (score VARCHAR, date VARCHAR, venue VARCHAR)
<</SYS>>
SELECT score FROM table_name_29 WHERE date = "29 november" AND venue = "state sports centre"[/INST] What is the score of the game that was played on 29 November at State Sports Centre?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_22645714_5 (tournament_venue__city_ VARCHAR, conference VARCHAR)
<</SYS>>
SELECT COUNT(tournament_venue__city_) FROM table_22645714_5 WHERE conference = "Big 12 conference"[/INST] How many locations are listed for the Big 12 Conference?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_25042332_33 (region VARCHAR, life_expectancy_at_birth__2001_2002_ VARCHAR)
<</SYS>>
SELECT region FROM table_25042332_33 WHERE life_expectancy_at_birth__2001_2002_ = "77.9"[/INST] Which region had a life expectancy at birth of 77.9 from 2001-2002?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_99 (overall INTEGER, round VARCHAR, pick__number VARCHAR, college VARCHAR)
<</SYS>>
SELECT SUM(overall) FROM table_name_99 WHERE pick__number = 10 AND college = "louisiana tech" AND round > 3[/INST] What is the overall number for a pick of #10, from Louisiana Tech, and a round bigger than 3?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_8 (attendance INTEGER, opponent VARCHAR)
<</SYS>>
SELECT SUM(attendance) FROM table_name_8 WHERE opponent = "florida panthers"[/INST] What is the Attendance of the game against the Florida Panthers?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_15530244_5 (qualifying VARCHAR, race_3 VARCHAR)
<</SYS>>
SELECT COUNT(qualifying) FROM table_15530244_5 WHERE race_3 = "3"[/INST] Name the total number of qualifiying for race 3 being 3</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_57 (origin VARCHAR, in_service VARCHAR)
<</SYS>>
SELECT origin FROM table_name_57 WHERE in_service = 1[/INST] For the vessel with a listed In service of 1, what is the origin given?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_11960944_6 (date VARCHAR, game VARCHAR)
<</SYS>>
SELECT date FROM table_11960944_6 WHERE game = 57[/INST] What date was game 57 held on?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1414743_1 (fte_teachers VARCHAR, school_level VARCHAR, city VARCHAR)
<</SYS>>
SELECT fte_teachers FROM table_1414743_1 WHERE school_level = "Middle" AND city = "Sunnyvale"[/INST] List all FTE middle school teachers in Sunnyvale.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_69 (leagues_entering VARCHAR, clubs VARCHAR)
<</SYS>>
SELECT leagues_entering FROM table_name_69 WHERE clubs = "8 → 4"[/INST] What is the item for Leagues entering, when the value for Clubs is 8 → 4?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_72 (top_5 INTEGER, tournament VARCHAR, cuts_made VARCHAR)
<</SYS>>
SELECT AVG(top_5) FROM table_name_72 WHERE tournament = "u.s. open" AND cuts_made > 10[/INST] What is the average Top-5, when Tournament is U.S. Open, and when Cuts Made is greater than 10?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_95 (week VARCHAR, attendance VARCHAR)
<</SYS>>
SELECT COUNT(week) FROM table_name_95 WHERE attendance = 61 OFFSET 985[/INST] What is the sum of week number(s) had an attendance of 61,985?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_27 (home_team VARCHAR, venue VARCHAR)
<</SYS>>
SELECT home_team AS score FROM table_name_27 WHERE venue = "kardinia park"[/INST] Who was the home team when the VFL played Kardinia Park?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_2 (locomotive VARCHAR, delivered_as VARCHAR)
<</SYS>>
SELECT locomotive FROM table_name_2 WHERE delivered_as = "t414"[/INST] What Locomotive was Delivered as T414?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_44 (district VARCHAR, iucn VARCHAR, est VARCHAR)
<</SYS>>
SELECT district FROM table_name_44 WHERE iucn = "iii" AND est = 1998[/INST] Which district has an IUCN of iii and was established in 1998?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_62 (nfl_team VARCHAR, position VARCHAR)
<</SYS>>
SELECT nfl_team FROM table_name_62 WHERE position = "tight end"[/INST] What NFL team did the Tight End position belong to?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_21249915_1 (total VARCHAR, department VARCHAR)
<</SYS>>
SELECT COUNT(total) FROM table_21249915_1 WHERE department = "La Paz"[/INST] How many total catagories are there for La Paz? </s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_67 (örebro VARCHAR, umeå VARCHAR)
<</SYS>>
SELECT örebro FROM table_name_67 WHERE umeå = "2"[/INST] What did Orebro score when Umea scored 2?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_84 (maximum_fps INTEGER, width VARCHAR, height VARCHAR)
<</SYS>>
SELECT MIN(maximum_fps) FROM table_name_84 WHERE width = 3072 AND height < 1620[/INST] What is the lowest maximum of fps with a width of 3072 and a height less than 1620?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_62 (years VARCHAR, character VARCHAR)
<</SYS>>
SELECT years FROM table_name_62 WHERE character = "joyce couwenberg"[/INST] What years have joyce couwenberg as the character?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE list (classroom VARCHAR); CREATE TABLE teachers (classroom VARCHAR, firstname VARCHAR, lastname VARCHAR)
<</SYS>>
SELECT COUNT(*) FROM list AS T1 JOIN teachers AS T2 ON T1.classroom = T2.classroom WHERE T2.firstname = "TARRING" AND T2.lastname = "LEIA"[/INST] Find the number of students taught by TARRING LEIA.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_16 (ipsos_5_30_09 VARCHAR, bva_6_1_09 VARCHAR)
<</SYS>>
SELECT ipsos_5_30_09 FROM table_name_16 WHERE bva_6_1_09 = "3%"[/INST] When BVA was 3%, what was the Ipsos?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_19 (branding VARCHAR, location VARCHAR, callsign VARCHAR)
<</SYS>>
SELECT branding FROM table_name_19 WHERE location = "metro manila" AND callsign = "dwbl"[/INST] What is the Branding of the Metro Manila Frequency with a Callsign of DWBL?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_60 (opponent VARCHAR, record VARCHAR)
<</SYS>>
SELECT opponent FROM table_name_60 WHERE record = "64-51"[/INST] Who's the opponent of the game with the record 64-51?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_98 (score_in_the_final VARCHAR, opponent_in_the_final VARCHAR, championship VARCHAR)
<</SYS>>
SELECT score_in_the_final FROM table_name_98 WHERE opponent_in_the_final = "john mcenroe" AND championship = "los angeles , u.s."[/INST] What is Score in The Final, when Opponent in The Final is "John McEnroe", and when Championship is "Los Angeles , U.S."?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_5 (yards INTEGER, average VARCHAR, carries VARCHAR, team VARCHAR)
<</SYS>>
SELECT MIN(yards) FROM table_name_5 WHERE carries < 23 AND team = "at chi" AND average < 8.5[/INST] Which Yards have Carries smaller than 23, and a Team of at chi, and an Average smaller than 8.5?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_47 (score VARCHAR, date VARCHAR)
<</SYS>>
SELECT score FROM table_name_47 WHERE date = "october 25"[/INST] What is the Score of the competition on October 25?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_60 (tournament VARCHAR)
<</SYS>>
SELECT tournament FROM table_name_60 WHERE 2000 = "a"[/INST] What is Tournament, when 2000 is "A"?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_11 (team_1 VARCHAR)
<</SYS>>
SELECT 1 AS st_leg FROM table_name_11 WHERE team_1 = "al fahaheel"[/INST] What is the 1st leg of the Al Fahaheel Team 1?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_13 (percentage__2011_ VARCHAR, population__2006_ VARCHAR, percentage__2006_ VARCHAR)
<</SYS>>
SELECT percentage__2011_ FROM table_name_13 WHERE population__2006_ > 120 AND percentage__2006_ = "45.22%"[/INST] What percentage of the 2011 population had a mother tongue language that was spoken by 45.22% of the population in 2006 (over 120)?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_41 (touchdowns INTEGER, yards VARCHAR)
<</SYS>>
SELECT MIN(touchdowns) FROM table_name_41 WHERE yards = 1318[/INST] What is the lease amount of touchdowns with 1318 yards?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_43 (performances INTEGER, role VARCHAR)
<</SYS>>
SELECT MAX(performances) FROM table_name_43 WHERE role = "geoffrey fitton"[/INST] Name the most performances for geoffrey fitton</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_56 (name VARCHAR, talent VARCHAR)
<</SYS>>
SELECT name FROM table_name_56 WHERE talent = "ballet en pointe"[/INST] Whose talent was ballet en pointe?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_32 (lomavren VARCHAR, persian VARCHAR)
<</SYS>>
SELECT lomavren FROM table_name_32 WHERE persian = "se"[/INST] What is the Lomavren associated with a Persian of se?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE accelerator_compatible_browser (compatible_since_year VARCHAR, browser_id VARCHAR, accelerator_id VARCHAR); CREATE TABLE browser (id VARCHAR, name VARCHAR); CREATE TABLE web_client_accelerator (id VARCHAR, name VARCHAR)
<</SYS>>
SELECT T1.compatible_since_year FROM accelerator_compatible_browser AS T1 JOIN browser AS T2 ON T1.browser_id = T2.id JOIN web_client_accelerator AS T3 ON T1.accelerator_id = T3.id WHERE T3.name = 'CACHEbox' AND T2.name = 'Internet Explorer'[/INST] When did the web accelerator 'CACHEbox' and browser 'Internet Explorer' become compatible?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_50 (goals_scored INTEGER, goals_conceded VARCHAR, played VARCHAR)
<</SYS>>
SELECT MIN(goals_scored) FROM table_name_50 WHERE goals_conceded > 19 AND played < 18[/INST] What is the lowest amount of goals scored that has more than 19 goal conceded and played less than 18?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE products (product_price INTEGER)
<</SYS>>
SELECT MIN(product_price), MAX(product_price), AVG(product_price) FROM products[/INST] Show the minimum, maximum, average price for all products.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1341577_22 (district VARCHAR, first_elected VARCHAR)
<</SYS>>
SELECT district FROM table_1341577_22 WHERE first_elected = 1952[/INST] What is the district for 1952?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_14532_1 (area__km²_ INTEGER, region VARCHAR)
<</SYS>>
SELECT MAX(area__km²_) FROM table_14532_1 WHERE region = "Tuscany"[/INST] What is the area of Tuscany?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_12 (icelandic VARCHAR, english VARCHAR)
<</SYS>>
SELECT icelandic FROM table_name_12 WHERE english = "rain"[/INST] What's the Icelandic word for rain?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_58 (round INTEGER, race_title VARCHAR)
<</SYS>>
SELECT MAX(round) FROM table_name_58 WHERE race_title = "korean grand prix"[/INST] What is the largest round with a Race Title of korean grand prix?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_38 (points INTEGER, name VARCHAR, drawn VARCHAR)
<</SYS>>
SELECT MAX(points) FROM table_name_38 WHERE name = "ea schongau" AND drawn > 1[/INST] What's the most points for Ea Schongau with more than 1 drawn?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_28211103_1 (hawthorn_score VARCHAR, year VARCHAR)
<</SYS>>
SELECT hawthorn_score FROM table_28211103_1 WHERE year = 2000[/INST] What is the hawthorn score at the year 2000?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_83 (annual_generation__average_gwh_ VARCHAR, name VARCHAR)
<</SYS>>
SELECT annual_generation__average_gwh_ FROM table_name_83 WHERE name = "kawerau (bope)"[/INST] What is the Annual Generation at Kawerau (Bope)?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_80 (finish VARCHAR, total VARCHAR)
<</SYS>>
SELECT finish FROM table_name_80 WHERE total = 282[/INST] What was the finish of the player who had a total of 282?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_24 (against VARCHAR, opposing_team VARCHAR)
<</SYS>>
SELECT against FROM table_name_24 WHERE opposing_team = "sheffield wednesday"[/INST] What was the Against when the Opposing Team was sheffield wednesday?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_80 (white VARCHAR, opening VARCHAR, year VARCHAR, moves VARCHAR, black VARCHAR)
<</SYS>>
SELECT white FROM table_name_80 WHERE moves > 19 AND black = "kasparov" AND year < 2000 AND opening = "e93 king's indian defence"[/INST] What's the white of E93 King's Indian Defence when Kasparov was black, moves were greater than 19, and happened before 2000?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_18 (manufacturer VARCHAR, laps VARCHAR)
<</SYS>>
SELECT manufacturer FROM table_name_18 WHERE laps = "8"[/INST] Which manufacturer has 8 laps?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_47 (score VARCHAR, venue VARCHAR)
<</SYS>>
SELECT score FROM table_name_47 WHERE venue = "gelora sriwijaya stadium"[/INST] What was the Score in Gelora Sriwijaya Stadium?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1342292_45 (party VARCHAR, first_elected VARCHAR)
<</SYS>>
SELECT COUNT(party) FROM table_1342292_45 WHERE first_elected = 1930[/INST] How many incumbents were first elected in 1930?</s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.