training_input
stringlengths 118
1.06k
|
---|
###context:CREATE TABLE table_name_99 (code VARCHAR, type VARCHAR, population VARCHAR)
###human: When populatioin is greater than 7,747 and the type is V, what is the sum of code?
###assistant: SELECT COUNT(code) FROM table_name_99 WHERE type = "v" AND population > 7 OFFSET 747 |
###context:CREATE TABLE table_name_24 (name VARCHAR, ties VARCHAR)
###human: Who has ties of 5?
###assistant: SELECT name FROM table_name_24 WHERE ties = 5 |
###context:CREATE TABLE table_name_95 (venue VARCHAR, away_team VARCHAR)
###human: Where did st kilda play as the away team?
###assistant: SELECT venue FROM table_name_95 WHERE away_team = "st kilda" |
###context:CREATE TABLE table_name_66 (crowd VARCHAR, home_team VARCHAR)
###human: How big of a crowd does the home team of essendon have?
###assistant: SELECT crowd FROM table_name_66 WHERE home_team = "essendon" |
###context:CREATE TABLE table_name_80 (mlb_draft VARCHAR, school VARCHAR)
###human: What is the MLB Draft status of the person who attended Seton Hall Preparatory School?
###assistant: SELECT mlb_draft FROM table_name_80 WHERE school = "seton hall preparatory school" |
###context:CREATE TABLE table_name_64 (hometown VARCHAR, school VARCHAR)
###human: Where is the Hometown of the person that attended Kennedy-Kenrick Catholic High School?
###assistant: SELECT hometown FROM table_name_64 WHERE school = "kennedy-kenrick catholic high school" |
###context:CREATE TABLE table_name_8 (player VARCHAR, school VARCHAR)
###human: Which Player attended George Washington High School?
###assistant: SELECT player FROM table_name_8 WHERE school = "george washington high school" |
###context:CREATE TABLE table_name_40 (hometown VARCHAR, school VARCHAR)
###human: Where is the Hometown that the person who attended Camarillo High School is from?
###assistant: SELECT hometown FROM table_name_40 WHERE school = "camarillo high school" |
###context:CREATE TABLE table_name_99 (crowd VARCHAR, away_team VARCHAR)
###human: How many people in total have attended games where carlton played as away?
###assistant: SELECT COUNT(crowd) FROM table_name_99 WHERE away_team = "carlton" |
###context:CREATE TABLE table_name_73 (player VARCHAR, long VARCHAR, avg VARCHAR)
###human: Which player has a long of less than 15 and an average of 6 yards.
###assistant: SELECT player FROM table_name_73 WHERE long < 15 AND avg = 6 |
###context:CREATE TABLE table_name_29 (years_for_jazz VARCHAR, player VARCHAR)
###human: What years did Troy Hudson play for the Jazz?
###assistant: SELECT years_for_jazz FROM table_name_29 WHERE player = "troy hudson" |
###context:CREATE TABLE table_name_69 (nationality VARCHAR, school_club_team VARCHAR)
###human: What Nationality is the Iowa State team?
###assistant: SELECT nationality FROM table_name_69 WHERE school_club_team = "iowa state" |
###context:CREATE TABLE table_name_14 (nationality VARCHAR, player VARCHAR)
###human: What Nationality is Jeff Hornacek?
###assistant: SELECT nationality FROM table_name_14 WHERE player = "jeff hornacek" |
###context:CREATE TABLE table_name_16 (nationality VARCHAR, school_club_team VARCHAR)
###human: What Nationality is the Colorado State team?
###assistant: SELECT nationality FROM table_name_16 WHERE school_club_team = "colorado" |
###context:CREATE TABLE table_name_96 (player VARCHAR, school_club_team VARCHAR)
###human: What Player is from the Southern Illinois team?
###assistant: SELECT player FROM table_name_96 WHERE school_club_team = "southern illinois" |
###context:CREATE TABLE table_name_53 (years_for_jazz VARCHAR, player VARCHAR)
###human: What years did Eddie Hughes play for the Jazz?
###assistant: SELECT years_for_jazz FROM table_name_53 WHERE player = "eddie hughes" |
###context:CREATE TABLE table_name_63 (species VARCHAR, threat_level VARCHAR)
###human: Which Species has a medium Threat Level?
###assistant: SELECT species FROM table_name_63 WHERE threat_level = "medium" |
###context:CREATE TABLE table_name_79 (overview VARCHAR, threat_level VARCHAR)
###human: What is the Overview with a medium Threat Level?
###assistant: SELECT overview FROM table_name_79 WHERE threat_level = "medium" |
###context:CREATE TABLE table_name_72 (threat_level VARCHAR, overview VARCHAR)
###human: What is the Threat Levels with Rabbits in Australia?
###assistant: SELECT threat_level FROM table_name_72 WHERE overview = "rabbits in australia" |
###context:CREATE TABLE table_name_81 (nominee VARCHAR, category VARCHAR, award VARCHAR, result VARCHAR)
###human: Which nominee won the Drama Desk Award for outstanding choreography?
###assistant: SELECT nominee FROM table_name_81 WHERE award = "drama desk award" AND result = "won" AND category = "outstanding choreography" |
###context:CREATE TABLE table_name_98 (year INTEGER, nominee VARCHAR)
###human: When was the last time a nominee for Best Revival of a Musical was selected?
###assistant: SELECT MAX(year) FROM table_name_98 WHERE nominee = "best revival of a musical" |
###context:CREATE TABLE table_name_57 (award VARCHAR, category VARCHAR)
###human: Which Award is the winner for Outstanding Revival of a Musical given?
###assistant: SELECT award FROM table_name_57 WHERE category = "outstanding revival of a musical" |
###context:CREATE TABLE table_name_20 (home_team VARCHAR, away_team VARCHAR)
###human: Who is the home team in the game where South Melbourne was the away team?
###assistant: SELECT home_team AS score FROM table_name_20 WHERE away_team = "south melbourne" |
###context:CREATE TABLE table_name_90 (result VARCHAR, week VARCHAR, opponent VARCHAR)
###human: I want the result for week larger than 10 for opponent of new england patriots
###assistant: SELECT result FROM table_name_90 WHERE week > 10 AND opponent = "new england patriots" |
###context:CREATE TABLE table_name_17 (game_site VARCHAR, week VARCHAR)
###human: I want the game site for week of 11
###assistant: SELECT game_site FROM table_name_17 WHERE week = 11 |
###context:CREATE TABLE table_name_6 (laps INTEGER, grid VARCHAR, constructor VARCHAR, driver VARCHAR)
###human: What is the average number of laps for mika salo's arrows car with a grid over 13?
###assistant: SELECT AVG(laps) FROM table_name_6 WHERE constructor = "arrows" AND driver = "mika salo" AND grid > 13 |
###context:CREATE TABLE table_name_38 (driver VARCHAR, grid VARCHAR)
###human: Who drove the car with a grid of 7?
###assistant: SELECT driver FROM table_name_38 WHERE grid = 7 |
###context:CREATE TABLE table_name_72 (report VARCHAR, date VARCHAR)
###human: Which Report is Dated 9 March?
###assistant: SELECT report FROM table_name_72 WHERE date = "9 march" |
###context:CREATE TABLE table_name_26 (attendance VARCHAR, opponent VARCHAR)
###human: When Hamilton Academical is the Opponent, what is the total Attendance?
###assistant: SELECT COUNT(attendance) FROM table_name_26 WHERE opponent = "hamilton academical" |
###context:CREATE TABLE table_name_57 (attendance VARCHAR, loss VARCHAR)
###human: How many in attendance with a loss of volquez (1β4)?
###assistant: SELECT attendance FROM table_name_57 WHERE loss = "volquez (1β4)" |
###context:CREATE TABLE table_name_15 (record VARCHAR, score VARCHAR)
###human: What record has a Score of 9β6?
###assistant: SELECT record FROM table_name_15 WHERE score = "9β6" |
###context:CREATE TABLE table_name_23 (attendance INTEGER, date VARCHAR)
###human: What is the average number in attendance on September 16?
###assistant: SELECT AVG(attendance) FROM table_name_23 WHERE date = "september 16" |
###context:CREATE TABLE table_name_49 (attendance INTEGER, date VARCHAR)
###human: What is the sum of people in attendance on September 8?
###assistant: SELECT SUM(attendance) FROM table_name_49 WHERE date = "september 8" |
###context:CREATE TABLE table_name_25 (cws_best_finish VARCHAR, head_coach VARCHAR)
###human: What was Head Coach Jim Morris's best finish?
###assistant: SELECT cws_best_finish FROM table_name_25 WHERE head_coach = "jim morris" |
###context:CREATE TABLE table_name_45 (record VARCHAR, visitor VARCHAR)
###human: What is the record when the visiting team was the montreal canadiens?
###assistant: SELECT record FROM table_name_45 WHERE visitor = "montreal canadiens" |
###context:CREATE TABLE table_name_83 (nation VARCHAR, points VARCHAR)
###human: What nation has 187.84 points?
###assistant: SELECT nation FROM table_name_83 WHERE points = 187.84 |
###context:CREATE TABLE table_name_90 (points INTEGER, places VARCHAR)
###human: What is the low point total for teams with 81 places?
###assistant: SELECT MIN(points) FROM table_name_90 WHERE places = "81" |
###context:CREATE TABLE table_name_40 (station_number VARCHAR, location VARCHAR)
###human: What is the station number of the station at Dogsthorpe?
###assistant: SELECT station_number FROM table_name_40 WHERE location = "dogsthorpe" |
###context:CREATE TABLE table_name_92 (type VARCHAR, appliances VARCHAR, location VARCHAR)
###human: What is the type of the station with a 1 wrl appliance in Linton?
###assistant: SELECT type FROM table_name_92 WHERE appliances = "1 wrl" AND location = "linton" |
###context:CREATE TABLE table_name_69 (appliances VARCHAR, location VARCHAR)
###human: What is the appliance at the station in St Neots?
###assistant: SELECT appliances FROM table_name_69 WHERE location = "st neots" |
###context:CREATE TABLE table_name_67 (registrations VARCHAR, district VARCHAR)
###human: What is the registration of the station at Cambridge?
###assistant: SELECT registrations FROM table_name_67 WHERE district = "cambridge" |
###context:CREATE TABLE table_name_85 (location VARCHAR, district VARCHAR, station_number VARCHAR)
###human: What is the location of the station at Huntingdonshire with a station number of c17?
###assistant: SELECT location FROM table_name_85 WHERE district = "huntingdonshire" AND station_number = "c17" |
###context:CREATE TABLE table_name_27 (registrations VARCHAR, type VARCHAR, station_number VARCHAR)
###human: What is the registration of the station with a retained type and a station number of c03?
###assistant: SELECT registrations FROM table_name_27 WHERE type = "retained" AND station_number = "c03" |
###context:CREATE TABLE table_name_46 (nationality VARCHAR, round INTEGER)
###human: Name the nationality of the player with round more than 4
###assistant: SELECT nationality FROM table_name_46 WHERE round > 4 |
###context:CREATE TABLE table_name_42 (year INTEGER, rank VARCHAR)
###human: In what Year was the Rank 14.0 14?
###assistant: SELECT SUM(year) FROM table_name_42 WHERE rank = "14.0 14" |
###context:CREATE TABLE table_name_90 (rank VARCHAR, height_ft__m_ VARCHAR, year VARCHAR, floors VARCHAR)
###human: After 1971, what is the Rank with a Height ft (m) of 19.0 477 (145) and less than 35 Floors?
###assistant: SELECT rank FROM table_name_90 WHERE year > 1971 AND floors < 35 AND height_ft__m_ = "19.0 477 (145)" |
###context:CREATE TABLE table_name_52 (year INTEGER, rank VARCHAR)
###human: What Year has a Rank of 12.0 12?
###assistant: SELECT AVG(year) FROM table_name_52 WHERE rank = "12.0 12" |
###context:CREATE TABLE table_name_76 (away_team VARCHAR, venue VARCHAR)
###human: What did the away team score at VFL Park?
###assistant: SELECT away_team AS score FROM table_name_76 WHERE venue = "vfl park" |
###context:CREATE TABLE table_name_1 (crowd INTEGER, venue VARCHAR)
###human: How many people watched the game at Lake Oval?
###assistant: SELECT SUM(crowd) FROM table_name_1 WHERE venue = "lake oval" |
###context:CREATE TABLE table_name_3 (comp INTEGER, player VARCHAR, rating VARCHAR)
###human: What was the Comp average, having Gino Guidugli as a player and a rating of more than 92.2?
###assistant: SELECT AVG(comp) FROM table_name_3 WHERE player = "gino guidugli" AND rating > 92.2 |
###context:CREATE TABLE table_name_9 (att INTEGER, yards VARCHAR, comp VARCHAR)
###human: For the player with yards less than 138, and Comp more than 0, what was the highest Att.?
###assistant: SELECT MAX(att) FROM table_name_9 WHERE yards < 138 AND comp > 0 |
###context:CREATE TABLE table_name_49 (laps VARCHAR, grid VARCHAR)
###human: How many laps for grid of 9?
###assistant: SELECT laps FROM table_name_49 WHERE grid = 9 |
###context:CREATE TABLE table_name_68 (laps INTEGER, grid VARCHAR, time_retired VARCHAR)
###human: What is the high lap total for a grid less than 6, and a Time/Retired of halfshaft?
###assistant: SELECT MAX(laps) FROM table_name_68 WHERE grid < 6 AND time_retired = "halfshaft" |
###context:CREATE TABLE table_name_96 (set_1 VARCHAR, score VARCHAR)
###human: What is the Set 1 with a Score with 3β2?
###assistant: SELECT set_1 FROM table_name_96 WHERE score = "3β2" |
###context:CREATE TABLE table_name_6 (set_1 VARCHAR, set_2 VARCHAR, set_3 VARCHAR)
###human: What is the Set 1 with a Set 2 of 15β5, and a Set 3 with 15β3?
###assistant: SELECT set_1 FROM table_name_6 WHERE set_2 = "15β5" AND set_3 = "15β3" |
###context:CREATE TABLE table_name_79 (date VARCHAR, set_1 VARCHAR)
###human: What is the Date with a Set 1 with 15β1?
###assistant: SELECT date FROM table_name_79 WHERE set_1 = "15β1" |
###context:CREATE TABLE table_name_33 (set_3 VARCHAR, date VARCHAR, set_2 VARCHAR)
###human: What is the Set 3 with a Date of 04 oct, and a Set 2 with 15β5?
###assistant: SELECT set_3 FROM table_name_33 WHERE date = "04 oct" AND set_2 = "15β5" |
###context:CREATE TABLE table_name_58 (set_3 VARCHAR, set_2 VARCHAR)
###human: What is the Set 3 with a Set 2 with 15β6?
###assistant: SELECT set_3 FROM table_name_58 WHERE set_2 = "15β6" |
###context:CREATE TABLE table_name_6 (set_2 VARCHAR, total VARCHAR, set_3 VARCHAR)
###human: What is the Set 2 with a Total of 45β12, and a Set 3 with 15β2?
###assistant: SELECT set_2 FROM table_name_6 WHERE total = "45β12" AND set_3 = "15β2" |
###context:CREATE TABLE table_name_5 (grid INTEGER, time_retired VARCHAR, laps VARCHAR)
###human: What was the grid associated with under 26 laps and a Time/Retired of +6.077?
###assistant: SELECT AVG(grid) FROM table_name_5 WHERE time_retired = "+6.077" AND laps < 26 |
###context:CREATE TABLE table_name_61 (lead VARCHAR, date_s__conducted VARCHAR)
###human: On 5 May 2011, what was the lead percentage?
###assistant: SELECT lead FROM table_name_61 WHERE date_s__conducted = "5 may 2011" |
###context:CREATE TABLE table_name_25 (date_s__conducted VARCHAR, lead VARCHAR)
###human: On what date was the lead 8.6%?
###assistant: SELECT date_s__conducted FROM table_name_25 WHERE lead = "8.6%" |
###context:CREATE TABLE table_name_56 (lifespan VARCHAR, imperial VARCHAR, nationality VARCHAR)
###human: what is the lifespan when the imperial height is 7ft 8 in and the nationality is fiji?
###assistant: SELECT lifespan FROM table_name_56 WHERE imperial = "7ft 8 in" AND nationality = "fiji" |
###context:CREATE TABLE table_name_21 (nationality VARCHAR, metric VARCHAR, name VARCHAR)
###human: what is the nationality with the metric height of 2.36m named sun ming-ming?
###assistant: SELECT nationality FROM table_name_21 WHERE metric = "2.36m" AND name = "sun ming-ming" |
###context:CREATE TABLE table_name_83 (grid INTEGER, laps VARCHAR, time_retired VARCHAR, driver VARCHAR)
###human: What is the grid total that had a retired for engine, teo fabi driving, and under 39 laps?
###assistant: SELECT SUM(grid) FROM table_name_83 WHERE time_retired = "engine" AND driver = "teo fabi" AND laps < 39 |
###context:CREATE TABLE table_name_26 (grid INTEGER, driver VARCHAR, laps VARCHAR)
###human: What is the average grid for johnny dumfries with less than 8 laps?
###assistant: SELECT AVG(grid) FROM table_name_26 WHERE driver = "johnny dumfries" AND laps < 8 |
###context:CREATE TABLE table_name_44 (laps INTEGER, constructor VARCHAR, grid VARCHAR)
###human: What is the low lap total for minardi - motori moderni, and a Grid smaller than 18?
###assistant: SELECT MIN(laps) FROM table_name_44 WHERE constructor = "minardi - motori moderni" AND grid < 18 |
###context:CREATE TABLE table_name_61 (constructor VARCHAR, grid VARCHAR)
###human: What constructor has a 12 grid?
###assistant: SELECT constructor FROM table_name_61 WHERE grid = 12 |
###context:CREATE TABLE table_name_24 (average INTEGER, swimsuit INTEGER)
###human: What is the average where the swimsuit is larger than 9.437?
###assistant: SELECT MAX(average) FROM table_name_24 WHERE swimsuit > 9.437 |
###context:CREATE TABLE table_name_84 (evening_gown INTEGER, interview VARCHAR, preliminaries VARCHAR)
###human: What is the evening gown score where the interview score is 9.22 and the preliminaries are larger than 9.057?
###assistant: SELECT SUM(evening_gown) FROM table_name_84 WHERE interview = 9.22 AND preliminaries > 9.057 |
###context:CREATE TABLE table_name_88 (average INTEGER, evening_gown VARCHAR, swimsuit VARCHAR, country VARCHAR)
###human: What is Pennsylvania's average where the swimsuit is smaller than 9.109 and the evening gown is smaller than 9.163?
###assistant: SELECT AVG(average) FROM table_name_88 WHERE swimsuit < 9.109 AND country = "pennsylvania" AND evening_gown < 9.163 |
###context:CREATE TABLE table_name_65 (preliminaries INTEGER, interview VARCHAR, swimsuit VARCHAR, evening_gown VARCHAR)
###human: What is the preliminaries score where the swimsuit is smaller than 9.297, the evening gown is 9.617, and the interview is larger than 9.143?
###assistant: SELECT AVG(preliminaries) FROM table_name_65 WHERE swimsuit < 9.297 AND evening_gown = 9.617 AND interview > 9.143 |
###context:CREATE TABLE table_name_66 (screen_pixels VARCHAR, maker VARCHAR, weight VARCHAR)
###human: For Amazon.com's device with a weight of 221g (7.8oz) how many screen pixels does the device have?
###assistant: SELECT screen_pixels FROM table_name_66 WHERE maker = "amazon.com" AND weight = "221g (7.8oz)" |
###context:CREATE TABLE table_name_14 (runner VARCHAR, total VARCHAR)
###human: How many 5K wins did Emily Chebet, who had more than 2 total, have?
###assistant: SELECT SUM(5 AS k_wins) FROM table_name_14 WHERE runner = "emily chebet" AND total > 2 |
###context:CREATE TABLE table_name_80 (runner VARCHAR, total VARCHAR)
###human: How many 5K wins did Emily Chebet, who had more than 2 total, have?
###assistant: SELECT COUNT(5 AS k_wins) FROM table_name_80 WHERE runner = "emily chebet" AND total > 2 |
###context:CREATE TABLE table_name_95 (peak_lessons_taught INTEGER, evaluation_average__before_april_2009_ VARCHAR)
###human: What is the largest number of Peak lessons taught when the Evaluation average (Before April 2009) was 4.4?
###assistant: SELECT MAX(peak_lessons_taught) FROM table_name_95 WHERE evaluation_average__before_april_2009_ = "4.4" |
###context:CREATE TABLE table_name_23 (evaluation_average__before_april_2009_ VARCHAR, peak_lessons_taught VARCHAR, _percentage_of_negative_evaluations VARCHAR)
###human: What is the mean Evaluation number (before April 2009) when the Peak lessons taught was less than 80 and the negative percentage of evaluations was 0.8%?
###assistant: SELECT evaluation_average__before_april_2009_ FROM table_name_23 WHERE peak_lessons_taught < 80 AND _percentage_of_negative_evaluations = "0.8%" |
###context:CREATE TABLE table_name_41 (evaluation_average__before_april_2009_ VARCHAR, _percentage_of_negative_evaluations VARCHAR, evaluation_average__from_april_2009_ VARCHAR)
###human: What is the mean Evaluation number (Before April 2009) when the percentage of negative evaluations was 0.8% and the mean Evaluation number of April 2009 was 4.2?
###assistant: SELECT evaluation_average__before_april_2009_ FROM table_name_41 WHERE _percentage_of_negative_evaluations = "0.8%" AND evaluation_average__from_april_2009_ = "4.2" |
###context:CREATE TABLE table_name_11 (away_team VARCHAR, venue VARCHAR)
###human: What is moorabbin oval's away team?
###assistant: SELECT away_team FROM table_name_11 WHERE venue = "moorabbin oval" |
###context:CREATE TABLE table_name_57 (grid VARCHAR, driver VARCHAR)
###human: What is Karl Wendlinger's total grid #?
###assistant: SELECT COUNT(grid) FROM table_name_57 WHERE driver = "karl wendlinger" |
###context:CREATE TABLE table_name_13 (home_team VARCHAR)
###human: Which Home team score had a Home team of Fitzroy?
###assistant: SELECT home_team AS score FROM table_name_13 WHERE home_team = "fitzroy" |
###context:CREATE TABLE table_name_18 (name VARCHAR, replacement VARCHAR)
###human: Who was replaced by Lieve Wierinck?
###assistant: SELECT name FROM table_name_18 WHERE replacement = "lieve wierinck" |
###context:CREATE TABLE table_name_75 (gross_tonnage INTEGER, ship VARCHAR, material VARCHAR, date_commissioned VARCHAR)
###human: Name the sum of gross tonnage for wood on date more tahn 1846 for comissioned and ship of esk
###assistant: SELECT SUM(gross_tonnage) FROM table_name_75 WHERE material = "wood" AND date_commissioned > 1846 AND ship = "esk" |
###context:CREATE TABLE table_name_94 (gross_tonnage INTEGER, ship VARCHAR, date_commissioned VARCHAR)
###human: Tell me the sum of Gross Tonnage for isis ship on date commisioned less than 1842
###assistant: SELECT SUM(gross_tonnage) FROM table_name_94 WHERE ship = "isis" AND date_commissioned < 1842 |
###context:CREATE TABLE table_name_69 (date_commissioned INTEGER, gross_tonnage VARCHAR, material VARCHAR, ship VARCHAR)
###human: Tell me the lowest date commissioned for iron rmsrhone and gross tonnage less than 2,738
###assistant: SELECT MIN(date_commissioned) FROM table_name_69 WHERE material = "iron" AND ship = "rmsrhone" AND gross_tonnage < 2 OFFSET 738 |
###context:CREATE TABLE table_name_21 (constructor VARCHAR, time_retired VARCHAR)
###human: What Constructor has a +1.027 Time/Retired?
###assistant: SELECT constructor FROM table_name_21 WHERE time_retired = "+1.027" |
###context:CREATE TABLE table_name_13 (constructor VARCHAR, laps VARCHAR)
###human: What Constructor has 56 Laps?
###assistant: SELECT constructor FROM table_name_13 WHERE laps = 56 |
###context:CREATE TABLE table_name_91 (driver VARCHAR, grid VARCHAR, laps VARCHAR)
###human: What Driver has 28 Laps and a Grid greater than 5?
###assistant: SELECT driver FROM table_name_91 WHERE grid > 5 AND laps = 28 |
###context:CREATE TABLE table_name_80 (laps INTEGER, time_retired VARCHAR)
###human: What is the highest Laps with a Time/Retired Wheel?
###assistant: SELECT MAX(laps) FROM table_name_80 WHERE time_retired = "wheel" |
###context:CREATE TABLE table_name_86 (driver VARCHAR, time_retired VARCHAR)
###human: What Driver has a +1.027 Time/Retired?
###assistant: SELECT driver FROM table_name_86 WHERE time_retired = "+1.027" |
###context:CREATE TABLE table_name_78 (result VARCHAR, score VARCHAR)
###human: What game has a score of 44-20?
###assistant: SELECT result FROM table_name_78 WHERE score = "44-20" |
###context:CREATE TABLE table_name_67 (date VARCHAR, venue VARCHAR)
###human: What date was a game played at Headingley Stadium?
###assistant: SELECT date FROM table_name_67 WHERE venue = "headingley stadium" |
###context:CREATE TABLE table_name_84 (competition VARCHAR, venue VARCHAR)
###human: What competition was played at Shay Stadium?
###assistant: SELECT competition FROM table_name_84 WHERE venue = "shay stadium" |
###context:CREATE TABLE table_name_45 (show VARCHAR, year VARCHAR, episode_title VARCHAR)
###human: Which show had a part 3 before 2011?
###assistant: SELECT show FROM table_name_45 WHERE year < 2011 AND episode_title = "part 3" |
###context:CREATE TABLE table_name_23 (books VARCHAR, gender VARCHAR, animal_name VARCHAR)
###human: What are the male Bounder books?
###assistant: SELECT books FROM table_name_23 WHERE gender = "male" AND animal_name = "bounder" |
###context:CREATE TABLE table_name_75 (attendance VARCHAR, date VARCHAR)
###human: How many people attended on April 12?
###assistant: SELECT COUNT(attendance) FROM table_name_75 WHERE date = "april 12" |
###context:CREATE TABLE table_name_10 (date VARCHAR, no_built VARCHAR, wheels VARCHAR)
###human: On what date were 5 built with 4-4-2t wheels?
###assistant: SELECT date FROM table_name_10 WHERE no_built = 5 AND wheels = "4-4-2t" |
###context:CREATE TABLE table_name_70 (date VARCHAR, loco_nos VARCHAR)
###human: On what date was the number of locomotives 421-6?
###assistant: SELECT date FROM table_name_70 WHERE loco_nos = "421-6" |
###context:CREATE TABLE table_name_17 (no_built VARCHAR, loco_nos VARCHAR)
###human: How many were built with a locomotive number of 11-20?
###assistant: SELECT no_built FROM table_name_17 WHERE loco_nos = "11-20" |
###context:CREATE TABLE table_name_38 (date VARCHAR, wheels VARCHAR, no_built VARCHAR)
###human: On what date were more than 5 built with 4-4-2 wheels?
###assistant: SELECT date FROM table_name_38 WHERE wheels = "4-4-2" AND no_built > 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.