text_output
stringlengths 114
770
|
|---|
<s>[INST] <<SYS>>
CREATE TABLE table_11963601_11 (high_points VARCHAR, date VARCHAR)
<</SYS>>
SELECT high_points FROM table_11963601_11 WHERE date = "May 3"[/INST] Who was the high scorer and how much did they score in the game on May 3? </s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_53 (election VARCHAR)
<</SYS>>
SELECT 2 AS nd_party FROM table_name_53 WHERE election = "1885"[/INST] What 2nd Party has an Election of 1885?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_22580855_1 (written_by VARCHAR, series_no VARCHAR)
<</SYS>>
SELECT written_by FROM table_22580855_1 WHERE series_no = 170[/INST] who are the writer of the series episode number 170?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_23014923_1 (season VARCHAR, minor__south__winners VARCHAR)
<</SYS>>
SELECT season FROM table_23014923_1 WHERE minor__south__winners = "Bristol Sanctuary XI"[/INST] What is the season date if the minor (South) winners is Bristol Sanctuary XI?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_31 (percent_of_slovenes_1951 VARCHAR, village__german_ VARCHAR)
<</SYS>>
SELECT percent_of_slovenes_1951 FROM table_name_31 WHERE village__german_ = "roach"[/INST] What percentage of Slovenes lived in the village of Roach in 1951?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_27 (playoffs VARCHAR, year VARCHAR)
<</SYS>>
SELECT playoffs FROM table_name_27 WHERE year = "1924/25"[/INST] In 1924/25, who was in the playoffs?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_3 (points VARCHAR, engine VARCHAR, chassis VARCHAR)
<</SYS>>
SELECT points FROM table_name_3 WHERE engine = "ford v8" AND chassis = "tyrrell 007"[/INST] How many points did the Ford V8 with a Tyrrell 007 have?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_34 (home VARCHAR, time VARCHAR)
<</SYS>>
SELECT home FROM table_name_34 WHERE time = "12:00"[/INST] What is the Home with a Time that is 12:00?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_85 (away_team VARCHAR, venue VARCHAR)
<</SYS>>
SELECT away_team AS score FROM table_name_85 WHERE venue = "lake oval"[/INST] What is the score of the team that plays in lake oval?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_17 (skipper VARCHAR, combined_elapsed_time VARCHAR)
<</SYS>>
SELECT skipper FROM table_name_17 WHERE combined_elapsed_time = "174d 01h 11m 59s"[/INST] Which skipper has a combine elapsed time of 174d 01h 11m 59s?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_25 (record VARCHAR, time___et__ VARCHAR, opponent VARCHAR)
<</SYS>>
SELECT record FROM table_name_25 WHERE time___et__ = "1:00pm" AND opponent = "kansas city chiefs"[/INST] Which Record has a Time (ET) of 1:00pm, and an Opponent of kansas city chiefs?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1342218_17 (candidates VARCHAR, party VARCHAR, incumbent VARCHAR)
<</SYS>>
SELECT candidates FROM table_1342218_17 WHERE party = "Democratic" AND incumbent = "Frank Chelf"[/INST] List all candidates in the democratic party where the election had the incumbent Frank Chelf running.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_80 (ends VARCHAR, transfer_fee VARCHAR)
<</SYS>>
SELECT COUNT(ends) FROM table_name_80 WHERE transfer_fee = "dkk 14m"[/INST] What is the total number of ends when the transfer fee was dkk 14m?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_50 (title VARCHAR, production_code VARCHAR)
<</SYS>>
SELECT title FROM table_name_50 WHERE production_code = "ad1b04"[/INST] What is the title of the episode with a production code of ad1b04?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_78 (order_and_title VARCHAR, elevated VARCHAR, elector VARCHAR)
<</SYS>>
SELECT order_and_title FROM table_name_78 WHERE elevated = "may 1262" AND elector = "guillaume de bray"[/INST] With a date of May 1262 under elevated, Guillaume de Bray as the elector, what is the order and title?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_10 (years_in_orlando VARCHAR, player VARCHAR, nationality VARCHAR, position VARCHAR)
<</SYS>>
SELECT years_in_orlando FROM table_name_10 WHERE nationality = "united states" AND position = "center" AND player = "jawann oldham"[/INST] Which Years in Orlando has a Nationality of united states, a Position of center, and a Player of jawann oldham?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1446600_4 (date_successor_seated VARCHAR, district VARCHAR)
<</SYS>>
SELECT date_successor_seated FROM table_1446600_4 WHERE district = "Georgia 6th"[/INST] What is the date the successor was seated for the georgia 6th district?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_22 (week VARCHAR, date VARCHAR, attendance VARCHAR)
<</SYS>>
SELECT COUNT(week) FROM table_name_22 WHERE date = "september 8, 1980" AND attendance > 55 OFFSET 045[/INST] How many Weeks are on september 8, 1980 and Attendances larger than 55,045? Question 4</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_17085724_1 (sarasota VARCHAR, indianapolis_concerts VARCHAR)
<</SYS>>
SELECT sarasota FROM table_17085724_1 WHERE indianapolis_concerts = "Samantha Sharpe"[/INST] Name the sarasota samantha sharpe</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_22 (result VARCHAR, category VARCHAR)
<</SYS>>
SELECT result FROM table_name_22 WHERE category = "choice tv actor: drama"[/INST] What is the result of the choice tv actor: drama category?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_13 (week INTEGER, game_site VARCHAR, attendance VARCHAR)
<</SYS>>
SELECT SUM(week) FROM table_name_13 WHERE game_site = "the meadowlands" AND attendance = "78,161"[/INST] What week did the Jets play in the meadowlands with and attendance of 78,161?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_98 (rank INTEGER, react VARCHAR, time VARCHAR)
<</SYS>>
SELECT MAX(rank) FROM table_name_98 WHERE react = 0.198 AND time < 46.3[/INST] Which Rank has a Reaction of 0.198, and a Time smaller than 46.3?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_25933764_1 (w INTEGER, locale VARCHAR, Ontario VARCHAR)
<</SYS>>
SELECT MIN(w) FROM table_25933764_1 WHERE locale = Ontario[/INST] If the locale is Ontario, what is the W minimum?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_29163303_4 (surface VARCHAR, score VARCHAR)
<</SYS>>
SELECT surface FROM table_29163303_4 WHERE score = "6–1, 4–6, [12–10]"[/INST] On what surface was it the year when the score was 6–1, 4–6, [12–10]?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_39 (date VARCHAR, type VARCHAR, pilot VARCHAR, record_description VARCHAR)
<</SYS>>
SELECT date FROM table_name_39 WHERE pilot = "g.v. alfyorov" AND record_description = "altitude with kg (lb) payload" AND type = "mi-10"[/INST] Pilot of g.v. alfyorov, and a Record description of altitude with kg (lb) payload, and a Type of mi-10 involved what date?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_26375386_16 (couple VARCHAR, total VARCHAR)
<</SYS>>
SELECT couple FROM table_26375386_16 WHERE total = 8[/INST] What couple had a total of 8?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_30 (record VARCHAR, res VARCHAR, event VARCHAR)
<</SYS>>
SELECT record FROM table_name_30 WHERE res = "win" AND event = "extreme fighting 1"[/INST] Which Record has the Res of win with the Event of extreme fighting 1?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE authors (Id VARCHAR)
<</SYS>>
SELECT COUNT(*) FROM authors[/INST] How many authors are there?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_96 (target VARCHAR, brand_name VARCHAR)
<</SYS>>
SELECT target FROM table_name_96 WHERE brand_name = "mylotarg"[/INST] What's the target for the brand mylotarg?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_256286_39 (description VARCHAR, _percentage_yes VARCHAR)
<</SYS>>
SELECT description FROM table_256286_39 WHERE _percentage_yes = "44.06%"[/INST] What is the measure where the yes% is 44.06%?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_22 (imprint VARCHAR, title VARCHAR)
<</SYS>>
SELECT imprint FROM table_name_22 WHERE title = "owari no chronicle (ahead series)"[/INST] what is the imprint when the title is owari no chronicle (ahead series)?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_14425454_1 (ground VARCHAR, crowd VARCHAR)
<</SYS>>
SELECT ground FROM table_14425454_1 WHERE crowd = "8,256"[/INST] What stadiums had an attendance of 8,256?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_82 (wins INTEGER, events VARCHAR, cuts_made VARCHAR, top_25 VARCHAR)
<</SYS>>
SELECT MAX(wins) FROM table_name_82 WHERE cuts_made = 1 AND top_25 < 1 AND events < 2[/INST] What is the highest number of wins a tournament with 1 cuts made, a top-25 less than 1, and less than 2 events has?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_69 (record VARCHAR, visitor VARCHAR)
<</SYS>>
SELECT record FROM table_name_69 WHERE visitor = "buffalo"[/INST] What is the record when the visitor is Buffalo?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_53 (player VARCHAR, average VARCHAR)
<</SYS>>
SELECT player FROM table_name_53 WHERE average = 38.22[/INST] Which player has an average of 38.22?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1439096_1 (original_air_date__atv_ VARCHAR, episode_no VARCHAR)
<</SYS>>
SELECT original_air_date__atv_ FROM table_1439096_1 WHERE episode_no = 1[/INST] What was the original air date (atv) of episode 1?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_63 (date VARCHAR, surface VARCHAR, event VARCHAR)
<</SYS>>
SELECT date FROM table_name_63 WHERE surface = "road" AND event = "half marathon"[/INST] When has a surface of road and an event of half marathon?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_51 (paper_type VARCHAR, illustration VARCHAR)
<</SYS>>
SELECT paper_type FROM table_name_51 WHERE illustration = "martin dee, ubc public affairs"[/INST] What is the Paper Type with an Illustration with martin dee, ubc public affairs?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_54 (player VARCHAR, place VARCHAR, country VARCHAR, score VARCHAR)
<</SYS>>
SELECT player FROM table_name_54 WHERE place = "t10" AND country = "united states" AND score = 67 - 73 = 140[/INST] What Player has a Place of t10, a Country of united states, and a Score of 67-73=140?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_30 (time VARCHAR, record VARCHAR)
<</SYS>>
SELECT time FROM table_name_30 WHERE record = "3-3"[/INST] What is the Time of the match with a Record of 3-3?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_71 (team VARCHAR, previous_team VARCHAR, pos VARCHAR)
<</SYS>>
SELECT team FROM table_name_71 WHERE previous_team = "san diego rockets" AND pos = "f"[/INST] Which Team has a Previous team of san diego rockets, and a Position of f?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_99 (date VARCHAR, surface VARCHAR, result VARCHAR)
<</SYS>>
SELECT date FROM table_name_99 WHERE surface = "clay" AND result = "6–7 (4–7) , 1–6"[/INST] what is the date when the surface is clay and the result is 6–7 (4–7) , 1–6?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_52 (losses VARCHAR, against VARCHAR, byes VARCHAR)
<</SYS>>
SELECT COUNT(losses) FROM table_name_52 WHERE against = 1101 AND byes < 0[/INST] Which Losses has an Against of 1101, and a Byes smaller than 0?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_23793770_2 (title VARCHAR, total_viewers__in_millions_ VARCHAR)
<</SYS>>
SELECT title FROM table_23793770_2 WHERE total_viewers__in_millions_ = "10.47"[/INST] What was the name of the show that had 10.47 million total viewers?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_21 (number_of_seats INTEGER, current_status VARCHAR, quantity VARCHAR)
<</SYS>>
SELECT MIN(number_of_seats) FROM table_name_21 WHERE current_status = "retired" AND quantity < 8[/INST] What is the smallest number of seats in a vehicle currently retired and in quantities less than 8?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_94 (drawn VARCHAR, losing_bonus VARCHAR, played VARCHAR, points_against VARCHAR)
<</SYS>>
SELECT drawn FROM table_name_94 WHERE played = "22" AND points_against = "453" AND losing_bonus = "5"[/INST] For the club that had 453 points against, losing bonus of 5 and played of 22, what is the drawn?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_28 (venue VARCHAR, date VARCHAR)
<</SYS>>
SELECT venue FROM table_name_28 WHERE date = "18/03/2006"[/INST] What was the venue for the game on 18/03/2006?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_18278508_4 (status VARCHAR, main_contestant VARCHAR, date_performed VARCHAR)
<</SYS>>
SELECT status FROM table_18278508_4 WHERE main_contestant = "Karanvir Bohra" AND date_performed = "July 30"[/INST] Name the status for karanvir bohra and date performed being july 30</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2538117_12 (letters VARCHAR, founding_date VARCHAR)
<</SYS>>
SELECT COUNT(letters) FROM table_2538117_12 WHERE founding_date = "1997-12-12"[/INST] How many letters were given to the organization with a founding date of 1997-12-12? </s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_50 (position VARCHAR, pick VARCHAR)
<</SYS>>
SELECT position FROM table_name_50 WHERE pick = 23[/INST] WHAT POSITION HAS A 23 PICK?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_76 (date_s__released VARCHAR, democratic_alternative VARCHAR, labour VARCHAR)
<</SYS>>
SELECT date_s__released FROM table_name_76 WHERE democratic_alternative = "1%" AND labour = "34%"[/INST] Which date released had a Democratic Alternative value of 1% and Labour of 34%?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_17 (capacity__mw_ VARCHAR, notes VARCHAR)
<</SYS>>
SELECT COUNT(capacity__mw_) FROM table_name_17 WHERE notes = "under construction"[/INST] What is the total capacity (MW) of the farm that is noted as being under construction?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE Addresses (zip_postcode VARCHAR, city VARCHAR)
<</SYS>>
SELECT zip_postcode FROM Addresses WHERE city = 'Port Chelsea'[/INST] What is the zip code of the address in the city Port Chelsea?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_30 (score VARCHAR, to_par VARCHAR, player VARCHAR)
<</SYS>>
SELECT score FROM table_name_30 WHERE to_par = "–4" AND player = "duffy waldorf"[/INST] Which Score has a To par of –4, and a Player of duffy waldorf?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_57 (tournament VARCHAR, date VARCHAR)
<</SYS>>
SELECT tournament FROM table_name_57 WHERE date = "9 jun 2002"[/INST] Which tournament was held on 9 Jun 2002?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE enroll (class_code VARCHAR); CREATE TABLE department (dept_code VARCHAR, dept_name VARCHAR); CREATE TABLE course (crs_code VARCHAR, dept_code VARCHAR); CREATE TABLE CLASS (class_code VARCHAR, crs_code VARCHAR)
<</SYS>>
SELECT COUNT(*) FROM CLASS AS T1 JOIN enroll AS T2 ON T1.class_code = T2.class_code JOIN course AS T3 ON T1.crs_code = T3.crs_code JOIN department AS T4 ON T3.dept_code = T4.dept_code WHERE T4.dept_name = 'Accounting'[/INST] How many students are enrolled in the class taught by some professor from the accounting department?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_92 (away_team VARCHAR, venue VARCHAR)
<</SYS>>
SELECT away_team AS score FROM table_name_92 WHERE venue = "brunswick street oval"[/INST] What was the away score when they played at Brunswick Street Oval?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_254234_1 (area³ INTEGER, density² VARCHAR)
<</SYS>>
SELECT MAX(area³) FROM table_254234_1 WHERE density² = "533.59"[/INST] What is the area of the province with a density of 533.59?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_64 (driver VARCHAR, laps VARCHAR, team VARCHAR)
<</SYS>>
SELECT driver FROM table_name_64 WHERE laps < 65 AND team = "sigma autosport"[/INST] Which driver had less than 65 laps for Sigma Autosport?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_20246201_9 (states___first_place VARCHAR, office VARCHAR)
<</SYS>>
SELECT COUNT(states___first_place) FROM table_20246201_9 WHERE office = "Governor"[/INST] How many states-first place are there for the office of Governor?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_65 (laps INTEGER, grid VARCHAR, time_retired VARCHAR)
<</SYS>>
SELECT SUM(laps) FROM table_name_65 WHERE grid < 15 AND time_retired = "transmission"[/INST] What is the lap total for the grid under 15 that retired due to transmission?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_39 (season VARCHAR, games VARCHAR)
<</SYS>>
SELECT season FROM table_name_39 WHERE games = "10"[/INST] What season has a Games listed of 10?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_19852975_3 (season__number INTEGER, arties_disguises VARCHAR)
<</SYS>>
SELECT MIN(season__number) FROM table_19852975_3 WHERE arties_disguises = "Herr Ostropolyer, pastry chef"[/INST] Name the season number for herr ostropolyer, pastry chef</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_11 (area__km²_ VARCHAR, gdp_per_capita__us$_ VARCHAR)
<</SYS>>
SELECT area__km²_ FROM table_name_11 WHERE gdp_per_capita__us$_ = "11,929"[/INST] What is the area of the nation with GDP per capita (US$) of 11,929?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_42 (winning_team VARCHAR, site VARCHAR, date VARCHAR)
<</SYS>>
SELECT winning_team FROM table_name_42 WHERE site = "iowa city" AND date = "december 3, 2006"[/INST] Which winning team has Iowa city as the site, and december 3, 2006 as the date?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_70 (total INTEGER, silver INTEGER)
<</SYS>>
SELECT MAX(total) FROM table_name_70 WHERE silver > 19[/INST] Name the Total which has a Silver larger than 19?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE Student_Course_Enrolment (student_id VARCHAR); CREATE TABLE Students (middle_name VARCHAR, student_id VARCHAR)
<</SYS>>
SELECT T1.student_id, T2.middle_name FROM Student_Course_Enrolment AS T1 JOIN Students AS T2 ON T1.student_id = T2.student_id GROUP BY T1.student_id HAVING COUNT(*) <= 2[/INST] Find the student ID and middle name for all the students with at most two enrollments.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE competition (Competition_type VARCHAR)
<</SYS>>
SELECT Competition_type FROM competition GROUP BY Competition_type ORDER BY COUNT(*) DESC LIMIT 1[/INST] List the most common type of competition.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_47 (away_team VARCHAR, home_team VARCHAR)
<</SYS>>
SELECT away_team FROM table_name_47 WHERE home_team = "essendon"[/INST] What was the opponent of the home team of essendon?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_24 (pick__number INTEGER, name VARCHAR, overall VARCHAR)
<</SYS>>
SELECT MAX(pick__number) FROM table_name_24 WHERE name = "akeem dent" AND overall < 91[/INST] Which highest pick number had Akeem Dent as a name and where the overall was less than 91?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_46 (crowd INTEGER, home_team VARCHAR)
<</SYS>>
SELECT SUM(crowd) FROM table_name_46 WHERE home_team = "collingwood"[/INST] How many people were in the crowd at collingwood's home game?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE Ref_document_types (document_type_code VARCHAR, document_type_name VARCHAR)
<</SYS>>
SELECT document_type_code, document_type_name FROM Ref_document_types[/INST] List all document type codes and document type names.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_20693870_1 (others_percentage VARCHAR, mccain_percentage VARCHAR, mccain_number VARCHAR)
<</SYS>>
SELECT others_percentage FROM table_20693870_1 WHERE mccain_percentage = "52.9%" AND mccain_number < 45205.0[/INST] What percentage was the others vote when McCain had 52.9% and less than 45205.0 voters?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_17325580_6 (location_attendance VARCHAR, date VARCHAR)
<</SYS>>
SELECT location_attendance FROM table_17325580_6 WHERE date = "December 12"[/INST] What is every location attendance on the date December 12?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_82 (annual_interchanges__millions__2011_12 INTEGER, railway_station VARCHAR)
<</SYS>>
SELECT MAX(annual_interchanges__millions__2011_12) FROM table_name_82 WHERE railway_station = "wimbledon"[/INST] What's the highest annual interchange for wimbledon railway station?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_27 (attendance INTEGER, venue VARCHAR, round VARCHAR)
<</SYS>>
SELECT MIN(attendance) FROM table_name_27 WHERE venue = "h" AND round = "r2"[/INST] What is the lowest attendance at Venue H in Round R2?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_21 (constructor VARCHAR, race VARCHAR)
<</SYS>>
SELECT constructor FROM table_name_21 WHERE race = "argentine grand prix"[/INST] Who was the Constructor at the Argentine Grand Prix?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_48 (score VARCHAR, player VARCHAR, country VARCHAR, place VARCHAR)
<</SYS>>
SELECT score FROM table_name_48 WHERE country = "united states" AND place = "t2" AND player = "tom watson"[/INST] Can you tell me the Score that has the Country of united states, and the Place of t2, and the Player of tom watson?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_43 (week VARCHAR, attendance VARCHAR)
<</SYS>>
SELECT COUNT(week) FROM table_name_43 WHERE attendance = "53,677"[/INST] which week had an attendance of 53,677?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_8 (year INTEGER, work VARCHAR, award VARCHAR)
<</SYS>>
SELECT MAX(year) FROM table_name_8 WHERE work = "the clone" AND award = "contigo award"[/INST] Which Year is the highest one that has a Work of the clone, and an Award of contigo award?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_81 (home VARCHAR, record VARCHAR)
<</SYS>>
SELECT home FROM table_name_81 WHERE record = "16-8"[/INST] What is the home of the team with a 16-8 record?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_20 (bike VARCHAR, grid VARCHAR)
<</SYS>>
SELECT bike FROM table_name_20 WHERE grid = 26[/INST] What bike has 26 as the grid?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_75 (season VARCHAR, club VARCHAR)
<</SYS>>
SELECT season FROM table_name_75 WHERE club = "south melbourne"[/INST] In what season was there a club of South Melbourne?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_86 (innings INTEGER, runs VARCHAR, matches VARCHAR)
<</SYS>>
SELECT MAX(innings) FROM table_name_86 WHERE runs < 342 AND matches > 4[/INST] What is the largest number of innings with less than 342 runs and more than 4 matches?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_22 (length_fuel VARCHAR, quantity VARCHAR)
<</SYS>>
SELECT length_fuel FROM table_name_22 WHERE quantity = 30[/INST] What is the Length/Fuel of the bus with a Quantity of 30?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_65 (to_par VARCHAR, player VARCHAR)
<</SYS>>
SELECT to_par FROM table_name_65 WHERE player = "greg norman"[/INST] What is To Par, when Player is Greg Norman?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_69 (pick INTEGER, player VARCHAR, round VARCHAR)
<</SYS>>
SELECT MIN(pick) FROM table_name_69 WHERE player = "zack jordan" AND round < 28[/INST] Zack Jordan has the lowest pick and a round of less than 28?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_94 (date VARCHAR, opponent_in_final VARCHAR)
<</SYS>>
SELECT date FROM table_name_94 WHERE opponent_in_final = "john mcenroe"[/INST] What date has the opponent competing in the final of john mcenroe?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_78 (award VARCHAR, director_s_ VARCHAR)
<</SYS>>
SELECT award FROM table_name_78 WHERE director_s_ = "candida scott knight"[/INST] Name the award for candida scott knight</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_29 (first_elected VARCHAR, incumbent VARCHAR)
<</SYS>>
SELECT COUNT(first_elected) FROM table_name_29 WHERE incumbent = "norm dicks"[/INST] What is the total of the first elected year of incumbent norm dicks?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_25840200_1 (titles VARCHAR, notes VARCHAR)
<</SYS>>
SELECT titles FROM table_25840200_1 WHERE notes = "Undercard of Stevenson/Bellew"[/INST] What was the title for the Undercard of Stevenson/Bellew?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_79 (date__to_ VARCHAR, date__from_ VARCHAR)
<</SYS>>
SELECT date__to_ FROM table_name_79 WHERE date__from_ = "30 sep 1913"[/INST] Which date has date started from 30 Sep 1913?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_21632864_1 (champions VARCHAR, third_place VARCHAR)
<</SYS>>
SELECT champions FROM table_21632864_1 WHERE third_place = "Ehime Shimanami"[/INST] who got the first position when Ehime Shimanami got the third position?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_80 (date VARCHAR, tie_no VARCHAR)
<</SYS>>
SELECT date FROM table_name_80 WHERE tie_no = "4"[/INST] on what date was tie number 4?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_17 (points INTEGER, draw VARCHAR, jury VARCHAR, artist VARCHAR)
<</SYS>>
SELECT SUM(points) FROM table_name_17 WHERE jury > 6 AND artist = "zhenya rasskazova" AND draw > 9[/INST] Jury larger than 6, and a Artist of zhenya rasskazova, and a Draw larger than 9 had what sum of points?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_17355820_1 (title VARCHAR, season__number VARCHAR)
<</SYS>>
SELECT COUNT(title) FROM table_17355820_1 WHERE season__number = 19[/INST] How many episodes were there in season 19?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_23 (notable_for VARCHAR, connection_with_australia VARCHAR, name VARCHAR)
<</SYS>>
SELECT notable_for FROM table_name_23 WHERE connection_with_australia = "born in australia" AND name = "rick springfield"[/INST] What is the person born in Australia, rick springfield notable for?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_18600760_8 (latitude VARCHAR, geo_id VARCHAR)
<</SYS>>
SELECT latitude FROM table_18600760_8 WHERE geo_id = 3809935740[/INST] Name the latitude for 3809935740</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_1 (year INTEGER, date VARCHAR)
<</SYS>>
SELECT SUM(year) FROM table_name_1 WHERE date = "5 february"[/INST] What is the sum of the year for 5 february?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_29218221_2 (rider VARCHAR, fri_3_june VARCHAR)
<</SYS>>
SELECT rider FROM table_29218221_2 WHERE fri_3_june = "18' 19.68 123.516mph"[/INST] Who was the rider with a Fri 3 June time of 18' 19.68 123.516mph?</s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.