instruction
stringlengths 37
754
| output
stringlengths 9
3.43k
|
---|---|
### Instruction:
How many pf catagories are listed for the skip that had 3 for l
### Response:
| SELECT COUNT("PF") FROM table_3393 WHERE "L" = '3' |
### Instruction:
When South Melbourne was the Away Team, what was their score?
### Response:
| SELECT away_team AS score FROM table_name_49 WHERE away_team = "south melbourne" |
### Instruction:
What party was Tony P. Hall affiliated with?
### Response:
| SELECT party FROM table_1341586_36 WHERE incumbent = "Tony P. Hall" |
### Instruction:
Name the order number for 1960s
### Response:
| SELECT order__number FROM table_19508635_1 WHERE theme = "1960s" |
### Instruction:
Who is the no. 9 team that has a no. 6 player of paulo?
### Response:
| SELECT no9 FROM table_name_85 WHERE no6 = "paulo" |
### Instruction:
Which song released on heavenly (hvn152)?
### Response:
| SELECT song FROM table_name_86 WHERE release_info = "heavenly (hvn152)" |
### Instruction:
What is the country for the player who had a To Par of +4?
### Response:
| SELECT "Country" FROM table_44350 WHERE "To par" = '+4' |
### Instruction:
how much sesamin is in sesame seed?
### Response:
| SELECT "Sesamin" FROM table_22264 WHERE "Foodstuff" = 'Sesame seed' |
### Instruction:
Which event had 25,883 entries?
### Response:
| SELECT event FROM table_22050544_3 WHERE entries = "25,883" |
### Instruction:
What are the complements when the commander is Major William Lloyd?
### Response:
| SELECT complement FROM table_11793221_2 WHERE commander = "Major William Lloyd" |
### Instruction:
What was the venue when the score was 7-1?
### Response:
| SELECT "Venue" FROM table_65800 WHERE "Score" = '7-1' |
### Instruction:
On what date did the result leave the team with a record of 46-34?
### Response:
| SELECT date FROM table_name_4 WHERE record = "46-34" |
### Instruction:
What team was the home team when the record was 11 8 2?
### Response:
| SELECT home FROM table_name_26 WHERE record = "11–8–2" |
### Instruction:
What were the casualties in the Baghlan location?
### Response:
| SELECT "Casualties" FROM table_68012 WHERE "Location" = 'baghlan' |
### Instruction:
What is the card type code with most number of cards?
### Response:
| SELECT card_type_code FROM Customers_cards GROUP BY card_type_code ORDER BY COUNT(*) DESC LIMIT 1 |
### Instruction:
How many joined this Private/Church of God institution?
### Response:
| SELECT "Joined" FROM table_27739 WHERE "Type" = 'Private/Church of God' |
### Instruction:
Show all countries and the number of people from each country, I want to display in asc by the y axis please.
### Response:
| SELECT Country, COUNT(*) FROM people GROUP BY Country ORDER BY COUNT(*) |
### Instruction:
Where do Stack Overflow users come from?.
### Response:
| SELECT u.Location, u.Id, u.Reputation FROM Users AS u WHERE u.Location = 'Cheyenne, WY' |
### Instruction:
What position(s) does the player drafted #34 play?
### Response:
| SELECT position FROM table_14650373_1 WHERE pick__number = 34 |
### Instruction:
What is the average round of a player with an overall of 138?
### Response:
| SELECT AVG(round) FROM table_name_23 WHERE overall = "138" |
### Instruction:
Number of custom off-topic close reasons for each site.
### Response:
| SELECT COUNT(*) FROM CloseAsOffTopicReasonTypes WHERE NOT ApprovalDate IS NULL AND DeactivationDate IS NULL |
### Instruction:
What are the name of the players who received a card in descending order of the hours of training?
### Response:
| SELECT pname FROM player WHERE ycard = 'yes' ORDER BY hs DESC |
### Instruction:
Who did the cubs play on june 3?
### Response:
| SELECT "Opponent" FROM table_10191 WHERE "Date" = 'june 3' |
### Instruction:
What decision had a Record of 3 5 0?
### Response:
| SELECT "Decision" FROM table_56956 WHERE "Record" = '3–5–0' |
### Instruction:
What was the place with 90 point total but a position less than 5?
### Response:
| SELECT place FROM table_name_12 WHERE position < 5 AND points = 90 |
### Instruction:
What is Surface, when Opponent is 'Ji Van k'?
### Response:
| SELECT surface FROM table_name_31 WHERE opponent = "jiří vaněk" |
### Instruction:
In which races did the jockey weigh less than 55.5 kg?
### Response:
| SELECT race FROM table_name_78 WHERE weight__kg_ < 55.5 |
### Instruction:
Name the solo when name is briggs, diyral
### Response:
| SELECT "Solo" FROM table_1187 WHERE "Name" = 'Briggs, Diyral' |
### Instruction:
What is the mens singles of 2008?
### Response:
| SELECT mens_singles FROM table_12104319_1 WHERE year = 2008 |
### Instruction:
How many parties are named the Center Alliance
### Response:
| SELECT COUNT("2013 Parliamentary election") FROM table_23687 WHERE "English party name" = 'Center Alliance' |
### Instruction:
What is the maximum elevation in netherlands?
### Response:
| SELECT "Maximum elevation" FROM table_26726 WHERE "Country or region" = 'Netherlands' |
### Instruction:
what is the tournament when in 2012 the performance was 2r?
### Response:
| SELECT tournament FROM table_name_38 WHERE 2012 = "2r" |
### Instruction:
Name the number of candidates for # of seats won being 43
### Response:
| SELECT "# of candidates" FROM table_73095 WHERE "# of seats won" = '43' |
### Instruction:
What are Wells Fargo's assets?
### Response:
| SELECT "Assets (billion $)" FROM table_1540 WHERE "Company" = 'Wells Fargo' |
### Instruction:
what's the points for with points against being 556
### Response:
| SELECT "Points for" FROM table_19039 WHERE "Points against" = '556' |
### Instruction:
What was the result for the contestant whose background was as a business major?
### Response:
| SELECT "Result" FROM table_23335 WHERE "Background" = 'Business major' |
### Instruction:
What was the result of the Best Actor in a Musical category?
### Response:
| SELECT "Result" FROM table_62600 WHERE "Category" = 'best actor in a musical' |
### Instruction:
What is the home team score for St Kilda's home team?
### Response:
| SELECT home_team AS score FROM table_name_27 WHERE home_team = "st kilda" |
### Instruction:
how many runners-up with nation being india
### Response:
| SELECT COUNT("Runners-up") FROM table_17602 WHERE "Nation" = 'India' |
### Instruction:
give me the diagnosis of subject id 9258.
### Response:
| SELECT diagnoses.short_title FROM diagnoses WHERE diagnoses.subject_id = "9258" |
### Instruction:
how many patients whose death status is 0?
### Response:
| SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.expire_flag = "0" |
### Instruction:
What are the attributes when the type is 'DOMNodeRemoved'?
### Response:
| SELECT "Attribute" FROM table_19851 WHERE "Type" = 'DOMNodeRemoved' |
### Instruction:
What is the combined of 2 overalls and 5 slaloms?
### Response:
| SELECT combined FROM table_name_93 WHERE overall = "2" AND slalom = "5" |
### Instruction:
What is the fewest gold medals won by Greece?
### Response:
| SELECT MIN("Gold") FROM table_65909 WHERE "Nation" = 'greece' |
### Instruction:
What is the primary sponsor of driver Mark Martin?
### Response:
| SELECT primary_sponsor_s_ FROM table_name_78 WHERE driver_s_ = "mark martin" |
### Instruction:
How many production codes are there for episode number 45?
### Response:
| SELECT COUNT(prod_code) FROM table_2602958_4 WHERE no = 45 |
### Instruction:
What was Zona Sur's result after being considered for nomination?
### Response:
| SELECT "Result" FROM table_76395 WHERE "Original title" = 'zona sur' |
### Instruction:
What was the date for the pole position of alain prost?
### Response:
| SELECT "Date" FROM table_16707 WHERE "Pole Position" = 'Alain Prost' |
### Instruction:
Name the artist for 1595 televotes
### Response:
| SELECT "Artist" FROM table_24322 WHERE "Televotes" = '1595' |
### Instruction:
Which Tie no that has an Away team of altrincham?
### Response:
| SELECT tie_no FROM table_name_28 WHERE away_team = "altrincham" |
### Instruction:
which bridge has their location in summit , delaware ?
### Response:
| SELECT "crossing" FROM table_201_14 WHERE "location" = 'summit, delaware' |
### Instruction:
What was the Quantity on Date 1900?
### Response:
| SELECT SUM("Quantity") FROM table_56483 WHERE "Date" = '1900' |
### Instruction:
what is the number of players from australia in the open ?
### Response:
| SELECT COUNT("player") FROM table_204_679 WHERE "country" = 'australia' |
### Instruction:
Show different locations and the number of performances at each location by a bar chart, sort x-axis in ascending order.
### Response:
| SELECT Location, COUNT(*) FROM performance GROUP BY Location ORDER BY Location |
### Instruction:
how many films star eddie murphy ?
### Response:
| SELECT COUNT("title") FROM table_202_122 WHERE "actor/actress" = 'eddie murphy' |
### Instruction:
Which reactor type has the largest average capacity?
### Response:
| SELECT reactortype FROM nuclear_power_plants GROUP BY reactortype ORDER BY AVG(capacity) DESC LIMIT 1 |
### Instruction:
Where did steve smith go to school?
### Response:
| SELECT "School/Club Team" FROM table_75449 WHERE "Player" = 'steve smith' |
### Instruction:
When the country is vest, what were the exports?
### Response:
| SELECT exports__us$_mil_ FROM table_24239748_2 WHERE county = "Vest" |
### Instruction:
Which station has the frequency of 107.3?
### Response:
| SELECT station FROM table_19131921_1 WHERE frequency = "107.3" |
### Instruction:
How many winners did Halcones uv xalapa have?
### Response:
| SELECT winners FROM table_name_83 WHERE team = "halcones uv xalapa" |
### Instruction:
who has won the most league cups ?
### Response:
| SELECT "winner" FROM table_204_894 GROUP BY "winner" ORDER BY COUNT(*) DESC LIMIT 1 |
### Instruction:
What was the score of the game at Great Western Forum?
### Response:
| SELECT "Score" FROM table_63167 WHERE "Location/Attendance" = 'great western forum' |
### Instruction:
what is the time when the event is bellator 89?
### Response:
| SELECT "Time" FROM table_68342 WHERE "Event" = 'bellator 89' |
### Instruction:
What was the prize won by Sebastian Ruthenberg?
### Response:
| SELECT "Prize" FROM table_14974 WHERE "Name" = 'sebastian ruthenberg' |
### Instruction:
What were the Bills points on Nov. 11?
### Response:
| SELECT SUM(bills_points) FROM table_name_54 WHERE date = "nov. 11" |
### Instruction:
What rank is Miller Barber with more than 11 wins?
### Response:
| SELECT rank FROM table_name_35 WHERE wins > 11 AND player = "miller barber" |
### Instruction:
What is every value for rebounds when steals is 19?
### Response:
| SELECT rebounds FROM table_25352324_5 WHERE steals = 19 |
### Instruction:
What was the call sign for ERP W of 99?
### Response:
| SELECT "Call sign" FROM table_46759 WHERE "ERP W" = '99' |
### Instruction:
What is the total attendance at games with a score of 4-2?
### Response:
| SELECT COUNT(attendance) FROM table_name_20 WHERE score = "4-2" |
### Instruction:
What was the chassis of Emilio de Villota in 1981?
### Response:
| SELECT chassis FROM table_name_94 WHERE year > 1981 |
### Instruction:
What Championship has a Date of 26 may 1986?
### Response:
| SELECT championship FROM table_name_66 WHERE date = "26 may 1986" |
### Instruction:
Name the episode summary for torae carr
### Response:
| SELECT "Episode Summary" FROM table_73276 WHERE "Coach" = 'Torae Carr' |
### Instruction:
Who was the winning constructor at the circuit of parioli?
### Response:
| SELECT "Winning constructor" FROM table_79949 WHERE "Circuit" = 'parioli' |
### Instruction:
What was the B.P. of club Halifax?
### Response:
| SELECT bp FROM table_19179465_1 WHERE club = "Halifax" |
### Instruction:
Which Points Classification does the General Classification of Cyril Dessel have?
### Response:
| SELECT points_classification FROM table_name_9 WHERE general_classification = "cyril dessel" |
### Instruction:
what's the status in the style of ballet/ gymnastics?
### Response:
| SELECT status FROM table_name_73 WHERE style = "ballet/ gymnastics" |
### Instruction:
the only player that started his career in 1965
### Response:
| SELECT "player" FROM table_203_754 WHERE "career" = 1965 |
### Instruction:
What was the result of the election in the Texas 3 district?
### Response:
| SELECT result FROM table_1342149_43 WHERE district = "Texas 3" |
### Instruction:
What is the Name of the Mill Built in 1802?
### Response:
| SELECT name_of_mill FROM table_name_73 WHERE built = "1802" |
### Instruction:
Which cyclist has UCI ProTour points of 40?
### Response:
| SELECT cyclist FROM table_name_96 WHERE uci_protour_points = 40 |
### Instruction:
What is the location for Yemen in 1994?
### Response:
| SELECT location FROM table_name_1 WHERE year = "1994" AND country = "yemen" |
### Instruction:
how many buildings are from the year 1863 ?
### Response:
| SELECT COUNT("building") FROM table_204_498 WHERE "year" = 1863 |
### Instruction:
how many average scores were below 8.700 ?
### Response:
| SELECT COUNT(*) FROM table_204_757 WHERE "average" < 8.700 |
### Instruction:
Name the record for cotton bowl classic
### Response:
| SELECT record FROM table_2517159_1 WHERE name_of_bowl = "Cotton Bowl Classic" |
### Instruction:
What is the total number of entries for Leif Olson?
### Response:
| SELECT COUNT("Starts") FROM table_23759 WHERE "Player" = 'Leif Olson' |
### Instruction:
What is the most popular full name of the actors?
### Response:
| SELECT first_name, last_name FROM actor GROUP BY first_name, last_name ORDER BY COUNT(*) DESC LIMIT 1 |
### Instruction:
pregnant or lactating female
### Response:
| SELECT * FROM table_train_28 WHERE pregnancy_or_lactation = 1 AND gender = 'female' |
### Instruction:
Name the singer for joe wilkinson
### Response:
| SELECT "Singer(s)" FROM table_30945 WHERE "Comedian" = 'Joe Wilkinson' |
### Instruction:
Name the highest 3rd place for nation of perak fa
### Response:
| SELECT MAX(3 AS rd_place) FROM table_name_65 WHERE nation = "perak fa" |
### Instruction:
Who was the writer for the song 4:29 in length?
### Response:
| SELECT "Writer" FROM table_19582 WHERE "Length" = '4:29' |
### Instruction:
What is the appearance maximum if the starts is 18?
### Response:
| SELECT MAX("Appearances") FROM table_27119 WHERE "Starts" = '18' |
### Instruction:
A bar chart for how many competitions for each country, and order x-axis from low to high order.
### Response:
| SELECT Country, COUNT(Country) FROM competition GROUP BY Country ORDER BY Country |
### Instruction:
What party did incumbent Wright Patman belong to?
### Response:
| SELECT party FROM table_1342149_43 WHERE incumbent = "Wright Patman" |
### Instruction:
Show different types of ships and the number of ships of each type Show bar chart, list in ascending by the names.
### Response:
| SELECT Type, COUNT(*) FROM ship GROUP BY Type ORDER BY Type |
### Instruction:
What's the most jim colbert got paid?
### Response:
| SELECT MAX(earnings__) AS $__ FROM table_name_23 WHERE player = "jim colbert" |
### Instruction:
what is the only country represented that is not the united states ?
### Response:
| SELECT "country" FROM table_204_355 WHERE "country" <> 'united states' |
### Instruction:
Who is the winner of the H.E.B. Texas open?
### Response:
| SELECT winner FROM table_name_76 WHERE tournament = "h.e.b. texas open" |
### Instruction:
Which Tuesday has a Saturday of doy bi?
### Response:
| SELECT tuesday FROM table_name_94 WHERE saturday = "土曜日 doyōbi" |
### Instruction:
During melbourne's home game, who was the away team?
### Response:
| SELECT "Away team" FROM table_77788 WHERE "Home team" = 'melbourne' |
### Instruction:
What date were the high rebounds Evans (14)?
### Response:
| SELECT "Date" FROM table_52677 WHERE "High rebounds" = 'evans (14)' |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.