text_output
stringlengths 114
770
|
|---|
<s>[INST] <<SYS>>
CREATE TABLE table_name_15 (moving_to VARCHAR, nat VARCHAR)
<</SYS>>
SELECT moving_to FROM table_name_15 WHERE nat = "arg esp"[/INST] Where is the nationality of Arg Esp moving to?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_32 (winning_score VARCHAR, margin_of_victory VARCHAR, date VARCHAR)
<</SYS>>
SELECT winning_score FROM table_name_32 WHERE margin_of_victory = "1 stroke" AND date = "jan 22, 1995"[/INST] What was the winning score on Jan 22, 1995 when the margin of victory was 1 stroke?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_56 (iata VARCHAR, country VARCHAR, city VARCHAR)
<</SYS>>
SELECT iata FROM table_name_56 WHERE country = "libya" AND city = "benghazi"[/INST] What is the IATA for Benghazi, Libya?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_86 (image VARCHAR, husband VARCHAR)
<</SYS>>
SELECT image FROM table_name_86 WHERE husband = "william iv"[/INST] Which image is of the woman married to william iv?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_15467476_3 (won VARCHAR, tries_against VARCHAR)
<</SYS>>
SELECT won FROM table_15467476_3 WHERE tries_against = "49"[/INST] How many games won for teams with 49 tries against?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_68 (runner_up VARCHAR, location VARCHAR)
<</SYS>>
SELECT runner_up FROM table_name_68 WHERE location = "hossegor"[/INST] Who was the Runner-up in Hossegor?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_28210383_1 (original_air_date VARCHAR, prod_code VARCHAR)
<</SYS>>
SELECT original_air_date FROM table_28210383_1 WHERE prod_code = "2ACX12"[/INST] What was the orginal air date for episodes with production code 2acx12?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2592308_1 (denominations__gold_weight_ VARCHAR, country VARCHAR)
<</SYS>>
SELECT COUNT(denominations__gold_weight_) FROM table_2592308_1 WHERE country = "Austria"[/INST] How many catagories for denominations does Austria have? </s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_16751596_2 (republican VARCHAR, dates_administered VARCHAR)
<</SYS>>
SELECT republican AS :_steve_sauerberg FROM table_16751596_2 WHERE dates_administered = "September 15-September 18, 2008"[/INST] Name the republican steve sauerberg where dates administered september 15-september 18, 2008</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_26 (location VARCHAR, ppv_buyrate VARCHAR)
<</SYS>>
SELECT location FROM table_name_26 WHERE ppv_buyrate = "775,000"[/INST] Which Location has a PPV Buyrate of 775,000?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_76 (silver INTEGER, total VARCHAR, bronze VARCHAR)
<</SYS>>
SELECT SUM(silver) FROM table_name_76 WHERE total > 2 AND bronze > 2[/INST] What is the total sum of silver metals for all countries with more than 2 Bronze medals?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_97 (transfer_fee VARCHAR, ends VARCHAR, moving_from VARCHAR)
<</SYS>>
SELECT transfer_fee FROM table_name_97 WHERE ends = 2011 AND moving_from = "thrasyvoulos"[/INST] What was the transfer fee for the player ending in 2011 and moving from Thrasyvoulos?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_27743641_2 (gt_winning_team VARCHAR, gtc_winning_team VARCHAR)
<</SYS>>
SELECT gt_winning_team FROM table_27743641_2 WHERE gtc_winning_team = "No. 54 Black Swan Racing"[/INST] Who were the GT winning team when the GTC winning team was No. 54 Black Swan Racing?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE STUDENT (Age INTEGER)
<</SYS>>
SELECT MAX(Age) FROM STUDENT[/INST] Find the maximum age of all the students.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_39 (date VARCHAR, catalog VARCHAR)
<</SYS>>
SELECT date FROM table_name_39 WHERE catalog = "rr 8655-2"[/INST] What is the release Date of Catalog RR 8655-2?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_61 (home_team VARCHAR, away_team VARCHAR)
<</SYS>>
SELECT home_team FROM table_name_61 WHERE away_team = "hawthorn"[/INST] Who was the home team when Hawthorn was the away team?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_84 (location VARCHAR, time VARCHAR)
<</SYS>>
SELECT location FROM table_name_84 WHERE time = 10.82[/INST] Time of 10.82 has what location?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_5 (dob VARCHAR, surname VARCHAR)
<</SYS>>
SELECT dob FROM table_name_5 WHERE surname = "biddle"[/INST] When is Biddle's DOB?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_22654073_13 (high_rebounds VARCHAR, date VARCHAR)
<</SYS>>
SELECT high_rebounds FROM table_22654073_13 WHERE date = "May 11"[/INST] List all high rebound entries from May 11.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_23466021_4 (opponent VARCHAR, attendance VARCHAR)
<</SYS>>
SELECT opponent FROM table_23466021_4 WHERE attendance = 36102[/INST] Which opponent has 36102 is the attendance?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_49 (description VARCHAR, livery VARCHAR, date VARCHAR, number_ VARCHAR, _name VARCHAR)
<</SYS>>
SELECT description FROM table_name_49 WHERE livery = "black" AND date < 1897 AND number_ & _name = "scottish tar distillers no. 78"[/INST] What's the Description for Scottish Tar Distillers No. 78, that's Livery is black, and a date prior to 1897?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_73 (population_in_millions VARCHAR, gdp_2012_millions_of_euro VARCHAR)
<</SYS>>
SELECT population_in_millions FROM table_name_73 WHERE gdp_2012_millions_of_euro = "600,638"[/INST] What is Population in Millions, when GDP 2012 Millions of Euro is 600,638?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_87 (a_side VARCHAR, catalog_number VARCHAR)
<</SYS>>
SELECT a_side FROM table_name_87 WHERE catalog_number = "902"[/INST] What is the A-side for catalog 902?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_25 (week VARCHAR, opponent VARCHAR)
<</SYS>>
SELECT COUNT(week) FROM table_name_25 WHERE opponent = "dallas cowboys"[/INST] What is the total number of weeks that the Giants played against the Dallas Cowboys?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_28365816_2 (tournament_venue__city_ VARCHAR, regular_season_winner VARCHAR)
<</SYS>>
SELECT tournament_venue__city_ FROM table_28365816_2 WHERE regular_season_winner = "Yale"[/INST] When Yale is listed as the regular season winner, what tournament venue is given?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_34 (venue VARCHAR, home_team VARCHAR)
<</SYS>>
SELECT venue FROM table_name_34 WHERE home_team = "collingwood"[/INST] What was the venue when Collingwood was the home team?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_75 (money_raised VARCHAR, _3q VARCHAR, cash_on_hand VARCHAR)
<</SYS>>
SELECT money_raised, _3q FROM table_name_75 WHERE cash_on_hand = "$5,821,587"[/INST] How much money has been raised that has $5,821,587 cash on hand?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_76 (venue VARCHAR, score VARCHAR)
<</SYS>>
SELECT venue FROM table_name_76 WHERE score = "1-1"[/INST] In what Venue was the Score 1-1?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_83 (license VARCHAR, system VARCHAR, name VARCHAR)
<</SYS>>
SELECT license FROM table_name_83 WHERE system = "amiga" AND name = "pocketuae"[/INST] Which License has a System of amiga, and a Name of pocketuae?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_64 (record VARCHAR, home VARCHAR)
<</SYS>>
SELECT record FROM table_name_64 WHERE home = "minnesota"[/INST] What was the record when Minnesota was the home team?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_18 (tournament VARCHAR)
<</SYS>>
SELECT 2009 FROM table_name_18 WHERE 2012 = "a" AND 2003 = "a" AND tournament = "madrid masters"[/INST] What was 2009, when 2012 was A, when 2003 was A, and then the Tournament was the Madrid Masters?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_39 (position VARCHAR, round VARCHAR, college VARCHAR)
<</SYS>>
SELECT position FROM table_name_39 WHERE round = 5 AND college = "alabama state"[/INST] What is the position for round 5 from alabama state?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_16 (date VARCHAR, winning_score VARCHAR)
<</SYS>>
SELECT date FROM table_name_16 WHERE winning_score = –16(67 - 70 - 69 - 66 = 272)[/INST] What day was the winning score –16 (67-70-69-66=272)?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_75 (week INTEGER, date VARCHAR)
<</SYS>>
SELECT SUM(week) FROM table_name_75 WHERE date = "december 6, 1964"[/INST] What was the week of the game played December 6, 1964?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_93 (status VARCHAR, area_km_2 INTEGER)
<</SYS>>
SELECT status FROM table_name_93 WHERE area_km_2 > 303.73[/INST] What is Status, when Area km 2 is greater than 303.73?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_4 (assists VARCHAR, player VARCHAR)
<</SYS>>
SELECT assists FROM table_name_4 WHERE player = "steve walker"[/INST] How many assists did Steve Walker have?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_38 (rank INTEGER, nationality VARCHAR, react VARCHAR)
<</SYS>>
SELECT MAX(rank) FROM table_name_38 WHERE nationality = "belgium" AND react > 0.162[/INST] What is the highest rank of an athlete from Belgium with react greater than 0.162?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_25668962_1 (directed_by VARCHAR, no_in_series VARCHAR)
<</SYS>>
SELECT directed_by FROM table_25668962_1 WHERE no_in_series = 18[/INST] Who directed episode number 18 in the series?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_182298_5 (mens_open VARCHAR, country VARCHAR)
<</SYS>>
SELECT COUNT(mens_open) FROM table_182298_5 WHERE country = "Sweden"[/INST] How many won the Men's Open if the players are from Sweden?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_67 (make_and_model VARCHAR, quantity VARCHAR, bicycle_capacity† VARCHAR, fuel_propulsion VARCHAR, floor_type VARCHAR)
<</SYS>>
SELECT make_and_model FROM table_name_67 WHERE fuel_propulsion = "diesel" AND floor_type = "high" AND bicycle_capacity† < 3 AND quantity = 4[/INST] What make and model of the diesel vehicle with a high floor type, bike capacity less than 3, and a quantity of 4?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_60 (score VARCHAR, winner VARCHAR)
<</SYS>>
SELECT score FROM table_name_60 WHERE winner = "keith clearwater (1)"[/INST] What is the score from the winner Keith Clearwater (1)?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_93 (position VARCHAR, player VARCHAR)
<</SYS>>
SELECT position FROM table_name_93 WHERE player = "hedo türkoğlu"[/INST] What position does Hedo Türkoğlu play?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_50 (platform_s_ VARCHAR, game VARCHAR)
<</SYS>>
SELECT platform_s_ FROM table_name_50 WHERE game = "red dead redemption"[/INST] Which platform was Red Dead Redemption for?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_92 (m1a1_abrams VARCHAR, lince VARCHAR)
<</SYS>>
SELECT m1a1_abrams FROM table_name_92 WHERE lince = "t (short tons)"[/INST] What is the M1A1 when the Lince was T (Short Tons)?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_70 (date VARCHAR, away_team VARCHAR)
<</SYS>>
SELECT date FROM table_name_70 WHERE away_team = "fitzroy"[/INST] When did Fitzroy play as the away team?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE claims_processing (claim_stage_id VARCHAR); CREATE TABLE claims_processing_stages (claim_status_name VARCHAR, claim_stage_id VARCHAR)
<</SYS>>
SELECT t2.claim_status_name FROM claims_processing AS t1 JOIN claims_processing_stages AS t2 ON t1.claim_stage_id = t2.claim_stage_id GROUP BY t1.claim_stage_id ORDER BY COUNT(*) DESC LIMIT 1[/INST] What is the name of the claim processing stage that most of the claims are on?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_35 (winner VARCHAR, country VARCHAR, date VARCHAR)
<</SYS>>
SELECT winner FROM table_name_35 WHERE country = "united states" AND date = "november 24-december 6"[/INST] On the date november 24-december 6 what's the winner when the country is united states?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_22 (arkansas VARCHAR, alabama VARCHAR)
<</SYS>>
SELECT arkansas FROM table_name_22 WHERE alabama = "ken stabler"[/INST] Who is the Arkansas player associated with Ken Stabler?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE customers (customer_id VARCHAR); CREATE TABLE addresses (address_id VARCHAR, city VARCHAR); CREATE TABLE customer_addresses (customer_id VARCHAR, address_id VARCHAR)
<</SYS>>
SELECT COUNT(*) FROM customers AS t1 JOIN customer_addresses AS t2 ON t1.customer_id = t2.customer_id JOIN addresses AS t3 ON t2.address_id = t3.address_id WHERE t3.city = "Lake Geovannyton"[/INST] How many customers are living in city "Lake Geovannyton"?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_23184448_3 (opp_points INTEGER, record VARCHAR)
<</SYS>>
SELECT MIN(opp_points) FROM table_23184448_3 WHERE record = "6-2"[/INST] How many points did the opposing team get in the game with 6-2 record?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_58 (attendance INTEGER, date VARCHAR, week VARCHAR)
<</SYS>>
SELECT MAX(attendance) FROM table_name_58 WHERE date = "november 11, 1979" AND week > 11[/INST] How many people attended the Cleveland Browns game on November 11, 1979?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_17 (time INTEGER, lane VARCHAR, rank VARCHAR)
<</SYS>>
SELECT SUM(time) FROM table_name_17 WHERE lane = 1 AND rank < 8[/INST] Name the sum of time for lane of 1 and rank less than 8</s>
|
<s>[INST] <<SYS>>
CREATE TABLE farm_competition (Hosts VARCHAR, Theme VARCHAR)
<</SYS>>
SELECT Hosts FROM farm_competition WHERE Theme <> 'Aliens'[/INST] What are the hosts of competitions whose theme is not "Aliens"?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_27714985_1 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR)
<</SYS>>
SELECT original_air_date FROM table_27714985_1 WHERE us_viewers__millions_ = "23.2"[/INST] What was the broadcast date of episodes that were watched by 23.2 million viewers?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_10284385_1 (party VARCHAR, date_of_birth VARCHAR)
<</SYS>>
SELECT party FROM table_10284385_1 WHERE date_of_birth = "November 10, 1880"[/INST] Which politican party has a birthday of November 10, 1880</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_62 (attendance VARCHAR, date VARCHAR)
<</SYS>>
SELECT COUNT(attendance) FROM table_name_62 WHERE date = "november 1, 1942"[/INST] What was the attendance on November 1, 1942?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_16751596_12 (republican VARCHAR, dates_administered VARCHAR)
<</SYS>>
SELECT COUNT(republican) AS :_jeff_sessions FROM table_16751596_12 WHERE dates_administered = "November 14, 2007"[/INST] On November 14, 2007, how many different Republican: Jeff Sessions are there?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_25800134_4 (director VARCHAR, series__number VARCHAR)
<</SYS>>
SELECT COUNT(director) FROM table_25800134_4 WHERE series__number = 158[/INST] How many directors worked on #158?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_32 (class VARCHAR, laps VARCHAR)
<</SYS>>
SELECT class FROM table_name_32 WHERE laps = 325[/INST] What was the class when there were 325 laps?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_67 (home VARCHAR, attendance VARCHAR, away VARCHAR)
<</SYS>>
SELECT home FROM table_name_67 WHERE attendance < 529 AND away = "platense"[/INST] Who was the home team for the game with Platense as the away team and attendance under 529?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_25030512_4 (district VARCHAR, incumbent VARCHAR)
<</SYS>>
SELECT district FROM table_25030512_4 WHERE incumbent = "Mike Rogers"[/INST] Name the district for mike rogers</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_13337302_16 (stumpings INTEGER, player VARCHAR)
<</SYS>>
SELECT MAX(stumpings) FROM table_13337302_16 WHERE player = "Tim Latham"[/INST] How many stumpings did the player Tim Latham have?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_14342592_5 (player VARCHAR, position VARCHAR)
<</SYS>>
SELECT player FROM table_14342592_5 WHERE position = "Left tackle"[/INST] What players played the position of left tackle?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_75 (finish VARCHAR, year VARCHAR)
<</SYS>>
SELECT finish FROM table_name_75 WHERE year = "1953"[/INST] What is the finish in 1953?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_60 (country VARCHAR, player VARCHAR)
<</SYS>>
SELECT country FROM table_name_60 WHERE player = "tiger woods"[/INST] What country has the player Tiger Woods?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_14603212_5 (class_aAA VARCHAR, school_year VARCHAR)
<</SYS>>
SELECT class_aAA FROM table_14603212_5 WHERE school_year = "2004-05"[/INST] What are all the AAA classes in the school years of 2004-05?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_81 (borough_or_a VARCHAR, ›_ VARCHAR, name_a VARCHAR)
<</SYS>>
SELECT borough_or_a[›_] AS _census_area FROM table_name_81 WHERE name_a[›_] = "jerome lake dam"[/INST] what is the borough or A[›] Census area when the Name A[›] is jerome lake dam?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_57 (genitive_1 VARCHAR, genitive_3 VARCHAR)
<</SYS>>
SELECT genitive_1 FROM table_name_57 WHERE genitive_3 = "*n(i)-ia"[/INST] Which Genitive 1 has a Genitive 3 of *n(i)-ia?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_18274425_1 (written_by VARCHAR, production_code VARCHAR)
<</SYS>>
SELECT written_by FROM table_18274425_1 WHERE production_code = "3T7573"[/INST] Who were the authors of episode having production code 3t7573?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_18600760_9 (longitude VARCHAR, ansi_code VARCHAR)
<</SYS>>
SELECT longitude FROM table_18600760_9 WHERE ansi_code = 1759682[/INST] What is the longitude of the township at ANSI code 1759682?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_65 (snatch INTEGER, bodyweight VARCHAR, total__kg_ VARCHAR)
<</SYS>>
SELECT MAX(snatch) FROM table_name_65 WHERE bodyweight = 68.63 AND total__kg_ < 290[/INST] Tell me the highest snatch for 68.63 bodyweight and total kg less than 290</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_29 (labour_party INTEGER, green_party VARCHAR, fianna_fáil VARCHAR, total VARCHAR)
<</SYS>>
SELECT SUM(labour_party) FROM table_name_29 WHERE fianna_fáil = 3 AND total > 9 AND green_party > 2[/INST] How many are in the Labour Party of a Fianna Fail of 3 with a total higher than 9 and more than 2 in the Green Party?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_40 (share_of_votes VARCHAR, number_of_ndc_votes VARCHAR)
<</SYS>>
SELECT share_of_votes FROM table_name_40 WHERE number_of_ndc_votes = "3,567,021"[/INST] What is the share of votes with 3,567,021 NDC votes?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_25 (population VARCHAR, median_household_income VARCHAR)
<</SYS>>
SELECT population FROM table_name_25 WHERE median_household_income = "$69,760"[/INST] What is the population for a county that has a median income of $69,760?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_1 (left_office VARCHAR, inaugurated VARCHAR)
<</SYS>>
SELECT left_office FROM table_name_1 WHERE inaugurated = "15 march 1930"[/INST] What is Left Office, when Inaugurate is "15 March 1930"?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_37 (date VARCHAR, circuit VARCHAR)
<</SYS>>
SELECT date FROM table_name_37 WHERE circuit = "sandown raceway"[/INST] On what Date is the Circuit at Sandown Raceway?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2562572_20 (largest_ethnic_group__2002_ VARCHAR, population__2011_ VARCHAR)
<</SYS>>
SELECT largest_ethnic_group__2002_ FROM table_2562572_20 WHERE population__2011_ = 24112[/INST] Name the largest ethnic group for 24112</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_41 (record VARCHAR, round VARCHAR, time VARCHAR)
<</SYS>>
SELECT record FROM table_name_41 WHERE round < 3 AND time = "4:59"[/INST] what is the record when the round is before 3 and the time si 4:59?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_77 (country VARCHAR, medal VARCHAR, event VARCHAR)
<</SYS>>
SELECT country FROM table_name_77 WHERE medal = "silver" AND event = "boxing, heavyweight"[/INST] What country has a silver medal in the boxing, heavyweight event?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_13619135_7 (high_assists VARCHAR, team VARCHAR)
<</SYS>>
SELECT COUNT(high_assists) FROM table_13619135_7 WHERE team = "@ Minnesota"[/INST] How many people had the high assists @ minnesota?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_86 (player VARCHAR, position VARCHAR)
<</SYS>>
SELECT player FROM table_name_86 WHERE position = "sg"[/INST] Who has a position of sg?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_74 (played VARCHAR, position VARCHAR, drawn VARCHAR, points VARCHAR)
<</SYS>>
SELECT COUNT(played) FROM table_name_74 WHERE drawn = 2 AND points < 16 AND position > 5[/INST] How many games were played by the team with 2 draws, less than 16 points and a position higher than 5?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_91 (genre VARCHAR, game VARCHAR)
<</SYS>>
SELECT genre FROM table_name_91 WHERE game = "god of war"[/INST] What genre has the game god of war?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_11 (long INTEGER, gain VARCHAR, avg_g VARCHAR)
<</SYS>>
SELECT SUM(long) FROM table_name_11 WHERE gain < 379 AND avg_g = 0.8[/INST] How many longs have a gain less than 379, and 0.8 as an avg/g?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_26 (pick INTEGER, year VARCHAR)
<</SYS>>
SELECT AVG(pick) FROM table_name_26 WHERE year = 1983[/INST] What is the average pick in 1983?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_11780179_1 (gdp_per_capita__nominal_ VARCHAR, gdp__nominal_ VARCHAR)
<</SYS>>
SELECT COUNT(gdp_per_capita__nominal_) FROM table_11780179_1 WHERE gdp__nominal_ = "$29.9 billion"[/INST] How many countries has a gdp (nominal) of $29.9 billion?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_80 (country VARCHAR, internetlists VARCHAR, onisecurityfiltering VARCHAR)
<</SYS>>
SELECT country FROM table_name_80 WHERE internetlists = "—" AND onisecurityfiltering = "—"[/INST] What is the name of the country that has internetlists of —, and ONIsecurityfiltering of —?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_43 (position VARCHAR, nhl_team VARCHAR, pick__number VARCHAR)
<</SYS>>
SELECT position FROM table_name_43 WHERE nhl_team = "vancouver canucks" AND pick__number = "101"[/INST] What position in the Vancouver Canucks has a Pick # of 101?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_79 (flattening_ratio VARCHAR, equatorial_diameter VARCHAR)
<</SYS>>
SELECT flattening_ratio FROM table_name_79 WHERE equatorial_diameter = "49,528km"[/INST] What is the Flattening ratio associated with the Equatorial diameter of 49,528km?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_17111812_1 (winner VARCHAR, fifth VARCHAR)
<</SYS>>
SELECT winner FROM table_17111812_1 WHERE fifth = "Dizzee Rascal"[/INST] When dizzee rascal is 5th, who was the winner?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_18 (year INTEGER, competition VARCHAR, position VARCHAR)
<</SYS>>
SELECT AVG(year) FROM table_name_18 WHERE competition = "world junior championships" AND position = "20th (qf)"[/INST] What year was the Competition of World Junior Championships with a 20th (qf) position?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_11 (melbourne VARCHAR, adelaide VARCHAR, gold_coast VARCHAR, perth VARCHAR)
<</SYS>>
SELECT melbourne FROM table_name_11 WHERE gold_coast = "yes" AND perth = "cancelled" AND adelaide = "cancelled"[/INST] Which Melbourne has Gold Coast yes, Perth cancelled, and Adelaide cancelled?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_75 (losses INTEGER, club VARCHAR, draws VARCHAR)
<</SYS>>
SELECT MAX(losses) FROM table_name_75 WHERE club = "terang" AND draws < 0[/INST] what is the most losses when the club is terang and draws is less than 0?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1112176_1 (league_apps__sub_ INTEGER)
<</SYS>>
SELECT MAX(league_apps__sub_) FROM table_1112176_1[/INST] League apps (sub) maximum?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_93 (opponent VARCHAR, aces VARCHAR, event VARCHAR)
<</SYS>>
SELECT opponent FROM table_name_93 WHERE aces < 50 AND event = "2001 davis cup"[/INST] At the 2001 Davis Cup, what Opponent had less than 50 Aces?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_54 (theme_song_s_ VARCHAR, japanese_title VARCHAR)
<</SYS>>
SELECT theme_song_s_ FROM table_name_54 WHERE japanese_title = "恋におちたら~僕の成功の秘密~"[/INST] Which Theme Song(s) has a Japanese Title of 恋におちたら~僕の成功の秘密~?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_98 (home_team VARCHAR)
<</SYS>>
SELECT home_team AS score FROM table_name_98 WHERE home_team = "melbourne"[/INST] What is the Home team score for the Home team of Melbourne?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_79 (total_population__1000_ INTEGER, country VARCHAR, born_in_a_non_eu_state__1000_ VARCHAR)
<</SYS>>
SELECT MAX(total_population__1000_) FROM table_name_79 WHERE country = "sweden" AND born_in_a_non_eu_state__1000_ < 859[/INST] What is the greatest Total population (1000) from Sweden and born in a non EU state (1000) less than 859?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_18 (t20_matches VARCHAR, total VARCHAR)
<</SYS>>
SELECT t20_matches FROM table_name_18 WHERE total = "23"[/INST] What T20 Match has a total of 23?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_38 (school_club_team VARCHAR, round VARCHAR, overall VARCHAR)
<</SYS>>
SELECT school_club_team FROM table_name_38 WHERE round > 13 AND overall = 384[/INST] What school/club team did the player who was drafted after round 13 with an overall rank of 384 play for?</s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.