instruction
stringlengths
231
6.3k
output
stringlengths
2
2.03k
### Instruction: CREATE TABLE table_61133 ( "Opposing Teams" text, "Against" real, "Date" text, "Venue" text, "Status" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many against on the date of 08/06/1985? ### Response:
SELECT SUM("Against") FROM table_61133 WHERE "Date" = '08/06/1985'
### Instruction: CREATE TABLE table_4308 ( "Round" real, "Overall" real, "Player" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest round for an offensive guard when the overall is smaller than 150? ### Response:
SELECT MIN("Round") FROM table_4308 WHERE "Overall" < '150' AND "Position" = 'offensive guard'
### Instruction: CREATE TABLE table_11016 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number of the grid for Johnny Herbert with more than 52 laps? ### Response:
SELECT SUM("Grid") FROM table_11016 WHERE "Driver" = 'johnny herbert' AND "Laps" > '52'
### Instruction: CREATE TABLE table_37230 ( "Draw" real, "Artist" text, "Song" text, "Composer" text, "Lyricist" text, "Place" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of points for ray agius ### Response:
SELECT SUM("Points") FROM table_37230 WHERE "Lyricist" = 'ray agius'
### Instruction: CREATE TABLE table_43229 ( "Protocol" text, "Creator" text, "License" text, "Transport Layer Security" text, "Bulletins to all contacts" text, "Batch file sharing" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the license created by IETF? ### Response:
SELECT "License" FROM table_43229 WHERE "Creator" = 'ietf'
### Instruction: CREATE TABLE table_19909 ( "Series Ep." text, "Episode" real, "Segment A" text, "Segment B" text, "Segment C" text, "Segment D" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which episode has segment D on custom motorcycle tanks? ### Response:
SELECT MIN("Episode") FROM table_19909 WHERE "Segment D" = 'Custom Motorcycle Tanks'
### Instruction: CREATE TABLE table_203_523 ( id number, "state" text, "swimsuit" number, "interview" number, "evening gown" number, "average" number, "finalists" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the average of miss oklahoma 's scores ? ### Response:
SELECT "average" FROM table_203_523 WHERE "state" = 'oklahoma'
### Instruction: CREATE TABLE useracct ( name VARCHAR, u_id VARCHAR ) CREATE TABLE trust ( source_u_id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find the name of the source user with the highest average trust score. ### Response:
SELECT T1.name FROM useracct AS T1 JOIN trust AS T2 ON T1.u_id = T2.source_u_id GROUP BY T2.source_u_id ORDER BY AVG(trust) DESC LIMIT 1
### Instruction: CREATE TABLE table_204_341 ( id number, "name in english" text, "name in turkish" text, "area (km2)" text, "depth" text, "location (districts and/or provinces)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- at most , what 's the biggest depth ? ### Response:
SELECT "depth" FROM table_204_341 ORDER BY "depth" DESC LIMIT 1
### Instruction: CREATE TABLE table_name_68 ( nominated_work VARCHAR, category VARCHAR, year VARCHAR, award VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the nominated work after 2006, that was awarded the Drama Desk award and the Outstanding featured actor in a musical? ### Response:
SELECT nominated_work FROM table_name_68 WHERE year > 2006 AND award = "drama desk award" AND category = "outstanding featured actor in a musical"
### Instruction: CREATE TABLE table_name_37 ( israeli_deaths VARCHAR, total_casualties VARCHAR, total_deaths VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of Israeli deaths in the attack with 0 total casulaties and 0 total deaths? ### Response:
SELECT COUNT(israeli_deaths) FROM table_name_37 WHERE total_casualties = "0" AND total_deaths = "0"
### Instruction: CREATE TABLE table_name_48 ( total__kg_ INTEGER, snatch VARCHAR, clean_ VARCHAR, _jerk VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Total (kg) has a Clean & Jerk smaller than 153, and a Snatch smaller than 100? ### Response:
SELECT MIN(total__kg_) FROM table_name_48 WHERE clean_ & _jerk < 153 AND snatch < 100
### Instruction: CREATE TABLE table_204_396 ( id number, "country" text, "masters" number, "u.s. open" number, "the open" number, "pga" number, "total" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many u.s. open wins does fiji have ? ### Response:
SELECT "the open" FROM table_204_396 WHERE "country" = 'fiji'
### Instruction: CREATE TABLE table_203_393 ( id number, "year" number, "film" text, "director" text, "cast" text, "details" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which film came directly after aaha ? ### Response:
SELECT "film" FROM table_203_393 WHERE id = (SELECT id FROM table_203_393 WHERE "film" = 'aaha') - 1
### Instruction: CREATE TABLE table_22823 ( "Team #1" text, "Agg. score" text, "Team #2" text, "1st leg" text, "2nd leg" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the 1st leg result in the round where team #1 is Iraklis? ### Response:
SELECT "1st leg" FROM table_22823 WHERE "Team #1" = 'Iraklis'
### Instruction: CREATE TABLE table_name_20 ( team VARCHAR, goals_for VARCHAR, goals_against VARCHAR, points_2 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What team has less than 64 goals against, 101 goals for, and a Points 2 total of 63? ### Response:
SELECT team FROM table_name_20 WHERE goals_against < 64 AND points_2 = 63 AND goals_for = 101
### Instruction: CREATE TABLE table_31709 ( "Call sign" text, "Frequency MHz" real, "City of license" text, "ERP W" text, "Class" text, "FCC info" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the FCC info for call sign of k208eq ### Response:
SELECT "FCC info" FROM table_31709 WHERE "Call sign" = 'k208eq'
### Instruction: CREATE TABLE browser ( id VARCHAR, name VARCHAR ) CREATE TABLE accelerator_compatible_browser ( browser_id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the id and name of the browser that is compatible with the most web accelerators? ### Response:
SELECT T1.id, T1.name FROM browser AS T1 JOIN accelerator_compatible_browser AS T2 ON T1.id = T2.browser_id GROUP BY T1.id ORDER BY COUNT(*) DESC LIMIT 1
### Instruction: CREATE TABLE table_4475 ( "Number" text, "Name" text, "Meaning" text, "Fleet" text, "Launched" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what number is associated with the baltic fleet and leninets ( )? ### Response:
SELECT "Number" FROM table_4475 WHERE "Fleet" = 'baltic' AND "Name" = 'leninets (ленинец)'
### Instruction: CREATE TABLE table_44893 ( "Week" real, "Date" text, "TV Time" text, "Opponent" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Can you tell me the TV Time that has the Date of november 22, 1998? ### Response:
SELECT "TV Time" FROM table_44893 WHERE "Date" = 'november 22, 1998'
### Instruction: CREATE TABLE table_name_26 ( games INTEGER, rank VARCHAR, rebounds VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest Games, when Rebounds is greater than 100, when Name is Nikola Pekovi , and when Rank is less than 4? ### Response:
SELECT MAX(games) FROM table_name_26 WHERE rebounds > 100 AND name = "nikola peković" AND rank < 4
### Instruction: CREATE TABLE table_24806 ( "Season" real, "Round" real, "Opponents" text, "Home Leg" text, "Away Leg" text, "Aggregate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What round did they face fc st. gallen? ### Response:
SELECT COUNT("Round") FROM table_24806 WHERE "Opponents" = 'FC St. Gallen'
### Instruction: CREATE TABLE table_204_81 ( id number, "rank" number, "bib" number, "name" text, "country" text, "time" text, "deficit" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many skiers finished at least under the 39 minute mark ? ### Response:
SELECT COUNT("name") FROM table_204_81 WHERE "time" IS NULL AND "time" < 39
### Instruction: CREATE TABLE table_64612 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "TV Time" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the attendance on november 2, 2003? ### Response:
SELECT "Attendance" FROM table_64612 WHERE "Date" = 'november 2, 2003'
### Instruction: CREATE TABLE table_29613 ( "Game" real, "October" real, "Opponent" text, "Score" text, "Location/Attendance" text, "Record" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the most points for 1-3-1 record ### Response:
SELECT MAX("Points") FROM table_29613 WHERE "Record" = '1-3-1'
### Instruction: CREATE TABLE table_69237 ( "Team 1" text, "Agg." text, "Team 2" text, "1st leg" text, "2nd leg" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the agg of team 2 for Vantour Club Mangoungou? ### Response:
SELECT "Agg." FROM table_69237 WHERE "Team 2" = 'vantour club mangoungou'
### Instruction: CREATE TABLE table_203_631 ( id number, "year" number, "name of show" text, "episodes" text, "other guests" text, "winner(s)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many times has charmaine sheh won on a variety show ? ### Response:
SELECT COUNT(*) FROM table_203_631 WHERE "winner(s)" = 'charmaine sheh'
### Instruction: CREATE TABLE table_22146 ( "English name" text, "Thai name" text, "Transcription" text, "Color" text, "Sanskrit word" text, "Planet" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sanskrit word if the transcription is wan athit? ### Response:
SELECT "Sanskrit word" FROM table_22146 WHERE "Transcription" = 'wan athit'
### Instruction: CREATE TABLE table_55015 ( "Date" text, "Score" text, "Set 1" text, "Set 2" text, "Set 3" text, "Total" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total when the score of set 1 is 15 11? ### Response:
SELECT "Total" FROM table_55015 WHERE "Set 1" = '15–11'
### Instruction: CREATE TABLE table_80425 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the record for the game with an attendance of 11,141? ### Response:
SELECT "Record" FROM table_80425 WHERE "Attendance" = '11,141'
### Instruction: CREATE TABLE products ( color_code VARCHAR, product_name VARCHAR ) CREATE TABLE ref_colors ( color_description VARCHAR, color_code VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the color description of the product with name 'catnip'? ### Response:
SELECT t2.color_description FROM products AS t1 JOIN ref_colors AS t2 ON t1.color_code = t2.color_code WHERE t1.product_name = "catnip"
### Instruction: CREATE TABLE table_56337 ( "Player" text, "No.(s)" text, "Height in Ft." text, "Position" text, "School/Club Team/Country" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the height in feet for the player from valparaiso ### Response:
SELECT "Height in Ft." FROM table_56337 WHERE "School/Club Team/Country" = 'valparaiso'
### Instruction: CREATE TABLE table_204_130 ( id number, "#" number, "date" text, "venue" text, "opponent" text, "score" text, "result" text, "competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many times is the venue located in brazil ? ### Response:
SELECT COUNT(*) FROM table_204_130 WHERE "venue" = 'brazil'
### Instruction: CREATE TABLE table_77771 ( "Date" text, "Team 1" text, "Team 2" text, "Winner" text, "Delta" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the Winner on June 2, 2007? ### Response:
SELECT "Winner" FROM table_77771 WHERE "Date" = 'june 2, 2007'
### Instruction: CREATE TABLE table_name_98 ( wins VARCHAR, points VARCHAR, position VARCHAR, fl VARCHAR, poles VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number of wins with a 0 F.L., 0 poles, a position of 7th, and 35 points? ### Response:
SELECT wins FROM table_name_98 WHERE fl = "0" AND poles = "0" AND position = "7th" AND points = "35"
### Instruction: CREATE TABLE table_name_76 ( composition VARCHAR, year VARCHAR, mintage VARCHAR, artist VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the composition of the coin that was issued after 2008, had a mintage larger than 999, and was designed by Jody Broomfield? ### Response:
SELECT composition FROM table_name_76 WHERE mintage > 999 AND artist = "jody broomfield" AND year > 2008
### Instruction: CREATE TABLE table_80214 ( "Year" real, "Competition" text, "Venue" text, "Position" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where were the Mediterranean games after 2005? ### Response:
SELECT "Venue" FROM table_80214 WHERE "Competition" = 'mediterranean games' AND "Year" > '2005'
### Instruction: CREATE TABLE table_name_44 ( gp_gs VARCHAR, avg_g VARCHAR, receptions VARCHAR, long VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the gp-gs when the receptions is more than 4, long is 55 and avg/g is 151? ### Response:
SELECT gp_gs FROM table_name_44 WHERE receptions > 4 AND long = 55 AND avg_g = 151
### Instruction: CREATE TABLE table_203_370 ( id number, "year" number, "competition" text, "venue" text, "position" text, "event" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- in what year did the runner participate in the most marathons ? ### Response:
SELECT "year" FROM table_203_370 GROUP BY "year" ORDER BY COUNT(*) DESC LIMIT 1
### Instruction: CREATE TABLE table_5785 ( "District" text, "Incumbent" text, "Party" text, "Elected" real, "Status" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Party of republican, and a District of 5th is what highest elected? ### Response:
SELECT MAX("Elected") FROM table_5785 WHERE "Party" = 'republican' AND "District" = '5th'
### Instruction: CREATE TABLE table_204_874 ( id number, "year" number, "winner" text, "runner-up" text, "final score" text, "third" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who was the next winner after the 2005 year ? ### Response:
SELECT "winner" FROM table_204_874 WHERE "year" > 2005 ORDER BY "year" LIMIT 1
### Instruction: CREATE TABLE table_13157 ( "Opposing Teams" text, "Against" real, "Date" text, "Venue" text, "Status" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the against on 17/01/1976? ### Response:
SELECT MIN("Against") FROM table_13157 WHERE "Date" = '17/01/1976'
### Instruction: CREATE TABLE table_2798 ( "Club" text, "Location" text, "Manager" text, "Stadium" text, "Capacity" real, "Team captain" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who's captain of the team whose stadium has a capacity of 17800 people? ### Response:
SELECT "Team captain" FROM table_2798 WHERE "Capacity" = '17800'
### Instruction: CREATE TABLE table_60306 ( "Shooter" text, "Event" text, "Rank points" text, "Score points" text, "Total" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Shooter has a Rank points of 8 and a Event of wc milan? ### Response:
SELECT "Shooter" FROM table_60306 WHERE "Rank points" = '8' AND "Event" = 'wc milan'
### Instruction: CREATE TABLE table_70711 ( "Model" text, "Specification" text, "Build date" text, "Total produced" real, "Wheel arrangement" text, "Prime mover" text, "Power output" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the power output for model of s-13 ### Response:
SELECT "Power output" FROM table_70711 WHERE "Model" = 's-13'
### Instruction: CREATE TABLE table_name_27 ( runner_s__up VARCHAR, winning_score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the runner-up for the event that ended with a winning score of 15 (66-67-70-70=273)? ### Response:
SELECT runner_s__up FROM table_name_27 WHERE winning_score = –15(66 - 67 - 70 - 70 = 273)
### Instruction: CREATE TABLE table_61918 ( "Rank:" real, "Prime Minister:" text, "Party:" text, "Assumed Office:" text, "Left Office:" text, "TOTAL Time in Office:" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the assumed office date of the prime minister ranked 22? ### Response:
SELECT "Assumed Office:" FROM table_61918 WHERE "Rank:" = '22'
### Instruction: CREATE TABLE table_20202 ( "Player" text, "No." real, "Nationality" text, "Position" text, "Years in Orlando" text, "School/Club Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- During what years did Chris Corchiani play in Orlando? ### Response:
SELECT "Years in Orlando" FROM table_20202 WHERE "Player" = 'Chris Corchiani'
### Instruction: CREATE TABLE table_25925 ( "Episode" text, "First broadcast" text, "Seans team" text, "Jasons team" text, "Scores" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In how many episodes were Vanessa Feltz and Lee Mack the team for Sean? ### Response:
SELECT COUNT("Episode") FROM table_25925 WHERE "Seans team" = 'Vanessa Feltz and Lee Mack'
### Instruction: CREATE TABLE table_69403 ( "Film" text, "Director(s)" text, "Producer(s)" text, "Writer(s)" text, "Recipient" text, "Award" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which producer did Daniel Cormack direct? ### Response:
SELECT "Producer(s)" FROM table_69403 WHERE "Director(s)" = 'daniel cormack'
### Instruction: CREATE TABLE table_68413 ( "Club" text, "League" text, "Sport" text, "Venue" text, "Established" real, "Championships" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the most championships for club of erie seawolves ### Response:
SELECT MAX("Championships") FROM table_68413 WHERE "Club" = 'erie seawolves'
### Instruction: CREATE TABLE table_40648 ( "Rank" real, "Name" text, "Years" text, "Matches" real, "Goals" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many goals on average had 644 matches and a rank bigger than 3? ### Response:
SELECT AVG("Goals") FROM table_40648 WHERE "Matches" = '644' AND "Rank" > '3'
### Instruction: CREATE TABLE table_57654 ( "CERCLIS ID" text, "Name" text, "County" text, "Proposed" text, "Listed" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name for the listed date of 11/21/1989? ### Response:
SELECT "Name" FROM table_57654 WHERE "Listed" = '11/21/1989'
### Instruction: CREATE TABLE table_23391 ( "No. in series" text, "No. in season" real, "Family/families" text, "Location(s)" text, "Original air date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many episodes with different season numbers had the Jeans family in them? ### Response:
SELECT COUNT("No. in season") FROM table_23391 WHERE "Family/families" = 'The Jeans Family'
### Instruction: CREATE TABLE table_24071 ( "Game" real, "Date" text, "Opponent" text, "Result" text, "Sun Devils points" real, "Opponents" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What number was the game against Kansas State? ### Response:
SELECT "Game" FROM table_24071 WHERE "Opponent" = 'Kansas State'
### Instruction: CREATE TABLE table_name_24 ( binibining_pilipinas_international VARCHAR, binibining_pilipinas_world VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Binibining Pilipinas International has a Binibining Pilipinas-World of sharmaine gutierrez? ### Response:
SELECT binibining_pilipinas_international FROM table_name_24 WHERE binibining_pilipinas_world = "sharmaine gutierrez"
### Instruction: CREATE TABLE table_204_757 ( id number, "state" text, "interview" number, "swimsuit" number, "evening gown" number, "average" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many total evening gown scores above 9.000 were given ? ### Response:
SELECT COUNT(*) FROM table_204_757 WHERE "evening gown" > 9.000
### Instruction: CREATE TABLE table_59500 ( "Date" text, "Opponents" text, "H / A" text, "Result F \u2013 A" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the average attendance when the opponents are dundalk? ### Response:
SELECT AVG("Attendance") FROM table_59500 WHERE "Opponents" = 'dundalk'
### Instruction: CREATE TABLE table_40521 ( "Year" text, "Team" text, "GP/GS" text, "Goals" text, "Assists" text, "Total Points" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total points for GP/GS of 24/23? ### Response:
SELECT "Total Points" FROM table_40521 WHERE "GP/GS" = '24/23'
### Instruction: CREATE TABLE table_57558 ( "Stations" text, "Place" text, "Managed By" text, "Platforms" real, "Zone" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the stations for zone 5 and 1 platform by tramlink ### Response:
SELECT "Stations" FROM table_57558 WHERE "Managed By" = 'tramlink' AND "Zone" = '5' AND "Platforms" = '1'
### Instruction: CREATE TABLE table_75120 ( "Rank" real, "Name" text, "Team" text, "Games" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the game with a rank higher than 2 and a name of zendon hamilton? ### Response:
SELECT MAX("Games") FROM table_75120 WHERE "Name" = 'zendon hamilton' AND "Rank" > '2'
### Instruction: CREATE TABLE table_203_853 ( id number, "date" text, "opponent" text, "home/away" text, "field" text, "result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the most points that the barrage have scored at home ? ### Response:
SELECT "result" FROM table_203_853 WHERE "home/away" = 'home' ORDER BY "result" DESC LIMIT 1
### Instruction: CREATE TABLE table_63252 ( "Rank" real, "Player" text, "County" text, "Tally" text, "Total" real, "Matches" real, "Average" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average rank of a player with fewer than 3 matches? ### Response:
SELECT AVG("Rank") FROM table_63252 WHERE "Matches" < '3'
### Instruction: CREATE TABLE table_928 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Stadium" text, "Record" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the minimum attendance with stadium being cotton bowl ### Response:
SELECT MIN("Attendance") FROM table_928 WHERE "Stadium" = 'Cotton Bowl'
### Instruction: CREATE TABLE table_49116 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Decision" text, "Attendance" real, "Record" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Date has a Score of 4 2? ### Response:
SELECT "Date" FROM table_49116 WHERE "Score" = '4–2'
### Instruction: CREATE TABLE table_12821159_14 ( earnings__€_ VARCHAR, cuts_made VARCHAR, money_list_rank VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the number of earnings were cuts made are 19 and money list rank is 3? ### Response:
SELECT earnings__€_ FROM table_12821159_14 WHERE cuts_made = 19 AND money_list_rank = 3
### Instruction: CREATE TABLE table_58085 ( "Stadium" text, "Capacity" text, "Club" text, "Division" text, "Rank in Respective Divisions" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Rank in Respective Divisions has a capacity of 4100? ### Response:
SELECT "Rank in Respective Divisions" FROM table_58085 WHERE "Capacity" = '4100'
### Instruction: CREATE TABLE table_52473 ( "Productions" text, "Rose" text, "Louise" text, "Dainty June" text, "Herbie" text, "Director" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was rose in the 1975 Broadway Revival? ### Response:
SELECT "Rose" FROM table_52473 WHERE "Productions" = '1975 broadway revival'
### Instruction: CREATE TABLE table_5434 ( "Church name" text, "Organized by" text, "Date" text, "Split off / Continuation of" text, "Current status" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the Pure Church of Christ's Split off/ Continuation? ### Response:
SELECT "Split off / Continuation of" FROM table_5434 WHERE "Church name" = 'pure church of christ'
### Instruction: CREATE TABLE table_1238 ( "Maximum Ceiling Temperature" text, "Temperature Rating" text, "Temperature Classification" text, "Color Code (with Fusible Link)" text, "Glass Bulb Color" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the glass bulb color for ordinary ### Response:
SELECT "Glass Bulb Color" FROM table_1238 WHERE "Temperature Classification" = 'Ordinary'
### Instruction: CREATE TABLE table_60254 ( "Opposing Teams" text, "Against" real, "Date" text, "Venue" text, "Status" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who were the opposing teams on 08/02/1969? ### Response:
SELECT "Opposing Teams" FROM table_60254 WHERE "Date" = '08/02/1969'
### Instruction: CREATE TABLE table_61232 ( "Ship" text, "Hull Number" text, "Laid down" text, "Launched" text, "Commissioned" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Ship, when Commissioned is '13 March 1982'? ### Response:
SELECT "Ship" FROM table_61232 WHERE "Commissioned" = '13 march 1982'
### Instruction: CREATE TABLE table_54504 ( "Tournament" text, "Date" text, "City" text, "Country" text, "Surface" text, "Singles champions" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the type of Surface for the New Zealand F1 Futures Tournament? ### Response:
SELECT "Surface" FROM table_54504 WHERE "Tournament" = 'new zealand f1 futures'
### Instruction: CREATE TABLE table_69117 ( "Name" text, "Years" text, "Gender" text, "Area" text, "Authority" text, "Decile" real, "Roll" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest roll number of Katikati college? ### Response:
SELECT MIN("Roll") FROM table_69117 WHERE "Name" = 'katikati college'
### Instruction: CREATE TABLE table_40708 ( "Date" text, "Tournament" text, "Winning score" text, "Margin of victory" text, "Runner(s)-up" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Winning Score, when Runner(s)-up is Ted Purdy? ### Response:
SELECT "Winning score" FROM table_40708 WHERE "Runner(s)-up" = 'ted purdy'
### Instruction: CREATE TABLE park ( park_id VARCHAR, city VARCHAR ) CREATE TABLE home_game ( park_id VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many games were played in city Atlanta in 2000? ### Response:
SELECT COUNT(*) FROM home_game AS T1 JOIN park AS T2 ON T1.park_id = T2.park_id WHERE T1.year = 2000 AND T2.city = 'Atlanta'
### Instruction: CREATE TABLE table_203_102 ( id number, "event" text, "performance" text, "athlete" text, "nation" text, "place" text, "date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is last city in china to host world record ### Response:
SELECT "place" FROM table_203_102 WHERE "place" = 'china' ORDER BY id DESC LIMIT 1
### Instruction: CREATE TABLE table_28327 ( "Episode #" real, "Series #" real, "Title" text, "Director" text, "Writer" text, "Original airdate" text, "Viewers (in millions)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date did 'getting even' originally air? ### Response:
SELECT "Original airdate" FROM table_28327 WHERE "Title" = 'Getting Even'
### Instruction: CREATE TABLE table_50355 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Place of the Player with a Score of 72-70-72=214? ### Response:
SELECT "Place" FROM table_50355 WHERE "Score" = '72-70-72=214'
### Instruction: CREATE TABLE table_36777 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Decision" text, "Attendance" real, "Series" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of attendance for games where buffalo was the home team? ### Response:
SELECT COUNT("Attendance") FROM table_36777 WHERE "Home" = 'buffalo'
### Instruction: CREATE TABLE table_62258 ( "Season" text, "Date" text, "Winner" text, "Loser" text, "Score" text, "Venue" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the attendance for St Andrew's? ### Response:
SELECT "Attendance" FROM table_62258 WHERE "Venue" = 'st andrew''s'
### Instruction: CREATE TABLE table_64670 ( "Year" real, "Tournament" text, "Venue" text, "Discipline" text, "Result" text, "Extra" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What tournament had an extra of 3:06.94 s? ### Response:
SELECT "Tournament" FROM table_64670 WHERE "Extra" = '3:06.94 s'
### Instruction: CREATE TABLE table_75997 ( "Season" text, "Coach" text, "Overall" text, "Conference" text, "Big Ten" text, "National" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Coach with a Big Ten that is 3rd (278)? ### Response:
SELECT "Coach" FROM table_75997 WHERE "Big Ten" = '3rd (278)'
### Instruction: CREATE TABLE table_17713 ( "Name of System" text, "Location" text, "Traction Type" text, "Date (From)" text, "Date (To)" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many times is the date (to) 1919? ### Response:
SELECT COUNT("Notes") FROM table_17713 WHERE "Date (To)" = '1919'
### Instruction: CREATE TABLE table_62789 ( "Title" text, "Series" text, "Director" text, "Characters" text, "Release date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What series has dan povenmire as the director, with museum scream as the title? ### Response:
SELECT "Series" FROM table_62789 WHERE "Director" = 'dan povenmire' AND "Title" = 'museum scream'
### Instruction: CREATE TABLE table_46710 ( "Name of System" text, "Location" text, "Traction Type" text, "Date (From)" text, "Date (To)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the date for traction type electric with calgary location? ### Response:
SELECT "Date (From)" FROM table_46710 WHERE "Traction Type" = 'electric' AND "Location" = 'calgary'
### Instruction: CREATE TABLE table_55562 ( "season" text, "Contestant" text, "Height" text, "Start BMI" real, "Start Weight" real, "Recent BMI" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What contestant had a starting BMI of 42.2? ### Response:
SELECT "Contestant" FROM table_55562 WHERE "Start BMI" = '42.2'
### Instruction: CREATE TABLE table_204_127 ( id number, "outcome" text, "no." number, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- tell me the number of hard surface courts . ### Response:
SELECT COUNT(*) FROM table_204_127 WHERE "surface" = 'hard'
### Instruction: CREATE TABLE table_67461 ( "Minister" text, "Party" text, "Governments" text, "Term start" text, "Term end" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What governments did the minister with a term start on 24 September 1984 have? ### Response:
SELECT "Governments" FROM table_67461 WHERE "Term start" = '24 september 1984'
### Instruction: CREATE TABLE table_18907 ( "Tournament" text, "Matches" real, "Wins Olimpia" real, "Empates" real, "Wins Cerro" real, "Goals Olimpia" real, "Goals Cerro" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the least amount for Goals Olimpia? ### Response:
SELECT MIN("Goals Olimpia") FROM table_18907
### Instruction: CREATE TABLE table_18537 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Result" text, "Candidates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the minimum number first elected to district louisiana 5? ### Response:
SELECT MIN("First elected") FROM table_18537 WHERE "District" = 'Louisiana 5'
### Instruction: CREATE TABLE table_name_53 ( cuts_made VARCHAR, events VARCHAR, top_5 VARCHAR, top_25 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Cuts made has a Top-5 smaller than 3, and a Top-25 smaller than 6, and an Events of 10? ### Response:
SELECT cuts_made FROM table_name_53 WHERE top_5 < 3 AND top_25 < 6 AND events = 10
### Instruction: CREATE TABLE table_47796 ( "Official Name" text, "Status" text, "Area km 2" real, "Population" real, "Census Ranking" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Area km 2, when Population is greater than 1,395? ### Response:
SELECT MIN("Area km 2") FROM table_47796 WHERE "Population" > '1,395'
### Instruction: CREATE TABLE table_name_27 ( score INTEGER, player VARCHAR, place VARCHAR, country VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Can you tell me the sum of Score that has the Place of t5, and the Country of united states, and the Player of jeff maggert? ### Response:
SELECT SUM(score) FROM table_name_27 WHERE place = "t5" AND country = "united states" AND player = "jeff maggert"
### Instruction: CREATE TABLE table_60048 ( "Draft" real, "Round" text, "Pick" real, "Player" text, "Nationality" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Pick has a Nationality of canada, and a Player of dennis maxwell? ### Response:
SELECT COUNT("Pick") FROM table_60048 WHERE "Nationality" = 'canada' AND "Player" = 'dennis maxwell'
### Instruction: CREATE TABLE table_53772 ( "Group name" text, "English abbr." text, "French abbr." text, "Formal European Parliament name" text, "From" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the group name on the date of 20 July 1999? ### Response:
SELECT "Group name" FROM table_53772 WHERE "From" = '20 july 1999'
### Instruction: CREATE TABLE table_2941963_1 ( remittances_2010 VARCHAR, remittances_2009 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many remittances in 2010 where the remittances is 19.73? ### Response:
SELECT COUNT(remittances_2010) FROM table_2941963_1 WHERE remittances_2009 = "19.73"
### Instruction: CREATE TABLE table_44324 ( "Year" real, "Award" text, "Category" text, "Nominated work" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When Marlene was nominated for the Olivier Award, what was the result? ### Response:
SELECT "Result" FROM table_44324 WHERE "Nominated work" = 'marlene' AND "Award" = 'olivier award'
### Instruction: CREATE TABLE table_3310 ( "Circuit" text, "Location" text, "Date" text, "Series" text, "Winning driver" text, "Winning team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what series was TDS Racing the winning team on 9 October? ### Response:
SELECT "Series" FROM table_3310 WHERE "Winning team" = 'TDS Racing' AND "Date" = '9 October'
### Instruction: CREATE TABLE table_18441 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Result" text, "Candidates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What party did the incumbent in the Arkansas 2 district belong to? ### Response:
SELECT "Party" FROM table_18441 WHERE "District" = 'Arkansas 2'