Question: what is the soap opera when the duration is 18 years and the character is miley byrne?

Context: CREATE TABLE table_name_4 (soap_opera VARCHAR, duration VARCHAR, character VARCHAR)

SELECT soap_opera FROM table_name_4 WHERE duration = "18 years" AND character = "miley byrne"


Question: what is the years when the duration is 13 years and the character is renee phelan?

Context: CREATE TABLE table_name_17 (years VARCHAR, duration VARCHAR, character VARCHAR)

SELECT years FROM table_name_17 WHERE duration = "13 years" AND character = "renee phelan"


Question: what is the years when the soap opera is glenroe and the actor is mick lally?

Context: CREATE TABLE table_name_21 (years VARCHAR, soap_opera VARCHAR, actor VARCHAR)

SELECT years FROM table_name_21 WHERE soap_opera = "glenroe" AND actor = "mick lally"


Question: who is the actor when the character is dinny byrne?

Context: CREATE TABLE table_name_8 (actor VARCHAR, character VARCHAR)

SELECT actor FROM table_name_8 WHERE character = "dinny byrne"


Question: what is the soap opera when the actor is dave duffy?

Context: CREATE TABLE table_name_11 (soap_opera VARCHAR, actor VARCHAR)

SELECT soap_opera FROM table_name_11 WHERE actor = "dave duffy"


Question: What is the score for the game with an 11 tie number?

Context: CREATE TABLE table_name_50 (score VARCHAR, tie_no VARCHAR)

SELECT score FROM table_name_50 WHERE tie_no = "11"


Question: What date was Ipswich Town the away team?

Context: CREATE TABLE table_name_76 (date VARCHAR, away_team VARCHAR)

SELECT date FROM table_name_76 WHERE away_team = "ipswich town"


Question: Who is the owner with a Hot Adult Contemporary format?

Context: CREATE TABLE table_name_29 (owner VARCHAR, format VARCHAR)

SELECT owner FROM table_name_29 WHERE format = "hot adult contemporary"


Question: What's the call sign of The Q?

Context: CREATE TABLE table_name_43 (call_sign VARCHAR, branding VARCHAR)

SELECT call_sign FROM table_name_43 WHERE branding = "the q"


Question: What's the call sign for Jack FM?

Context: CREATE TABLE table_name_60 (call_sign VARCHAR, branding VARCHAR)

SELECT call_sign FROM table_name_60 WHERE branding = "jack fm"


Question: What is the average year for a Saar of FK Pirmasens and Hessen of Wormatia Worms?

Context: CREATE TABLE table_name_47 (year INTEGER, saar VARCHAR, hessen VARCHAR)

SELECT AVG(year) FROM table_name_47 WHERE saar = "fk pirmasens" AND hessen = "wormatia worms"


Question: What is the smallest year for a Main of Eintracht Frankfurt, Rhein of Waldhof Mannheim, Sarr of FK Pirmasens, and Hessen of Wormatia Worms?

Context: CREATE TABLE table_name_96 (year INTEGER, hessen VARCHAR, saar VARCHAR, main VARCHAR, rhein VARCHAR)

SELECT MIN(year) FROM table_name_96 WHERE main = "eintracht frankfurt" AND rhein = "waldhof mannheim" AND saar = "fk pirmasens" AND hessen = "wormatia worms"


Question: Which year has a Main of Eintracht Frankfurt and Hessen of FSV Mainz 05?

Context: CREATE TABLE table_name_3 (year VARCHAR, main VARCHAR, hessen VARCHAR)

SELECT year FROM table_name_3 WHERE main = "eintracht frankfurt" AND hessen = "fsv mainz 05"


Question: Who was the Hessen the year that Saar was FK Pirmasens?

Context: CREATE TABLE table_name_23 (hessen VARCHAR, saar VARCHAR)

SELECT hessen FROM table_name_23 WHERE saar = "fk pirmasens"


Question: What's the series of Buddy The Woodsman by director Jack King?

Context: CREATE TABLE table_name_33 (series VARCHAR, director VARCHAR, title VARCHAR)

SELECT series FROM table_name_33 WHERE director = "jack king" AND title = "buddy the woodsman"


Question: Who was the director of the movie having a release date of 1934-09-15, an MM Series and a production number less than 6494?

Context: CREATE TABLE table_name_12 (director VARCHAR, release_date VARCHAR, series VARCHAR, production_num VARCHAR)

SELECT director FROM table_name_12 WHERE series = "mm" AND production_num < 6494 AND release_date = "1934-09-15"


Question: Who's the director of Buddy of the Apes?

Context: CREATE TABLE table_name_80 (director VARCHAR, title VARCHAR)

SELECT director FROM table_name_80 WHERE title = "buddy of the apes"


Question: What's the title of the film directed by Friz Freleng with an MM Series, production number greater than 6209 and a release date of 1934-11-03?

Context: CREATE TABLE table_name_77 (title VARCHAR, release_date VARCHAR, director VARCHAR, production_num VARCHAR, series VARCHAR)

SELECT title FROM table_name_77 WHERE production_num > 6209 AND series = "mm" AND director = "friz freleng" AND release_date = "1934-11-03"


Question: What is the lowest time for Paulo Villar in lane 9?

Context: CREATE TABLE table_name_85 (time INTEGER, athlete VARCHAR, lane VARCHAR)

SELECT MIN(time) FROM table_name_85 WHERE athlete = "paulo villar" AND lane < 9


Question: What is the nationality of lane 4?

Context: CREATE TABLE table_name_78 (nationality VARCHAR, lane VARCHAR)

SELECT nationality FROM table_name_78 WHERE lane = 4


Question: What is the nationality with a 13.21 time?

Context: CREATE TABLE table_name_55 (nationality VARCHAR, time VARCHAR)

SELECT nationality FROM table_name_55 WHERE time = 13.21


Question: What increase in net assets also has $5,617,236 as the total expenses?

Context: CREATE TABLE table_name_16 (increase_in_net_assets VARCHAR, total_expenses VARCHAR)

SELECT increase_in_net_assets FROM table_name_16 WHERE total_expenses = "$5,617,236"


Question: How many Gold medals did Puerto Rico receive with 1 Silver and a Total of 1 or less?

Context: CREATE TABLE table_name_79 (gold VARCHAR, total VARCHAR, silver VARCHAR, nation VARCHAR)

SELECT COUNT(gold) FROM table_name_79 WHERE silver = 1 AND nation = "puerto rico" AND total < 1


Question: What is the Total number of medals for the Nation with 7 or less Bronze medals and 1 Silver medal with a Rank of 9 or larger?

Context: CREATE TABLE table_name_90 (total INTEGER, rank VARCHAR, bronze VARCHAR, silver VARCHAR)

SELECT MIN(total) FROM table_name_90 WHERE bronze < 7 AND silver = 1 AND rank > 9


Question: How many Silver medals did the Nation with 10 or more Bronze receive?

Context: CREATE TABLE table_name_73 (silver INTEGER, bronze INTEGER)

SELECT MIN(silver) FROM table_name_73 WHERE bronze > 10


Question: what is the average wins when draws is less than 0?

Context: CREATE TABLE table_name_72 (wins INTEGER, draws INTEGER)

SELECT AVG(wins) FROM table_name_72 WHERE draws < 0


Question: what is the average losses when the club is warrnambool and wins is less than 12?

Context: CREATE TABLE table_name_58 (losses INTEGER, club VARCHAR, wins VARCHAR)

SELECT AVG(losses) FROM table_name_58 WHERE club = "warrnambool" AND wins < 12


Question: what is the most losses when the club is terang and draws is less than 0?

Context: CREATE TABLE table_name_75 (losses INTEGER, club VARCHAR, draws VARCHAR)

SELECT MAX(losses) FROM table_name_75 WHERE club = "terang" AND draws < 0


Question: What is the sum of losses when wins is more than 6, club is camperdown and against is more than 1238?

Context: CREATE TABLE table_name_6 (losses INTEGER, against VARCHAR, wins VARCHAR, club VARCHAR)

SELECT SUM(losses) FROM table_name_6 WHERE wins > 6 AND club = "camperdown" AND against > 1238


Question: What is the drew for the 1999-2000 season when they were in third place?

Context: CREATE TABLE table_name_52 (drew VARCHAR, round VARCHAR, season VARCHAR)

SELECT drew FROM table_name_52 WHERE round = "third place" AND season = "1999-2000"


Question: What competition did they have 1 lost, 3 draws, and played 9 games?

Context: CREATE TABLE table_name_17 (competition VARCHAR, played VARCHAR, lost VARCHAR, drew VARCHAR)

SELECT competition FROM table_name_17 WHERE lost = "1" AND drew = "3" AND played = "9"


Question: What is the number of draws when the played 9 and lost 3?

Context: CREATE TABLE table_name_23 (drew VARCHAR, played VARCHAR, lost VARCHAR)

SELECT drew FROM table_name_23 WHERE played = "9" AND lost = "3"


Question: How many cable channels have callsign CBFT-DT?

Context: CREATE TABLE table_name_38 (cable_channel VARCHAR, call_sign VARCHAR)

SELECT COUNT(cable_channel) FROM table_name_38 WHERE call_sign = "cbft-dt"


Question: What is the lowest Digital PSIP for channels over 29 with callsign CFTU-DT?

Context: CREATE TABLE table_name_81 (digital_psip INTEGER, call_sign VARCHAR, broadcast_channel VARCHAR)

SELECT MIN(digital_psip) FROM table_name_81 WHERE call_sign = "cftu-dt" AND broadcast_channel > 29


Question: What is the Digital PSIP for channels over 15 with callsign CFTU-DT?

Context: CREATE TABLE table_name_14 (digital_psip VARCHAR, broadcast_channel VARCHAR, call_sign VARCHAR)

SELECT digital_psip FROM table_name_14 WHERE broadcast_channel > 15 AND call_sign = "cftu-dt"


Question: Where was the location of the Mong Kok Stadium?

Context: CREATE TABLE table_name_12 (location VARCHAR, home_ground VARCHAR)

SELECT location FROM table_name_12 WHERE home_ground = "mong kok stadium"


Question: Which club, had a home ground of n/a?

Context: CREATE TABLE table_name_95 (club VARCHAR, home_ground VARCHAR)

SELECT club FROM table_name_95 WHERE home_ground = "n/a"


Question: What is the location for the first division, Sun Pegasus Club?

Context: CREATE TABLE table_name_25 (location VARCHAR, league_division VARCHAR, club VARCHAR)

SELECT location FROM table_name_25 WHERE league_division = "first division" AND club = "sun pegasus"


Question: What division is Sai Kung in?

Context: CREATE TABLE table_name_29 (league_division VARCHAR, club VARCHAR)

SELECT league_division FROM table_name_29 WHERE club = "sai kung"


Question: What league is Sun Source in?

Context: CREATE TABLE table_name_6 (league_division VARCHAR, club VARCHAR)

SELECT league_division FROM table_name_6 WHERE club = "sun source"


Question: What was the model that had years 2004-?

Context: CREATE TABLE table_name_26 (model VARCHAR, years VARCHAR)

SELECT model FROM table_name_26 WHERE years = "2004-"


Question: What was the torque@rpm of the sl 65 amg?

Context: CREATE TABLE table_name_75 (torque VARCHAR, model VARCHAR)

SELECT torque AS @rpm FROM table_name_75 WHERE model = "sl 65 amg"


Question: What was the model that had years 2004-?

Context: CREATE TABLE table_name_67 (model VARCHAR, years VARCHAR)

SELECT model FROM table_name_67 WHERE years = "2004-"


Question: What is the IHSAA Class for football for the team joining in 1968?

Context: CREATE TABLE table_name_15 (ihsaa_class VARCHAR, year_joined VARCHAR)

SELECT ihsaa_class AS Football FROM table_name_15 WHERE year_joined = 1968


Question: What is the IHSAA class for Tipton?

Context: CREATE TABLE table_name_3 (ihsaa_class VARCHAR, school VARCHAR)

SELECT ihsaa_class FROM table_name_3 WHERE school = "tipton"


Question: What is the rank for the person with time 11.14?

Context: CREATE TABLE table_name_54 (rank INTEGER, time___sec__ VARCHAR)

SELECT AVG(rank) FROM table_name_54 WHERE time___sec__ = 11.14


Question: What is the rank when time is 11.15 and lane is bigger than 7 with notes Q, PB?

Context: CREATE TABLE table_name_76 (rank INTEGER, lane VARCHAR, notes VARCHAR, time___sec__ VARCHAR)

SELECT SUM(rank) FROM table_name_76 WHERE notes = "q, pb" AND time___sec__ = 11.15 AND lane > 7


Question: What is the lane for notes Q, SB and time less than 11.22?

Context: CREATE TABLE table_name_31 (lane INTEGER, notes VARCHAR, time___sec__ VARCHAR)

SELECT SUM(lane) FROM table_name_31 WHERE notes = "q, sb" AND time___sec__ < 11.22


Question: Which athlete is ranked less than 5 with time over 11.22?

Context: CREATE TABLE table_name_15 (athlete VARCHAR, time___sec__ VARCHAR, rank VARCHAR)

SELECT athlete FROM table_name_15 WHERE time___sec__ > 11.22 AND rank < 5


Question: How many lanes does Australia have with a reaction smaller than 0.138?

Context: CREATE TABLE table_name_55 (lane VARCHAR, nationality VARCHAR, reaction VARCHAR)

SELECT COUNT(lane) FROM table_name_55 WHERE nationality = "australia" AND reaction < 0.138


Question: Who had a reaction larger than 0.17400000000000002 and a lane larger than 6?

Context: CREATE TABLE table_name_80 (name VARCHAR, reaction VARCHAR, lane VARCHAR)

SELECT name FROM table_name_80 WHERE reaction > 0.17400000000000002 AND lane > 6


Question: The ship MS Vistafjord has what in service for NAL?

Context: CREATE TABLE table_name_10 (in_service_for_nal VARCHAR, ship VARCHAR)

