instruction
stringlengths
212
6.3k
output
stringlengths
6
2.03k
### Instruction: CREATE TABLE table_42324 ( "Team" text, "Match" real, "Points" real, "Draw" real, "Lost" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many matches ended with more than 22 points? ### Response:
SELECT SUM("Match") FROM table_42324 WHERE "Points" > '22'
### Instruction: CREATE TABLE table_name_17 ( place VARCHAR, country VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the Place which has a Score of 67-71=138, united states? ### Response:
SELECT place FROM table_name_17 WHERE country = "united states" AND score = 67 - 71 = 138
### Instruction: CREATE TABLE table_15190346_2 ( _number INTEGER, attendance VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number of the bowl game when attendance was 79,280? ### Response:
SELECT MAX(_number) FROM table_15190346_2 WHERE attendance = "79,280"
### Instruction: CREATE TABLE table_1342013_10 ( candidates VARCHAR, incumbent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many candidates ran in the race where the incumbent is J. L. Pilcher? ### Response:
SELECT COUNT(candidates) FROM table_1342013_10 WHERE incumbent = "J. L. Pilcher"
### Instruction: CREATE TABLE table_9327 ( "Round" real, "Pick" real, "Player" text, "Position" text, "School" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What round was Joe Sims picked? ### Response:
SELECT AVG("Round") FROM table_9327 WHERE "Player" = 'joe sims'
### Instruction: CREATE TABLE table_name_32 ( chassis VARCHAR, year VARCHAR, entrant VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which chassis did fondmetal f1 spa use after 1990? ### Response:
SELECT chassis FROM table_name_32 WHERE year > 1990 AND entrant = "fondmetal f1 spa"
### Instruction: CREATE TABLE table_15081939_4 ( swimsuit VARCHAR, evening_gown VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the swimsuit score for the item that has 7.61 as evening gown ### Response:
SELECT swimsuit FROM table_15081939_4 WHERE evening_gown = "7.61"
### Instruction: CREATE TABLE table_11019 ( "Year" real, "Award" text, "Category" text, "Work" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the latest year for the distinguished performance? ### Response:
SELECT MAX("Year") FROM table_11019 WHERE "Category" = 'distinguished performance'
### Instruction: CREATE TABLE loan ( credit_score INTEGER, cust_id VARCHAR ) CREATE TABLE customer ( credit_score INTEGER, cust_id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find the average credit score of the customers who have some loan. ### Response:
SELECT AVG(credit_score) FROM customer WHERE cust_id IN (SELECT cust_id FROM loan)
### Instruction: CREATE TABLE table_14637853_3 ( title VARCHAR, original_air_date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what's the title with original air date being september23,1995 ### Response:
SELECT title FROM table_14637853_3 WHERE original_air_date = "September23,1995"
### Instruction: CREATE TABLE table_5406 ( "Number" real, "Name" text, "Position" text, "Date of birth" text, "Height" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Alexander Wronski's Position? ### Response:
SELECT "Position" FROM table_5406 WHERE "Name" = 'alexander wronski'
### Instruction: CREATE TABLE table_name_87 ( free INTEGER, total VARCHAR, rank VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the most free when the total is 81.167 and the rank is higher than 23? ### Response:
SELECT MAX(free) FROM table_name_87 WHERE total = 81.167 AND rank > 23
### Instruction: CREATE TABLE table_1974545_3 ( softball_stadium VARCHAR, baseball_stadium VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the softball stadium for the school that has Eastern Baseball Stadium? ### Response:
SELECT softball_stadium FROM table_1974545_3 WHERE baseball_stadium = "Eastern Baseball Stadium"
### Instruction: CREATE TABLE table_name_94 ( award VARCHAR, year VARCHAR, result VARCHAR, category VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the award won for category of choice tv villain in years after 2008 ### Response:
SELECT award FROM table_name_94 WHERE result = "won" AND category = "choice tv villain" AND year > 2008
### Instruction: CREATE TABLE table_4269 ( "Route Number" real, "Origin" text, "Intermediate stops" text, "Destination" text, "Provider" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who are all providers with destination of Liverpool? ### Response:
SELECT "Provider" FROM table_4269 WHERE "Destination" = 'Liverpool'
### Instruction: CREATE TABLE table_name_50 ( goals_scored VARCHAR, pos VARCHAR, years_active VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many goals were scored with a pos larger than 4 and active in 2001-? ### Response:
SELECT goals_scored FROM table_name_50 WHERE pos > 4 AND years_active = "2001-"
### Instruction: CREATE TABLE table_name_21 ( year VARCHAR, reg_season VARCHAR, open_cup VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year was the team 8th in the season and made it to the 3rd round in Open Cup? ### Response:
SELECT year FROM table_name_21 WHERE reg_season = "8th" AND open_cup = "3rd round"
### Instruction: CREATE TABLE table_10581768_2 ( founded INTEGER, type VARCHAR, location VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many institutions are located in wilmore, kentucky and private ### Response:
SELECT MAX(founded) FROM table_10581768_2 WHERE type = "Private" AND location = "Wilmore, Kentucky"
### Instruction: CREATE TABLE table_6398 ( "Game" real, "Date" text, "Opponent" text, "Score" text, "Series" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which game took place on April 22? ### Response:
SELECT "Game" FROM table_6398 WHERE "Date" = 'april 22'
### Instruction: CREATE TABLE table_74975 ( "Year" real, "Location" text, "Gold" text, "Silver" text, "Bronze" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many years has Japan won silver? ### Response:
SELECT SUM("Year") FROM table_74975 WHERE "Silver" = 'japan'
### Instruction: CREATE TABLE table_2846320_4 ( au_won INTEGER, games_played VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the lowest number that auburn triumphed where the activities took part was 92 ### Response:
SELECT MIN(au_won) FROM table_2846320_4 WHERE games_played = 92
### Instruction: CREATE TABLE table_11734041_6 ( years_for_rockets VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What years for the rockets did player ford, alton alton ford play? ### Response:
SELECT years_for_rockets FROM table_11734041_6 WHERE player = "Ford, Alton Alton Ford"
### Instruction: CREATE TABLE table_name_20 ( total INTEGER, player VARCHAR, to_par VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of the total of player rich beem, who has a to par greater than 17? ### Response:
SELECT SUM(total) FROM table_name_20 WHERE player = "rich beem" AND to_par > 17
### Instruction: CREATE TABLE table_name_53 ( score VARCHAR, runner_up VARCHAR, tournament VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the score when goran ivani evi was runner up and the tournament was in algarve? ### Response:
SELECT score FROM table_name_53 WHERE runner_up = "goran ivanišević" AND tournament = "algarve"
### Instruction: CREATE TABLE table_44217 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the game date for week 7? ### Response:
SELECT "Date" FROM table_44217 WHERE "Week" = '7'
### Instruction: CREATE TABLE table_name_31 ( tries_for VARCHAR, tries_against VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- tries against correct as of 2007-10-15 has what tries for? ### Response:
SELECT tries_for FROM table_name_31 WHERE tries_against = "correct as of 2007-10-15"
### Instruction: CREATE TABLE table_name_25 ( students INTEGER, pupil_teacher_ratio VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average number of students for schools with a pupil to teacher ratio of 25.1? ### Response:
SELECT AVG(students) FROM table_name_25 WHERE pupil_teacher_ratio = 25.1
### Instruction: CREATE TABLE table_80401 ( "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 Rocco Mediate's par? ### Response:
SELECT "To par" FROM table_80401 WHERE "Player" = 'rocco mediate'
### Instruction: CREATE TABLE table_name_99 ( frequency__mhz_ INTEGER, call_letters VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Frequency (MHz) that has a Call letters of krmd-fm has what sum? ### Response:
SELECT SUM(frequency__mhz_) FROM table_name_99 WHERE call_letters = "krmd-fm"
### Instruction: CREATE TABLE table_55660 ( "Release format" text, "Country" text, "Label" text, "Cat. No." text, "Release date" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many release dates has Canada had? ### Response:
SELECT COUNT("Release date") FROM table_55660 WHERE "Country" = 'canada'
### Instruction: CREATE TABLE table_name_24 ( number_of_seats INTEGER, make VARCHAR, quantity VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the largest number of seats with more than 32 of a MCI make? ### Response:
SELECT MAX(number_of_seats) FROM table_name_24 WHERE make = "mci" AND quantity > 32
### Instruction: CREATE TABLE table_19412902_2 ( pos INTEGER, points__total_500_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- At what position is the association with 279 points? ### Response:
SELECT MIN(pos) FROM table_19412902_2 WHERE points__total_500_ = 279
### Instruction: CREATE TABLE table_29535057_4 ( challenge_leader VARCHAR, winner VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who were the challenge leaders of the games won by boston college (88-76)? ### Response:
SELECT challenge_leader FROM table_29535057_4 WHERE winner = "Boston College (88-76)"
### Instruction: CREATE TABLE table_name_6 ( name VARCHAR, transfer_window VARCHAR, moving_to VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the name that had a moving to Anorthosis Famagusta and a transfer window of winter? ### Response:
SELECT name FROM table_name_6 WHERE transfer_window = "winter" AND moving_to = "anorthosis famagusta"
### Instruction: CREATE TABLE table_25563779_4 ( champion VARCHAR, national_trophy_rookie VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the champion if the national trophy/rookie is not held? ### Response:
SELECT champion FROM table_25563779_4 WHERE national_trophy_rookie = "not held"
### Instruction: CREATE TABLE table_name_74 ( literary_tradition VARCHAR, language_s_ VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the literary traidtion for the film in english in 2011? ### Response:
SELECT literary_tradition FROM table_name_74 WHERE language_s_ = "english" AND year = 2011
### Instruction: CREATE TABLE table_61668 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Place has a Player of tony jacklin? ### Response:
SELECT "Place" FROM table_61668 WHERE "Player" = 'tony jacklin'
### Instruction: CREATE TABLE table_name_75 ( lane INTEGER, name VARCHAR, rank VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the least lane number that Natalie Coughlin was in when she was ranked greater than 1? ### Response:
SELECT MIN(lane) FROM table_name_75 WHERE name = "natalie coughlin" AND rank > 1
### Instruction: CREATE TABLE table_name_91 ( grid INTEGER, time_retired VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest numbered grid with a time or retired time of 52:52.1881? ### Response:
SELECT MAX(grid) FROM table_name_91 WHERE time_retired = "52:52.1881"
### Instruction: CREATE TABLE table_20667854_1 ( bse_code VARCHAR, free_float VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is every BSE code for a free float of 0.2726? ### Response:
SELECT bse_code FROM table_20667854_1 WHERE free_float = "0.2726"
### Instruction: CREATE TABLE table_name_21 ( percent_of_mass VARCHAR, molweight__daltons_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the percent of mass when the mol.weight (daltons) is 1e11? ### Response:
SELECT percent_of_mass FROM table_name_21 WHERE molweight__daltons_ = "1e11"
### Instruction: CREATE TABLE table_63791 ( "Rank" real, "Lane" real, "Name" text, "Nationality" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What nationality has 2 as the rank? ### Response:
SELECT "Nationality" FROM table_63791 WHERE "Rank" = '2'
### Instruction: CREATE TABLE table_32546 ( "Region" text, "Host" text, "Venue" text, "City" text, "State" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which state is University of Tennessee based in? ### Response:
SELECT "State" FROM table_32546 WHERE "Host" = 'university of tennessee'
### Instruction: CREATE TABLE table_name_72 ( outcome VARCHAR, partner VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the outcome on 11 October 2009, when his partner was Jordan Kerr? ### Response:
SELECT outcome FROM table_name_72 WHERE partner = "jordan kerr" AND date = "11 october 2009"
### Instruction: CREATE TABLE table_11216 ( "Pick" real, "Round" text, "Player" text, "Position" text, "School" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What position did the school of alabama draft? ### Response:
SELECT "Position" FROM table_11216 WHERE "School" = 'alabama'
### Instruction: CREATE TABLE table_name_15 ( chassis VARCHAR, rounds VARCHAR, entrant VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which chassis had Rounds of 7, and an Entrant of Ecurie Rosier? ### Response:
SELECT chassis FROM table_name_15 WHERE rounds = "7" AND entrant = "ecurie rosier"
### Instruction: CREATE TABLE table_name_70 ( position_in_1999 VARCHAR, capacity INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the position of the team that played at the venue with more than 6,500 capacity? ### Response:
SELECT position_in_1999 FROM table_name_70 WHERE capacity > 6 OFFSET 500
### Instruction: CREATE TABLE table_name_97 ( home_team VARCHAR, road_team VARCHAR, result VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Home Team has a Road Team of rochester, and a Result of 71-78? ### Response:
SELECT home_team FROM table_name_97 WHERE road_team = "rochester" AND result = "71-78"
### Instruction: CREATE TABLE table_63260 ( "Draw" real, "Artist" text, "Song" text, "Percentage" text, "Place" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Percentage has a Place of 5? ### Response:
SELECT "Percentage" FROM table_63260 WHERE "Place" = '5'
### Instruction: CREATE TABLE table_18042031_16 ( partnering VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was Gil's partner on 10 12 july 2009 ### Response:
SELECT partnering FROM table_18042031_16 WHERE date = "10–12 July 2009"
### Instruction: CREATE TABLE table_name_83 ( gross_revenue__1979_ VARCHAR, venue VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Gross Revenue (1979) of the Venue, lyceum theatre? ### Response:
SELECT gross_revenue__1979_ FROM table_name_83 WHERE venue = "lyceum theatre"
### Instruction: CREATE TABLE table_name_11 ( nation VARCHAR, rank VARCHAR, bronze VARCHAR, gold VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Nation, when Bronze is 1, when Gold is greater than 0, and when Rank is 2? ### Response:
SELECT nation FROM table_name_11 WHERE bronze = 1 AND gold > 0 AND rank = "2"
### Instruction: CREATE TABLE table_18598175_2 ( eliminated_by VARCHAR, time VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many player eliminated an opponent within the time frame of 32:32? ### Response:
SELECT COUNT(eliminated_by) FROM table_18598175_2 WHERE time = "32:32"
### Instruction: CREATE TABLE table_46493 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "TV Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the result of week 11? ### Response:
SELECT "Result" FROM table_46493 WHERE "Week" = '11'
### Instruction: CREATE TABLE table_45898 ( "Name" text, "Listed" text, "Location" text, "County" text, "Type" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What type of bridge is in Cooperstown? ### Response:
SELECT "Type" FROM table_45898 WHERE "Location" = 'cooperstown'
### Instruction: CREATE TABLE table_9157 ( "Year" real, "Host" text, "Gold" text, "Silver" text, "Bronze" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what year was Luxembourg Host? ### Response:
SELECT MIN("Year") FROM table_9157 WHERE "Host" = 'luxembourg'
### Instruction: CREATE TABLE table_26561506_1 ( _number INTEGER, patient_portrayer VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest numbered episode with patient portrayer doug savant? ### Response:
SELECT MAX(_number) FROM table_26561506_1 WHERE patient_portrayer = "Doug Savant"
### Instruction: CREATE TABLE table_23670057_5 ( player VARCHAR, year_born VARCHAR, position VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which players were born in 1983 and play as forward position? ### Response:
SELECT player FROM table_23670057_5 WHERE year_born = 1983 AND position = "Forward"
### 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 people were ranked ? ### Response:
SELECT COUNT(*) FROM table_204_910 WHERE NOT "result" IS NULL
### Instruction: CREATE TABLE table_name_3 ( home VARCHAR, plyff VARCHAR, opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which home team has a playoff record of (0-0) and played La Crosse Spartans? ### Response:
SELECT home FROM table_name_3 WHERE plyff = "(0-0)" AND opponent = "la crosse spartans"
### Instruction: CREATE TABLE table_53996 ( "Frequency" text, "Call sign" text, "Name" text, "Format" text, "Owner" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the frequency of KQLX? ### Response:
SELECT "Frequency" FROM table_53996 WHERE "Call sign" = 'kqlx'
### Instruction: CREATE TABLE table_name_4 ( fate VARCHAR, nationality VARCHAR, tonnage VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Fate has a Nationality of united kingdom, and a Tonnage of 1,809? ### Response:
SELECT fate FROM table_name_4 WHERE nationality = "united kingdom" AND tonnage = "1,809"
### Instruction: CREATE TABLE table_name_74 ( number_of_episodes VARCHAR, notes VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Number Of Episodes, when Notes is 'Moved to run a farm with boyfriend Jake.'? ### Response:
SELECT number_of_episodes FROM table_name_74 WHERE notes = "moved to run a farm with boyfriend jake."
### Instruction: CREATE TABLE table_2780146_6 ( standard VARCHAR, pm__g_kwh_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many different standards have a PM of 0.02 g/kWh? ### Response:
SELECT COUNT(standard) FROM table_2780146_6 WHERE pm__g_kwh_ = "0.02"
### Instruction: CREATE TABLE table_name_99 ( sub_parish__sogn_ VARCHAR, church_name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Sub-Parish (Sogn) has a church named Jostedal Kyrkje? ### Response:
SELECT sub_parish__sogn_ FROM table_name_99 WHERE church_name = "jostedal kyrkje"
### Instruction: CREATE TABLE table_name_3 ( rank INTEGER, sites VARCHAR, circuit VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the rank of the cinema when the number of sites is more than 62 and the circuit is cineplex entertainment? ### Response:
SELECT SUM(rank) FROM table_name_3 WHERE sites > 62 AND circuit = "cineplex entertainment"
### Instruction: CREATE TABLE table_2417345_4 ( reason_for_change VARCHAR, vacator VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the reason for change when George W. Greene (D) was the vacator. ### Response:
SELECT reason_for_change FROM table_2417345_4 WHERE vacator = "George W. Greene (D)"
### Instruction: CREATE TABLE table_name_42 ( Id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which 2003 has a 2012 of 1r, and a 2008 of 1r? ### Response:
SELECT 2003 FROM table_name_42 WHERE 2012 = "1r" AND 2008 = "1r"
### Instruction: CREATE TABLE table_name_61 ( round INTEGER, position VARCHAR, pick__number VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Let's say position was linebacker with a pick number less than 5, what was the highest round? ### Response:
SELECT MAX(round) FROM table_name_61 WHERE position = "linebacker" AND pick__number > 5
### Instruction: CREATE TABLE table_57011 ( "Year" real, "Author" text, "English title" text, "Original title" text, "Representing" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the year for the ocean? ### Response:
SELECT "Year" FROM table_57011 WHERE "English title" = 'the ocean'
### Instruction: CREATE TABLE table_70441 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Score on April 6? ### Response:
SELECT "Score" FROM table_70441 WHERE "Date" = 'april 6'
### Instruction: CREATE TABLE table_27653955_1 ( ihsa_music_class VARCHAR, mascot VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the IHSA music class for the mascot that is the lancers? ### Response:
SELECT ihsa_music_class FROM table_27653955_1 WHERE mascot = "Lancers"
### Instruction: CREATE TABLE table_47346 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What place in Lon Hinkle in? ### Response:
SELECT "Place" FROM table_47346 WHERE "Player" = 'lon hinkle'
### Instruction: CREATE TABLE table_56785 ( "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 constructor with grid value 5? ### Response:
SELECT "Constructor" FROM table_56785 WHERE "Grid" = '5'
### Instruction: CREATE TABLE table_name_95 ( runners_up VARCHAR, champions VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In 1987, what is the Runners-up when Stefan Edberg is Champion? ### Response:
SELECT runners_up FROM table_name_95 WHERE champions = "stefan edberg" AND year = 1987
### Instruction: CREATE TABLE table_79944 ( "Date" text, "City" text, "Event" text, "Winner" text, "Prize" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When was the event in the City of Baden? ### Response:
SELECT "Date" FROM table_79944 WHERE "City" = 'baden'
### Instruction: CREATE TABLE table_name_87 ( status VARCHAR, against VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the status with an against over 20 on 18/11/1995? ### Response:
SELECT status FROM table_name_87 WHERE against > 20 AND date = "18/11/1995"
### Instruction: CREATE TABLE table_name_37 ( year INTEGER, venue VARCHAR, position VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what Year did Chernova come in 1st in G tzis, Austria? ### Response:
SELECT SUM(year) FROM table_name_37 WHERE venue = "götzis, austria" AND position = "1st"
### Instruction: CREATE TABLE table_20159025_1 ( driver VARCHAR, part_1 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the driver when the time in part 3 was 1:31.386? ### Response:
SELECT driver FROM table_20159025_1 WHERE part_1 = "1:31.386"
### Instruction: CREATE TABLE table_10236830_1 ( nomination VARCHAR, actors_name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the number of nominations for natalia raskokoha? ### Response:
SELECT COUNT(nomination) FROM table_10236830_1 WHERE actors_name = "Natalia Raskokoha"
### Instruction: CREATE TABLE table_name_48 ( play_offs INTEGER, league VARCHAR, fa_cup VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the lowest Play-offs with a League of 4 and FA Cup larger than 1? ### Response:
SELECT MIN(play_offs) FROM table_name_48 WHERE league = 4 AND fa_cup > 1
### Instruction: CREATE TABLE table_12962773_5 ( height VARCHAR, position VARCHAR, current_club VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what's the height with position being forward and current club being real madrid ### Response:
SELECT height FROM table_12962773_5 WHERE position = "Forward" AND current_club = "Real Madrid"
### Instruction: CREATE TABLE table_18305523_2 ( writer_s VARCHAR, cover_date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who wrote the story that is cover date 19 October 1985? ### Response:
SELECT writer_s FROM table_18305523_2 WHERE cover_date = "19 October 1985"
### Instruction: CREATE TABLE table_26139378_1 ( viewers__in_millions_ VARCHAR, episode__number VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many millions of viewers did Episode number 16 have? ### Response:
SELECT viewers__in_millions_ FROM table_26139378_1 WHERE episode__number = 16
### Instruction: CREATE TABLE table_18046 ( "Shirt No" real, "Player" text, "Birth Date" text, "Weight" real, "Height" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many players weight 95? ### Response:
SELECT COUNT("Player") FROM table_18046 WHERE "Weight" = '95'
### Instruction: CREATE TABLE table_1566852_3 ( date VARCHAR, interview_subject VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- IN HOW MANY ISSUES WAS HARRISON FORD THE INTERVIEW SUBJECT? ### Response:
SELECT COUNT(date) FROM table_1566852_3 WHERE interview_subject = "Harrison Ford"
### Instruction: CREATE TABLE table_52127 ( "Country" text, "Date" text, "Label" text, "Format" text, "Catalogue" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the Date of Country of United States? ### Response:
SELECT "Date" FROM table_52127 WHERE "Country" = 'united states'
### Instruction: CREATE TABLE table_name_17 ( season INTEGER, total_prize_money VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the highest season number with a total prize of $108,000? ### Response:
SELECT MAX(season) FROM table_name_17 WHERE total_prize_money = "$108,000"
### Instruction: CREATE TABLE table_name_31 ( grid INTEGER, laps VARCHAR, driver VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the smallest grid number that had 10 laps listed with Jonathan Summerton as the driver? ### Response:
SELECT MIN(grid) FROM table_name_31 WHERE laps = 10 AND driver = "jonathan summerton"
### Instruction: CREATE TABLE departments ( department_id VARCHAR ) CREATE TABLE employees ( department_id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- display the department name and number of employees in each of the department. ### Response:
SELECT department_name, COUNT(*) FROM employees AS T1 JOIN departments AS T2 ON T1.department_id = T2.department_id GROUP BY department_name
### Instruction: CREATE TABLE table_11545282_17 ( player VARCHAR, years_for_jazz VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the player that played 2004-05? ### Response:
SELECT player FROM table_11545282_17 WHERE years_for_jazz = "2004-05"
### Instruction: CREATE TABLE table_50935 ( "Place" text, "Player" text, "Country" text, "Score" real, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What to par has 66 as the score? ### Response:
SELECT "To par" FROM table_50935 WHERE "Score" = '66'
### Instruction: CREATE TABLE table_26476336_2 ( new_conference VARCHAR, new_classification VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many new conferences are in the NCLL deep south conference? ### Response:
SELECT COUNT(new_conference) FROM table_26476336_2 WHERE new_classification = "NCLL Deep South Conference"
### Instruction: CREATE TABLE table_16577990_1 ( tree_species VARCHAR, total_plant_species VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many tree species are there when the total plant species is 113? ### Response:
SELECT COUNT(tree_species) FROM table_16577990_1 WHERE total_plant_species = 113
### Instruction: CREATE TABLE table_8130 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Visitor on January 1? ### Response:
SELECT "Visitor" FROM table_8130 WHERE "Date" = 'january 1'
### Instruction: CREATE TABLE table_name_85 ( tournament VARCHAR, winning_score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which tournament won with a score of 66-68-70-70=274? ### Response:
SELECT tournament FROM table_name_85 WHERE winning_score = 66 - 68 - 70 - 70 = 274
### Instruction: CREATE TABLE table_name_83 ( supercopa_sudamericana_1992 VARCHAR, team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Supercopa Sudamericana 1992 has a Team of santos? ### Response:
SELECT supercopa_sudamericana_1992 FROM table_name_83 WHERE team = "santos"
### Instruction: CREATE TABLE table_name_49 ( total_produced INTEGER, prime_mover VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average total produced when the prime mover is 12-251c? ### Response:
SELECT AVG(total_produced) FROM table_name_49 WHERE prime_mover = "12-251c"
### Instruction: CREATE TABLE table_60341 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What place is the golfer in who is from Spain? ### Response:
SELECT "Place" FROM table_60341 WHERE "Country" = 'spain'
### Instruction: CREATE TABLE table_1447085_1 ( county VARCHAR, median_house__hold_income VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which county has a median household income of $98,090? ### Response:
SELECT county FROM table_1447085_1 WHERE median_house__hold_income = "$98,090"