text_output
stringlengths 114
770
|
|---|
<s>[INST] <<SYS>>
CREATE TABLE table_13619105_4 (high_points VARCHAR, high_assists VARCHAR)
<</SYS>>
SELECT high_points FROM table_13619105_4 WHERE high_assists = "Dee Brown (5)"[/INST] Who had the high point total when dee brown (5) had the high assist total?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_5 (outcome VARCHAR, tournament VARCHAR)
<</SYS>>
SELECT outcome FROM table_name_5 WHERE tournament = "johannesburg, south africa"[/INST] What the Outcome for the Tournament of Johannesburg, South Africa</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_28498999_5 (_number VARCHAR, score VARCHAR)
<</SYS>>
SELECT _number FROM table_28498999_5 WHERE score = 70 - 69 - 69 - 70 = 278[/INST] What is the # listed when the score is 70-69-69-70=278?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_53 (races INTEGER, podiums INTEGER)
<</SYS>>
SELECT MIN(races) FROM table_name_53 WHERE podiums > 1[/INST] What is the lowest Races, when Podiums is greater than 1?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_71 (location VARCHAR, mountain_peak VARCHAR, state VARCHAR, rank VARCHAR)
<</SYS>>
SELECT location FROM table_name_71 WHERE state = "oregon" AND rank < 121 AND mountain_peak = "mount mcloughlin"[/INST] Which location is in Oregon, ranked under 121, and contains Mount McLoughlin?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_27 (year INTEGER, playoffs VARCHAR)
<</SYS>>
SELECT AVG(year) FROM table_name_27 WHERE playoffs = "champion"[/INST] Which year had playoffs of champion?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_90 (_number___county VARCHAR, year_joined VARCHAR, location VARCHAR)
<</SYS>>
SELECT _number___county FROM table_name_90 WHERE year_joined < 1981 AND location = "chalmers"[/INST] which # / county is correct for year less than 1981 and chalmers as location?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_96 (marine_organism_α VARCHAR, disease_area VARCHAR, clinical_trials_β VARCHAR)
<</SYS>>
SELECT marine_organism_α FROM table_name_96 WHERE disease_area = "cancer" AND clinical_trials_β = "4/4"[/INST] What is the organism that has a disease area of cancer and has 4/4 clinical trial b?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_89 (player VARCHAR, venue VARCHAR)
<</SYS>>
SELECT player FROM table_name_89 WHERE venue = "canberra stadium"[/INST] Who is the player of the match at canberra stadium?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE party (party_name VARCHAR, party_id VARCHAR); CREATE TABLE party_events (party_id VARCHAR)
<</SYS>>
SELECT T2.party_name, COUNT(*) FROM party_events AS T1 JOIN party AS T2 ON T1.party_id = T2.party_id GROUP BY T1.party_id[/INST] Show party names and the number of events for each party.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_42 (kk___5 VARCHAR, kk___1 VARCHAR)
<</SYS>>
SELECT kk___5 FROM table_name_42 WHERE kk___1 = "1,067"[/INST] What is KK - 5 if KK - 1 is 1,067?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE TRANSACTIONS (date_of_transaction VARCHAR, share_count VARCHAR, amount_of_transaction VARCHAR)
<</SYS>>
SELECT date_of_transaction FROM TRANSACTIONS WHERE share_count > 100 OR amount_of_transaction > 1000[/INST] Show the dates of transactions if the share count is bigger than 100 or the amount is bigger than 1000.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_38 (Champions INTEGER, league INTEGER)
<</SYS>>
SELECT AVG(Champions) AS league FROM table_name_38 WHERE league < 4[/INST] What is the average Champions League assists for the players with League assists under 4?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_13605170_2 (retired VARCHAR, aircraft_type VARCHAR)
<</SYS>>
SELECT COUNT(retired) FROM table_13605170_2 WHERE aircraft_type = "Curtiss XBTC"[/INST] how many Curtiss XBTC aircraft are retired?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE Customers_cards (card_type_code VARCHAR, customer_id VARCHAR)
<</SYS>>
SELECT card_type_code, COUNT(DISTINCT customer_id) FROM Customers_cards GROUP BY card_type_code[/INST] Show all card type codes and the number of customers holding cards in each type.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_89 (played VARCHAR, points_for VARCHAR)
<</SYS>>
SELECT played FROM table_name_89 WHERE points_for = "369"[/INST] How many games played when the points for is 369?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_66 (goals_for VARCHAR, goals_against VARCHAR, draws VARCHAR, points VARCHAR)
<</SYS>>
SELECT COUNT(goals_for) FROM table_name_66 WHERE draws < 11 AND points = "54+16" AND goals_against < 39[/INST] How many goals for where there when draws are less than 11, points of is 54+16 and goals against are less than 39?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_5 (losses VARCHAR, no_result INTEGER)
<</SYS>>
SELECT COUNT(losses) FROM table_name_5 WHERE no_result < 0[/INST] Name the total number of losses with number result less than 0</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_64 (interview INTEGER, average VARCHAR, evening_gown VARCHAR, state VARCHAR)
<</SYS>>
SELECT SUM(interview) FROM table_name_64 WHERE evening_gown < 8.82 AND state = "kentucky" AND average > 8.85[/INST] What is the total number of interviews where the evening gown number is less than 8.82, the state is Kentucky, and the average is more than 8.85?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_35 (driver VARCHAR, points VARCHAR)
<</SYS>>
SELECT driver FROM table_name_35 WHERE points = 6[/INST] What is the name of the driver with 6 points?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_12 (total_population VARCHAR, male INTEGER)
<</SYS>>
SELECT COUNT(total_population) FROM table_name_12 WHERE male < 789[/INST] What is the total population with less than 789 males?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_89 (date VARCHAR, week VARCHAR)
<</SYS>>
SELECT date FROM table_name_89 WHERE week = 10[/INST] What date was the week 10 game?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE roller_coaster (Country_ID VARCHAR); CREATE TABLE country (Name VARCHAR, Country_ID VARCHAR)
<</SYS>>
SELECT T1.Name FROM country AS T1 JOIN roller_coaster AS T2 ON T1.Country_ID = T2.Country_ID GROUP BY T1.Name HAVING COUNT(*) > 1[/INST] Show the names of countries that have more than one roller coaster.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_16010376_1 (cartridge VARCHAR, source VARCHAR)
<</SYS>>
SELECT cartridge FROM table_16010376_1 WHERE source = "Weatherby"[/INST] What type of cartridge is used by a Weatherby?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_59 (result VARCHAR, opponent VARCHAR, date VARCHAR)
<</SYS>>
SELECT result FROM table_name_59 WHERE opponent = "leeds" AND date = "20/03/2008"[/INST] What result was a date of 20/03/2008 with leeds as the opponent</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_52 (laps INTEGER, rider VARCHAR)
<</SYS>>
SELECT SUM(laps) FROM table_name_52 WHERE rider = "pere riba"[/INST] How many laps did pere riba ride?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2610582_2 (branding VARCHAR, power_kw__erp_ VARCHAR)
<</SYS>>
SELECT COUNT(branding) FROM table_2610582_2 WHERE power_kw__erp_ = "1kW (29.94kW ERP)"[/INST] How many brandings are there where the Power kW (ERP) is 1kW (29.94kW ERP)?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_27268238_4 (highest_score VARCHAR)
<</SYS>>
SELECT 50 AS s FROM table_27268238_4 WHERE highest_score = "88"[/INST] If the highest score is 88, what are the 50s?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE Rooms (roomName VARCHAR, maxOccupancy VARCHAR)
<</SYS>>
SELECT roomName FROM Rooms ORDER BY maxOccupancy DESC LIMIT 1[/INST] Find the name of the room with the maximum occupancy.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_29 (assists VARCHAR, team VARCHAR, total_points VARCHAR)
<</SYS>>
SELECT assists FROM table_name_29 WHERE team = "florida" AND total_points = "75"[/INST] What is the assists for the Team of Florida and the total points of 75?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_8 (legs VARCHAR, year INTEGER)
<</SYS>>
SELECT legs FROM table_name_8 WHERE year < 2009[/INST] what is the legs when the year is earlier than 2009?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_54 (captain VARCHAR, manufacturer VARCHAR, club VARCHAR)
<</SYS>>
SELECT captain FROM table_name_54 WHERE manufacturer = "nike" AND club = "manchester united"[/INST] Which Manchester United captain is sponsored by Nike?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_11274401_3 (air_date VARCHAR, viewers__m_ VARCHAR)
<</SYS>>
SELECT COUNT(air_date) FROM table_11274401_3 WHERE viewers__m_ = "1.82"[/INST] What's the total number of episodes whose original airings were viewed by 1.82 million viewers?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_23286112_7 (high_points VARCHAR, location_attendance VARCHAR)
<</SYS>>
SELECT high_points FROM table_23286112_7 WHERE location_attendance = "Verizon Center 17,152"[/INST] Who has high points when verizon center 17,152 is location attendance?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_43 (points VARCHAR, year VARCHAR, chassis VARCHAR, entrant VARCHAR, engine VARCHAR)
<</SYS>>
SELECT COUNT(points) FROM table_name_43 WHERE entrant = "martini racing" AND engine = "alfa romeo flat-12" AND chassis = "brabham bt45" AND year = 1976[/INST] How many points does an entrant of Martini Racing, the engine of an Alfa Romeo flat-12 a chassis of brabham bt45, and the year 1976 have?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2260452_1 (average_speed__mph_ VARCHAR, race_time VARCHAR)
<</SYS>>
SELECT average_speed__mph_ FROM table_2260452_1 WHERE race_time = "2:00:33"[/INST] If the race time is 2:00:33, what is the average speed?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_66 (date VARCHAR, opponent VARCHAR, result VARCHAR)
<</SYS>>
SELECT date FROM table_name_66 WHERE opponent = "newcastle united" AND result = "2–1"[/INST] Which Date has an Opponent of newcastle united, and a Result of 2–1?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_10650711_1 (nfl_team VARCHAR, player VARCHAR)
<</SYS>>
SELECT nfl_team FROM table_10650711_1 WHERE player = "Clifford Charlton"[/INST] what's the nfl team where player is clifford charlton</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_74 (producer VARCHAR, role VARCHAR)
<</SYS>>
SELECT producer FROM table_name_74 WHERE role = "rizzette"[/INST] Which Producer has a Role of rizzette?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_33 (set_4 VARCHAR, set_1 VARCHAR, set_2 VARCHAR)
<</SYS>>
SELECT set_4 FROM table_name_33 WHERE set_1 = "19-25" AND set_2 = "23-25"[/INST] What is Set 4, when Set 1 is 19-25, and when Set 2 is 23-25?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_80 (week INTEGER, result VARCHAR)
<</SYS>>
SELECT AVG(week) FROM table_name_80 WHERE result = "l 37–34"[/INST] What is the average Week, when Result is l 37–34?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_25 (date VARCHAR, result VARCHAR)
<</SYS>>
SELECT date FROM table_name_25 WHERE result = "aus by 382 runs"[/INST] What date has aus by 382 runs as the result?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_76 (date VARCHAR, location VARCHAR)
<</SYS>>
SELECT date FROM table_name_76 WHERE location = "long beach"[/INST] On what date did a race occur at Long Beach?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1539201_1 (february VARCHAR)
<</SYS>>
SELECT february FROM table_1539201_1[/INST] Name all of the february</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_75 (total VARCHAR, to_par VARCHAR, year_s__won VARCHAR)
<</SYS>>
SELECT total FROM table_name_75 WHERE to_par = "+9" AND year_s__won = "1987"[/INST] Which player won in 1987 and ended with a score of +9?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_56 (ri_song_hui___prk__ VARCHAR)
<</SYS>>
SELECT 102 AS kg FROM table_name_56 WHERE ri_song_hui___prk__ = "226kg"[/INST] What's the 102kg when the Ri Song-Hui was 226kg?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_61 (driver VARCHAR, grid VARCHAR, constructor VARCHAR, laps VARCHAR)
<</SYS>>
SELECT driver FROM table_name_61 WHERE constructor = "maserati" AND laps > 23 AND grid > 7[/INST] Which driver for Maserati has more laps than 23 and a grid greater than 7?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_12 (conmebol_1994 VARCHAR, team VARCHAR, supercopa_1994 VARCHAR, recopa_1994 VARCHAR)
<</SYS>>
SELECT conmebol_1994 FROM table_name_12 WHERE supercopa_1994 = "n/a" AND recopa_1994 = "n/a" AND team = "san lorenzo"[/INST] Which CONMEBOL 1994 has a Supercopa 1994 of n/a, and a Recopa 1994 of n/a, and a Team of san lorenzo?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_38 (loses INTEGER, points INTEGER)
<</SYS>>
SELECT AVG(loses) FROM table_name_38 WHERE points < 6[/INST] Which Loses has Points smaller than 6?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_23670057_6 (height__f_ VARCHAR, player VARCHAR)
<</SYS>>
SELECT height__f_ FROM table_23670057_6 WHERE player = "Steffen Hamann"[/INST] Name the height for steffen hamann</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_52 (grid INTEGER, laps VARCHAR, driver VARCHAR)
<</SYS>>
SELECT MIN(grid) FROM table_name_52 WHERE laps > 67 AND driver = "stefan bellof"[/INST] What is the lowest grid that has over 67 laps with stefan bellof driving?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_26561509_1 (directed_by VARCHAR, production_code VARCHAR)
<</SYS>>
SELECT COUNT(directed_by) FROM table_26561509_1 WHERE production_code = "3T5009"[/INST] How many are directed by episodes with the production code 3T5009?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_2 (game_site VARCHAR, time___et__ VARCHAR)
<</SYS>>
SELECT game_site FROM table_name_2 WHERE time___et__ = "7:00 pm"[/INST] Where will the game at (ET) of 7:00 pm be at?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_13336122_7 (title VARCHAR, directed_by VARCHAR)
<</SYS>>
SELECT title FROM table_13336122_7 WHERE directed_by = "David Duchovny"[/INST] What episode was directed by David Duchovny?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_55 (venue VARCHAR, against VARCHAR, opposing_teams VARCHAR)
<</SYS>>
SELECT venue FROM table_name_55 WHERE against > 3 AND opposing_teams = "south africa"[/INST] What is the venue with more than 3 against, and South Africa is the opposing team?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_69 (january INTEGER, score VARCHAR, game VARCHAR)
<</SYS>>
SELECT SUM(january) FROM table_name_69 WHERE score = "7–4" AND game < 42[/INST] Which January has a Score of 7–4, and a Game smaller than 42?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_31 (round_of_32 VARCHAR, _number_of_bids INTEGER)
<</SYS>>
SELECT round_of_32 FROM table_name_31 WHERE _number_of_bids < 2[/INST] What Round 32 had a # of bids smaller than 2?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_91 (february VARCHAR, game VARCHAR)
<</SYS>>
SELECT february FROM table_name_91 WHERE game = 40[/INST] Which February has a Game of 40?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_92 (played INTEGER, against VARCHAR, points VARCHAR)
<</SYS>>
SELECT MAX(played) FROM table_name_92 WHERE against < 18 AND points < 10[/INST] Which Played is the highest one that has an Against smaller than 18, and Points smaller than 10?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_27491610_2 (no_in_season VARCHAR, us_viewers__millions_ VARCHAR)
<</SYS>>
SELECT no_in_season FROM table_27491610_2 WHERE us_viewers__millions_ = "10.18"[/INST] What number in season had 10.18 million US viewers?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_8 (opponent VARCHAR, record VARCHAR)
<</SYS>>
SELECT opponent FROM table_name_8 WHERE record = "33-15"[/INST] Who was the Blue Jays' opponent when their record was 33-15?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_38 (nba_draft VARCHAR, college VARCHAR)
<</SYS>>
SELECT nba_draft FROM table_name_38 WHERE college = "lsu"[/INST] What is the NBA Draft status of the person who went to college at LSU?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_28 (rank VARCHAR, speed VARCHAR, rider VARCHAR)
<</SYS>>
SELECT rank FROM table_name_28 WHERE speed = "120.979 mph" AND rider = "gary johnson"[/INST] What is the rank of rider gary johnson, who had a speed of 120.979 mph?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_18 (points INTEGER, artist VARCHAR)
<</SYS>>
SELECT SUM(points) FROM table_name_18 WHERE artist = "hari mata hari"[/INST] What's the sum of points for artist hari mata hari?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_33 (date VARCHAR, tie_no VARCHAR)
<</SYS>>
SELECT date FROM table_name_33 WHERE tie_no = "3"[/INST] What is Date, when Tie no is "3"?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_29 (year INTEGER, director VARCHAR)
<</SYS>>
SELECT AVG(year) FROM table_name_29 WHERE director = "ayan mukerji"[/INST] What is average year for ayan mukerji?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_14 (score VARCHAR, visitor VARCHAR)
<</SYS>>
SELECT score FROM table_name_14 WHERE visitor = "chicago"[/INST] what team visited chicago</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_23453931_8 (game VARCHAR, opponent VARCHAR)
<</SYS>>
SELECT COUNT(game) FROM table_23453931_8 WHERE opponent = "Carolina Hurricanes"[/INST] How many games did they play the carolina hurricanes?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_16432543_3 (nickname VARCHAR, established VARCHAR)
<</SYS>>
SELECT nickname FROM table_16432543_3 WHERE established = 2002[/INST] What was the nickname Established in 2002?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_80 (event VARCHAR, prize VARCHAR)
<</SYS>>
SELECT event FROM table_name_80 WHERE prize = "€900,000"[/INST] What event had a prize of €900,000?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_14070062_3 (tries_for VARCHAR, club VARCHAR)
<</SYS>>
SELECT tries_for FROM table_14070062_3 WHERE club = "Pontardawe RFC"[/INST] How many tries for does Pontardawe RFC have? </s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_17941032_2 (drawn VARCHAR)
<</SYS>>
SELECT drawn FROM table_17941032_2 WHERE "played" = "played"[/INST] How many draws were there in played games?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_19 (opponent VARCHAR, date VARCHAR)
<</SYS>>
SELECT opponent FROM table_name_19 WHERE date = "november 12, 1972"[/INST] Who was the opponent on November 12, 1972?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE chip_model (RAM_MiB INTEGER, model_name VARCHAR, chip_model VARCHAR); CREATE TABLE phone (RAM_MiB INTEGER, model_name VARCHAR, chip_model VARCHAR)
<</SYS>>
SELECT AVG(RAM_MiB) FROM chip_model WHERE NOT model_name IN (SELECT chip_model FROM phone)[/INST] Find the average ram mib size of the chip models that are never used by any phone.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_19998428_3 (san_antonio_de_lomerío_municipality___percentage_ VARCHAR, san_javier_municipality___percentage_ VARCHAR)
<</SYS>>
SELECT san_antonio_de_lomerío_municipality___percentage_ FROM table_19998428_3 WHERE san_javier_municipality___percentage_ = 31[/INST] What is the municipality percentage for San Antonio de Lomerio is San Javier municipality percentage is 31?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_10 (film_title_used_in_nomination VARCHAR, original_name VARCHAR)
<</SYS>>
SELECT film_title_used_in_nomination FROM table_name_10 WHERE original_name = "mig og charly"[/INST] What is the Film title used in nomination of Mig Og Charly?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_23 (seats_2001 VARCHAR, _percentage_2006 INTEGER)
<</SYS>>
SELECT COUNT(seats_2001) FROM table_name_23 WHERE _percentage_2006 < 8.6[/INST] None of the communities listed has a percentage smaller than 8.6 in 2006.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_18 (finish VARCHAR, to_par VARCHAR)
<</SYS>>
SELECT finish FROM table_name_18 WHERE to_par = "+18"[/INST] What is the finish when the to par is +18?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_50 (type VARCHAR, callsign VARCHAR)
<</SYS>>
SELECT type FROM table_name_50 WHERE callsign = "xetam"[/INST] What is the Type, when Callsign is "Xetam"?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_18 (club VARCHAR, losing_bonus VARCHAR)
<</SYS>>
SELECT club FROM table_name_18 WHERE losing_bonus = "1"[/INST] Which Club has 1 Losing bonus?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_8 (grid INTEGER, time VARCHAR, bike VARCHAR)
<</SYS>>
SELECT MAX(grid) FROM table_name_8 WHERE time = "retirement" AND bike = "suzuki gsx-r1000 k7"[/INST] Which suzuki gsx-r1000 k7 has the highest time of retirement?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_23988726_2 (saif_saaeed_shaheen___qat__ VARCHAR)
<</SYS>>
SELECT 3 AS _september_2004 FROM table_23988726_2 WHERE saif_saaeed_shaheen___qat__ = "Daniel Lincoln ( USA )"[/INST] When daniel lincoln ( usa ) is the saif saaeed shaheen ( qat ) What is the date for September 3rd, 2004?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_13 (placing VARCHAR, horse VARCHAR)
<</SYS>>
SELECT placing FROM table_name_13 WHERE horse = "viewed"[/INST] What place was the viewed horse?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_13 (goal INTEGER, date VARCHAR)
<</SYS>>
SELECT SUM(goal) FROM table_name_13 WHERE date = "november 22, 1994"[/INST] How many goals were scored on November 22, 1994?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_22 (crowd INTEGER, away_team VARCHAR)
<</SYS>>
SELECT AVG(crowd) FROM table_name_22 WHERE away_team = "north melbourne"[/INST] What is the average crowd size for games with north melbourne as the away side?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_26240481_1 (fbs_opponent VARCHAR, result VARCHAR)
<</SYS>>
SELECT fbs_opponent FROM table_26240481_1 WHERE result = "L, 62-3"[/INST] Who played FBS where the result was L, 62-3?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_10 (dance VARCHAR, highest_score VARCHAR, best_dancer_s_ VARCHAR)
<</SYS>>
SELECT dance FROM table_name_10 WHERE highest_score < 30 AND best_dancer_s_ = "stacy keibler"[/INST] What is the Dance with the Highest score under 30 and Stacy Keibler as the Best dancer(s)?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_69 (standard_order VARCHAR, traditional_chinese VARCHAR)
<</SYS>>
SELECT standard_order FROM table_name_69 WHERE traditional_chinese = "國殤"[/INST] Which number is 國殤?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_34 (date VARCHAR, opponent VARCHAR, kickoff_ VARCHAR, a_ VARCHAR)
<</SYS>>
SELECT date FROM table_name_34 WHERE kickoff_[a_] = "4:00" AND opponent = "detroit lions"[/INST] Which date has a Kickoff [a] of 4:00, and an Opponent of detroit lions?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_8 (result VARCHAR, location VARCHAR, year VARCHAR)
<</SYS>>
SELECT result FROM table_name_8 WHERE location = "warsaw" AND year = 1929[/INST] Tell me the result for warsaw 1929</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_93 (score VARCHAR, date VARCHAR)
<</SYS>>
SELECT score FROM table_name_93 WHERE date = "2000-05-23"[/INST] What is Score, when Date is "2000-05-23"?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_89 (report VARCHAR, date VARCHAR, away_team VARCHAR)
<</SYS>>
SELECT report FROM table_name_89 WHERE date = "29 november" AND away_team = "melbourne tigers"[/INST] What kind of report was for the game played on 29 November with Melbourne Tigers being the away team?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_92 (nationality VARCHAR, pick VARCHAR)
<</SYS>>
SELECT nationality FROM table_name_92 WHERE pick = 116[/INST] What Nationality is the Pick that is 116?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_22603701_1 (result VARCHAR, college VARCHAR)
<</SYS>>
SELECT result FROM table_22603701_1 WHERE college = "Wisconsin"[/INST] What is the result for Wisconsin? </s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_85 (score VARCHAR, surface VARCHAR, outcome VARCHAR)
<</SYS>>
SELECT score FROM table_name_85 WHERE surface = "hard" AND outcome = "runner-up"[/INST] what is the score when the surface is hard and outcome is runner-up?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_65 (record VARCHAR, attendance VARCHAR)
<</SYS>>
SELECT record FROM table_name_65 WHERE attendance = "35,614"[/INST] What was the record for the game attended by 35,614 spectators?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_33 (sites INTEGER, headquarters VARCHAR, rank VARCHAR)
<</SYS>>
SELECT MIN(sites) FROM table_name_33 WHERE headquarters = "columbus, ga" AND rank < 4[/INST] what is the lowest number of sites when the headquarters are in columbus, ga and the rank is smaller than 4?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_76 (country_region VARCHAR, languages VARCHAR)
<</SYS>>
SELECT country_region FROM table_name_76 WHERE languages = "vietnamese"[/INST] What country speaks Vietnamese?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_74 (points INTEGER, drawn VARCHAR, played VARCHAR)
<</SYS>>
SELECT AVG(points) FROM table_name_74 WHERE drawn = 3 AND played < 22[/INST] Which Points is the average one that has Drawn of 3, and a Played smaller than 22?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_58 (tries_for VARCHAR)
<</SYS>>
SELECT tries_for FROM table_name_58 WHERE "club" = "club"[/INST] What are the tries for a club of a club?</s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.