SELECT in_service_for_nal FROM table_name_10 WHERE ship = "ms vistafjord"


Question: The ship SSBergensfjord built before 1973 has what tonnage?

Context: CREATE TABLE table_name_90 (tonnage VARCHAR, built VARCHAR, ship VARCHAR)

SELECT tonnage FROM table_name_90 WHERE built < 1973 AND ship = "ssbergensfjord"


Question: Which nationality has a time of 50.92?

Context: CREATE TABLE table_name_52 (nationality VARCHAR, time VARCHAR)

SELECT nationality FROM table_name_52 WHERE time = 50.92


Question: What is the time with fewer than 5 lanes for the United States?

Context: CREATE TABLE table_name_82 (time INTEGER, lane VARCHAR, nationality VARCHAR)

SELECT SUM(time) FROM table_name_82 WHERE lane < 5 AND nationality = "united states"


Question: Which Att-Cmp has a GP-GS of 7-1?

Context: CREATE TABLE table_name_21 (att_cmp VARCHAR, gp_gs VARCHAR)

SELECT att_cmp FROM table_name_21 WHERE gp_gs = "7-1"


Question: Which Att-Cmp has a TD-INT of 7-8?

Context: CREATE TABLE table_name_21 (att_cmp VARCHAR, td_int VARCHAR)

SELECT att_cmp FROM table_name_21 WHERE td_int = "7-8"


Question: Which TD-INT has an Effic larger than 111.4?

Context: CREATE TABLE table_name_87 (td_int VARCHAR, effic INTEGER)

SELECT td_int FROM table_name_87 WHERE effic > 111.4


Question: What is the total number of losses with less than 6 wins and less than 0 draws?

Context: CREATE TABLE table_name_94 (losses VARCHAR, wins VARCHAR, draws VARCHAR)

SELECT COUNT(losses) FROM table_name_94 WHERE wins < 6 AND draws < 0


Question: What is the average number of against with less than 10 losses, more than 0 draws, and more than 7 wins?

Context: CREATE TABLE table_name_74 (against INTEGER, wins VARCHAR, losses VARCHAR, draws VARCHAR)

SELECT AVG(against) FROM table_name_74 WHERE losses < 10 AND draws > 0 AND wins > 7


Question: What is the total number of byes with more than 0 losses and 1526 against?

Context: CREATE TABLE table_name_31 (byes VARCHAR, losses VARCHAR, against VARCHAR)

SELECT COUNT(byes) FROM table_name_31 WHERE losses > 0 AND against = 1526


Question: What is the lowest number of draws with more than 2 byes?

Context: CREATE TABLE table_name_81 (draws INTEGER, byes INTEGER)

SELECT MIN(draws) FROM table_name_81 WHERE byes > 2


Question: What is the lowest against of the wimmera fl warrack eagles, which have less than 16 wins?

Context: CREATE TABLE table_name_33 (against INTEGER, wins VARCHAR, wimmera_fl VARCHAR)

SELECT MIN(against) FROM table_name_33 WHERE wins < 16 AND wimmera_fl = "warrack eagles"


Question: How many races did the German racer that won less than 10 races ride?

Context: CREATE TABLE table_name_94 (races_ridden VARCHAR, nationality VARCHAR, races_won VARCHAR)

SELECT COUNT(races_ridden) FROM table_name_94 WHERE nationality = "german" AND races_won < 10


Question: What is the average win as a percentage of German racer Rudi Altig, who has ridden in over 79 races?

Context: CREATE TABLE table_name_50 (win_average INTEGER, races_ridden VARCHAR, nationality VARCHAR, name VARCHAR)

SELECT AVG(win_average) FROM table_name_50 WHERE nationality = "german" AND name = "rudi altig" AND races_ridden > 79


Question: what is the highest top-5 when cuts made is more than 39?

Context: CREATE TABLE table_name_40 (top_5 INTEGER, cuts_made INTEGER)

SELECT MAX(top_5) FROM table_name_40 WHERE cuts_made > 39


Question: what is the highest events when wins is more than 0 and cuts made is more than 14?

Context: CREATE TABLE table_name_64 (events INTEGER, wins VARCHAR, cuts_made VARCHAR)

SELECT MAX(events) FROM table_name_64 WHERE wins > 0 AND cuts_made > 14


Question: what is the highest top-5 when wins is more than 1?

Context: CREATE TABLE table_name_97 (top_5 INTEGER, wins INTEGER)

SELECT MAX(top_5) FROM table_name_97 WHERE wins > 1


Question: How many times is the tournament the masters tournament and the top-10 is less than 2?

Context: CREATE TABLE table_name_6 (top_5 VARCHAR, tournament VARCHAR, top_10 VARCHAR)

SELECT COUNT(top_5) FROM table_name_6 WHERE tournament = "masters tournament" AND top_10 < 2


Question: What ran has noel patterson as the rider?

Context: CREATE TABLE table_name_40 (rank VARCHAR, rider VARCHAR)

SELECT rank FROM table_name_40 WHERE rider = "noel patterson"


Question: What time has jules croft as the rider?

Context: CREATE TABLE table_name_15 (time VARCHAR, rider VARCHAR)

SELECT time FROM table_name_15 WHERE rider = "jules croft"


Question: What team has adam barclay as the rider?

Context: CREATE TABLE table_name_79 (team VARCHAR, rider VARCHAR)

SELECT team FROM table_name_79 WHERE rider = "adam barclay"


Question: What Round has h/a hurst

Context: CREATE TABLE table_name_26 (round VARCHAR, h___a VARCHAR)

SELECT round FROM table_name_26 WHERE h___a = "hurst"


Question: what game ended f-a with a round of round 1 replay

Context: CREATE TABLE table_name_63 (result_f___a VARCHAR, round VARCHAR)

SELECT result_f___a FROM table_name_63 WHERE round = "round 1 replay"


Question: what is the h/a round of round 2

Context: CREATE TABLE table_name_34 (h___a VARCHAR, round VARCHAR)

SELECT h___a FROM table_name_34 WHERE round = "round 2"


Question: What was the Role/Episode after 2006 with Ellen Burstyn as a recipient and nominee?

Context: CREATE TABLE table_name_21 (role_episode VARCHAR, year VARCHAR, recipients_and_nominees VARCHAR)

SELECT role_episode FROM table_name_21 WHERE year > 2006 AND recipients_and_nominees = "ellen burstyn"


Question: For which Category was Outstanding Main Title Design a Recipient and nominee?

Context: CREATE TABLE table_name_71 (category VARCHAR, recipients_and_nominees VARCHAR)

SELECT category FROM table_name_71 WHERE recipients_and_nominees = "outstanding main title design"


Question: Which Category was from before 2009 with a Role/Episode of Libby Goldstein and Junie Lowry-Johnson?

Context: CREATE TABLE table_name_60 (category VARCHAR, year VARCHAR, role_episode VARCHAR)

SELECT category FROM table_name_60 WHERE year < 2009 AND role_episode = "libby goldstein and junie lowry-johnson"


Question: Which Category were Libby Goldstein and Junie Lowry-Johnson recipients and nominees for?

Context: CREATE TABLE table_name_50 (category VARCHAR, recipients_and_nominees VARCHAR)

SELECT category FROM table_name_50 WHERE recipients_and_nominees = "libby goldstein and junie lowry-johnson"


Question: what is the highest runners when the jockey is frankie dettori and the placing is higher than 1?

Context: CREATE TABLE table_name_68 (runners INTEGER, jockey VARCHAR, placing VARCHAR)

SELECT MAX(runners) FROM table_name_68 WHERE jockey = "frankie dettori" AND placing > 1


Question: what is the race when the jockey is frankie dettori, the margin is more than 3 and the course is yarmouth?

Context: CREATE TABLE table_name_48 (race VARCHAR, course VARCHAR, jockey VARCHAR, margin VARCHAR)

SELECT race FROM table_name_48 WHERE jockey = "frankie dettori" AND margin > 3 AND course = "yarmouth"


Question: Who is the Partner in the match with a Score of 6-4, 2-6, 7-6?

Context: CREATE TABLE table_name_52 (partnering VARCHAR, score VARCHAR)

SELECT partnering FROM table_name_52 WHERE score = "6-4, 2-6, 7-6"


Question: what is the competition when the result is won and the date is september 13, 1996?

Context: CREATE TABLE table_name_87 (competition VARCHAR, result VARCHAR, date VARCHAR)

SELECT competition FROM table_name_87 WHERE result = "won" AND date = "september 13, 1996"


Question: what is the date when the competition is 1996 tiger cup and the result is drew?

Context: CREATE TABLE table_name_60 (date VARCHAR, competition VARCHAR, result VARCHAR)

SELECT date FROM table_name_60 WHERE competition = "1996 tiger cup" AND result = "drew"


Question: what is the score when the competition is 1995 southeast asian games?

Context: CREATE TABLE table_name_1 (score VARCHAR, competition VARCHAR)

SELECT score FROM table_name_1 WHERE competition = "1995 southeast asian games"


Question: what is the result when the venue is singapore on september 8, 1996?

Context: CREATE TABLE table_name_37 (result VARCHAR, venue VARCHAR, date VARCHAR)

SELECT result FROM table_name_37 WHERE venue = "singapore" AND date = "september 8, 1996"


Question: what is the competition when the result is won and the score is 8-0?

Context: CREATE TABLE table_name_11 (competition VARCHAR, result VARCHAR, score VARCHAR)

SELECT competition FROM table_name_11 WHERE result = "won" AND score = "8-0"


Question: Waht laps have points smaller than 1, and a team of dale coyne racing, and the grid larger than 13?

Context: CREATE TABLE table_name_87 (laps VARCHAR, grid VARCHAR, points VARCHAR, team VARCHAR)

SELECT laps FROM table_name_87 WHERE points < 1 AND team = "dale coyne racing" AND grid > 13


Question: What is the total number of laps for a team of team player's, and has a grid of 9, and points larger than 10?

Context: CREATE TABLE table_name_12 (laps VARCHAR, points VARCHAR, team VARCHAR, grid VARCHAR)

SELECT COUNT(laps) FROM table_name_12 WHERE team = "team player's" AND grid = 9 AND points > 10


Question: What is the lowest points for a time/retired of +30.7 secs, and laps smaller than 165?

Context: CREATE TABLE table_name_70 (points INTEGER, time_retired VARCHAR, laps VARCHAR)

SELECT MIN(points) FROM table_name_70 WHERE time_retired = "+30.7 secs" AND laps < 165


Question: Who was the team 2 in the game with a team 1 of Liege Basket?

Context: CREATE TABLE table_name_88 (team__number2 VARCHAR, team__number1 VARCHAR)

SELECT team__number2 FROM table_name_88 WHERE team__number1 = "liege basket"


Question: What was the 2nd leg score in the matchup with a team 2 of KK Borac?

Context: CREATE TABLE table_name_77 (team__number2 VARCHAR)

SELECT 2 AS nd_leg FROM table_name_77 WHERE team__number2 = "kk borac"


Question: What are the serial numbers for the locomotives of Class 4-8-4 — oooooooo — northern?

Context: CREATE TABLE table_name_28 (serial_numbers VARCHAR, class VARCHAR)

SELECT serial_numbers FROM table_name_28 WHERE class = "4-8-4 — oooooooo — northern"


Question: What is the fleet number for the model with Serial number 68056?

Context: CREATE TABLE table_name_27 (fleet_number_s_ VARCHAR, serial_numbers VARCHAR)

SELECT fleet_number_s_ FROM table_name_27 WHERE serial_numbers = "68056"


Question: What is the serial number of the model made in 1930?

Context: CREATE TABLE table_name_82 (serial_numbers VARCHAR, year_made VARCHAR)

SELECT serial_numbers FROM table_name_82 WHERE year_made = "1930"


Question: What is the wheel arrangement for the model that was retired in 1955?

Context: CREATE TABLE table_name_75 (wheel_arrangement VARCHAR, year_s__retired VARCHAR)

SELECT wheel_arrangement FROM table_name_75 WHERE year_s__retired = "1955"


Question: What is the lowest number of matches that has a Clubs of 46 → 32?

Context: CREATE TABLE table_name_99 (matches INTEGER, clubs VARCHAR)

SELECT MIN(matches) FROM table_name_99 WHERE clubs = "46 → 32"


Question: What is the highest number of matches that has a round of Third Round?

Context: CREATE TABLE table_name_22 (matches INTEGER, round VARCHAR)

SELECT MAX(matches) FROM table_name_22 WHERE round = "third round"


Question: What is the prize money for the final round?

Context: CREATE TABLE table_name_58 (prize_money VARCHAR, round VARCHAR)

SELECT prize_money FROM table_name_58 WHERE round = "final"


Question: What is the date for the row with a new entries this round of 44?

Context: CREATE TABLE table_name_71 (date VARCHAR, new_entries_this_round VARCHAR)

SELECT date FROM table_name_71 WHERE new_entries_this_round = "44"


Question: Which Against has Wins of 11, and Losses smaller than 7?

Context: CREATE TABLE table_name_97 (against INTEGER, wins VARCHAR, losses VARCHAR)

SELECT AVG(against) FROM table_name_97 WHERE wins = 11 AND losses < 7


Question: Which Draws have Losses larger than 8, and a Hampden FL of terang-mortlake?

Context: CREATE TABLE table_name_18 (draws VARCHAR, losses VARCHAR, hampden_fl VARCHAR)

SELECT draws FROM table_name_18 WHERE losses > 8 AND hampden_fl = "terang-mortlake"


Question: Which Byes have Losses smaller than 4?

Context: CREATE TABLE table_name_38 (byes INTEGER, losses INTEGER)

SELECT AVG(byes) FROM table_name_38 WHERE losses < 4


Question: What's the total draws when the losses are less than 10, less than 2 byes, and 13 wins?

Context: CREATE TABLE table_name_39 (draws VARCHAR, byes VARCHAR, losses VARCHAR, wins VARCHAR)

