text_output
stringlengths 114
770
|
|---|
<s>[INST] <<SYS>>
CREATE TABLE table_name_52 (round VARCHAR, date VARCHAR)
<</SYS>>
SELECT round FROM table_name_52 WHERE date = "26 august 1995"[/INST] What is the round on 26 August 1995?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_4 (Id VARCHAR)
<</SYS>>
SELECT MAX(1995) FROM table_name_4 WHERE 1990 > 36 AND 1987 < 1987 AND 2007 > 107[/INST] What is the highest 1995 with a 1990 less than 36, a 1987 less than 1987, and a 2007 value greater than 107?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_90 (country VARCHAR, player VARCHAR)
<</SYS>>
SELECT country FROM table_name_90 WHERE player = "todd hamilton"[/INST] What country has todd hamilton as the player?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_62 (home_team VARCHAR, away_team VARCHAR)
<</SYS>>
SELECT home_team FROM table_name_62 WHERE away_team = "carlton"[/INST] Who played against Carlton as the home team?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_29 (pick INTEGER, round VARCHAR, college VARCHAR)
<</SYS>>
SELECT AVG(pick) FROM table_name_29 WHERE round > 3 AND college = "princeton"[/INST] What is the average pick for Princeton after round 3?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1342331_5 (incumbent VARCHAR, first_elected VARCHAR)
<</SYS>>
SELECT COUNT(incumbent) FROM table_1342331_5 WHERE first_elected = 1932[/INST] how many incumbent with first elected being 1932</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_57 (team VARCHAR, points VARCHAR)
<</SYS>>
SELECT COUNT(1991 AS _1992) FROM table_name_57 WHERE team = "gimnasia de la plata" AND points > 113[/INST] How much 1991-1992 has a Team of gimnasia de la plata, and more than 113 points?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1644876_2 (l INTEGER)
<</SYS>>
SELECT MIN(l) FROM table_1644876_2[/INST] What is the fewest number of losses?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_18 (runner_up VARCHAR, rank VARCHAR, champion VARCHAR, fourth_place VARCHAR)
<</SYS>>
SELECT runner_up FROM table_name_18 WHERE champion = "0" AND fourth_place = "0" AND rank = 6[/INST] What was the runner-up when champion is 0, 4th place is 0 and rank is 6?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE Students (current_address_id VARCHAR)
<</SYS>>
SELECT COUNT(DISTINCT current_address_id) FROM Students[/INST] How many different addresses do the students currently live?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_225093_4 (district VARCHAR, vacator VARCHAR)
<</SYS>>
SELECT district FROM table_225093_4 WHERE vacator = "John Culpepper (F)"[/INST] Which district has John Culpepper (f) as the vacator?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_32 (winning_driver VARCHAR, constructor VARCHAR, fastest_lap VARCHAR)
<</SYS>>
SELECT winning_driver FROM table_name_32 WHERE constructor = "ferrari" AND fastest_lap = "luigi villoresi"[/INST] Who won the race with a Ferrari, were Luigi Villoresi set the fastest lap time?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_88 (name VARCHAR, term_end VARCHAR)
<</SYS>>
SELECT name FROM table_name_88 WHERE term_end = "18 july 1944"[/INST] Which Name has a Term end of 18 july 1944?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2015453_1 (remarks VARCHAR, date VARCHAR)
<</SYS>>
SELECT remarks FROM table_2015453_1 WHERE date = "8 October 2008"[/INST] What are the remarks for 8 October 2008?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_2 (duration VARCHAR, character VARCHAR)
<</SYS>>
SELECT duration FROM table_name_2 WHERE character = "clemens richter"[/INST] How many years did the soap opera run in which the character Clemens Richter was included?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_82 (first_party VARCHAR, year VARCHAR, first_member VARCHAR)
<</SYS>>
SELECT first_party FROM table_name_82 WHERE year < 1857 AND first_member = "lord john hay"[/INST] What is the first party for Lord John Hay earlier than 1857?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_33 (record VARCHAR, loss VARCHAR)
<</SYS>>
SELECT record FROM table_name_33 WHERE loss = "stottlemyre (10-12)"[/INST] What was the record of the game that had a loss of Stottlemyre (10-12)?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_73 (tournament VARCHAR, career_sr VARCHAR)
<</SYS>>
SELECT tournament FROM table_name_73 WHERE career_sr = "atp masters series"[/INST] What is Tournament, when Career SR is "ATP Masters Series"?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_73 (stage INTEGER, category VARCHAR, year VARCHAR)
<</SYS>>
SELECT SUM(stage) FROM table_name_73 WHERE category = "1" AND year > 2003[/INST] What is the sum of the stages for category 1 races after the year 2003?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_29012710_1 (number_of_dairy_cows INTEGER, province VARCHAR)
<</SYS>>
SELECT MIN(number_of_dairy_cows) FROM table_29012710_1 WHERE province = "Ontario"[/INST] what is the least amount of milk cattle in ontario</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_84 (player VARCHAR, year_s__won VARCHAR)
<</SYS>>
SELECT player FROM table_name_84 WHERE year_s__won = "1955"[/INST] What is Player, when Year(s) Won is 1955?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_38 (games INTEGER, name VARCHAR, rebounds VARCHAR)
<</SYS>>
SELECT MIN(games) FROM table_name_38 WHERE name = "travis watson" AND rebounds < 136[/INST] What is the lowest Games, when Name is Travis Watson, and when Rebounds is less than 136?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_180802_3 (sanskrit_word VARCHAR, color VARCHAR)
<</SYS>>
SELECT sanskrit_word FROM table_180802_3 WHERE color = "red"[/INST] What is the sanskrit word for the color red?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_56 (tier INTEGER, postseason VARCHAR, season VARCHAR)
<</SYS>>
SELECT AVG(tier) FROM table_name_56 WHERE postseason = "–" AND season = "2012–13"[/INST] What is the average Tier when the postseason shows -, and the season is 2012–13?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_27756164_2 (date VARCHAR, high_points VARCHAR)
<</SYS>>
SELECT date FROM table_27756164_2 WHERE high_points = "Roy Hibbert (27)"[/INST] When did the Roy Hibbert (27) did the high points?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_73 (goal_difference INTEGER, goals_against VARCHAR, played VARCHAR)
<</SYS>>
SELECT SUM(goal_difference) FROM table_name_73 WHERE goals_against > 47 AND played > 38[/INST] What is the total goal difference with more than 38 played and more than 47 goals against?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_13 (series VARCHAR, site VARCHAR, sport VARCHAR)
<</SYS>>
SELECT series FROM table_name_13 WHERE site = "ames" AND sport = "w gymnastics"[/INST] Which Series has a Site of ames and a Sport of w gymnastics?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_8 (gpu_model VARCHAR, frequency VARCHAR, sspec_number VARCHAR)
<</SYS>>
SELECT gpu_model FROM table_name_8 WHERE frequency = "3.4 ghz" AND sspec_number = "sr00b(d2)"[/INST] what is the gpu model when the frequency is 3.4 ghz and the sspec number is sr00b(d2)?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_10601843_2 (capacity INTEGER, stadium VARCHAR)
<</SYS>>
SELECT MAX(capacity) FROM table_10601843_2 WHERE stadium = "Otkrytie Arena"[/INST] What is the maximum capacity of the Otkrytie Arena stadium?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_73 (week VARCHAR, air_date VARCHAR)
<</SYS>>
SELECT week FROM table_name_73 WHERE air_date = "august 30, 2008"[/INST] Which Week has an Air Date of august 30, 2008?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_86 (party VARCHAR, incumbent VARCHAR)
<</SYS>>
SELECT party FROM table_name_86 WHERE incumbent = "stanyarne wilson"[/INST] What party has an incumbent of Stanyarne Wilson?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_11 (events INTEGER, rank VARCHAR, wins VARCHAR)
<</SYS>>
SELECT AVG(events) FROM table_name_11 WHERE rank < 2 AND wins < 5[/INST] What is the average events where the rank is smaller than 2 and wins are smaller than 5?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2850912_5 (pick__number INTEGER, player VARCHAR)
<</SYS>>
SELECT MAX(pick__number) FROM table_2850912_5 WHERE player = "Timo Lehkonen"[/INST] What is Timo Lehkonen's highest pick number?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE Accounts (customer_id VARCHAR); CREATE TABLE Customers (customer_first_name VARCHAR, customer_last_name VARCHAR, phone_number VARCHAR, customer_id VARCHAR)
<</SYS>>
SELECT DISTINCT T1.customer_first_name, T1.customer_last_name, T1.phone_number FROM Customers AS T1 JOIN Accounts AS T2 ON T1.customer_id = T2.customer_id[/INST] Show the unique first names, last names, and phone numbers for all customers with any account.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_15 (races VARCHAR, position VARCHAR, points VARCHAR, wins VARCHAR)
<</SYS>>
SELECT races FROM table_name_15 WHERE points = "n/a" AND wins = "0" AND position = "6th"[/INST] What races have n/a Points, 0 Wins, and 6th Position entries?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_98 (bullet_weight VARCHAR, max_pressure VARCHAR)
<</SYS>>
SELECT bullet_weight FROM table_name_98 WHERE max_pressure = "12,000 cup"[/INST] What is the bullet weight with a 12,000 cup max pressure?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_63 (crowd INTEGER, away_team VARCHAR)
<</SYS>>
SELECT AVG(crowd) FROM table_name_63 WHERE away_team = "south melbourne"[/INST] What was the average crowd size when the away team was South Melbourne?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_29 (time_retired VARCHAR, laps VARCHAR, grid VARCHAR)
<</SYS>>
SELECT time_retired FROM table_name_29 WHERE laps < 33 AND grid = 14[/INST] What was the time/retired with laps less than 33 and a grid of 14?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_39 (date VARCHAR, loss VARCHAR)
<</SYS>>
SELECT date FROM table_name_39 WHERE loss = "schrom"[/INST] Loss of schrom happened on what date?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_23 (crowd INTEGER, venue VARCHAR)
<</SYS>>
SELECT SUM(crowd) FROM table_name_23 WHERE venue = "princes park"[/INST] What is the total crowd count for the venue Princes Park?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_31 (capacity_in_use VARCHAR, annual_change VARCHAR)
<</SYS>>
SELECT capacity_in_use FROM table_name_31 WHERE annual_change = "21.8%"[/INST] What is the Capacity in use with an Annual change that is 21.8%?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_70 (venue VARCHAR, pens VARCHAR, tries VARCHAR)
<</SYS>>
SELECT venue FROM table_name_70 WHERE pens = "0" AND tries = "1"[/INST] In which venue did 0 pens and 1 try occur?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_81 (set_2 VARCHAR, total VARCHAR)
<</SYS>>
SELECT set_2 FROM table_name_81 WHERE total = "52:44"[/INST] What is Set 2, when Total is "52:44"?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_65 (surface VARCHAR, score VARCHAR)
<</SYS>>
SELECT surface FROM table_name_65 WHERE score = "6–4, 6–2"[/INST] Which Surface has a Score of 6–4, 6–2?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_96 (name_of_ship VARCHAR, fate VARCHAR, time VARCHAR)
<</SYS>>
SELECT name_of_ship FROM table_name_96 WHERE fate = "sunk at" AND time = "01:00"[/INST] Which ship was sunk at 01:00?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_73 (news_freq VARCHAR, show_name VARCHAR)
<</SYS>>
SELECT news_freq FROM table_name_73 WHERE show_name = "locker room"[/INST] What is the news frequency for the show Locker Room?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_256286_40 (passed VARCHAR, yes_votes VARCHAR)
<</SYS>>
SELECT COUNT(passed) FROM table_256286_40 WHERE yes_votes = 390338[/INST] How many votes passed are listed on the measure that had 390338 yes votes? </s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_64 (name_of_ship VARCHAR, date VARCHAR)
<</SYS>>
SELECT name_of_ship FROM table_name_64 WHERE date = "20february1942"[/INST] What is the Name of the Ship attacked on 20February1942?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE Flight (Id VARCHAR)
<</SYS>>
SELECT COUNT(*) FROM Flight[/INST] How many flights do we have?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_16799784_3 (latitude VARCHAR, longitude VARCHAR)
<</SYS>>
SELECT latitude FROM table_16799784_3 WHERE longitude = "321.9E"[/INST] At a longitude of 321.9e, what is the latitude of the features found?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_64 (champion VARCHAR, third VARCHAR, season VARCHAR)
<</SYS>>
SELECT champion FROM table_name_64 WHERE third = "blaho blahoyeve" AND season = "1995-96"[/INST] Which Champion has a Third of blaho blahoyeve, and a Season of 1995-96?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_67 (years VARCHAR, decile VARCHAR, name VARCHAR)
<</SYS>>
SELECT years FROM table_name_67 WHERE decile < 7 AND name = "waitoa school"[/INST] Name the years when decile was less than 7 for waitoa school</s>
|
<s>[INST] <<SYS>>
CREATE TABLE Templates (template_type_code VARCHAR)
<</SYS>>
SELECT COUNT(*) FROM Templates WHERE template_type_code = "CV"[/INST] How many templates have template type code CV?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE Ref_Transaction_Types (transaction_type_description VARCHAR, transaction_type_code VARCHAR)
<</SYS>>
SELECT transaction_type_description FROM Ref_Transaction_Types WHERE transaction_type_code = "PUR"[/INST] Show the description of transaction type with code "PUR".</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_79 (score VARCHAR, opponent VARCHAR)
<</SYS>>
SELECT score FROM table_name_79 WHERE opponent = "ann grossman"[/INST] what is the score when the opponent is ann grossman?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE users (user_login VARCHAR)
<</SYS>>
SELECT COUNT(*) FROM users WHERE user_login = 1[/INST] How many users are logged in?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_16048129_5 (number_of_people INTEGER, average_family_size VARCHAR)
<</SYS>>
SELECT MAX(number_of_people) FROM table_16048129_5 WHERE average_family_size = "2.8"[/INST] What is the largest population in regions where the average family size is 2.8 people?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_66 (party VARCHAR, district VARCHAR)
<</SYS>>
SELECT party FROM table_name_66 WHERE district = "colorado 6"[/INST] In Colorado 6 district what is the party?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_74 (pick__number VARCHAR, cfl_team VARCHAR, player VARCHAR)
<</SYS>>
SELECT pick__number FROM table_name_74 WHERE cfl_team = "montreal alouettes" AND player = "peter moore"[/INST] What is the pick number for Peter Moore of the Montreal Alouettes?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_27876486_2 (clubs VARCHAR, round VARCHAR)
<</SYS>>
SELECT clubs FROM table_27876486_2 WHERE round = "Sixth round proper"[/INST] what is the club in the sixth round proper</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_66 (bronze INTEGER, gold INTEGER)
<</SYS>>
SELECT MAX(bronze) FROM table_name_66 WHERE gold > 1[/INST] What largest bronze number has a gold number that is bigger than 1?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE Lessons (vehicle_id VARCHAR); CREATE TABLE Vehicles (vehicle_id VARCHAR, vehicle_details VARCHAR)
<</SYS>>
SELECT T1.vehicle_id, T1.vehicle_details FROM Vehicles AS T1 JOIN Lessons AS T2 ON T1.vehicle_id = T2.vehicle_id GROUP BY T1.vehicle_id ORDER BY COUNT(*) DESC LIMIT 1[/INST] What is the id and detail of the vehicle used in lessons for most of the times?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_66 (date VARCHAR, partner VARCHAR)
<</SYS>>
SELECT date FROM table_name_66 WHERE partner = "daniella dominikovic"[/INST] Which Date has a Partner of daniella dominikovic?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE artist (name VARCHAR, year_join VARCHAR, country VARCHAR)
<</SYS>>
SELECT name, year_join FROM artist WHERE country <> 'United States'[/INST] Show all artist names and the year joined who are not from United States.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_91 (round VARCHAR, player VARCHAR)
<</SYS>>
SELECT COUNT(round) FROM table_name_91 WHERE player = "cleveland mccrae"[/INST] How many round values are associated with Cleveland McCrae?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2385460_1 (stations VARCHAR, travel_time VARCHAR)
<</SYS>>
SELECT COUNT(stations) FROM table_2385460_1 WHERE travel_time = "15 minutes"[/INST] Name the number of stations for 15 minutes travel time</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_48 (week INTEGER, date VARCHAR)
<</SYS>>
SELECT MIN(week) FROM table_name_48 WHERE date = "october 11, 1998"[/INST] What was the week on October 11, 1998?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_27902171_7 (high_points VARCHAR, score VARCHAR)
<</SYS>>
SELECT high_points FROM table_27902171_7 WHERE score = "W 112-110"[/INST] Who had the high points when the score was w 112-110?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_33 (pick__number INTEGER, round INTEGER)
<</SYS>>
SELECT MAX(pick__number) FROM table_name_33 WHERE round > 11[/INST] What is the highest pick # after round 11?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_25 (player VARCHAR, cross_code_debut VARCHAR)
<</SYS>>
SELECT player FROM table_name_25 WHERE cross_code_debut = "rl test gb v france"[/INST] What is the Player with a Cross Code Debut of RL Test GB v France?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_96 (grid INTEGER, manufacturer VARCHAR, rider VARCHAR)
<</SYS>>
SELECT SUM(grid) FROM table_name_96 WHERE manufacturer = "aprilia" AND rider = "sandro cortese"[/INST] Can you tell me the sum of Grid that has the Manufacturer of aprilia, and the sandro cortese?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_55 (leading_scorer VARCHAR, visitor VARCHAR)
<</SYS>>
SELECT leading_scorer FROM table_name_55 WHERE visitor = "trail blazers"[/INST] Who was the leading scorer when the visiting team was the Trail Blazers?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_18 (points INTEGER, position VARCHAR, lost VARCHAR, name VARCHAR)
<</SYS>>
SELECT SUM(points) FROM table_name_18 WHERE lost < 10 AND name = "vfl denklingen" AND position > 2[/INST] what is the sum of points when lost is less than 10, name is vfl denklingen and position is higher than 2?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_9 (inclination VARCHAR, mass VARCHAR)
<</SYS>>
SELECT inclination FROM table_name_9 WHERE mass = "≥ 6.6 +1.1 −1.0 m⊕"[/INST] What Inclination has a Mass of ≥ 6.6 +1.1 −1.0 m⊕?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_74 (money___ INTEGER, player VARCHAR)
<</SYS>>
SELECT SUM(money___) AS $__ FROM table_name_74 WHERE player = "ed oliver"[/INST] How much money did the player Ed Oliver win?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_62 (entrant VARCHAR, constructor VARCHAR)
<</SYS>>
SELECT entrant FROM table_name_62 WHERE constructor = "benetton - playlife"[/INST] Which entrant had a constructor of benetton - playlife?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_94 (season VARCHAR, away VARCHAR)
<</SYS>>
SELECT season FROM table_name_94 WHERE away = "1–2"[/INST] Which Season has an Away of 1–2?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_69 (points INTEGER, name VARCHAR)
<</SYS>>
SELECT AVG(points) FROM table_name_69 WHERE name = "denis kornilov"[/INST] Which Points have a Name of denis kornilov?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_59 (track INTEGER, original_album VARCHAR)
<</SYS>>
SELECT AVG(track) FROM table_name_59 WHERE original_album = "turbulent indigo"[/INST] Which track has the original album turbulent indigo?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_66 (driver VARCHAR, laps VARCHAR)
<</SYS>>
SELECT driver FROM table_name_66 WHERE laps = 53[/INST] Who drove 53 laps?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2263152_1 (version VARCHAR, features VARCHAR, distribution_mechanism VARCHAR)
<</SYS>>
SELECT version FROM table_2263152_1 WHERE features = "Service release" AND distribution_mechanism = "Windows NT 4.0 Option Pack Microsoft Office 97"[/INST] If the distribution mechanism is windows nt 4.0 option pack Microsoft office 97 and the features is service release, what is the version?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_49 (result VARCHAR, record VARCHAR)
<</SYS>>
SELECT result FROM table_name_49 WHERE record = "58–11"[/INST] What was the result with a record of 58–11?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_98 (game INTEGER, attendance VARCHAR)
<</SYS>>
SELECT MIN(game) FROM table_name_98 WHERE attendance = 56 OFFSET 505[/INST] What is the first game number that had attendance of 56,505?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_51 (fcc_info VARCHAR, city_of_license VARCHAR)
<</SYS>>
SELECT fcc_info FROM table_name_51 WHERE city_of_license = "irmo, south carolina"[/INST] What is the FCC info of the translator with an Irmo, South Carolina city license?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_99 (points INTEGER)
<</SYS>>
SELECT MIN(2 AS nd__m_) FROM table_name_99 WHERE points > 251.6[/INST] What is the lowest 2nd (m) when the points were larger than 251.6?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_35 (name VARCHAR, total_points VARCHAR, rank VARCHAR)
<</SYS>>
SELECT name FROM table_name_35 WHERE total_points = "23" AND rank = "13"[/INST] Who is at rank 13 with 23 total points?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_93 (gold INTEGER, bronze VARCHAR, rank VARCHAR)
<</SYS>>
SELECT MAX(gold) FROM table_name_93 WHERE bronze = 1 AND rank = 5[/INST] What is the highest gold when bronze is 1, and rank is 5?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_85 (time VARCHAR, event VARCHAR)
<</SYS>>
SELECT time FROM table_name_85 WHERE event = "gcm: demolition 1"[/INST] What is Time, when Event is "GCM: Demolition 1"?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_90 (manager VARCHAR, shirt_sponsor VARCHAR)
<</SYS>>
SELECT manager FROM table_name_90 WHERE shirt_sponsor = "arke"[/INST] Which manager sponsor arke shirt?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2764267_2 (country VARCHAR, currency VARCHAR)
<</SYS>>
SELECT country FROM table_2764267_2 WHERE currency = "Yen"[/INST] Name the country that has the yen</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_24027047_1 (population_density___km²_2011_ VARCHAR, area__km²__2011 VARCHAR)
<</SYS>>
SELECT population_density___km²_2011_ FROM table_24027047_1 WHERE area__km²__2011 * * = "684.37"[/INST] What was the population density in km2 for 2011 in the division where area in km2 was 684.37 in 2011? </s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_82 (attendance INTEGER, season VARCHAR, venue VARCHAR)
<</SYS>>
SELECT MAX(attendance) FROM table_name_82 WHERE season < 1957 AND venue = "varsity stadium"[/INST] Before 1957, what was the largest in Attendance at Varsity Stadium?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_34 (bronze INTEGER, total VARCHAR, gold VARCHAR)
<</SYS>>
SELECT MIN(bronze) FROM table_name_34 WHERE total = 4 AND gold < 1[/INST] Which Bronze has a Total of 4, and a Gold smaller than 1?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_53 (manufacturer VARCHAR, rider VARCHAR, laps VARCHAR, grid VARCHAR)
<</SYS>>
SELECT manufacturer FROM table_name_53 WHERE laps < 28 AND grid < 9 AND rider = "jeremy mcwilliams"[/INST] Which manufacturer has more than 28 laps and less than 9 grids with jeremy mcwilliams?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_30 (sub_parish__sokn_ VARCHAR, year_built VARCHAR, location_of_the_church VARCHAR)
<</SYS>>
SELECT sub_parish__sokn_ FROM table_name_30 WHERE year_built = "1957" AND location_of_the_church = "stavang"[/INST] What is the Sub-Parish (Sokn) that was built in 1957 in the location of Stavang?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_27922491_8 (wickets INTEGER)
<</SYS>>
SELECT MIN(wickets) FROM table_27922491_8[/INST] What is the least amount of wickets?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_41 (date_of_departure VARCHAR, replaced_by VARCHAR)
<</SYS>>
SELECT date_of_departure FROM table_name_41 WHERE replaced_by = "bojan prašnikar"[/INST] When was the departure date when a manager was replaced by Bojan Prašnikar?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_42 (played VARCHAR, position VARCHAR, team VARCHAR)
<</SYS>>
SELECT COUNT(played) FROM table_name_42 WHERE position < 4 AND team = "witton albion"[/INST] What is the number of played when the position is less than 4, and the team is Witton Albion?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_59 (score VARCHAR, tie_no VARCHAR, home_team VARCHAR)
<</SYS>>
SELECT score FROM table_name_59 WHERE tie_no = "replay" AND home_team = "mansfield town"[/INST] What was the score when the tie number was a replay and the home team was mansfield town?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_26 (away_team VARCHAR, home_team VARCHAR)
<</SYS>>
SELECT away_team AS score FROM table_name_26 WHERE home_team = "hawthorn"[/INST] What was the away team score at Hawthorn?</s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.