instruction
stringlengths
212
6.3k
output
stringlengths
6
2.03k
### Instruction: CREATE TABLE table_name_2 ( rank VARCHAR, bronze VARCHAR, silver VARCHAR, gold VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total rank for the player with less than 2 silvers, 4 golds, and more than 2 bronze? ### Response:
SELECT COUNT(rank) FROM table_name_2 WHERE silver < 2 AND gold = 4 AND bronze > 2
### Instruction: CREATE TABLE table_45177 ( "State" text, "Type" text, "Name" text, "Title" text, "Royal house" text, "From" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which state was Dai from? ### Response:
SELECT "State" FROM table_45177 WHERE "Name" = 'dai'
### Instruction: CREATE TABLE table_name_89 ( played INTEGER, lost VARCHAR, goal_difference VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest number played when there were less than 13 losses and a goal difference of +46? ### Response:
SELECT MAX(played) FROM table_name_89 WHERE lost < 13 AND goal_difference = "+46"
### Instruction: CREATE TABLE table_9891 ( "Game" real, "Date" text, "Opponent" text, "Score" text, "Location" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date was game 37? ### Response:
SELECT "Date" FROM table_9891 WHERE "Game" = '37'
### Instruction: CREATE TABLE table_12042 ( "Year" real, "Film name" text, "Music director" text, "Lyricist" text, "Language" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What language does Raj Kamal speak? ### Response:
SELECT "Language" FROM table_12042 WHERE "Music director" = 'raj kamal'
### Instruction: CREATE TABLE table_60083 ( "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 Score, when Player is 'Ernie Els'? ### Response:
SELECT "Score" FROM table_60083 WHERE "Player" = 'ernie els'
### Instruction: CREATE TABLE table_78297 ( "Pick" real, "Round" text, "Player" text, "Position" text, "School" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total pick number for a wide receiver? ### Response:
SELECT COUNT("Pick") FROM table_78297 WHERE "Position" = 'wide receiver'
### Instruction: CREATE TABLE table_14219514_1 ( home__1st_leg_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was in 2nd leg when Boca Juniors was in home (1st leg)? ### Response:
SELECT 2 AS nd_leg FROM table_14219514_1 WHERE home__1st_leg_ = "Boca Juniors"
### Instruction: CREATE TABLE table_name_95 ( tied VARCHAR, team VARCHAR, matches VARCHAR, lost VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Tied has Matches of 1, and a Lost of 0, and a Team of durham? ### Response:
SELECT tied FROM table_name_95 WHERE matches = "1" AND lost = "0" AND team = "durham"
### Instruction: CREATE TABLE table_name_45 ( solo VARCHAR, sacks VARCHAR, team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total value for Solo, when the value of Sacks is 2, and when the Team is New York Jets? ### Response:
SELECT COUNT(solo) FROM table_name_45 WHERE sacks = 2 AND team = "new york jets"
### Instruction: CREATE TABLE table_67301 ( "Driver" text, "Constructor" text, "Laps" text, "Time/Retired" text, "Grid" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number of laps for Grid 3? ### Response:
SELECT "Laps" FROM table_67301 WHERE "Grid" = '3'
### Instruction: CREATE TABLE table_21790203_1 ( year__ceremony_ VARCHAR, film_title_used_in_nomination VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the year for is my magic ### Response:
SELECT year__ceremony_ FROM table_21790203_1 WHERE film_title_used_in_nomination = "My Magic"
### Instruction: CREATE TABLE table_74434 ( "Pick #" real, "MLS team" text, "Player" text, "Position" text, "Affiliation" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was pick number 34? ### Response:
SELECT "Player" FROM table_74434 WHERE "Pick #" = '34'
### Instruction: CREATE TABLE table_5863 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the record at the game with a score of 7 5? ### Response:
SELECT "Record" FROM table_5863 WHERE "Score" = '7–5'
### Instruction: CREATE TABLE table_71052 ( "Date" text, "City" text, "Event" text, "Winner" text, "Prize" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Event did John dibella win? ### Response:
SELECT "Event" FROM table_71052 WHERE "Winner" = 'john dibella'
### 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. -- what was the first tv series that gauri tejwani appeared in ? ### Response:
SELECT "show" FROM table_203_485 ORDER BY "year" LIMIT 1
### Instruction: CREATE TABLE table_78369 ( "Player" text, "Position" text, "School" text, "Hometown" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What college did Matt Freeman go to? ### Response:
SELECT "College" FROM table_78369 WHERE "Player" = 'matt freeman'
### Instruction: CREATE TABLE table_name_55 ( minutes_played VARCHAR, points VARCHAR, opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many minutes were played when there were 18 points and the opponent was Chicago Bulls? ### Response:
SELECT COUNT(minutes_played) FROM table_name_55 WHERE points = 18 AND opponent = "chicago bulls"
### Instruction: CREATE TABLE table_name_44 ( year VARCHAR, deputy VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Year was james mcclure Deputy, and the Name is robert mcphearson? ### Response:
SELECT year FROM table_name_44 WHERE deputy = "james mcclure" AND name = "robert mcphearson"
### Instruction: CREATE TABLE table_1566852_10 ( cover_model VARCHAR, centerfold_model VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many cover models were on the edition that featured Jennifer Pershing as the centerfold? ### Response:
SELECT COUNT(cover_model) FROM table_1566852_10 WHERE centerfold_model = "Jennifer Pershing"
### Instruction: CREATE TABLE table_204_41 ( id number, "rank" number, "name" text, "nationality" text, "time" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how long was the longest time ? ### Response:
SELECT "time" FROM table_204_41 ORDER BY "time" DESC LIMIT 1
### Instruction: CREATE TABLE table_69189 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the home team when the score was 4 3? ### Response:
SELECT "Home" FROM table_69189 WHERE "Score" = '4–3'
### Instruction: CREATE TABLE table_59078 ( "Year" real, "Competition" text, "Venue" text, "Position" text, "Event" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the event that is in 8th position? ### Response:
SELECT "Event" FROM table_59078 WHERE "Position" = '8th'
### Instruction: CREATE TABLE table_49152 ( "Pick #" real, "CFL Team" text, "Player" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the cfl team for position d? ### Response:
SELECT "CFL Team" FROM table_49152 WHERE "Position" = 'd'
### Instruction: CREATE TABLE table_name_58 ( d_43_√ VARCHAR, d_42_√ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the value of D 43 when the value of D 42 is d 42 ? ### Response:
SELECT d_43_√ FROM table_name_58 WHERE d_42_√ = "d 42 √"
### Instruction: CREATE TABLE table_5718 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the total number of weeks with a date of bye? ### Response:
SELECT COUNT("Week") FROM table_5718 WHERE "Date" = 'bye'
### Instruction: CREATE TABLE table_20573232_1 ( others_percentage VARCHAR, mccain_percentage VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the percentage of others when McCain is at 57.7% ### Response:
SELECT others_percentage FROM table_20573232_1 WHERE mccain_percentage = "57.7%"
### Instruction: CREATE TABLE table_name_92 ( l2_cache VARCHAR, sspec_number VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the L2 cache with ec number of slbmm(c2)slbsr(k0)? ### Response:
SELECT l2_cache FROM table_name_92 WHERE sspec_number = "slbmm(c2)slbsr(k0)"
### Instruction: CREATE TABLE table_37831 ( "Year" real, "English title" text, "Original title" text, "Country" text, "Length" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many years have an Original title of ? ### Response:
SELECT COUNT("Year") FROM table_37831 WHERE "Original title" = 'иваново детство'
### Instruction: CREATE TABLE table_7279 ( "Place" text, "Player" text, "Country" text, "To par" text, "Hole" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many holes does Player Vijay Singh have? ### Response:
SELECT COUNT("Hole") FROM table_7279 WHERE "Player" = 'vijay singh'
### Instruction: CREATE TABLE table_name_4 ( attendance VARCHAR, date VARCHAR, week VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of fans attending the game on October 8, 1989 before week 5? ### Response:
SELECT COUNT(attendance) FROM table_name_4 WHERE date = "october 8, 1989" AND week < 5
### Instruction: CREATE TABLE table_26914854_3 ( team VARCHAR, date_of_appointment VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the date of appointment 11 june 2010? ### Response:
SELECT team FROM table_26914854_3 WHERE date_of_appointment = "11 June 2010"
### Instruction: CREATE TABLE table_name_25 ( year INTEGER, points VARCHAR, engine VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average year of an entrant that had fewer than 6 points and a Maserati Straight-6 engine? ### Response:
SELECT AVG(year) FROM table_name_25 WHERE points < 6 AND engine = "maserati straight-6"
### Instruction: CREATE TABLE table_name_62 ( year INTEGER, nominated_work VARCHAR, category VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what year was The House of Blue Leaves nominated for outstanding actress in a play? ### Response:
SELECT SUM(year) FROM table_name_62 WHERE nominated_work = "the house of blue leaves" AND category = "outstanding actress in a play"
### Instruction: CREATE TABLE table_40973 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What score has 7-0 as the result? ### Response:
SELECT "Score" FROM table_40973 WHERE "Result" = '7-0'
### Instruction: CREATE TABLE table_15568886_14 ( proto_austronesian VARCHAR, proto_oceanic VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the number of proto austronesian for *natu ### Response:
SELECT COUNT(proto_austronesian) FROM table_15568886_14 WHERE proto_oceanic = "*natu"
### Instruction: CREATE TABLE table_23292220_7 ( seans_team VARCHAR, first_broadcast VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the seans team being 13 november 2008 ### Response:
SELECT seans_team FROM table_23292220_7 WHERE first_broadcast = "13 November 2008"
### Instruction: CREATE TABLE table_204_769 ( id number, "full name" text, "nickname" text, "gender" text, "weight at birth" text, "meaning" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the total amount of names listed ? ### Response:
SELECT COUNT("full name") FROM table_204_769
### Instruction: CREATE TABLE table_name_52 ( player VARCHAR, round VARCHAR, school_club_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Player has a Round larger than 5, and a School/Club Team of bethune-cookman? ### Response:
SELECT player FROM table_name_52 WHERE round > 5 AND school_club_team = "bethune-cookman"
### Instruction: CREATE TABLE table_19744915_17 ( rank INTEGER, vote_percentage VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If the vote percentage is 2.111%, what was the minimum rank? ### Response:
SELECT MIN(rank) FROM table_19744915_17 WHERE vote_percentage = "2.111%"
### Instruction: CREATE TABLE table_26240481_1 ( opponents_head_coach VARCHAR, result VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the opponents head coach with the result L, 56-6? ### Response:
SELECT opponents_head_coach FROM table_26240481_1 WHERE result = "L, 56-6"
### Instruction: CREATE TABLE table_45672 ( "City" text, "Country" text, "IATA" text, "ICAO" text, "Airport" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What country is Bandar Abbas in? ### Response:
SELECT "Country" FROM table_45672 WHERE "City" = 'bandar abbas'
### Instruction: CREATE TABLE table_171361_1 ( population VARCHAR, area_km_2 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many population values are listed for the community with an area of 10.25 sq.km.? ### Response:
SELECT COUNT(population) FROM table_171361_1 WHERE area_km_2 = "10.25"
### Instruction: CREATE TABLE table_name_75 ( score VARCHAR, country VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of Score, when Country is 'United States', and when Player is 'Lee Trevino'? ### Response:
SELECT COUNT(score) FROM table_name_75 WHERE country = "united states" AND player = "lee trevino"
### Instruction: CREATE TABLE table_32893 ( "Region" text, "Host" text, "Venue" text, "City" text, "State" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What venue is in the city of Durham? ### Response:
SELECT "Venue" FROM table_32893 WHERE "City" = 'durham'
### Instruction: CREATE TABLE table_name_56 ( poles INTEGER, series VARCHAR, season VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest Poles, when Series is Ginetta Championship, and when Season is before 2007? ### Response:
SELECT MAX(poles) FROM table_name_56 WHERE series = "ginetta championship" AND season < 2007
### Instruction: CREATE TABLE table_22904707_1 ( title VARCHAR, us_viewers__million_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the name of the episode that had 14.52 viewers? ### Response:
SELECT title FROM table_22904707_1 WHERE us_viewers__million_ = "14.52"
### Instruction: CREATE TABLE table_21302_1 ( no_of_villages VARCHAR, density_persons___ha VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many villages have a density persons/ha of 5.5? ### Response:
SELECT COUNT(no_of_villages) FROM table_21302_1 WHERE density_persons___ha = "5.5"
### Instruction: CREATE TABLE table_28715942_5 ( original_artist VARCHAR, vocal_percussionist VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the original artist when the vocal percussionist is Alexei Kalveks? ### Response:
SELECT original_artist FROM table_28715942_5 WHERE vocal_percussionist = "Alexei Kalveks"
### Instruction: CREATE TABLE table_name_80 ( result VARCHAR, score VARCHAR, couple VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the result for Steve & Anna when the score was 21 (7, 7, 7)? ### Response:
SELECT result FROM table_name_80 WHERE score = "21 (7, 7, 7)" AND couple = "steve & anna"
### Instruction: CREATE TABLE table_11238597_4 ( share VARCHAR, air_date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the share for the episode with the air date december 10, 2008? ### Response:
SELECT share FROM table_11238597_4 WHERE air_date = "December 10, 2008"
### Instruction: CREATE TABLE table_name_81 ( season VARCHAR, div VARCHAR, pos VARCHAR, pld VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What season had 3rd position, a 36 pld, and a bbl div? ### Response:
SELECT season FROM table_name_81 WHERE pos = "3rd" AND pld = "36" AND div = "bbl"
### Instruction: CREATE TABLE table_23851574_2 ( aper_in VARCHAR, built_used VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which aperture were built or used between 1987-2001? ### Response:
SELECT aper_in FROM table_23851574_2 WHERE built_used = "1987-2001"
### Instruction: CREATE TABLE table_23995075_2 ( qualifying_end_date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the qualifying end date when the qualifying start date is qualifying start date? ### Response:
SELECT qualifying_end_date FROM table_23995075_2 WHERE "qualifying_start_date" = "qualifying_start_date"
### Instruction: CREATE TABLE table_62268 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Score, when Record is '2-0'? ### Response:
SELECT "Score" FROM table_62268 WHERE "Record" = '2-0'
### Instruction: CREATE TABLE table_9024 ( "Game" real, "December" real, "Opponent" text, "Score" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is average December when game is 30? ### Response:
SELECT AVG("December") FROM table_9024 WHERE "Game" = '30'
### Instruction: CREATE TABLE table_name_29 ( no_4 VARCHAR, no_7 VARCHAR, no_3 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What name was in the number 4 spot when Aiden was number 7 and James was number 3? ### Response:
SELECT no_4 FROM table_name_29 WHERE no_7 = "aiden" AND no_3 = "james"
### Instruction: CREATE TABLE table_name_26 ( points INTEGER, score VARCHAR, january VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Points is the lowest one that has a Score of 1 4, and a January smaller than 18? ### Response:
SELECT MIN(points) FROM table_name_26 WHERE score = "1–4" AND january < 18
### Instruction: CREATE TABLE table_15408 ( "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 Date, when the City is Warsaw? ### Response:
SELECT "Date" FROM table_15408 WHERE "City" = 'warsaw'
### Instruction: CREATE TABLE table_1331313_1 ( acronym VARCHAR, department VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what's the acronym with department being department of finance kagawaran ng pananalapi ### Response:
SELECT acronym FROM table_1331313_1 WHERE department = "department of Finance Kagawaran ng Pananalapi"
### Instruction: CREATE TABLE table_name_28 ( year INTEGER, country VARCHAR, location VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average Year, when Country is 'U.S.', and when Location is 'Edmond , OK'? ### Response:
SELECT AVG(year) FROM table_name_28 WHERE country = "u.s." AND location = "edmond , ok"
### Instruction: CREATE TABLE table_17289604_38 ( round_of_32 VARCHAR, athlete VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What were the results for round of 32 for Nicole Vaidi ov ? ### Response:
SELECT round_of_32 FROM table_17289604_38 WHERE athlete = "Nicole Vaidišová"
### Instruction: CREATE TABLE table_name_38 ( score VARCHAR, attendance VARCHAR, home_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- The game with home team Crowborough Athletic, with an attendance less than 848 had what as the score? ### Response:
SELECT score FROM table_name_38 WHERE attendance < 848 AND home_team = "crowborough athletic"
### Instruction: CREATE TABLE table_name_36 ( name VARCHAR, matches VARCHAR, rank VARCHAR, goals VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who had a rank larger than 7, less than 305 goals, and 418 matches? ### Response:
SELECT name FROM table_name_36 WHERE rank > 7 AND goals < 305 AND matches = "418"
### Instruction: CREATE TABLE table_8105 ( "Distance" text, "Time" text, "Date" text, "Location" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Time has Notes of men's speed skating? ### Response:
SELECT "Time" FROM table_8105 WHERE "Notes" = 'men''s speed skating'
### Instruction: CREATE TABLE table_name_39 ( blank_ends INTEGER, nation VARCHAR, ends_lost VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of Blank Ends for Denmark when less than 42 is the ends lost? ### Response:
SELECT SUM(blank_ends) FROM table_name_39 WHERE nation = "denmark" AND ends_lost < 42
### Instruction: CREATE TABLE table_28821 ( "Category" text, "Player" text, "Games played" real, "Totals" text, "Average" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the average for assists per game ### Response:
SELECT "Average" FROM table_28821 WHERE "Category" = 'Assists per game'
### Instruction: CREATE TABLE table_36025 ( "Round" real, "Pick" real, "Player" text, "Position" text, "School/Club Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is round 1's position? ### Response:
SELECT "Position" FROM table_36025 WHERE "Round" = '1'
### Instruction: CREATE TABLE table_1231892_4 ( number_in_series VARCHAR, broadcast_order VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the number of episodes with a broadcast order s04 e07? ### Response:
SELECT COUNT(number_in_series) FROM table_1231892_4 WHERE broadcast_order = "S04 E07"
### Instruction: CREATE TABLE table_29701419_2 ( total_appearances INTEGER, total_goals VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total appearances when the total goals is 289? ### Response:
SELECT MIN(total_appearances) FROM table_29701419_2 WHERE total_goals = 289
### Instruction: CREATE TABLE table_name_24 ( record VARCHAR, event VARCHAR, opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the record when the event is shido usa mma and the opponent is raphael assun o? ### Response:
SELECT record FROM table_name_24 WHERE event = "shido usa mma" AND opponent = "raphael assunção"
### Instruction: CREATE TABLE table_1133844_4 ( senator VARCHAR, state__linked_to_summaries_below_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who won the senate seat in arkansas ### Response:
SELECT senator FROM table_1133844_4 WHERE state__linked_to_summaries_below_ = "Arkansas"
### Instruction: CREATE TABLE table_name_38 ( democratic_ticket VARCHAR, socialist_labor_ticket VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who's the Democratic ticket with a Socialist Labor ticket of belle j. rosen? ### Response:
SELECT democratic_ticket FROM table_name_38 WHERE socialist_labor_ticket = "belle j. rosen"
### Instruction: CREATE TABLE table_name_84 ( opponents VARCHAR, year VARCHAR, surface VARCHAR, partner VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was Margaret Court's opponent on clay in 1975? ### Response:
SELECT opponents FROM table_name_84 WHERE surface = "clay" AND partner = "margaret court" AND year = 1975
### Instruction: CREATE TABLE table_34863 ( "Year" text, "Title" text, "Role" text, "Producer" text, "Director" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Producer has a Role of rizzette? ### Response:
SELECT "Producer" FROM table_34863 WHERE "Role" = 'rizzette'
### Instruction: CREATE TABLE table_name_77 ( competition VARCHAR, event VARCHAR, time VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Competition has an Event of 4x100 m relay and has the Time of 38.89? ### Response:
SELECT competition FROM table_name_77 WHERE event = "4x100 m relay" AND time = "38.89"
### Instruction: CREATE TABLE table_1175233_1 ( communes INTEGER, arrondissement VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many communes when the arrondissement is cosne-cours-sur-loire? ### Response:
SELECT MIN(communes) FROM table_1175233_1 WHERE arrondissement = "Cosne-Cours-sur-Loire"
### Instruction: CREATE TABLE table_name_15 ( heat_rank INTEGER, time VARCHAR, lane VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the average heat rank for time less than 24.02 and lane of 1 ### Response:
SELECT AVG(heat_rank) FROM table_name_15 WHERE time < 24.02 AND lane = 1
### Instruction: CREATE TABLE table_1998037_9 ( television_commentator VARCHAR, spokesperson VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the television commentator when the spokesperson is Kateryna Osadcha? ### Response:
SELECT television_commentator FROM table_1998037_9 WHERE spokesperson = "Kateryna Osadcha"
### Instruction: CREATE TABLE table_name_35 ( chassis VARCHAR, year VARCHAR, entrant VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which chassis is from 1974 and was an entrant of Goldie Hexagon racing? ### Response:
SELECT chassis FROM table_name_35 WHERE year = 1974 AND entrant = "goldie hexagon racing"
### Instruction: CREATE TABLE table_name_93 ( points_against VARCHAR, tries_against VARCHAR, lost VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What point against has tries against of 77, and a lost of 16? ### Response:
SELECT points_against FROM table_name_93 WHERE tries_against = "77" AND lost = "16"
### Instruction: CREATE TABLE table_name_16 ( total_apps VARCHAR, league_apps VARCHAR, total_goals VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the total apps that have 41 as the League apps, with total goals greater than 1? ### Response:
SELECT total_apps FROM table_name_16 WHERE league_apps = "41" AND total_goals > 1
### Instruction: CREATE TABLE table_46362 ( "Year" real, "Award" text, "Category" text, "Nominated work" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which category has 24 nominated work? ### Response:
SELECT "Category" FROM table_46362 WHERE "Nominated work" = '24'
### Instruction: CREATE TABLE table_name_93 ( date VARCHAR, score VARCHAR, venue VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On what Date in Stade Leopold Senghor, Dakar was the Score 4 0? ### Response:
SELECT date FROM table_name_93 WHERE score = "4–0" AND venue = "stade leopold senghor, dakar"
### Instruction: CREATE TABLE table_name_47 ( team VARCHAR, wins VARCHAR, class VARCHAR, points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What team was the bike with a 350cc class, over 2 points, and 1 win? ### Response:
SELECT team FROM table_name_47 WHERE class = "350cc" AND points > 2 AND wins = 1
### Instruction: CREATE TABLE table_1499774_5 ( english_gloss VARCHAR, northern_lakota VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the number of english gloss for wak ye a ### Response:
SELECT COUNT(english_gloss) FROM table_1499774_5 WHERE northern_lakota = "wakȟáŋyeža"
### Instruction: CREATE TABLE table_75376 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many attendances have 9 as the week? ### Response:
SELECT COUNT("Attendance") FROM table_75376 WHERE "Week" = '9'
### Instruction: CREATE TABLE table_name_35 ( time_retired VARCHAR, laps VARCHAR, driver VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the time/retired when the laps is less than 54 and the driver is mark donohue? ### Response:
SELECT time_retired FROM table_name_35 WHERE laps < 54 AND driver = "mark donohue"
### Instruction: CREATE TABLE table_72762 ( "Track Name" text, "Location" text, "Length" text, "Sanction" text, "Program" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What location is farmer city speedway? ### Response:
SELECT "Location" FROM table_72762 WHERE "Track Name" = 'Farmer City Speedway'
### Instruction: CREATE TABLE table_name_84 ( score VARCHAR, player VARCHAR, place VARCHAR, country VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the score of player craig stadler from the United States with a t8 place? ### Response:
SELECT score FROM table_name_84 WHERE place = "t8" AND country = "united states" AND player = "craig stadler"
### Instruction: CREATE TABLE table_3005999_1 ( route_number VARCHAR, origin VARCHAR, destination VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many route numbers occur for the origin of Birmingham and destination of Bristol? ### Response:
SELECT COUNT(route_number) FROM table_3005999_1 WHERE origin = "Birmingham" AND destination = "Bristol"
### Instruction: CREATE TABLE table_16617025_1 ( title VARCHAR, us_viewers__millions_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What episode titles have 20.94 million U.S. viewers? ### Response:
SELECT title FROM table_16617025_1 WHERE us_viewers__millions_ = "20.94"
### Instruction: CREATE TABLE table_16185956_1 ( incumbent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many groups of candidates are there in there in the district where the incumbent is Doc Hastings? ### Response:
SELECT COUNT(2008 AS _candidates) FROM table_16185956_1 WHERE incumbent = "Doc Hastings"
### Instruction: CREATE TABLE table_1231316_7 ( location VARCHAR, fastest_time__s_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number of locations with the fastest times of 11.13? ### Response:
SELECT COUNT(location) FROM table_1231316_7 WHERE fastest_time__s_ = "11.13"
### Instruction: CREATE TABLE table_8317 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the Opponent in Week 9? ### Response:
SELECT "Opponent" FROM table_8317 WHERE "Week" = '9'
### Instruction: CREATE TABLE table_name_42 ( drawn INTEGER, first_game VARCHAR, played VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of drawn matches from first game years before 2006 and fewer than 2 matches played? ### Response:
SELECT SUM(drawn) FROM table_name_42 WHERE first_game < 2006 AND played < 2
### Instruction: CREATE TABLE table_name_69 ( score VARCHAR, date VARCHAR, away_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the score on 14 december 1974 and the away team is crystal palace? ### Response:
SELECT score FROM table_name_69 WHERE date = "14 december 1974" AND away_team = "crystal palace"
### Instruction: CREATE TABLE table_name_93 ( player VARCHAR, country VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who is the player when the country is united states and the score is 71-73=144? ### Response:
SELECT player FROM table_name_93 WHERE country = "united states" AND score = 71 - 73 = 144
### Instruction: CREATE TABLE table_1014206_2 ( laid_down VARCHAR, commissioned VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When were ships laid down that were commissioned on october 29, 1965? ### Response:
SELECT laid_down FROM table_1014206_2 WHERE commissioned = "October 29, 1965"
### Instruction: CREATE TABLE table_67373 ( "Language" text, "Number" text, "percentage (%)" text, "males" text, "females" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many females speak Ukrainian? ### Response:
SELECT "females" FROM table_67373 WHERE "Language" = 'ukrainian'