instruction
stringlengths
212
6.3k
output
stringlengths
6
2.03k
### Instruction: CREATE TABLE table_name_30 ( airdate VARCHAR, adapted_by VARCHAR, title VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Airdate for the episode titled thirteen to centaurus Adapted by stanley miller? ### Response:
SELECT airdate FROM table_name_30 WHERE adapted_by = "stanley miller" AND title = "“thirteen to centaurus”"
### Instruction: CREATE TABLE table_name_34 ( qual_2 VARCHAR, team VARCHAR, best VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the qual 2 of team rocketsports racing, which has the best of 1:10.949? ### Response:
SELECT qual_2 FROM table_name_34 WHERE team = "rocketsports racing" AND best = "1:10.949"
### Instruction: CREATE TABLE table_name_64 ( location_of_the_church VARCHAR, sub_parish__sokn_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where is the Church that has a Sub-Parish (Sokn) of rugsund? ### Response:
SELECT location_of_the_church FROM table_name_64 WHERE sub_parish__sokn_ = "rugsund"
### Instruction: CREATE TABLE table_40644 ( "School" text, "Conference" text, "Record (Conf)" text, "Berth" text, "Last NCAA Appearance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What conference has the Wichita State school? ### Response:
SELECT "Conference" FROM table_40644 WHERE "School" = 'wichita state'
### Instruction: CREATE TABLE table_204_910 ( id number, "rank" number, "name" text, "nationality" text, "result" number, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many contestants were from thailand ? ### Response:
SELECT COUNT(*) FROM table_204_910 WHERE "nationality" = 'thailand'
### Instruction: CREATE TABLE table_name_10 ( hometown VARCHAR, result VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the hometown of the candidate that had a result of 10 fired in week 6 (2-24-2005)? ### Response:
SELECT hometown FROM table_name_10 WHERE result = "10 fired in week 6 (2-24-2005)"
### Instruction: CREATE TABLE table_23950611_2 ( rank__all__2012 VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the Forbers rank (all companies) in 2012 for cenovus energy? ### Response:
SELECT rank__all__2012 FROM table_23950611_2 WHERE name = "Cenovus Energy"
### Instruction: CREATE TABLE table_631 ( "Client" text, "Years of Operation" text, "Area of Operation" text, "Country" text, "Services" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When was the operation in Field 103 executed? ### Response:
SELECT "Years of Operation" FROM table_631 WHERE "Area of Operation" = 'Field 103'
### Instruction: CREATE TABLE table_38325 ( "Event" text, "Round" text, "Result" text, "Opponent" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Score of 33-22 had what round? ### Response:
SELECT "Round" FROM table_38325 WHERE "Score" = '33-22'
### Instruction: CREATE TABLE table_66313 ( "Pick" real, "Player" text, "Team" text, "Position" text, "School" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What position does the player from the Arizona Diamondbacks play? ### Response:
SELECT "Position" FROM table_66313 WHERE "Team" = 'arizona diamondbacks'
### Instruction: CREATE TABLE table_name_20 ( quantity VARCHAR, year_s__of_manufacture VARCHAR, class VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the quantity when the year of manufacture is 1900 and the class is mc? ### Response:
SELECT quantity FROM table_name_20 WHERE year_s__of_manufacture = "1900" AND class = "mc"
### Instruction: CREATE TABLE table_42338 ( "Year" text, "Matches" text, "Wins" text, "Losses" text, "No Result" text, "Success Rate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year has 2 wins? ### Response:
SELECT "Year" FROM table_42338 WHERE "Wins" = '2'
### Instruction: CREATE TABLE table_name_39 ( date_of_attack VARCHAR, fate VARCHAR, cargo VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Date of attack of the ship with iron ore sunk by u-101 *? ### Response:
SELECT date_of_attack FROM table_name_39 WHERE fate = "sunk by u-101 *" AND cargo = "iron ore"
### Instruction: CREATE TABLE table_75338 ( "Game" text, "Date" text, "Home Team" text, "Result" text, "Road Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which game had a result of 126-95? ### Response:
SELECT "Game" FROM table_75338 WHERE "Result" = '126-95'
### Instruction: CREATE TABLE table_name_89 ( year VARCHAR, chassis VARCHAR, points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the total number of year for chassis of kurtis kraft 4000 and points more than 2 ### Response:
SELECT COUNT(year) FROM table_name_89 WHERE chassis = "kurtis kraft 4000" AND points > 2
### Instruction: CREATE TABLE item ( title VARCHAR, i_id VARCHAR ) CREATE TABLE review ( i_id VARCHAR, rating VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find the names of goods that receive a rating of 10. ### Response:
SELECT T1.title FROM item AS T1 JOIN review AS T2 ON T1.i_id = T2.i_id WHERE T2.rating = 10
### Instruction: CREATE TABLE table_41411 ( "Name" text, "Status" text, "Authors" text, "Location" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Notes has Authors of zhou clarke zhang? ### Response:
SELECT "Notes" FROM table_41411 WHERE "Authors" = 'zhou clarke zhang'
### Instruction: CREATE TABLE table_54728 ( "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 sum of laps for Derek Warwick? ### Response:
SELECT SUM("Laps") FROM table_54728 WHERE "Driver" = 'derek warwick'
### Instruction: CREATE TABLE table_40343 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the venue when the score was 8-2? ### Response:
SELECT "Venue" FROM table_40343 WHERE "Score" = '8-2'
### Instruction: CREATE TABLE table_57609 ( "Country" text, "Abbreviation" text, "Assets US$Billion" text, "Inception" text, "Origin" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which country has an abbreviation of kia? ### Response:
SELECT "Country" FROM table_57609 WHERE "Abbreviation" = 'kia'
### Instruction: CREATE TABLE table_74424 ( "Week #" text, "Theme" text, "Song choice" text, "Original artist" text, "Order #" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which artists have order number 6? ### Response:
SELECT "Original artist" FROM table_74424 WHERE "Order #" = '6'
### Instruction: CREATE TABLE table_35453 ( "Goal" real, "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What result has a goal of 5? ### Response:
SELECT "Result" FROM table_35453 WHERE "Goal" = '5'
### Instruction: CREATE TABLE table_77942 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the venue where the result was 2-1? ### Response:
SELECT "Venue" FROM table_77942 WHERE "Result" = '2-1'
### Instruction: CREATE TABLE table_40531 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the result of the game with a score of 3-2? ### Response:
SELECT "Result" FROM table_40531 WHERE "Score" = '3-2'
### Instruction: CREATE TABLE table_64278 ( "Heat" real, "Lane" real, "Name" text, "Nationality" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many Heats have a Name of miguel molina? ### Response:
SELECT COUNT("Heat") FROM table_64278 WHERE "Name" = 'miguel molina'
### Instruction: CREATE TABLE table_name_67 ( silver INTEGER, total VARCHAR, gold VARCHAR, bronze VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What team had less than 291 total points whole having 76 bronze and over 21 gold? ### Response:
SELECT SUM(silver) FROM table_name_67 WHERE gold > 21 AND bronze = 76 AND total < 291
### Instruction: CREATE TABLE table_57318 ( "Rank" real, "Name" text, "Country" text, "Years" text, "Matches" real, "Goals" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which country does the player pele belong to? ### Response:
SELECT "Country" FROM table_57318 WHERE "Name" = 'pele'
### Instruction: CREATE TABLE table_50379 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was Bill Glasson's score to par after 2 rounds? ### Response:
SELECT "To par" FROM table_50379 WHERE "Player" = 'bill glasson'
### Instruction: CREATE TABLE table_64120 ( "Date of release" text, "Title" text, "Billboard peak" text, "RIAA cert." text, "Label" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where did god & guns peak on the Billboard? ### Response:
SELECT "Billboard peak" FROM table_64120 WHERE "Title" = 'god & guns'
### Instruction: CREATE TABLE table_204_866 ( id number, "name" text, "lifetime" text, "nationality" text, "notable as" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the name on top of the list ? ### Response:
SELECT "name" FROM table_204_866 WHERE id = 1
### Instruction: CREATE TABLE table_883 ( "Position" real, "Artist" text, "Song title" text, "Highest position" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the minimum highest position with artbeingt being paul evans ### Response:
SELECT MIN("Highest position") FROM table_883 WHERE "Artist" = 'Paul Evans'
### Instruction: CREATE TABLE table_20804 ( "Institution" text, "Location" text, "Nickname" text, "Enrollment" real, "Established" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Location of the school with the nickname Mountaineers ### Response:
SELECT "Location" FROM table_20804 WHERE "Nickname" = 'Mountaineers'
### Instruction: CREATE TABLE table_17812 ( "#" real, "Name" text, "Tenure" text, "Courtesy title" text, "Court Rank" text, "Revenues" text, "Lineage" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the most number? ### Response:
SELECT MAX("#") FROM table_17812
### Instruction: CREATE TABLE table_20589703_2 ( summer_team VARCHAR, college VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What suumer team was James Lomangino from St. John's on? ### Response:
SELECT summer_team FROM table_20589703_2 WHERE college = "St. John's" AND player = "James Lomangino"
### Instruction: CREATE TABLE table_203_372 ( id number, "from" number, "to" number, "name" text, "party" text, "position" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who served the most years as mayor ? ### Response:
SELECT "name" FROM table_203_372 ORDER BY "to" - "from" DESC LIMIT 1
### Instruction: CREATE TABLE table_18161217_2 ( launch_date VARCHAR, cospar_id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the launch date the satellite with cospar ID is 2008-033A? ### Response:
SELECT launch_date FROM table_18161217_2 WHERE cospar_id = "2008-033A"
### Instruction: CREATE TABLE table_name_99 ( torque VARCHAR, type VARCHAR, code VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the torque of the engine with a type 16 valves dohc and a code k4m hi-flex? ### Response:
SELECT torque FROM table_name_99 WHERE type = "16 valves dohc" AND code = "k4m hi-flex"
### Instruction: CREATE TABLE table_80451 ( "Year" text, "Start" text, "Qual" text, "Rank" text, "Finish" text, "Laps" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year has a finish of 19? ### Response:
SELECT "Year" FROM table_80451 WHERE "Finish" = '19'
### Instruction: CREATE TABLE table_71948 ( "Rank" real, "Name" text, "Height ft (m)" text, "Floors" real, "Year" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the greatest rank for Fifth third center? ### Response:
SELECT MAX("Rank") FROM table_71948 WHERE "Name" = 'fifth third center'
### Instruction: CREATE TABLE table_49389 ( "Province" text, "Population" real, "Region" text, "Name of City" text, "Districts" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which district is in the province of Piura? ### Response:
SELECT "Districts" FROM table_49389 WHERE "Province" = 'piura'
### Instruction: CREATE TABLE table_14113 ( "Date" text, "Ship" text, "Tons" real, "Nationality" text, "Fate and location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the fate and location of the Ringstad? ### Response:
SELECT "Fate and location" FROM table_14113 WHERE "Ship" = 'ringstad'
### Instruction: CREATE TABLE table_204_805 ( id number, "name" text, "club" text, "date of departure" text, "replacement" text, "date of appointment" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the last name on the list ? ### Response:
SELECT "name" FROM table_204_805 ORDER BY id DESC LIMIT 1
### Instruction: CREATE TABLE table_name_32 ( top_5 INTEGER, tournament VARCHAR, top_25 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest Top-5 when the Tournament is the open championship, with a Top-25 less than 9? ### Response:
SELECT MAX(top_5) FROM table_name_32 WHERE tournament = "the open championship" AND top_25 < 9
### Instruction: CREATE TABLE table_4347 ( "Year" real, "Award" text, "Title of work" text, "Medium" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the title of work for year more than 2009 ### Response:
SELECT "Title of work" FROM table_4347 WHERE "Year" > '2009'
### Instruction: CREATE TABLE table_70885 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the most recent year for Dean Van Lines? ### Response:
SELECT MAX("Year") FROM table_70885 WHERE "Entrant" = 'dean van lines'
### Instruction: CREATE TABLE table_name_2 ( player VARCHAR, to_par VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHAT IS THE PLAYER WITH A TO PAR OF E, AND SCORE OF 68-72=140? ### Response:
SELECT player FROM table_name_2 WHERE to_par = "e" AND score = 68 - 72 = 140
### Instruction: CREATE TABLE table_14686 ( "Year" real, "Award" text, "Category" text, "Motive" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the result of the directorial debut of the year award? ### Response:
SELECT "Result" FROM table_14686 WHERE "Category" = 'directorial debut of the year'
### Instruction: CREATE TABLE table_36118 ( "Album#" text, "English title" text, "Chinese title" text, "Released" text, "Label" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Album # of 1st was released on what date? ### Response:
SELECT "Released" FROM table_36118 WHERE "Album#" = '1st'
### Instruction: CREATE TABLE table_2803106_1 ( tonioli VARCHAR, week__number VARCHAR, dixon VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On week 11 when Dixon scored an 8, what was tonioli's score? ### Response:
SELECT tonioli FROM table_2803106_1 WHERE week__number = 11 AND dixon = "8"
### Instruction: CREATE TABLE table_name_96 ( result VARCHAR, tournament VARCHAR, opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the result of the 2012 Waff Women's Futsal Championship game the team played against Iraq? ### Response:
SELECT result FROM table_name_96 WHERE tournament = "2012 waff women's futsal championship" AND opponent = "iraq"
### Instruction: CREATE TABLE table_name_14 ( build_date VARCHAR, prr_class VARCHAR, builder’s_model VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When was the build date for ff20 PRR class and erie built builder's model? ### Response:
SELECT build_date FROM table_name_14 WHERE prr_class = "ff20" AND builder’s_model = "erie built"
### Instruction: CREATE TABLE table_23292220_13 ( scores VARCHAR, seans_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score in the episode that had Louie Spence and Joe Wilkinson on Sean's team? ### Response:
SELECT scores FROM table_23292220_13 WHERE seans_team = "Louie Spence and Joe Wilkinson"
### Instruction: CREATE TABLE rating ( rid number, mid number, stars number, ratingdate time ) CREATE TABLE reviewer ( rid number, name text ) CREATE TABLE movie ( mid number, title text, year number, director text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who directed Avatar? ### Response:
SELECT director FROM movie WHERE title = 'Avatar'
### Instruction: CREATE TABLE table_71153 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Pts." text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the entrant for 1967? ### Response:
SELECT "Entrant" FROM table_71153 WHERE "Year" = '1967'
### Instruction: CREATE TABLE table_48943 ( "Rank" real, "Name" text, "Nation" text, "Points" real, "Placings" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Name of the Players with a Rank of 18? ### Response:
SELECT "Name" FROM table_48943 WHERE "Rank" = '18'
### Instruction: CREATE TABLE table_69407 ( "Distance" text, "Time" text, "Date" text, "Location" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What were the notes during the distance of Men's Speed Skating? ### Response:
SELECT "Notes" FROM table_69407 WHERE "Distance" = 'men''s speed skating'
### Instruction: CREATE TABLE table_name_7 ( partner VARCHAR, opponents_in_the_final VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the Partner for Flavio Cipolla Simone Vagnozzi Opponents in the final? ### Response:
SELECT partner FROM table_name_7 WHERE opponents_in_the_final = "flavio cipolla simone vagnozzi"
### Instruction: CREATE TABLE table_9471 ( "Brigade" text, "Type" text, "Pumpers" real, "Tankers" real, "Cars" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the highest pumpers when cars is 5? ### Response:
SELECT MAX("Pumpers") FROM table_9471 WHERE "Cars" = '5'
### Instruction: CREATE TABLE table_31093 ( "Name" text, "Occupation" text, "Gender" text, "Prison connection" text, "Played by" text, "Status" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What gender is Quentin? ### Response:
SELECT "Gender" FROM table_31093 WHERE "Name" = 'Quentin'
### Instruction: CREATE TABLE table_name_56 ( original_broadway_cast VARCHAR, original_west_end_cast VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the person who was in the Original Broadway Cast that was Original West End Cast of sheila hancock? ### Response:
SELECT original_broadway_cast FROM table_name_56 WHERE original_west_end_cast = "sheila hancock"
### Instruction: CREATE TABLE table_name_19 ( Id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest 2003 value with a 2011 less than 107 and a 1995 value less than 17? ### Response:
SELECT MAX(2003) FROM table_name_19 WHERE 2011 < 107 AND 1995 < 17
### Instruction: CREATE TABLE table_8019 ( "Story #" text, "Title" text, "Doctor" text, "Narrator" text, "Format" text, "release date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Doctor is featured in City of Death? ### Response:
SELECT "Doctor" FROM table_8019 WHERE "Title" = 'city of death'
### Instruction: CREATE TABLE table_name_30 ( manner_of_departure VARCHAR, date_of_vacancy VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the manner of departure for the vacancy date of 20 September 2009? ### Response:
SELECT manner_of_departure FROM table_name_30 WHERE date_of_vacancy = "20 september 2009"
### Instruction: CREATE TABLE table_name_30 ( rank INTEGER, school VARCHAR, losses VARCHAR, wins VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the average Rank for lossess less than 6 and wins less than 11 for michigan state ### Response:
SELECT AVG(rank) FROM table_name_30 WHERE losses < 6 AND wins < 11 AND school = "michigan state"
### Instruction: CREATE TABLE table_12962773_1 ( no VARCHAR, current_club VARCHAR, position VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what's the no with current club being panathinaikos and position being forward ### Response:
SELECT COUNT(no) FROM table_12962773_1 WHERE current_club = "Panathinaikos" AND position = "Forward"
### Instruction: CREATE TABLE table_16409745_1 ( dimensions__mm_ VARCHAR, product VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the mm dimensions for the Fujitsu fi-6130 a4 Series Scanner? ### Response:
SELECT dimensions__mm_ FROM table_16409745_1 WHERE product = "Fujitsu fi-6130 A4 Series Scanner"
### Instruction: CREATE TABLE table_name_16 ( population INTEGER, state VARCHAR, total_congregations VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest Population, when State is Puerto Rico, and when Total Congregations is greater than 41? ### Response:
SELECT MAX(population) FROM table_name_16 WHERE state = "puerto rico" AND total_congregations > 41
### Instruction: CREATE TABLE table_22624 ( "Country" text, "TV Network(s)" text, "Series Premiere" text, "Weekly Schedule" text, "Status" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is every TV network in Belgium? ### Response:
SELECT "TV Network(s)" FROM table_22624 WHERE "Country" = 'Belgium'
### Instruction: CREATE TABLE table_202_67 ( id number, "year" text, "show" text, "role" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- when did morgan begin hosting scare tactics ? ### Response:
SELECT "year" FROM table_202_67 WHERE "show" = 'scare tactics' AND "role" = 'host'
### Instruction: CREATE TABLE table_52903 ( "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 Karl Wendlinger's total grid #? ### Response:
SELECT COUNT("Grid") FROM table_52903 WHERE "Driver" = 'karl wendlinger'
### Instruction: CREATE TABLE table_59327 ( "Years" text, "Type" text, "Original code" text, "Current code" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the location of the original code for victorian rules? ### Response:
SELECT "Location" FROM table_59327 WHERE "Original code" = 'victorian rules'
### Instruction: CREATE TABLE table_18662026_10 ( gymnast VARCHAR, parallel_bars VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If the parallel bars is 14.025, what is the total number of gymnasts? ### Response:
SELECT COUNT(gymnast) FROM table_18662026_10 WHERE parallel_bars = "14.025"
### Instruction: CREATE TABLE table_13937 ( "Pick" real, "Player" text, "Team" text, "Position" text, "School" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number pick for seattle mariners team? ### Response:
SELECT COUNT("Pick") FROM table_13937 WHERE "Team" = 'seattle mariners'
### Instruction: CREATE TABLE table_47248 ( "Game" real, "Date" text, "Score" text, "Location" text, "Time" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the attendance for the game after game 4? ### Response:
SELECT "Attendance" FROM table_47248 WHERE "Game" > '4'
### Instruction: CREATE TABLE table_12043148_2 ( year VARCHAR, glos_ VARCHAR, _wilts VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the year where glos & wilts is gloucester city winget? ### Response:
SELECT year FROM table_12043148_2 WHERE glos_ & _wilts = "Gloucester City Winget"
### Instruction: CREATE TABLE table_43843 ( "School" text, "Location" text, "Founded" real, "Affiliation" text, "Nickname" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What school has the nickname of Cardinals? ### Response:
SELECT MIN("Founded") FROM table_43843 WHERE "Nickname" = 'cardinals'
### Instruction: CREATE TABLE table_27379 ( "Pick #" real, "NFL Team" text, "Player" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the draft pick for Kansas City Chiefs? ### Response:
SELECT "Player" FROM table_27379 WHERE "NFL Team" = 'Kansas City Chiefs'
### Instruction: CREATE TABLE table_50796 ( "Draw" real, "Artist" text, "Song" text, "Points" real, "Place" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many points did Joe O'Meara have? ### Response:
SELECT COUNT("Points") FROM table_50796 WHERE "Artist" = 'joe o''meara'
### Instruction: CREATE TABLE table_31717 ( "Frequency" text, "Call sign" text, "Branding" text, "Format" text, "Owner" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the owner with a call sign of cjgx? ### Response:
SELECT "Owner" FROM table_31717 WHERE "Call sign" = 'cjgx'
### Instruction: CREATE TABLE table_name_39 ( points INTEGER, drawn VARCHAR, position VARCHAR, lost VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the highest points when position is higher than 6, lost is less than 12 and drawn is less than 1? ### Response:
SELECT MAX(points) FROM table_name_39 WHERE position > 6 AND lost < 12 AND drawn < 1
### Instruction: CREATE TABLE table_62930 ( "Campus" text, "Year opened" text, "Students" text, "Size" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What campus was opened in 1977? ### Response:
SELECT "Campus" FROM table_62930 WHERE "Year opened" = '1977'
### Instruction: CREATE TABLE table_51040 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the date for the away team, team Southport? ### Response:
SELECT "Date" FROM table_51040 WHERE "Away team" = 'southport'
### Instruction: CREATE TABLE table_203_368 ( id number, "date" text, "opponent" text, "venue" text, "result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which month were the most games played in ? ### Response:
SELECT "date" FROM table_203_368 GROUP BY "date" ORDER BY COUNT("opponent") DESC LIMIT 1
### Instruction: CREATE TABLE table_37368 ( "Game" real, "Date" text, "Opponent" text, "Score" text, "Location" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Record of 6 1 had what score? ### Response:
SELECT "Score" FROM table_37368 WHERE "Record" = '6–1'
### Instruction: CREATE TABLE table_68287 ( "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 to par that has jimmy hines as the player? ### Response:
SELECT "To par" FROM table_68287 WHERE "Player" = 'jimmy hines'
### Instruction: CREATE TABLE table_name_14 ( to_par VARCHAR, country VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which To par has a Country of united states, and a Score of 71-70=141? ### Response:
SELECT to_par FROM table_name_14 WHERE country = "united states" AND score = 71 - 70 = 141
### Instruction: CREATE TABLE table_name_54 ( result VARCHAR, venue VARCHAR, competition VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the score of praterstadion, vienna, and competition of euro 1980 qualifier ### Response:
SELECT result FROM table_name_54 WHERE venue = "praterstadion, vienna" AND competition = "euro 1980 qualifier"
### Instruction: CREATE TABLE table_name_75 ( attendance INTEGER, opponent VARCHAR, loss VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the largest attendance that has tigers as the opponent and a loss of leiter (0-1)? ### Response:
SELECT MAX(attendance) FROM table_name_75 WHERE opponent = "tigers" AND loss = "leiter (0-1)"
### Instruction: CREATE TABLE table_67352 ( "Date" text, "City" text, "Event" text, "Winner" text, "Prize" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the City, when the Winner is Ruben Visser? ### Response:
SELECT "City" FROM table_67352 WHERE "Winner" = 'ruben visser'
### Instruction: CREATE TABLE table_58709 ( "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 To par, when Player is 'Jesper Parnevik'? ### Response:
SELECT "To par" FROM table_58709 WHERE "Player" = 'jesper parnevik'
### Instruction: CREATE TABLE table_70973 ( "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 overall with more than 17 rounds? ### Response:
SELECT MIN("Overall") FROM table_70973 WHERE "Round" > '17'
### Instruction: CREATE TABLE table_name_41 ( right_ascension___j2000__ VARCHAR, ngc_number VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the right ascension (j2000) when the ngc number is 3576? ### Response:
SELECT right_ascension___j2000__ FROM table_name_41 WHERE ngc_number = 3576
### Instruction: CREATE TABLE table_15379 ( "Category" text, "Film" text, "Director(s)" text, "Country" text, "Nominating Festival" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which country made Le Portefeuille? ### Response:
SELECT "Country" FROM table_15379 WHERE "Film" = 'le portefeuille'
### Instruction: CREATE TABLE table_9493 ( "Pick #" real, "CFL Team" text, "Player" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which team picked a player(s) from South Carolina? ### Response:
SELECT "CFL Team" FROM table_9493 WHERE "College" = 'south carolina'
### Instruction: CREATE TABLE table_name_50 ( group_position VARCHAR, result_f_a VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Group position has Result F A of 0 1 on 1 november 2006? ### Response:
SELECT group_position FROM table_name_50 WHERE result_f_a = "0–1" AND date = "1 november 2006"
### Instruction: CREATE TABLE table_203_485 ( id number, "year" text, "show" text, "role" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which was the only television show gauri starred in , in which she played herself ? ### Response:
SELECT "show" FROM table_203_485 WHERE "role" = 'herself'
### Instruction: CREATE TABLE table_48192 ( "Player" text, "Nationality" text, "Jersey Number(s)" text, "Position" text, "Years" text, "From" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the player from Duke? ### Response:
SELECT "Position" FROM table_48192 WHERE "From" = 'duke'
### Instruction: CREATE TABLE table_24245 ( "Outcome" text, "Year" real, "Championship" text, "Surface" text, "Partner" text, "Opponents" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the earliest year? ### Response:
SELECT MIN("Year") FROM table_24245
### Instruction: CREATE TABLE table_name_85 ( lane INTEGER, react VARCHAR, time VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the lane number when time was 20.45 and the react was less than 0.164? ### Response:
SELECT MAX(lane) FROM table_name_85 WHERE react < 0.164 AND time = "20.45"
### Instruction: CREATE TABLE table_53167 ( "Channel" real, "Digital Channel" text, "Call sign" text, "Affiliation" text, "Owner" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What digital channel does Three Angels Broadcasting Network own? ### Response:
SELECT "Digital Channel" FROM table_53167 WHERE "Owner" = 'three angels broadcasting network'