question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
what is the part number(s) when the turbo is 9/11 and the frequency is 1.5 ghz?
CREATE TABLE table_name_52 (part_number_s_ VARCHAR, turbo VARCHAR, frequency VARCHAR)
SELECT part_number_s_ FROM table_name_52 WHERE turbo = "9/11" AND frequency = "1.5 ghz"
What was the time for the match that resulted in a loss in less than 3 rounds?
CREATE TABLE table_name_84 (time VARCHAR, res VARCHAR, round VARCHAR)
SELECT time FROM table_name_84 WHERE res = "loss" AND round < 3
Which Hometown/School has a Team of cleveland indians?
CREATE TABLE table_name_94 (hometown_school VARCHAR, team VARCHAR)
SELECT hometown_school FROM table_name_94 WHERE team = "cleveland indians"
Which Player has a Pick smaller than 11, and a Position of rhp, and a Team of new york mets?
CREATE TABLE table_name_6 (player VARCHAR, team VARCHAR, pick VARCHAR, position VARCHAR)
SELECT player FROM table_name_6 WHERE pick < 11 AND position = "rhp" AND team = "new york mets"
Which Hometown/School has a Team of atlanta braves?
CREATE TABLE table_name_74 (hometown_school VARCHAR, team VARCHAR)
SELECT hometown_school FROM table_name_74 WHERE team = "atlanta braves"
What's the most enrollment in Hamilton?
CREATE TABLE table_name_71 (enrollment INTEGER, location VARCHAR)
SELECT MAX(enrollment) FROM table_name_71 WHERE location = "hamilton"
What's the school that has an enrollment more than 441 with chargers as their mascot?
CREATE TABLE table_name_35 (school VARCHAR, enrollment VARCHAR, mascot VARCHAR)
SELECT school FROM table_name_35 WHERE enrollment > 441 AND mascot = "chargers"
What's the total enrollment in 57 Noble having a # and AA as the IHSAA Class?
CREATE TABLE table_name_95 (enrollment VARCHAR, _number___county VARCHAR, ihsaa_class VARCHAR)
SELECT COUNT(enrollment) FROM table_name_95 WHERE _number___county = "57 noble" AND ihsaa_class = "aa"
What year joined had an enrollment less than 438 and an AA as the IHSAA Class?
CREATE TABLE table_name_63 (year_joined VARCHAR, enrollment VARCHAR, ihsaa_class VARCHAR)
SELECT year_joined FROM table_name_63 WHERE enrollment < 438 AND ihsaa_class = "aa"
what is the branding when the call sign is ckua-fm-3?
CREATE TABLE table_name_33 (branding VARCHAR, call_sign VARCHAR)
SELECT branding FROM table_name_33 WHERE call_sign = "ckua-fm-3"
what is the format when the frequency is fm 94.5?
CREATE TABLE table_name_58 (format VARCHAR, frequency VARCHAR)
SELECT format FROM table_name_58 WHERE frequency = "fm 94.5"
who is the owner of fm 94.5?
CREATE TABLE table_name_69 (owner VARCHAR, frequency VARCHAR)
SELECT owner FROM table_name_69 WHERE frequency = "fm 94.5"
what is the language/rebroadcast for cbc radio one?
CREATE TABLE table_name_30 (language_rebroadcast VARCHAR, branding VARCHAR)
SELECT language_rebroadcast FROM table_name_30 WHERE branding = "cbc radio one"
what is the frequency when the format is contemporary christian music?
CREATE TABLE table_name_68 (frequency VARCHAR, format VARCHAR)
SELECT frequency FROM table_name_68 WHERE format = "contemporary christian music"
what is the branding when the owner is jim pattison group and the frequency is fm 94.5?
CREATE TABLE table_name_55 (branding VARCHAR, owner VARCHAR, frequency VARCHAR)
SELECT branding FROM table_name_55 WHERE owner = "jim pattison group" AND frequency = "fm 94.5"
What is the fewest number of draws with more than 9 losts and more than 16 goals scored?
CREATE TABLE table_name_99 (draw INTEGER, lost VARCHAR, goals_scored VARCHAR)
SELECT MIN(draw) FROM table_name_99 WHERE lost > 9 AND goals_scored > 16
How many total draws was played less than 18 with 11 losts?
CREATE TABLE table_name_2 (draw INTEGER, lost VARCHAR, played VARCHAR)
SELECT SUM(draw) FROM table_name_2 WHERE lost = 11 AND played < 18
What is the total goals scored with more than 11 points, 18 goals conceded, and played fewer than 18 times?
CREATE TABLE table_name_17 (goals_scored VARCHAR, played VARCHAR, points VARCHAR, goals_conceded VARCHAR)
SELECT COUNT(goals_scored) FROM table_name_17 WHERE points > 11 AND goals_conceded = 18 AND played < 18
What is the Record of the 1991 Port of Spain Games?
CREATE TABLE table_name_56 (record VARCHAR, games VARCHAR)
SELECT record FROM table_name_56 WHERE games = "1991 port of spain"
What is the Record of the 2012 Hamilton Games from Bahamas?
CREATE TABLE table_name_72 (record VARCHAR, nationality VARCHAR, games VARCHAR)
SELECT record FROM table_name_72 WHERE nationality = "bahamas" AND games = "2012 hamilton"
What is the Record of the 3000 M?
CREATE TABLE table_name_15 (record VARCHAR, event VARCHAR)
SELECT record FROM table_name_15 WHERE event = "3000 m"
What is the Record of the 2013 Nassau Games?
CREATE TABLE table_name_2 (record VARCHAR, games VARCHAR)
SELECT record FROM table_name_2 WHERE games = "2013 nassau"
What is the Quantity made when class is f-7?
CREATE TABLE table_name_92 (quantity_made VARCHAR, class VARCHAR)
SELECT quantity_made FROM table_name_92 WHERE class = "f-7"
What is the Class of 1899–1900?
CREATE TABLE table_name_16 (class VARCHAR, year_made VARCHAR)
SELECT class FROM table_name_16 WHERE year_made = "1899–1900"
What is the manufacturer with a wheel arrangement of 2-8-0, and Year made of 1883?
CREATE TABLE table_name_82 (manufacturer VARCHAR, wheel_arrangement VARCHAR, year_made VARCHAR)
SELECT manufacturer FROM table_name_82 WHERE wheel_arrangement = "2-8-0" AND year_made = "1883"
What is the quantity when the wheel arrangement is 2-8-0, and class is f-4?
CREATE TABLE table_name_92 (quantity_made VARCHAR, wheel_arrangement VARCHAR, class VARCHAR)
SELECT quantity_made FROM table_name_92 WHERE wheel_arrangement = "2-8-0" AND class = "f-4"
What wheel arrangement has a fleet number(s) of 45–46?
CREATE TABLE table_name_46 (wheel_arrangement VARCHAR, fleet_number_s_ VARCHAR)
SELECT wheel_arrangement FROM table_name_46 WHERE fleet_number_s_ = "45–46"
What manufacturer has a year made of 1883?
CREATE TABLE table_name_76 (manufacturer VARCHAR, year_made VARCHAR)
SELECT manufacturer FROM table_name_76 WHERE year_made = "1883"
When hasn an Attendance larger than 66,926?
CREATE TABLE table_name_72 (date VARCHAR, attendance INTEGER)
SELECT date FROM table_name_72 WHERE attendance > 66 OFFSET 926
what is the manner of departure when the date of vacancy is 15 september 2008?
CREATE TABLE table_name_14 (manner_of_departure VARCHAR, date_of_vacancy VARCHAR)
SELECT manner_of_departure FROM table_name_14 WHERE date_of_vacancy = "15 september 2008"
who is the replacement when the team is port vale?
CREATE TABLE table_name_97 (replaced_by VARCHAR, team VARCHAR)
SELECT replaced_by FROM table_name_97 WHERE team = "port vale"
who is the replacement when the team is bournemouth and the outgoing manager is kevin bond?
CREATE TABLE table_name_87 (replaced_by VARCHAR, team VARCHAR, outgoing_manager VARCHAR)
SELECT replaced_by FROM table_name_87 WHERE team = "bournemouth" AND outgoing_manager = "kevin bond"
who is the outgoing manager when the manner of departure is contract terminated and the date of vacancy is 1 september 2008?
CREATE TABLE table_name_22 (outgoing_manager VARCHAR, manner_of_departure VARCHAR, date_of_vacancy VARCHAR)
SELECT outgoing_manager FROM table_name_22 WHERE manner_of_departure = "contract terminated" AND date_of_vacancy = "1 september 2008"
what is the date of vacancy when the manner of departure is contract terminated, the position in table is 23rd and the date of appointment is 31 december 2008?
CREATE TABLE table_name_4 (date_of_vacancy VARCHAR, date_of_appointment VARCHAR, manner_of_departure VARCHAR, position_in_table VARCHAR)
SELECT date_of_vacancy FROM table_name_4 WHERE manner_of_departure = "contract terminated" AND position_in_table = "23rd" AND date_of_appointment = "31 december 2008"
who is the replacement when the date of vacancy is 1 september 2008?
CREATE TABLE table_name_51 (replaced_by VARCHAR, date_of_vacancy VARCHAR)
SELECT replaced_by FROM table_name_51 WHERE date_of_vacancy = "1 september 2008"
How many times did Morgan win The Masters Tournament with fewer than 12 appearances?
CREATE TABLE table_name_12 (wins INTEGER, tournament VARCHAR, events VARCHAR)
SELECT AVG(wins) FROM table_name_12 WHERE tournament = "masters tournament" AND events < 12
What is the lowest losses for a team that has 0 draws, fewer than 4 wins, and no Byes?
CREATE TABLE table_name_68 (losses INTEGER, byes VARCHAR, draws VARCHAR, wins VARCHAR)
SELECT MIN(losses) FROM table_name_68 WHERE draws = 0 AND wins < 4 AND byes < 0
What Population has a Median family income of $38,044?
CREATE TABLE table_name_18 (population VARCHAR, median_family_income VARCHAR)
SELECT population FROM table_name_18 WHERE median_family_income = "$38,044"
What county has a Median family income of $37,667?
CREATE TABLE table_name_95 (county VARCHAR, median_family_income VARCHAR)
SELECT county FROM table_name_95 WHERE median_family_income = "$37,667"
What is the highest Population that has a Median household income of $32,902 with a number of households less than 11,125
CREATE TABLE table_name_34 (population INTEGER, median_household_income VARCHAR, number_of_households VARCHAR)
SELECT MAX(population) FROM table_name_34 WHERE median_household_income = "$32,902" AND number_of_households < 11 OFFSET 125
What's the 1851 when 1881 had 764?
CREATE TABLE table_name_67 (Id VARCHAR)
SELECT 1851 FROM table_name_67 WHERE 1881 = "764"
What's the year when 1851 had 634?
CREATE TABLE table_name_29 (year VARCHAR)
SELECT year FROM table_name_29 WHERE 1851 = "634"
What's the 1881 when 1871 had 1017?
CREATE TABLE table_name_38 (Id VARCHAR)
SELECT 1881 FROM table_name_38 WHERE 1871 = "1017"
What's the 1861 had 1991 in 1881 and a year of year?
CREATE TABLE table_name_82 (Id VARCHAR)
SELECT 1861 FROM table_name_82 WHERE "year" = "year" AND 1881 = "1991"
What's the 1881 with 1961 in 1851?
CREATE TABLE table_name_54 (Id VARCHAR)
SELECT 1881 FROM table_name_54 WHERE 1851 = "1961"
Who was the stage winner when the start of stage is Cauterets?
CREATE TABLE table_name_38 (stage VARCHAR, start_of_stage VARCHAR)
SELECT stage AS winner FROM table_name_38 WHERE start_of_stage = "cauterets"
Who was the stage winner when the stage was more than 10 and yellow jersey was Joseph Planckaert?
CREATE TABLE table_name_99 (stage VARCHAR, yellow_jersey VARCHAR)
SELECT stage AS winner FROM table_name_99 WHERE stage > 10 AND yellow_jersey = "joseph planckaert"
who was the Stage winner when the stage was smaller than 16, earlier than 1986, and a distance (km) was 19.6?
CREATE TABLE table_name_44 (stage VARCHAR, distance__km_ VARCHAR, year VARCHAR)
SELECT stage AS winner FROM table_name_44 WHERE stage < 16 AND year < 1986 AND distance__km_ = "19.6"
What year was yellow jersey of Jacques Anquetil?
CREATE TABLE table_name_66 (year INTEGER, yellow_jersey VARCHAR)
SELECT MIN(year) FROM table_name_66 WHERE yellow_jersey = "jacques anquetil"
What's the GPU model that has sSpec number SR16Z(c0)?
CREATE TABLE table_name_33 (gpu_model VARCHAR, sspec_number VARCHAR)
SELECT gpu_model FROM table_name_33 WHERE sspec_number = "sr16z(c0)"
What's the L3 cache that has a low power part number?
CREATE TABLE table_name_84 (l3_cache VARCHAR, part_number_s_ VARCHAR)
SELECT l3_cache FROM table_name_84 WHERE part_number_s_ = "low power"
What's the GPU frequency that has ultra-low power in cores?
CREATE TABLE table_name_87 (gpu_frequency VARCHAR, cores VARCHAR)
SELECT gpu_frequency FROM table_name_87 WHERE cores = "ultra-low power"
What's the cores with the part number cl8064701477202?
CREATE TABLE table_name_89 (cores VARCHAR, part_number_s_ VARCHAR)
SELECT cores FROM table_name_89 WHERE part_number_s_ = "cl8064701477202"
What is the To par for the player that won in 2003, with a total larger than 145?
CREATE TABLE table_name_65 (to_par VARCHAR, year_s__won VARCHAR, total VARCHAR)
SELECT COUNT(to_par) FROM table_name_65 WHERE year_s__won = "2003" AND total > 145
What is United States total in the year(s) won of 2000 , 2005 , 2006?
CREATE TABLE table_name_1 (total INTEGER, country VARCHAR, year_s__won VARCHAR)
SELECT MIN(total) FROM table_name_1 WHERE country = "united states" AND year_s__won = "2000 , 2005 , 2006"
Who was the player from the United States, with a total larger than 145?
CREATE TABLE table_name_32 (player VARCHAR, country VARCHAR, total VARCHAR)
SELECT player FROM table_name_32 WHERE country = "united states" AND total > 145
What is the Year won for the player with a To par of 8?
CREATE TABLE table_name_70 (year_s__won VARCHAR, to_par VARCHAR)
SELECT year_s__won FROM table_name_70 WHERE to_par = 8
What is the To par of the United States, when the Total was 145, in 2004?
CREATE TABLE table_name_21 (to_par VARCHAR, year_s__won VARCHAR, country VARCHAR, total VARCHAR)
SELECT to_par FROM table_name_21 WHERE country = "united states" AND total = 145 AND year_s__won = "2004"
What is the fewest tally for the game played at Vasil Levski National Stadium, Sofia, Bulgaria?
CREATE TABLE table_name_9 (tally INTEGER, venue VARCHAR)
SELECT MIN(tally) FROM table_name_9 WHERE venue = "vasil levski national stadium, sofia, bulgaria"
For what competition was the game played on 28 March 2009?
CREATE TABLE table_name_28 (competition VARCHAR, date VARCHAR)
SELECT competition FROM table_name_28 WHERE date = "28 march 2009"
The swimmer in lane 7 has what as the smallest rank?
CREATE TABLE table_name_81 (rank INTEGER, lane VARCHAR)
SELECT MIN(rank) FROM table_name_81 WHERE lane = 7
Swimmer Aurore Mongel has what nationality?
CREATE TABLE table_name_88 (nationality VARCHAR, name VARCHAR)
SELECT nationality FROM table_name_88 WHERE name = "aurore mongel"
Swimmer Jiao Liuyang has what for the sum of lane?
CREATE TABLE table_name_50 (lane VARCHAR, name VARCHAR)
SELECT COUNT(lane) FROM table_name_50 WHERE name = "jiao liuyang"
For the swimmer in the lane less than 4, and is ranked greater than 4 what was the time?
CREATE TABLE table_name_42 (time VARCHAR, lane VARCHAR, rank VARCHAR)
SELECT time FROM table_name_42 WHERE lane < 4 AND rank > 4
Swimmer Audrey Lacroix finished in what time?
CREATE TABLE table_name_20 (time VARCHAR, name VARCHAR)
SELECT time FROM table_name_20 WHERE name = "audrey lacroix"
In which competition was Moradi's time 1:48.58?
CREATE TABLE table_name_12 (competition VARCHAR, notes VARCHAR)
SELECT competition FROM table_name_12 WHERE notes = "1:48.58"
In which event did Moradi compete and finish in 2nd at the Asian Championships in Kobe, Japan held after 2005?
CREATE TABLE table_name_21 (event VARCHAR, venue VARCHAR, position VARCHAR, year VARCHAR, competition VARCHAR)
SELECT event FROM table_name_21 WHERE year > 2005 AND competition = "asian championships" AND position = "2nd" AND venue = "kobe, japan"
What competition was held earlier than 2007 and has 7434 in the notes field?
CREATE TABLE table_name_47 (competition VARCHAR, year VARCHAR, notes VARCHAR)
SELECT competition FROM table_name_47 WHERE year < 2007 AND notes = "7434"
What event has 7860 notes?
CREATE TABLE table_name_86 (event VARCHAR, notes VARCHAR)
SELECT event FROM table_name_86 WHERE notes = "7860"
What venue has 7964 pb notes?
CREATE TABLE table_name_81 (venue VARCHAR, notes VARCHAR)
SELECT venue FROM table_name_81 WHERE notes = "7964 pb"
How many times is vuelta wins when points is more than 0, country is spain and the name is josé pérez-francés?
CREATE TABLE table_name_67 (vuelta_wins VARCHAR, name VARCHAR, points VARCHAR, country VARCHAR)
SELECT COUNT(vuelta_wins) FROM table_name_67 WHERE points > 0 AND country = "spain" AND name = "josé pérez-francés"
Which constituency number has a name of Timarni?
CREATE TABLE table_name_99 (constituency_number VARCHAR, name VARCHAR)
SELECT constituency_number FROM table_name_99 WHERE name = "timarni"
What is the reserved for value for constituency number 132?
CREATE TABLE table_name_76 (reserved_for___sc___st__none_ VARCHAR, constituency_number VARCHAR)
SELECT reserved_for___sc___st__none_ FROM table_name_76 WHERE constituency_number = "132"
What is the place of the player with a 72-70-67=209 score?
CREATE TABLE table_name_51 (place VARCHAR, score VARCHAR)
SELECT place FROM table_name_51 WHERE score = 72 - 70 - 67 = 209
What is the to par of player hunter mahan?
CREATE TABLE table_name_87 (to_par VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_87 WHERE player = "hunter mahan"
What is the to par of canada?
CREATE TABLE table_name_65 (to_par VARCHAR, country VARCHAR)
SELECT to_par FROM table_name_65 WHERE country = "canada"
What album came out before 2008 called We're not Made in the USA?
CREATE TABLE table_name_93 (album VARCHAR, year VARCHAR, title VARCHAR)
SELECT album FROM table_name_93 WHERE year < 2008 AND title = "we're not made in the usa"
What is the average year for Faces?
CREATE TABLE table_name_61 (year INTEGER, title VARCHAR)
SELECT AVG(year) FROM table_name_61 WHERE title = "faces"
What is livorno's average election?
CREATE TABLE table_name_69 (election INTEGER, municipality VARCHAR)
SELECT AVG(election) FROM table_name_69 WHERE municipality = "livorno"
Which Election has a Party of democratic party, and a Mayor of leonardo betti?
CREATE TABLE table_name_52 (election INTEGER, party VARCHAR, mayor VARCHAR)
SELECT MAX(election) FROM table_name_52 WHERE party = "democratic party" AND mayor = "leonardo betti"
Which Inhabitants have a Mayor of matteo renzi, and an Election larger than 2009?
CREATE TABLE table_name_4 (inhabitants INTEGER, mayor VARCHAR, election VARCHAR)
SELECT MIN(inhabitants) FROM table_name_4 WHERE mayor = "matteo renzi" AND election > 2009
Which Inhabitants have a Party of democratic party, and a Municipality of florence, and an Election smaller than 2009?
CREATE TABLE table_name_99 (inhabitants INTEGER, election VARCHAR, party VARCHAR, municipality VARCHAR)
SELECT MIN(inhabitants) FROM table_name_99 WHERE party = "democratic party" AND municipality = "florence" AND election < 2009
Which Seatshave a Share of votes of 18%, and a Share of seats of 3%, and a General election smaller than 1992?
CREATE TABLE table_name_6 (seats INTEGER, general_election VARCHAR, share_of_votes VARCHAR, share_of_seats VARCHAR)
SELECT MIN(seats) FROM table_name_6 WHERE share_of_votes = "18%" AND share_of_seats = "3%" AND general_election < 1992
How much General election has a Share of votes of 17%?
CREATE TABLE table_name_92 (general_election INTEGER, share_of_votes VARCHAR)
SELECT SUM(general_election) FROM table_name_92 WHERE share_of_votes = "17%"
Which Seats have a Share of votes of 18%, and a Share of seats of 3%, and a General election larger than 1992?
CREATE TABLE table_name_62 (seats INTEGER, general_election VARCHAR, share_of_votes VARCHAR, share_of_seats VARCHAR)
SELECT MAX(seats) FROM table_name_62 WHERE share_of_votes = "18%" AND share_of_seats = "3%" AND general_election > 1992
Which Share of seats has Seats smaller than 52, and a Name of sdp–liberal alliance, and a General election of 1983?
CREATE TABLE table_name_66 (share_of_seats VARCHAR, general_election VARCHAR, seats VARCHAR, name VARCHAR)
SELECT share_of_seats FROM table_name_66 WHERE seats < 52 AND name = "sdp–liberal alliance" AND general_election = 1983
What is the voltage when the L2 cache is 2 × 256 kb and the turbo is 5/8?
CREATE TABLE table_name_71 (voltage VARCHAR, l2_cache VARCHAR, turbo VARCHAR)
SELECT voltage FROM table_name_71 WHERE l2_cache = "2 × 256 kb" AND turbo = "5/8"
What is the L2 cache with ec number of slbmm(c2)slbsr(k0)?
CREATE TABLE table_name_92 (l2_cache VARCHAR, sspec_number VARCHAR)
SELECT l2_cache FROM table_name_92 WHERE sspec_number = "slbmm(c2)slbsr(k0)"
What is the voltage when there are 2 cores, turbo is 5/8 and the release date is September 2010?
CREATE TABLE table_name_71 (voltage VARCHAR, turbo VARCHAR, cores VARCHAR, release_date VARCHAR)
SELECT voltage FROM table_name_71 WHERE cores = "2" AND release_date = "september 2010" AND turbo = "5/8"
What is the frequency for I/O bus of DMI, voltage of 0.725–1.4v and part cn80617004458ab?
CREATE TABLE table_name_4 (frequency VARCHAR, part_number_s_ VARCHAR, i_o_bus VARCHAR, voltage VARCHAR)
SELECT frequency FROM table_name_4 WHERE i_o_bus = "dmi" AND voltage = "0.725–1.4v" AND part_number_s_ = "cn80617004458ab"
What is I/O bus when socket is socket g1bga-1288?
CREATE TABLE table_name_46 (i_o_bus VARCHAR, socket VARCHAR)
SELECT i_o_bus FROM table_name_46 WHERE socket = "socket g1bga-1288"
What is the memory when release date is January 2010 and socket is BGA-1288?
CREATE TABLE table_name_13 (memory VARCHAR, release_date VARCHAR, socket VARCHAR)
SELECT memory FROM table_name_13 WHERE release_date = "january 2010" AND socket = "bga-1288"
How many Premierships have Nicknamed of kangaroos?
CREATE TABLE table_name_72 (no_of_premierships VARCHAR, nickname VARCHAR)
SELECT COUNT(no_of_premierships) FROM table_name_72 WHERE nickname = "kangaroos"
What is the IHSAA class for Muncie Burris?
CREATE TABLE table_name_69 (ihsaa_class VARCHAR, school VARCHAR)
SELECT ihsaa_class FROM table_name_69 WHERE school = "muncie burris"
What is the IHSAA class for Muncie Cowan?
CREATE TABLE table_name_27 (ihsaa_class VARCHAR, school VARCHAR)
SELECT ihsaa_class FROM table_name_27 WHERE school = "muncie cowan"
What is the location where enrollment is 266 and and the county is 18 Delaware?
CREATE TABLE table_name_30 (location VARCHAR, _number___county VARCHAR, enrollment VARCHAR)
SELECT location FROM table_name_30 WHERE _number___county = "18 delaware" AND enrollment = 266
What is the enrollment at the school with IHSAA class A and where mascot is the Vikings?
CREATE TABLE table_name_39 (enrollment VARCHAR, ihsaa_class VARCHAR, mascot VARCHAR)
SELECT enrollment FROM table_name_39 WHERE ihsaa_class = "a" AND mascot = "vikings"
What is the IHSAA class for the school where the mascot is the Rebels?
CREATE TABLE table_name_80 (ihsaa_class VARCHAR, mascot VARCHAR)
SELECT ihsaa_class FROM table_name_80 WHERE mascot = "rebels"
What is the location with enrollment of 316 and county is 68 Randolph?
CREATE TABLE table_name_21 (location VARCHAR, _number___county VARCHAR, enrollment VARCHAR)
SELECT location FROM table_name_21 WHERE _number___county = "68 randolph" AND enrollment = 316
What result took pace in 2009 and had an award of sopot international song festival?
CREATE TABLE table_name_17 (result VARCHAR, year VARCHAR, award VARCHAR)
SELECT result FROM table_name_17 WHERE year = 2009 AND award = "sopot international song festival"