instruction
stringlengths 37
754
| output
stringlengths 9
3.43k
|
---|---|
### Instruction:
What is the 2nd leg for Barcelona Team 2?
### Response:
| SELECT 2 AS nd_leg FROM table_name_49 WHERE team_2 = "barcelona" |
### Instruction:
How many podiums for the driver with 18 stage wins?
### Response:
| SELECT COUNT("Podiums") FROM table_22619 WHERE "Stage wins" = '18' |
### Instruction:
What is the Team with a venue of Anyang Stadium?
### Response:
| SELECT "Team" FROM table_41291 WHERE "Home venue" = 'anyang stadium' |
### Instruction:
What is the Manufacturer for simone corsi?
### Response:
| SELECT "Manufacturer" FROM table_71708 WHERE "Rider" = 'simone corsi' |
### Instruction:
Find the emails and phone numbers of all the customers, ordered by email address and phone number.
### Response:
| SELECT email_address, phone_number FROM customers ORDER BY email_address, phone_number |
### Instruction:
Where is the longest arch with a length in meters of 64.2?
### Response:
| SELECT location FROM table_name_29 WHERE length___m__ = "64.2" |
### Instruction:
Who was the game on January 26 played against?
### Response:
| SELECT team FROM table_23285761_7 WHERE date = "January 26" |
### Instruction:
What is the Location for the route 66 raceway?
### Response:
| SELECT "Location" FROM table_35743 WHERE "Name" = 'route 66 raceway' |
### Instruction:
which paralymics year had the largest number of medals overall ?
### Response:
| SELECT "event" FROM table_204_374 ORDER BY "total" DESC LIMIT 1 |
### Instruction:
Who won the mens singles in 2009?
### Response:
| SELECT mens_singles FROM table_12204717_1 WHERE year = 2009 |
### Instruction:
Who was the runner-up in 1989?
### Response:
| SELECT "Runner-up" FROM table_76951 WHERE "Year" = '1989' |
### Instruction:
what is the rank for the rating 4.4?
### Response:
| SELECT rank__night_ FROM table_15681686_4 WHERE rating = "4.4" |
### Instruction:
What is the round where there was a KO (punch)?
### Response:
| SELECT "Round" FROM table_12207 WHERE "Method" = 'ko (punch)' |
### Instruction:
What is the away team when the home team is Cheltenham Town?
### Response:
| SELECT away_team FROM table_name_5 WHERE home_team = "cheltenham town" |
### Instruction:
patients with a score of 2 or less on the global deterioration scale
### Response:
| SELECT * FROM table_train_92 WHERE global_deterioration_scale <= 2 |
### Instruction:
Find the name of airports whose altitude is between -50 and 50.
### Response:
| SELECT name FROM airports WHERE elevation BETWEEN -50 AND 50 |
### Instruction:
Which Weight & Height has a Player of james donaldson?
### Response:
| SELECT weight_ & _height FROM table_name_43 WHERE player = "james donaldson" |
### Instruction:
What was the method of the bout lasting 4:15?
### Response:
| SELECT "Method" FROM table_36508 WHERE "Time" = '4:15' |
### Instruction:
which type of drug is nafcillin?
### Response:
| SELECT prescriptions.drug_type FROM prescriptions WHERE prescriptions.drug = "Nafcillin" |
### Instruction:
What Report is on June 3, 2000?
### Response:
| SELECT report FROM table_name_85 WHERE date = "june 3, 2000" |
### Instruction:
What's the compression ratio when the vin code is c?
### Response:
| SELECT "c" AS ompression_ratio FROM table_name_38 WHERE vin_code = "c" |
### Instruction:
What was the venue where the result was 12th?
### Response:
| SELECT "Venue" FROM table_54517 WHERE "Result" = '12th' |
### Instruction:
Posts for certain tags - work in progress.
### Response:
| SELECT t.Id, t.TagName, t.Count FROM Tags AS t WHERE t.TagName IN ('c#', 'java') |
### Instruction:
what where the only two submarines that where only damaged ?
### Response:
| SELECT "name" FROM table_203_268 WHERE "fate" = 'damaged' |
### Instruction:
Who is the opponent at the IFA: Clash of the Champions?
### Response:
| SELECT opponent FROM table_name_71 WHERE event = "ifa: clash of the champions" |
### Instruction:
What is the class when the frequency is 560 AM?
### Response:
| SELECT "Class" FROM table_70115 WHERE "Frequency" = '560 am' |
### Instruction:
Who manufactures Makoto Tamada's vehicle?
### Response:
| SELECT "Manufacturer" FROM table_45610 WHERE "Rider" = 'makoto tamada' |
### Instruction:
What district did James O'Connor belong to?
### Response:
| SELECT district FROM table_1342451_16 WHERE incumbent = "James O'Connor" |
### Instruction:
What is the language of the film directed by Hans Kristensen?
### Response:
| SELECT "Language" FROM table_71118 WHERE "Director" = 'hans kristensen' |
### Instruction:
What was the label in the region of Argentina and had a format of CD?
### Response:
| SELECT label FROM table_name_82 WHERE format = "cd" AND region = "argentina" |
### Instruction:
What town has the Welford Road Stadium?
### Response:
| SELECT "City/Town" FROM table_63126 WHERE "Stadium" = 'welford road' |
### Instruction:
Which Opened has a Category of diesel light rail?
### Response:
| SELECT MAX("Opened") FROM table_14002 WHERE "Category" = 'diesel light rail' |
### Instruction:
What is the date that is Away team is Honduras?
### Response:
| SELECT "Date" FROM table_43150 WHERE "Away team" = 'honduras' |
### Instruction:
Return a pie chart about the proportion of ACC_Regular_Season and School_ID.
### Response:
| SELECT ACC_Regular_Season, School_ID FROM basketball_match |
### Instruction:
What was the score of Richmond when they were the away team?
### Response:
| SELECT "Away team score" FROM table_4879 WHERE "Away team" = 'richmond' |
### Instruction:
what number of times did lillestr m win gold ?
### Response:
| SELECT COUNT(*) FROM table_203_683 WHERE "gold" = 'lillestrøm' |
### Instruction:
who had high points on march 27?
### Response:
| SELECT high_points FROM table_27722734_10 WHERE date = "March 27" |
### Instruction:
Where the time is 2:46, what is the record?
### Response:
| SELECT "Record" FROM table_69355 WHERE "Time" = '2:46' |
### Instruction:
What Season has Goals greater than 0 and less than 33 Apps?
### Response:
| SELECT season FROM table_name_34 WHERE goals > 0 AND apps < 33 |
### Instruction:
Name the date successor seated for delegate seat established
### Response:
| SELECT "Date successor seated" FROM table_73392 WHERE "Reason for change" = 'Delegate seat established' |
### Instruction:
Qhat was the position of sail 6606?
### Response:
| SELECT position FROM table_1858574_3 WHERE sail_number = "6606" |
### Instruction:
what is age and gender of subject name charles nilsson?
### Response:
| SELECT demographic.age, demographic.gender FROM demographic WHERE demographic.name = "Charles Nilsson" |
### Instruction:
Name the game for 13 17 9
### Response:
| SELECT "Game" FROM table_26077 WHERE "Record" = '13–17–9' |
### Instruction:
in how many seasons were there at least 20 goals scored ?
### Response:
| SELECT COUNT("season") FROM table_203_835 WHERE "goals" >= 20 |
### Instruction:
To what district does Bill Hefner belong?
### Response:
| SELECT "District" FROM table_18197 WHERE "Incumbent" = 'Bill Hefner' |
### Instruction:
What is the lowest average finish having top 5s of 0?
### Response:
| SELECT MIN(avg_finish) FROM table_name_7 WHERE top_5 < 0 |
### Instruction:
What is the score of the game on 8 Sep 1990?
### Response:
| SELECT score FROM table_name_92 WHERE date = "8 sep 1990" |
### Instruction:
What season was the overall record 24-10?
### Response:
| SELECT season FROM table_14609295_4 WHERE overall = "24-10" |
### Instruction:
How many times did episode 1.8 air?
### Response:
| SELECT COUNT("Original Airdate") FROM table_72608 WHERE "Episode #" = '1.8' |
### Instruction:
How many customers have at least one order with status 'Cancelled'?
### Response:
| SELECT COUNT(DISTINCT customer_id) FROM customer_orders WHERE order_status = "Cancelled" |
### Instruction:
Which Site that has a Sex and other data of old male?
### Response:
| SELECT MAX(site) FROM table_name_42 WHERE sex_and_other_data = "old male" |
### Instruction:
Find the titles and studios of the films that are produced by some film studios that contained the word 'Universal'.
### Response:
| SELECT title, Studio FROM film WHERE Studio LIKE "%Universal%" |
### Instruction:
What is the date of the tournament with Alena Tarasova as the opponent?
### Response:
| SELECT date FROM table_name_56 WHERE opponent = "alena tarasova" |
### Instruction:
What's the part 3 of the verb whose class is 4?
### Response:
| SELECT part_3 FROM table_1745843_6 WHERE class = "4" |
### Instruction:
What was the result of the game attended by 54,110?
### Response:
| SELECT result FROM table_name_73 WHERE attendance = "54,110" |
### Instruction:
What Player Club Team is Indiana Ice (ushl)?
### Response:
| SELECT "Player" FROM table_10659 WHERE "Club team" = 'indiana ice (ushl)' |
### Instruction:
What language is telemarket for you?
### Response:
| SELECT "Language" FROM table_43303 WHERE "Television service" = 'telemarket for you' |
### Instruction:
Which Circuit did Johnny Wakefield win?
### Response:
| SELECT "Circuit" FROM table_32132 WHERE "Winning driver" = 'johnny wakefield' |
### Instruction:
What is the location of the match with the record 10-8-1?
### Response:
| SELECT location FROM table_name_84 WHERE record = "10-8-1" |
### Instruction:
In which county is the city/town of Halden located?
### Response:
| SELECT "County" FROM table_72715 WHERE "City/town" = 'Halden' |
### Instruction:
Who was the Home team that had a decider of Conklin?
### Response:
| SELECT "Home" FROM table_47582 WHERE "Decision" = 'conklin' |
### Instruction:
What is the total for the team with 0 bronze and 3 silver?
### Response:
| SELECT SUM(total) FROM table_name_41 WHERE bronze = 0 AND silver = 3 |
### Instruction:
In what district is the incumbent Charles Fisher?
### Response:
| SELECT "District" FROM table_3603 WHERE "Incumbent" = 'Charles Fisher' |
### Instruction:
What is the highest track for the song Rip it Up?
### Response:
| SELECT MAX("Track") FROM table_54850 WHERE "Song Title" = 'rip it up' |
### Instruction:
A nucleus that is blue/black will specifically stain what?
### Response:
| SELECT specifically_stains FROM table_13570_1 WHERE nucleus = "Blue/black" |
### Instruction:
Who was in control the year that Labour Party won 12 (+6) seats?
### Response:
| SELECT control FROM table_name_36 WHERE labour_party = "12 (+6)" |
### Instruction:
what was the total number of medals won by portugal ?
### Response:
| SELECT "total" FROM table_203_374 WHERE "nation" = 'portugal' |
### Instruction:
Show me about the correlation between ACC_Percent and All_Games_Percent in a scatter chart.
### Response:
| SELECT ACC_Percent, All_Games_Percent FROM basketball_match |
### Instruction:
Who is the top scorer where gf is 41?
### Response:
| SELECT "Top Scorer" FROM table_72290 WHERE "GF" = '41' |
### Instruction:
On what date was Kentucky the opponent, and Ragle lost?
### Response:
| SELECT date FROM table_name_9 WHERE opponent = "kentucky" AND loss = "ragle" |
### Instruction:
What is Guard Kerri Shields Hometown?
### Response:
| SELECT hometown FROM table_name_94 WHERE position = "guard" AND name = "kerri shields" |
### Instruction:
how many titles does fortuna 60 have ?
### Response:
| SELECT "titles" FROM table_203_664 WHERE "club" = 'fortuna 60' |
### Instruction:
Give me a pie to show maximal product price from different product type code.
### Response:
| SELECT product_type_code, MAX(product_price) FROM Products GROUP BY product_type_code |
### Instruction:
What is the date of the 4 strokes margin of victory?
### Response:
| SELECT "Date" FROM table_7241 WHERE "Margin of victory" = '4 strokes' |
### Instruction:
Who was the bronze medal when the Asian Games were held in Busan?
### Response:
| SELECT "Bronze" FROM table_35916 WHERE "Location" = 'busan' |
### Instruction:
What is the name of the episode that was directed by Dennis Smith?
### Response:
| SELECT title FROM table_2828803_1 WHERE directed_by = "Dennis Smith" |
### Instruction:
What was the score when the partner was arnaud cl ment?
### Response:
| SELECT "Score" FROM table_42718 WHERE "Partner" = 'arnaud clément' |
### Instruction:
Who is every successor for the Washington 3rd District?
### Response:
| SELECT "Successor" FROM table_24495 WHERE "District" = 'Washington 3rd' |
### Instruction:
What game score was there for the team with a record of 84-56?
### Response:
| SELECT score FROM table_name_51 WHERE record = "84-56" |
### Instruction:
Name the number of bush % for elko
### Response:
| SELECT COUNT(bush__percentage) FROM table_23014476_1 WHERE county = "Elko" |
### Instruction:
How many rebounds did crystal ayers have?
### Response:
| SELECT COUNT("Rebounds") FROM table_25991 WHERE "Player" = 'Crystal Ayers' |
### Instruction:
Who did the high points in the game played on December 2?
### Response:
| SELECT "High points" FROM table_25468 WHERE "Date" = 'December 2' |
### Instruction:
Name the number of stations for 15 minutes travel time
### Response:
| SELECT COUNT("Stations") FROM table_26374 WHERE "Travel time" = '15 minutes' |
### Instruction:
Name the high reobounds for april 7
### Response:
| SELECT high_rebounds FROM table_17058178_11 WHERE date = "April 7" |
### Instruction:
Alex Winckler wrote the film, who was the director?
### Response:
| SELECT director_s_ FROM table_name_35 WHERE writer_s_ = "alex winckler" |
### Instruction:
What position was Jafus White who was picked after round 1?
### Response:
| SELECT position FROM table_name_87 WHERE round > 1 AND player = "jafus white" |
### Instruction:
What number is the Monaco Grand Prix?
### Response:
| SELECT rd FROM table_1132568_3 WHERE grand_prix = "Monaco grand_prix" |
### Instruction:
How many singles does Lisa Stansfield have?
### Response:
| SELECT COUNT(single) FROM table_26400075_2 WHERE artist = "Lisa Stansfield" |
### Instruction:
Who is the owner of the branding gx94?
### Response:
| SELECT "Owner" FROM table_31718 WHERE "Branding" = 'gx94' |
### Instruction:
What is the competition on 23 February 1929?
### Response:
| SELECT competition FROM table_name_27 WHERE date = "23 february 1929" |
### Instruction:
What is the Position of the Player from Temple Hills, MD?
### Response:
| SELECT "Position" FROM table_39832 WHERE "Home Town" = 'temple hills, md' |
### Instruction:
What loss has 10-16 as the record?
### Response:
| SELECT "Loss" FROM table_67209 WHERE "Record" = '10-16' |
### Instruction:
Who was the home when the visitor was New York Knicks?
### Response:
| SELECT "Home" FROM table_47003 WHERE "Visitor" = 'new york knicks' |
### Instruction:
What couple had a vote percentage of 5.2%?
### Response:
| SELECT "Couple" FROM table_3547 WHERE "Vote percentage" = '5.2%' |
### Instruction:
Which Platform has an Actual version of 0.8.29?
### Response:
| SELECT platform FROM table_name_96 WHERE actual_version = "0.8.29" |
### Instruction:
What was the score for Footscray when they were the away team?
### Response:
| SELECT away_team AS score FROM table_name_66 WHERE away_team = "footscray" |
### Instruction:
What's the total value of ?
### Response:
| SELECT SUM(value) FROM table_name_2 WHERE word_form = "សាមសិប" |
### Instruction:
What is the Format of the release with Catalog number RTRADLP491?
### Response:
| SELECT format FROM table_name_15 WHERE catalog = "rtradlp491" |
### Instruction:
Which Games is the lowest one that has a Number of 98?
### Response:
| SELECT MIN(games) AS ↑ FROM table_name_88 WHERE number = 98 |
### Instruction:
What is every episode with Barry Purchese as the writer?
### Response:
| SELECT "Episode" FROM table_29357 WHERE "Writer" = 'Barry Purchese' |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.