SELECT COUNT(draws) FROM table_name_39 WHERE losses < 10 AND wins = 13 AND byes < 2


Question: What's the total draws for Ararat when the byes are less than 2?

Context: CREATE TABLE table_name_97 (draws INTEGER, wimmera_fl VARCHAR, byes VARCHAR)

SELECT SUM(draws) FROM table_name_97 WHERE wimmera_fl = "ararat" AND byes < 2


Question: What's the total losses when there are 8 wins and less than 2 byes?

Context: CREATE TABLE table_name_91 (losses INTEGER, wins VARCHAR, byes VARCHAR)

SELECT SUM(losses) FROM table_name_91 WHERE wins = 8 AND byes < 2


Question: What's the least losses for Horsham Saints with more than 13 wins and less than 1211 against?

Context: CREATE TABLE table_name_24 (losses INTEGER, wins VARCHAR, against VARCHAR, wimmera_fl VARCHAR)

SELECT MIN(losses) FROM table_name_24 WHERE against < 1211 AND wimmera_fl = "horsham saints" AND wins > 13


Question: What are the draws when the losses are less than 1?

Context: CREATE TABLE table_name_30 (draws INTEGER, losses INTEGER)

SELECT SUM(draws) FROM table_name_30 WHERE losses < 1


Question: What are the amount of wins when the draws are less than 0 and the against is 1348?

Context: CREATE TABLE table_name_82 (wins INTEGER, against VARCHAR, draws VARCHAR)

SELECT MIN(wins) FROM table_name_82 WHERE against = 1348 AND draws < 0


Question: What was the total city area for vehari city with a serial number bigger than 36?

Context: CREATE TABLE table_name_1 (city_area_km_2__ VARCHAR, headquartered_city VARCHAR, serial_no VARCHAR)

SELECT COUNT(city_area_km_2__) FROM table_name_1 WHERE headquartered_city = "vehari city" AND serial_no > 36


Question: What was the lowest city population for the district of rajanpur district with a area of 6 km squared and a serial number less than 29?

Context: CREATE TABLE table_name_15 (city_population__2009_ INTEGER, serial_no VARCHAR, city_area_km_2__ VARCHAR, district VARCHAR)

SELECT MIN(city_population__2009_) FROM table_name_15 WHERE city_area_km_2__ = 6 AND district = "rajanpur district" AND serial_no < 29


Question: What is the sum of the serial numbers for narowal city?

Context: CREATE TABLE table_name_22 (serial_no INTEGER, headquartered_city VARCHAR)

SELECT SUM(serial_no) FROM table_name_22 WHERE headquartered_city = "narowal city"


Question: What is the sum of the area for the bahawalnagar district with a population more than 134,936?

Context: CREATE TABLE table_name_32 (city_area_km_2__ INTEGER, district VARCHAR, city_population__2009_ VARCHAR)

SELECT SUM(city_area_km_2__) FROM table_name_32 WHERE district = "bahawalnagar district" AND city_population__2009_ > 134 OFFSET 936


Question: What district was the city with an area smaller than 12 square kilometers and a serial number of 35?

Context: CREATE TABLE table_name_9 (district VARCHAR, city_area_km_2__ VARCHAR, serial_no VARCHAR)

SELECT district FROM table_name_9 WHERE city_area_km_2__ < 12 AND serial_no = 35


Question: After pick number 158, what is the next round a USC player was picked?

Context: CREATE TABLE table_name_20 (round INTEGER, school VARCHAR, pick VARCHAR)

SELECT MIN(round) FROM table_name_20 WHERE school = "usc" AND pick > 158


Question: Jim Obradovich, picked after round 2, but before pick 183, plays what position?

Context: CREATE TABLE table_name_88 (position VARCHAR, player VARCHAR, round VARCHAR, pick VARCHAR)

SELECT position FROM table_name_88 WHERE round > 2 AND pick < 183 AND player = "jim obradovich"


Question: What time has q as the notes, and Australia as the country?

Context: CREATE TABLE table_name_95 (time VARCHAR, notes VARCHAR, country VARCHAR)

SELECT time FROM table_name_95 WHERE notes = "q" AND country = "australia"


Question: What notes have a rank greater than 2, with mexico as the country?

Context: CREATE TABLE table_name_64 (notes VARCHAR, rank VARCHAR, country VARCHAR)

SELECT notes FROM table_name_64 WHERE rank > 2 AND country = "mexico"


Question: What is the sum of bronzes for teams with more than 0 silver and a total under 1?

Context: CREATE TABLE table_name_22 (bronze INTEGER, silver VARCHAR, total VARCHAR)

SELECT SUM(bronze) FROM table_name_22 WHERE silver > 0 AND total < 1


Question: What is the average number of golds for teams with 1 bronze, less than 3 silver, and a total over 2?

Context: CREATE TABLE table_name_55 (gold INTEGER, silver VARCHAR, bronze VARCHAR, total VARCHAR)

SELECT AVG(gold) FROM table_name_55 WHERE bronze = 1 AND total > 2 AND silver < 3


Question: What type of yacht has a LOA of 15.15 metres?

Context: CREATE TABLE table_name_94 (yacht VARCHAR, loa__metres_ VARCHAR)

SELECT yacht AS Type FROM table_name_94 WHERE loa__metres_ = 15.15


Question: What Soap Opera with the character Teemu Luotola?

Context: CREATE TABLE table_name_81 (soap_opera VARCHAR, character VARCHAR)

SELECT soap_opera FROM table_name_81 WHERE character = "teemu luotola"


Question: What beer has a record of 4.08?

Context: CREATE TABLE table_name_67 (beer VARCHAR, recorded VARCHAR)

SELECT beer FROM table_name_67 WHERE recorded = 4.08


Question: Which round has an Opposing Team of manchester united?

Context: CREATE TABLE table_name_64 (round VARCHAR, opposing_team VARCHAR)

SELECT round FROM table_name_64 WHERE opposing_team = "manchester united"


Question: Which Date has an Against larger than 0?

Context: CREATE TABLE table_name_28 (date VARCHAR, against INTEGER)

SELECT date FROM table_name_28 WHERE against > 0


Question: Which Against has a Round of fourth round?

Context: CREATE TABLE table_name_69 (against INTEGER, round VARCHAR)

SELECT MIN(against) FROM table_name_69 WHERE round = "fourth round"


Question: What was the venue on 17/02/2008?

Context: CREATE TABLE table_name_1 (venue VARCHAR, date VARCHAR)

SELECT venue FROM table_name_1 WHERE date = "17/02/2008"


Question: What is the average quantity for coaches manufactured in 1921/23, and had 40 seats?

Context: CREATE TABLE table_name_87 (quantity INTEGER, year_s__of_manufacture VARCHAR, seats VARCHAR)

SELECT AVG(quantity) FROM table_name_87 WHERE year_s__of_manufacture = "1921/23" AND seats = "40"


Question: Which class to 1928 value had years of manufacture of 1921/23 and class from 1928 of BCi-21?

Context: CREATE TABLE table_name_21 (class_to_1928 VARCHAR, year_s__of_manufacture VARCHAR, class_from_1928 VARCHAR)

SELECT class_to_1928 FROM table_name_21 WHERE year_s__of_manufacture = "1921/23" AND class_from_1928 = "bci-21"


Question: What is the smallest quantity having a Class to 1928 of BDi-21?

Context: CREATE TABLE table_name_79 (quantity INTEGER, class_to_1928 VARCHAR)

SELECT MIN(quantity) FROM table_name_79 WHERE class_to_1928 = "bdi-21"


Question: Which class from 1928 had a class to 1928 of BDi-21?

Context: CREATE TABLE table_name_88 (class_from_1928 VARCHAR, class_to_1928 VARCHAR)

SELECT class_from_1928 FROM table_name_88 WHERE class_to_1928 = "bdi-21"


Question: What were the remarks for the coach having a class from 1928 of Cid-21B?

Context: CREATE TABLE table_name_99 (remarks VARCHAR, class_from_1928 VARCHAR)

SELECT remarks FROM table_name_99 WHERE class_from_1928 = "cid-21b"


Question: Which B Score has a Total larger than 15.325, and an A Score smaller than 6.4?

Context: CREATE TABLE table_name_2 (b_score INTEGER, total VARCHAR, a_score VARCHAR)

SELECT SUM(b_score) FROM table_name_2 WHERE total > 15.325 AND a_score < 6.4


Question: Which Total has an A Score of 6.5, and a Position larger than 5?

Context: CREATE TABLE table_name_79 (total INTEGER, a_score VARCHAR, position VARCHAR)

SELECT MIN(total) FROM table_name_79 WHERE a_score = 6.5 AND position > 5


Question: What is the date of week 11?

Context: CREATE TABLE table_name_20 (date VARCHAR, week VARCHAR)

SELECT date FROM table_name_20 WHERE week = 11


Question: What is the latest week when the chicago bears are the opponent?

Context: CREATE TABLE table_name_27 (week INTEGER, opponent VARCHAR)

SELECT MAX(week) FROM table_name_27 WHERE opponent = "chicago bears"


Question: What song placed higher than#4?

Context: CREATE TABLE table_name_41 (song VARCHAR, place INTEGER)

SELECT song FROM table_name_41 WHERE place > 4


Question: Who is the artist that drew higher than 4?

Context: CREATE TABLE table_name_33 (artist VARCHAR, draw INTEGER)

SELECT artist FROM table_name_33 WHERE draw > 4


Question: What's the total starts with more points than 1 and the driver is Nasser Al-Attiyah?

Context: CREATE TABLE table_name_47 (starts VARCHAR, driver VARCHAR, points VARCHAR)

SELECT COUNT(starts) FROM table_name_47 WHERE driver = "nasser al-attiyah" AND points > 1


Question: What's the smallest number of podiums having more than 6 starts and 5 finishes?

Context: CREATE TABLE table_name_82 (podiums INTEGER, finishes VARCHAR, starts VARCHAR)

SELECT MIN(podiums) FROM table_name_82 WHERE finishes = 5 AND starts > 6


Question: What's the number of stage wins for Federico Villagra having more than 1 finish, less than 8 starts and less than 1 podium?

Context: CREATE TABLE table_name_41 (stage_wins VARCHAR, starts VARCHAR, driver VARCHAR, finishes VARCHAR, podiums VARCHAR)

SELECT COUNT(stage_wins) FROM table_name_41 WHERE finishes > 1 AND podiums < 1 AND driver = "federico villagra" AND starts < 8


Question: What's the finishes for Lambros Athanassoulas having 0 podiums and 0 stage wins?

Context: CREATE TABLE table_name_57 (finishes INTEGER, driver VARCHAR, podiums VARCHAR, stage_wins VARCHAR)

SELECT SUM(finishes) FROM table_name_57 WHERE podiums = 0 AND stage_wins = 0 AND driver = "lambros athanassoulas"


Question: What is the average number of electorates (2003) reserved for sc with a constituency number of 50?

Context: CREATE TABLE table_name_80 (number_of_electorates__2003_ INTEGER, reserved_for___sc___st__none_ VARCHAR, constituency_number VARCHAR)

SELECT AVG(number_of_electorates__2003_) FROM table_name_80 WHERE reserved_for___sc___st__none_ = "sc" AND constituency_number = "50"


Question: Which Finals have a Pre-Season larger than 0?

Context: CREATE TABLE table_name_52 (finals INTEGER, pre_season INTEGER)

SELECT MIN(finals) FROM table_name_52 WHERE pre_season > 0


Question: How much A-League has a Pre-Season larger than 0?

Context: CREATE TABLE table_name_85 (a_league VARCHAR, pre_season INTEGER)

SELECT COUNT(a_league) FROM table_name_85 WHERE pre_season > 0


Question: What is the last issue entry for Aron's Absurd Armada?

Context: CREATE TABLE table_name_49 (last_issue VARCHAR, title VARCHAR)

SELECT last_issue FROM table_name_49 WHERE title = "aron's absurd armada"


Question: What is the title that was first published in August 2010?

Context: CREATE TABLE table_name_39 (title VARCHAR, first_issue VARCHAR)

SELECT title FROM table_name_39 WHERE first_issue = "august 2010"


Question: What is the title that was first published in February 2009 and is still ongoing?

Context: CREATE TABLE table_name_44 (title VARCHAR, last_issue VARCHAR, first_issue VARCHAR)

SELECT title FROM table_name_44 WHERE last_issue = "ongoing" AND first_issue = "february 2009"


Question: What is the last issue entry of Time and Again?

Context: CREATE TABLE table_name_55 (last_issue VARCHAR, title VARCHAR)

SELECT last_issue FROM table_name_55 WHERE title = "time and again"


Question: What the rank of the Virgin Islands athlete with react under 0.168?

Context: CREATE TABLE table_name_44 (rank VARCHAR, react VARCHAR, nationality VARCHAR)

SELECT rank FROM table_name_44 WHERE react < 0.168 AND nationality = "virgin islands"


Question: What is the lowest rank for Chris Brown with react greater than 0.244?

Context: CREATE TABLE table_name_44 (rank INTEGER, athlete VARCHAR, react VARCHAR)

SELECT MIN(rank) FROM table_name_44 WHERE athlete = "chris brown" AND react > 0.244


Question: What is the highest rank of an athlete from Belgium with react greater than 0.162?

Context: CREATE TABLE table_name_38 (rank INTEGER, nationality VARCHAR, react VARCHAR)

SELECT MAX(rank) FROM table_name_38 WHERE nationality = "belgium" AND react > 0.162


Question: What's the 2008 that has 3.4 in 2009 and more than 2.9 in 2005?

Context: CREATE TABLE table_name_35 (Id VARCHAR)

SELECT MAX(2008) FROM table_name_35 WHERE 2009 = 3.4 AND 2005 > 2.9


Question: What's the 2006 if there's less than 6.7 in 2007 and less than 3.4 in 2009?

Context: CREATE TABLE table_name_46 (Id VARCHAR)

SELECT SUM(2006) FROM table_name_46 WHERE 2007 < 6.7 AND 2009 < 3.4


