training_input
stringlengths 118
1.06k
|
---|
###context:CREATE TABLE table_name_80 (rowers VARCHAR, country VARCHAR)
###human: Who is the rower from Canada?
###assistant: SELECT rowers FROM table_name_80 WHERE country = "canada" |
###context:CREATE TABLE table_name_6 (rank INTEGER, notes VARCHAR, country VARCHAR)
###human: What is the sum of the rank of the rower with an r note from Australia?
###assistant: SELECT SUM(rank) FROM table_name_6 WHERE notes = "r" AND country = "australia" |
###context:CREATE TABLE table_name_98 (country VARCHAR, rank INTEGER)
###human: What is the country with a rank less than 2?
###assistant: SELECT country FROM table_name_98 WHERE rank < 2 |
###context:CREATE TABLE table_name_41 (notes VARCHAR, athlete VARCHAR)
###human: What notes did Gabriella Bascelli receive?
###assistant: SELECT notes FROM table_name_41 WHERE athlete = "gabriella bascelli" |
###context:CREATE TABLE table_name_62 (rank VARCHAR, time VARCHAR)
###human: What rank did the time of 7:31.90 receive?
###assistant: SELECT COUNT(rank) FROM table_name_62 WHERE time = "7:31.90" |
###context:CREATE TABLE table_name_64 (romaji_title VARCHAR, japanese_title VARCHAR)
###human: Which Romaji Title has a Japanese Title of 女王の教室?
###assistant: SELECT romaji_title FROM table_name_64 WHERE japanese_title = "女王の教室" |
###context:CREATE TABLE table_name_29 (episodes INTEGER, romaji_title VARCHAR)
###human: How many Episodes have a Romaji Title of slow dance?
###assistant: SELECT SUM(episodes) FROM table_name_29 WHERE romaji_title = "slow dance" |
###context:CREATE TABLE table_name_90 (episodes VARCHAR, romaji_title VARCHAR)
###human: How many Episodes have a Romaji Title of dragon zakura?
###assistant: SELECT COUNT(episodes) FROM table_name_90 WHERE romaji_title = "dragon zakura" |
###context:CREATE TABLE table_name_89 (format VARCHAR, date VARCHAR, label VARCHAR, catalog VARCHAR)
###human: Which Format has a Label of columbia, and a Catalog smaller than 88697411432, and a Date of october 24, 2008?
###assistant: SELECT format FROM table_name_89 WHERE label = "columbia" AND catalog < 88697411432 AND date = "october 24, 2008" |
###context:CREATE TABLE table_name_73 (catalog INTEGER, date VARCHAR)
###human: Which Catalog has a Date of july 15, 2011?
###assistant: SELECT AVG(catalog) FROM table_name_73 WHERE date = "july 15, 2011" |
###context:CREATE TABLE table_name_57 (opponent VARCHAR, date VARCHAR)
###human: Which opponent was on July 21, 2008?
###assistant: SELECT opponent FROM table_name_57 WHERE date = "july 21, 2008" |
###context:CREATE TABLE table_name_43 (date VARCHAR, surface VARCHAR, opponent VARCHAR)
###human: What was the date of the tournament with a clay surface and an opponent of Irina Falconi?
###assistant: SELECT date FROM table_name_43 WHERE surface = "clay" AND opponent = "irina falconi" |
###context:CREATE TABLE table_name_5 (opponent VARCHAR, date VARCHAR)
###human: Who was the opponent on May 10, 2009?
###assistant: SELECT opponent FROM table_name_5 WHERE date = "may 10, 2009" |
###context:CREATE TABLE table_name_16 (score VARCHAR, home_team VARCHAR)
###human: What is the score of the home team, bath city?
###assistant: SELECT score FROM table_name_16 WHERE home_team = "bath city" |
###context:CREATE TABLE table_name_13 (score VARCHAR, away_team VARCHAR)
###human: What was the score for the away team southport?
###assistant: SELECT score FROM table_name_13 WHERE away_team = "southport" |
###context:CREATE TABLE table_name_21 (home_team VARCHAR, away_team VARCHAR)
###human: What is the home team that had an away team of lincoln city?
###assistant: SELECT home_team FROM table_name_21 WHERE away_team = "lincoln city" |
###context:CREATE TABLE table_name_28 (date VARCHAR, away_team VARCHAR)
###human: What date had a game with wycombe wanderers as the away team?
###assistant: SELECT date FROM table_name_28 WHERE away_team = "wycombe wanderers" |
###context:CREATE TABLE table_name_80 (place VARCHAR, artist VARCHAR, draw VARCHAR)
###human: How many places have an Artist of augustė, and a Draw smaller than 6?
###assistant: SELECT COUNT(place) FROM table_name_80 WHERE artist = "augustė" AND draw < 6 |
###context:CREATE TABLE table_name_71 (year INTEGER, place VARCHAR)
###human: What is the latest year the world championships were held in Thun?
###assistant: SELECT MAX(year) FROM table_name_71 WHERE place = "thun" |
###context:CREATE TABLE table_name_21 (gold VARCHAR, place VARCHAR)
###human: Who won gold when the world championships were held in Phoenix?
###assistant: SELECT gold FROM table_name_21 WHERE place = "phoenix" |
###context:CREATE TABLE table_name_18 (ansi_code INTEGER, land___sqmi__ VARCHAR, township VARCHAR, longitude VARCHAR, geo_id VARCHAR)
###human: What is the smallest ANSI code for adler township when Longitude is more than -101.333926, GEO ID is less than 3806700900, and Land ( sqmi ) is more than 35.84?
###assistant: SELECT MIN(ansi_code) FROM table_name_18 WHERE longitude > -101.333926 AND geo_id < 3806700900 AND township = "adler" AND land___sqmi__ > 35.84 |
###context:CREATE TABLE table_name_72 (latitude INTEGER, water__sqmi_ VARCHAR, county VARCHAR, land___sqmi__ VARCHAR, pop__2010_ VARCHAR)
###human: Cass county has 0.008 Water (sqmi), less than 35.874 Land (sqmi), more than 35 Pop. (2010), and what average latitude?
###assistant: SELECT AVG(latitude) FROM table_name_72 WHERE land___sqmi__ < 35.874 AND pop__2010_ > 35 AND county = "cass" AND water__sqmi_ = 0.008 |
###context:CREATE TABLE table_name_4 (county VARCHAR, latitude VARCHAR, geo_id VARCHAR)
###human: In what county is the latitude less than 46.935364 and GEO ID is 3801700500?
###assistant: SELECT county FROM table_name_4 WHERE latitude < 46.935364 AND geo_id = 3801700500 |
###context:CREATE TABLE table_name_33 (opponent VARCHAR, score VARCHAR)
###human: Who was the opponent at the game with a score of 35-14?
###assistant: SELECT opponent FROM table_name_33 WHERE score = "35-14" |
###context:CREATE TABLE table_name_21 (result VARCHAR, record VARCHAR)
###human: What was the result of the game when the record was 5-1?
###assistant: SELECT result FROM table_name_21 WHERE record = "5-1" |
###context:CREATE TABLE table_name_49 (result VARCHAR, opponent VARCHAR)
###human: What was the result of the game against the Los Angeles Dons?
###assistant: SELECT result FROM table_name_49 WHERE opponent = "los angeles dons" |
###context:CREATE TABLE table_name_75 (year INTEGER, venue VARCHAR, event VARCHAR)
###human: Which Year has a Venue of bydgoszcz, poland, and an Event of junior team?
###assistant: SELECT AVG(year) FROM table_name_75 WHERE venue = "bydgoszcz, poland" AND event = "junior team" |
###context:CREATE TABLE table_name_72 (venue VARCHAR, competition VARCHAR, year VARCHAR, event VARCHAR)
###human: Which Venue has a Year smaller than 2009, and an Event of 3000 m, and a Competition of world youth championships?
###assistant: SELECT venue FROM table_name_72 WHERE year < 2009 AND event = "3000 m" AND competition = "world youth championships" |
###context:CREATE TABLE table_name_94 (year INTEGER, competition VARCHAR)
###human: Which Year has a Competition of commonwealth youth games?
###assistant: SELECT AVG(year) FROM table_name_94 WHERE competition = "commonwealth youth games" |
###context:CREATE TABLE table_name_86 (rank VARCHAR, year VARCHAR)
###human: What is the total for 1986?
###assistant: SELECT COUNT(rank) FROM table_name_86 WHERE year = 1986 |
###context:CREATE TABLE table_name_61 (name VARCHAR, year VARCHAR, floors VARCHAR)
###human: What is the name before 1954 with more than 15 floors?
###assistant: SELECT name FROM table_name_61 WHERE year < 1954 AND floors > 15 |
###context:CREATE TABLE table_name_86 (rank INTEGER, name VARCHAR)
###human: What is the lowest rank for El Paso Natural Gas Company Building?
###assistant: SELECT MIN(rank) FROM table_name_86 WHERE name = "el paso natural gas company building" |
###context:CREATE TABLE table_name_64 (rank VARCHAR, province VARCHAR)
###human: What is the rank of the gauteng province?
###assistant: SELECT rank FROM table_name_64 WHERE province = "gauteng" |
###context:CREATE TABLE table_name_57 (population_estimate__2013_ INTEGER, percentage VARCHAR)
###human: What is the lowest 2013 population estimate of the province with a 23.7 percentage?
###assistant: SELECT MIN(population_estimate__2013_) FROM table_name_57 WHERE percentage = 23.7 |
###context:CREATE TABLE table_name_81 (years_runner_up VARCHAR, team VARCHAR)
###human: What year(s) was Duisburg runner-up?
###assistant: SELECT years_runner_up FROM table_name_81 WHERE team = "duisburg" |
###context:CREATE TABLE table_name_48 (year INTEGER, notes VARCHAR)
###human: What was the earliest year with a note of 18.04 m wl?
###assistant: SELECT MIN(year) FROM table_name_48 WHERE notes = "18.04 m wl" |
###context:CREATE TABLE table_name_29 (venue VARCHAR, year VARCHAR, competition VARCHAR)
###human: What venue had a competition of World Junior Championships before 2011?
###assistant: SELECT venue FROM table_name_29 WHERE year < 2011 AND competition = "world junior championships" |
###context:CREATE TABLE table_name_46 (developer_s_ VARCHAR, game VARCHAR)
###human: Who was the developer of Call of Duty: Black Ops?
###assistant: SELECT developer_s_ FROM table_name_46 WHERE game = "call of duty: black ops" |
###context:CREATE TABLE table_name_65 (platform_s_ VARCHAR, genre VARCHAR)
###human: What is the platform for the game of the third-person shooter genre?
###assistant: SELECT platform_s_ FROM table_name_65 WHERE genre = "third-person shooter" |
###context:CREATE TABLE table_name_95 (platform_s_ VARCHAR, year VARCHAR)
###human: What is the platform of the game from 2007?
###assistant: SELECT platform_s_ FROM table_name_95 WHERE year = 2007 |
###context:CREATE TABLE table_name_4 (developer_s_ VARCHAR, game VARCHAR)
###human: Who was the developer of Resident Evil 4?
###assistant: SELECT developer_s_ FROM table_name_4 WHERE game = "resident evil 4" |
###context:CREATE TABLE table_name_52 (rank INTEGER, name VARCHAR, time VARCHAR)
###human: What was the rank of flori lang when his time was less than 22.27
###assistant: SELECT SUM(rank) FROM table_name_52 WHERE name = "flori lang" AND time < 22.27 |
###context:CREATE TABLE table_name_59 (lane INTEGER, time VARCHAR, heat VARCHAR, rank VARCHAR)
###human: What lane had a heat after 12, a rank of 38 and a time larger than 22.67?
###assistant: SELECT AVG(lane) FROM table_name_59 WHERE heat > 12 AND rank = 38 AND time > 22.67 |
###context:CREATE TABLE table_name_14 (game VARCHAR, record VARCHAR)
###human: What game has 27-12 record?
###assistant: SELECT game FROM table_name_14 WHERE record = "27-12" |
###context:CREATE TABLE table_name_43 (date VARCHAR, record VARCHAR)
###human: What date was the record 21-11?
###assistant: SELECT date FROM table_name_43 WHERE record = "21-11" |
###context:CREATE TABLE table_name_33 (location_attendance VARCHAR, score VARCHAR)
###human: What is the location/attendance for the w 95-93 score?
###assistant: SELECT location_attendance FROM table_name_33 WHERE score = "w 95-93" |
###context:CREATE TABLE table_name_95 (location_attendance VARCHAR, record VARCHAR)
###human: What is the location/attendance with a 26-11 record?
###assistant: SELECT location_attendance FROM table_name_95 WHERE record = "26-11" |
###context:CREATE TABLE table_name_44 (opponent VARCHAR, record VARCHAR)
###human: Which opponent has a 26-12 record?
###assistant: SELECT opponent FROM table_name_44 WHERE record = "26-12" |
###context:CREATE TABLE table_name_95 (time VARCHAR, rower VARCHAR)
###human: What is Lee Ka Man's Time?
###assistant: SELECT time FROM table_name_95 WHERE rower = "lee ka man" |
###context:CREATE TABLE table_name_35 (rank VARCHAR, time VARCHAR)
###human: What is the Rank of the rower with a Time of 8:23.02?
###assistant: SELECT COUNT(rank) FROM table_name_35 WHERE time = "8:23.02" |
###context:CREATE TABLE table_name_40 (gold INTEGER, rank VARCHAR, bronze VARCHAR)
###human: What is the most gold when the rank is 7 and bronze is less than 0?
###assistant: SELECT MAX(gold) FROM table_name_40 WHERE rank = "7" AND bronze < 0 |
###context:CREATE TABLE table_name_33 (gold INTEGER, total VARCHAR)
###human: what is the most gold when the total is 7?
###assistant: SELECT MAX(gold) FROM table_name_33 WHERE total = 7 |
###context:CREATE TABLE table_name_71 (gold INTEGER, rank VARCHAR, silver VARCHAR)
###human: what is the least gold when the rank is 10 and silver is less than 0?
###assistant: SELECT MIN(gold) FROM table_name_71 WHERE rank = "10" AND silver < 0 |
###context:CREATE TABLE table_name_24 (total INTEGER, nation VARCHAR, silver VARCHAR)
###human: what is the lowest total when the nation is sweden (swe) and silver is less than 0?
###assistant: SELECT MIN(total) FROM table_name_24 WHERE nation = "sweden (swe)" AND silver < 0 |
###context:CREATE TABLE table_name_64 (total INTEGER, gold VARCHAR, silver VARCHAR, bronze VARCHAR)
###human: what is the average total when silver is more than 2, bronze is 12 and gold is less than 12?
###assistant: SELECT AVG(total) FROM table_name_64 WHERE silver > 2 AND bronze = 12 AND gold < 12 |
###context:CREATE TABLE table_name_38 (longitude VARCHAR, latitude VARCHAR, geo_id VARCHAR)
###human: What is the longitude with a latitude of 48.930222 with a Geo ID smaller than 3806755660?
###assistant: SELECT COUNT(longitude) FROM table_name_38 WHERE latitude = 48.930222 AND geo_id < 3806755660 |
###context:CREATE TABLE table_name_18 (latitude VARCHAR, longitude VARCHAR, land___sqmi__ VARCHAR, geo_id VARCHAR)
###human: What is the latitude that has a sqmi smaller than 34.401, a Geo ID smaller than 3807157722, and a Longitude of -98.475995?
###assistant: SELECT latitude FROM table_name_18 WHERE land___sqmi__ < 34.401 AND geo_id < 3807157722 AND longitude = -98.475995 |
###context:CREATE TABLE table_name_68 (longitude VARCHAR, township VARCHAR, geo_id VARCHAR)
###human: What is the total longitude of Nogosek and a GEO ID larger than 3809357060?
###assistant: SELECT COUNT(longitude) FROM table_name_68 WHERE township = "nogosek" AND geo_id > 3809357060 |
###context:CREATE TABLE table_name_46 (band INTEGER, power__w_ INTEGER)
###human: What Band number has a Power (W) of 400 or less?
###assistant: SELECT SUM(band) FROM table_name_46 WHERE power__w_ < 400 |
###context:CREATE TABLE table_name_33 (band INTEGER, power__w_ INTEGER)
###human: What Band's Power (W) is 400 or less?
###assistant: SELECT MAX(band) FROM table_name_33 WHERE power__w_ > 400 |
###context:CREATE TABLE table_name_53 (wavelength VARCHAR, frequency__mhz_ VARCHAR)
###human: What is the Wavelength of Frequency (MHz) 14.050–14.150?
###assistant: SELECT wavelength FROM table_name_53 WHERE frequency__mhz_ = "14.050–14.150" |
###context:CREATE TABLE table_name_73 (recipients_and_nominees VARCHAR, year VARCHAR)
###human: Who are the recipients in 1994?
###assistant: SELECT recipients_and_nominees FROM table_name_73 WHERE year = 1994 |
###context:CREATE TABLE table_name_30 (recipients_and_nominees VARCHAR, role_episode VARCHAR, result VARCHAR)
###human: Who are the recipients that won for David Duchovny role/episode?
###assistant: SELECT recipients_and_nominees FROM table_name_30 WHERE role_episode = "david duchovny" AND result = "won" |
###context:CREATE TABLE table_name_37 (category VARCHAR, year VARCHAR, role_episode VARCHAR)
###human: What's the category in 1998 with the role/episode of David Duchovny?
###assistant: SELECT category FROM table_name_37 WHERE year = 1998 AND role_episode = "david duchovny" |
###context:CREATE TABLE table_name_69 (network VARCHAR, aspect VARCHAR, channel VARCHAR)
###human: Which network has more than 31.4 channels with a 4:3 aspect?
###assistant: SELECT network FROM table_name_69 WHERE aspect = "4:3" AND channel > 31.4 |
###context:CREATE TABLE table_name_97 (video VARCHAR, aspect VARCHAR, channel VARCHAR)
###human: Which video is on channel 31.2 with a 4:3 aspect?
###assistant: SELECT video FROM table_name_97 WHERE aspect = "4:3" AND channel = 31.2 |
###context:CREATE TABLE table_name_77 (video VARCHAR, aspect VARCHAR)
###human: Which video has a 16:9 aspect?
###assistant: SELECT video FROM table_name_77 WHERE aspect = "16:9" |
###context:CREATE TABLE table_name_94 (constituency_number VARCHAR, reserved_for___sc___st__none_ VARCHAR, district VARCHAR)
###human: What's the constituency number of the Seoni district and has none reserved?
###assistant: SELECT constituency_number FROM table_name_94 WHERE reserved_for___sc___st__none_ = "none" AND district = "seoni" |
###context:CREATE TABLE table_name_64 (district VARCHAR, reserved_for___sc___st__none_ VARCHAR, name VARCHAR)
###human: What is the district of Paraswada with none reserved?
###assistant: SELECT district FROM table_name_64 WHERE reserved_for___sc___st__none_ = "none" AND name = "paraswada" |
###context:CREATE TABLE table_name_43 (reserved_for___sc___st__none_ VARCHAR, constituency_number VARCHAR)
###human: What's the reserved number for constituency number 108?
###assistant: SELECT reserved_for___sc___st__none_ FROM table_name_43 WHERE constituency_number = "108" |
###context:CREATE TABLE table_name_65 (name VARCHAR, constituency_number VARCHAR)
###human: What's the name of Constituency number 108?
###assistant: SELECT name FROM table_name_65 WHERE constituency_number = "108" |
###context:CREATE TABLE table_name_77 (total INTEGER, gold VARCHAR, bronze VARCHAR, silver VARCHAR)
###human: What is the lowest total medals when there were 0 gold medals, 0 silver medals, and more than 1 bronze medal?
###assistant: SELECT MIN(total) FROM table_name_77 WHERE bronze > 1 AND silver = 0 AND gold < 0 |
###context:CREATE TABLE table_name_49 (bronze INTEGER, silver VARCHAR, total VARCHAR, rank VARCHAR)
###human: What is the sum of the bronze medals when there were less than 8 total medals, 0 silver medals and a rank of 9?
###assistant: SELECT SUM(bronze) FROM table_name_49 WHERE total < 8 AND rank = 9 AND silver < 0 |
###context:CREATE TABLE table_name_19 (nation VARCHAR, silver VARCHAR, rank VARCHAR, total VARCHAR)
###human: What nation had a rank higher than 4, a total of 2 medals and more than 0 silver medals?
###assistant: SELECT nation FROM table_name_19 WHERE rank > 4 AND total = 2 AND silver > 0 |
###context:CREATE TABLE table_name_9 (rank INTEGER, total VARCHAR, gold VARCHAR)
###human: What was the average rank for the team that had more than 5 medals and more than 6 gold medals?
###assistant: SELECT AVG(rank) FROM table_name_9 WHERE total > 5 AND gold > 6 |
###context:CREATE TABLE table_name_7 (artist VARCHAR, draw VARCHAR, points VARCHAR)
###human: Which artist has a draw higher than 4 and fewer than 5 points?
###assistant: SELECT artist FROM table_name_7 WHERE draw > 4 AND points < 5 |
###context:CREATE TABLE table_name_42 (artist VARCHAR, points VARCHAR)
###human: Which artist has 13 points?
###assistant: SELECT artist FROM table_name_42 WHERE points = 13 |
###context:CREATE TABLE table_name_4 (b_score INTEGER, a_score INTEGER)
###human: What is the greatest B score when the A score was less than 6.5?
###assistant: SELECT MAX(b_score) FROM table_name_4 WHERE a_score < 6.5 |
###context:CREATE TABLE table_name_66 (time VARCHAR, notes VARCHAR, country VARCHAR)
###human: What is the Time of the Great Britain players with Notes of SA/B?
###assistant: SELECT time FROM table_name_66 WHERE notes = "sa/b" AND country = "great britain" |
###context:CREATE TABLE table_name_99 (rowers VARCHAR, notes VARCHAR, time VARCHAR)
###human: What is the Rowers of the race with a Time of 7:41.97 and Notes of FC?
###assistant: SELECT rowers FROM table_name_99 WHERE notes = "fc" AND time = "7:41.97" |
###context:CREATE TABLE table_name_66 (week INTEGER, opponent VARCHAR)
###human: What is the Week of the game against the Minnesota Vikings?
###assistant: SELECT MIN(week) FROM table_name_66 WHERE opponent = "minnesota vikings" |
###context:CREATE TABLE table_name_71 (week INTEGER, opponent VARCHAR)
###human: What is the Week of the game against Green Bay Packers?
###assistant: SELECT AVG(week) FROM table_name_71 WHERE opponent = "green bay packers" |
###context:CREATE TABLE table_name_46 (attendance VARCHAR, result VARCHAR)
###human: What is the Attendance of the game with a Result of L 20-14?
###assistant: SELECT attendance FROM table_name_46 WHERE result = "l 20-14" |
###context:CREATE TABLE table_name_93 (week INTEGER, date VARCHAR)
###human: What is the Week number on October 5, 2003?
###assistant: SELECT MIN(week) FROM table_name_93 WHERE date = "october 5, 2003" |
###context:CREATE TABLE table_name_78 (week VARCHAR, attendance VARCHAR)
###human: What is the Week number with an Attendance of 62,123?
###assistant: SELECT COUNT(week) FROM table_name_78 WHERE attendance = "62,123" |
###context:CREATE TABLE table_name_58 (number_of_households INTEGER, county VARCHAR)
###human: How many households are in Ottawa?
###assistant: SELECT SUM(number_of_households) FROM table_name_58 WHERE county = "ottawa" |
###context:CREATE TABLE table_name_28 (enrollment INTEGER, location VARCHAR)
###human: What is the sum of enrollments for schools located in Culver?
###assistant: SELECT SUM(enrollment) FROM table_name_28 WHERE location = "culver" |
###context:CREATE TABLE table_name_46 (year_joined VARCHAR, enrollment VARCHAR)
###human: Which year did the school with enrollment of 413 join?
###assistant: SELECT year_joined FROM table_name_46 WHERE enrollment = 413 |
###context:CREATE TABLE table_name_83 (year VARCHAR, category VARCHAR)
###human: How many years was Reasons to be Pretty nominated for best play?
###assistant: SELECT COUNT(year) FROM table_name_83 WHERE category = "best play" |
###context:CREATE TABLE table_name_56 (year INTEGER, category VARCHAR)
###human: What is the first year that Reasons to be Pretty had a nominee for best performance by a leading actor in a play?
###assistant: SELECT MIN(year) FROM table_name_56 WHERE category = "best performance by a leading actor in a play" |
###context:CREATE TABLE table_name_23 (match_report VARCHAR, date VARCHAR)
###human: What is the match report from the game played on 28 february 2009?
###assistant: SELECT match_report FROM table_name_23 WHERE date = "28 february 2009" |
###context:CREATE TABLE table_name_4 (match_report VARCHAR, date VARCHAR)
###human: What is the match report from the game played on 25 april 2009?
###assistant: SELECT match_report FROM table_name_4 WHERE date = "25 april 2009" |
###context:CREATE TABLE table_name_2 (venue VARCHAR, opponents VARCHAR, date VARCHAR)
###human: Where was the game played on 3 january 2009 against east fife?
###assistant: SELECT venue FROM table_name_2 WHERE opponents = "east fife" AND date = "3 january 2009" |
###context:CREATE TABLE table_name_13 (match_report VARCHAR, date VARCHAR, venue VARCHAR, competition VARCHAR)
###human: What is the match report for the game that was played on 23 august 2008 in stark's park during the second division competition?
###assistant: SELECT match_report FROM table_name_13 WHERE venue = "stark's park" AND competition = "second division" AND date = "23 august 2008" |
###context:CREATE TABLE table_name_29 (match_report VARCHAR, opponents VARCHAR, venue VARCHAR)
###human: What is the match report for the game played at forthbank stadium against stirling albion?
###assistant: SELECT match_report FROM table_name_29 WHERE opponents = "stirling albion" AND venue = "forthbank stadium" |
###context:CREATE TABLE table_name_85 (quantity INTEGER, drg_number_s_ VARCHAR)
###human: What is average quantity, when DRG number is 99 011?
###assistant: SELECT AVG(quantity) FROM table_name_85 WHERE drg_number_s_ = "99 011" |
###context:CREATE TABLE table_name_19 (railway_number_s_ VARCHAR, quantity VARCHAR)
###human: Which railway number has 3 quantity?
###assistant: SELECT railway_number_s_ FROM table_name_19 WHERE quantity = 3 |
###context:CREATE TABLE table_name_32 (drg_number_s_ VARCHAR, railway_number_s_ VARCHAR)
###human: Which DRG number has xxx railway number?
###assistant: SELECT drg_number_s_ FROM table_name_32 WHERE railway_number_s_ = "xxx" |
###context:CREATE TABLE table_name_58 (quantity VARCHAR, axle_arrangement___uic___bauart VARCHAR, drg_number_s_ VARCHAR)
###human: Which quantity has Axle arrangement (UIC)bauart of c n2t, and DRG number 99 093?
###assistant: SELECT quantity FROM table_name_58 WHERE axle_arrangement___uic___bauart = "c n2t" AND drg_number_s_ = "99 093" |
###context:CREATE TABLE table_name_8 (song VARCHAR, date VARCHAR)
###human: What song came out on March 8, 2008?
###assistant: SELECT song FROM table_name_8 WHERE date = "march 8, 2008" |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.