instruction
stringlengths
12
317
input
stringlengths
38
973
response
stringlengths
25
526
When 4744 is the avg. trips per mile (x1000) what is the current stock?
CREATE TABLE table_21956 ( "Name" text, "Map colour" text, "First operated" real, "Type" text, "Length" text, "No. Sta" real, "Current Stock" text, "Future Stock" text, "Trips per annum (\u00d71000)" real, "Avg. trips per mile (\u00d71000)" real )
SELECT "Current Stock" FROM table_21956 WHERE "Avg. trips per mile (\u00d71000)" = '4744'
When tim bridgman gregor fisken is the pole position who is the gt3 winner?
CREATE TABLE table_30062172_3 ( gt3_winner VARCHAR, pole_position VARCHAR )
SELECT gt3_winner FROM table_30062172_3 WHERE pole_position = "Tim Bridgman Gregor Fisken"
What's Ontario's highest Ends Lost?
CREATE TABLE table_5427 ( "Locale" text, "Skip" text, "Ends Won" real, "Ends Lost" real, "Blank Ends" real, "Stolen Ends" real, "Shot Pct." real )
SELECT MAX("Ends Lost") FROM table_5427 WHERE "Locale" = 'ontario'
Which Slalom has a Downhill of 4?
CREATE TABLE table_name_36 ( slalom VARCHAR, downhill VARCHAR )
SELECT slalom FROM table_name_36 WHERE downhill = "4"
What was the highest number of starts in 2007 when the average start was over 17.6?
CREATE TABLE table_name_49 ( starts INTEGER, year VARCHAR, avg_start VARCHAR )
SELECT MAX(starts) FROM table_name_49 WHERE year = 2007 AND avg_start > 17.6
What is the Korean dialect in the daegu capital?
CREATE TABLE table_41890 ( "RR Romaja" text, "M\u2013R Romaja" text, "Hangul" text, "Hanja" text, "Name origin" text, "Capital" text, "Region" text, "Korean dialect" text, "Post-1896 Provinces" text )
SELECT "Korean dialect" FROM table_41890 WHERE "Capital" = 'daegu'
What is the P for the player moving from Everton?
CREATE TABLE table_17596418_4 ( p VARCHAR, moving_from VARCHAR )
SELECT p FROM table_17596418_4 WHERE moving_from = "Everton"
How many party were listed for district oklahoma 5?
CREATE TABLE table_18123 ( "District" text, "Incumbent" text, "Party" text, "First elected" text, "Results" text, "Candidates" text )
SELECT COUNT("Party") FROM table_18123 WHERE "District" = 'Oklahoma 5'
What was the language score when the reading score was 94.47?
CREATE TABLE table_2534578_1 ( language VARCHAR, reading VARCHAR )
SELECT language FROM table_2534578_1 WHERE reading = "94.47"
What is the fewest number of points scored by Goulds' Garage (Bristol), engines of Maserati Straight-6, in years before 1956?
CREATE TABLE table_name_41 ( points INTEGER, year VARCHAR, entrant VARCHAR, engine VARCHAR )
SELECT MIN(points) FROM table_name_41 WHERE entrant = "goulds' garage (bristol)" AND engine = "maserati straight-6" AND year < 1956
Give me a bar chart that the x-axis is the services and the Y is the count(services), and could you show bars from low to high order?
CREATE TABLE route ( train_id int, station_id int ) CREATE TABLE station ( id int, network_name text, services text, local_authority text ) CREATE TABLE train ( id int, train_number int, name text, origin text, destination text, time text, interval text ) CREATE TABLE weekly_weather ( station_id int, day_of_week text, high_temperature int, low_temperature int, precipitation real, wind_speed_mph int )
SELECT services, COUNT(services) FROM station GROUP BY services ORDER BY services
What is Model Number, when Voltage is 2.0V, and when Frequency is 350 mhz?
CREATE TABLE table_49715 ( "Model number" text, "Frequency" text, "L2 cache" text, "Mult." text, "Voltage" text, "Socket" text )
SELECT "Model number" FROM table_49715 WHERE "Voltage" = '2.0v' AND "Frequency" = '350 mhz'
Which Total is the lowest one that has a Rank smaller than 1?
CREATE TABLE table_75487 ( "Rank" real, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real )
SELECT MIN("Total") FROM table_75487 WHERE "Rank" < '1'
Find the distinct first names of all the students who have vice president votes and whose city code is not PIT.
CREATE TABLE STUDENT ( Fname VARCHAR, city_code VARCHAR ) CREATE TABLE VOTING_RECORD ( VICE_PRESIDENT_Vote VARCHAR )
SELECT DISTINCT T1.Fname FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID = T2.VICE_PRESIDENT_Vote EXCEPT SELECT DISTINCT Fname FROM STUDENT WHERE city_code = "PIT"
What is every value for viewers for ranking #51 for the Tuesday 9:00 p.m. timeslot?
CREATE TABLE table_175980_2 ( viewers__in_millions_ VARCHAR, ranking VARCHAR, timeslot VARCHAR )
SELECT viewers__in_millions_ FROM table_175980_2 WHERE ranking = "#51" AND timeslot = "Tuesday 9:00 p.m."
What week was the game played at Robert f. Kennedy memorial stadium with more than 54,633 people in attendance?
CREATE TABLE table_name_71 ( week VARCHAR, game_site VARCHAR, attendance VARCHAR )
SELECT COUNT(week) FROM table_name_71 WHERE game_site = "robert f. kennedy memorial stadium" AND attendance > 54 OFFSET 633
What was the maximum crowd size against St Kilda?
CREATE TABLE table_16387653_1 ( crowd INTEGER, away_team VARCHAR )
SELECT MAX(crowd) FROM table_16387653_1 WHERE away_team = "St Kilda"
WHAT PLACE WAS A SCORE 67-70=137?
CREATE TABLE table_name_48 ( place VARCHAR, score VARCHAR )
SELECT place FROM table_name_48 WHERE score = 67 - 70 = 137
What is the total round of the 129 pick?
CREATE TABLE table_name_49 ( round VARCHAR, pick__number VARCHAR )
SELECT COUNT(round) FROM table_name_49 WHERE pick__number = 129
What is the highest total with a t12 finish?
CREATE TABLE table_69574 ( "Player" text, "Country" text, "Year(s) Won" text, "Total" real, "To par" text, "Finish" text )
SELECT MAX("Total") FROM table_69574 WHERE "Finish" = 't12'
How many pairs of numbers are under record on April 12?
CREATE TABLE table_18824 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text )
SELECT COUNT("Record") FROM table_18824 WHERE "Date" = 'April 12'
What is the Location, when the Score is 38-29?
CREATE TABLE table_71546 ( "Date" text, "Winner" text, "Score" text, "Location" text, "Series" text )
SELECT "Location" FROM table_71546 WHERE "Score" = '38-29'
what is the average wins when the podiums is more than 1, points is 80 and starts is less than 28?
CREATE TABLE table_name_49 ( wins INTEGER, starts VARCHAR, podiums VARCHAR, points VARCHAR )
SELECT AVG(wins) FROM table_name_49 WHERE podiums > 1 AND points = 80 AND starts < 28
What Australian Marquee team is Michael Beauchamp a captain of?
CREATE TABLE table_name_13 ( australian_marquee VARCHAR, captain VARCHAR )
SELECT australian_marquee FROM table_name_13 WHERE captain = "michael beauchamp"
What was the score at CN Centre on April 5, 2008?
CREATE TABLE table_36602 ( "Date" text, "Home Team" text, "Score" text, "Visiting Team" text, "Stadium" text )
SELECT "Score" FROM table_36602 WHERE "Stadium" = 'cn centre' AND "Date" = 'april 5, 2008'
What was the most Nepalis admitted when the number of Sri Lankans was more than 5,520, Bangladeshis was more than 2,715, and Pakistanis more than 139,574?
CREATE TABLE table_47310 ( "Year" text, "Indians admitted" real, "Pakistanis admitted" real, "Sri Lankans admitted" real, "Bangladeshis admitted" real, "Nepalis admitted" real )
SELECT MAX("Nepalis admitted") FROM table_47310 WHERE "Sri Lankans admitted" > '5,520' AND "Bangladeshis admitted" > '2,715' AND "Pakistanis admitted" > '139,574'
Who ran for office in the Alabama 1 district?
CREATE TABLE table_758 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Result" text, "Candidates" text )
SELECT "Candidates" FROM table_758 WHERE "District" = 'Alabama 1'
what is the date after number 4 ?
CREATE TABLE table_204_353 ( id number, "no." number, "date/time" text, "aircraft" text, "foe" text, "result" text, "location" text, "notes" text )
SELECT "date/time" FROM table_204_353 WHERE id > (SELECT id FROM table_204_353 WHERE "no." = 4) ORDER BY id LIMIT 1
What is the Visitor with a Series with 3 2?
CREATE TABLE table_name_50 ( visitor VARCHAR, series VARCHAR )
SELECT visitor FROM table_name_50 WHERE series = "3 – 2"
how many consecutive years did pavel loskutov run in the joongang seoul marathon ?
CREATE TABLE table_203_270 ( id number, "year" number, "competition" text, "venue" text, "position" text, "event" text, "notes" text )
SELECT COUNT("year") FROM table_203_270 WHERE "competition" = 'joongang seoul marathon'
Name the 132.1% for where north carolina is colorado
CREATE TABLE table_19826 ( "North Carolina" text, "273.7%" text, "South Carolina" text, "132.1%" text, "Mississippi" text, "95.8%" text, "Wisconsin" text, "59.4%" text, "Vermont" text, "32.5%" text )
SELECT "132.1%" FROM table_19826 WHERE "North Carolina" = 'Colorado'
What year was John m. Belk Arena built?
CREATE TABLE table_name_74 ( year_built VARCHAR, venue VARCHAR )
SELECT year_built FROM table_name_74 WHERE venue = "john m. belk arena"
Which city lives most of staffs? List the city name and number of staffs.
CREATE TABLE Addresses ( city VARCHAR, address_id VARCHAR ) CREATE TABLE Staff ( staff_address_id VARCHAR )
SELECT T1.city, COUNT(*) FROM Addresses AS T1 JOIN Staff AS T2 ON T1.address_id = T2.staff_address_id GROUP BY T1.city ORDER BY COUNT(*) DESC LIMIT 1
When Kubb is in 9th, who is in 10th?
CREATE TABLE table_17111812_1 ( tenth VARCHAR, ninth VARCHAR )
SELECT tenth FROM table_17111812_1 WHERE ninth = "Kubb"
Name the region 4 for the complete fifth series
CREATE TABLE table_18081 ( "Complete Series" text, "Region 1" text, "Region 2" text, "Region 4" text, "DVD Extras and Bonus Features" text, "Number Of Discs" real )
SELECT "Region 4" FROM table_18081 WHERE "Complete Series" = 'The Complete Fifth Series'
How many points for did Bridgend Athletic RFC score?
CREATE TABLE table_69523 ( "Club" text, "Played" text, "Drawn" text, "Lost" text, "Points for" text, "Points against" text, "Tries for" text, "Tries against" text, "Try bonus" text )
SELECT "Points for" FROM table_69523 WHERE "Club" = 'bridgend athletic rfc'
What was the date that an away team score 11.22 (88)?
CREATE TABLE table_57405 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Date" FROM table_57405 WHERE "Away team score" = '11.22 (88)'
What is Country of Origin, when Year of Intro is greater than 1985, and when Primary Cartridge is 125mm?
CREATE TABLE table_7703 ( "Name/ designation" text, "Year of intro" real, "Country of origin" text, "Primary cartridge" text, "Type" text )
SELECT "Country of origin" FROM table_7703 WHERE "Year of intro" > '1985' AND "Primary cartridge" = '125mm'
what is the only year that did not qualify appears under the playoffs column ?
CREATE TABLE table_203_521 ( id number, "year" number, "division" number, "league" text, "regular season" text, "playoffs" text, "open cup" text )
SELECT "year" FROM table_203_521 WHERE "playoffs" = 'did not qualify'
When did the term end for the U.S. Marine Corps?
CREATE TABLE table_50091 ( "Name" text, "Branch" text, "Term began" text, "Term ended" text, "Time in office" text )
SELECT "Term ended" FROM table_50091 WHERE "Branch" = 'u.s. marine corps'
What is the average total of the census after 1971 with 10,412 (32.88%) Serbs?
CREATE TABLE table_name_90 ( total INTEGER, year_of_census VARCHAR, serbs VARCHAR )
SELECT AVG(total) FROM table_name_90 WHERE year_of_census > 1971 AND serbs = "10,412 (32.88%)"
when points against is points again, which are the drawn?
CREATE TABLE table_20396710_1 ( drawn VARCHAR )
SELECT drawn FROM table_20396710_1 WHERE "points_against" = "points_against"
Name the most time for katrin mei ner and rank less than 5
CREATE TABLE table_68512 ( "Rank" real, "Lane" real, "Name" text, "Nationality" text, "Time" real )
SELECT MAX("Time") FROM table_68512 WHERE "Name" = 'katrin meißner' AND "Rank" < '5'
How many ansi codes are there for longitude 46.415037?
CREATE TABLE table_18600760_20 ( ansi_code VARCHAR, latitude VARCHAR )
SELECT COUNT(ansi_code) FROM table_18600760_20 WHERE latitude = "46.415037"
What is the alternate title/translation of the series that premiered on December 12, 2006?
CREATE TABLE table_name_40 ( alternate_title_translation VARCHAR, series_premiere VARCHAR )
SELECT alternate_title_translation FROM table_name_40 WHERE series_premiere = "december 12, 2006"
How many years have a Record of 73-65?
CREATE TABLE table_name_74 ( year VARCHAR, record VARCHAR )
SELECT COUNT(year) FROM table_name_74 WHERE record = "73-65"
What is the average rank of the record on 2007-06-21 with a mark less than 91.29?
CREATE TABLE table_name_31 ( rank INTEGER, date VARCHAR, mark VARCHAR )
SELECT AVG(rank) FROM table_name_31 WHERE date = "2007-06-21" AND mark < 91.29
What is the Time when the Epicenter was Bam?
CREATE TABLE table_32293 ( "Date" text, "Time" text, "Epicenter" text, "Magnitude" text, "Fatalities" text, "Name" text )
SELECT "Time" FROM table_32293 WHERE "Epicenter" = 'bam'
How many percentages of Left Bloc correspond to a 32.1% Social Democratic?
CREATE TABLE table_19479 ( "Date Released" text, "Polling institute" text, "Socialist" text, "Social Democratic" text, "Peoples Party" text, "Green-Communist" text, "Left Bloc" text, "Lead" text )
SELECT COUNT("Left Bloc") FROM table_19479 WHERE "Social Democratic" = '32.1%'
what is the average draw when the place is 5 and points more than 15?
CREATE TABLE table_65353 ( "Draw" real, "Language" text, "Artist" text, "Place" real, "Points" real )
SELECT AVG("Draw") FROM table_65353 WHERE "Place" = '5' AND "Points" > '15'
Which party experienced a result of lost re-election democratic-republican hold?
CREATE TABLE table_28914 ( "District" text, "Incumbent" text, "Party" text, "First elected" text, "Result" text, "Candidates" text )
SELECT "Party" FROM table_28914 WHERE "Result" = 'Lost re-election Democratic-Republican hold'
What is the weight of the player from club panionios g.c. and was born on 1975-05-21?
CREATE TABLE table_79053 ( "Name" text, "Pos." text, "Height" text, "Weight" text, "Date of Birth" text, "Club" text )
SELECT "Weight" FROM table_79053 WHERE "Club" = 'panionios g.c.' AND "Date of Birth" = '1975-05-21'
What are the highest points with a Chassis of gordini t16, and a Year smaller than 1954?
CREATE TABLE table_name_41 ( points INTEGER, chassis VARCHAR, year VARCHAR )
SELECT MAX(points) FROM table_name_41 WHERE chassis = "gordini t16" AND year < 1954
What is the score for Billy Andrade?
CREATE TABLE table_name_73 ( score VARCHAR, player VARCHAR )
SELECT score FROM table_name_73 WHERE player = "billy andrade"
Tell me the year for rank more than 35 and out of 167
CREATE TABLE table_57602 ( "Index" text, "Organization" text, "Year" text, "Rank" real, "Out of" real )
SELECT "Year" FROM table_57602 WHERE "Rank" > '35' AND "Out of" = '167'
What is the lowest overall with more than 17 rounds?
CREATE TABLE table_70973 ( "Round" real, "Overall" real, "Player" text, "Position" text, "College" text )
SELECT MIN("Overall") FROM table_70973 WHERE "Round" > '17'
What is the Days, hours, minutes for 21 26 October?
CREATE TABLE table_name_81 ( days VARCHAR, _hours VARCHAR, _minutes VARCHAR, dates VARCHAR )
SELECT days, _hours, _minutes FROM table_name_81 WHERE dates = "21 – 26 october"
What was the highest rank of an area with a population density larger than 5.7 and a 2006 2011 percentage growth of 5.7%?
CREATE TABLE table_name_45 ( rank INTEGER, population_density___km_2__ VARCHAR, _percentage_growth__2006_11_ VARCHAR )
SELECT MAX(rank) FROM table_name_45 WHERE population_density___km_2__ > 5.7 AND _percentage_growth__2006_11_ = "5.7%"
What is the Result with a Date with 4 september 2013?
CREATE TABLE table_name_4 ( result VARCHAR, date VARCHAR )
SELECT result FROM table_name_4 WHERE date = "4 september 2013"
What date was the district incumbent Saxby Chambliss elected?
CREATE TABLE table_26336739_1 ( elected INTEGER, incumbent VARCHAR )
SELECT MAX(elected) FROM table_26336739_1 WHERE incumbent = "Saxby Chambliss"
Who played men's doubles in 2012?
CREATE TABLE table_31785 ( "Year" text, "Men's Singles" text, "Women's Singles" text, "Men's Doubles" text, "Women's Doubles" text, "Mixed Doubles" text )
SELECT "Men's Doubles" FROM table_31785 WHERE "Year" = '2012'
Who is the home team when hawthorn is the away side?
CREATE TABLE table_33573 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Home team" FROM table_33573 WHERE "Away team" = 'hawthorn'
Which Club/province has a Player of david penalva?
CREATE TABLE table_name_41 ( club_province VARCHAR, player VARCHAR )
SELECT club_province FROM table_name_41 WHERE player = "david penalva"
Where is the orchestra when the year of recording is 1934?
CREATE TABLE table_73366 ( "Piano" text, "Conductor" text, "Orchestra" text, "Record Company" text, "Year of Recording" real, "Format" text )
SELECT "Orchestra" FROM table_73366 WHERE "Year of Recording" = '1934'
When roy richardson 476cc aermacchi is the rider what is the time for saturday august 9th?
CREATE TABLE table_2880 ( "Rank" real, "Rider" text, "Mon 24 Aug" text, "Tues 25 Aug" text, "Wed 26 Aug" text, "Thurs 27 Aug" text, "Fri 28 Aug" text, "Sat 29 Aug" text )
SELECT "Sat 29 Aug" FROM table_2880 WHERE "Rider" = 'Roy Richardson 476cc Aermacchi'
What kind of Silver has a Rank of 3, and a Gold smaller than 2?
CREATE TABLE table_name_9 ( silver VARCHAR, rank VARCHAR, gold VARCHAR )
SELECT COUNT(silver) FROM table_name_9 WHERE rank = "3" AND gold < 2
Which Opponent has an attendance greater than 50,522, and a record of 80-63?
CREATE TABLE table_15153 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Record" text )
SELECT "Opponent" FROM table_15153 WHERE "Attendance" > '50,522' AND "Record" = '80-63'
Who was the visitor at the pittsburgh penguins at 7:00 pm that had a record of 0-2-2?
CREATE TABLE table_39669 ( "Date" text, "Time" text, "Visitor" text, "Score" text, "Home" text, "Location/Attendance" text, "Record" text )
SELECT "Visitor" FROM table_39669 WHERE "Home" = 'pittsburgh penguins' AND "Time" = '7:00 pm' AND "Record" = '0-2-2'
What is shown for november 3 when august 21-22 is august 22, 1998?
CREATE TABLE table_25355501_2 ( november_3 VARCHAR, august_21_22 VARCHAR )
SELECT november_3 FROM table_25355501_2 WHERE august_21_22 = "August 22, 1998"
What was the team Unics Kazan's 1st leg score?
CREATE TABLE table_name_73 ( team__number1 VARCHAR )
SELECT 1 AS st_leg FROM table_name_73 WHERE team__number1 = "unics kazan"
Name the score for 49-31
CREATE TABLE table_25493 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text )
SELECT "Score" FROM table_25493 WHERE "Record" = '49-31'
what is the name of the first player on this list ?
CREATE TABLE table_203_871 ( id number, "#" number, "player" text, "pos" text, "pts" number, "tries" number, "conv" number, "pens" number, "drop" number, "opposition" text, "venue" text, "date" text )
SELECT "player" FROM table_203_871 WHERE id = 1
What is the tally when the opposition is Derry, and total is 14?
CREATE TABLE table_name_12 ( tally VARCHAR, opposition VARCHAR, total VARCHAR )
SELECT tally FROM table_name_12 WHERE opposition = "derry" AND total = 14
What's the original title of the nomination title, 'brecha en el silencio'?
CREATE TABLE table_60579 ( "Year (Ceremony)" text, "Original title" text, "Film title used in nomination" text, "Director" text, "Result" text )
SELECT "Original title" FROM table_60579 WHERE "Film title used in nomination" = 'brecha en el silencio'
total number of models created .
CREATE TABLE table_203_873 ( id number, "model name" text, "length" text, "width" text, "height" text, "riders" number, "capacity" number, "description" text, "portable" text, "notes" number )
SELECT COUNT(DISTINCT "model name") FROM table_203_873
What identities do the genus/species arabidopsis thaliana have?
CREATE TABLE table_20073 ( "Genus/Species" text, "Common Name" text, "Accession Number" text, "Length" text, "Similarity" text, "Identity" text )
SELECT "Identity" FROM table_20073 WHERE "Genus/Species" = 'Arabidopsis thaliana'
When ellery and frankie are the couple what is the highest total?
CREATE TABLE table_23248 ( "Rank" real, "Couple" text, "Judges" real, "Public" real, "Total" real, "Vote percentage" text, "Result" text )
SELECT MAX("Total") FROM table_23248 WHERE "Couple" = 'Ellery and Frankie'
Tell me the score for december 3
CREATE TABLE table_57399 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Record" text )
SELECT "Score" FROM table_57399 WHERE "Date" = 'december 3'
how many 1st place round results were there ?
CREATE TABLE table_204_115 ( id number, "year" number, "track" text, "number" number, "team" text, "car" text, "round result" text )
SELECT COUNT(*) FROM table_204_115 WHERE "round result" = 1
What is the Depart de la main gauche of the do Mode?
CREATE TABLE table_name_26 ( départ_de_la_main_gauche VARCHAR, mode VARCHAR )
SELECT départ_de_la_main_gauche FROM table_name_26 WHERE mode = "do"
How many times was the mens u20 recorded when the Womens 40 were Sydney Scorpions def North Queensland Cyclones?
CREATE TABLE table_16724844_1 ( mens_u20 VARCHAR, womens_40 VARCHAR )
SELECT COUNT(mens_u20) FROM table_16724844_1 WHERE womens_40 = "Sydney Scorpions def North Queensland Cyclones"
What is the total number of each fate? Give me the result in a bar graph, and could you order Y-axis from low to high order?
CREATE TABLE ship ( Ship_ID int, Name text, Type text, Nationality text, Tonnage int ) CREATE TABLE mission ( Mission_ID int, Ship_ID int, Code text, Launched_Year int, Location text, Speed_knots int, Fate text )
SELECT Fate, COUNT(Fate) FROM mission GROUP BY Fate ORDER BY COUNT(Fate)
Name the least world rank for south american rank 3
CREATE TABLE table_2249087_1 ( world_rank INTEGER, south_american_rank VARCHAR )
SELECT MIN(world_rank) FROM table_2249087_1 WHERE south_american_rank = 3
how many winnings does jeff gordon have?
CREATE TABLE table_3897 ( "Position" real, "Driver" text, "Points" real, "Winnings" text, "Series" text )
SELECT "Winnings" FROM table_3897 WHERE "Driver" = 'Jeff Gordon'
What is the competition type of the event with a result of 3-2 and a score of 2-1?
CREATE TABLE table_68487 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text )
SELECT "Competition" FROM table_68487 WHERE "Result" = '3-2' AND "Score" = '2-1'
What is the total number of weeks where games were on November 5, 1973 and the attendance was larger than 49,220?
CREATE TABLE table_6527 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real )
SELECT COUNT("Week") FROM table_6527 WHERE "Date" = 'november 5, 1973' AND "Attendance" > '49,220'
how many total times has this team finished 1st in mid south ?
CREATE TABLE table_203_521 ( id number, "year" number, "division" number, "league" text, "regular season" text, "playoffs" text, "open cup" text )
SELECT COUNT(*) FROM table_203_521 WHERE "regular season" = '1st, mid south'
Which driver has a # smaller than 40, less than 151 points, and Winnings of $84,400?
CREATE TABLE table_12045 ( "Driver" text, "Car #" real, "Make" text, "Points" real, "Laps" real, "Winnings" text )
SELECT "Make" FROM table_12045 WHERE "Car #" < '40' AND "Points" < '151' AND "Winnings" = '$84,400'
What year did Elf Team Tyrrell have 34 points?
CREATE TABLE table_15835 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Points" text )
SELECT AVG("Year") FROM table_15835 WHERE "Entrant" = 'elf team tyrrell' AND "Points" = '34'
What is the number of bronze medals when there are fewer than 0 silver medals?
CREATE TABLE table_78124 ( "Rank" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real )
SELECT SUM("Bronze") FROM table_78124 WHERE "Silver" < '0'
What's the Loss listed with a Score of 5-1?
CREATE TABLE table_58247 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" text, "Record" text )
SELECT "Loss" FROM table_58247 WHERE "Score" = '5-1'
What unit has an Avoirdupois value of 57.602 gr.?
CREATE TABLE table_37329 ( "Unit" text, "Russian" text, "Translation" text, "Ratio" real, "Metric value" text, "Avoirdupois value" text, "Ordinary value" text )
SELECT "Unit" FROM table_37329 WHERE "Avoirdupois value" = '57.602 gr.'
What is the average rank of one who is at 76 laps?
CREATE TABLE table_10504 ( "Grid" real, "Constructor" text, "Qual" real, "Rank" real, "Laps" real, "Time/retired" text )
SELECT AVG("Rank") FROM table_10504 WHERE "Laps" = '76'
Name the most margin for nco party and p. ramachandran won
CREATE TABLE table_22754310_1 ( margin INTEGER, party VARCHAR, winner VARCHAR )
SELECT MAX(margin) FROM table_22754310_1 WHERE party = "NCO" AND winner = "P. Ramachandran"
Which opponent had a time of 0:29?
CREATE TABLE table_name_71 ( opponent VARCHAR, time VARCHAR )
SELECT opponent FROM table_name_71 WHERE time = "0:29"
Who were the co-drivers of the vehicle that had both a Class position and position of 7th?
CREATE TABLE table_62622 ( "Year" real, "Team" text, "Co-Drivers" text, "Class" text, "Laps" real, "Pos." text, "Class Pos." text )
SELECT "Co-Drivers" FROM table_62622 WHERE "Class Pos." = '7th' AND "Pos." = '7th'
What club has a played number of 19, and the lost of 14?
CREATE TABLE table_name_93 ( club VARCHAR, played VARCHAR, lost VARCHAR )
SELECT club FROM table_name_93 WHERE played = "19" AND lost = "14"
What is the total number of ties a team with less than 3 losses have?
CREATE TABLE table_name_98 ( ties VARCHAR, losses INTEGER )
SELECT COUNT(ties) FROM table_name_98 WHERE losses < 3
Name the least wins of 56.25%
CREATE TABLE table_15829930_5 ( wins INTEGER, success_rate VARCHAR )
SELECT MIN(wins) FROM table_15829930_5 WHERE success_rate = "56.25%"
What country was the woman from who was born 1976-07-23 and became a grandmaster in 1991?
CREATE TABLE table_name_83 ( country VARCHAR, date VARCHAR, birth_date VARCHAR )
SELECT country FROM table_name_83 WHERE date = 1991 AND birth_date = "1976-07-23"