Question: What's the total in 2005 if there's more than 10.2 in 2006, less than 29.5 in 2007, more than 4.9 in 2009 and less than 43.8 in 2010?

Context: CREATE TABLE table_name_1 (Id VARCHAR)


Question: What is the 2009 when there's 11.8 in 2005 and less than 12.6 in 2006?

Context: CREATE TABLE table_name_45 (Id VARCHAR)

SELECT MIN(2009) FROM table_name_45 WHERE 2005 = 11.8 AND 2006 < 12.6


Question: What's the 2005 of TV3 when there is less than 42 in 2007 and less than 29.5 in 2010?

Context: CREATE TABLE table_name_36 (tv_station__operator_ VARCHAR)

SELECT MAX(2005) FROM table_name_36 WHERE 2007 < 42 AND tv_station__operator_ = "tv3" AND 2010 < 29.5


Question: What date had Alexander Krasnorutskiy as a partner with a score of 6–3, 4–6, 6–2?

Context: CREATE TABLE table_name_2 (date VARCHAR, partner VARCHAR, score VARCHAR)

SELECT date FROM table_name_2 WHERE partner = "alexander krasnorutskiy" AND score = "6–3, 4–6, 6–2"


Question: Which IHSAA Class has a Mascot of eagles, and a City of evansville?

Context: CREATE TABLE table_name_93 (ihsaa_class VARCHAR, mascot VARCHAR, city VARCHAR)

SELECT ihsaa_class FROM table_name_93 WHERE mascot = "eagles" AND city = "evansville"


Question: Which City has a School of indianapolis brebeuf?

Context: CREATE TABLE table_name_54 (city VARCHAR, school VARCHAR)

SELECT city FROM table_name_54 WHERE school = "indianapolis brebeuf"


Question: How much Enrollment has a School of indianapolis tindley?

Context: CREATE TABLE table_name_32 (enrollment VARCHAR, school VARCHAR)

SELECT COUNT(enrollment) FROM table_name_32 WHERE school = "indianapolis tindley"


Question: Which County has an IHSAA Class of aaaa, and a Mascot of cardinals?

Context: CREATE TABLE table_name_70 (county VARCHAR, ihsaa_class VARCHAR, mascot VARCHAR)

SELECT county FROM table_name_70 WHERE ihsaa_class = "aaaa" AND mascot = "cardinals"


Question: How many Total Goals values have 0 League Cup Goals?

Context: CREATE TABLE table_name_27 (total_goals VARCHAR, league_cup_goals INTEGER)

SELECT COUNT(total_goals) FROM table_name_27 WHERE league_cup_goals < 0


Question: What is the smallest number of FA Cup Goals for players with 4 FA Cup Appearances, 49 Total Appearances, and more than 17 total goals?

Context: CREATE TABLE table_name_55 (fa_cup_goals INTEGER, total_goals VARCHAR, fa_cup_apps VARCHAR, total_apps VARCHAR)

SELECT MIN(fa_cup_goals) FROM table_name_55 WHERE fa_cup_apps = "4" AND total_apps = "49" AND total_goals > 17


Question: What is the average number of League Goals for palyers with 0 FA Cup Goals?

Context: CREATE TABLE table_name_26 (league_goals INTEGER, fa_cup_goals INTEGER)

SELECT AVG(league_goals) FROM table_name_26 WHERE fa_cup_goals < 0


Question: what is the highest silver when the total is 4 and bronze is less than 1?

Context: CREATE TABLE table_name_54 (silver INTEGER, total VARCHAR, bronze VARCHAR)

SELECT MAX(silver) FROM table_name_54 WHERE total = "4" AND bronze < 1


Question: what is the gold when the bronze is 1, total is 6 and silver is less than 3?

Context: CREATE TABLE table_name_2 (gold INTEGER, silver VARCHAR, bronze VARCHAR, total VARCHAR)

SELECT SUM(gold) FROM table_name_2 WHERE bronze = 1 AND total = "6" AND silver < 3


Question: What is province of community with height larger than 1.8 and is in el cibao region?

Context: CREATE TABLE table_name_82 (province VARCHAR, _community VARCHAR, geographical_regions VARCHAR, height VARCHAR)

SELECT province, _community FROM table_name_82 WHERE geographical_regions = "el cibao" AND height > 1.8


Question: What contestant is from santo domingo este and has height smaller than 1.79?

Context: CREATE TABLE table_name_7 (contestant VARCHAR, height VARCHAR, hometown VARCHAR)

SELECT contestant FROM table_name_7 WHERE height < 1.79 AND hometown = "santo domingo este"


Question: what is the previous conference when the year joined is 1932 and the mascot is tigers?

Context: CREATE TABLE table_name_46 (previous_conference VARCHAR, year_joined VARCHAR, mascot VARCHAR)

SELECT previous_conference FROM table_name_46 WHERE year_joined = "1932" AND mascot = "tigers"


Question: what is the school when the location is rochester?

Context: CREATE TABLE table_name_60 (school VARCHAR, location VARCHAR)

SELECT school FROM table_name_60 WHERE location = "rochester"


Question: what is the location when the school is muncie burris?

Context: CREATE TABLE table_name_71 (location VARCHAR, school VARCHAR)

SELECT location FROM table_name_71 WHERE school = "muncie burris"


Question: what is the mascot when the school is warsaw?

Context: CREATE TABLE table_name_25 (mascot VARCHAR, school VARCHAR)

SELECT mascot FROM table_name_25 WHERE school = "warsaw"


Question: what is the mascot when the county is 43 kosciusko?

Context: CREATE TABLE table_name_82 (mascot VARCHAR, county VARCHAR)

SELECT mascot FROM table_name_82 WHERE county = "43 kosciusko"


Question: what is the county when the year left is 1998?

Context: CREATE TABLE table_name_36 (county VARCHAR, year_left VARCHAR)

SELECT county FROM table_name_36 WHERE year_left = "1998"


Question: which Film has a Category of best actress – musical or comedy, and a Lost to of nicole kidman ( moulin rouge! )?

Context: CREATE TABLE table_name_23 (film VARCHAR, category VARCHAR, lost_to VARCHAR)

SELECT film FROM table_name_23 WHERE category = "best actress – musical or comedy" AND lost_to = "nicole kidman ( moulin rouge! )"


Question: which Category has a Result of nominated, and a Lost to of jennifer westfeldt ( kissing jessica stein )?

Context: CREATE TABLE table_name_40 (category VARCHAR, result VARCHAR, lost_to VARCHAR)

SELECT category FROM table_name_40 WHERE result = "nominated" AND lost_to = "jennifer westfeldt ( kissing jessica stein )"


Question: Which the Lost to is in 2000

Context: CREATE TABLE table_name_35 (lost_to VARCHAR, year VARCHAR)

SELECT lost_to FROM table_name_35 WHERE year = 2000


Question: What is the average attendance for games against the Pittsburgh Steelers when the opponents scored more than 0 points?

Context: CREATE TABLE table_name_2 (attendance INTEGER, opponent VARCHAR, opponents VARCHAR)

SELECT AVG(attendance) FROM table_name_2 WHERE opponent = "pittsburgh steelers" AND opponents > 0


Question: Who is the team that has a pick less than 154 and an offensive guard position?

Context: CREATE TABLE table_name_8 (team VARCHAR, position VARCHAR, pick VARCHAR)

SELECT team FROM table_name_8 WHERE position = "offensive guard" AND pick < 154


Question: What is the Attendance of Game 24?

Context: CREATE TABLE table_name_94 (attendance INTEGER, game VARCHAR)

SELECT SUM(attendance) FROM table_name_94 WHERE game = 24


Question: What is the Venue of Game 41 with a Score F–A of 1–2?

Context: CREATE TABLE table_name_91 (venue VARCHAR, score_f_a VARCHAR, game VARCHAR)

SELECT venue FROM table_name_91 WHERE score_f_a = "1–2" AND game = 41


Question: Who are the opponents in the February 19, 1996 final?

Context: CREATE TABLE table_name_30 (opponents_in_the_final VARCHAR, date VARCHAR)

SELECT opponents_in_the_final FROM table_name_30 WHERE date = "february 19, 1996"


Question: What was the final score on March 22, 1993?

Context: CREATE TABLE table_name_24 (score_in_the_final VARCHAR, date VARCHAR)

SELECT score_in_the_final FROM table_name_24 WHERE date = "march 22, 1993"


Question: What is the outcome on June 9, 1997?

Context: CREATE TABLE table_name_57 (outcome VARCHAR, date VARCHAR)

SELECT outcome FROM table_name_57 WHERE date = "june 9, 1997"


Question: What school has an  IHSAA Class of aaa, and their mascot is Tiger Cubs?

Context: CREATE TABLE table_name_50 (school VARCHAR, ihsaa_class VARCHAR, mascot VARCHAR)

SELECT school FROM table_name_50 WHERE ihsaa_class = "aaa" AND mascot = "tiger cubs"


Question: What is the IHSAA Football Class for county 67 putnam at Greencastle?

Context: CREATE TABLE table_name_16 (ihsaa_football_class VARCHAR, county VARCHAR, school VARCHAR)

SELECT ihsaa_football_class FROM table_name_16 WHERE county = "67 putnam" AND school = "greencastle"


Question: What school has more than 533 enrolled and is an IHSAA Football Class of aa?

Context: CREATE TABLE table_name_27 (school VARCHAR, enrollment VARCHAR, ihsaa_football_class VARCHAR)

SELECT school FROM table_name_27 WHERE enrollment > 533 AND ihsaa_football_class = "aa"


Question: Where is the IHSAA Class of aaa school with more than 590 enrolled?

Context: CREATE TABLE table_name_1 (location VARCHAR, ihsaa_class VARCHAR, enrollment VARCHAR)

SELECT location FROM table_name_1 WHERE ihsaa_class = "aaa" AND enrollment > 590


Question: Which location has 111 as the days held?

Context: CREATE TABLE table_name_4 (location VARCHAR, days_held VARCHAR)

SELECT location FROM table_name_4 WHERE days_held = "111"


Question: What days held has 1 as the reign with eden black as the wrestlers?

Context: CREATE TABLE table_name_2 (days_held VARCHAR, reign VARCHAR, wrestlers VARCHAR)

SELECT days_held FROM table_name_2 WHERE reign = "1" AND wrestlers = "eden black"


Question: What wrestlers have summer brawl 2006 as the event?

Context: CREATE TABLE table_name_71 (wrestlers VARCHAR, event VARCHAR)

SELECT wrestlers FROM table_name_71 WHERE event = "summer brawl 2006"


Question: What is the average amount of points larger than 154 laps?

Context: CREATE TABLE table_name_87 (points INTEGER, laps INTEGER)

SELECT AVG(points) FROM table_name_87 WHERE laps > 154


Question: What home team played against Crystal Palace?

Context: CREATE TABLE table_name_68 (home_team VARCHAR, away_team VARCHAR)

SELECT home_team FROM table_name_68 WHERE away_team = "crystal palace"


Question: What is the lowest win % with a 0-2 record and more than 2 apps?

Context: CREATE TABLE table_name_39 (win__percentage INTEGER, record VARCHAR, apps VARCHAR)

SELECT MIN(win__percentage) FROM table_name_39 WHERE record = "0-2" AND apps > 2


Question: What is the lowest apps for rank 3 and 0% wins?

Context: CREATE TABLE table_name_33 (apps INTEGER, rank VARCHAR, win__percentage VARCHAR)

SELECT MIN(apps) FROM table_name_33 WHERE rank = 3 AND win__percentage < 0


Question: What artist had a peak position under 2, and more than 200,000 in sales?

Context: CREATE TABLE table_name_87 (artist VARCHAR, peak_position VARCHAR, sales VARCHAR)

SELECT artist FROM table_name_87 WHERE peak_position < 2 AND sales > 200 OFFSET 000


Question: Which points has place smaller than 2?

Context: CREATE TABLE table_name_39 (points VARCHAR, place INTEGER)

SELECT points FROM table_name_39 WHERE place < 2


Question: What's the size of Centerville in 89 Wayne county with an IHSAA class of AA in the year before 1974?

Context: CREATE TABLE table_name_61 (size VARCHAR, school VARCHAR, _number___county VARCHAR, year_joined VARCHAR, ihsaa_class VARCHAR)

SELECT size FROM table_name_61 WHERE year_joined < 1974 AND ihsaa_class = "aa" AND _number___county = "89 wayne" AND school = "centerville"


Question: What's the year that Hagerstown joined?

Context: CREATE TABLE table_name_66 (year_joined VARCHAR, school VARCHAR)

SELECT year_joined FROM table_name_66 WHERE school = "hagerstown"


Question: What county is Fountain City?

Context: CREATE TABLE table_name_8 (_number___county VARCHAR, location VARCHAR)

SELECT _number___county FROM table_name_8 WHERE location = "fountain city"


Question: What's the previous conference of Fountain City with a size more than 287?

Context: CREATE TABLE table_name_88 (previous_conference VARCHAR, size VARCHAR, location VARCHAR)

SELECT previous_conference FROM table_name_88 WHERE size > 287 AND location = "fountain city"


Question: What is the social democrat released on October 10, 1999?

Context: CREATE TABLE table_name_94 (social_democratic VARCHAR, date_released VARCHAR)

SELECT social_democratic FROM table_name_94 WHERE date_released = "october 10, 1999"


Question: What is the green-communist with a 15.5% lead?

Context: CREATE TABLE table_name_82 (green_communist VARCHAR, lead VARCHAR)

SELECT green_communist FROM table_name_82 WHERE lead = "15.5%"


Question: What is the left bloc with a 49.0% socialist?

Context: CREATE TABLE table_name_33 (left_bloc VARCHAR, socialist VARCHAR)

SELECT left_bloc FROM table_name_33 WHERE socialist = "49.0%"


Question: Which polling institute has a 30.7% for social democratic?

Context: CREATE TABLE table_name_81 (polling_institute VARCHAR, social_democratic VARCHAR)

