training_input
stringlengths 118
1.06k
|
---|
###context:CREATE TABLE table_name_3 (cores VARCHAR, part_number_s_ VARCHAR, release_date VARCHAR, release_price___usd__ VARCHAR)
###human: How many cores does the processor released in April 2012 with a price of $393 and part number av8063801117503 have?
###assistant: SELECT cores FROM table_name_3 WHERE release_date = "april 2012" AND release_price___usd__ = "$393" AND part_number_s_ = "av8063801117503" |
###context:CREATE TABLE table_name_45 (area_km² VARCHAR, country VARCHAR)
###human: What is Japan's Area km²?
###assistant: SELECT area_km² FROM table_name_45 WHERE country = "japan" |
###context:CREATE TABLE table_name_98 (island VARCHAR, density__per_km²_ VARCHAR)
###human: Which island has a density (per km²) of 1,368?
###assistant: SELECT island FROM table_name_98 WHERE density__per_km²_ = "1,368" |
###context:CREATE TABLE table_name_32 (country VARCHAR, density__per_km²_ VARCHAR)
###human: Which country has a density (per km²) of 6,814?
###assistant: SELECT country FROM table_name_32 WHERE density__per_km²_ = "6,814" |
###context:CREATE TABLE table_name_20 (island VARCHAR, population VARCHAR)
###human: Which island has a population of 9,520 (2000)?
###assistant: SELECT island FROM table_name_20 WHERE population = "9,520 (2000)" |
###context:CREATE TABLE table_name_99 (area_km² VARCHAR, population VARCHAR)
###human: What is the area km² for a population of 99,685 (2008)?
###assistant: SELECT area_km² FROM table_name_99 WHERE population = "99,685 (2008)" |
###context:CREATE TABLE table_name_43 (island VARCHAR, country VARCHAR)
###human: Which island is in the United Kingdom?
###assistant: SELECT island FROM table_name_43 WHERE country = "united kingdom" |
###context:CREATE TABLE table_name_40 (pitcher VARCHAR, location VARCHAR, season VARCHAR)
###human: Who is the pitcher from the 1983 season in location Kingdome?
###assistant: SELECT pitcher FROM table_name_40 WHERE location = "kingdome" AND season = "1983" |
###context:CREATE TABLE table_name_5 (pitcher VARCHAR, opponent VARCHAR, season VARCHAR)
###human: Who is the pitcher from the 1994 season that had the Cleveland Indians as an opponent?
###assistant: SELECT pitcher FROM table_name_5 WHERE opponent = "cleveland indians" AND season = "1994" |
###context:CREATE TABLE table_name_11 (opponent VARCHAR, decision VARCHAR, season VARCHAR)
###human: Who is the opponent for the 2011 season with a decision of W?
###assistant: SELECT opponent FROM table_name_11 WHERE decision = "w" AND season = "2011" |
###context:CREATE TABLE table_name_60 (season VARCHAR, opponent VARCHAR, location VARCHAR, decision VARCHAR)
###human: What season was played at Safeco Field, against the Boston Red Sox, with a decision of L?
###assistant: SELECT season FROM table_name_60 WHERE location = "safeco field" AND decision = "l" AND opponent = "boston red sox" |
###context:CREATE TABLE table_name_35 (decision VARCHAR, opponent VARCHAR, season VARCHAR)
###human: What was the decision for the 1983 season for the game played against the New York Yankees?
###assistant: SELECT decision FROM table_name_35 WHERE opponent = "new york yankees" AND season = "1983" |
###context:CREATE TABLE table_name_44 (encoding VARCHAR, tracks__side VARCHAR, sectors__track VARCHAR)
###human: what is the encoding when the tracks/side is 80 and sectors/track is 11?
###assistant: SELECT encoding FROM table_name_44 WHERE tracks__side = "80" AND sectors__track = "11" |
###context:CREATE TABLE table_name_16 (bronze INTEGER, total INTEGER)
###human: What is the highest bronze for less than 2 total trophies?
###assistant: SELECT MAX(bronze) FROM table_name_16 WHERE total < 2 |
###context:CREATE TABLE table_name_64 (total INTEGER, finish VARCHAR, year_won VARCHAR)
###human: Which Total has a Finish of t64, and a Year won larger than 2006?
###assistant: SELECT MAX(total) FROM table_name_64 WHERE finish = "t64" AND year_won > 2006 |
###context:CREATE TABLE table_name_6 (year_won INTEGER, finish VARCHAR, country VARCHAR)
###human: Which year won has a Finish of t24, and a Country of england?
###assistant: SELECT AVG(year_won) FROM table_name_6 WHERE finish = "t24" AND country = "england" |
###context:CREATE TABLE table_name_45 (bronze INTEGER, gold VARCHAR, rank VARCHAR, total VARCHAR, silver VARCHAR)
###human: What is the smallest bronze value for countries with totals over 2, golds of 0, silvers under 1, and ranks over 10?
###assistant: SELECT MIN(bronze) FROM table_name_45 WHERE total > 2 AND silver < 1 AND rank > 10 AND gold < 0 |
###context:CREATE TABLE table_name_53 (school VARCHAR, previous_conference VARCHAR, enrollment VARCHAR)
###human: Which school has an enrollment of A and had lost river as their previous conference?
###assistant: SELECT school FROM table_name_53 WHERE previous_conference = "lost river" AND enrollment = "a" |
###context:CREATE TABLE table_name_43 (year_joined INTEGER, county VARCHAR)
###human: What is the average year joined of the 277 county?
###assistant: SELECT AVG(year_joined) FROM table_name_43 WHERE county = 277 |
###context:CREATE TABLE table_name_71 (ihsaa_class VARCHAR, county INTEGER)
###human: What is the IHSAA class of the county that is less than 228?
###assistant: SELECT ihsaa_class FROM table_name_71 WHERE county < 228 |
###context:CREATE TABLE table_name_12 (engine VARCHAR, transmission VARCHAR, acceleration_0_100km_h__0_62mph_ VARCHAR)
###human: What is the engine when the transmission was 4-speed automatic, and acceleration 0–100km/h (0–62mph) was 10.4 s?
###assistant: SELECT engine FROM table_name_12 WHERE transmission = "4-speed automatic" AND acceleration_0_100km_h__0_62mph_ = "10.4 s" |
###context:CREATE TABLE table_name_49 (power VARCHAR, acceleration_0_100km_h__0_62mph_ VARCHAR)
###human: What is the Power when the acceleration 0–100km/h (0–62mph) is 9.1 s?
###assistant: SELECT power FROM table_name_49 WHERE acceleration_0_100km_h__0_62mph_ = "9.1 s" |
###context:CREATE TABLE table_name_99 (transmission VARCHAR, engine VARCHAR, acceleration_0_100km_h__0_62mph_ VARCHAR)
###human: What is the transmission when the engine is 2.0l, and acceleration 0–100km/h (0–62mph) is 10.5 s?
###assistant: SELECT transmission FROM table_name_99 WHERE engine = "2.0l" AND acceleration_0_100km_h__0_62mph_ = "10.5 s" |
###context:CREATE TABLE table_name_5 (production VARCHAR, engine VARCHAR, acceleration_0_100km_h__0_62mph_ VARCHAR)
###human: What is the production when engine is 2.7l, and acceleration 0–100km/h (0–62mph) is 8.5 s?
###assistant: SELECT production FROM table_name_5 WHERE engine = "2.7l" AND acceleration_0_100km_h__0_62mph_ = "8.5 s" |
###context:CREATE TABLE table_name_29 (transmission VARCHAR, production VARCHAR)
###human: What is the transmission when the production was 2002-2005?
###assistant: SELECT transmission FROM table_name_29 WHERE production = "2002-2005" |
###context:CREATE TABLE table_name_69 (acceleration_0_100km_h__0_62mph_ VARCHAR, transmission VARCHAR)
###human: What is the acceleration 0–100km/h (0–62mph) when the transmission is 5-speed manual?
###assistant: SELECT acceleration_0_100km_h__0_62mph_ FROM table_name_69 WHERE transmission = "5-speed manual" |
###context:CREATE TABLE table_name_68 (year INTEGER, developer_s_ VARCHAR)
###human: What is the highest year for the Bethesda Game Studios Developer?
###assistant: SELECT MAX(year) FROM table_name_68 WHERE developer_s_ = "bethesda game studios" |
###context:CREATE TABLE table_name_99 (year INTEGER, game VARCHAR)
###human: What is the lowest year for the game called The Elder Scrolls v: Skyrim?
###assistant: SELECT MIN(year) FROM table_name_99 WHERE game = "the elder scrolls v: skyrim" |
###context:CREATE TABLE table_name_33 (genre VARCHAR, developer_s_ VARCHAR)
###human: What game was developed by Naughty Dog?
###assistant: SELECT genre FROM table_name_33 WHERE developer_s_ = "naughty dog" |
###context:CREATE TABLE table_name_31 (imed_avicenna_listed VARCHAR, established VARCHAR, degree VARCHAR, regional_offshore VARCHAR, country_territory VARCHAR)
###human: What is the imed/avicenna listed for a medical school offshore in saint kitts and nevis which was established before 2000 and will give you an MD?
###assistant: SELECT imed_avicenna_listed FROM table_name_31 WHERE regional_offshore = "offshore" AND country_territory = "saint kitts and nevis" AND degree = "md" AND established < 2000 |
###context:CREATE TABLE table_name_15 (country_territory VARCHAR, imed_avicenna_listed VARCHAR, established VARCHAR)
###human: What country has a medical school established in 1969 with both an IMED and avicenna?
###assistant: SELECT country_territory FROM table_name_15 WHERE imed_avicenna_listed = "both" AND established = 1969 |
###context:CREATE TABLE table_name_86 (established INTEGER, country_territory VARCHAR)
###human: What is the average year that the medical school in dominican republic was established?
###assistant: SELECT AVG(established) FROM table_name_86 WHERE country_territory = "dominican republic" |
###context:CREATE TABLE table_name_99 (wins INTEGER, against VARCHAR, byes VARCHAR)
###human: What are the most wins with byes more than 0 and 1637 against?
###assistant: SELECT MAX(wins) FROM table_name_99 WHERE against = 1637 AND byes > 0 |
###context:CREATE TABLE table_name_78 (byes VARCHAR, against VARCHAR, losses VARCHAR, sunrayia_fl VARCHAR)
###human: What are the total byes for the Red Cliffs with more than 4 losses and more than 2422 against?
###assistant: SELECT COUNT(byes) FROM table_name_78 WHERE losses > 4 AND sunrayia_fl = "red cliffs" AND against > 2422 |
###context:CREATE TABLE table_name_45 (wins VARCHAR, sunrayia_fl VARCHAR, byes VARCHAR)
###human: What's the total wins for Wentworth with less than 0 byes?
###assistant: SELECT COUNT(wins) FROM table_name_45 WHERE sunrayia_fl = "wentworth" AND byes < 0 |
###context:CREATE TABLE table_name_40 (venue VARCHAR, opponent VARCHAR, result VARCHAR)
###human: Which venue had an opponent of Sunderland and a result of a 1-1 draw?
###assistant: SELECT venue FROM table_name_40 WHERE opponent = "sunderland" AND result = "1-1" |
###context:CREATE TABLE table_name_2 (attendance VARCHAR, opponent VARCHAR, result VARCHAR)
###human: What is the number of attendance values for ties having an opponent of Middlesbrough and result of 3-1?
###assistant: SELECT COUNT(attendance) FROM table_name_2 WHERE opponent = "middlesbrough" AND result = "3-1" |
###context:CREATE TABLE table_name_35 (venue VARCHAR, result VARCHAR)
###human: Which venue ended in a 3-0 result?
###assistant: SELECT venue FROM table_name_35 WHERE result = "3-0" |
###context:CREATE TABLE table_name_7 (venue VARCHAR, result VARCHAR)
###human: Where was a 0-5 game played?
###assistant: SELECT venue FROM table_name_7 WHERE result = "0-5" |
###context:CREATE TABLE table_name_38 (rank INTEGER, matches INTEGER)
###human: What is the average rank of a player with fewer than 3 matches?
###assistant: SELECT AVG(rank) FROM table_name_38 WHERE matches < 3 |
###context:CREATE TABLE table_name_24 (opponent VARCHAR, date VARCHAR)
###human: Who was the opponent on April 21?
###assistant: SELECT opponent FROM table_name_24 WHERE date = "april 21" |
###context:CREATE TABLE table_name_25 (record VARCHAR, location_attendance VARCHAR, date VARCHAR)
###human: What's the record on April 12 when the location was The Omni?
###assistant: SELECT record FROM table_name_25 WHERE location_attendance = "the omni" AND date = "april 12" |
###context:CREATE TABLE table_name_91 (date VARCHAR)
###human: What date was the score "score"?
###assistant: SELECT date FROM table_name_91 WHERE "score" = "score" |
###context:CREATE TABLE table_name_20 (score VARCHAR, game VARCHAR)
###human: What's the score of game 77?
###assistant: SELECT score FROM table_name_20 WHERE game = "77" |
###context:CREATE TABLE table_name_17 (date VARCHAR, record VARCHAR)
###human: What date had a record of 43-34?
###assistant: SELECT date FROM table_name_17 WHERE record = "43-34" |
###context:CREATE TABLE table_name_5 (artist VARCHAR, percentage VARCHAR)
###human: What Artist had a Percentage of 17.14%?
###assistant: SELECT artist FROM table_name_5 WHERE percentage = "17.14%" |
###context:CREATE TABLE table_name_73 (percentage VARCHAR, place VARCHAR)
###human: What Percentage has a Place of 5?
###assistant: SELECT percentage FROM table_name_73 WHERE place = 5 |
###context:CREATE TABLE table_name_5 (br_number VARCHAR, lms_number INTEGER)
###human: Which BR number has an LMS number over 14768?
###assistant: SELECT br_number FROM table_name_5 WHERE lms_number > 14768 |
###context:CREATE TABLE table_name_42 (frequency VARCHAR, city_of_license VARCHAR)
###human: what is the frequency when the city of license is belleville?
###assistant: SELECT frequency FROM table_name_42 WHERE city_of_license = "belleville" |
###context:CREATE TABLE table_name_17 (class VARCHAR, power VARCHAR)
###human: what is the class when the power is 22500 watts?
###assistant: SELECT class FROM table_name_17 WHERE power = "22500 watts" |
###context:CREATE TABLE table_name_60 (class VARCHAR, identifier VARCHAR)
###human: what is the class when the identifier is cjbc-1-fm?
###assistant: SELECT class FROM table_name_60 WHERE identifier = "cjbc-1-fm" |
###context:CREATE TABLE table_name_68 (recnet VARCHAR, city_of_license VARCHAR)
###human: what is the recnet when the city of license is peterborough?
###assistant: SELECT recnet FROM table_name_68 WHERE city_of_license = "peterborough" |
###context:CREATE TABLE table_name_71 (power VARCHAR, city_of_license VARCHAR)
###human: what is the power when the city of license is belleville?
###assistant: SELECT power FROM table_name_71 WHERE city_of_license = "belleville" |
###context:CREATE TABLE table_name_17 (identifier VARCHAR, power VARCHAR)
###human: what is the identifier when the power is 22500 watts?
###assistant: SELECT identifier FROM table_name_17 WHERE power = "22500 watts" |
###context:CREATE TABLE table_name_80 (opponents INTEGER, date VARCHAR)
###human: What is the Opponents in the game with a Date of nov. 25?
###assistant: SELECT MIN(opponents) FROM table_name_80 WHERE date = "nov. 25" |
###context:CREATE TABLE table_name_96 (games VARCHAR, name VARCHAR)
###human: How many games does leandro love have?
###assistant: SELECT games FROM table_name_96 WHERE name = "leandro love" |
###context:CREATE TABLE table_name_84 (goals INTEGER, assists VARCHAR, years VARCHAR, name VARCHAR)
###human: What is the lowest number of goals joe keenan, who has more than 1 assists, had in 2007/08?
###assistant: SELECT MIN(goals) FROM table_name_84 WHERE years = "2007/08" AND name = "joe keenan" AND assists > 1 |
###context:CREATE TABLE table_name_37 (goals INTEGER, games VARCHAR, assists VARCHAR)
###human: What is the lowest number of goals of the player with 9 (0) games and less than 0 assists?
###assistant: SELECT MIN(goals) FROM table_name_37 WHERE games = "9 (0)" AND assists < 0 |
###context:CREATE TABLE table_name_14 (finals VARCHAR, goals VARCHAR, assists VARCHAR)
###human: How many finals had more than 0 goals and 8 assists?
###assistant: SELECT finals FROM table_name_14 WHERE goals > 0 AND assists = 8 |
###context:CREATE TABLE table_name_6 (rank INTEGER, heat VARCHAR, nationality VARCHAR, time VARCHAR)
###human: When the nationality is united states, and the time is 58.06, and the heat is larger than 5 what is the lowest rank?
###assistant: SELECT MIN(rank) FROM table_name_6 WHERE nationality = "united states" AND time = "58.06" AND heat > 5 |
###context:CREATE TABLE table_name_67 (rank INTEGER, nationality VARCHAR, lane VARCHAR, heat VARCHAR)
###human: What is the highest rank when the lane is larger than 6, and the heat is 3, and the nationality is colombia?
###assistant: SELECT MAX(rank) FROM table_name_67 WHERE lane > 6 AND heat = 3 AND nationality = "colombia" |
###context:CREATE TABLE table_name_16 (lane VARCHAR, heat INTEGER)
###human: What is the total lane for a heat larger than 7?
###assistant: SELECT COUNT(lane) FROM table_name_16 WHERE heat > 7 |
###context:CREATE TABLE table_name_22 (heat INTEGER, nationality VARCHAR, lane VARCHAR)
###human: What is the highest heat when the nationality is poland, and the lane is smaller than 6?
###assistant: SELECT MAX(heat) FROM table_name_22 WHERE nationality = "poland" AND lane < 6 |
###context:CREATE TABLE table_name_28 (lead_pitch_mm INTEGER, body_width_mm INTEGER)
###human: Which Lead Pitch/mm has a Body Width/mm larger than 10.16?
###assistant: SELECT SUM(lead_pitch_mm) FROM table_name_28 WHERE body_width_mm > 10.16 |
###context:CREATE TABLE table_name_66 (body_width_mm INTEGER, part_number VARCHAR, body_length_mm VARCHAR)
###human: How much Body Width/mm has a Part Number of tsop40/44, and a Body Length/mm smaller than 18.42?
###assistant: SELECT SUM(body_width_mm) FROM table_name_66 WHERE part_number = "tsop40/44" AND body_length_mm < 18.42 |
###context:CREATE TABLE table_name_13 (lead_pitch_mm INTEGER, part_number VARCHAR)
###human: Which Lead Pitch/mm has a Part Number of tsop24/28?
###assistant: SELECT MAX(lead_pitch_mm) FROM table_name_13 WHERE part_number = "tsop24/28" |
###context:CREATE TABLE table_name_40 (silver INTEGER, gold VARCHAR, bronze VARCHAR)
###human: What is the highest amount of silver when gold is 1 and bronze larger than 0?
###assistant: SELECT MAX(silver) FROM table_name_40 WHERE gold = 1 AND bronze > 0 |
###context:CREATE TABLE table_name_48 (time INTEGER, reaction_time VARCHAR)
###human: What is the Time of the Athlete with a Reaction time of 0.164?
###assistant: SELECT SUM(time) FROM table_name_48 WHERE reaction_time = 0.164 |
###context:CREATE TABLE table_name_34 (time VARCHAR, lane VARCHAR)
###human: What is the Time of the Athlete in Lane 4?
###assistant: SELECT COUNT(time) FROM table_name_34 WHERE lane = 4 |
###context:CREATE TABLE table_name_82 (lane INTEGER, nationality VARCHAR, reaction_time VARCHAR, time VARCHAR)
###human: What is the Lane of the Athlete from Great Britain with a Reaction time of less than 0.218 and a Time larger than 44.74?
###assistant: SELECT SUM(lane) FROM table_name_82 WHERE reaction_time < 0.218 AND time > 44.74 AND nationality = "great britain" |
###context:CREATE TABLE table_name_29 (tv_time VARCHAR, week VARCHAR)
###human: What is the time in week 3?
###assistant: SELECT tv_time FROM table_name_29 WHERE week = 3 |
###context:CREATE TABLE table_name_61 (week INTEGER, attendance VARCHAR)
###human: What is the week with attendance of 73,572?
###assistant: SELECT MAX(week) FROM table_name_61 WHERE attendance = "73,572" |
###context:CREATE TABLE table_name_94 (week VARCHAR, opponent VARCHAR)
###human: What week was the opponent the San Diego Chargers?
###assistant: SELECT COUNT(week) FROM table_name_94 WHERE opponent = "san diego chargers" |
###context:CREATE TABLE table_name_63 (week INTEGER, result VARCHAR)
###human: What week was the result of l 38–21?
###assistant: SELECT MAX(week) FROM table_name_63 WHERE result = "l 38–21" |
###context:CREATE TABLE table_name_60 (rank INTEGER, county VARCHAR, total VARCHAR)
###human: What's the total of Rank for the County of Galway and has a Total that's larger than 13?
###assistant: SELECT SUM(rank) FROM table_name_60 WHERE county = "galway" AND total > 13 |
###context:CREATE TABLE table_name_53 (county VARCHAR, opposition VARCHAR, player VARCHAR)
###human: What County has an Opposition of Antrim and the Player Bernie Forde?
###assistant: SELECT county FROM table_name_53 WHERE opposition = "antrim" AND player = "bernie forde" |
###context:CREATE TABLE table_name_49 (rank INTEGER, total VARCHAR, county VARCHAR, player VARCHAR)
###human: What's the highest Rank for the County of Offaly, the Player of Mark Corrigan, and the Total that is smaller than 8?
###assistant: SELECT MAX(rank) FROM table_name_49 WHERE county = "offaly" AND player = "mark corrigan" AND total < 8 |
###context:CREATE TABLE table_name_41 (channel VARCHAR, opponent VARCHAR)
###human: Which Channel has an Opponent of washington redskins?
###assistant: SELECT channel FROM table_name_41 WHERE opponent = "washington redskins" |
###context:CREATE TABLE table_name_57 (attendance VARCHAR, channel VARCHAR, date VARCHAR)
###human: Which attendance has a Channel of espn, and a Date of september 5, 2002?
###assistant: SELECT attendance FROM table_name_57 WHERE channel = "espn" AND date = "september 5, 2002" |
###context:CREATE TABLE table_name_30 (date VARCHAR, result VARCHAR)
###human: Which Date has a Result of w 27–20?
###assistant: SELECT date FROM table_name_30 WHERE result = "w 27–20" |
###context:CREATE TABLE table_name_35 (week VARCHAR, attendance VARCHAR)
###human: Which Week has an Attendance of 63,447?
###assistant: SELECT week FROM table_name_35 WHERE attendance = "63,447" |
###context:CREATE TABLE table_name_79 (date VARCHAR, opponent VARCHAR, stadium VARCHAR, week VARCHAR)
###human: Which Date has a Stadium of giants stadium, and a Week smaller than 13, and an Opponent of seattle seahawks?
###assistant: SELECT date FROM table_name_79 WHERE stadium = "giants stadium" AND week < 13 AND opponent = "seattle seahawks" |
###context:CREATE TABLE table_name_79 (athlete VARCHAR, react VARCHAR)
###human: Who was the athlete with react of 0.185?
###assistant: SELECT athlete FROM table_name_79 WHERE react = 0.185 |
###context:CREATE TABLE table_name_90 (react INTEGER, rank VARCHAR, nationality VARCHAR, lane VARCHAR, time VARCHAR)
###human: What's the smallest react of Zimbabwe, ranked after 1 in a lane after 3 and a time less than 20.3?
###assistant: SELECT MIN(react) FROM table_name_90 WHERE lane > 3 AND time < 20.3 AND nationality = "zimbabwe" AND rank > 1 |
###context:CREATE TABLE table_name_77 (white__both_hispanic_and_non_hispanic_ VARCHAR, black__both_hispanic_and_non_hispanic_ VARCHAR, hispanic__of_any_race_ VARCHAR)
###human: What is the total number of white (Hispanic/Non-Hispanic) having a black (Hispanic/Non-Hispanic) of 9.9 and Hispanic under 99.5?
###assistant: SELECT COUNT(white__both_hispanic_and_non_hispanic_) FROM table_name_77 WHERE black__both_hispanic_and_non_hispanic_ = 9.9 AND hispanic__of_any_race_ < 99.5 |
###context:CREATE TABLE table_name_99 (black__both_hispanic_and_non_hispanic_ INTEGER, hispanic__of_any_race_ VARCHAR, white__both_hispanic_and_non_hispanic_ VARCHAR, multiracial__both_hispanic_and_non_hispanic_ VARCHAR)
###human: What is the average black value (Hispanic/Non-Hispanic) having a white (Hispanic/Non-Hispanic) under 61.9, Multiracial (Hispanic/Non-Hispanic) under 12.5 and Hispanic under 99.4?
###assistant: SELECT AVG(black__both_hispanic_and_non_hispanic_) FROM table_name_99 WHERE white__both_hispanic_and_non_hispanic_ < 61.9 AND multiracial__both_hispanic_and_non_hispanic_ < 12.5 AND hispanic__of_any_race_ < 99.4 |
###context:CREATE TABLE table_name_67 (amerindian__both_hispanic_and_non_hispanic_ INTEGER, black__both_hispanic_and_non_hispanic_ VARCHAR, white__both_hispanic_and_non_hispanic_ VARCHAR)
###human: What is the highest Amerindian (Hispanic/Non-Hispanic) value having a Black (Hispanic/Non-Hispanic) of 15.7 and White (Hispanic/Non-Hispanic) over 69.5?
###assistant: SELECT MAX(amerindian__both_hispanic_and_non_hispanic_) FROM table_name_67 WHERE black__both_hispanic_and_non_hispanic_ = 15.7 AND white__both_hispanic_and_non_hispanic_ > 69.5 |
###context:CREATE TABLE table_name_63 (black__both_hispanic_and_non_hispanic_ VARCHAR, municipality__2010_ VARCHAR, amerindian__both_hispanic_and_non_hispanic_ VARCHAR, white__both_hispanic_and_non_hispanic_ VARCHAR, n_asia__both_hispanic_and_non_hispanic_ VARCHAR)
###human: What is the Black (Hispanic/Non-Hispanic) value having a white (Hispanic/Non-Hispanic) under 80.6, Asian (Hispanic/Non-Hispanic) of 0.1, Amerindian (Hispanic/Non-Hispanic) under 0.6000000000000001, and municipality of Vega Baja?
###assistant: SELECT black__both_hispanic_and_non_hispanic_ FROM table_name_63 WHERE white__both_hispanic_and_non_hispanic_ < 80.6 AND n_asia__both_hispanic_and_non_hispanic_ = 0.1 AND amerindian__both_hispanic_and_non_hispanic_ < 0.6000000000000001 AND municipality__2010_ = "vega baja" |
###context:CREATE TABLE table_name_81 (season VARCHAR, div VARCHAR, pos VARCHAR, pld VARCHAR)
###human: What season had 3rd position, a 36 pld, and a bbl div?
###assistant: SELECT season FROM table_name_81 WHERE pos = "3rd" AND pld = "36" AND div = "bbl" |
###context:CREATE TABLE table_name_87 (season VARCHAR, pos VARCHAR, pld VARCHAR, div VARCHAR)
###human: What season has 36 pld, a bbl div, and 6th position?
###assistant: SELECT season FROM table_name_87 WHERE pld = "36" AND div = "bbl" AND pos = "6th" |
###context:CREATE TABLE table_name_40 (season VARCHAR, pos VARCHAR, pts VARCHAR)
###human: What season had 6th position and 36 points?
###assistant: SELECT season FROM table_name_40 WHERE pos = "6th" AND pts = "36" |
###context:CREATE TABLE table_name_21 (season VARCHAR, pts VARCHAR, pos VARCHAR, pld VARCHAR)
###human: What season had 1st position, 33 pld, and 58 points?
###assistant: SELECT season FROM table_name_21 WHERE pos = "1st" AND pld = "33" AND pts = "58" |
###context:CREATE TABLE table_name_21 (school VARCHAR, mascot VARCHAR)
###human: Which School has a Mascot of generals?
###assistant: SELECT school FROM table_name_21 WHERE mascot = "generals" |
###context:CREATE TABLE table_name_76 (school VARCHAR, ihsaa_class VARCHAR, mascot VARCHAR)
###human: Which School has an IHSAA Class of aaa, and a Mascot of saints?
###assistant: SELECT school FROM table_name_76 WHERE ihsaa_class = "aaa" AND mascot = "saints" |
###context:CREATE TABLE table_name_48 (enrollment INTEGER, location VARCHAR, mascot VARCHAR)
###human: What is the highest enrollment in Lagrange where the mascot is panthers?
###assistant: SELECT MAX(enrollment) FROM table_name_48 WHERE location = "lagrange" AND mascot = "panthers" |
###context:CREATE TABLE table_name_3 (enrollment INTEGER, school VARCHAR)
###human: What is the enrollment at the school of Hamilton community?
###assistant: SELECT AVG(enrollment) FROM table_name_3 WHERE school = "hamilton community" |
###context:CREATE TABLE table_name_62 (school VARCHAR, ihsaa_class VARCHAR, location VARCHAR)
###human: What school that has a IHSAA Class of AA, in Butler?
###assistant: SELECT school FROM table_name_62 WHERE ihsaa_class = "aa" AND location = "butler" |
###context:CREATE TABLE table_name_62 (mascot VARCHAR, school VARCHAR)
###human: What is the mascot at Hamilton Community?
###assistant: SELECT mascot FROM table_name_62 WHERE school = "hamilton community" |
###context:CREATE TABLE table_name_80 (school VARCHAR, location VARCHAR, ihsaa_class VARCHAR)
###human: What school is in Lagrange, with an IHSAA Class of aaa?
###assistant: SELECT school FROM table_name_80 WHERE location = "lagrange" AND ihsaa_class = "aaa" |
###context:CREATE TABLE table_name_11 (school VARCHAR, location VARCHAR)
###human: What school is in Ligonier?
###assistant: SELECT school FROM table_name_11 WHERE location = "ligonier" |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.