instruction
stringlengths
37
754
output
stringlengths
9
3.43k
### Instruction: what is drug route of drug name influenza virus vaccine? ### Response:
SELECT prescriptions.route FROM prescriptions WHERE prescriptions.drug = "Influenza Virus Vaccine"
### Instruction: What is the Turkish word for the Bangla word shombar ? ### Response:
SELECT turkish FROM table_name_51 WHERE bangla = "shombar সোমবার"
### Instruction: What was the original name for the song performed by Brad Kavanagh? ### Response:
SELECT "Original Name" FROM table_8772 WHERE "Singer(s)" = 'brad kavanagh'
### Instruction: What is the difference with a loss smaller than 5 and points lower than 32? ### Response:
SELECT COUNT(diff) FROM table_name_50 WHERE lost < 5 AND points < 32
### Instruction: What is the final position with ties of 0, and wins of 5? ### Response:
SELECT final_position FROM table_name_87 WHERE ties = "0" AND wins = "5"
### Instruction: What is the 1976 value of the Australian Open? ### Response:
SELECT "1976" FROM table_52460 WHERE "Tournament" = 'australian open'
### Instruction: With theme the Year They Were Born, what is the song of choice? ### Response:
SELECT "Song choice" FROM table_24427 WHERE "Theme" = 'Year They Were Born'
### Instruction: When was the race that set the record for the Izod Indycar Series? ### Response:
SELECT "Date" FROM table_54206 WHERE "Record" = 'izod indycar series'
### Instruction: List the total number of institutions founded in Rock Island, Illinois. ### Response:
SELECT COUNT(founded) FROM table_18483171_1 WHERE location = "Rock Island, Illinois"
### Instruction: What lbum was in the year 1996? ### Response:
SELECT "\u00c1lbum" FROM table_15184 WHERE "Year" = '1996'
### Instruction: What Report has a Winning driver of mario razzauti? ### Response:
SELECT "Report" FROM table_60590 WHERE "Winning driver" = 'mario razzauti'
### Instruction: What was the date of a game that had the odds of q rook? ### Response:
SELECT AVG("Date") FROM table_4963 WHERE "Odds" = 'q rook'
### Instruction: Name the number of series episode for s piston ### Response:
SELECT COUNT(series_ep) FROM table_15187735_8 WHERE segment_a = "s Piston"
### Instruction: WHAT IS THE WORLDWIDE BOX OFFICE FOR BRAVE? ### Response:
SELECT "Worldwide" FROM table_76669 WHERE "Film" = 'brave'
### Instruction: What is Calvin Mokoto's average rank? ### Response:
SELECT AVG("Rank") FROM table_79568 WHERE "Athletes" = 'calvin mokoto'
### Instruction: How many seats does the 6th Dail have? ### Response:
SELECT COUNT("Seats") FROM table_38250 WHERE "D\u00e1il" = '6th'
### Instruction: What is the average of Fiji with t10 Finish? ### Response:
SELECT AVG(total) FROM table_name_96 WHERE finish = "t10" AND country = "fiji"
### Instruction: what is the population of the yamato flat inland plain ### Response:
SELECT "population" FROM table_200_33 WHERE "district" = 'yamato flat inland plain'
### Instruction: What is the artist of the song 'sugarbaby'? ### Response:
SELECT "Artist" FROM table_22204 WHERE "Song title" = 'Sugarbaby'
### Instruction: What is the lowest Year with an Album that is live love in London? ### Response:
SELECT MIN("Year") FROM table_7098 WHERE "Album" = 'live love in london'
### Instruction: when did new zealand last compete? ### Response:
SELECT MAX(last_competed) FROM table_14308895_2 WHERE country_territory = "New Zealand"
### Instruction: How many different civil parishes is Canrooska a part of? ### Response:
SELECT COUNT("Civil parish") FROM table_4287 WHERE "Townland" = 'Canrooska'
### Instruction: Where did the Centurions play the Hamburg Sea Devils? ### Response:
SELECT game_site FROM table_27764201_2 WHERE opponent = "Hamburg Sea Devils"
### Instruction: Name the date for score of w 112-91 ### Response:
SELECT date FROM table_27902171_8 WHERE score = "W 112-91"
### Instruction: Name the most swimsuit for interview less than 8.46 ### Response:
SELECT MAX("Swimsuit") FROM table_52719 WHERE "Interview" < '8.46'
### Instruction: what are the genders of patient 032-2747? ### Response:
SELECT DISTINCT patient.gender FROM patient WHERE patient.uniquepid = '032-2747'
### Instruction: fasting serum insulin greater than or equal to 7 uu / ml ### Response:
SELECT * FROM table_train_222 WHERE fasting_serum_insulin >= 7
### Instruction: Who is Gene Felton's TO Winning Team? ### Response:
SELECT "TO Winning Team" FROM table_18905 WHERE "GTO Winning Team" = 'Gene Felton'
### Instruction: What is the tie no of the game where exeter city was the home team? ### Response:
SELECT "Tie no" FROM table_79082 WHERE "Home team" = 'exeter city'
### Instruction: When did the Mavericks have a record of 32-19? ### Response:
SELECT date FROM table_23284271_8 WHERE record = "32-19"
### Instruction: Which average Total has a Place smaller than 2, and a Draw smaller than 5? ### Response:
SELECT AVG(total) FROM table_name_99 WHERE place < 2 AND draw < 5
### Instruction: How many tournaments recorded a score of 206 (-7)? ### Response:
SELECT COUNT("Tournament") FROM table_16958 WHERE "Score" = '206 (-7)'
### Instruction: is the number of draws in the history of the derby above or below 10 ? ### Response:
SELECT (SELECT SUM("draw") FROM table_204_801) > 10
### Instruction: What was the score of the game where the home team was the cairns taipans? ### Response:
SELECT score FROM table_name_85 WHERE home_team = "cairns taipans"
### Instruction: Name the number of other builders for nant, visual studio ### Response:
SELECT COUNT("Other builders") FROM table_25531 WHERE "Windows builders" = 'NAnt, Visual Studio'
### Instruction: What clay surface edition had an opponent of miho saeki? ### Response:
SELECT edition FROM table_name_2 WHERE surface = "clay" AND opponent = "miho saeki"
### Instruction: Swimmer Jiao Liuyang has what for the sum of lane? ### Response:
SELECT COUNT("Lane") FROM table_13583 WHERE "Name" = 'jiao liuyang'
### Instruction: how did the match between zwick and william richley last ? ### Response:
SELECT "time" FROM table_204_461 WHERE "opponent" = 'william richey'
### Instruction: What was the top first place prize in 1997? ### Response:
SELECT MAX("First Prize ( $ )") FROM table_80307 WHERE "Year" = '1997'
### Instruction: In what venues was the match with a final result of Eng by 4 wkts? ### Response:
SELECT venue FROM table_name_19 WHERE result = "eng by 4 wkts"
### Instruction: What is the L2 cache for the processor with a 750MHz frequency? ### Response:
SELECT l2_cache FROM table_name_93 WHERE frequency = "750mhz"
### Instruction: How many countries earned 177.2 points? ### Response:
SELECT COUNT(member_association) FROM table_1059743_2 WHERE points = "177.2"
### Instruction: What is Pro Year(s), when Team is Cincinnati Royals? ### Response:
SELECT pro_year_s_ FROM table_name_79 WHERE team = "cincinnati royals"
### Instruction: What is the highest number of laps led with 16 points? ### Response:
SELECT MAX(laps) AS Led FROM table_17319931_1 WHERE points = "16"
### Instruction: What is the League Cup value for 1991 present? ### Response:
SELECT "League Cup" FROM table_15443 WHERE "Years" = '1991–present'
### Instruction: What was the partnership in the season of 1928 ### Response:
SELECT "Wicket Partnership" FROM table_54470 WHERE "Season" = '1928'
### Instruction: what year was mick jagger 's best of album released ? ### Response:
SELECT "year" FROM table_200_22 WHERE "year" = 'the very best of mick jagger'
### Instruction: find out the long title diagnosis of patient with patient id 3343. ### Response:
SELECT diagnoses.long_title FROM diagnoses WHERE diagnoses.subject_id = "3343"
### Instruction: What is the number of silver when bronze is 0, and rank is less than 2? ### Response:
SELECT SUM(silver) FROM table_name_5 WHERE bronze = 0 AND rank < 2
### Instruction: Who gave the play by play commentary with studio host Ward Cornell? ### Response:
SELECT "Play-by-play" FROM table_77914 WHERE "Studio host" = 'ward cornell'
### Instruction: How many incumbents come from alvin bush's district? ### Response:
SELECT COUNT("Candidates") FROM table_72398 WHERE "Incumbent" = 'Alvin Bush'
### Instruction: What is listed for the Province with a Wamalwa of 4,431? ### Response:
SELECT province FROM table_name_82 WHERE wamalwa = "4,431"
### Instruction: What is Party, when Name is Oudom Khattigna? ### Response:
SELECT "Party" FROM table_76837 WHERE "Name" = 'oudom khattigna'
### Instruction: What is the highest Money ( $ ), when To Par is less than 2? ### Response:
SELECT MAX(money___) AS $__ FROM table_name_11 WHERE to_par < 2
### Instruction: Who's the leader in the young rider classification in stage 12? ### Response:
SELECT "Young rider classification" FROM table_17560 WHERE "Stage" = '12'
### Instruction: Position of guard, and a Pick # larger than 9 is what highest round? ### Response:
SELECT MAX(round) FROM table_name_67 WHERE position = "guard" AND pick__number > 9
### Instruction: what was is the number of wins by roderick blakney ? ### Response:
SELECT COUNT(*) FROM table_203_391 WHERE "roster" = 'roderick blakney'
### Instruction: What are values of attendance for the El Paso, TX location? ### Response:
SELECT "Attendance" FROM table_20208 WHERE "Location" = 'El Paso, TX'
### Instruction: when was the first year of rugby of the terrapins ? ### Response:
SELECT "rugby\nsince" FROM table_204_442 WHERE "nickname" = 'terrapins'
### Instruction: What is the number of goals if the name is Xavier Gravelaine? ### Response:
SELECT goals¹ FROM table_24565004_8 WHERE name = "Xavier Gravelaine"
### Instruction: What was the location and the attendance for the game on October 12? ### Response:
SELECT "Location Attendance" FROM table_3889 WHERE "Date" = 'October 12'
### Instruction: What number was the person eliminated at 22:50? ### Response:
SELECT "Eliminated" FROM table_31295 WHERE "Time" = '22:50'
### Instruction: What was the 1st leg that had a 4-2 aggregate? ### Response:
SELECT "1st Leg" FROM table_12741 WHERE "Aggregate" = '4-2'
### Instruction: What is the Translation of the US Customary value 0.263 pt? ### Response:
SELECT translation FROM table_name_47 WHERE us_customary = "0.263 pt"
### Instruction: What party did incumbent Stephen L. Neal belong to? ### Response:
SELECT party FROM table_1341568_34 WHERE incumbent = "Stephen L. Neal"
### Instruction: What is the tournament on February 17, 2002? ### Response:
SELECT tournament FROM table_name_21 WHERE date = "february 17, 2002"
### Instruction: Who provided lyrics or music to the artist Cube? ### Response:
SELECT "Lyrics (l) / Music (m)" FROM table_7009 WHERE "Artist" = 'cube'
### Instruction: How many under the category of Against have a Difference of 11 ### Response:
SELECT COUNT(against) FROM table_15352382_1 WHERE difference = 11
### Instruction: List the lowest super league for a 0 champion league. ### Response:
SELECT MIN(super_league) FROM table_28068645_8 WHERE champions_league = 0
### Instruction: What team had a qual 1 of 1:02.755? ### Response:
SELECT team FROM table_name_78 WHERE qual_1 = "1:02.755"
### Instruction: what were the total number of years wallace wade was a coach ? ### Response:
SELECT "years" FROM table_203_577 WHERE "coach" = 'wallace wade'
### Instruction: What is the average incorporataed year of the Air India Charters company? ### Response:
SELECT AVG(incorporated) FROM table_name_25 WHERE company = "air india charters"
### Instruction: Are there registration notes on usek.edu.lb? ### Response:
SELECT official_registration_notes FROM table_1160660_1 WHERE website = "usek.edu.lb"
### Instruction: What is the lowest number of losses for a team with more than 0 wins? ### Response:
SELECT MIN("Losses") FROM table_39497 WHERE "Wins" > '0'
### Instruction: What was the production cost for the film directed by 2004? ### Response:
SELECT "Production Cost" FROM table_41059 WHERE "Director" = '2004'
### Instruction: What sesaon(s) did they have 254 goals against? ### Response:
SELECT "Season" FROM table_30349 WHERE "Goals against" = '254'
### Instruction: What is the meaning of a gentle personality? ### Response:
SELECT 意義_meaning FROM table_1912713_2 WHERE 性情_personality = "Gentle"
### Instruction: What was the score of the Kings game when they had a record of 8 11 1? ### Response:
SELECT score FROM table_name_27 WHERE record = "8–11–1"
### Instruction: what is the total amount of times the frankfurt marathon occurred ? ### Response:
SELECT COUNT(*) FROM table_203_270 WHERE "competition" = 'frankfurt marathon'
### Instruction: WHAT IS THE NAME WITH 01.0 10 light street? ### Response:
SELECT name FROM table_name_63 WHERE street_address = "01.0 10 light street"
### Instruction: Which station has a number less than 5 and an l stop? ### Response:
SELECT "Station" FROM table_38497 WHERE "Number" < '5' AND "Stop" = 'l'
### Instruction: Name the Non-Suited Match that has greater than 6 Number of Decks. ### Response:
SELECT non_suited_match FROM table_name_60 WHERE number_of_decks > 6
### Instruction: Name the team that has a song writer named larry spokes. ### Response:
SELECT "Club name" FROM table_30431 WHERE "Writer/composer" = 'Larry Spokes'
### Instruction: What is the lowest year with tyres in g and less than 0 points? ### Response:
SELECT MIN(year) FROM table_name_32 WHERE tyres = "g" AND points < 0
### Instruction: Name the growth rate for density of 1087 ### Response:
SELECT COUNT("Growth rate") FROM table_2776 WHERE "Density per Kilometer" = '1087'
### Instruction: What is the attendance when Cork City is the opponent? ### Response:
SELECT AVG("Attendance") FROM table_48782 WHERE "Opponents" = 'cork city'
### Instruction: Name the original air date for the potter family ### Response:
SELECT original_air_date FROM table_19897294_16 WHERE family_families = "The Potter Family"
### Instruction: What was the game result on November 16, 1969? ### Response:
SELECT result FROM table_name_83 WHERE date = "november 16, 1969"
### Instruction: Which Against is the highest one that has a Difference of 12? ### Response:
SELECT MAX("Against") FROM table_74874 WHERE "Difference" = '12'
### Instruction: Name the series ep for segment c of luxury cars (part 1) ### Response:
SELECT series_ep FROM table_name_63 WHERE segment_c = "luxury cars (part 1)"
### Instruction: tell me the short title of procedure for procedure icd9 code 4341. ### Response:
SELECT procedures.short_title FROM procedures WHERE procedures.icd9_code = "4341"
### Instruction: Return a bar chart about the distribution of Time and meter_100 , order Y from low to high order. ### Response:
SELECT Time, meter_100 FROM swimmer ORDER BY meter_100
### Instruction: Who is every main presenter for the year 2011? ### Response:
SELECT "Main presenter" FROM table_26678 WHERE "Year premiered" = '2011'
### Instruction: What year was taxidermia nominated? ### Response:
SELECT year__ceremony_ FROM table_14975415_1 WHERE hungarian_title = "Taxidermia"
### Instruction: What are the maximum, minimum and average home games each stadium held? ### Response:
SELECT MAX(home_games), MIN(home_games), AVG(home_games) FROM stadium
### Instruction: What is the seat number when Series 3 shows Dana B rov ? ### Response:
SELECT AVG(seat) FROM table_name_81 WHERE series_3 = "dana bérová"
### Instruction: What are all the numbers in the series with an episode title of 'the beach'? ### Response:
SELECT "No. in series" FROM table_72654 WHERE "Title" = 'The Beach'
### Instruction: Show the relationship between card id and card number and group by card type code in a group scatter chart. ### Response:
SELECT card_id, card_number FROM Customers_Cards GROUP BY card_type_code
### Instruction: Name the average total for years won of 1975 ### Response:
SELECT AVG("Total") FROM table_68255 WHERE "Year(s) won" = '1975'
### Instruction: How many districts does riley joseph wilson? ### Response:
SELECT COUNT(district) FROM table_1342315_17 WHERE incumbent = "Riley Joseph Wilson"