SELECT polling_institute FROM table_name_81 WHERE social_democratic = "30.7%"


Question: What is the week with w 31-21 result?

Context: CREATE TABLE table_name_7 (week VARCHAR, result VARCHAR)

SELECT week FROM table_name_7 WHERE result = "w 31-21"


Question: In week 7, what was the average attendance?

Context: CREATE TABLE table_name_74 (attendance INTEGER, week VARCHAR)

SELECT AVG(attendance) FROM table_name_74 WHERE week = 7


Question: Who was the opponent on september 10, 1979?

Context: CREATE TABLE table_name_28 (opponent VARCHAR, date VARCHAR)

SELECT opponent FROM table_name_28 WHERE date = "september 10, 1979"


Question: When was twenty released?

Context: CREATE TABLE table_name_16 (date_of_release VARCHAR, title VARCHAR)

SELECT date_of_release FROM table_name_16 WHERE title = "twenty"


Question: On what date was god & guns released?

Context: CREATE TABLE table_name_15 (date_of_release VARCHAR, title VARCHAR)

SELECT date_of_release FROM table_name_15 WHERE title = "god & guns"


Question: What was the Billboard peak for the album released on September 12, 2000 by sanctuary?

Context: CREATE TABLE table_name_93 (billboard_peak VARCHAR, label VARCHAR, date_of_release VARCHAR)

SELECT billboard_peak FROM table_name_93 WHERE label = "sanctuary" AND date_of_release = "september 12, 2000"


Question: Where did god & guns peak on the Billboard?

Context: CREATE TABLE table_name_52 (billboard_peak VARCHAR, title VARCHAR)

SELECT billboard_peak FROM table_name_52 WHERE title = "god & guns"


Question: What was the Billboard peak for the album released on February 2, 1976 by MCA?

Context: CREATE TABLE table_name_95 (billboard_peak VARCHAR, label VARCHAR, date_of_release VARCHAR)

SELECT billboard_peak FROM table_name_95 WHERE label = "mca" AND date_of_release = "february 2, 1976"


Question: What venue was the tour match against eastern province played at with more than 0 against?

Context: CREATE TABLE table_name_31 (venue VARCHAR, opposing_team VARCHAR, status VARCHAR, against VARCHAR)

SELECT venue FROM table_name_31 WHERE status = "tour match" AND against > 0 AND opposing_team = "eastern province"


Question: What is the status of the game where there was more than 22 against?

Context: CREATE TABLE table_name_20 (status VARCHAR, against INTEGER)

SELECT status FROM table_name_20 WHERE against > 22


Question: In which game did the opponents score 14 points?

Context: CREATE TABLE table_name_41 (game VARCHAR, opponents VARCHAR)

SELECT game FROM table_name_41 WHERE opponents = "14"


Question: What was the streak after the game on Dec. 12?

Context: CREATE TABLE table_name_18 (streak VARCHAR, date VARCHAR)

SELECT streak FROM table_name_18 WHERE date = "dec. 12"


Question: What's the AMT 3.0 when it has a feature of Vlan Settings for Intel AMT Network Interfaces?

Context: CREATE TABLE table_name_76 (amt_30__desktop_ VARCHAR, feature VARCHAR)

SELECT amt_30__desktop_ FROM table_name_76 WHERE feature = "vlan settings for intel amt network interfaces"


Question: What is the number of silver when bronze is 0, and rank is less than 2?

Context: CREATE TABLE table_name_5 (silver INTEGER, bronze VARCHAR, rank VARCHAR)

SELECT SUM(silver) FROM table_name_5 WHERE bronze = 0 AND rank < 2


Question: What is the silver when the Total is 1, and Gold is 1?

Context: CREATE TABLE table_name_64 (silver INTEGER, total VARCHAR, gold VARCHAR)

SELECT AVG(silver) FROM table_name_64 WHERE total = 1 AND gold = 1


Question: What is the number of silver when the total is less than 1?

Context: CREATE TABLE table_name_35 (silver VARCHAR, total INTEGER)

SELECT COUNT(silver) FROM table_name_35 WHERE total < 1


Question: What is the largest silver number when the rank is smaller than 1?

Context: CREATE TABLE table_name_92 (silver INTEGER, rank INTEGER)

SELECT MAX(silver) FROM table_name_92 WHERE rank < 1


Question: What is the number of bronze when the total is smaller than 1?

Context: CREATE TABLE table_name_58 (bronze INTEGER, total INTEGER)

SELECT AVG(bronze) FROM table_name_58 WHERE total < 1


Question: What is the highest number of bronze when silver is larger than 0, rank is larger than 3?

Context: CREATE TABLE table_name_69 (bronze INTEGER, silver VARCHAR, rank VARCHAR)

SELECT MAX(bronze) FROM table_name_69 WHERE silver > 0 AND rank > 3


Question: What is the lowest number of silvers for countries in rank 12 with more than 0 bronze?

Context: CREATE TABLE table_name_73 (silver INTEGER, rank VARCHAR, bronze VARCHAR)

SELECT MIN(silver) FROM table_name_73 WHERE rank = "12" AND bronze > 0


Question: What is the most number of silvers for teams in rank 5 with more than 6 total medals?

Context: CREATE TABLE table_name_43 (silver INTEGER, rank VARCHAR, total VARCHAR)

SELECT MAX(silver) FROM table_name_43 WHERE rank = "5" AND total > 6


Question: What is the fewest number of golds for teams with a total of 3 and fewer than 2 silvers?

Context: CREATE TABLE table_name_59 (gold INTEGER, total VARCHAR, silver VARCHAR)

SELECT MIN(gold) FROM table_name_59 WHERE total = 3 AND silver < 2


Question: What's the number of wins when the flags were less than 8 and 52.11% of wins?

Context: CREATE TABLE table_name_60 (wins VARCHAR, percentage_wins VARCHAR, flags VARCHAR)

SELECT COUNT(wins) FROM table_name_60 WHERE percentage_wins = "52.11%" AND flags < 8


Question: What's the most flags that had 473 wins and less than 633 losses?

Context: CREATE TABLE table_name_90 (flags INTEGER, wins VARCHAR, losses VARCHAR)

SELECT MAX(flags) FROM table_name_90 WHERE wins = 473 AND losses < 633


Question: How many wins did South Warrnambool have that had more than 6 flags and a draw greater than 10?

Context: CREATE TABLE table_name_77 (wins VARCHAR, club VARCHAR, flags VARCHAR, draws VARCHAR)

SELECT wins FROM table_name_77 WHERE flags > 6 AND draws > 10 AND club = "south warrnambool"


Question: What are the losses of Warrnambool with a draw less than 19?

Context: CREATE TABLE table_name_8 (losses INTEGER, club VARCHAR, draws VARCHAR)

SELECT AVG(losses) FROM table_name_8 WHERE club = "warrnambool" AND draws < 19


Question: What is the Location of the Competition with a Rank-Final of 10?

Context: CREATE TABLE table_name_63 (location VARCHAR, rank_final VARCHAR)

SELECT location FROM table_name_63 WHERE rank_final = "10"


Question: How many gold medals for Bulgaria (BUL) with 2 silvers and a less than 18 rank?

Context: CREATE TABLE table_name_61 (gold INTEGER, rank VARCHAR, silver VARCHAR, nation VARCHAR)

SELECT SUM(gold) FROM table_name_61 WHERE silver = 2 AND nation = "bulgaria (bul)" AND rank < 18


Question: What's the most bronze medals for Great Britain (GBR) with more than 1 silver and ranked more than 6?

Context: CREATE TABLE table_name_35 (bronze INTEGER, silver VARCHAR, rank VARCHAR, nation VARCHAR)

SELECT MAX(bronze) FROM table_name_35 WHERE rank > 6 AND nation = "great britain (gbr)" AND silver > 1


Question: What's the total silver medals having less than 2 gold and 2 bronze?

Context: CREATE TABLE table_name_29 (silver VARCHAR, bronze VARCHAR, gold VARCHAR)

SELECT COUNT(silver) FROM table_name_29 WHERE bronze = 2 AND gold < 2


Question: Which Name has a Championship larger than 2, and a Total larger than 4, and an FA Cup larger than 0?

Context: CREATE TABLE table_name_72 (name VARCHAR, fa_cup VARCHAR, championship VARCHAR, total VARCHAR)

SELECT name FROM table_name_72 WHERE championship > 2 AND total > 4 AND fa_cup > 0


Question: Which Video has a Channel smaller than 35.66, and a Programming of nhk world?

Context: CREATE TABLE table_name_1 (video VARCHAR, channel VARCHAR, programming VARCHAR)

SELECT video FROM table_name_1 WHERE channel < 35.66 AND programming = "nhk world"


Question: Which Video has a PSIP Short Name of rt?

Context: CREATE TABLE table_name_53 (video VARCHAR, psip_short_name VARCHAR)

SELECT video FROM table_name_53 WHERE psip_short_name = "rt"


Question: Which Programming has a Channel of 35.4?

Context: CREATE TABLE table_name_14 (programming VARCHAR, channel VARCHAR)

SELECT programming FROM table_name_14 WHERE channel = 35.4


Question: How many times is the country ireland and points more than 4?

Context: CREATE TABLE table_name_31 (vuelta_wins VARCHAR, country VARCHAR, points VARCHAR)

SELECT COUNT(vuelta_wins) FROM table_name_31 WHERE country = "ireland" AND points > 4


Question: What is the format for the MHCP-66 Catalog?

Context: CREATE TABLE table_name_24 (format VARCHAR, catalog VARCHAR)

SELECT format FROM table_name_24 WHERE catalog = "mhcp-66"


Question: What Catalog came out on August 20, 1965?

Context: CREATE TABLE table_name_21 (catalog VARCHAR, date VARCHAR)

SELECT catalog FROM table_name_21 WHERE date = "august 20, 1965"


Question: What is the catalog with an LP Format and under the Simply Vinyl label?

Context: CREATE TABLE table_name_62 (catalog VARCHAR, format VARCHAR, label VARCHAR)

SELECT catalog FROM table_name_62 WHERE format = "lp" AND label = "simply vinyl"


Question: What date had a CD format, under Columbia/Legacy from the UK?

Context: CREATE TABLE table_name_77 (date VARCHAR, country VARCHAR, format VARCHAR, label VARCHAR)

SELECT date FROM table_name_77 WHERE format = "cd" AND label = "columbia/legacy" AND country = "uk"


Question: What country has an LP format, catalog s 31503?

Context: CREATE TABLE table_name_20 (country VARCHAR, format VARCHAR, catalog VARCHAR)

SELECT country FROM table_name_20 WHERE format = "lp" AND catalog = "s 31503"


Question: What is the format for Catalog CL 2372?

Context: CREATE TABLE table_name_96 (format VARCHAR, catalog VARCHAR)

SELECT format FROM table_name_96 WHERE catalog = "cl 2372"


Question: What event has european championships as the tournament, with 2006 as the year?

Context: CREATE TABLE table_name_61 (event VARCHAR, tournament VARCHAR, year VARCHAR)

SELECT event FROM table_name_61 WHERE tournament = "european championships" AND year = 2006


Question: What average year has international meeting & national championships as the tournament?

Context: CREATE TABLE table_name_64 (year INTEGER, tournament VARCHAR)

SELECT AVG(year) FROM table_name_64 WHERE tournament = "international meeting & national championships"


Question: What is the lowest year that has hypo-meeting as the tournament, with 8002 as the points?

Context: CREATE TABLE table_name_52 (year INTEGER, tournament VARCHAR, points VARCHAR)

SELECT MIN(year) FROM table_name_52 WHERE tournament = "hypo-meeting" AND points = "8002"


Question: Who was the opponent in the match that lasted 4:17?

Context: CREATE TABLE table_name_58 (opponent VARCHAR, time VARCHAR)

SELECT opponent FROM table_name_58 WHERE time = "4:17"


Question: Where was the match that lasted less than 3 rounds and was won by submission (triangle choke)?

Context: CREATE TABLE table_name_21 (location VARCHAR, round VARCHAR, method VARCHAR)

SELECT location FROM table_name_21 WHERE round < 3 AND method = "submission (triangle choke)"


Question: Which event had Carlos Alexandre Pereira as opponent?

Context: CREATE TABLE table_name_55 (event VARCHAR, opponent VARCHAR)

SELECT event FROM table_name_55 WHERE opponent = "carlos alexandre pereira"


Question: Where was the match that resulted in a win in 4:16 held?

Context: CREATE TABLE table_name_44 (location VARCHAR, res VARCHAR, time VARCHAR)

SELECT location FROM table_name_44 WHERE res = "win" AND time = "4:16"


Question: What's the population that has a median family income of $50,553?

Context: CREATE TABLE table_name_1 (population VARCHAR, median_family_income VARCHAR)

SELECT COUNT(population) FROM table_name_1 WHERE median_family_income = "$50,553"


Question: What is the highest rank for the team of egypt?

Context: CREATE TABLE table_name_58 (rank INTEGER, country VARCHAR)

SELECT MAX(rank) FROM table_name_58 WHERE country = "egypt"


Question: Who was the athlete from egypt with q in the notes?

Context: CREATE TABLE table_name_50 (athlete VARCHAR, notes VARCHAR, country VARCHAR)

SELECT athlete FROM table_name_50 WHERE notes = "q" AND country = "egypt"


Question: What is the 2FM for SW Ireland?

Context: CREATE TABLE table_name_91 (service_area VARCHAR)

SELECT 2 AS fm__mhz_ FROM table_name_91 WHERE service_area = "sw ireland"


Question: Name Event of Medal of gold and a Name of duncan white?

Context: CREATE TABLE table_name_18 (event VARCHAR, medal VARCHAR, name VARCHAR)

SELECT event FROM table_name_18 WHERE medal = "gold" AND name = "duncan white"


Question: Name the Event of the Games of 1950 auckland and a Medal of bronze?

Context: CREATE TABLE table_name_60 (event VARCHAR, games VARCHAR, medal VARCHAR)

