training_input
stringlengths
118
1.06k
###context:CREATE TABLE table_name_5 (topic_of_the_show VARCHAR, date VARCHAR) ###human: What was the topic of the show on March 15, 2008? ###assistant: SELECT topic_of_the_show FROM table_name_5 WHERE date = "march 15, 2008"
###context:CREATE TABLE table_name_82 (wins INTEGER, against VARCHAR, losses VARCHAR) ###human: When against is more than 1244 with less than 8 losses, what is the average of wins? ###assistant: SELECT AVG(wins) FROM table_name_82 WHERE against > 1244 AND losses < 8
###context:CREATE TABLE table_name_76 (name VARCHAR, ref_number VARCHAR, location VARCHAR) ###human: What is the name of the mill located on Anawan Street with a reference number larger than 8? ###assistant: SELECT name FROM table_name_76 WHERE ref_number > 8 AND location = "anawan street"
###context:CREATE TABLE table_name_7 (name VARCHAR, construction VARCHAR, ref_number VARCHAR, built VARCHAR) ###human: What is the name of the mill constructed of red brick in 1910 with a reference number lower than 55? ###assistant: SELECT name FROM table_name_7 WHERE ref_number < 55 AND built = 1910 AND construction = "red brick"
###context:CREATE TABLE table_name_7 (location VARCHAR, built VARCHAR, name VARCHAR) ###human: What is the location of the Durfee Mill No. 1, built before 1872 ? ###assistant: SELECT location FROM table_name_7 WHERE built < 1872 AND name = "durfee mill no. 1"
###context:CREATE TABLE table_name_99 (location VARCHAR, ref_number VARCHAR) ###human: What is the location of the mill with a reference number of 44? ###assistant: SELECT location FROM table_name_99 WHERE ref_number = 44
###context:CREATE TABLE table_name_89 (construction VARCHAR, name__wade_giles_ VARCHAR) ###human: Which Construction is named of fu-hsing? ###assistant: SELECT construction FROM table_name_89 WHERE name__wade_giles_ = "fu-hsing"
###context:CREATE TABLE table_name_69 (construction VARCHAR, name__wade_giles_ VARCHAR) ###human: which Construction is named heng-hai? ###assistant: SELECT construction FROM table_name_69 WHERE name__wade_giles_ = "heng-hai"
###context:CREATE TABLE table_name_33 (characters VARCHAR, construction VARCHAR) ###human: Who has a Construction of 1873, foochow navy yard? ###assistant: SELECT characters FROM table_name_33 WHERE construction = "1873, foochow navy yard"
###context:CREATE TABLE table_name_64 (name__pinyin_ VARCHAR, name__wade_giles_ VARCHAR) ###human: Which Name (pinyin) is named fu-ching? ###assistant: SELECT name__pinyin_ FROM table_name_64 WHERE name__wade_giles_ = "fu-ching"
###context:CREATE TABLE table_name_1 (characters VARCHAR, construction VARCHAR, name__wade_giles_ VARCHAR) ###human: Who has a Construction of 1870, foochow navy yard, and a Name (Wade Giles) of fu-hsing? ###assistant: SELECT characters FROM table_name_1 WHERE construction = "1870, foochow navy yard" AND name__wade_giles_ = "fu-hsing"
###context:CREATE TABLE table_name_16 (label VARCHAR, release VARCHAR) ###human: Which Label has a Release of liebesgrüsse aus ost-berlin? ###assistant: SELECT label FROM table_name_16 WHERE release = "liebesgrüsse aus ost-berlin"
###context:CREATE TABLE table_name_20 (rank INTEGER, games_played INTEGER) ###human: What is the rank of the person with more than 5 games played? ###assistant: SELECT SUM(rank) FROM table_name_20 WHERE games_played > 5
###context:CREATE TABLE table_name_61 (gold VARCHAR, rank VARCHAR, bronze VARCHAR, silver VARCHAR) ###human: How many golds have a bronze greater than 1, a silver greater than 1, with total as the rank? ###assistant: SELECT COUNT(gold) FROM table_name_61 WHERE bronze > 1 AND silver > 1 AND rank = "total"
###context:CREATE TABLE table_name_27 (gold VARCHAR, silver VARCHAR, bronze VARCHAR, nation VARCHAR) ###human: How many golds have a bronze greater than 1, total as the nation, and a silver less than 18? ###assistant: SELECT COUNT(gold) FROM table_name_27 WHERE bronze > 1 AND nation = "total" AND silver < 18
###context:CREATE TABLE table_name_51 (bronze INTEGER, nation VARCHAR) ###human: How many bronzes have west germany as the nation? ###assistant: SELECT SUM(bronze) FROM table_name_51 WHERE nation = "west germany"
###context:CREATE TABLE table_name_86 (gold VARCHAR, nation VARCHAR, total VARCHAR) ###human: How many golds have denmark as the nation, with a total less than 1? ###assistant: SELECT COUNT(gold) FROM table_name_86 WHERE nation = "denmark" AND total < 1
###context:CREATE TABLE table_name_60 (total VARCHAR, silver VARCHAR, gold VARCHAR, rank VARCHAR) ###human: How many totals have 1 for the gold, 12 for the rank, and a sliver greater than 0? ###assistant: SELECT COUNT(total) FROM table_name_60 WHERE gold = 1 AND rank = "12" AND silver > 0
###context:CREATE TABLE table_name_15 (silver INTEGER, gold VARCHAR, rank VARCHAR, bronze VARCHAR, total VARCHAR) ###human: What is the lowest silver that has 1 for the bronze, 1 as the total, 17 as the rank, with a gold less than 0? ###assistant: SELECT MIN(silver) FROM table_name_15 WHERE bronze = 1 AND total = 1 AND rank = "17" AND gold < 0
###context:CREATE TABLE table_name_31 (first_publisher VARCHAR, year INTEGER) ###human: What is the First Publisher prior to 1999? ###assistant: SELECT first_publisher FROM table_name_31 WHERE year < 1999
###context:CREATE TABLE table_name_48 (isbn VARCHAR, year VARCHAR) ###human: What is the ISBN in 1999? ###assistant: SELECT isbn FROM table_name_48 WHERE year = 1999
###context:CREATE TABLE table_name_54 (isbn VARCHAR, japanese_title VARCHAR) ###human: What is the ISBN of Japanese Title of 霧の訪問者 (kiri no hōmonsha)? ###assistant: SELECT isbn FROM table_name_54 WHERE japanese_title = "霧の訪問者 (kiri no hōmonsha)"
###context:CREATE TABLE table_name_8 (first_publisher VARCHAR, year VARCHAR) ###human: What is the First Publisher in 2007? ###assistant: SELECT first_publisher FROM table_name_8 WHERE year = 2007
###context:CREATE TABLE table_name_80 (year VARCHAR, first_publisher VARCHAR, english_title VARCHAR) ###human: What is the Year of Kodansha Novels' Tokyo Nightmare? ###assistant: SELECT year FROM table_name_80 WHERE first_publisher = "kodansha novels" AND english_title = "tokyo nightmare"
###context:CREATE TABLE table_name_37 (year INTEGER, isbn VARCHAR) ###human: What Year has an ISBN OF ISBN 4-06-182042-7? ###assistant: SELECT AVG(year) FROM table_name_37 WHERE isbn = "isbn 4-06-182042-7"
###context:CREATE TABLE table_name_53 (bronze INTEGER, gold INTEGER) ###human: What is the bronze number for the nation with less than 0 gold? ###assistant: SELECT MIN(bronze) FROM table_name_53 WHERE gold < 0
###context:CREATE TABLE table_name_26 (january VARCHAR, region VARCHAR) ###human: What is the January climate figure for Eastman? ###assistant: SELECT january FROM table_name_26 WHERE region = "eastman"
###context:CREATE TABLE table_name_49 (city VARCHAR, july VARCHAR) ###human: In what city is the July temperature 23/9°c (73/48°f)? ###assistant: SELECT city FROM table_name_49 WHERE july = "23/9°c (73/48°f)"
###context:CREATE TABLE table_name_23 (july VARCHAR, annual_precipitation VARCHAR) ###human: What is the July temperature where the annual precipitation is 514mm (20.2in)? ###assistant: SELECT july FROM table_name_23 WHERE annual_precipitation = "514mm (20.2in)"
###context:CREATE TABLE table_name_32 (july VARCHAR, plant_hardiness_zone VARCHAR, january VARCHAR) ###human: What is the July temperature where plant hardiness zone is 2B and January figure is −12/−23°c (10-9°f)? ###assistant: SELECT july FROM table_name_32 WHERE plant_hardiness_zone = "2b" AND january = "−12/−23°c (10-9°f)"
###context:CREATE TABLE table_name_36 (plant_hardiness_zone VARCHAR, region VARCHAR, annual_precipitation VARCHAR) ###human: What is the plant hardiness zone in the Northern region where the annual precipitation is 443mm (17.4in)? ###assistant: SELECT plant_hardiness_zone FROM table_name_36 WHERE region = "northern" AND annual_precipitation = "443mm (17.4in)"
###context:CREATE TABLE table_name_52 (city VARCHAR, plant_hardiness_zone VARCHAR, january VARCHAR) ###human: In what city is the plant hardiness zone 2B and January temp is −12/−23°c (10/-9°f)? ###assistant: SELECT city FROM table_name_52 WHERE plant_hardiness_zone = "2b" AND january = "−12/−23°c (10/-9°f)"
###context:CREATE TABLE table_name_78 (total_apps VARCHAR, name VARCHAR) ###human: What is the Total Apps listing for Paul Wilson? ###assistant: SELECT total_apps FROM table_name_78 WHERE name = "paul wilson"
###context:CREATE TABLE table_name_84 (winner VARCHAR, course VARCHAR) ###human: Who was the winner at Milan Circuit Race? ###assistant: SELECT winner FROM table_name_84 WHERE course = "milan circuit race"
###context:CREATE TABLE table_name_67 (winner VARCHAR, course VARCHAR) ###human: Who was the winner at Rest Day course? ###assistant: SELECT winner FROM table_name_67 WHERE course = "rest day"
###context:CREATE TABLE table_name_39 (type VARCHAR, course VARCHAR) ###human: What's the type on Sestri Levante to Riomaggiore? ###assistant: SELECT type FROM table_name_39 WHERE course = "sestri levante to riomaggiore"
###context:CREATE TABLE table_name_49 (player VARCHAR, events VARCHAR) ###human: Which player competed in 12 events? ###assistant: SELECT player FROM table_name_49 WHERE events = 12
###context:CREATE TABLE table_name_48 (finishes INTEGER, wins VARCHAR, points VARCHAR, stage_wins VARCHAR) ###human: what is the highest finishes when the points is less than 337, the stage wins is 2 and the wins is more than 0? ###assistant: SELECT MAX(finishes) FROM table_name_48 WHERE points < 337 AND stage_wins = 2 AND wins > 0
###context:CREATE TABLE table_name_94 (starts INTEGER, chassis VARCHAR, finishes VARCHAR) ###human: what is the average starts when the chassis is focus rs wrc 08 and finishes is more than 27? ###assistant: SELECT AVG(starts) FROM table_name_94 WHERE chassis = "focus rs wrc 08" AND finishes > 27
###context:CREATE TABLE table_name_90 (finishes INTEGER, points VARCHAR, starts VARCHAR) ###human: what is the finishes when points is more than 337 and starts is more than 26? ###assistant: SELECT SUM(finishes) FROM table_name_90 WHERE points > 337 AND starts > 26
###context:CREATE TABLE table_name_35 (starts INTEGER, points VARCHAR, podiums VARCHAR, stage_wins VARCHAR) ###human: what is the average starts when the podiums is more than 0, stage wins is more than 39 and points is more than 456? ###assistant: SELECT AVG(starts) FROM table_name_35 WHERE podiums > 0 AND stage_wins > 39 AND points > 456
###context:CREATE TABLE table_name_35 (school VARCHAR, mascot VARCHAR) ###human: Which School has a Mascot of squires? ###assistant: SELECT school FROM table_name_35 WHERE mascot = "squires"
###context:CREATE TABLE table_name_43 (school VARCHAR, mascot VARCHAR, _number___county VARCHAR, ihsaa_football_class VARCHAR) ###human: Which School has a #/ County of 85 wabash, and an IHSAA Football Class of A, and a Mascot of norsemen? ###assistant: SELECT school FROM table_name_43 WHERE _number___county = "85 wabash" AND ihsaa_football_class = "a" AND mascot = "norsemen"
###context:CREATE TABLE table_name_99 (ihsaa_football_class VARCHAR, school VARCHAR) ###human: Which IHSAA Football Class has a School of whitko? ###assistant: SELECT ihsaa_football_class FROM table_name_99 WHERE school = "whitko"
###context:CREATE TABLE table_name_50 (ihsaa_football_class VARCHAR, location VARCHAR, school VARCHAR) ###human: Which IHSAA Football Class has a Location of wabash, and a School of wabash? ###assistant: SELECT ihsaa_football_class FROM table_name_50 WHERE location = "wabash" AND school = "wabash"
###context:CREATE TABLE table_name_88 (to_par INTEGER, player VARCHAR, total VARCHAR) ###human: With a Total of more than 149, what is Davis Love III's To par? ###assistant: SELECT AVG(to_par) FROM table_name_88 WHERE player = "davis love iii" AND total > 149
###context:CREATE TABLE table_name_87 (total INTEGER, year_won VARCHAR, to_par VARCHAR) ###human: What is the Total of the Player with a To par of 6 and Year won after 1993? ###assistant: SELECT MIN(total) FROM table_name_87 WHERE year_won > 1993 AND to_par = 6
###context:CREATE TABLE table_name_93 (year_won VARCHAR, player VARCHAR, total VARCHAR) ###human: What is the Year won of Davis Love III with a Total of less than 149? ###assistant: SELECT COUNT(year_won) FROM table_name_93 WHERE player = "davis love iii" AND total < 149
###context:CREATE TABLE table_name_14 (genre VARCHAR, game VARCHAR) ###human: What is the genre of the Mass Effect game? ###assistant: SELECT genre FROM table_name_14 WHERE game = "mass effect"
###context:CREATE TABLE table_name_72 (genre VARCHAR, year VARCHAR) ###human: What is the genre of the game from 2006? ###assistant: SELECT genre FROM table_name_72 WHERE year = "2006"
###context:CREATE TABLE table_name_85 (genre VARCHAR, developer_s_ VARCHAR) ###human: What is the genre of the game developed by Nintendo EAD? ###assistant: SELECT genre FROM table_name_85 WHERE developer_s_ = "nintendo ead"
###context:CREATE TABLE table_name_53 (platform_s_ VARCHAR, year VARCHAR) ###human: What is the platform of the game built in 2006? ###assistant: SELECT platform_s_ FROM table_name_53 WHERE year = "2006"
###context:CREATE TABLE table_name_53 (game VARCHAR, developer_s_ VARCHAR) ###human: What game was developed by Ubisoft Montreal? ###assistant: SELECT game FROM table_name_53 WHERE developer_s_ = "ubisoft montreal"
###context:CREATE TABLE table_name_32 (genre VARCHAR, game VARCHAR) ###human: What is the genre for Portal 2? ###assistant: SELECT genre FROM table_name_32 WHERE game = "portal 2"
###context:CREATE TABLE table_name_88 (platform_s_ VARCHAR, game VARCHAR) ###human: Which platforms can you play Portal 2 on? ###assistant: SELECT platform_s_ FROM table_name_88 WHERE game = "portal 2"
###context:CREATE TABLE table_name_4 (meet VARCHAR, event VARCHAR) ###human: What event had the 1500m freestyle? ###assistant: SELECT meet FROM table_name_4 WHERE event = "1500m freestyle"
###context:CREATE TABLE table_name_92 (name VARCHAR, maglia_rosa VARCHAR, young_rider VARCHAR, country VARCHAR, giro_wins VARCHAR) ###human: Who is from italy has 0 giro wins, 0 young rider and less than 3 maglia rosa? ###assistant: SELECT name FROM table_name_92 WHERE country = "italy" AND giro_wins = 0 AND young_rider = 0 AND maglia_rosa < 3
###context:CREATE TABLE table_name_18 (bronze INTEGER, nation VARCHAR, silver VARCHAR) ###human: How many bronze medals for the United Kingdom when the silver was less than 0? ###assistant: SELECT AVG(bronze) FROM table_name_18 WHERE nation = "united kingdom" AND silver < 0
###context:CREATE TABLE table_name_65 (bronze VARCHAR, total VARCHAR, nation VARCHAR) ###human: How many bronze medals for West Germany having a total more than 2? ###assistant: SELECT COUNT(bronze) FROM table_name_65 WHERE total > 2 AND nation = "west germany"
###context:CREATE TABLE table_name_21 (silver INTEGER, rank VARCHAR, gold VARCHAR) ###human: What is the amount of silver for rank 11 having less than 0 gold? ###assistant: SELECT MIN(silver) FROM table_name_21 WHERE rank = "11" AND gold < 0
###context:CREATE TABLE table_name_44 (rank VARCHAR, nation VARCHAR, silver VARCHAR, bronze VARCHAR) ###human: What rank is Bulgaria with less than 3 silver and more than 1 bronze? ###assistant: SELECT rank FROM table_name_44 WHERE silver < 3 AND bronze > 1 AND nation = "bulgaria"
###context:CREATE TABLE table_name_60 (mountains_classification VARCHAR, stage VARCHAR) ###human: What is the mountains classification when stage is 17? ###assistant: SELECT mountains_classification FROM table_name_60 WHERE stage = "17"
###context:CREATE TABLE table_name_45 (winner VARCHAR, points_classification VARCHAR, mountains_classification VARCHAR) ###human: Who was the winner when points classification is Robbie Mcewen, and a Mountains classification is José Rujano? ###assistant: SELECT winner FROM table_name_45 WHERE points_classification = "robbie mcewen" AND mountains_classification = "josé rujano"
###context:CREATE TABLE table_name_34 (trofeo_fast_team VARCHAR, stage VARCHAR) ###human: What is the Trofeo Fast Team when stage is 19? ###assistant: SELECT trofeo_fast_team FROM table_name_34 WHERE stage = "19"
###context:CREATE TABLE table_name_19 (points_classification VARCHAR, stage VARCHAR, trofeo_super_team VARCHAR, intergiro_classification VARCHAR, mountains_classification VARCHAR) ###human: What is the points classification when the Intergiro classification is Sven Krauß, and the mountains classification is koldo gil, Trofeo Super Team is Liquigas-Bianchi, and stage is 9? ###assistant: SELECT points_classification FROM table_name_19 WHERE intergiro_classification = "sven krauß" AND mountains_classification = "koldo gil" AND trofeo_super_team = "liquigas-bianchi" AND stage = "9"
###context:CREATE TABLE table_name_16 (intergiro_classification VARCHAR, mountains_classification VARCHAR, points_classification VARCHAR, trofeo_super_team VARCHAR) ###human: What is the Intergiro classification when the points classification is Paolo Bettini, Trofeo Super Team is Davitamon-Lotto, and the Mountains classification is José Rujano? ###assistant: SELECT intergiro_classification FROM table_name_16 WHERE points_classification = "paolo bettini" AND trofeo_super_team = "davitamon-lotto" AND mountains_classification = "josé rujano"
###context:CREATE TABLE table_name_67 (stage VARCHAR, general_classification VARCHAR, points_classification VARCHAR, mountains_classification VARCHAR) ###human: What is the Stage when the points classification is Danilo Di Luca, Mountains classification is José Rujano, and general classification is Danilo Di Luca? ###assistant: SELECT stage FROM table_name_67 WHERE points_classification = "danilo di luca" AND mountains_classification = "josé rujano" AND general_classification = "danilo di luca"
###context:CREATE TABLE table_name_4 (geo_id INTEGER, land___sqmi__ VARCHAR, latitude VARCHAR, longitude VARCHAR) ###human: What is the average GEO ID with a latitude less than 46.57958, a latitude of -102.109898 and more than 35.99 square miles of land? ###assistant: SELECT AVG(geo_id) FROM table_name_4 WHERE latitude < 46.57958 AND longitude = -102.109898 AND land___sqmi__ > 35.99
###context:CREATE TABLE table_name_83 (geo_id VARCHAR, longitude VARCHAR) ###human: What GEO ID has a longitude of -102.693028? ###assistant: SELECT geo_id FROM table_name_83 WHERE longitude = -102.693028
###context:CREATE TABLE table_name_69 (latitude INTEGER, pop__2010_ VARCHAR, water__sqmi_ VARCHAR, longitude VARCHAR) ###human: What is the highest latitude when there are more than 0.518 square miles of water, a longitude less than -99.830606, and a population of 18? ###assistant: SELECT MAX(latitude) FROM table_name_69 WHERE water__sqmi_ > 0.518 AND longitude < -99.830606 AND pop__2010_ = 18
###context:CREATE TABLE table_name_30 (lane INTEGER, nationality VARCHAR) ###human: What is the average lane for Australia? ###assistant: SELECT AVG(lane) FROM table_name_30 WHERE nationality = "australia"
###context:CREATE TABLE table_name_54 (rank INTEGER, name VARCHAR) ###human: What is the highest rank for Josefin Lillhage? ###assistant: SELECT MAX(rank) FROM table_name_54 WHERE name = "josefin lillhage"
###context:CREATE TABLE table_name_97 (attendance VARCHAR, final VARCHAR) ###human: What was the attendance for the final quarter (1)? ###assistant: SELECT attendance FROM table_name_97 WHERE final = "quarter (1)"
###context:CREATE TABLE table_name_21 (stadium VARCHAR, score VARCHAR) ###human: What stadium had the score 1 - 1 dodd 38'? ###assistant: SELECT stadium FROM table_name_21 WHERE score = "1 - 1 dodd 38'"
###context:CREATE TABLE table_name_78 (method VARCHAR, event VARCHAR) ###human: What method was used in the Pride 17 event? ###assistant: SELECT method FROM table_name_78 WHERE event = "pride 17"
###context:CREATE TABLE table_name_57 (rank VARCHAR, highest_floor INTEGER) ###human: What is the Rank of the building that has a Highest floor larger than 50? ###assistant: SELECT rank FROM table_name_57 WHERE highest_floor > 50
###context:CREATE TABLE table_name_87 (free INTEGER, total VARCHAR, rank VARCHAR) ###human: what is the most free when the total is 81.167 and the rank is higher than 23? ###assistant: SELECT MAX(free) FROM table_name_87 WHERE total = 81.167 AND rank > 23
###context:CREATE TABLE table_name_7 (tracks VARCHAR, unformatted_capacity_per_side VARCHAR) ###human: How many tracks have an unformatted capacity per side of 2000kb? ###assistant: SELECT COUNT(tracks) FROM table_name_7 WHERE unformatted_capacity_per_side = "2000kb"
###context:CREATE TABLE table_name_42 (unformatted_capacity_per_side VARCHAR, size VARCHAR) ###human: What is the unformatted capacity per side if the size is 8in? ###assistant: SELECT unformatted_capacity_per_side FROM table_name_42 WHERE size = "8in"
###context:CREATE TABLE table_name_93 (tracks VARCHAR, density VARCHAR) ###human: How many tracks have a single density? ###assistant: SELECT COUNT(tracks) FROM table_name_93 WHERE density = "single"
###context:CREATE TABLE table_name_77 (elevated VARCHAR, cardinalatial_title VARCHAR) ###human: What's listed for Elevatated that has Cardinalatial title of Priest of SS. XII Apostoli? ###assistant: SELECT elevated FROM table_name_77 WHERE cardinalatial_title = "priest of ss. xii apostoli"
###context:CREATE TABLE table_name_33 (elector VARCHAR, place_of_birth VARCHAR) ###human: What Elector has the Place of birth of San Severino? ###assistant: SELECT elector FROM table_name_33 WHERE place_of_birth = "san severino"
###context:CREATE TABLE table_name_40 (cardinalatial_title VARCHAR, elector VARCHAR, elevated VARCHAR, place_of_birth VARCHAR) ###human: What's the Cardinalatial Title has the Elevated of December 18, 1182, the Place of birth of Lucca, and the Electo rof Pandolfo? ###assistant: SELECT cardinalatial_title FROM table_name_40 WHERE elevated = "december 18, 1182" AND place_of_birth = "lucca" AND elector = "pandolfo"
###context:CREATE TABLE table_name_25 (elevated VARCHAR, cardinalatial_title VARCHAR) ###human: What's listed for the Elevated with a Cardinalatial title of Priest of S. Eusebio and Archbishop of Benevento? ###assistant: SELECT elevated FROM table_name_25 WHERE cardinalatial_title = "priest of s. eusebio and archbishop of benevento"
###context:CREATE TABLE table_name_4 (elector VARCHAR, place_of_birth VARCHAR) ###human: What Elector has the Place of Birth listed as Bavaria? ###assistant: SELECT elector FROM table_name_4 WHERE place_of_birth = "bavaria"
###context:CREATE TABLE table_name_16 (total_apps VARCHAR, league_apps VARCHAR, total_goals VARCHAR) ###human: What are the total apps that have 41 as the League apps, with total goals greater than 1? ###assistant: SELECT total_apps FROM table_name_16 WHERE league_apps = "41" AND total_goals > 1
###context:CREATE TABLE table_name_18 (league_goals INTEGER, total_apps VARCHAR) ###human: What are the average league goals that have 2 (1) as the total apps? ###assistant: SELECT AVG(league_goals) FROM table_name_18 WHERE total_apps = "2 (1)"
###context:CREATE TABLE table_name_46 (league_goals INTEGER, name VARCHAR, fa_cup_apps VARCHAR) ###human: What is the highest league goals that have barry endean as the name, wirh FA cup apps greater than 0? ###assistant: SELECT MAX(league_goals) FROM table_name_46 WHERE name = "barry endean" AND fa_cup_apps > 0
###context:CREATE TABLE table_name_81 (school VARCHAR, team_name VARCHAR, year_left VARCHAR) ###human: Which school left in 1968 and has the team name of Panthers? ###assistant: SELECT school FROM table_name_81 WHERE team_name = "panthers" AND year_left = "1968"
###context:CREATE TABLE table_name_89 (year_left VARCHAR, school VARCHAR) ###human: What year did a team from North Dearborn leave? ###assistant: SELECT year_left FROM table_name_89 WHERE school = "north dearborn"
###context:CREATE TABLE table_name_48 (city VARCHAR, county VARCHAR, school VARCHAR) ###human: Which city has a school of North Vernon and a county of 40 Jennings? ###assistant: SELECT city FROM table_name_48 WHERE county = "40 jennings" AND school = "north vernon"
###context:CREATE TABLE table_name_5 (year_joined VARCHAR, school VARCHAR) ###human: What year did a school from Jennings County join? ###assistant: SELECT year_joined FROM table_name_5 WHERE school = "jennings county"
###context:CREATE TABLE table_name_24 (school VARCHAR, team_name VARCHAR) ###human: Which school are the Red Devils from? ###assistant: SELECT school FROM table_name_24 WHERE team_name = "red devils"
###context:CREATE TABLE table_name_57 (school VARCHAR, city VARCHAR) ###human: Which school comes from Brookville? ###assistant: SELECT school FROM table_name_57 WHERE city = "brookville"
###context:CREATE TABLE table_name_70 (rank INTEGER, lane VARCHAR) ###human: What's the lowest rank of Lane 3? ###assistant: SELECT MIN(rank) FROM table_name_70 WHERE lane = 3
###context:CREATE TABLE table_name_62 (lane INTEGER, time VARCHAR, rank VARCHAR) ###human: What's the highest lane of rank 4 with a time less than 24.72? ###assistant: SELECT MAX(lane) FROM table_name_62 WHERE time < 24.72 AND rank = 4
###context:CREATE TABLE table_name_50 (time INTEGER, lane VARCHAR, name VARCHAR) ###human: What's the time of Britta Steffen in a lane less than 4? ###assistant: SELECT SUM(time) FROM table_name_50 WHERE lane < 4 AND name = "britta steffen"
###context:CREATE TABLE table_name_74 (rank INTEGER, nationality VARCHAR, time VARCHAR) ###human: What's the lowest rank of the United States with a time less than 24.63? ###assistant: SELECT MIN(rank) FROM table_name_74 WHERE nationality = "united states" AND time < 24.63
###context:CREATE TABLE table_name_98 (duration VARCHAR, soap_opera VARCHAR, actor VARCHAR) ###human: What's the duration of the Archers with Norman Painting as an actor? ###assistant: SELECT duration FROM table_name_98 WHERE soap_opera = "the archers" AND actor = "norman painting"
###context:CREATE TABLE table_name_45 (duration VARCHAR, soap_opera VARCHAR, actor VARCHAR) ###human: What's the duration of the Archers with Pauline Seville acting? ###assistant: SELECT duration FROM table_name_45 WHERE soap_opera = "the archers" AND actor = "pauline seville"