training_input
stringlengths
118
1.06k
###context:CREATE TABLE table_name_72 (opponent VARCHAR, player VARCHAR, event VARCHAR) ###human: Who was the opponent in the 2011 event with less than 113 players? ###assistant: SELECT opponent FROM table_name_72 WHERE player < 113 AND event = 2011
###context:CREATE TABLE table_name_63 (player INTEGER, year VARCHAR, sets VARCHAR, aces VARCHAR) ###human: What is the highest number of players during 1r year with a clay set and more than 4 aces? ###assistant: SELECT MAX(player) FROM table_name_63 WHERE year = "1r" AND sets = "clay" AND NOT aces > 4
###context:CREATE TABLE table_name_73 (team_2 VARCHAR, team_1 VARCHAR) ###human: Who played as Team 2 against Team 1 SC Gagnoa? ###assistant: SELECT team_2 FROM table_name_73 WHERE team_1 = "sc gagnoa"
###context:CREATE TABLE table_name_6 (team_2 VARCHAR) ###human: What was the 1st leg score when Mufulira Wanderers played as Team 2? ###assistant: SELECT 1 AS st_leg FROM table_name_6 WHERE team_2 = "mufulira wanderers"
###context:CREATE TABLE table_name_8 (team_1 VARCHAR) ###human: What's the score of the 1st leg when Water Corporation was Team 1? ###assistant: SELECT 1 AS st_leg FROM table_name_8 WHERE team_1 = "water corporation"
###context:CREATE TABLE table_name_1 (team_1 VARCHAR) ###human: What's the 1st leg score when Team 1 was Gor Mahia? ###assistant: SELECT 1 AS st_leg FROM table_name_1 WHERE team_1 = "gor mahia"
###context:CREATE TABLE table_name_8 (team_1 VARCHAR, team_2 VARCHAR) ###human: Who played as Team 1 against Lomé i? ###assistant: SELECT team_1 FROM table_name_8 WHERE team_2 = "lomé i"
###context:CREATE TABLE table_name_39 (entrant VARCHAR, year VARCHAR) ###human: Name the entrant for year of 1952 ###assistant: SELECT entrant FROM table_name_39 WHERE year = 1952
###context:CREATE TABLE table_name_89 (points VARCHAR, year VARCHAR) ###human: Name the total number of points for 1952 ###assistant: SELECT COUNT(points) FROM table_name_89 WHERE year = 1952
###context:CREATE TABLE table_name_52 (year VARCHAR, chassis VARCHAR, points VARCHAR) ###human: Name the total number of years for talbot-lago t26c and points less than 3 ###assistant: SELECT COUNT(year) FROM table_name_52 WHERE chassis = "talbot-lago t26c" AND points < 3
###context:CREATE TABLE table_name_15 (first_aired VARCHAR, entrepreneur_s_ VARCHAR) ###human: What episode featured entrepreneur Richard Ernest? ###assistant: SELECT first_aired FROM table_name_15 WHERE entrepreneur_s_ = "richard ernest"
###context:CREATE TABLE table_name_87 (investing_dragon_s_ VARCHAR, money_requested__£_ VARCHAR) ###human: What Investing Dragons had a request of £100,000? ###assistant: SELECT investing_dragon_s_ FROM table_name_87 WHERE money_requested__£_ = "100,000"
###context:CREATE TABLE table_name_27 (entrepreneur_s_ VARCHAR, money_requested__£_ VARCHAR) ###human: What Entrepreneurs requested £60,000? ###assistant: SELECT entrepreneur_s_ FROM table_name_27 WHERE money_requested__£_ = "60,000"
###context:CREATE TABLE table_name_92 (money_requested__£_ VARCHAR, investing_dragon_s_ VARCHAR, episode VARCHAR) ###human: How much was requested from Investing Dragon Peter Jones request in episode 2? ###assistant: SELECT money_requested__£_ FROM table_name_92 WHERE investing_dragon_s_ = "peter jones" AND episode = "episode 2"
###context:CREATE TABLE table_name_5 (investing_dragon_s_ VARCHAR, company_or_product_name VARCHAR) ###human: Name the investing dragon for razzamataz ###assistant: SELECT investing_dragon_s_ FROM table_name_5 WHERE company_or_product_name = "razzamataz"
###context:CREATE TABLE table_name_86 (first_aired VARCHAR, money_requested__£_ INTEGER) ###human: Name the first aired with money requested more than 85,000 ###assistant: SELECT first_aired FROM table_name_86 WHERE money_requested__£_ > 85 OFFSET 000
###context:CREATE TABLE table_name_36 (competition VARCHAR, result VARCHAR, score VARCHAR) ###human: What is the competition type of the event with a result of 3-2 and a score of 2-1? ###assistant: SELECT competition FROM table_name_36 WHERE result = "3-2" AND score = "2-1"
###context:CREATE TABLE table_name_3 (date VARCHAR, competition VARCHAR, score VARCHAR) ###human: Which date has a competition type of friendly and a score of 2-1? ###assistant: SELECT date FROM table_name_3 WHERE competition = "friendly" AND score = "2-1"
###context:CREATE TABLE table_name_94 (score VARCHAR, competition VARCHAR, result VARCHAR) ###human: What is the score of the event with a competition type of friendly and a result of 4-5? ###assistant: SELECT score FROM table_name_94 WHERE competition = "friendly" AND result = "4-5"
###context:CREATE TABLE table_name_6 (date VARCHAR, score VARCHAR) ###human: Which date has a score of 2-1? ###assistant: SELECT date FROM table_name_6 WHERE score = "2-1"
###context:CREATE TABLE table_name_81 (date VARCHAR, competition VARCHAR) ###human: Which date has a competition type of British home championship? ###assistant: SELECT date FROM table_name_81 WHERE competition = "british home championship"
###context:CREATE TABLE table_name_76 (date VARCHAR, circuit VARCHAR) ###human: what date was mallala motor sport park the circuit? ###assistant: SELECT date FROM table_name_76 WHERE circuit = "mallala motor sport park"
###context:CREATE TABLE table_name_38 (date VARCHAR, team VARCHAR, circuit VARCHAR) ###human: what date did the m3 motorsport team compete at winton motor raceway? ###assistant: SELECT date FROM table_name_38 WHERE team = "m3 motorsport" AND circuit = "winton motor raceway"
###context:CREATE TABLE table_name_34 (agg VARCHAR, team_2 VARCHAR) ###human: Name the agg for team 2 of asl sport guyanais. ###assistant: SELECT agg FROM table_name_34 WHERE team_2 = "asl sport guyanais"
###context:CREATE TABLE table_name_12 (agg VARCHAR, team_1 VARCHAR) ###human: Name the agg for seba united ###assistant: SELECT agg FROM table_name_12 WHERE team_1 = "seba united"
###context:CREATE TABLE table_name_61 (team_2 VARCHAR) ###human: Name the 2nd leg for defence force ###assistant: SELECT 2 AS nd_leg FROM table_name_61 WHERE team_2 = "defence force"
###context:CREATE TABLE table_name_67 (country VARCHAR, season VARCHAR, team VARCHAR) ###human: Which country does FC Atyrau represent after the 2006 season? ###assistant: SELECT country FROM table_name_67 WHERE season > 2006 AND team = "fc atyrau"
###context:CREATE TABLE table_name_72 (season INTEGER, apps VARCHAR, country VARCHAR, team VARCHAR) ###human: In which season did Fc Pakhtakor Tashkent represent the country of Uzbekistan with more than 6 apps? ###assistant: SELECT MAX(season) FROM table_name_72 WHERE country = "uzbekistan" AND team = "fc pakhtakor tashkent" AND apps > 6
###context:CREATE TABLE table_name_89 (season VARCHAR, goals VARCHAR, apps VARCHAR) ###human: How many seasons have 1 goals and more than 11 apps? ###assistant: SELECT COUNT(season) FROM table_name_89 WHERE goals = 1 AND apps > 11
###context:CREATE TABLE table_name_44 (attendance INTEGER, record VARCHAR) ###human: What game that had a record of 39-44 had the lowest attendance? ###assistant: SELECT MIN(attendance) FROM table_name_44 WHERE record = "39-44"
###context:CREATE TABLE table_name_7 (opponent VARCHAR, loss VARCHAR) ###human: Who was the opponent at the game that had a loss of Saarloos (7-7)? ###assistant: SELECT opponent FROM table_name_7 WHERE loss = "saarloos (7-7)"
###context:CREATE TABLE table_name_71 (score VARCHAR, record VARCHAR) ###human: What was the score of the game with a record of 81-60? ###assistant: SELECT score FROM table_name_71 WHERE record = "81-60"
###context:CREATE TABLE table_name_29 (attendance INTEGER, score VARCHAR, loss VARCHAR) ###human: What was the lowest attendance at a game that had a score of 5-4 and a loss of Williams (2-4)? ###assistant: SELECT MIN(attendance) FROM table_name_29 WHERE score = "5-4" AND loss = "williams (2-4)"
###context:CREATE TABLE table_name_96 (year VARCHAR, place VARCHAR, played VARCHAR) ###human: What year did the 11th place play 26 games? ###assistant: SELECT year FROM table_name_96 WHERE place = "11th" AND played = 26
###context:CREATE TABLE table_name_24 (played VARCHAR, ga VARCHAR) ###human: What is the total played games of a 22 G.A.? ###assistant: SELECT COUNT(played) FROM table_name_24 WHERE ga = "22"
###context:CREATE TABLE table_name_39 (winner VARCHAR, course VARCHAR) ###human: Name the winner for genoa to livorno ###assistant: SELECT winner FROM table_name_39 WHERE course = "genoa to livorno"
###context:CREATE TABLE table_name_80 (winner VARCHAR, date VARCHAR) ###human: Name the winner for 5 june ###assistant: SELECT winner FROM table_name_80 WHERE date = "5 june"
###context:CREATE TABLE table_name_97 (winner VARCHAR, race_leader VARCHAR) ###human: Name the winner for rest day race leader ###assistant: SELECT winner FROM table_name_97 WHERE race_leader = "rest day"
###context:CREATE TABLE table_name_22 (rank INTEGER, name VARCHAR, lane VARCHAR, nationality VARCHAR) ###human: Name the least rank for lane less than 5 for germany and sandra völker ###assistant: SELECT MIN(rank) FROM table_name_22 WHERE lane < 5 AND nationality = "germany" AND name = "sandra völker"
###context:CREATE TABLE table_name_69 (rank VARCHAR, lane VARCHAR) ###human: Name the total number of rank for lane 7 ###assistant: SELECT COUNT(rank) FROM table_name_69 WHERE lane = 7
###context:CREATE TABLE table_name_71 (time INTEGER, name VARCHAR, rank VARCHAR) ###human: Name the most time for katrin meißner and rank less than 5 ###assistant: SELECT MAX(time) FROM table_name_71 WHERE name = "katrin meißner" AND rank < 5
###context:CREATE TABLE table_name_2 (name VARCHAR, time VARCHAR) ###human: Tell me the name for time of 25.74 ###assistant: SELECT name FROM table_name_2 WHERE time = 25.74
###context:CREATE TABLE table_name_50 (signed VARCHAR, school VARCHAR) ###human: Was the University of Southern California Signed? ###assistant: SELECT signed FROM table_name_50 WHERE school = "university of southern california"
###context:CREATE TABLE table_name_13 (signed VARCHAR, school VARCHAR) ###human: Was the University of Michigan Signed? ###assistant: SELECT signed FROM table_name_13 WHERE school = "university of michigan"
###context:CREATE TABLE table_name_92 (round INTEGER, school VARCHAR) ###human: What is the University of Southern California's highest Round? ###assistant: SELECT MAX(round) FROM table_name_92 WHERE school = "university of southern california"
###context:CREATE TABLE table_name_89 (home_captain VARCHAR, venue VARCHAR) ###human: Who was the home captain at Sabina Park? ###assistant: SELECT home_captain FROM table_name_89 WHERE venue = "sabina park"
###context:CREATE TABLE table_name_30 (result VARCHAR, venue VARCHAR) ###human: What was the result of the game hosted at Queen's Park Oval? ###assistant: SELECT result FROM table_name_30 WHERE venue = "queen's park oval"
###context:CREATE TABLE table_name_98 (genre VARCHAR, release_year_of_first_charted_record VARCHAR) ###human: Name the genre for release-year of first charted record of 1988 ###assistant: SELECT genre FROM table_name_98 WHERE release_year_of_first_charted_record = 1988
###context:CREATE TABLE table_name_96 (loss VARCHAR, record VARCHAR) ###human: What was the loss of the game with a record of 77-65? ###assistant: SELECT loss FROM table_name_96 WHERE record = "77-65"
###context:CREATE TABLE table_name_29 (loss VARCHAR, record VARCHAR) ###human: What was the loss of the game with a record of 84-71? ###assistant: SELECT loss FROM table_name_29 WHERE record = "84-71"
###context:CREATE TABLE table_name_11 (date VARCHAR, record VARCHAR) ###human: What date was the record 34-41? ###assistant: SELECT date FROM table_name_11 WHERE record = "34-41"
###context:CREATE TABLE table_name_18 (type VARCHAR, course VARCHAR) ###human: What type had a course of Grosseto To Rieti? ###assistant: SELECT type FROM table_name_18 WHERE course = "grosseto to rieti"
###context:CREATE TABLE table_name_53 (season VARCHAR, league VARCHAR, assists VARCHAR) ###human: In what Season were there 86 Assists in the WCJHL League? ###assistant: SELECT season FROM table_name_53 WHERE league = "wcjhl" AND assists = 86
###context:CREATE TABLE table_name_37 (assists INTEGER, league VARCHAR, goals VARCHAR) ###human: In the WCHL League, what is the last Assists with less than 65 Goals? ###assistant: SELECT MIN(assists) FROM table_name_37 WHERE league = "wchl" AND goals < 65
###context:CREATE TABLE table_name_53 (points INTEGER, assists VARCHAR) ###human: What are the most Points with an Assist of 46? ###assistant: SELECT MAX(points) FROM table_name_53 WHERE assists = 46
###context:CREATE TABLE table_name_2 (compound_name VARCHAR, colour VARCHAR) ###human: What compound is yellow? ###assistant: SELECT compound_name FROM table_name_2 WHERE colour = "yellow"
###context:CREATE TABLE table_name_31 (colour VARCHAR, compound_name VARCHAR) ###human: What color is the super-soft compound? ###assistant: SELECT colour FROM table_name_31 WHERE compound_name = "super-soft"
###context:CREATE TABLE table_name_26 (tickets_sold___available VARCHAR, gross_revenue__1979_ VARCHAR) ###human: Which venue has Tickets Sold/ Available with a Gross Revenue (1979) of $665,232? ###assistant: SELECT tickets_sold___available FROM table_name_26 WHERE gross_revenue__1979_ = "$665,232"
###context:CREATE TABLE table_name_83 (gross_revenue__1979_ VARCHAR, venue VARCHAR) ###human: What is the Gross Revenue (1979) of the Venue, lyceum theatre? ###assistant: SELECT gross_revenue__1979_ FROM table_name_83 WHERE venue = "lyceum theatre"
###context:CREATE TABLE table_name_44 (tickets_sold___available VARCHAR, venue VARCHAR) ###human: What is the amount of Tickets Sold/ Available at the Venue of hippodrome? ###assistant: SELECT tickets_sold___available FROM table_name_44 WHERE venue = "hippodrome"
###context:CREATE TABLE table_name_41 (venue VARCHAR, gross_revenue__2012_ VARCHAR) ###human: Which Venue has a Gross Revenue (2012) of $179,712? ###assistant: SELECT venue FROM table_name_41 WHERE gross_revenue__2012_ = "$179,712"
###context:CREATE TABLE table_name_21 (venue VARCHAR, tickets_sold___available VARCHAR) ###human: Which Venue has an amount of Tickets Sold/ Available of 4,700 / 4,700 (100%)? ###assistant: SELECT venue FROM table_name_21 WHERE tickets_sold___available = "4,700 / 4,700 (100%)"
###context:CREATE TABLE table_name_32 (date VARCHAR, loss VARCHAR) ###human: What was the date of the game that had a loss of Willis (0–1)? ###assistant: SELECT date FROM table_name_32 WHERE loss = "willis (0–1)"
###context:CREATE TABLE table_name_9 (opponent VARCHAR, loss VARCHAR) ###human: What was the opponent at the game that had a loss of Travers (0–2)? ###assistant: SELECT opponent FROM table_name_9 WHERE loss = "travers (0–2)"
###context:CREATE TABLE table_name_46 (loss VARCHAR, record VARCHAR) ###human: What was the Loss when the Record was 50-54? ###assistant: SELECT loss FROM table_name_46 WHERE record = "50-54"
###context:CREATE TABLE table_name_35 (opponent VARCHAR, loss VARCHAR) ###human: Who was the opponent when the loss was Wells (4-7)? ###assistant: SELECT opponent FROM table_name_35 WHERE loss = "wells (4-7)"
###context:CREATE TABLE table_name_62 (shoots VARCHAR, player VARCHAR) ###human: What shows for shoots for craig peacock a? ###assistant: SELECT shoots FROM table_name_62 WHERE player = "craig peacock a"
###context:CREATE TABLE table_name_73 (acquired INTEGER, number VARCHAR) ###human: What is the average Acquired when the Number shows as 7? ###assistant: SELECT AVG(acquired) FROM table_name_73 WHERE number = 7
###context:CREATE TABLE table_name_87 (total INTEGER) ###human: What is the total of 2013 with 6th? ###assistant: SELECT MAX(total) FROM table_name_87 WHERE 2013 = "6th"
###context:CREATE TABLE table_name_45 (total VARCHAR) ###human: Which 2009 year has a total of 1, and 2004 year of 7th? ###assistant: SELECT 2009 FROM table_name_45 WHERE total = 1 AND 2004 = "7th"
###context:CREATE TABLE table_name_78 (total VARCHAR) ###human: What is the year 2013 with a total of 5, and 5th in 2009? ###assistant: SELECT 2013 FROM table_name_78 WHERE total = 5 AND 2009 = "5th"
###context:CREATE TABLE table_name_26 (total VARCHAR) ###human: What is the year 2001 with a total larger than 1, and 2009 with 8? ###assistant: SELECT 2001 FROM table_name_26 WHERE total > 1 AND 2009 = "8"
###context:CREATE TABLE table_name_34 (opponent VARCHAR, record VARCHAR) ###human: What opponents have a record of 90-70? ###assistant: SELECT opponent FROM table_name_34 WHERE record = "90-70"
###context:CREATE TABLE table_name_45 (date VARCHAR, attendance INTEGER) ###human: What game had more than 50,324 in attendance? ###assistant: SELECT date FROM table_name_45 WHERE attendance > 50 OFFSET 324
###context:CREATE TABLE table_name_76 (start VARCHAR, engine VARCHAR, year VARCHAR) ###human: What is the start of Offy engine and in 1972? ###assistant: SELECT start FROM table_name_76 WHERE engine = "offy" AND year = 1972
###context:CREATE TABLE table_name_12 (chassis VARCHAR, engine VARCHAR, finish VARCHAR) ###human: What is the chassis for offy engine and 25th finish? ###assistant: SELECT chassis FROM table_name_12 WHERE engine = "offy" AND finish = "25th"
###context:CREATE TABLE table_name_7 (finish VARCHAR, chassis VARCHAR) ###human: What is the finish of Mclaren chassis? ###assistant: SELECT finish FROM table_name_7 WHERE chassis = "mclaren"
###context:CREATE TABLE table_name_83 (wrestlers VARCHAR, days_held VARCHAR) ###human: Name the wrestlers with days held of 428 ###assistant: SELECT wrestlers FROM table_name_83 WHERE days_held = "428"
###context:CREATE TABLE table_name_58 (wrestlers VARCHAR, days_held VARCHAR) ###human: Name the wrestlers for days held of 69 ###assistant: SELECT wrestlers FROM table_name_58 WHERE days_held = "69"
###context:CREATE TABLE table_name_51 (opponent VARCHAR, score VARCHAR, tournament VARCHAR, surface VARCHAR, outcome VARCHAR) ###human: Which opponent has a Surface of clay, an Outcome of winner, a Tournament of bogotá, and a Score of 6–0, 6–4? ###assistant: SELECT opponent FROM table_name_51 WHERE surface = "clay" AND outcome = "winner" AND tournament = "bogotá" AND score = "6–0, 6–4"
###context:CREATE TABLE table_name_7 (opponent VARCHAR, score VARCHAR) ###human: Which opponent has a Score of 6–4, 3–6, 6–3? ###assistant: SELECT opponent FROM table_name_7 WHERE score = "6–4, 3–6, 6–3"
###context:CREATE TABLE table_name_21 (score VARCHAR, date VARCHAR) ###human: What is the score for 04 september 2006? ###assistant: SELECT score FROM table_name_21 WHERE date = "04 september 2006"
###context:CREATE TABLE table_name_40 (tournament VARCHAR, score VARCHAR) ###human: Which Tournament has a Score of 4-6 6-2 6-1? ###assistant: SELECT tournament FROM table_name_40 WHERE score = "4-6 6-2 6-1"
###context:CREATE TABLE table_name_50 (outcome VARCHAR, surface VARCHAR, score VARCHAR) ###human: Which outcome has a Surface of clay and a Score of 4–6, 7–5, 2–6? ###assistant: SELECT outcome FROM table_name_50 WHERE surface = "clay" AND score = "4–6, 7–5, 2–6"
###context:CREATE TABLE table_name_15 (date VARCHAR, tournament VARCHAR) ###human: What date was versmold? ###assistant: SELECT date FROM table_name_15 WHERE tournament = "versmold"
###context:CREATE TABLE table_name_17 (competition VARCHAR, opponents VARCHAR) ###human: Name the competition for motherwell opponents ###assistant: SELECT competition FROM table_name_17 WHERE opponents = "motherwell"
###context:CREATE TABLE table_name_82 (home_leg VARCHAR, opponents VARCHAR, competition VARCHAR, round VARCHAR) ###human: Name the home leg for uefa europa league and round of q1 with opponents of motherwell ###assistant: SELECT home_leg FROM table_name_82 WHERE competition = "uefa europa league" AND round = "q1" AND opponents = "motherwell"
###context:CREATE TABLE table_name_65 (aggregate VARCHAR, opponents VARCHAR) ###human: Name the aggregate with opponents of tauras ###assistant: SELECT aggregate FROM table_name_65 WHERE opponents = "tauras"
###context:CREATE TABLE table_name_16 (date VARCHAR, record VARCHAR) ###human: What date was 53-75 recorded? ###assistant: SELECT date FROM table_name_16 WHERE record = "53-75"
###context:CREATE TABLE table_name_42 (round INTEGER, overall VARCHAR) ###human: Overall of 62 is what average round? ###assistant: SELECT AVG(round) FROM table_name_42 WHERE overall = 62
###context:CREATE TABLE table_name_32 (overall INTEGER, college VARCHAR, pick__number VARCHAR) ###human: College of san diego state, and a Pick # smaller than 30 is what lowest overall? ###assistant: SELECT MIN(overall) FROM table_name_32 WHERE college = "san diego state" AND pick__number < 30
###context:CREATE TABLE table_name_46 (overall INTEGER, college VARCHAR, pick__number VARCHAR) ###human: College of san diego state, and a Pick # smaller than 30 has what lowest overall? ###assistant: SELECT MIN(overall) FROM table_name_46 WHERE college = "san diego state" AND pick__number < 30
###context:CREATE TABLE table_name_9 (city_of_license VARCHAR, station VARCHAR, network_affiliation VARCHAR, format VARCHAR) ###human: Which city of license has an independent network affiliation, a variety format and is station KKUP? ###assistant: SELECT city_of_license FROM table_name_9 WHERE network_affiliation = "independent" AND format = "variety" AND station = "kkup"
###context:CREATE TABLE table_name_60 (status VARCHAR, network_affiliation VARCHAR, station VARCHAR) ###human: What is the status of the independent station KPFB? ###assistant: SELECT status FROM table_name_60 WHERE network_affiliation = "independent" AND station = "kpfb"
###context:CREATE TABLE table_name_56 (city_of_license VARCHAR, status VARCHAR) ###human: Which city station is owned by Coyote Communications? ###assistant: SELECT city_of_license FROM table_name_56 WHERE status = "owned by coyote communications"
###context:CREATE TABLE table_name_10 (year INTEGER, competition VARCHAR) ###human: What year were the Olympic Games? ###assistant: SELECT SUM(year) FROM table_name_10 WHERE competition = "olympic games"
###context:CREATE TABLE table_name_92 (year INTEGER, position VARCHAR, venue VARCHAR) ###human: What's the year in 5th position that happened in Osaka, Japan? ###assistant: SELECT MIN(year) FROM table_name_92 WHERE position = "5th" AND venue = "osaka, japan"
###context:CREATE TABLE table_name_57 (year INTEGER, venue VARCHAR) ###human: What year was the venue in Barcelona, Spain? ###assistant: SELECT MIN(year) FROM table_name_57 WHERE venue = "barcelona, spain"
###context:CREATE TABLE table_name_10 (decile VARCHAR, authority VARCHAR, roll VARCHAR) ###human: For a school with authority of state and a roll of 798, what is the decile? ###assistant: SELECT decile FROM table_name_10 WHERE authority = "state" AND roll = 798
###context:CREATE TABLE table_name_6 (years VARCHAR, roll VARCHAR, area VARCHAR) ###human: Murupara has a roll greater than 296 for what years? ###assistant: SELECT years FROM table_name_6 WHERE roll > 296 AND area = "murupara"