SELECT event FROM table_name_60 WHERE games = "1950 auckland" AND medal = "bronze"


Question: Which Medal has a Name of alex obeyesekera?

Context: CREATE TABLE table_name_14 (medal VARCHAR, name VARCHAR)

SELECT medal FROM table_name_14 WHERE name = "alex obeyesekera"


Question: Which Event has a Medal of gold and a Name of barney henricus?

Context: CREATE TABLE table_name_69 (event VARCHAR, medal VARCHAR, name VARCHAR)

SELECT event FROM table_name_69 WHERE medal = "gold" AND name = "barney henricus"


Question: Name the Event of sudesh peiris?

Context: CREATE TABLE table_name_93 (event VARCHAR, name VARCHAR)

SELECT event FROM table_name_93 WHERE name = "sudesh peiris"


Question: What year was the developer(s) Bioware?

Context: CREATE TABLE table_name_59 (year INTEGER, developer_s_ VARCHAR)

SELECT AVG(year) FROM table_name_59 WHERE developer_s_ = "bioware"


Question: What is the genre for 2009 on Playstation 3?

Context: CREATE TABLE table_name_9 (genre VARCHAR, year VARCHAR, platform_s_ VARCHAR)

SELECT genre FROM table_name_9 WHERE year > 2009 AND platform_s_ = "playstation 3"


Question: Which result has a recipients and nominees of outstanding achievement in drama with 1995 as the year?

Context: CREATE TABLE table_name_87 (result VARCHAR, recipients_and_nominees VARCHAR, year VARCHAR)

SELECT result FROM table_name_87 WHERE recipients_and_nominees = "outstanding achievement in drama" AND year = 1995


Question: What recipients and nominees have outstanding achievement in drama as the category with 1994 as the year?

Context: CREATE TABLE table_name_93 (recipients_and_nominees VARCHAR, category VARCHAR, year VARCHAR)

SELECT recipients_and_nominees FROM table_name_93 WHERE category = "outstanding achievement in drama" AND year = 1994


Question: What result has outstanding achievement in drama, as the role/episode with a year prior to 1995?

Context: CREATE TABLE table_name_48 (result VARCHAR, role_episode VARCHAR, year VARCHAR)

SELECT result FROM table_name_48 WHERE role_episode = "outstanding achievement in drama" AND year < 1995


Question: What is the total for Danny Pinheiro Rodrigues ( fra ), in a Position smaller than 7?

Context: CREATE TABLE table_name_37 (total INTEGER, gymnast VARCHAR, position VARCHAR)

SELECT AVG(total) FROM table_name_37 WHERE gymnast = "danny pinheiro rodrigues ( fra )" AND position < 7


Question: What is the total for Chen Yibing ( chn ), when his B Score was smaller than 9.225?

Context: CREATE TABLE table_name_87 (total VARCHAR, gymnast VARCHAR, b_score VARCHAR)

SELECT COUNT(total) FROM table_name_87 WHERE gymnast = "chen yibing ( chn )" AND b_score < 9.225


Question: What is the A Score when the B Score is more than 9.05, and the total is less than 16.525?

Context: CREATE TABLE table_name_54 (a_score VARCHAR, b_score VARCHAR, total VARCHAR)

SELECT COUNT(a_score) FROM table_name_54 WHERE b_score > 9.05 AND total < 16.525


Question: What is the position for Oleksandr Vorobiov ( ukr ), when the total was larger than 16.25?

Context: CREATE TABLE table_name_58 (position VARCHAR, gymnast VARCHAR, total VARCHAR)

SELECT COUNT(position) FROM table_name_58 WHERE gymnast = "oleksandr vorobiov ( ukr )" AND total > 16.25


Question: What is the total for Robert Stanescu ( rou ), when the B Score is larger than 8.75?

Context: CREATE TABLE table_name_40 (total INTEGER, gymnast VARCHAR, b_score VARCHAR)

SELECT SUM(total) FROM table_name_40 WHERE gymnast = "robert stanescu ( rou )" AND b_score > 8.75


Question: Poland has what notes?

Context: CREATE TABLE table_name_75 (notes VARCHAR, country VARCHAR)

SELECT notes FROM table_name_75 WHERE country = "poland"


Question: What is Croatia's rank?

Context: CREATE TABLE table_name_85 (rank VARCHAR, country VARCHAR)

SELECT rank FROM table_name_85 WHERE country = "croatia"


Question: When rank is 5, what is the rowers?

Context: CREATE TABLE table_name_32 (rowers VARCHAR, rank VARCHAR)

SELECT rowers FROM table_name_32 WHERE rank = 5


Question: What is the average rank for Denmark?

Context: CREATE TABLE table_name_33 (rank INTEGER, country VARCHAR)

SELECT AVG(rank) FROM table_name_33 WHERE country = "denmark"


Question: What is the end of the term for Kadima that started on 18 January 2006?

Context: CREATE TABLE table_name_6 (term_end VARCHAR, party VARCHAR, term_start VARCHAR)

SELECT term_end FROM table_name_6 WHERE party = "kadima" AND term_start = "18 january 2006"


Question: Whose term started on 4 May 2006?

Context: CREATE TABLE table_name_35 (minister VARCHAR, term_start VARCHAR)

SELECT minister FROM table_name_35 WHERE term_start = "4 may 2006"


Question: What's the number of bronze when they are ranked 29, had a total more than 3 and less than 2 golds?

Context: CREATE TABLE table_name_71 (bronze INTEGER, total VARCHAR, gold VARCHAR, rank VARCHAR)

SELECT MIN(bronze) FROM table_name_71 WHERE gold < 2 AND rank = "29" AND total > 3


Question: What's the bronze medal count for Rank 33 when the silver count was less than 2 and the total was more than 4?

Context: CREATE TABLE table_name_51 (bronze INTEGER, rank VARCHAR, silver VARCHAR, total VARCHAR)

SELECT MAX(bronze) FROM table_name_51 WHERE silver < 2 AND total > 4 AND rank = "33"


Question: How many silver for rank 22 when gold count was more than 0 and Bronze count was less than 5?

Context: CREATE TABLE table_name_45 (silver INTEGER, rank VARCHAR, bronze VARCHAR, gold VARCHAR)

SELECT SUM(silver) FROM table_name_45 WHERE bronze < 5 AND gold > 0 AND rank = "22"


Question: What's the bronze count for South Africa (RSA) with a total more than 16?

Context: CREATE TABLE table_name_64 (bronze INTEGER, nation VARCHAR, total VARCHAR)

SELECT MAX(bronze) FROM table_name_64 WHERE nation = "south africa (rsa)" AND total > 16


Question: What was the lowest election result for President Leonardo Marras with an area smaller than 227,063 people?

Context: CREATE TABLE table_name_29 (election INTEGER, president VARCHAR, inhabitants VARCHAR)

SELECT MIN(election) FROM table_name_29 WHERE president = "leonardo marras" AND inhabitants < 227 OFFSET 063


Question: What is the party affiliation for President Stefano Baccelli?

Context: CREATE TABLE table_name_33 (party VARCHAR, president VARCHAR)

SELECT party FROM table_name_33 WHERE president = "stefano baccelli"


Question: What is the average election result for the province of Grosseto from 1766 and prior?

Context: CREATE TABLE table_name_50 (election INTEGER, province VARCHAR, established VARCHAR)

SELECT AVG(election) FROM table_name_50 WHERE province = "grosseto" AND established < 1766


Question: What is the total number of all bills co-sponsored associated with all amendments sponsored under 15, all bills sponsored of 6, and 0 amendments cosponsored?

Context: CREATE TABLE table_name_80 (all_bills_cosponsored VARCHAR, all_amendments_cosponsored VARCHAR, all_amendments_sponsored VARCHAR, all_bills_sponsored VARCHAR)

SELECT COUNT(all_bills_cosponsored) FROM table_name_80 WHERE all_amendments_sponsored < 15 AND all_bills_sponsored = 6 AND all_amendments_cosponsored < 0


Question: What is the fewest amendments sponsored associated with 150 bills originally cosponsored and over 247 bills cosponsored?

Context: CREATE TABLE table_name_52 (all_amendments_sponsored INTEGER, bills_originally_cosponsored VARCHAR, all_bills_cosponsored VARCHAR)

SELECT MIN(all_amendments_sponsored) FROM table_name_52 WHERE bills_originally_cosponsored = 150 AND all_bills_cosponsored > 247


Question: What is the highest number of bills cosponsored associated with under 24 bills sponsored and under 16 amendments sponsored?

Context: CREATE TABLE table_name_22 (all_bills_cosponsored INTEGER, all_bills_sponsored VARCHAR, all_amendments_sponsored VARCHAR)

SELECT MAX(all_bills_cosponsored) FROM table_name_22 WHERE all_bills_sponsored < 24 AND all_amendments_sponsored < 16


Question: What is the highest number of amendments cosponsored associated with 53 amendments originally cosponsored and over 54 bills sponsored?

Context: CREATE TABLE table_name_25 (all_amendments_cosponsored INTEGER, amendments_originally_cosponsored VARCHAR, all_bills_sponsored VARCHAR)

SELECT MAX(all_amendments_cosponsored) FROM table_name_25 WHERE amendments_originally_cosponsored = 53 AND all_bills_sponsored > 54


Question: What is the number of bills sponsored associated with over 113 bills originally cosponsored and under 47 amendments cosponsored?

Context: CREATE TABLE table_name_57 (all_bills_sponsored VARCHAR, bills_originally_cosponsored VARCHAR, all_amendments_cosponsored VARCHAR)

SELECT all_bills_sponsored FROM table_name_57 WHERE bills_originally_cosponsored > 113 AND all_amendments_cosponsored < 47


Question: What is the Lane of the swimmer from Uzbekistan in Heat 1?

Context: CREATE TABLE table_name_88 (lane VARCHAR, heat VARCHAR, nationality VARCHAR)

SELECT COUNT(lane) FROM table_name_88 WHERE heat = 1 AND nationality = "uzbekistan"


Question: Which station has a frequency of 873khz?

Context: CREATE TABLE table_name_18 (station VARCHAR, frequency VARCHAR)

SELECT station FROM table_name_18 WHERE frequency = "873khz"


Question: Where is the transmitter located for the station voice of vietnam

Context: CREATE TABLE table_name_87 (transmitter_location VARCHAR, station VARCHAR)

SELECT transmitter_location FROM table_name_87 WHERE station = "voice of vietnam"


Question: Which station is from China and has a frequency of 684khz?

Context: CREATE TABLE table_name_79 (station VARCHAR, country_of_origin VARCHAR, frequency VARCHAR)

SELECT station FROM table_name_79 WHERE country_of_origin = "china" AND frequency = "684khz"


Question: Name the Tally of an Opposition of westmeath?

Context: CREATE TABLE table_name_76 (tally VARCHAR, opposition VARCHAR)

SELECT tally FROM table_name_76 WHERE opposition = "westmeath"


Question: What is the horizontal bar score with a pommel horse of n/a, and the position is less than 27, and the parallel bars score is 15.800?

Context: CREATE TABLE table_name_18 (horizontal_bar VARCHAR, parallel_bars VARCHAR, pommel_horse VARCHAR, position VARCHAR)

SELECT horizontal_bar FROM table_name_18 WHERE pommel_horse = "n/a" AND position < 27 AND parallel_bars = "15.800"


Question: What is the score of the floor when the position is less than 21, and less than 81.2 total, and the pommel horse score is 13.925?

Context: CREATE TABLE table_name_1 (floor VARCHAR, pommel_horse VARCHAR, position VARCHAR, total VARCHAR)

SELECT floor FROM table_name_1 WHERE position < 21 AND total < 81.2 AND pommel_horse = "13.925"


Question: Who is the gymnast with a floor score of 14.800?

Context: CREATE TABLE table_name_83 (gymnast VARCHAR, floor VARCHAR)

SELECT gymnast FROM table_name_83 WHERE floor = "14.800"


Question: What horizontal bar score also has a pommel horse score of 15.250?

Context: CREATE TABLE table_name_60 (horizontal_bar VARCHAR, pommel_horse VARCHAR)

SELECT horizontal_bar FROM table_name_60 WHERE pommel_horse = "15.250"


Question: With a parallel bars score of 14.625 what is the average total?

Context: CREATE TABLE table_name_8 (total INTEGER, parallel_bars VARCHAR)

SELECT AVG(total) FROM table_name_8 WHERE parallel_bars = "14.625"


Question: What is the Rank of the Athletes with a Time of 3:43.491?

Context: CREATE TABLE table_name_21 (rank VARCHAR, time VARCHAR)

SELECT COUNT(rank) FROM table_name_21 WHERE time = "3:43.491"


Question: What are the Notes of the Athletes from Germany?

Context: CREATE TABLE table_name_41 (notes VARCHAR, country VARCHAR)

SELECT notes FROM table_name_41 WHERE country = "germany"


Question: What is the Rank of the Athletes from Ukraine?

Context: CREATE TABLE table_name_65 (rank VARCHAR, country VARCHAR)

SELECT COUNT(rank) FROM table_name_65 WHERE country = "ukraine"


Question: What location did Sherry Middaugh win in?

Context: CREATE TABLE table_name_13 (location VARCHAR, winning_skip VARCHAR)

SELECT location FROM table_name_13 WHERE winning_skip = "sherry middaugh"


Question: What event did Patti Lank have the winning skip?

Context: CREATE TABLE table_name_11 (event VARCHAR, winning_skip VARCHAR)

SELECT event FROM table_name_11 WHERE winning_skip = "patti lank"


Question: What date shows Binia Feltscher-Beeli as the runner-up skip?

Context: CREATE TABLE table_name_68 (date VARCHAR, runner_up_skip VARCHAR)

SELECT date FROM table_name_68 WHERE runner_up_skip = "binia feltscher-beeli"


Question: What person was the runner-up skip when Julie Reddick was the winning skip?

Context: CREATE TABLE table_name_61 (runner_up_skip VARCHAR, winning_skip VARCHAR)

