instruction
stringlengths
12
317
input
stringlengths
38
973
response
stringlengths
25
526
Tell me the number of gold for albania with a silver of 1 and total less than 1
CREATE TABLE table_name_12 ( gold VARCHAR, total VARCHAR, silver VARCHAR, nation VARCHAR )
SELECT COUNT(gold) FROM table_name_12 WHERE silver = 1 AND nation = "albania" AND total < 1
HOw many points where there when the number of goals scored was 47?
CREATE TABLE table_22076 ( "Position" real, "Club" text, "Games played" real, "Wins" real, "Draws" real, "Loses" real, "Goals scored" real, "Goals conceded" real, "Points" real )
SELECT MAX("Points") FROM table_22076 WHERE "Goals scored" = '47'
What is the score of the game on February 26 with the Chicago black hawks as the home team and the New York Rangers as the visitor team?
CREATE TABLE table_name_59 ( score VARCHAR, date VARCHAR, home VARCHAR, visitor VARCHAR )
SELECT score FROM table_name_59 WHERE home = "chicago black hawks" AND visitor = "new york rangers" AND date = "february 26"
What country is the show aired on TVNZ?
CREATE TABLE table_14523485_9 ( country VARCHAR, channel VARCHAR )
SELECT country FROM table_14523485_9 WHERE channel = "TVNZ"
Which Pick # has a Round larger than 5, and a Position of wide receiver, and a Name of gregory spann, and an Overall larger than 228?
CREATE TABLE table_name_67 ( pick__number INTEGER, overall VARCHAR, name VARCHAR, round VARCHAR, position VARCHAR )
SELECT AVG(pick__number) FROM table_name_67 WHERE round > 5 AND position = "wide receiver" AND name = "gregory spann" AND overall > 228
What were the high points on june 20?
CREATE TABLE table_49769 ( "Game" real, "Date" text, "Opponent" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location/Attendance" text, "Record" text )
SELECT "High points" FROM table_49769 WHERE "Date" = 'june 20'
Who is the writer of the film Run?
CREATE TABLE table_name_14 ( writer VARCHAR, film VARCHAR )
SELECT writer FROM table_name_14 WHERE film = "run"
Name the high rebounds for 77 game
CREATE TABLE table_27755784_11 ( high_rebounds VARCHAR, game VARCHAR )
SELECT high_rebounds FROM table_27755784_11 WHERE game = 77
For week number of the top 40, what was the results?
CREATE TABLE table_22736523_1 ( result VARCHAR, week__number VARCHAR )
SELECT result FROM table_22736523_1 WHERE week__number = "Top 40"
Which Date has Opponents in the final of valeria casillo lilly raffa?
CREATE TABLE table_39299 ( "Outcome" text, "Date" text, "Tournament" text, "Surface" text, "Partner" text, "Opponents in the final" text, "Score" text )
SELECT "Date" FROM table_39299 WHERE "Opponents in the final" = 'valeria casillo lilly raffa'
what's the first operational with programming being not programmable single purpose
CREATE TABLE table_13636_1 ( first_operational VARCHAR, programming VARCHAR )
SELECT first_operational FROM table_13636_1 WHERE programming = "Not programmable—single purpose"
What place did Keith Clearwater get?
CREATE TABLE table_name_99 ( place VARCHAR, player VARCHAR )
SELECT place FROM table_name_99 WHERE player = "keith clearwater"
What was the Tues 25 Aug time and speed when Mon 24 Aug was 22' 24.56 101.021mph?
CREATE TABLE table_23465864_6 ( tues_25_aug VARCHAR, mon_24_aug VARCHAR )
SELECT tues_25_aug FROM table_23465864_6 WHERE mon_24_aug = "22' 24.56 101.021mph"
Which Director has a Role of melissa?
CREATE TABLE table_34866 ( "Year" text, "Title" text, "Role" text, "Producer" text, "Director" text )
SELECT "Director" FROM table_34866 WHERE "Role" = 'melissa'
What is the value in 1988 when it is 2R in 1997 and SF in 1993?
CREATE TABLE table_name_41 ( Id VARCHAR )
SELECT 1988 FROM table_name_41 WHERE 1997 = "2r" AND 1993 = "sf"
Which Democrat was selected in the poll with a sample size smaller than 516 where the Republican chosen was Ron Paul?
CREATE TABLE table_76528 ( "Poll Source" text, "Sample Size" real, "Margin of Error" real, "Date" text, "Democrat" text, "Republican" text )
SELECT "Democrat" FROM table_76528 WHERE "Sample Size" < '516' AND "Republican" = 'ron paul'
How many viewers in millions watched the episode with the production code 6acx16?
CREATE TABLE table_24859 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" text, "U.S. viewers (million)" text )
SELECT "U.S. viewers (million)" FROM table_24859 WHERE "Production code" = '6ACX16'
Show all document type codes, document type names, document type descriptions.
CREATE TABLE Ref_document_types ( document_type_code VARCHAR, document_type_name VARCHAR, document_type_description VARCHAR )
SELECT document_type_code, document_type_name, document_type_description FROM Ref_document_types
What are the average byes of Bonnie Doon having more than 16 wins?
CREATE TABLE table_name_54 ( byes INTEGER, benalla_dfl VARCHAR, wins VARCHAR )
SELECT AVG(byes) FROM table_name_54 WHERE benalla_dfl = "bonnie doon" AND wins > 16
Visualize a pie chart about the proportion of Team_Name and ACC_Percent.
CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text, ACC_Percent text, ACC_Home text, ACC_Road text, All_Games text, All_Games_Percent int, All_Home text, All_Road text, All_Neutral text ) CREATE TABLE university ( School_ID int, School text, Location text, Founded real, Affiliation text, Enrollment real, Nickname text, Primary_conference text )
SELECT Team_Name, ACC_Percent FROM basketball_match
When was Will Shields inducted into the Pro Football Hall of Fame?
CREATE TABLE table_29501 ( "Number" real, "Player" text, "Position" text, "Seasons by team" text, "Year of induction into Pro Football Hall of Fame" text )
SELECT "Year of induction into Pro Football Hall of Fame" FROM table_29501 WHERE "Player" = 'Will Shields'
What date was the venue at VFL park?
CREATE TABLE table_58525 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Date" FROM table_58525 WHERE "Venue" = 'vfl park'
How many viewers in millions watched the episode with the number 10.18?
CREATE TABLE table_25391981_20 ( viewers__millions_ VARCHAR, episode_number VARCHAR )
SELECT viewers__millions_ FROM table_25391981_20 WHERE episode_number = "10.18"
What issue has mort drucker as the artist and february 2001 as the date?
CREATE TABLE table_name_20 ( issue VARCHAR, artist VARCHAR, date VARCHAR )
SELECT issue FROM table_name_20 WHERE artist = "mort drucker" AND date = "february 2001"
What was the home team for the game with more than 25,000 crowd?
CREATE TABLE table_33727 ( "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_33727 WHERE "Crowd" > '25,000'
What is the home team's score at mcg?
CREATE TABLE table_name_49 ( home_team VARCHAR, venue VARCHAR )
SELECT home_team AS score FROM table_name_49 WHERE venue = "mcg"
If Thursday 3 June is 20' 27.93 110.615mph, what are the names of the riders?
CREATE TABLE table_27455 ( "Rank" real, "Rider" text, "Sat 29 May" text, "Mon 31 May" text, "Tues 1 June" text, "Wed 2 June" text, "Thurs 3 June" text, "Fri 4 June" text )
SELECT "Rider" FROM table_27455 WHERE "Thurs 3 June" = '20'' 27.93 110.615mph'
What year is the event in athens, greece?
CREATE TABLE table_11121 ( "Year" real, "Tournament" text, "Venue" text, "Result" text, "Extra" text )
SELECT MAX("Year") FROM table_11121 WHERE "Venue" = 'athens, greece'
Find the average rating star for each movie that received at least 2 ratings.
CREATE TABLE Rating ( mID VARCHAR, stars INTEGER )
SELECT mID, AVG(stars) FROM Rating GROUP BY mID HAVING COUNT(*) >= 2
what is the lowest grid when the time retired is clutch, the driver is peter collins and the laps is smaller than 26?
CREATE TABLE table_name_88 ( grid INTEGER, laps VARCHAR, time_retired VARCHAR, driver VARCHAR )
SELECT MIN(grid) FROM table_name_88 WHERE time_retired = "clutch" AND driver = "peter collins" AND laps < 26
What is the total balance of savings accounts not belonging to someone with the name Brown?
CREATE TABLE checking ( custid number, balance number ) CREATE TABLE savings ( custid number, balance number ) CREATE TABLE accounts ( custid number, name text )
SELECT SUM(T2.balance) FROM accounts AS T1 JOIN savings AS T2 ON T1.custid = T2.custid WHERE T1.name <> 'Brown'
Tell me the block A for antonio thomas of kondo (13:24)
CREATE TABLE table_54839 ( "Block A" text, "Antonio Thomas" text, "Hikaru Sato" text, "Hiroshi Yamato" text, "Kaz Hayashi" text, "Minoru" text, "Super Crazy" text )
SELECT "Block A" FROM table_54839 WHERE "Antonio Thomas" = 'kondo (13:24)'
What position is played by farmar, jordan jordan farmar?
CREATE TABLE table_name_29 ( position VARCHAR, player VARCHAR )
SELECT position FROM table_name_29 WHERE player = "farmar, jordan jordan farmar"
Name the subject of shiyan
CREATE TABLE table_80079 ( "Chapter" real, "Chinese" text, "Pinyin" text, "Translation" text, "Subject" text )
SELECT "Subject" FROM table_80079 WHERE "Pinyin" = 'shiyan'
What is the 1st party with Charles Isaac Elton as the 2nd member?
CREATE TABLE table_71438 ( "Election" text, "1st Member" text, "1st Party" text, "2nd Member" text, "2nd Party" text )
SELECT "1st Party" FROM table_71438 WHERE "2nd Member" = 'charles isaac elton'
Which Country has a Rank of 5?
CREATE TABLE table_39261 ( "Rank" real, "Player" text, "Country" text, "Earnings ( $ )" real, "Events" real, "Wins" real )
SELECT "Country" FROM table_39261 WHERE "Rank" = '5'
What is listed for the Cores that has the L3 cache of 8 MB and Model number of Core i7-860?
CREATE TABLE table_name_76 ( cores VARCHAR, l3_cache VARCHAR, model_number VARCHAR )
SELECT cores FROM table_name_76 WHERE l3_cache = "8 mb" AND model_number = "core i7-860"
What is the effective exhaust velocity in a Space Shuttle Vacuum?
CREATE TABLE table_15944_5 ( effective_exhaust_velocity__m_s_ VARCHAR, scenario VARCHAR )
SELECT COUNT(effective_exhaust_velocity__m_s_) FROM table_15944_5 WHERE scenario = "Space shuttle vacuum"
What's the earliest year listed for 'where are you going to my love' from the album united we stand?
CREATE TABLE table_44781 ( "Year" real, "Month" text, "Single" text, "Album" text, "Record label" text )
SELECT MIN("Year") FROM table_44781 WHERE "Album" = 'united we stand' AND "Single" = 'where are you going to my love'
Which Team has Podiums of 0, and a Position of nc ?
CREATE TABLE table_60516 ( "Season" real, "Series" text, "Team" text, "Races" text, "Wins" text, "Poles" text, "Podiums" text, "Points" text, "Position" text )
SELECT "Team" FROM table_60516 WHERE "Podiums" = '0' AND "Position" = 'nc†'
What is the loss for the record of 42-36?
CREATE TABLE table_15053 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Record" text )
SELECT "Loss" FROM table_15053 WHERE "Record" = '42-36'
What AP increase has an AP duration of 0.75?
CREATE TABLE table_41593 ( "Animal" text, "Cell type" text, "Resting potential (mV)" text, "AP increase (mV)" text, "AP duration (ms)" text, "Conduction speed (m/s)" text )
SELECT "AP increase (mV)" FROM table_41593 WHERE "AP duration (ms)" = '0.75'
What is the number of each allergie that the student with first name Lisa has? Draw a bar chart.
CREATE TABLE Student ( StuID INTEGER, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3) ) CREATE TABLE Allergy_Type ( Allergy VARCHAR(20), AllergyType VARCHAR(20) ) CREATE TABLE Has_Allergy ( StuID INTEGER, Allergy VARCHAR(20) )
SELECT T1.Allergy, COUNT(T1.Allergy) FROM Allergy_Type AS T1 JOIN Has_Allergy AS T2 ON T1.Allergy = T2.Allergy JOIN Student AS T3 ON T3.StuID = T2.StuID WHERE T3.Fname = "Lisa" GROUP BY T1.Allergy
What is the IATA when the ICAO is wipp?
CREATE TABLE table_name_52 ( iata VARCHAR, icao VARCHAR )
SELECT iata FROM table_name_52 WHERE icao = "wipp"
Which Touchdowns is the lowest one that has Points of 5, and a Field goals larger than 0?
CREATE TABLE table_name_81 ( touchdowns INTEGER, points VARCHAR, field_goals VARCHAR )
SELECT MIN(touchdowns) FROM table_name_81 WHERE points = 5 AND field_goals > 0
What is the original air dates for the title 'firestorm'?
CREATE TABLE table_72208 ( "Series #" real, "Season #" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" real )
SELECT "Original air date" FROM table_72208 WHERE "Title" = 'Firestorm'
In what location was a stadium built for the St Kilda Football Club?
CREATE TABLE table_28885977_1 ( location VARCHAR, built_for VARCHAR )
SELECT location FROM table_28885977_1 WHERE built_for = "St Kilda Football Club"
which institutions can be categorized as private/united church of christ?
CREATE TABLE table_261895_1 ( institution VARCHAR, type VARCHAR )
SELECT institution FROM table_261895_1 WHERE type = "Private/United Church of Christ"
What player has The United States as the country, with t2 as the place?
CREATE TABLE table_name_9 ( player VARCHAR, country VARCHAR, place VARCHAR )
SELECT player FROM table_name_9 WHERE country = "united states" AND place = "t2"
The episode with production code 9abx02 was originally aired on what date?
CREATE TABLE table_72086 ( "No. in set" real, "No. in series" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" text )
SELECT "Original air date" FROM table_72086 WHERE "Production code" = '9ABX02'
Tell me the score for Venue of tanteen recreation ground, st. george's
CREATE TABLE table_51771 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text )
SELECT "Score" FROM table_51771 WHERE "Venue" = 'tanteen recreation ground, st. george''s'
Find the name of dorms which have both TV Lounge and Study Room as amenities.
CREATE TABLE has_amenity ( dormid VARCHAR, amenid VARCHAR ) CREATE TABLE dorm_amenity ( amenid VARCHAR, amenity_name VARCHAR ) CREATE TABLE dorm ( dorm_name VARCHAR, dormid VARCHAR )
SELECT T1.dorm_name FROM dorm AS T1 JOIN has_amenity AS T2 ON T1.dormid = T2.dormid JOIN dorm_amenity AS T3 ON T2.amenid = T3.amenid WHERE T3.amenity_name = 'TV Lounge' INTERSECT SELECT T1.dorm_name FROM dorm AS T1 JOIN has_amenity AS T2 ON T1.dormid = T2.dormid JOIN dorm_amenity AS T3 ON T2.amenid = T3.amenid WHERE T3.amenity_name = 'Study Room'
What is the lowest capacity for 1903?
CREATE TABLE table_name_75 ( capacity INTEGER, year_opened VARCHAR )
SELECT MIN(capacity) FROM table_name_75 WHERE year_opened = "1903"
What place has E as the to par, with Mark Wiebe as the player?
CREATE TABLE table_name_3 ( place VARCHAR, to_par VARCHAR, player VARCHAR )
SELECT place FROM table_name_3 WHERE to_par = "e" AND player = "mark wiebe"
WHAT TEAM 1 HAS A 1st leg of 1 1, and a 2nd leg of 1 3?
CREATE TABLE table_50662 ( "Team 1" text, "Agg." text, "Team 2" text, "1st leg" text, "2nd leg" text )
SELECT "Team 1" FROM table_50662 WHERE "1st leg" = '1–1' AND "2nd leg" = '1–3'
Name the least total kurdistan list
CREATE TABLE table_26850 ( "Governorate" text, "Kurdistan Democratic Party" real, "Patriotic Union of Kurdistan" real, "Total Kurdistan List" real, "Total Governorate Seats" real )
SELECT MIN("Total Kurdistan List") FROM table_26850
What is the summary of the algorithm with a theta i of 0.43?
CREATE TABLE table_56059 ( "\\theta_i" real, "Simulated datasets (step 2)" text, "Summary statistic \\omega_{S,i} (step 3)" real, "Distance \\rho(\\omega_{S,i}, \\omega_E) (step 4)" real, "Outcome (step 4)" text )
SELECT "Summary statistic \\omega_{S,i} (step 3)" FROM table_56059 WHERE "\\theta_i" = '0.43'
What is the grid total associated with 18 laps?
CREATE TABLE table_name_35 ( grid VARCHAR, laps VARCHAR )
SELECT COUNT(grid) FROM table_name_35 WHERE laps = 18
What studio has the director Philip Frank Messina?
CREATE TABLE table_63482 ( "Year" real, "Title" text, "Director" text, "Studio(s)" text, "Notes" text )
SELECT "Studio(s)" FROM table_63482 WHERE "Director" = 'philip frank messina'
What is the transcription of the sanskrit word chandra?
CREATE TABLE table_180802_3 ( transcription VARCHAR, sanskrit_word VARCHAR )
SELECT transcription FROM table_180802_3 WHERE sanskrit_word = "Chandra"
How many starts are there?
CREATE TABLE table_25751 ( "Position" real, "Driver" text, "Points" real, "Starts" real, "Wins" real, "Top 5s" real, "Top 10s" real, "Winnings ($)" real )
SELECT MIN("Starts") FROM table_25751
What's the report about townsville crocodiles as an away team?
CREATE TABLE table_name_35 ( report VARCHAR, away_team VARCHAR )
SELECT report FROM table_name_35 WHERE away_team = "townsville crocodiles"
what is the road numbers when the class is z-7?
CREATE TABLE table_name_66 ( road_numbers VARCHAR, class VARCHAR )
SELECT road_numbers FROM table_name_66 WHERE class = "z-7"
Which Bronze has a Total smaller than 2, and a Silver larger than 0, and a Gold smaller than 0?
CREATE TABLE table_name_69 ( bronze INTEGER, gold VARCHAR, total VARCHAR, silver VARCHAR )
SELECT SUM(bronze) FROM table_name_69 WHERE total < 2 AND silver > 0 AND gold < 0
Draw a bar chart about the distribution of Team_Name and All_Games_Percent .
CREATE TABLE university ( School_ID int, School text, Location text, Founded real, Affiliation text, Enrollment real, Nickname text, Primary_conference text ) CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text, ACC_Percent text, ACC_Home text, ACC_Road text, All_Games text, All_Games_Percent int, All_Home text, All_Road text, All_Neutral text )
SELECT Team_Name, All_Games_Percent FROM basketball_match
What was the To par for bill britton when he placed t7?
CREATE TABLE table_name_37 ( to_par VARCHAR, place VARCHAR, player VARCHAR )
SELECT to_par FROM table_name_37 WHERE place = "t7" AND player = "bill britton"
Where is nac breda club located?
CREATE TABLE table_name_76 ( location VARCHAR, club VARCHAR )
SELECT location FROM table_name_76 WHERE club = "nac breda"
how many rankings are there ?
CREATE TABLE table_204_713 ( id number, "rank" number, "bib" number, "athlete" text, "country" text, "time" text, "deficit" text )
SELECT MAX("rank") FROM table_204_713
How many times was taiwan 3rd runner-up?
CREATE TABLE table_28634206_1 ( country VARCHAR )
SELECT MAX(3 AS rd_runner_up) FROM table_28634206_1 WHERE country = "Taiwan"
Which System has an Actual Version 9.0?
CREATE TABLE table_name_15 ( system VARCHAR, actual_version VARCHAR )
SELECT system FROM table_name_15 WHERE actual_version = "9.0"
What's the 2008 Status of Rosa Delauro?
CREATE TABLE table_63476 ( "District" real, "Incumbent" text, "2008 Status" text, "Democratic" text, "Republican" text, "Green" text )
SELECT "2008 Status" FROM table_63476 WHERE "Democratic" = 'rosa delauro'
What date did the epiode that had 1.37 million as the rating originally air?
CREATE TABLE table_27218002_2 ( originalairdate VARCHAR, ratings VARCHAR )
SELECT originalairdate FROM table_27218002_2 WHERE ratings = "1.37 Million"
Which owner has the frequency of 103.3 FM?
CREATE TABLE table_54804 ( "Frequency" text, "Call sign" text, "Name" text, "Format" text, "Owner" text )
SELECT "Owner" FROM table_54804 WHERE "Frequency" = '103.3 fm'
What is the smallest drawn with a position bigger than 10 and a played less than 20?
CREATE TABLE table_40505 ( "Position" real, "Team" text, "Points" real, "Played" real, "Drawn" real, "Lost" real, "Against" real, "Difference" text )
SELECT MIN("Drawn") FROM table_40505 WHERE "Position" > '10' AND "Played" < '20'
Agri culture b larger than 12.6, what is the lowest vehicles per 1000?
CREATE TABLE table_6460 ( "District" text, "2010 Population (000)" real, "2008 GDP (USD bn) a" real, "2008 GDP per capita (USD) a" real, "Agri culture b" real, "Mining b" real, "Manufac turing b" real, "Services & cons truction b" real, "Exports (USD mn) 2011" text, "Median mo. salary (USD) a e" real, "Vehicles (per 1000) d" real, "Income poverty f" real, "Structural poverty g" real )
SELECT MIN("Vehicles (per 1000) d") FROM table_6460 WHERE "Agri culture b" > '12.6'
What is the Total of the player who won before 1983 with a smaller than 4 To par?
CREATE TABLE table_41510 ( "Player" text, "Country" text, "Year won" real, "Total" real, "To par" real )
SELECT COUNT("Total") FROM table_41510 WHERE "To par" < '4' AND "Year won" < '1983'
Name the highest grid for Laps more than 137 and rank is less than 8
CREATE TABLE table_55295 ( "Grid" real, "Driver" text, "Constructor" text, "Qual" real, "Rank" real, "Laps" real, "Time/Retired" text )
SELECT MAX("Grid") FROM table_55295 WHERE "Laps" > '137' AND "Rank" < '8'
What is the attendance of the match with F.C. central chugoku as the home team?
CREATE TABLE table_name_24 ( attendance VARCHAR, home_team VARCHAR )
SELECT attendance FROM table_name_24 WHERE home_team = "f.c. central chugoku"
Stacked bar chart of how many nationality for with each Type in each nationality
CREATE TABLE mission ( Mission_ID int, Ship_ID int, Code text, Launched_Year int, Location text, Speed_knots int, Fate text ) CREATE TABLE ship ( Ship_ID int, Name text, Type text, Nationality text, Tonnage int )
SELECT Nationality, COUNT(Nationality) FROM ship GROUP BY Type, Nationality
What is the highest heat for Ihor Bodrov when the mark is 6.76 and the lane is less than 1?
CREATE TABLE table_7519 ( "Heat" real, "Lane" real, "Name" text, "Country" text, "Mark" text )
SELECT MAX("Heat") FROM table_7519 WHERE "Mark" = '6.76' AND "Name" = 'ihor bodrov' AND "Lane" < '1'
What is the average Fiscal Year of the firm Headquartered in noida, with less than 85,335 employees?
CREATE TABLE table_name_55 ( fiscal_year INTEGER, headquarters VARCHAR, employees VARCHAR )
SELECT AVG(fiscal_year) FROM table_name_55 WHERE headquarters = "noida" AND employees < 85 OFFSET 335
What type of chipset is in the Precision t3400 model with the PCI Express graphics?
CREATE TABLE table_name_97 ( chipset VARCHAR, graphics VARCHAR, model VARCHAR )
SELECT chipset FROM table_name_97 WHERE graphics = "pci express" AND model = "precision t3400"
how many miles is the metz - nancy route ?
CREATE TABLE table_204_312 ( id number, "stage" text, "date" text, "route" text, "terrain" text, "length" text, "winner" text )
SELECT "length" FROM table_204_312 WHERE "route" = 'metz - nancy'
What is the lowest attendance for a stadium that has an average smaller than 307?
CREATE TABLE table_name_24 ( lowest INTEGER, average INTEGER )
SELECT AVG(lowest) FROM table_name_24 WHERE average < 307
Who drove the fastest lap at the Tenneco Automotive Grand Prix of Detroit?
CREATE TABLE table_16429 ( "Rnd" real, "Race Name" text, "Pole position" text, "Fastest lap" text, "Winning driver" text, "Winning team" text, "Report" text )
SELECT "Fastest lap" FROM table_16429 WHERE "Race Name" = 'Tenneco Automotive Grand Prix of Detroit'
how many teams are listed ?
CREATE TABLE table_204_506 ( id number, "seasons" number, "team" text, "ch.wins" number, "promotions" number, "relegations" number )
SELECT COUNT("team") FROM table_204_506
Which Runner-up has a Winning score of 20 (70-69-64-65=268)?
CREATE TABLE table_name_69 ( runner_up VARCHAR, winning_score VARCHAR )
SELECT runner_up FROM table_name_69 WHERE winning_score = −20(70 - 69 - 64 - 65 = 268)
Which value for Form factor has Sandforce with Capacity 80/120/180/240/360/480 introduced in July 2013?
CREATE TABLE table_6312 ( "Model" text, "Codename" text, "Capacities (GB)" text, "NAND type" text, "Interface" text, "Form factor" text, "Controller" text, "Seq. read/write MB/s" text, "Rnd 4KB read/write IOPS (K)" text, "Introduced" text )
SELECT "Form factor" FROM table_6312 WHERE "Controller" = 'sandforce' AND "Capacities (GB)" = '80/120/180/240/360/480' AND "Introduced" = 'july 2013'
What was the team features at Oran Park Raceway?
CREATE TABLE table_name_41 ( team VARCHAR, circuit VARCHAR )
SELECT team FROM table_name_41 WHERE circuit = "oran park raceway"
Name the 2012 with 2013 of 2r and 2009 of 3r
CREATE TABLE table_37810 ( "Tournament" text, "2006" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text, "2013" text )
SELECT "2012" FROM table_37810 WHERE "2013" = '2r' AND "2009" = '3r'
What player attended Loyola Marymount?
CREATE TABLE table_328 ( "Player" text, "No.(s)" text, "Height in Ft." text, "Position" text, "Years for Rockets" text, "School/Club Team/Country" text )
SELECT "Player" FROM table_328 WHERE "School/Club Team/Country" = 'Loyola Marymount'
List the lowest super league for a 0 champion league.
CREATE TABLE table_30280 ( "Position" text, "Number" real, "Player" text, "Super League" real, "Champions League" real, "Swiss Cup" real, "Total" real )
SELECT MIN("Super League") FROM table_30280 WHERE "Champions League" = '0'
What was the standing when goal against were 279?
CREATE TABLE table_2259285_1 ( standing VARCHAR, goals_against VARCHAR )
SELECT standing FROM table_2259285_1 WHERE goals_against = 279
What was the No. 10 team that has No. 8 of Diana?
CREATE TABLE table_70314 ( "No.1" text, "No.2" text, "No.3" text, "No.4" text, "No.5" text, "No.6" text, "No.7" text, "No.8" text, "No.9" text, "No.10" text, "No.11" text, "No.12" text, "No.13" text, "No.14" text, "No.15" text, "FINAL" text )
SELECT "No.10" FROM table_70314 WHERE "No.8" = 'diana'
Which suits have no material or non-material, either opponent, and are positional?
CREATE TABLE table_33186 ( "Positional or Automatic" text, "Opponents" text, "Suits" text, "Material or Non-material" text, "Count Rectified" text )
SELECT "Suits" FROM table_33186 WHERE "Material or Non-material" = 'no' AND "Opponents" = 'either' AND "Positional or Automatic" = 'positional'
What was willie wood's to par?
CREATE TABLE table_name_15 ( to_par VARCHAR, player VARCHAR )
SELECT to_par FROM table_name_15 WHERE player = "willie wood"
How much Long has a Loss larger than 2, and a Gain of 157, and an Avg/G smaller than 129?
CREATE TABLE table_name_58 ( long INTEGER, avg_g VARCHAR, loss VARCHAR, gain VARCHAR )
SELECT SUM(long) FROM table_name_58 WHERE loss > 2 AND gain = 157 AND avg_g < 129
Return a bar chart about the distribution of All_Road and School_ID , could you list by the names in asc please?
CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text, ACC_Percent text, ACC_Home text, ACC_Road text, All_Games text, All_Games_Percent int, All_Home text, All_Road text, All_Neutral text ) CREATE TABLE university ( School_ID int, School text, Location text, Founded real, Affiliation text, Enrollment real, Nickname text, Primary_conference text )
SELECT All_Road, School_ID FROM basketball_match ORDER BY All_Road
Which smallest swimsuit number's interview was less than 8.574 when the average number was bigger than 8.532?
CREATE TABLE table_name_87 ( swimsuit INTEGER, interview VARCHAR, average VARCHAR )
SELECT MIN(swimsuit) FROM table_name_87 WHERE interview < 8.574 AND average > 8.532
Who is the sprint classification where Francisco Ventoso wins?
CREATE TABLE table_31100 ( "Stage" real, "Winner" text, "General Classification" text, "Mountains Classification" text, "Sprint Classification" text, "Young Rider Classification" text, "Team Classification" text, "Aggressive Rider" text )
SELECT "Sprint Classification" FROM table_31100 WHERE "Winner" = 'Francisco Ventoso'