instruction
stringlengths
5
766
input
stringlengths
38
5.51k
response
stringlengths
4
3.91k
What is the latest week with the date of november 5, 1995?
CREATE TABLE table_name_40 ( week INTEGER, date VARCHAR )
SELECT MAX(week) FROM table_name_40 WHERE date = "november 5, 1995"
What is the original air date of the episode with the title 'Monica Wilder'?
CREATE TABLE table_28789 ( "No." real, "#" real, "Title" text, "Directed by" text, "Written by" text, "Patient Portrayer" text, "Original air date" text, "Production code" text )
SELECT "Original air date" FROM table_28789 WHERE "Title" = 'Monica Wilder'
Who are the opponents of Mike Byron and partner in matches where the score was 6 4, 4 6, 7 6 (7 4)?
CREATE TABLE table_1964010_2 ( opponents VARCHAR, score VARCHAR )
SELECT opponents FROM table_1964010_2 WHERE score = "6–4, 4–6, 7–6 (7–4)"
What is Charlie Wi's To par?
CREATE TABLE table_name_29 ( to_par VARCHAR, player VARCHAR )
SELECT to_par FROM table_name_29 WHERE player = "charlie wi"
Name the least amount of int yards
CREATE TABLE table_72681 ( "Player" text, "G" real, "Tackles" real, "Solo" real, "Assts" real, "Sacks" text, "Int" real, "Int yards" real, "Int avg." text, "Int TD" real, "Fum. rec" real, "Fum. rec TD" real )
SELECT MIN("Int yards") FROM table_72681
What is the LOA of Brindabella?
CREATE TABLE table_25595209_1 ( loa__metres_ VARCHAR, yacht VARCHAR )
SELECT loa__metres_ FROM table_25595209_1 WHERE yacht = "Brindabella"
Who coached for al farwaniyah?
CREATE TABLE table_59460 ( "Club" text, "Coach" text, "City" text, "Stadium" text, "2007-2008 season" text )
SELECT "Coach" FROM table_59460 WHERE "City" = 'al farwaniyah'
Which game has an opponent of Phoenix Coyotes and was before Dec 9?
CREATE TABLE table_39366 ( "Game" real, "December" real, "Opponent" text, "Score" text, "Record" text )
SELECT AVG("Game") FROM table_39366 WHERE "Opponent" = 'phoenix coyotes' AND "December" < '9'
What is the total number of played for the goals against over 44 and a goal difference of 11?
CREATE TABLE table_43629 ( "Position" real, "Played" real, "Points" real, "Wins" real, "Draws" real, "Losses" real, "Goals for" real, "Goals against" real, "Goal Difference" real )
SELECT COUNT("Played") FROM table_43629 WHERE "Goal Difference" = '11' AND "Goals against" > '44'
What was the score of the game when Sheffield Wednesday was the home team?
CREATE TABLE table_45843 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Date" text )
SELECT "Score" FROM table_45843 WHERE "Home team" = 'sheffield wednesday'
What is the total in the case where theere are 6 lecturers and fewer than 48 professors?
CREATE TABLE table_33071 ( "Lecturers" real, "Associate professors" real, "Assistant professors" real, "Professors" real, "Total" real )
SELECT AVG("Total") FROM table_33071 WHERE "Lecturers" = '6' AND "Professors" < '48'
what team played against zimbabwe in 1999?
CREATE TABLE table_37059 ( "Player" text, "Team" text, "Score" text, "Versus" text, "Year" real )
SELECT "Team" FROM table_37059 WHERE "Year" = '1999' AND "Versus" = 'zimbabwe'
Who were the opponents for the event in Milan, Italy?
CREATE TABLE table_44146 ( "Outcome" text, "Date" text, "Tournament" text, "Surface" text, "Partnering" text, "Opponent" text, "Score" text )
SELECT "Opponent" FROM table_44146 WHERE "Tournament" = 'milan, italy'
Name the most kr votes for value of each vote for 208
CREATE TABLE table_73472 ( "States" text, "No. of MLA/MPs" real, "Value of each Vote" real, "K.R. Narayanan (Votes)" real, "K.R. Narayanan (Values)" real, "T.N. Seshan (Votes)" real, "T.N. Seshan (Values)" real, "Invalid (Votes)" real, "Invalid (Values)" real )
SELECT MAX("K.R. Narayanan (Votes)") FROM table_73472 WHERE "Value of each Vote" = '208'
How many positions are there for RB1 Motorsports?
CREATE TABLE table_3588 ( "Year" real, "Starts" real, "Wins" real, "Top 10" real, "Avg. Start" text, "Avg. Finish" text, "Winnings" text, "Position" text, "Team(s)" text )
SELECT COUNT("Position") FROM table_3588 WHERE "Team(s)" = 'RB1 Motorsports'
How much Attendance has an Arena of arrowhead pond of anaheim, and Points of 5?
CREATE TABLE table_name_30 ( attendance INTEGER, arena VARCHAR, points VARCHAR )
SELECT SUM(attendance) FROM table_name_30 WHERE arena = "arrowhead pond of anaheim" AND points = 5
What is the lowest number of Not Outs when there were more than 25 innings?
CREATE TABLE table_10915 ( "Matches" real, "Innings" real, "Not Outs" real, "Runs" real, "Average" real )
SELECT MIN("Not Outs") FROM table_10915 WHERE "Innings" > '25'
Show me distance by name in a histogram, display X in descending order.
CREATE TABLE employee ( eid number(9,0), name varchar2(30), salary number(10,2) ) CREATE TABLE certificate ( eid number(9,0), aid number(9,0) ) CREATE TABLE aircraft ( aid number(9,0), name varchar2(30), distance number(6,0) ) CREATE TABLE flight ( flno number(4,0), origin varchar2(20), destination varchar2(20), distance number(6,0), departure_date date, arrival_date date, price number(7,2), aid number(9,0) )
SELECT name, distance FROM aircraft ORDER BY name DESC
When buffalo narrows is the name how many measurements of population density per kilometer squared are there?
CREATE TABLE table_189598_7 ( population_density__per_km²_ VARCHAR, name VARCHAR )
SELECT COUNT(population_density__per_km²_) FROM table_189598_7 WHERE name = "Buffalo Narrows"
Give me a pie to show team_id from different acc regular season.
CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text, ACC_Percent text, ACC_Home text, ACC_Road text, All_Games text, All_Games_Percent int, All_Home text, All_Road text, All_Neutral text ) CREATE TABLE university ( School_ID int, School text, Location text, Founded real, Affiliation text, Enrollment real, Nickname text, Primary_conference text )
SELECT ACC_Regular_Season, Team_ID FROM basketball_match
which round has a margin of 178?
CREATE TABLE table_name_24 ( round VARCHAR, margin VARCHAR )
SELECT round FROM table_name_24 WHERE margin = "178"
bp > 160 / 90
CREATE TABLE table_train_194 ( "id" int, "organ_transplantation" bool, "systolic_blood_pressure_sbp" int, "hemoglobin_a1c_hba1c" float, "substance_dependence" bool, "diastolic_blood_pressure_dbp" int, "alcohol_abuse" bool, "age" float, "NOUSE" float )
SELECT * FROM table_train_194 WHERE (systolic_blood_pressure_sbp > 160 OR diastolic_blood_pressure_dbp > 90)
Which Res has a Time of 11:58?
CREATE TABLE table_61332 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real, "Time" text, "Location" text )
SELECT "Res." FROM table_61332 WHERE "Time" = '11:58'
What was Juli's winning margin on Aug 24, 1986?
CREATE TABLE table_45347 ( "Date" text, "Tournament" text, "Winning score" text, "Margin of victory" text, "Runner(s)-up" text )
SELECT "Margin of victory" FROM table_45347 WHERE "Date" = 'aug 24, 1986'
How many games were numbered 69?
CREATE TABLE table_29569 ( "Game" real, "March" real, "Opponent" text, "Score" text, "Location/Attendance" text, "Record" text, "Points" real, "Decision" text )
SELECT COUNT("Opponent") FROM table_29569 WHERE "Game" = '69'
Which Cover Model was featured on 8-03?
CREATE TABLE table_name_8 ( cover_model VARCHAR, date VARCHAR )
SELECT cover_model FROM table_name_8 WHERE date = "8-03"
A bar chart about how many students are enrolled in colleges that have student accepted during tryouts, and in which states are those colleges?, and rank by the state in descending.
CREATE TABLE Player ( pID numeric(5,0), pName varchar(20), yCard varchar(3), HS numeric(5,0) ) CREATE TABLE College ( cName varchar(20), state varchar(2), enr numeric(5,0) ) CREATE TABLE Tryout ( pID numeric(5,0), cName varchar(20), pPos varchar(8), decision varchar(3) )
SELECT state, enr FROM College AS T1 JOIN Tryout AS T2 ON T1.cName = T2.cName WHERE T2.decision = 'yes' ORDER BY state DESC
Which Location has a Frequency of 102.5 fm?
CREATE TABLE table_name_4 ( location VARCHAR, frequency VARCHAR )
SELECT location FROM table_name_4 WHERE frequency = "102.5 fm"
Show headquarters with at least two companies in the banking industry.
CREATE TABLE company ( headquarters VARCHAR, main_industry VARCHAR )
SELECT headquarters FROM company WHERE main_industry = 'Banking' GROUP BY headquarters HAVING COUNT(*) >= 2
What is the highest Rank, when Director is 'Henry Hathaway'?
CREATE TABLE table_name_63 ( rank INTEGER, director VARCHAR )
SELECT MAX(rank) FROM table_name_63 WHERE director = "henry hathaway"
What is the grid with a yamaha manufacturer and a +19.435 time/retired?
CREATE TABLE table_name_65 ( grid VARCHAR, manufacturer VARCHAR, time_retired VARCHAR )
SELECT grid FROM table_name_65 WHERE manufacturer = "yamaha" AND time_retired = "+19.435"
is the restaurant locavore still open?
CREATE TABLE table_63666 ( "Restaurant Name" text, "Original Name" text, "Location" text, "Chef" text, "Designer" text, "Still Open?" text )
SELECT "Still Open?" FROM table_63666 WHERE "Restaurant Name" = 'locavore'
What is the lowest round for an overall pick of 349 with a pick number in the round over 11?
CREATE TABLE table_76383 ( "Round" real, "Pick" real, "Overall" real, "Name" text, "Position" text, "College" text )
SELECT MIN("Round") FROM table_76383 WHERE "Overall" = '349' AND "Pick" > '11'
what was year was the first arizona license plate made ?
CREATE TABLE table_203_82 ( id number, "first issued" number, "design" text, "slogan" text, "serial format" text, "serials issued" text, "notes" text )
SELECT MIN("first issued") FROM table_203_82
What is the total number of rounds of the player with a pick of 20?
CREATE TABLE table_name_87 ( round VARCHAR, pick VARCHAR )
SELECT COUNT(round) FROM table_name_87 WHERE pick = 20
cirrhosis of the liver, portal hypertension, or esophageal varices
CREATE TABLE table_dev_22 ( "id" int, "gender" string, "hemoglobin_a1c_hba1c" float, "heart_disease" bool, "cardiovascular_disease" bool, "esophageal_varices" bool, "liver_disease" bool, "diabetes" bool, "serum_creatinine" float, "hypertension" bool, "portal_hypertension" bool, "NOUSE" float )
SELECT * FROM table_dev_22 WHERE liver_disease = 1 OR portal_hypertension = 1 OR esophageal_varices = 1
What is the total year with a Position of 12th?
CREATE TABLE table_name_89 ( year INTEGER, position VARCHAR )
SELECT SUM(year) FROM table_name_89 WHERE position = "12th"
What was the source of the poll that gave McAuliffe 30% on June 8?
CREATE TABLE table_21535453_1 ( source VARCHAR, terry_mcauliffe VARCHAR, dates_administered VARCHAR )
SELECT source FROM table_21535453_1 WHERE terry_mcauliffe = "30%" AND dates_administered = "June 8"
What are the names of the airports in the city of Goroka?
CREATE TABLE airlines ( alid number, name text, iata text, icao text, callsign text, country text, active text ) CREATE TABLE airports ( apid number, name text, city text, country text, x number, y number, elevation number, iata text, icao text ) CREATE TABLE routes ( rid number, dst_apid number, dst_ap text, src_apid number, src_ap text, alid number, airline text, codeshare text )
SELECT name FROM airports WHERE city = 'Goroka'
What is 2006/07, when 2008/09 is LQ, and when 2010/11 is Not Held?
CREATE TABLE table_76584 ( "2006/ 07" text, "2008/ 09" text, "2010/ 11" text, "2011/ 12" text, "2012/ 13" text )
SELECT "2006/ 07" FROM table_76584 WHERE "2008/ 09" = 'lq' AND "2010/ 11" = 'not held'
What was the attendance on September 28?
CREATE TABLE table_75502 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Record" text )
SELECT MAX("Attendance") FROM table_75502 WHERE "Date" = 'september 28'
How many reports are there in the race that Forsythe Racing won and Teo Fabi had the pole position in?
CREATE TABLE table_10706961_2 ( report VARCHAR, winning_team VARCHAR, pole_position VARCHAR )
SELECT COUNT(report) FROM table_10706961_2 WHERE winning_team = "Forsythe Racing" AND pole_position = "Teo Fabi"
What was the position of the player from Saskatchewan Roughriders?
CREATE TABLE table_23619005_3 ( position VARCHAR, cfl_team VARCHAR )
SELECT position FROM table_23619005_3 WHERE cfl_team = "Saskatchewan Roughriders"
Return a pie chart about the proportion of Team_Name and Team_ID.
CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text, ACC_Percent text, ACC_Home text, ACC_Road text, All_Games text, All_Games_Percent int, All_Home text, All_Road text, All_Neutral text ) CREATE TABLE university ( School_ID int, School text, Location text, Founded real, Affiliation text, Enrollment real, Nickname text, Primary_conference text )
SELECT Team_Name, Team_ID FROM basketball_match
What is Venue, when Status is '2007 Rugby World Cup', when Against is less than 22, and when Date is '08/09/2007'?
CREATE TABLE table_name_22 ( venue VARCHAR, date VARCHAR, status VARCHAR, against VARCHAR )
SELECT venue FROM table_name_22 WHERE status = "2007 rugby world cup" AND against < 22 AND date = "08/09/2007"
What is the regular season results for the year 2011-2012?
CREATE TABLE table_21756039_1 ( regular_season_results VARCHAR, year VARCHAR )
SELECT regular_season_results FROM table_21756039_1 WHERE year = "2011-2012"
Draw a bar chart about the distribution of meter_600 and meter_100 , and could you display x axis in descending order?
CREATE TABLE swimmer ( ID int, name text, Nationality text, meter_100 real, meter_200 text, meter_300 text, meter_400 text, meter_500 text, meter_600 text, meter_700 text, Time text ) CREATE TABLE record ( ID int, Result text, Swimmer_ID int, Event_ID int ) CREATE TABLE stadium ( ID int, name text, Capacity int, City text, Country text, Opening_year int ) CREATE TABLE event ( ID int, Name text, Stadium_ID int, Year text )
SELECT meter_600, meter_100 FROM swimmer ORDER BY meter_600 DESC
What is State, when From is '830 BC'?
CREATE TABLE table_48263 ( "State" text, "Type" text, "Name" text, "Title" text, "Royal house" text, "From" text )
SELECT "State" FROM table_48263 WHERE "From" = '830 bc'
what is the correct year for # / county of 09 cass?
CREATE TABLE table_69434 ( "School" text, "Location" text, "Mascot" text, "# / County" text, "IHSAA Class" text, "Year Joined" real, "Previous Conference" text )
SELECT "Year Joined" FROM table_69434 WHERE "# / County" = '09 cass'
Bar chart x axis date of birth y axis height, and list by the bar in ascending.
CREATE TABLE people ( People_ID int, Sex text, Name text, Date_of_Birth text, Height real, Weight real ) CREATE TABLE candidate ( Candidate_ID int, People_ID int, Poll_Source text, Date text, Support_rate real, Consider_rate real, Oppose_rate real, Unsure_rate real )
SELECT Date_of_Birth, Height FROM people ORDER BY Date_of_Birth
Which season did he have 0 points and 31st position?
CREATE TABLE table_21429 ( "Season" real, "Series" text, "Team" text, "Races" real, "Wins" real, "Poles" real, "FLaps" real, "Podiums" real, "Points" real, "Position" text )
SELECT MAX("Season") FROM table_21429 WHERE "Points" = '0' AND "Position" = '31st'
What is the maximum total when the To par is +3?
CREATE TABLE table_name_16 ( total INTEGER, to_par VARCHAR )
SELECT MAX(total) FROM table_name_16 WHERE to_par = "+3"
Name the sum of draws for losses less than 2 and wins of 16
CREATE TABLE table_58366 ( "Mid Gippsland FL" text, "Wins" real, "Byes" real, "Losses" real, "Draws" real, "Against" real )
SELECT SUM("Draws") FROM table_58366 WHERE "Wins" = '16' AND "Losses" < '2'
what is the value of the audio with a just ratio 21:20
CREATE TABLE table_64483 ( "interval name" text, "size (steps)" real, "size (cents)" real, "just ratio" text, "just (cents)" real, "error" text, "audio" text )
SELECT "audio" FROM table_64483 WHERE "just ratio" = '21:20'
What year was Mary Elizabeth Mastrantonio nominated?
CREATE TABLE table_78855 ( "Year" real, "Award Ceremony" text, "Category" text, "Nominee" text, "Result" text )
SELECT "Year" FROM table_78855 WHERE "Nominee" = 'mary elizabeth mastrantonio'
Who were the guests for the episode with an original airdate of december 07?
CREATE TABLE table_28000 ( "Episode #" real, "The W\u00f8rd" text, "Guest" text, "Introductory phrase" text, "Original airdate" text, "Production code" real )
SELECT "Guest" FROM table_28000 WHERE "Original airdate" = 'December 07'
On which date was a game played at Junction Oval?
CREATE TABLE table_name_40 ( date VARCHAR, venue VARCHAR )
SELECT date FROM table_name_40 WHERE venue = "junction oval"
I want the sum of pages for thistle among roses
CREATE TABLE table_name_36 ( pages INTEGER, translated_title VARCHAR )
SELECT SUM(pages) FROM table_name_36 WHERE translated_title = "thistle among roses"
with more than 32 laps and sylvain guintoli as rider, what's the lowest grid ?
CREATE TABLE table_name_15 ( grid INTEGER, rider VARCHAR, laps VARCHAR )
SELECT MIN(grid) FROM table_name_15 WHERE rider = "sylvain guintoli" AND laps > 32
What are the sales in Japan for the release totaling 1.82 million?
CREATE TABLE table_13487 ( "Date" text, "Japan" text, "Americas" text, "Other" text, "Total" text )
SELECT "Japan" FROM table_13487 WHERE "Total" = '1.82 million'
Name the wininng yacht for 14 entries
CREATE TABLE table_256862_1 ( winning_yacht VARCHAR, entries VARCHAR )
SELECT winning_yacht FROM table_256862_1 WHERE entries = "14"
How many votes went to other candidates in the county that gave 1.9% votes to them, and 160,390 total votes to Bush?
CREATE TABLE table_49641 ( "County" text, "Kerry%" text, "Kerry#" real, "Bush%" text, "Bush#" real, "Others%" text, "Others#" real, "2000 result" text )
SELECT MIN("Others#") FROM table_49641 WHERE "Others%" = '1.9%' AND "Bush#" < '160,390'
What was the time of the game that had an NFL recap and a result of W 22 16?
CREATE TABLE table_name_2 ( time VARCHAR, nfl_recap VARCHAR, result VARCHAR )
SELECT time FROM table_name_2 WHERE nfl_recap = "recap" AND result = "w 22–16"
which team finished first , romania or belarus ?
CREATE TABLE table_204_466 ( id number, "rank" number, "bib" number, "country" text, "time" text, "penalties (p+s)" text, "deficit" text )
SELECT "country" FROM table_204_466 WHERE "country" IN ('romania', 'belarus') ORDER BY "rank" LIMIT 1
which was the first state to be formed ?
CREATE TABLE table_203_190 ( id number, "name" text, "type" text, "circle" text, "bench" text, "formed" number, "notes" text )
SELECT "name" FROM table_203_190 ORDER BY "formed" LIMIT 1
Name the date which has type of plain stage
CREATE TABLE table_68334 ( "Date" text, "Course" text, "Distance" text, "Type" text, "Winner" text )
SELECT "Date" FROM table_68334 WHERE "Type" = 'plain stage'
What is the most recent year georgia tech chose a linebacker?
CREATE TABLE table_47686 ( "Year [A ]" real, "Pick" text, "Player" text, "Position" text, "College" text )
SELECT MAX("Year [A ]") FROM table_47686 WHERE "Position" = 'linebacker' AND "College" = 'georgia tech'
What is the report for the race name V Ulster Trophy?
CREATE TABLE table_1140117_5 ( report VARCHAR, race_name VARCHAR )
SELECT report FROM table_1140117_5 WHERE race_name = "V Ulster Trophy"
Show different carriers of phones together with the number of phones with each carrier by a bar chart, could you rank by the Y in asc?
CREATE TABLE phone ( Name text, Phone_ID int, Memory_in_G int, Carrier text, Price real ) CREATE TABLE market ( Market_ID int, District text, Num_of_employees int, Num_of_shops real, Ranking int ) CREATE TABLE phone_market ( Market_ID int, Phone_ID text, Num_of_stock int )
SELECT Carrier, COUNT(*) FROM phone GROUP BY Carrier ORDER BY COUNT(*)
hcv infection, active
CREATE TABLE table_train_57 ( "id" int, "bleeding" int, "in_another_study" bool, "hiv_infection" bool, "hepatitis_c_infection" bool, "receiving_vasopressor" bool, "hypotension" bool, "NOUSE" float )
SELECT * FROM table_train_57 WHERE hepatitis_c_infection = 1
What is every value for Under-17 if Under-15 is Maria Elena Ubina?
CREATE TABLE table_26368963_2 ( under_17 VARCHAR, under_15 VARCHAR )
SELECT under_17 FROM table_26368963_2 WHERE under_15 = "Maria Elena Ubina"
What Round is in Ullevaal?
CREATE TABLE table_name_99 ( round VARCHAR, venue VARCHAR )
SELECT round FROM table_name_99 WHERE venue = "ullevaal"
What is the TOTAL Time in Office with a rank smaller than 18, and premier is Joh Bjelke-Petersen?
CREATE TABLE table_64675 ( "Rank:" real, "Premier:" text, "Assumed Office:" text, "Left Office:" text, "TOTAL Time in Office:" text )
SELECT "TOTAL Time in Office:" FROM table_64675 WHERE "Rank:" < '18' AND "Premier:" = 'joh bjelke-petersen'
Which Type has a Fleet numbers of 2 8, 91 92, 97 100?
CREATE TABLE table_14767 ( "Class" text, "Type" text, "Fleet numbers" text, "Quantity made" real, "Manufacturer" text, "Date made" text, "1958 CI\u00c9" text, "1958 UTA" text, "Date withdrawn" text, "Notes" text )
SELECT "Type" FROM table_14767 WHERE "Fleet numbers" = '2–8, 91–92, 97–100'
What character won the best dramatic performance award?
CREATE TABLE table_10959 ( "Year" real, "Result" text, "Award" text, "Category" text, "Film or series" text, "Character" text )
SELECT "Character" FROM table_10959 WHERE "Category" = 'best dramatic performance'
What score has south africa as the country?
CREATE TABLE table_name_92 ( score VARCHAR, country VARCHAR )
SELECT score FROM table_name_92 WHERE country = "south africa"
What's the production code of the episode titled 'He ain't a hottie, he's my brother'?
CREATE TABLE table_1806 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Prod. code" text, "Viewers (millions)" text )
SELECT "Prod. code" FROM table_1806 WHERE "Title" = 'He Ain''t a Hottie, He''s My Brother'
What is the median household income for Woodside?
CREATE TABLE table_72554 ( "Rank" real, "Place" text, "County" text, "Per Capita Income" text, "Median House- hold Income" text, "Population" real, "Number of Households" real )
SELECT "Median House- hold Income" FROM table_72554 WHERE "Place" = 'Woodside'
Which player plays for the college of manitoba?
CREATE TABLE table_52523 ( "Pick #" real, "CFL Team" text, "Player" text, "Position" text, "College" text )
SELECT "Player" FROM table_52523 WHERE "College" = 'manitoba'
What is Tie no, when Date is '18 Nov 1989', and when Home Team is 'Doncaster Rovers'?
CREATE TABLE table_name_32 ( tie_no VARCHAR, date VARCHAR, home_team VARCHAR )
SELECT tie_no FROM table_name_32 WHERE date = "18 nov 1989" AND home_team = "doncaster rovers"
What is the name of the episode written by Sheila Lawrence & Henry Alonso Myers?
CREATE TABLE table_12146637_1 ( episode_title VARCHAR, writer_s_ VARCHAR )
SELECT episode_title FROM table_12146637_1 WHERE writer_s_ = "Sheila Lawrence & Henry Alonso Myers"
When did the 55 kg participant race?
CREATE TABLE table_19759 ( "Result" text, "Date" text, "Race" text, "Venue" text, "Group" text, "Distance" text, "Weight (kg)" text, "Jockey" text, "Winner/2nd" text )
SELECT "Date" FROM table_19759 WHERE "Weight (kg)" = '55'
Which pick's round was 5 when Kellen Davis was a player?
CREATE TABLE table_name_40 ( pick VARCHAR, round VARCHAR, player VARCHAR )
SELECT pick FROM table_name_40 WHERE round = "5" AND player = "kellen davis"
how many notes are form the date (from) 14 march 1910?
CREATE TABLE table_17715 ( "Name of System" text, "Location" text, "Traction Type" text, "Date (From)" text, "Date (To)" text, "Notes" text )
SELECT COUNT("Notes") FROM table_17715 WHERE "Date (From)" = '14 March 1910'
Return me a bar chart to show the average experience working length of journalists working on different role type.
CREATE TABLE journalist ( journalist_ID int, Name text, Nationality text, Age text, Years_working int ) CREATE TABLE event ( Event_ID int, Date text, Venue text, Name text, Event_Attendance int ) CREATE TABLE news_report ( journalist_ID int, Event_ID int, Work_Type text )
SELECT Work_Type, AVG(Years_working) FROM journalist AS t1 JOIN news_report AS t2 ON t1.journalist_ID = t2.journalist_ID GROUP BY t2.Work_Type
What is College of Ohio State's pick number with an overall lower than 145?
CREATE TABLE table_name_42 ( pick__number VARCHAR, overall VARCHAR, college VARCHAR )
SELECT pick__number FROM table_name_42 WHERE overall < 145 AND college = "ohio state"
What is the highest Runners-Up, when Champions is less than 0?
CREATE TABLE table_46278 ( "Club" text, "Champions" real, "Runners-up" real, "3rd-Place" real, "4th-Place" real )
SELECT MAX("Runners-up") FROM table_46278 WHERE "Champions" < '0'
What is the Location Attendance when the Date was February 27?
CREATE TABLE table_35312 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text )
SELECT "Location Attendance" FROM table_35312 WHERE "Date" = 'february 27'
What is every average when number of dances is 1?
CREATE TABLE table_26375386_28 ( average VARCHAR, number_of_dances VARCHAR )
SELECT average FROM table_26375386_28 WHERE number_of_dances = 1
What is the french word for the Russian word filtrovat ( )?
CREATE TABLE table_19818 ( "Ido" text, "English" text, "Italian" text, "French" text, "German" text, "Russian" text, "Spanish" text )
SELECT "French" FROM table_19818 WHERE "Russian" = 'filtrovat (фильтровать)'
When the rank is less than 4, and has a second quarter of exxon mobil 341,140.3, what is the fourth quarter?
CREATE TABLE table_name_27 ( fourth_quarter VARCHAR, rank VARCHAR, second_quarter VARCHAR )
SELECT fourth_quarter FROM table_name_27 WHERE rank < 4 AND second_quarter = "exxon mobil 341,140.3"
What is the 2007 for the 2003 desert prince?
CREATE TABLE table_76405 ( "Year" text, "2009" text, "2008" text, "2007" text, "2006" text, "2005" text, "2004" text, "2003" text )
SELECT "2007" FROM table_76405 WHERE "2003" = 'desert prince'
Name the name of the state
CREATE TABLE table_15463188_7 ( name VARCHAR, school_club_team VARCHAR )
SELECT name FROM table_15463188_7 WHERE school_club_team = "State"
Which Election has a 2nd Member of reform act 1867 : constituency abolished?
CREATE TABLE table_12985 ( "Election" text, "1st Member" text, "1st Party" text, "2nd Member" text, "2nd Party" text )
SELECT "Election" FROM table_12985 WHERE "2nd Member" = 'reform act 1867 : constituency abolished'
What date has a place of chernivtsi, and a race winners of etienne bax / kaspars stupelis? What
CREATE TABLE table_49576 ( "Date" text, "Place" text, "Race winners" text, "GP winner" text, "Source" text )
SELECT "Date" FROM table_49576 WHERE "Place" = 'chernivtsi' AND "Race winners" = 'etienne bax / kaspars stupelis'
What is the lowest round for Southern College?
CREATE TABLE table_69835 ( "Round" real, "Pick #" real, "Overall" real, "Name" text, "Position" text, "College" text )
SELECT MIN("Round") FROM table_69835 WHERE "College" = 'southern'
What party was first elected in 1974?
CREATE TABLE table_1341453_7 ( party VARCHAR, first_elected VARCHAR )
SELECT party FROM table_1341453_7 WHERE first_elected = 1974
How many losses have 11 points?
CREATE TABLE table_66363 ( "Position" real, "Team" text, "Played" real, "Wins" real, "Draws" real, "Losses" real, "Scored" real, "Conceded" real, "Points" real )
SELECT COUNT("Losses") FROM table_66363 WHERE "Points" = '11'
What species has more than 2,030 genes?
CREATE TABLE table_54518 ( "Species" text, "Strain" text, "Type" text, "Base Pairs" real, "Genes" real )
SELECT "Species" FROM table_54518 WHERE "Genes" > '2,030'
What is the city/state of the circuit where Russell Ingall Larry Perkins was the winner?
CREATE TABLE table_51037 ( "Date" text, "Series" text, "Circuit" text, "City / State" text, "Winner" text, "Team" text )
SELECT "City / State" FROM table_51037 WHERE "Winner" = 'russell ingall larry perkins'