SELECT runner_up_skip FROM table_name_61 WHERE winning_skip = "julie reddick"


Question: What's the Yellow fertility rate when Brazil is 0,43407?

Context: CREATE TABLE table_name_94 (yellow_109_percentage VARCHAR, brazil_100_percentage VARCHAR)

SELECT yellow_109_percentage FROM table_name_94 WHERE brazil_100_percentage = "0,43407"


Question: What is the sum of the area in km with a population of 110 in 2011?

Context: CREATE TABLE table_name_59 (area__km_2__ INTEGER, population__2011_ VARCHAR)

SELECT SUM(area__km_2__) FROM table_name_59 WHERE population__2011_ = 110


Question: What is the average population in 2006 that has more than 5 people in 2011 and an area 5.84km?

Context: CREATE TABLE table_name_14 (population__2006_ INTEGER, population__2011_ VARCHAR, area__km_2__ VARCHAR)

SELECT AVG(population__2006_) FROM table_name_14 WHERE population__2011_ > 5 AND area__km_2__ = 5.84


Question: What is the lowest lane with a 0.216 react?

Context: CREATE TABLE table_name_67 (lane INTEGER, react VARCHAR)

SELECT MIN(lane) FROM table_name_67 WHERE react = 0.216


Question: What is the total rank for the lane before 2?

Context: CREATE TABLE table_name_87 (rank INTEGER, lane INTEGER)

SELECT SUM(rank) FROM table_name_87 WHERE lane < 2


Question: What genre is the game from the year 2007?

Context: CREATE TABLE table_name_29 (genre VARCHAR, year VARCHAR)

SELECT genre FROM table_name_29 WHERE year = 2007


Question: What is the Game that came out before the year 2009 for the Playstation 3?

Context: CREATE TABLE table_name_39 (game VARCHAR, platform_s_ VARCHAR, year VARCHAR)

SELECT game FROM table_name_39 WHERE platform_s_ = "playstation 3" AND year < 2009


Question: What is the earliest year that had the Legend of Zelda: Twilight Princess game?

Context: CREATE TABLE table_name_90 (year INTEGER, game VARCHAR)

SELECT MIN(year) FROM table_name_90 WHERE game = "the legend of zelda: twilight princess"


Question: Who was the opponent on November 15, 1981?

Context: CREATE TABLE table_name_70 (opponent VARCHAR, date VARCHAR)

SELECT opponent FROM table_name_70 WHERE date = "november 15, 1981"


Question: Which Debut year has a Player of noel carroll, and Games smaller than 12?

Context: CREATE TABLE table_name_95 (debut_year INTEGER, player VARCHAR, games VARCHAR)

SELECT MAX(debut_year) FROM table_name_95 WHERE player = "noel carroll" AND games < 12


Question: Which Goals have a Player of noel carroll?

Context: CREATE TABLE table_name_4 (goals INTEGER, player VARCHAR)

SELECT MIN(goals) FROM table_name_4 WHERE player = "noel carroll"


Question: How many debut years have Years at club of 1950–1951, and Games larger than 14?

Context: CREATE TABLE table_name_39 (debut_year INTEGER, years_at_club VARCHAR, games VARCHAR)

SELECT SUM(debut_year) FROM table_name_39 WHERE years_at_club = "1950–1951" AND games > 14


Question: Which title has origianal sound entertainment as its label?

Context: CREATE TABLE table_name_85 (title VARCHAR, label VARCHAR)

SELECT title FROM table_name_85 WHERE label = "origianal sound entertainment"


Question: What was the latest year of release for the greatest hits title?

Context: CREATE TABLE table_name_71 (year_of_release INTEGER, title VARCHAR)

SELECT MAX(year_of_release) FROM table_name_71 WHERE title = "greatest hits"


Question: When the country of release is EU, what is the label name?

Context: CREATE TABLE table_name_39 (label VARCHAR, country_of_release VARCHAR)

SELECT label FROM table_name_39 WHERE country_of_release = "eu"


Question: what is the highest latitude when the township is kingsley and the geo id is higher than 3803942820?

Context: CREATE TABLE table_name_24 (latitude INTEGER, township VARCHAR, geo_id VARCHAR)

SELECT MAX(latitude) FROM table_name_24 WHERE township = "kingsley" AND geo_id > 3803942820


Question: what is the latitude when water (sqmi) is 0.058 and the ansi code is less than 1759683?

Context: CREATE TABLE table_name_57 (latitude INTEGER, water__sqmi_ VARCHAR, ansi_code VARCHAR)

SELECT AVG(latitude) FROM table_name_57 WHERE water__sqmi_ = 0.058 AND ansi_code < 1759683


Question: what is the geo id when the longitude is -98.435797 and the land (sqmi) is less than 36.039?

Context: CREATE TABLE table_name_1 (geo_id INTEGER, longitude VARCHAR, land___sqmi__ VARCHAR)

SELECT MAX(geo_id) FROM table_name_1 WHERE longitude = -98.435797 AND land___sqmi__ < 36.039


Question: Name the lowest Year Joined which has a Mascot of pioneers?

Context: CREATE TABLE table_name_93 (year_joined INTEGER, mascot VARCHAR)

SELECT MIN(year_joined) FROM table_name_93 WHERE mascot = "pioneers"


Question: Name the IHSAA Class of Mascot of pioneers?

Context: CREATE TABLE table_name_32 (ihsaa_class VARCHAR, mascot VARCHAR)

SELECT ihsaa_class FROM table_name_32 WHERE mascot = "pioneers"


Question: Name the IHSAA Class of 55 morgan and a School of mooresville?

Context: CREATE TABLE table_name_8 (ihsaa_class VARCHAR, county VARCHAR, school VARCHAR)

SELECT ihsaa_class FROM table_name_8 WHERE county = "55 morgan" AND school = "mooresville"


Question: where is Mascot of quakers?

Context: CREATE TABLE table_name_35 (location VARCHAR, mascot VARCHAR)

SELECT location FROM table_name_35 WHERE mascot = "quakers"


Question: What kind of IHSAA Class has a School of decatur central?

Context: CREATE TABLE table_name_2 (ihsaa_class VARCHAR, school VARCHAR)

SELECT ihsaa_class FROM table_name_2 WHERE school = "decatur central"


Question: What studio had the director Peter Lord Nick Park before 2004?

Context: CREATE TABLE table_name_57 (studio_s_ VARCHAR, year VARCHAR, director VARCHAR)

SELECT studio_s_ FROM table_name_57 WHERE year < 2004 AND director = "peter lord nick park"


Question: What studio did Paul Greengrass direct in 2007?

Context: CREATE TABLE table_name_92 (studio_s_ VARCHAR, year VARCHAR, director VARCHAR)

SELECT studio_s_ FROM table_name_92 WHERE year = 2007 AND director = "paul greengrass"


Question: What is the A score when the B score is more than 9.15 and the gymnast was in the 2nd position?

Context: CREATE TABLE table_name_1 (a_score INTEGER, b_score VARCHAR, position VARCHAR)

SELECT SUM(a_score) FROM table_name_1 WHERE b_score > 9.15 AND position = "2nd"


Question: what is the quantity when the year of manufacture is 1900 and the class is mc?

Context: CREATE TABLE table_name_20 (quantity VARCHAR, year_s__of_manufacture VARCHAR, class VARCHAR)

SELECT quantity FROM table_name_20 WHERE year_s__of_manufacture = "1900" AND class = "mc"


Question: what is the class when the quantity is 4?

Context: CREATE TABLE table_name_96 (class VARCHAR, quantity VARCHAR)

SELECT class FROM table_name_96 WHERE quantity = 4


Question: Who were the opponents on Week 8?

Context: CREATE TABLE table_name_89 (opponent VARCHAR, week VARCHAR)

SELECT opponent FROM table_name_89 WHERE week = 8


Question: When the city is agadir what is the change (12/11)?

Context: CREATE TABLE table_name_8 (change__12_11_ VARCHAR, city VARCHAR)

SELECT change__12_11_ FROM table_name_8 WHERE city = "agadir"


Question: What is the catalog number of Venus Demilo's A-side?

Context: CREATE TABLE table_name_30 (catalog_number VARCHAR, a_side VARCHAR)

SELECT catalog_number FROM table_name_30 WHERE a_side = "venus demilo"


Question: What year did the B-Side of Just Squeeze Me come out?

Context: CREATE TABLE table_name_46 (year VARCHAR, b_side VARCHAR)

SELECT year FROM table_name_46 WHERE b_side = "just squeeze me"


Question: What label has the 817 catalog?

Context: CREATE TABLE table_name_92 (label VARCHAR, catalog_number VARCHAR)

SELECT label FROM table_name_92 WHERE catalog_number = "817"


Question: What is the A-side for it Never Entered My Mind, Part 2?

Context: CREATE TABLE table_name_75 (a_side VARCHAR, b_side VARCHAR)

SELECT a_side FROM table_name_75 WHERE b_side = "it never entered my mind, part 2"


Question: What is the A-side for catalog 902?

Context: CREATE TABLE table_name_87 (a_side VARCHAR, catalog_number VARCHAR)

SELECT a_side FROM table_name_87 WHERE catalog_number = "902"


Question: What is the class of the a1 bm type?

Context: CREATE TABLE table_name_10 (class VARCHAR, type VARCHAR)

SELECT class FROM table_name_10 WHERE type = "a1 bm"


Question: What is the quantity of the aw class?

Context: CREATE TABLE table_name_5 (quantity VARCHAR, class VARCHAR)

SELECT quantity FROM table_name_5 WHERE class = "aw"


Question: What is the class with 1 quantity?

Context: CREATE TABLE table_name_6 (class VARCHAR, quantity VARCHAR)

SELECT class FROM table_name_6 WHERE quantity = "1"


Question: What is the railway number of the aw class?

Context: CREATE TABLE table_name_3 (railway_number_s_ VARCHAR, class VARCHAR)

SELECT railway_number_s_ FROM table_name_3 WHERE class = "aw"


Question: What was the game when the record was 31-15?

Context: CREATE TABLE table_name_80 (game VARCHAR, record VARCHAR)

SELECT game FROM table_name_80 WHERE record = "31-15"


Question: What was the date of the game with a score of W 106-100?

Context: CREATE TABLE table_name_2 (date VARCHAR, score VARCHAR)

SELECT date FROM table_name_2 WHERE score = "w 106-100"


Question: What is the speed for rank 1?

Context: CREATE TABLE table_name_26 (speed VARCHAR, rank VARCHAR)

SELECT speed FROM table_name_26 WHERE rank = "1"


Question: What team has a Rank Ret, and rider Frank A Applebee?

Context: CREATE TABLE table_name_92 (team VARCHAR, rank VARCHAR, rider VARCHAR)

SELECT team FROM table_name_92 WHERE rank = "ret" AND rider = "frank a applebee"


Question: What internet explorer has 29.07% for the chrome?

Context: CREATE TABLE table_name_91 (internet_explorer VARCHAR, chrome VARCHAR)

SELECT internet_explorer FROM table_name_91 WHERE chrome = "29.07%"


Question: What is the other mozilla that has 9.41% for the safari?

Context: CREATE TABLE table_name_71 (other_mozilla VARCHAR, safari VARCHAR)

SELECT other_mozilla FROM table_name_71 WHERE safari = "9.41%"


Question: What other mozilla has January 2010 as the period?

Context: CREATE TABLE table_name_80 (other_mozilla VARCHAR, period VARCHAR)

SELECT other_mozilla FROM table_name_80 WHERE period = "january 2010"


Question: What internet explorer has 7.89% as the safari, and 8.22% as the chrome?

Context: CREATE TABLE table_name_31 (internet_explorer VARCHAR, safari VARCHAR, chrome VARCHAR)

SELECT internet_explorer FROM table_name_31 WHERE safari = "7.89%" AND chrome = "8.22%"


Question: What period has 0.25% as the other mozilla?

Context: CREATE TABLE table_name_66 (period VARCHAR, other_mozilla VARCHAR)

SELECT period FROM table_name_66 WHERE other_mozilla = "0.25%"


Question: Which socket goes with the item with release price of $378 and turbo of 6/6/8/9?

Context: CREATE TABLE table_name_75 (socket VARCHAR, release_price___usd__ VARCHAR, turbo VARCHAR)

SELECT socket FROM table_name_75 WHERE release_price___usd__ = "$378" AND turbo = "6/6/8/9"


Question: What is the L2 cache for the core i7-2635QM?

Context: CREATE TABLE table_name_65 (l2_cache VARCHAR, model_number VARCHAR)

SELECT l2_cache FROM table_name_65 WHERE model_number = "core i7-2635qm"


Question: What is the release price for the GPU frequency of standard power, embedded?

Context: CREATE TABLE table_name_96 (release_price___usd__ VARCHAR, gpu_frequency VARCHAR)

SELECT release_price___usd__ FROM table_name_96 WHERE gpu_frequency = "standard power, embedded"


Question: What is the socked when the turbo is 8/8/10/11?

Context: CREATE TABLE table_name_40 (socket VARCHAR, turbo VARCHAR)

SELECT socket FROM table_name_40 WHERE turbo = "8/8/10/11"


Question: Which round did the bout that led to a 1-0 record end in?

Context: CREATE TABLE table_name_42 (round VARCHAR, record VARCHAR)

SELECT round FROM table_name_42 WHERE record = "1-0"


Question: Which Time has a Lane smaller than 2, and a Nationality of spain?

Context: CREATE TABLE table_name_73 (time VARCHAR, lane VARCHAR, nationality VARCHAR)

SELECT time FROM table_name_73 WHERE lane < 2 AND nationality = "spain"


Question: How many Heats have a Name of miguel molina?

Context: CREATE TABLE table_name_39 (heat VARCHAR, name VARCHAR)

SELECT COUNT(heat) FROM table_name_39 WHERE name = "miguel molina"


Question: what is the league when the fa cup is qr4 and the fa trophy is qf?

