context
stringlengths
0
489
instruction
stringlengths
16
244
response
stringlengths
38
557
CREATE TABLE table_name_10 (round INTEGER, college_junior_club_team__league_ VARCHAR)
Which Round is the highest one that has a College/Junior/Club Team (League) of torpedo yaroslavl (rus)?
SELECT MAX(round) FROM table_name_10 WHERE college_junior_club_team__league_ = "torpedo yaroslavl (rus)"
CREATE TABLE table_name_11 (score VARCHAR, surface VARCHAR, date VARCHAR)
What was Olga Govortsova's score when she played on a clay surface on 19 May 2008?
SELECT score FROM table_name_11 WHERE surface = "clay" AND date = "19 may 2008"
CREATE TABLE table_name_61 (title VARCHAR, remark VARCHAR)
What title had a remark of #21 us [riaa certified gold january 3, 1990]?
SELECT title FROM table_name_61 WHERE remark = "#21 us [riaa certified gold january 3, 1990]"
CREATE TABLE table_name_41 (location VARCHAR, mountain_peak VARCHAR, mountain_range VARCHAR, rank VARCHAR)
Which location includes Coast Mountains with a rank less than 18 at Skihist Mountain?
SELECT location FROM table_name_41 WHERE mountain_range = "coast mountains" AND rank < 18 AND mountain_peak = "skihist mountain"
CREATE TABLE table_name_12 (week INTEGER, opponent VARCHAR, attendance VARCHAR)
What is the average week for the game against baltimore colts with less than 41,062 in attendance?
SELECT AVG(week) FROM table_name_12 WHERE opponent = "baltimore colts" AND attendance < 41 OFFSET 062
CREATE TABLE table_name_40 (goals_scored INTEGER, points VARCHAR, team VARCHAR)
What's the total of Goals Scored with Points that's smaller than 27, and a Team of C.D. AtlΓ©tico Balboa?
SELECT SUM(goals_scored) FROM table_name_40 WHERE points < 27 AND team = "c.d. atlΓ©tico balboa"
CREATE TABLE table_name_22 (extra_points_1_point INTEGER, total_points VARCHAR, touchdowns__5_points_ VARCHAR)
Which Extra points 1 point has a Total Points smaller than 30, and Touchdowns (5 points) of 5?
SELECT AVG(extra_points_1_point) FROM table_name_22 WHERE total_points < 30 AND touchdowns__5_points_ = 5
CREATE TABLE table_name_59 (field_goals__5_points_ VARCHAR, total_points VARCHAR, touchdowns__5_points_ VARCHAR)
How many Field goals (5 points) have a Total Points of 123, and Touchdowns (5 points) larger than 13?
SELECT COUNT(field_goals__5_points_) FROM table_name_59 WHERE total_points = 123 AND touchdowns__5_points_ > 13
CREATE TABLE table_name_66 (score VARCHAR, home_team VARCHAR, date VARCHAR)
What was Saskatoon Accelerators score on January 6, 2008?
SELECT score FROM table_name_66 WHERE home_team = "saskatoon accelerators" AND date = "january 6, 2008"
CREATE TABLE table_name_94 (rank INTEGER, country VARCHAR, total VARCHAR)
Which Rank is the Country of soviet union with a Total smaller than 19?
SELECT MIN(rank) FROM table_name_94 WHERE country = "soviet union" AND total < 19
CREATE TABLE table_name_2 (popular_votes INTEGER, year VARCHAR, office VARCHAR, percentage VARCHAR)
How many votes for the candidate after 1992, 1.59% of the vote, and the office of us representative 4?
SELECT AVG(popular_votes) FROM table_name_2 WHERE office = "us representative 4" AND percentage = "1.59%" AND year > 1992
CREATE TABLE table_name_36 (years VARCHAR, representative VARCHAR)
What years did J. Smith Young serve as a Representative?
SELECT years FROM table_name_36 WHERE representative = "j. smith young"
CREATE TABLE table_name_71 (part_number_s_ VARCHAR, sspec_number VARCHAR, l2_cache VARCHAR, release_date VARCHAR)
what is the part number(s) when l2 cache is 512 kb, release date is june 2001 and sSpec number is sl5lv, sl5pu, sl6bw, sl6jm?
SELECT part_number_s_ FROM table_name_71 WHERE l2_cache = "512 kb" AND release_date = "june 2001" AND sspec_number = "sl5lv, sl5pu, sl6bw, sl6jm"
CREATE TABLE table_name_50 (nation VARCHAR, name VARCHAR)
What country did Chris Witty represent?
SELECT nation FROM table_name_50 WHERE name = "chris witty"
CREATE TABLE table_name_35 (year INTEGER, winner VARCHAR, location VARCHAR)
What is the earliest year the new york jets won at harvard stadium?
SELECT MIN(year) FROM table_name_35 WHERE winner = "new york jets" AND location = "harvard stadium"
CREATE TABLE table_name_89 (loser VARCHAR, date VARCHAR, location VARCHAR, winner VARCHAR)
Who lost at schaefer stadium when the Winner was new england patriots, and a Date of october 18?
SELECT loser FROM table_name_89 WHERE location = "schaefer stadium" AND winner = "new england patriots" AND date = "october 18"
CREATE TABLE table_name_90 (manager VARCHAR, shirt_sponsor VARCHAR)
Which manager sponsor arke shirt?
SELECT manager FROM table_name_90 WHERE shirt_sponsor = "arke"
CREATE TABLE table_name_12 (tries_for VARCHAR, losing_bonus VARCHAR, points VARCHAR)
How many tries for did the club with a 3 losing bonus and 45 points have?
SELECT tries_for FROM table_name_12 WHERE losing_bonus = "3" AND points = "45"
CREATE TABLE table_name_1 (lost VARCHAR, played VARCHAR, points_against VARCHAR)
How many losses did the club with 22 played and 334 points against have?
SELECT lost FROM table_name_1 WHERE played = "22" AND points_against = "334"
CREATE TABLE table_name_46 (attendance INTEGER, record VARCHAR)
What attendance does 1-6 record have?
SELECT SUM(attendance) FROM table_name_46 WHERE record = "1-6"
CREATE TABLE table_name_67 (position VARCHAR, school_previous_club_team_country VARCHAR)
What is Position, when School/Previous Club Team/Country is Kentucky?
SELECT position FROM table_name_67 WHERE school_previous_club_team_country = "kentucky"
CREATE TABLE table_name_49 (pick__number VARCHAR, college_junior_club_team VARCHAR, position VARCHAR)
What is the Pick # for the College/junior/club team of edmonton oil kings (wchl), and the position if defence?
SELECT pick__number FROM table_name_49 WHERE college_junior_club_team = "edmonton oil kings (wchl)" AND position = "defence"
CREATE TABLE table_name_39 (series VARCHAR, conference VARCHAR, season VARCHAR, format VARCHAR)
What series has a season after 2008, super leg final as the format, and conference v as the conference?
SELECT series FROM table_name_39 WHERE season > 2008 AND format = "super leg final" AND conference = "conference v"
CREATE TABLE table_name_26 (margin VARCHAR, winning_score VARCHAR)
Which Margin has a Winning score of –7 (71-72-67-71=281)?
SELECT margin FROM table_name_26 WHERE winning_score = –7(71 - 72 - 67 - 71 = 281)
CREATE TABLE table_name_42 (year INTEGER, winning_score VARCHAR)
Which Year has a Winning score of –4 (69-72-70-69=280)?
SELECT MIN(year) FROM table_name_42 WHERE winning_score = –4(69 - 72 - 70 - 69 = 280)
CREATE TABLE table_name_1 (type VARCHAR, award VARCHAR, position VARCHAR)
What was the type that had an award for song of the year and the position of 3rd place?
SELECT type FROM table_name_1 WHERE award = "song of the year" AND position = "3rd place"
CREATE TABLE table_name_77 (country VARCHAR, score VARCHAR)
The score of 73-71-70=214 belongs to what country?
SELECT country FROM table_name_77 WHERE score = 73 - 71 - 70 = 214
CREATE TABLE table_name_15 (venue VARCHAR, batting_team VARCHAR, batting_partners VARCHAR)
In what venue was the Batting team India who featured partners Sachin Tendulkar and Rahul Dravid?
SELECT venue FROM table_name_15 WHERE batting_team = "india" AND batting_partners = "sachin tendulkar and rahul dravid"
CREATE TABLE table_name_3 (floors VARCHAR, rank VARCHAR, height VARCHAR, _m__ft_ VARCHAR)
How many floors were there with a building rank of less than 3 and a height of 300 / 985 m (ft)?
SELECT COUNT(floors) FROM table_name_3 WHERE height * _m__ft_ = "300 / 985" AND rank < 3
CREATE TABLE table_name_94 (conference VARCHAR, division VARCHAR, home_stadium VARCHAR)
At which Conference was the Division in the East, and the Home Stadium named fedexfield?
SELECT conference FROM table_name_94 WHERE division = "east" AND home_stadium = "fedexfield"
CREATE TABLE table_name_64 (home_stadium VARCHAR, city VARCHAR, division VARCHAR, conference VARCHAR)
What is the name of the Home Stadium in which the Division is in the south, and Conference is national, as well as being in the city named charlotte, North Carolina?
SELECT home_stadium FROM table_name_64 WHERE division = "south" AND conference = "national" AND city = "charlotte, north carolina"
CREATE TABLE table_name_92 (player VARCHAR, long VARCHAR, yards VARCHAR)
Can you tell me the Player that has the Long larger than 28, and the Yards of 222?
SELECT player FROM table_name_92 WHERE long > 28 AND yards = 222
CREATE TABLE table_name_64 (venue VARCHAR, weight__kg_ VARCHAR, result VARCHAR)
What venue has a weight (kg) greater than 55, and won as the result?
SELECT venue FROM table_name_64 WHERE weight__kg_ > 55 AND result = "won"
CREATE TABLE table_name_44 (pick__number INTEGER, round VARCHAR, position VARCHAR, college VARCHAR)
A Round larger than 1, a College of Oklahoma state, and a average Pick # that has a Position of tight end is what?
SELECT AVG(pick__number) FROM table_name_44 WHERE position = "tight end" AND college = "oklahoma state" AND round > 1
CREATE TABLE table_name_13 (january INTEGER, opponent VARCHAR, points VARCHAR)
Which January is the lowest one that has an Opponent of florida panthers, and Points smaller than 59?
SELECT MIN(january) FROM table_name_13 WHERE opponent = "florida panthers" AND points < 59
CREATE TABLE table_name_18 (score VARCHAR, january VARCHAR, points VARCHAR)
Which Score has a January larger than 21, and Points of 63?
SELECT score FROM table_name_18 WHERE january > 21 AND points = 63
CREATE TABLE table_name_39 (score VARCHAR, champion VARCHAR, year VARCHAR)
What is the score of champion Ken Rosewall in 1957?
SELECT score FROM table_name_39 WHERE champion = "ken rosewall" AND year = "1957"
CREATE TABLE table_name_78 (total_population__2005_estimate_ INTEGER, province VARCHAR, area__km_2__ VARCHAR)
Which Total population (2005 estimate) has a Province of west kalimantan (kalimantan barat), and an Area (km 2) smaller than 147,307.00?
SELECT AVG(total_population__2005_estimate_) FROM table_name_78 WHERE province = "west kalimantan (kalimantan barat)" AND area__km_2__ < 147 OFFSET 307.00
CREATE TABLE table_name_16 (report VARCHAR, away_team VARCHAR, score VARCHAR)
What was the report for an away team of Sydney Spirit and score of 96-87?
SELECT report FROM table_name_16 WHERE away_team = "sydney spirit" AND score = "96-87"
CREATE TABLE table_name_98 (schwaben VARCHAR, oberbayern VARCHAR, mittelfranken VARCHAR)
Which Schwaben has an Oberbayern of fc ingolstadt 04 and a Mittelfranken of sv seligenporten
SELECT schwaben FROM table_name_98 WHERE oberbayern = "fc ingolstadt 04" AND mittelfranken = "sv seligenporten"
CREATE TABLE table_name_15 (schwaben VARCHAR, oberbayern VARCHAR, mittelfranken VARCHAR)
Which Schwaben has a Oberbayern of fc bayern munich ii and a Mittelfranken of 1. fc nuremberg ii?
SELECT schwaben FROM table_name_15 WHERE oberbayern = "fc bayern munich ii" AND mittelfranken = "1. fc nuremberg ii"
CREATE TABLE table_name_50 (episode VARCHAR, challenge_winner VARCHAR)
Which episode has a Challenge Winner of berto?
SELECT episode FROM table_name_50 WHERE challenge_winner = "berto"
CREATE TABLE table_name_33 (result VARCHAR, alternate VARCHAR, event VARCHAR)
What was the result for the 2007 WCC when Sun Yue was the alternate?
SELECT result FROM table_name_33 WHERE alternate = "sun yue" AND event = "2007 wcc"
CREATE TABLE table_name_69 (election INTEGER, _number_of_seats_won VARCHAR, _number_of_candidates_nominated VARCHAR, _percentage_of_popular_vote VARCHAR)
What is the earliest election with more than 7 candidates nominated, a percentage of the popular vote of 2.75%, and 0 seats won?
SELECT MIN(election) FROM table_name_69 WHERE _number_of_candidates_nominated > 7 AND _percentage_of_popular_vote = "2.75%" AND _number_of_seats_won < 0
CREATE TABLE table_name_75 (event VARCHAR, alternate VARCHAR, skip VARCHAR)
What event was Sun Yue the alternate and wang bingyu(3rd) the skip?
SELECT event FROM table_name_75 WHERE alternate = "sun yue" AND skip = "wang bingyu(3rd)"
CREATE TABLE table_name_18 (team VARCHAR, game VARCHAR)
Which team has a Game of 49?
SELECT team FROM table_name_18 WHERE game = 49
CREATE TABLE table_name_66 (total_cargo__metric_tonnes_ INTEGER, rank VARCHAR, airport VARCHAR)
Which Total Cargo (Metric Tonnes) is the highest one that has a Rank smaller than 4, and an Airport of shanghai pudong international airport?
SELECT MAX(total_cargo__metric_tonnes_) FROM table_name_66 WHERE rank < 4 AND airport = "shanghai pudong international airport"
CREATE TABLE table_name_15 (facility_id INTEGER, city_of_license VARCHAR, erp___power_w VARCHAR)
Which Facility ID has a City of license of springfield, ma, and a ERP / Power W smaller than 230?
SELECT MAX(facility_id) FROM table_name_15 WHERE city_of_license = "springfield, ma" AND erp___power_w < 230
What is the total number of 1sts that Martin Schmitt had where he less than 235.7 points?
SELECT COUNT(*) FROM table_name_81 WHERE name = "martin schmitt" AND points < 235.7
CREATE TABLE table_name_69 (nation VARCHAR, rank VARCHAR, bronze VARCHAR, total VARCHAR, silver VARCHAR)
Which nation has total medals under 63, less than 2 silver, more than 2 bronze, and a rank of 8?
SELECT nation FROM table_name_69 WHERE total < 63 AND silver < 2 AND bronze > 2 AND rank = "8"
CREATE TABLE table_name_87 (division_titles INTEGER, playoff_appearances VARCHAR, conference_titles VARCHAR)
How many division titles does the team with 23 playoff appearances and more than 1 conference titles have?
SELECT SUM(division_titles) FROM table_name_87 WHERE playoff_appearances = 23 AND conference_titles > 1
CREATE TABLE table_name_97 (seasons_completed INTEGER, finals_appearances VARCHAR, division_titles VARCHAR, playoff_appearances VARCHAR)
What is the average number of seasons completed of the team with less than 1 division titles, 0 playoff appearances, and more than 0 finals appearances?
SELECT AVG(seasons_completed) FROM table_name_97 WHERE division_titles < 1 AND playoff_appearances = 0 AND finals_appearances > 0
CREATE TABLE table_name_53 (yards INTEGER, attempts VARCHAR, average VARCHAR, long VARCHAR)
What is the average Yards with an average of less than 4 and the long is 12 with less than 29 attempts?
SELECT AVG(yards) FROM table_name_53 WHERE average < 4 AND long = 12 AND attempts < 29
CREATE TABLE table_name_58 (matches INTEGER, goalkeeper VARCHAR, average VARCHAR)
How many matches did Carlos Kameni play in, who had an average larger than 1.27?
SELECT SUM(matches) FROM table_name_58 WHERE goalkeeper = "carlos kameni" AND average > 1.27
CREATE TABLE table_name_62 (winning_score VARCHAR, tournament VARCHAR)
What was Olazabal's winning score in the German Masters?
SELECT winning_score FROM table_name_62 WHERE tournament = "german masters"
CREATE TABLE table_name_88 (tie_no VARCHAR, home_team VARCHAR)
What is the number of ties when Altrincham is the home team?
SELECT tie_no FROM table_name_88 WHERE home_team = "altrincham"
CREATE TABLE table_name_27 (pick INTEGER, nfl_club VARCHAR, round VARCHAR)
What is the largest pick by the Baltimore Colts in a round later than 10?
SELECT MAX(pick) FROM table_name_27 WHERE nfl_club = "baltimore colts" AND round > 10
CREATE TABLE table_name_95 (country VARCHAR, label VARCHAR, catalog VARCHAR)
Which Country has a Label of Toshiba-emi and a Catalog of vjcp-68403?
SELECT country FROM table_name_95 WHERE label = "toshiba-emi" AND catalog = "vjcp-68403"
CREATE TABLE table_name_89 (label VARCHAR, catalog VARCHAR, format VARCHAR, country VARCHAR)
Which Label has a Format of cd, a Country of Japan and a Catalog of vjcp-68403?
SELECT label FROM table_name_89 WHERE format = "cd" AND country = "japan" AND catalog = "vjcp-68403"
CREATE TABLE table_name_26 (competition VARCHAR, opponent VARCHAR, date VARCHAR)
What was the name of the competition that had Peterborough Phantoms as an opponent and a date of 2?
SELECT competition FROM table_name_26 WHERE opponent = "peterborough phantoms" AND date = 2
CREATE TABLE table_name_23 (height_metres___ft VARCHAR, town VARCHAR)
What is the height in Rouen?
SELECT height_metres___ft FROM table_name_23 WHERE town = "rouen"
CREATE TABLE table_name_22 (lema_sublema VARCHAR, votes VARCHAR, ch_of_deputies VARCHAR)
Which LEMA/SUBLEMA that has Votes smaller than 218656, and a Ch of Deputies of 0?
SELECT lema_sublema FROM table_name_22 WHERE votes < 218656 AND ch_of_deputies = "0"
CREATE TABLE table_name_22 (tournament VARCHAR, score_in_the_final VARCHAR)
what tornament had the scores 6–7, 6–2, 6–4?
SELECT tournament FROM table_name_22 WHERE score_in_the_final = "6–7, 6–2, 6–4"
CREATE TABLE table_name_70 (pick INTEGER, school_club_team VARCHAR, round VARCHAR)
What is the pick for the Maryland-Eastern Shore team with a round lower than 2?
SELECT SUM(pick) FROM table_name_70 WHERE school_club_team = "maryland-eastern shore" AND round < 2
CREATE TABLE table_name_47 (school_club_team VARCHAR, round VARCHAR, player VARCHAR)
Which team has fewer than 4 rounds for Jan Van Breda Kolff?
SELECT school_club_team FROM table_name_47 WHERE round < 4 AND player = "jan van breda kolff"
CREATE TABLE table_name_65 (points INTEGER, year VARCHAR, class VARCHAR, team VARCHAR)
Name the most points for class of 125cc and team of mv agusta with year more than 1957
SELECT MAX(points) FROM table_name_65 WHERE class = "125cc" AND team = "mv agusta" AND year > 1957
CREATE TABLE table_name_87 (name VARCHAR, cerclis_id VARCHAR, proposed VARCHAR, county VARCHAR)
What name was proposed on 12/30/1982 in rockingham county with a CERCLIS ID of nhd062004569?
SELECT name FROM table_name_87 WHERE proposed = "12/30/1982" AND county = "rockingham" AND cerclis_id = "nhd062004569"
CREATE TABLE table_name_37 (attendance VARCHAR, venue VARCHAR)
What was the attendance number for the venue of Lakeside Park?
SELECT attendance FROM table_name_37 WHERE venue = "lakeside park"
CREATE TABLE table_name_73 (name VARCHAR, county VARCHAR, proposed VARCHAR)
What name was proposed on 09/08/1983 in hillsborough county?
SELECT name FROM table_name_73 WHERE county = "hillsborough" AND proposed = "09/08/1983"
CREATE TABLE table_name_86 (first VARCHAR, dob VARCHAR, bats VARCHAR, throws VARCHAR)
Which First has Bats of r, and Throws of l, and a DOB of 12 october 1977?
SELECT first FROM table_name_86 WHERE bats = "r" AND throws = "l" AND dob = "12 october 1977"
CREATE TABLE table_name_55 (enrollment INTEGER, team_nickname VARCHAR, founded VARCHAR)
what is the average enrollment when the team nickname is wolverines and founded is after 1817?
SELECT AVG(enrollment) FROM table_name_55 WHERE team_nickname = "wolverines" AND founded > 1817
CREATE TABLE table_name_44 (director_s_ VARCHAR, writer_s_ VARCHAR)
Who was the director that worked with Dana Dorian as the writer?
SELECT director_s_ FROM table_name_44 WHERE writer_s_ = "dana dorian"
CREATE TABLE table_name_59 (december INTEGER, opponent VARCHAR, game VARCHAR)
What is the sum for December against the vancouver canucks earlier than game 33?
SELECT SUM(december) FROM table_name_59 WHERE opponent = "vancouver canucks" AND game < 33
CREATE TABLE table_name_96 (year INTEGER, award_ceremony VARCHAR, category VARCHAR)
What year is associated with a drama desk award ceremony and a Category of outstanding featured actress in a musical?
SELECT AVG(year) FROM table_name_96 WHERE award_ceremony = "drama desk award" AND category = "outstanding featured actress in a musical"
CREATE TABLE table_name_26 (loss INTEGER, gain VARCHAR, long VARCHAR, name VARCHAR)
What is the average Loss for the long of more than 12 with a name of opponents with a Gain larger than 1751?
SELECT AVG(loss) FROM table_name_26 WHERE long > 12 AND name = "opponents" AND gain > 1751
CREATE TABLE table_name_10 (tie_no VARCHAR, date VARCHAR, home_team VARCHAR)
What is Tie No, when Date is 18 February 1956, and when Home Team is Charlton Athletic?
SELECT tie_no FROM table_name_10 WHERE date = "18 february 1956" AND home_team = "charlton athletic"
CREATE TABLE table_name_18 (begin VARCHAR, state_territory VARCHAR, icao VARCHAR)
What begin has victoria as the state/territory and a ICA0 of ymml?
SELECT begin FROM table_name_18 WHERE state_territory = "victoria" AND icao = "ymml"
CREATE TABLE table_name_23 (lost INTEGER, points_1 VARCHAR, goals_for VARCHAR)
What is the fewest losses for teams with points of 53 and more than 73 goals for?
SELECT MIN(lost) FROM table_name_23 WHERE points_1 = "53" AND goals_for > 73
CREATE TABLE table_name_45 (drawn INTEGER, goal_difference VARCHAR, goals_against VARCHAR)
What is the fewest draws for teams with a 0 goal difference and under 55 goals against?
SELECT MIN(drawn) FROM table_name_45 WHERE goal_difference = "0" AND goals_against < 55
CREATE TABLE table_name_72 (ofsted_number INTEGER, dcsf_number VARCHAR, intake VARCHAR, type VARCHAR, faith VARCHAR)
What is the lowest Ofsted number for a primary with a CE faith, intake of 30 and a DCSF number lower than 3349?
SELECT MIN(ofsted_number) FROM table_name_72 WHERE type = "primary" AND faith = "ce" AND intake = 30 AND dcsf_number < 3349
CREATE TABLE table_name_1 (against VARCHAR, lost VARCHAR, played VARCHAR)
What is the sum of against scores when there are 3 losses and less than 6 games played?
SELECT COUNT(against) FROM table_name_1 WHERE lost = 3 AND played < 6
CREATE TABLE table_name_93 (date VARCHAR, undecided VARCHAR, martin VARCHAR)
What is the Date that has MARTIN of 7–9% and no Undecided?
SELECT date FROM table_name_93 WHERE undecided = "–" AND martin = "7–9%"
CREATE TABLE table_name_15 (length__female_ VARCHAR, common_name VARCHAR)
What is the length of the Panther Chameleon?
SELECT length__female_ FROM table_name_15 WHERE common_name = "panther chameleon"
CREATE TABLE table_name_8 (engine VARCHAR, year VARCHAR, power VARCHAR)
Which Engine has a Year that's Larger than 2006 and Power of BHP (KW)?
SELECT engine FROM table_name_8 WHERE year > 2006 AND power = "bhp (kw)"
CREATE TABLE table_name_61 (opponents_in_the_final VARCHAR, surface VARCHAR, tournament VARCHAR)
What is Opponents In The Final, when Surface is "Carpet", and when Tournament is "Milan , Italy"?
SELECT opponents_in_the_final FROM table_name_61 WHERE surface = "carpet" AND tournament = "milan , italy"
CREATE TABLE table_name_34 (year INTEGER, inflation_index__2000 INTEGER)
What year before 1980 has is the highest Inflation Index (2000=100)?
SELECT MAX(inflation_index__2000) = 100 AS _ FROM table_name_34 WHERE year < 1980
CREATE TABLE table_name_26 (earnings___ INTEGER, player VARCHAR, rank VARCHAR)
What is the highest earnings for Tom watson who had a ranking larger than 2?
SELECT MAX(earnings___) AS $__ FROM table_name_26 WHERE player = "tom watson" AND rank > 2
CREATE TABLE table_name_38 (date_to_ VARCHAR, h_ VARCHAR, appearances VARCHAR, date_from_ VARCHAR, g_ VARCHAR, goals VARCHAR, position_ VARCHAR, f_ VARCHAR)
What is Date to [H], when Position [F] is "Defender", when Goals is less than 3, when Appearances is greater than 113, and when Date From [G] is "1997"?
SELECT date_to_[h_] FROM table_name_38 WHERE position_[f_] = "defender" AND goals < 3 AND appearances > 113 AND date_from_[g_] = "1997"
CREATE TABLE table_name_14 (club_source_ VARCHAR, i_ VARCHAR, name VARCHAR)
What is Club Source [I ], when Name is "Andrew McCombie Category:Articles With hCards"?
SELECT club_source_[i_] FROM table_name_14 WHERE name = "andrew mccombie category:articles with hcards"
CREATE TABLE table_name_56 (effic INTEGER, avg_g VARCHAR, gp_gs VARCHAR)
Which Effic is the highest one that has an Avg/G smaller than 305.6, and a GP-GS of 13-13?
SELECT MAX(effic) FROM table_name_56 WHERE avg_g < 305.6 AND gp_gs = "13-13"
CREATE TABLE table_name_59 (money___ INTEGER, country VARCHAR, to_par VARCHAR, score VARCHAR)
How much is the money ($) when the country is united states, to par is e and the score is 72-75-70-71=288?
SELECT SUM(money___) AS $__ FROM table_name_59 WHERE country = "united states" AND to_par = "e" AND score = 72 - 75 - 70 - 71 = 288
CREATE TABLE table_name_93 (tournament VARCHAR, date VARCHAR)
What tournament was on May 31, 1987?
SELECT tournament FROM table_name_93 WHERE date = "may 31, 1987"
CREATE TABLE table_name_41 (venue VARCHAR, date VARCHAR)
What is the venue of the game that was played on 23 October 1966?
SELECT venue FROM table_name_41 WHERE date = "23 october 1966"
CREATE TABLE table_name_20 (tujia_population INTEGER, prefecture VARCHAR, county VARCHAR)
What is the sum of Tujia population with the Zhangjiajie prefecture in Sangzhi county?
SELECT SUM(tujia_population) FROM table_name_20 WHERE prefecture = "zhangjiajie" AND county = "sangzhi"
CREATE TABLE table_name_30 (Id VARCHAR)
What 2010 has an A 2006 & 2011?
SELECT 2010 FROM table_name_30 WHERE 2006 = "a" AND 2011 = "a"
CREATE TABLE table_name_88 (Severe INTEGER, strongest_storm VARCHAR, tropical_lows VARCHAR)
What is the least number of tropical cyclones when the strongest storm was Tiffany and less than 10 tropical lows.
SELECT MIN(Severe) AS tropical_cyclones FROM table_name_88 WHERE strongest_storm = "tiffany" AND tropical_lows > 10
CREATE TABLE table_name_41 (tropical_lows INTEGER, season VARCHAR, tropical_cyclones VARCHAR)
What is the least amount of tropical lows for the 1993–94 season with less than 11 tropical cyclones
SELECT MIN(tropical_lows) FROM table_name_41 WHERE season = "1993–94" AND tropical_cyclones < 11
CREATE TABLE table_name_46 (week INTEGER, opponent VARCHAR)
What week was the bye week?
SELECT AVG(week) FROM table_name_46 WHERE opponent = "bye"
CREATE TABLE table_name_61 (frequency__khz_ INTEGER, licensed_location VARCHAR)
What is the smallest frequency (kHz) that is in the location of Longview?
SELECT MIN(frequency__khz_) FROM table_name_61 WHERE licensed_location = "longview"
CREATE TABLE table_name_97 (length_feet VARCHAR, length_meters VARCHAR, parish VARCHAR, km_from_kingston VARCHAR)
What is the total number of Length Feet, when Parish is Clarendon, when Km From Kingston is 71.2, and when Length Meters is less than 21.3?
SELECT COUNT(length_feet) FROM table_name_97 WHERE parish = "clarendon" AND km_from_kingston = 71.2 AND length_meters < 21.3