answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
489
SELECT title FROM table_name_63 WHERE year = 1999
What Title is listed for the Year of 1999?
CREATE TABLE table_name_63 (title VARCHAR, year VARCHAR)
SELECT MIN(place) FROM table_name_94 WHERE total < 24 AND draw > 7
Which Place is the lowest one that has a Total smaller than 24, and a Draw larger than 7?
CREATE TABLE table_name_94 (place INTEGER, total VARCHAR, draw VARCHAR)
SELECT opponent FROM table_name_46 WHERE surface = "hard" AND date = "28 august 1993"
Which Opponent has a Surface of hard on 28 august 1993?
CREATE TABLE table_name_46 (opponent VARCHAR, surface VARCHAR, date VARCHAR)
SELECT COUNT(points) FROM table_name_94 WHERE engine = "maserati straight-4" AND year > 1959
What is the number of points for the maserati straight-4 engine, later than 1959?
CREATE TABLE table_name_94 (points VARCHAR, engine VARCHAR, year VARCHAR)
SELECT position FROM table_name_22 WHERE player = "karl singer"
What position does Karl Singer play?
CREATE TABLE table_name_22 (position VARCHAR, player VARCHAR)
SELECT COUNT(attendance) FROM table_name_41 WHERE date = "december 14, 1975" AND week > 13
What was the total attendance on December 14, 1975 after week 13?
CREATE TABLE table_name_41 (attendance VARCHAR, date VARCHAR, week VARCHAR)
SELECT winning_driver FROM table_26137666_3 WHERE winning_team = "Carlin Motorsport" AND circuit = "Croft"
Who are all winning drivers if winning team is Carlin Motorsport and circuit is Croft?
CREATE TABLE table_26137666_3 (winning_driver VARCHAR, winning_team VARCHAR, circuit VARCHAR)
SELECT COUNT(episode) FROM table_24910733_2 WHERE air_date = "October 17, 2007"
How many episodes aired on October 17, 2007?
CREATE TABLE table_24910733_2 (episode VARCHAR, air_date VARCHAR)
SELECT record FROM table_11964047_7 WHERE score = "W 98–91"
what are all the records with a score is w 98–91
CREATE TABLE table_11964047_7 (record VARCHAR, score VARCHAR)
SELECT COUNT(season) FROM table_name_89 WHERE goals = 1 AND apps > 11
How many seasons have 1 goals and more than 11 apps?
CREATE TABLE table_name_89 (season VARCHAR, goals VARCHAR, apps VARCHAR)
SELECT written_by FROM table_25679312_2 WHERE prod_code = 2
Who wrote the episode with production code 2?
CREATE TABLE table_25679312_2 (written_by VARCHAR, prod_code VARCHAR)
SELECT stage FROM table_28298471_14 WHERE mountains_classification = "Michael Reihs"
When michael reihs is the mountains classification what is the stage?
CREATE TABLE table_28298471_14 (stage VARCHAR, mountains_classification VARCHAR)
SELECT score FROM table_name_59 WHERE set_1 = "19:21"
What is the score for Set 1 at 19:21?
CREATE TABLE table_name_59 (score VARCHAR, set_1 VARCHAR)
SELECT SUM(year) FROM table_name_85 WHERE class = "350cc" AND rank = "16th" AND wins > 0
What year was she on a 350cc class bike, ranked 16th, with over 0 wins?
CREATE TABLE table_name_85 (year INTEGER, wins VARCHAR, class VARCHAR, rank VARCHAR)
SELECT COUNT(heat) FROM table_name_74 WHERE lane < 4 AND name = "christophe lebon"
What is the sum of heat for christophe lebon when lane is less than 4?
CREATE TABLE table_name_74 (heat VARCHAR, lane VARCHAR, name VARCHAR)
SELECT T1.Aircraft, T1.Description FROM aircraft AS T1 JOIN airport_aircraft AS T2 ON T1.Aircraft_ID = T2.Aircraft_ID JOIN airport AS T3 ON T2.Airport_ID = T3.Airport_ID WHERE T3.Total_Passengers > 10000000
Please show the names and descriptions of aircrafts associated with airports that have a total number of passengers bigger than 10000000.
CREATE TABLE airport (Airport_ID VARCHAR, Total_Passengers INTEGER); CREATE TABLE aircraft (Aircraft VARCHAR, Description VARCHAR, Aircraft_ID VARCHAR); CREATE TABLE airport_aircraft (Aircraft_ID VARCHAR, Airport_ID VARCHAR)
SELECT MIN(lowest) FROM table_11207040_5 WHERE stadium = "East End Park"
What is the lowest attendance that East End Park has ever had?
CREATE TABLE table_11207040_5 (lowest INTEGER, stadium VARCHAR)
SELECT position FROM table WHERE player = Becchio
What is the position for the player becchio?
CREATE TABLE table (position VARCHAR, player VARCHAR, Becchio VARCHAR)
SELECT T3.Name, COUNT(*) FROM employment AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID JOIN company AS T3 ON T1.Company_ID = T3.Company_ID GROUP BY T3.Name
Show the names of companies and the number of employees they have
CREATE TABLE company (Name VARCHAR, Company_ID VARCHAR); CREATE TABLE people (People_ID VARCHAR); CREATE TABLE employment (People_ID VARCHAR, Company_ID VARCHAR)
SELECT COUNT(driver) FROM table_2241101_1 WHERE manufacturer = "Toyota"
How many different drivers were there for the team when the manufacturer was Toyota?
CREATE TABLE table_2241101_1 (driver VARCHAR, manufacturer VARCHAR)
SELECT player FROM table_name_68 WHERE overall = "126"
Which Player has an Overall of 126?
CREATE TABLE table_name_68 (player VARCHAR, overall VARCHAR)
SELECT craft FROM table_name_15 WHERE location = "coniston water"
What is the Craft used at Coniston Water?
CREATE TABLE table_name_15 (craft VARCHAR, location VARCHAR)
SELECT MIN(apparent_magnitude) FROM table_name_31 WHERE constellation = "hydra"
What is the least apparent magnitude for all constellations from hydra?
CREATE TABLE table_name_31 (apparent_magnitude INTEGER, constellation VARCHAR)
SELECT home_team AS score FROM table_name_24 WHERE away_team = "collingwood"
What was the home team score for the game played against Collingwood?
CREATE TABLE table_name_24 (home_team VARCHAR, away_team VARCHAR)
SELECT country FROM table_name_56 WHERE peak = "20" AND project_name = "jarn yabhour; ramhan"
What country has peak 20 and a project named jarn yabhour; ramhan?
CREATE TABLE table_name_56 (country VARCHAR, peak VARCHAR, project_name VARCHAR)
SELECT opponent FROM table_name_45 WHERE record = "20-12"
Who was the opponent with the 20-12 record?
CREATE TABLE table_name_45 (opponent VARCHAR, record VARCHAR)
SELECT name FROM table_name_61 WHERE sr_no < 74 AND floors > 36
what is the name when the sr no is less than 74 and floors is more than 36?
CREATE TABLE table_name_61 (name VARCHAR, sr_no VARCHAR, floors VARCHAR)
SELECT outcome FROM table_name_1 WHERE surface = "hard" AND score_in_the_final = "4–6, 3–6"
What is the outcome on a hard surface, when the score in the final was 4–6, 3–6?
CREATE TABLE table_name_1 (outcome VARCHAR, surface VARCHAR, score_in_the_final VARCHAR)
SELECT time FROM table_name_76 WHERE event = "800m freestyle"
What was the record setting time in the 800m freestyle?
CREATE TABLE table_name_76 (time VARCHAR, event VARCHAR)
SELECT outgoing_manager FROM table_26998135_2 WHERE team = "Kasımpaşa"
What is the outgoing manager for the team kasımpaşa?
CREATE TABLE table_26998135_2 (outgoing_manager VARCHAR, team VARCHAR)
SELECT opponent FROM table_name_7 WHERE method = "tko" AND location = "elgin, illinois, usa" AND date = "2001-02-11"
Which Opponent has a Method of tko, and a Location of elgin, illinois, usa on 2001-02-11?
CREATE TABLE table_name_7 (opponent VARCHAR, date VARCHAR, method VARCHAR, location VARCHAR)
SELECT nickname FROM table_28436909_4 WHERE letters = "ΚΑΘ"
When καθ are the letters what is the nickname?
CREATE TABLE table_28436909_4 (nickname VARCHAR, letters VARCHAR)
SELECT SUM(crowd) FROM table_name_14 WHERE home_team = "richmond"
Which Crowd has a Home team of richmond?
CREATE TABLE table_name_14 (crowd INTEGER, home_team VARCHAR)
SELECT high_rebounds FROM table_name_70 WHERE game = 56
What is the High rebounds of a Game with 56?
CREATE TABLE table_name_70 (high_rebounds VARCHAR, game VARCHAR)
SELECT total FROM table_19439864_2 WHERE song = "Radio Luxembourg"
What was the total for radio luxembourg?
CREATE TABLE table_19439864_2 (total VARCHAR, song VARCHAR)
SELECT MIN(week) FROM table_name_89 WHERE result = "l 41-14"
Which Week has a Result of l 41-14?
CREATE TABLE table_name_89 (week INTEGER, result VARCHAR)
SELECT date_of_vacancy FROM table_name_80 WHERE outgoing_manager = "tommy mclean"
What is the Date of vacancy for Tommy McLean?
CREATE TABLE table_name_80 (date_of_vacancy VARCHAR, outgoing_manager VARCHAR)
SELECT condition_parameter FROM table_15314901_1 WHERE velocity_angle_η_in_i_radians = "ln[(1 + √5)/2] ≅ 0.481"
If the velocity angle is ln[(1 + √5)/2] ≅ 0.481, what is the condition/parameter?
CREATE TABLE table_15314901_1 (condition_parameter VARCHAR, velocity_angle_η_in_i_radians VARCHAR)
SELECT player FROM table_name_30 WHERE college_junior_club_team__league_ = "shawinigan dynamos (qmjhl)"
Who is the player that is part of the team Shawinigan Dynamos (Qmjhl)?
CREATE TABLE table_name_30 (player VARCHAR, college_junior_club_team__league_ VARCHAR)
SELECT socialist_workers_ticket FROM table_name_99 WHERE republican_ticket = "john p. lomenzo"
When Republican ticket was John P. Lomenzo who ran for the Socialist Workers ticket?
CREATE TABLE table_name_99 (socialist_workers_ticket VARCHAR, republican_ticket VARCHAR)
SELECT title FROM table_name_95 WHERE category = "best r&b song"
WHAT IS THE TITLE WITH CATEGORY OF best r&b song?
CREATE TABLE table_name_95 (title VARCHAR, category VARCHAR)
SELECT outcome FROM table_name_5 WHERE tournament = "johannesburg, south africa"
What the Outcome for the Tournament of Johannesburg, South Africa
CREATE TABLE table_name_5 (outcome VARCHAR, tournament VARCHAR)
SELECT publisher FROM table_name_4 WHERE title = "far cry"
Which publisher has Far Cry as the title?
CREATE TABLE table_name_4 (publisher VARCHAR, title VARCHAR)
SELECT for___percentage_ FROM table_20683381_3 WHERE ±_yes_side_2008___percentage_ = "+20.3"
When +20.3 is the ± yes side 2008 (%) what is the for percentage?
CREATE TABLE table_20683381_3 (for___percentage_ VARCHAR, ±_yes_side_2008___percentage_ VARCHAR)
SELECT mountain_range FROM table_name_3 WHERE location = "37.3934°n 104.9201°w"
What is the mountain range at 37.3934°n 104.9201°w?
CREATE TABLE table_name_3 (mountain_range VARCHAR, location VARCHAR)
SELECT 2 AS nd_round FROM table_name_86 WHERE score = "3 - 3" AND team_1 = "fc gueugnon (d2)"
What is the 2nd round with a score of 3 - 3, and a team 1 fc gueugnon (d2)?
CREATE TABLE table_name_86 (score VARCHAR, team_1 VARCHAR)
SELECT district FROM table_19753079_8 WHERE incumbent = "George Miller"
What district did George Miller belong to?
CREATE TABLE table_19753079_8 (district VARCHAR, incumbent VARCHAR)
SELECT attendance FROM table_21269143_1 WHERE result = "Loss" AND opponent = "Salford City Reds"
Name the attendance for loss result and salford city reds
CREATE TABLE table_21269143_1 (attendance VARCHAR, result VARCHAR, opponent VARCHAR)
SELECT player FROM table_name_54 WHERE total > 288 AND country = "south africa"
What is Player, when Total is greater than 288, and when Country is "South Africa"?
CREATE TABLE table_name_54 (player VARCHAR, total VARCHAR, country VARCHAR)
SELECT home_team AS score FROM table_name_50 WHERE home_team = "geelong"
How much did the home team Geelong score?
CREATE TABLE table_name_50 (home_team VARCHAR)
SELECT AVG(year) FROM table_name_47 WHERE result = "nominated"
Name the average year for result of nominated
CREATE TABLE table_name_47 (year INTEGER, result VARCHAR)
SELECT lead FROM table_name_50 WHERE skip = "john shuster" AND third = "jeff isaacson" AND second = "chris plys"
Who was the lead with John Shuster as skip, Chris Plys in second, and Jeff Isaacson in third?
CREATE TABLE table_name_50 (lead VARCHAR, second VARCHAR, skip VARCHAR, third VARCHAR)
SELECT COUNT(crowd) FROM table_name_42 WHERE venue = "brunswick street oval"
What was the attendance at Brunswick Street Oval?
CREATE TABLE table_name_42 (crowd VARCHAR, venue VARCHAR)
SELECT name FROM table_name_2 WHERE ends = "30 june 2010" AND nat = "eng" AND since > 2007
Which Name has Ends of 30 june 2010, and a Nation of eng, and Since larger than 2007?
CREATE TABLE table_name_2 (name VARCHAR, since VARCHAR, ends VARCHAR, nat VARCHAR)
SELECT position FROM table_10748727_1 WHERE races = 6
What place is the team that completed 6 races?
CREATE TABLE table_10748727_1 (position VARCHAR, races VARCHAR)
SELECT venue FROM table_name_14 WHERE away_team = "geelong"
Where did Geelong play as the away team?
CREATE TABLE table_name_14 (venue VARCHAR, away_team VARCHAR)
SELECT COUNT(setting) FROM table_10413597_5 WHERE no_in_series = 29
How many settings where there for episode 29 of the season?
CREATE TABLE table_10413597_5 (setting VARCHAR, no_in_series VARCHAR)
SELECT position FROM table_2781227_9 WHERE player = "Barrie Moore"
What position(s) does barrie moore play?
CREATE TABLE table_2781227_9 (position VARCHAR, player VARCHAR)
SELECT year FROM table_name_47 WHERE engine = "honda ra168e 1.5 v6 t"
What year was the Honda ra168e 1.5 v6 t engine used?
CREATE TABLE table_name_47 (year VARCHAR, engine VARCHAR)
SELECT pick__number FROM table_name_68 WHERE player = "william loftus"
what is the pick # for william loftus?
CREATE TABLE table_name_68 (pick__number VARCHAR, player VARCHAR)
SELECT launched FROM table_12592074_1 WHERE commissioned_or_completed_ * _ = "6 June 1864"
When was the ship launched when the commissioned or completed(*) is 6 june 1864?
CREATE TABLE table_12592074_1 (launched VARCHAR, commissioned_or_completed_ VARCHAR, _ VARCHAR)
SELECT score FROM table_name_49 WHERE year < 2008 AND result = "loss" AND location = "antalya" AND competition = "europe/africa zone, group i, round robin"
What is the score of a year less than 2008 with loss as the result, in Antalya and a Competition of europe/africa zone, group i, round robin?
CREATE TABLE table_name_49 (score VARCHAR, competition VARCHAR, location VARCHAR, year VARCHAR, result VARCHAR)
SELECT COUNT(*) FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id = t2.product_id WHERE t1.product_name = "sesame"
How many characteristics does the product named "sesame" have?
CREATE TABLE product_characteristics (product_id VARCHAR); CREATE TABLE products (product_id VARCHAR, product_name VARCHAR)
SELECT notes FROM table_16278349_1 WHERE province = "Samangan"
Name the notes for samangan
CREATE TABLE table_16278349_1 (notes VARCHAR, province VARCHAR)
SELECT MAX(attendance) FROM table_16227492_1
Name the most attendance
CREATE TABLE table_16227492_1 (attendance INTEGER)
SELECT october FROM table_name_17 WHERE november = "buffy tyler"
Name the october when november is buffy tyler
CREATE TABLE table_name_17 (october VARCHAR, november VARCHAR)
SELECT MIN(win__percentage) FROM table_name_20 WHERE opposition = "perth scorchers"
What is the lowest win percentage for when Perth Scorchers is the opposition?
CREATE TABLE table_name_20 (win__percentage INTEGER, opposition VARCHAR)
SELECT team_1 FROM table_name_4 WHERE team_2 = "universidad nacional"
What team 1 has a team 2 of universidad nacional?
CREATE TABLE table_name_4 (team_1 VARCHAR, team_2 VARCHAR)
SELECT regular_season FROM table_name_78 WHERE playoffs = "conference semifinals"
What regular season did the team reach the conference semifinals in the playoffs?
CREATE TABLE table_name_78 (regular_season VARCHAR, playoffs VARCHAR)
SELECT name FROM table_name_12 WHERE directed___undirected = "both" AND basis = "subgraph-centric"
What is the name of the algorithm with a directed/undirected of both and a subgraph-centric basis?
CREATE TABLE table_name_12 (name VARCHAR, directed___undirected VARCHAR, basis VARCHAR)
SELECT MIN(population__mareeba_) FROM table_12555835_1
What was the smallest population figure for Mareeba?
CREATE TABLE table_12555835_1 (population__mareeba_ INTEGER)
SELECT venue FROM table_name_38 WHERE sport = "baseball" AND championships__years_ = "0" AND league = "milb, florida state league" AND club = "jupiter hammerheads"
Which Venue has a Sport of baseball, Championships (Years) of 0, a League of milb, florida state league, and a Club of jupiter hammerheads?
CREATE TABLE table_name_38 (venue VARCHAR, club VARCHAR, league VARCHAR, sport VARCHAR, championships__years_ VARCHAR)
SELECT MIN(first_elected) FROM table_1341472_40 WHERE result = "Retired Republican hold"
What is the earliest year where the result of the election was a retired republican hold?
CREATE TABLE table_1341472_40 (first_elected INTEGER, result VARCHAR)
SELECT period FROM table_27434_2 WHERE life_expectancy_total = "62.4"
What period was the life expectancy at 62.4?
CREATE TABLE table_27434_2 (period VARCHAR, life_expectancy_total VARCHAR)
SELECT prize AS Pool FROM table_2534387_11 WHERE entries = "1,132"
What is the prize pool if the entries is 1,132?
CREATE TABLE table_2534387_11 (prize VARCHAR, entries VARCHAR)
SELECT call_sign FROM table_name_62 WHERE name = "thunder 106.1"
What is the call sign for Thunder 106.1?
CREATE TABLE table_name_62 (call_sign VARCHAR, name VARCHAR)
SELECT round_of_32 FROM table_27294107_11 WHERE round_of_16 = "Drenovak ( SRB ) W 20–11"
What is the round of 32 if the round of 16 is drenovak ( srb ) w 20–11?
CREATE TABLE table_27294107_11 (round_of_32 VARCHAR, round_of_16 VARCHAR)
SELECT MIN(crowd) FROM table_name_96 WHERE venue = "arden street oval"
Which game at Arden Street Oval had the lowest attendance?
CREATE TABLE table_name_96 (crowd INTEGER, venue VARCHAR)
SELECT AVG(mpg) FROM CARS_DATA WHERE Cylinders = 4
What is the average miles per gallon(mpg) of the cars with 4 cylinders?
CREATE TABLE CARS_DATA (mpg INTEGER, Cylinders VARCHAR)
SELECT SUM(loses) FROM table_name_84 WHERE points > 30 AND goals_scored > 59 AND position > 5
How many loses have points greater than 30, goals scored greater than 59, with a position greater than 5?
CREATE TABLE table_name_84 (loses INTEGER, position VARCHAR, points VARCHAR, goals_scored VARCHAR)
SELECT winning_team FROM table_name_68 WHERE losing_team = "marlins" AND score = "4-0"
Who beat the Marlins with a score of 4-0?
CREATE TABLE table_name_68 (winning_team VARCHAR, losing_team VARCHAR, score VARCHAR)
SELECT population__1991_ FROM table_2562572_2 WHERE urban_settlement = "Bački Jarak"
What is the 1991 population for the urban settlement named Bački Jarak?
CREATE TABLE table_2562572_2 (population__1991_ VARCHAR, urban_settlement VARCHAR)
SELECT AVG(year_joined) FROM table_name_88 WHERE size > 93 AND previous_conference = "none (new school)" AND mascot = "rebels"
Which Year Joined has a Size larger than 93, and a Previous Conference of none (new school), and a Mascot of rebels?
CREATE TABLE table_name_88 (year_joined INTEGER, mascot VARCHAR, size VARCHAR, previous_conference VARCHAR)
SELECT bowling_style FROM table_name_72 WHERE first_class_team = "islamabad" AND date_of_birth = "28 february 1975"
What is the bowling style of the player whose first class team is Islamabad and has a date of birth of 28 February 1975?
CREATE TABLE table_name_72 (bowling_style VARCHAR, first_class_team VARCHAR, date_of_birth VARCHAR)
SELECT athlete FROM table_name_73 WHERE notes = "q" AND country = "germany"
Who was the athlete from Germany with notes of Q?
CREATE TABLE table_name_73 (athlete VARCHAR, notes VARCHAR, country VARCHAR)
SELECT mcintosh FROM table_name_78 WHERE stuart = "bass" AND linda_mccartney = "keyboards or drum"
Which McIntosh has a Stuart of bass, and a Linda McCartney of keyboards or drum?
CREATE TABLE table_name_78 (mcintosh VARCHAR, stuart VARCHAR, linda_mccartney VARCHAR)
SELECT COUNT(mystic_arte) FROM table_28178595_2 WHERE character = "Hisui (Jadeite) Hearts 1"
How many mystic arte have hisui (jadeite) hearts 1 as the character?
CREATE TABLE table_28178595_2 (mystic_arte VARCHAR, character VARCHAR)
SELECT investing_dragon_s_ FROM table_name_65 WHERE first_aired = "18 january 2005" AND entrepreneur_s_ = "tracey herrtage"
Who were the Investing Dragons in the episode that first aired on 18 January 2005 with the entrepreneur Tracey Herrtage?
CREATE TABLE table_name_65 (investing_dragon_s_ VARCHAR, first_aired VARCHAR, entrepreneur_s_ VARCHAR)
SELECT competition FROM table_name_17 WHERE date = "july 1, 2000"
Which Competition has the Date July 1, 2000?
CREATE TABLE table_name_17 (competition VARCHAR, date VARCHAR)
SELECT MIN(year) FROM table_name_67 WHERE type = "lp" AND catalog__number = "ual 24033"
What is the earliest year catalog # ual 24033 had an LP?
CREATE TABLE table_name_67 (year INTEGER, type VARCHAR, catalog__number VARCHAR)
SELECT SUM(year) FROM table_name_69 WHERE entrant = "scuderia centro sud" AND points = 6
What was the sum of the years, when the entrant was Scuderia Centro Sud, and when there were 6 points?
CREATE TABLE table_name_69 (year INTEGER, entrant VARCHAR, points VARCHAR)
SELECT MIN(water__sqmi_) FROM table_name_22 WHERE township = "yorktown" AND geo_id < 3802187940
Which Water (sqmi) has a Township of yorktown, and a GEO ID smaller than 3802187940?
CREATE TABLE table_name_22 (water__sqmi_ INTEGER, township VARCHAR, geo_id VARCHAR)
SELECT AVG(pick) FROM table_name_81 WHERE round < 3 AND college = "northwestern state"
What was the average pick of northwestern state college under round 3?
CREATE TABLE table_name_81 (pick INTEGER, round VARCHAR, college VARCHAR)
SELECT date FROM table_name_73 WHERE score = "7-1"
When was the score 7-1?
CREATE TABLE table_name_73 (date VARCHAR, score VARCHAR)
SELECT AVG(year) FROM table_name_8 WHERE rank_final < 2 AND apparatus = "team" AND score_qualifying < 248.275
Name the Year with a Rank-Final smaller than 2, an Apparatus of team, and a Score-Qualifying smaller than 248.275?
CREATE TABLE table_name_8 (year INTEGER, score_qualifying VARCHAR, rank_final VARCHAR, apparatus VARCHAR)
SELECT to_par FROM table_name_10 WHERE money___$__ = 800
Which to par has a prize less than $800?
CREATE TABLE table_name_10 (to_par VARCHAR, money___$__ VARCHAR)
SELECT AVG(position) FROM table_name_88 WHERE drawn < 0
What was the average Position for which the amount Drawn was less than 0?
CREATE TABLE table_name_88 (position INTEGER, drawn INTEGER)
SELECT home_team FROM table_name_29 WHERE venue = "corio oval"
Which home team plays in the Corio Oval venue?
CREATE TABLE table_name_29 (home_team VARCHAR, venue VARCHAR)
SELECT COUNT(first_elected) FROM table_2668243_8 WHERE incumbent = "Thomas P. Moore"
How many first elected years are provided for Thomas P. Moore?
CREATE TABLE table_2668243_8 (first_elected VARCHAR, incumbent VARCHAR)
SELECT written_by FROM table_22580855_1 WHERE production_code = 8011
who are the writers when the production code is 8011?
CREATE TABLE table_22580855_1 (written_by VARCHAR, production_code VARCHAR)