Context: CREATE TABLE table_name_46 (league VARCHAR, fa_cup VARCHAR, fa_trophy VARCHAR)

SELECT league FROM table_name_46 WHERE fa_cup = "qr4" AND fa_trophy = "qf"


Question: what is the fa trophy when the leading scorer is lee gregory (8)?

Context: CREATE TABLE table_name_66 (fa_trophy VARCHAR, leading_scorer VARCHAR)

SELECT fa_trophy FROM table_name_66 WHERE leading_scorer = "lee gregory (8)"


Question: what is the year when the position is 1/22 promoted and the leading scorer is james dean (27)?

Context: CREATE TABLE table_name_81 (year VARCHAR, position VARCHAR, leading_scorer VARCHAR)

SELECT year FROM table_name_81 WHERE position = "1/22 promoted" AND leading_scorer = "james dean (27)"


Question: When the Altrincham was the home team what was the tie no?

Context: CREATE TABLE table_name_52 (tie_no VARCHAR, home_team VARCHAR)

SELECT tie_no FROM table_name_52 WHERE home_team = "altrincham"


Question: Crawley Town as the home team has what as the tie no?

Context: CREATE TABLE table_name_77 (tie_no VARCHAR, home_team VARCHAR)

SELECT tie_no FROM table_name_77 WHERE home_team = "crawley town"


Question: What is the nationality of the swimmer with a rank over 2 with a time of 55.77?

Context: CREATE TABLE table_name_47 (nationality VARCHAR, rank VARCHAR, time VARCHAR)

SELECT nationality FROM table_name_47 WHERE rank > 2 AND time = "55.77"


Question: What is the earliest heat with a finisher from the Czech Republic and a rank over 41?

Context: CREATE TABLE table_name_51 (heat INTEGER, nationality VARCHAR, rank VARCHAR)

SELECT MIN(heat) FROM table_name_51 WHERE nationality = "czech republic" AND rank > 41


Question: What is the total number of heats with a finisher named Gregor Tait in lanes over 6?

Context: CREATE TABLE table_name_38 (heat VARCHAR, name VARCHAR, lane VARCHAR)

SELECT COUNT(heat) FROM table_name_38 WHERE name = "gregor tait" AND lane > 6


Question: What is the time of the swimmer in rank 40?

Context: CREATE TABLE table_name_47 (time VARCHAR, rank VARCHAR)

SELECT time FROM table_name_47 WHERE rank = 40


Question: From what series was Tokio Jokio, directed by Norm McCabe?

Context: CREATE TABLE table_name_35 (series VARCHAR, director VARCHAR, title VARCHAR)

SELECT series FROM table_name_35 WHERE director = "norm mccabe" AND title = "tokio jokio"


Question: When was Inki and the Minah Bird released?

Context: CREATE TABLE table_name_71 (release_date VARCHAR, title VARCHAR)

SELECT release_date FROM table_name_71 WHERE title = "inki and the minah bird"


Question: From what series is Peck Up Your Troubles?

Context: CREATE TABLE table_name_66 (series VARCHAR, title VARCHAR)

SELECT series FROM table_name_66 WHERE title = "peck up your troubles"


Question: When the president was Yoweri Museveni, and the year was 1993, with rank of 6 under political rights, what was the total of civil liberties?

Context: CREATE TABLE table_name_78 (civil_liberties INTEGER, year VARCHAR, political_rights VARCHAR, president VARCHAR)

SELECT SUM(civil_liberties) FROM table_name_78 WHERE political_rights = 6 AND president = "yoweri museveni" AND year = 1993


Question: What is the year average when not free was the status, and less than 7 was the civil liberties, and less than 6 political rights?

Context: CREATE TABLE table_name_39 (year INTEGER, political_rights VARCHAR, status VARCHAR, civil_liberties VARCHAR)

SELECT AVG(year) FROM table_name_39 WHERE status = "not free" AND civil_liberties < 7 AND political_rights < 6


Question: What is the least political rights rank in 1976?

Context: CREATE TABLE table_name_54 (political_rights INTEGER, year VARCHAR)

SELECT MIN(political_rights) FROM table_name_54 WHERE year = 1976


Question: What is average ratings for Japanese title of ホタルノヒカリ, with episodes larger than 9?

Context: CREATE TABLE table_name_38 (average_ratings VARCHAR, episodes VARCHAR, japanese_title VARCHAR)

SELECT average_ratings FROM table_name_38 WHERE episodes > 9 AND japanese_title = "ホタルノヒカリ"


Question: Which episodes has the lowest average ratings of 8.7%?

Context: CREATE TABLE table_name_65 (episodes INTEGER, average_ratings VARCHAR)

SELECT MIN(episodes) FROM table_name_65 WHERE average_ratings = "8.7%"


Question: Which romaji title, has Japanese title of 菊次郎とさき 3?

Context: CREATE TABLE table_name_94 (romaji_title VARCHAR, japanese_title VARCHAR)

SELECT romaji_title FROM table_name_94 WHERE japanese_title = "菊次郎とさき 3"


Question: Which TV station, has romaji title of tantei gakuen q and episodes larger than 10?

Context: CREATE TABLE table_name_45 (tv_station VARCHAR, episodes VARCHAR, romaji_title VARCHAR)

SELECT tv_station FROM table_name_45 WHERE episodes > 10 AND romaji_title = "tantei gakuen q"


Question: What is the Almaty, Kazakhstan when Sergey Filimonov ( KAZ ) is 210kg?

Context: CREATE TABLE table_name_17 (almaty_ VARCHAR, _kazakhstan VARCHAR, sergey_filimonov___kaz__ VARCHAR)

SELECT almaty_, _kazakhstan FROM table_name_17 WHERE sergey_filimonov___kaz__ = "210kg"


Question: What shows for Sergey Filimonov (KAZ) when the Snatch shows snatch?

Context: CREATE TABLE table_name_69 (sergey_filimonov___kaz__ VARCHAR)

SELECT sergey_filimonov___kaz__ FROM table_name_69 WHERE "snatch" = "snatch"


Question: What is the Almaty, Kazakhstan when the Sergey Filimonov (KAZ) is 210kg?

Context: CREATE TABLE table_name_42 (almaty_ VARCHAR, _kazakhstan VARCHAR, sergey_filimonov___kaz__ VARCHAR)

SELECT almaty_, _kazakhstan FROM table_name_42 WHERE sergey_filimonov___kaz__ = "210kg"


Question: What year was the main role a character named Guan Yu (關羽)?

Context: CREATE TABLE table_name_89 (year INTEGER, role VARCHAR, character VARCHAR)

SELECT MIN(year) FROM table_name_89 WHERE role = "main" AND character = "guan yu (關羽)"


Question: What is the English character for Lin Ming Kuan (林明寬)?

Context: CREATE TABLE table_name_88 (english VARCHAR, character VARCHAR)

SELECT english FROM table_name_88 WHERE character = "lin ming kuan (林明寬)"


Question: What character has a Year larger than 2010 with a lead role, and Chinese Title of 戀夏38℃?

Context: CREATE TABLE table_name_85 (character VARCHAR, chinese_title VARCHAR, year VARCHAR, role VARCHAR)

SELECT character FROM table_name_85 WHERE year > 2010 AND role = "lead role" AND chinese_title = "戀夏38℃"


Question: What is the year that has a character named Wu Ji Wei (無極威)?

Context: CREATE TABLE table_name_27 (year INTEGER, character VARCHAR)

SELECT AVG(year) FROM table_name_27 WHERE character = "wu ji wei (無極威)"


Question: Which Round has an Opponent of aleksandr pitchkounov?

Context: CREATE TABLE table_name_81 (round INTEGER, opponent VARCHAR)

SELECT MIN(round) FROM table_name_81 WHERE opponent = "aleksandr pitchkounov"


Question: Which Result has a Round of 5, and an Event of mt one?

Context: CREATE TABLE table_name_92 (result VARCHAR, round VARCHAR, event VARCHAR)

SELECT result FROM table_name_92 WHERE round = 5 AND event = "mt one"


Question: Mortlake club has more than 924 against, less than 14 losses, and how many total draws?

Context: CREATE TABLE table_name_66 (draws VARCHAR, losses VARCHAR, against VARCHAR, club VARCHAR)

SELECT COUNT(draws) FROM table_name_66 WHERE against > 924 AND club = "mortlake" AND losses < 14


Question: What is the total number of wins for Cobden club when there are more than 2 draws?

Context: CREATE TABLE table_name_39 (wins INTEGER, club VARCHAR, draws VARCHAR)

SELECT SUM(wins) FROM table_name_39 WHERE club = "cobden" AND draws > 2


Question: When against is 797 and wins is more than 10, what is the sum of draws?

Context: CREATE TABLE table_name_28 (draws VARCHAR, against VARCHAR, wins VARCHAR)

SELECT COUNT(draws) FROM table_name_28 WHERE against = 797 AND wins > 10


Question: Club warrnambool has less than 9 wins and what average of draws?

Context: CREATE TABLE table_name_63 (draws INTEGER, wins VARCHAR, club VARCHAR)

SELECT AVG(draws) FROM table_name_63 WHERE wins < 9 AND club = "warrnambool"


Question: What is the average number of draws for Mortlake club when they have less than 0 wins?

Context: CREATE TABLE table_name_11 (draws INTEGER, club VARCHAR, wins VARCHAR)

SELECT AVG(draws) FROM table_name_11 WHERE club = "mortlake" AND wins < 0


Question: Which Foreign population has a Population (2004) larger than 234733?

Context: CREATE TABLE table_name_26 (foreign_population INTEGER, population__2004_ INTEGER)

SELECT AVG(foreign_population) FROM table_name_26 WHERE population__2004_ > 234733


Question: Which Population (2004) has a Moroccan population larger than 234506?

Context: CREATE TABLE table_name_38 (population__2004_ INTEGER, moroccan_population INTEGER)

SELECT AVG(population__2004_) FROM table_name_38 WHERE moroccan_population > 234506


Question: What date was the opponent VFL Sindelfingen?

Context: CREATE TABLE table_name_98 (date VARCHAR, opponent VARCHAR)

SELECT date FROM table_name_98 WHERE opponent = "vfl sindelfingen"


Question: What date was the attendance 1,804?

Context: CREATE TABLE table_name_44 (date VARCHAR, attendance VARCHAR)

SELECT date FROM table_name_44 WHERE attendance = "1,804"


Question: Who was the opponent with an attendance of 628?

Context: CREATE TABLE table_name_98 (opponent VARCHAR, attendance VARCHAR)

SELECT opponent FROM table_name_98 WHERE attendance = "628"


Question: What bike has a grid greater than 17, laps less than 8, with milos cihak as the rider?

Context: CREATE TABLE table_name_24 (bike VARCHAR, rider VARCHAR, grid VARCHAR, laps VARCHAR)

SELECT bike FROM table_name_24 WHERE grid > 17 AND laps < 8 AND rider = "milos cihak"


Question: What is the highest grid that has gregorio lavilla as the rider?

Context: CREATE TABLE table_name_89 (grid INTEGER, rider VARCHAR)

SELECT MAX(grid) FROM table_name_89 WHERE rider = "gregorio lavilla"


Question: What rider has laps less than 20, a ducati 1098 rs 08 as the bike, with accident as the time, and a grid less than 14?

Context: CREATE TABLE table_name_64 (rider VARCHAR, grid VARCHAR, time VARCHAR, laps VARCHAR, bike VARCHAR)

SELECT rider FROM table_name_64 WHERE laps < 20 AND bike = "ducati 1098 rs 08" AND time = "accident" AND grid < 14


Question: How many overs when there are 5231 runs and fewer than 37 matches?

Context: CREATE TABLE table_name_33 (overs INTEGER, runs VARCHAR, matches VARCHAR)

SELECT SUM(overs) FROM table_name_33 WHERE runs = 5231 AND matches < 37


Question: What are the fewest wickets when player's career spanned 1946-1960 and maidens were more than 419?

Context: CREATE TABLE table_name_84 (wickets INTEGER, career VARCHAR, maidens VARCHAR)

SELECT MIN(wickets) FROM table_name_84 WHERE career = "1946-1960" AND maidens > 419


Question: What is the largest number of wickets when there are more than 630 maidens and a best of 7/72?

Context: CREATE TABLE table_name_55 (wickets INTEGER, maidens VARCHAR, best VARCHAR)

SELECT MAX(wickets) FROM table_name_55 WHERE maidens > 630 AND best = "7/72"


Question: Who has fewer than 2047.3 overs, more than 200 wickets and an average of 29.02?

Context: CREATE TABLE table_name_53 (name VARCHAR, average VARCHAR, overs VARCHAR, wickets VARCHAR)

SELECT name FROM table_name_53 WHERE overs < 2047.3 AND wickets > 200 AND average > 29.02


Question: How many people attended the Scottish Cup on 29.02.2000?

Context: CREATE TABLE table_name_60 (attendance VARCHAR, competition VARCHAR, date VARCHAR)

SELECT attendance FROM table_name_60 WHERE competition = "scottish cup" AND date = "29.02.2000"


Question: What was the score of the league cup in the 2007-08 season?

Context: CREATE TABLE table_name_90 (score VARCHAR, competition VARCHAR, season VARCHAR)

SELECT score FROM table_name_90 WHERE competition = "league cup" AND season = "2007-08"


Question: What is the attendance in the game in the 2010-11 season, when the score was 2–0?

Context: CREATE TABLE table_name_39 (attendance INTEGER, season VARCHAR, score VARCHAR)

SELECT MIN(attendance) FROM table_name_39 WHERE season = "2010-11" AND score = "2–0"


Question: What team was in 1st plate in a year later than 1956?

Context: CREATE TABLE table_name_84 (year INTEGER)

SELECT 1 AS st_place_team FROM table_name_84 WHERE year > 1956


Question: Which base has a company of Theatro Technis Karolos Koun?

Context: CREATE TABLE table_name_59 (base VARCHAR, company VARCHAR)

SELECT base FROM table_name_59 WHERE company = "theatro technis karolos koun"