instruction
stringlengths 37
754
| output
stringlengths 9
3.43k
|
---|---|
### Instruction:
What is the to par for the player with fewer than 148 total points?
### Response:
|
SELECT SUM(to_par) FROM table_name_53 WHERE total < 148
|
### Instruction:
What is 2nd Leg, when Team 1 is 'H'?
### Response:
|
SELECT 2 AS nd_leg FROM table_name_97 WHERE team_1 = "h"
|
### Instruction:
What is the name of the episode where the season number is 13?
### Response:
|
SELECT "Title" FROM table_2768 WHERE "No. in season" = '13'
|
### Instruction:
Name the equivalence for varas for geometrical pace
### Response:
|
SELECT "Equivalence in Varas" FROM table_28773 WHERE "English name" = 'Geometrical pace'
|
### Instruction:
What is the median household income for Woodside?
### Response:
|
SELECT median_house__hold_income FROM table_1447085_1 WHERE place = "Woodside"
|
### Instruction:
Who made the decision in the game played on December 26?
### Response:
|
SELECT decision FROM table_27537518_6 WHERE date = "December 26"
|
### Instruction:
What was the nationality of the winner for the 20th Edition?
### Response:
|
SELECT "Country" FROM table_78779 WHERE "Edition" = '20th'
|
### Instruction:
What was the result of the game played at Jeppesen Stadium?
### Response:
|
SELECT "Result" FROM table_58932 WHERE "Game site" = 'jeppesen stadium'
|
### Instruction:
Name the 2nd leg for team 1 of hamburg
### Response:
|
SELECT 2 AS nd_leg FROM table_name_90 WHERE team_1 = "hamburg"
|
### Instruction:
Just list the resident id and details in a bar chart, and rank in ascending by the resident_id.
### Response:
|
SELECT other_details, resident_id FROM Residents ORDER BY resident_id
|
### Instruction:
Name the round of 32 in conference usa
### Response:
|
SELECT round_of_32 FROM table_10722506_6 WHERE conference = "conference USA"
|
### Instruction:
What was the attendance when the VFL played Junction Oval?
### Response:
|
SELECT COUNT(crowd) FROM table_name_58 WHERE venue = "junction oval"
|
### Instruction:
Which Result has a District of pennsylvania 13?
### Response:
|
SELECT "Result" FROM table_34970 WHERE "District" = 'pennsylvania 13'
|
### Instruction:
What is the Date with an Opponent that is flavia pennetta?
### Response:
|
SELECT date FROM table_name_53 WHERE opponent = "flavia pennetta"
|
### Instruction:
Name the least listed owner for pete raymer
### Response:
|
SELECT MIN("#") FROM table_26896 WHERE "Listed Owner(s)" = 'Pete Raymer'
|
### Instruction:
Name the combativity award with winner of luis le n s nchez
### Response:
|
SELECT combativity_award FROM table_name_13 WHERE winner = "luis león sánchez"
|
### Instruction:
in how many seasons did david nedohin play ?
### Response:
|
SELECT COUNT("season") FROM table_204_747 WHERE "skip" = 'david nedohin'
|
### Instruction:
What is the highest flap for class 500 cc?
### Response:
|
SELECT MAX("FLap") FROM table_60468 WHERE "Class" = '500 cc'
|
### Instruction:
Find the entry name of the catalog with the highest price (in USD).
### Response:
|
SELECT catalog_entry_name FROM catalog_contents ORDER BY price_in_dollars DESC LIMIT 1
|
### Instruction:
What was the first series in this list that Jack Orman wrote?
### Response:
|
SELECT MIN("Series #") FROM table_533 WHERE "Written by" = 'Jack Orman'
|
### Instruction:
What is the amount of oil terminal in 2004?
### Response:
|
SELECT "2004" FROM table_56391 WHERE "Product" = 'oil terminal'
|
### Instruction:
What are the personal names and family names of the students? Sort the result in alphabetical order of the family name.
### Response:
|
SELECT personal_name, family_name FROM students ORDER BY family_name
|
### Instruction:
Which Game has a Nugget points of 89?
### Response:
|
SELECT MIN("Game") FROM table_44612 WHERE "Nuggets points" = '89'
|
### Instruction:
What is the To par when there was a total of 291?
### Response:
|
SELECT "To par" FROM table_60884 WHERE "Total" = '291'
|
### Instruction:
Tell me the name with points of 151.66
### Response:
|
SELECT "Name" FROM table_55728 WHERE "Points" = '151.66'
|
### Instruction:
Who is the visitor with a 14-10 record?
### Response:
|
SELECT "Visitor" FROM table_41352 WHERE "Record" = '14-10'
|
### Instruction:
What is the lowest car with more than 122 yards?
### Response:
|
SELECT MIN("Car.") FROM table_51230 WHERE "Yards" > '122'
|
### Instruction:
what movies did greenstreet act for in 1946 ?
### Response:
|
SELECT "title" FROM table_202_200 WHERE "year" = 1946
|
### Instruction:
Which airport has an IATA Code of ORD?
### Response:
|
SELECT airport_name FROM table_18047346_5 WHERE iata_code = "ORD"
|
### Instruction:
How many records are there for the game on november 24?
### Response:
|
SELECT COUNT("Record") FROM table_29807 WHERE "Date" = 'November 24'
|
### Instruction:
what is admission type of subject id 3343?
### Response:
|
SELECT demographic.admission_type FROM demographic WHERE demographic.subject_id = "3343"
|
### Instruction:
What location was the campus that has a size of 245 acres?
### Response:
|
SELECT "Location" FROM table_62929 WHERE "Size" = '245 acres'
|
### Instruction:
A bar chart about how many eliminations did each team have?, rank by the y-axis in desc.
### Response:
|
SELECT Team, COUNT(*) FROM Elimination GROUP BY Team ORDER BY COUNT(*) DESC
|
### Instruction:
Who had the high rebounds record on December 12?
### Response:
|
SELECT "High rebounds" FROM table_74166 WHERE "Date" = 'December 12'
|
### Instruction:
What is the name of the episode that was written by Michael Rauch?
### Response:
|
SELECT "Title" FROM table_25666 WHERE "Written by" = 'Michael Rauch'
|
### Instruction:
how long did michel crauste serve as captain ?
### Response:
|
SELECT "span" FROM table_204_342 WHERE "player" = 'michel crauste'
|
### Instruction:
which book won the award a total of 2 times ?
### Response:
|
SELECT "title" FROM table_203_788 GROUP BY "title" HAVING COUNT(*) = 2
|
### Instruction:
What is the date of the Last Performance of Rarmian Newton as Billy Elliot?
### Response:
|
SELECT last_performance FROM table_name_3 WHERE name = "rarmian newton"
|
### Instruction:
how many times has anton lyuboslavskiy scored above 20 m ?
### Response:
|
SELECT COUNT(*) FROM table_203_677 WHERE "notes" > 20
|
### Instruction:
Name the film for award of 3,740
### Response:
|
SELECT "Film" FROM table_67489 WHERE "Award" = '£3,740'
|
### Instruction:
are rolled wafers in many episodes
### Response:
|
SELECT series_ep FROM table_15187735_17 WHERE segment_a = "Rolled Wafers"
|
### Instruction:
What is the Date of the game with a Record of 8 10 6?
### Response:
|
SELECT date FROM table_name_99 WHERE record = "8–10–6"
|
### Instruction:
Who is the winner of the race in Burkina Faso?
### Response:
|
SELECT "Winner" FROM table_74990 WHERE "Location" = 'burkina faso'
|
### Instruction:
What was the score for the tie that had Shrewsbury Town as home team?
### Response:
|
SELECT score FROM table_name_87 WHERE home_team = "shrewsbury town"
|
### Instruction:
What is the platform of the game from 2007?
### Response:
|
SELECT "Platform(s)" FROM table_64752 WHERE "Year" = '2007'
|
### Instruction:
which is the new pageant from spain?
### Response:
|
SELECT new_pageant FROM table_14308895_2 WHERE country_territory = "Spain"
|
### Instruction:
Who was skip for the country whose points for (PF) was 73?
### Response:
|
SELECT "Skip" FROM table_20826 WHERE "PF" = '73'
|
### Instruction:
What is Record, when Date is 'November 22'?
### Response:
|
SELECT "Record" FROM table_47388 WHERE "Date" = 'november 22'
|
### Instruction:
List the official names of cities that have not held any competition.
### Response:
|
SELECT Official_Name FROM city WHERE NOT City_ID IN (SELECT Host_city_ID FROM farm_competition)
|
### Instruction:
What is the event where the opponent was Chris Barden?
### Response:
|
SELECT "Event" FROM table_48682 WHERE "Opponent" = 'chris barden'
|
### Instruction:
Which keys (x modes) have a Supplier of wolfking?
### Response:
|
SELECT keys__x_modes_ FROM table_name_55 WHERE supplier = "wolfking"
|
### Instruction:
What word in Hindi has the same meaning as the Lomavren word saj?
### Response:
|
SELECT hindi FROM table_name_99 WHERE lomavren = "saj"
|
### Instruction:
What is Points, when Name is Ondrej Starosta?
### Response:
|
SELECT "Points" FROM table_42024 WHERE "Name" = 'ondrej starosta'
|
### Instruction:
What is the Ch1 in the region served by Central Tablelands?
### Response:
|
SELECT "ch 1" FROM table_39319 WHERE "Region served" = 'central tablelands'
|
### Instruction:
List the name of physicians who took some appointment.
### Response:
|
SELECT T2.name FROM appointment AS T1 JOIN physician AS T2 ON T1.Physician = T2.EmployeeID
|
### Instruction:
What is SIte, when Date is 'September 13'?
### Response:
|
SELECT "Site" FROM table_9381 WHERE "Date" = 'september 13'
|
### Instruction:
What is the weekly schedule for the network sky italia?
### Response:
|
SELECT weekly_schedule FROM table_name_97 WHERE tv_network_s_ = "sky italia"
|
### Instruction:
What is the name of the home stadium of Brisbane Lions?
### Response:
|
SELECT ground FROM table_name_93 WHERE home_team = "brisbane lions"
|
### Instruction:
Who preforms at 2:00PM on Monday?
### Response:
|
SELECT "02:00 PM" FROM table_39768 WHERE "Time" = 'monday'
|
### Instruction:
The gayfield park stadium had a highest attendance of what?
### Response:
|
SELECT MAX("Highest") FROM table_149 WHERE "Stadium" = 'Gayfield Park'
|
### Instruction:
What is the least amount of yards when the average is less than 2.6?
### Response:
|
SELECT MIN(yards) FROM table_name_65 WHERE average < 2.6
|
### Instruction:
What is the final position for the season 2008?
### Response:
|
SELECT "Final Position" FROM table_44182 WHERE "Season" = '2008'
|
### Instruction:
How many races were there when Sigachev had 38 points?
### Response:
|
SELECT MIN("Races") FROM table_27671 WHERE "Points" = '38'
|
### Instruction:
Against whom did the Spartans score 73 points?
### Response:
|
SELECT opponent FROM table_22860990_3 WHERE spartans_points = 73
|
### Instruction:
WHAT IS THE DRAW FOR PERFORMER ANDREA CUBRIC?
### Response:
|
SELECT draw FROM table_name_76 WHERE performer = "andrea cubric"
|
### Instruction:
What score did Ed Furgol get to come in at T6?
### Response:
|
SELECT score FROM table_name_7 WHERE place = "t6" AND player = "ed furgol"
|
### Instruction:
In which townlands is the civil parish Monkstown?
### Response:
|
SELECT "Townland" FROM table_4292 WHERE "Civil parish" = 'Monkstown'
|
### Instruction:
What year was ike skelton first elected?
### Response:
|
SELECT MIN("First elected") FROM table_718 WHERE "Incumbent" = 'Ike Skelton'
|
### Instruction:
How many players are from the country of Brazil?
### Response:
|
SELECT COUNT(position) FROM table_24565004_15 WHERE nationality² = "Brazil"
|
### Instruction:
What is State, when Member is 'Gil Duthie'?
### Response:
|
SELECT "State" FROM table_48204 WHERE "Member" = 'gil duthie'
|
### Instruction:
what number of names had 0 at the cfu club championship ?
### Response:
|
SELECT COUNT("name") FROM table_204_618 WHERE "cfu club championship" = 0
|
### Instruction:
What is Dupuy lowest area in km2?
### Response:
|
SELECT MIN("Area (km 2 )") FROM table_78025 WHERE "Name" = 'dupuy'
|
### Instruction:
What is the 2nd leg of the Comunicaciones team?
### Response:
|
SELECT 2 AS nd_leg FROM table_name_78 WHERE team_1 = "comunicaciones"
|
### Instruction:
Plot the number of phone by grouped by phone as a bar graph, and could you list X in asc order please?
### Response:
|
SELECT Phone, COUNT(Phone) FROM Employee GROUP BY Phone ORDER BY Phone
|
### Instruction:
Who is the first driver(s) when the country is romania?
### Response:
|
SELECT "First driver(s)" FROM table_3730 WHERE "Country" = 'Romania'
|
### Instruction:
How many podiums associated with 1 vuelta and over 7 tours?
### Response:
|
SELECT COUNT(total) FROM table_name_1 WHERE vuelta = 1 AND tour > 7
|
### Instruction:
When the home team was fitzroy, what did the away team score?
### Response:
|
SELECT away_team AS score FROM table_name_16 WHERE home_team = "fitzroy"
|
### Instruction:
What was the venue when Carlton was the away team?
### Response:
|
SELECT "Venue" FROM table_33782 WHERE "Away team" = 'carlton'
|
### Instruction:
What is the height of the delegate whose hometown is Renton, WA?
### Response:
|
SELECT height FROM table_name_69 WHERE hometown = "renton, wa"
|
### Instruction:
What is the result of the game with 68,436 attending?
### Response:
|
SELECT result FROM table_name_98 WHERE attendance = "68,436"
|
### Instruction:
In which city was the Night of the Living Duck released?
### Response:
|
SELECT "City" FROM table_13837 WHERE "Title" = 'the night of the living duck'
|
### Instruction:
What college did the player from Fort Lauderdale, FL attend?
### Response:
|
SELECT college FROM table_name_79 WHERE hometown = "fort lauderdale, fl"
|
### Instruction:
What is the col location for the location of france / italy?
### Response:
|
SELECT col_location FROM table_2731431_1 WHERE location = "France / Italy"
|
### Instruction:
Who is the candidate in the 2012 election?
### Response:
|
SELECT "Candidate" FROM table_47457 WHERE "Election" = '2012'
|
### Instruction:
Who is the player when the economy is 6.14?
### Response:
|
SELECT "Player" FROM table_30797 WHERE "Economy" = '6.14'
|
### Instruction:
how many people were appointed after 2011 ?
### Response:
|
SELECT COUNT("name") FROM table_204_517 WHERE "appointed" > 2011
|
### Instruction:
When was the person(s) who were canonised before 1988 beatified?
### Response:
|
SELECT beatified FROM table_name_17 WHERE canonised < 1988
|
### Instruction:
Show id from each meter 400, and sort by the X-axis in ascending.
### Response:
|
SELECT meter_400, ID FROM swimmer ORDER BY meter_400
|
### Instruction:
What medium was used for the sculpture by Ernest Richard Gause?
### Response:
|
SELECT medium FROM table_20903658_1 WHERE artist = "Ernest Richard Gause"
|
### Instruction:
Show me how many long by long in a histogram, could you rank from low to high by the y axis?
### Response:
|
SELECT long, COUNT(long) FROM station ORDER BY COUNT(long)
|
### Instruction:
Which Surface has a Partner of galina voskoboeva?
### Response:
|
SELECT surface FROM table_name_45 WHERE partner = "galina voskoboeva"
|
### Instruction:
What is the district with the incumbent john nicholas?
### Response:
|
SELECT "District" FROM table_28948 WHERE "Incumbent" = 'John Nicholas'
|
### Instruction:
How many people attended the game with a record of 86-56
### Response:
|
SELECT COUNT(attendance) FROM table_name_39 WHERE record = "86-56"
|
### Instruction:
What was the score of the home team when Richmond was the away team?
### Response:
|
SELECT "Home team score" FROM table_4658 WHERE "Away team" = 'richmond'
|
### Instruction:
Where was the game against the away team Footscray held?
### Response:
|
SELECT "Venue" FROM table_56506 WHERE "Away team" = 'footscray'
|
### Instruction:
what's the team with stadium being borough briggs
### Response:
|
SELECT team FROM table_14003108_1 WHERE stadium = "Borough Briggs"
|
### Instruction:
Who ran in the district elections won by Tom Petri?
### Response:
|
SELECT "Candidates" FROM table_18133 WHERE "Incumbent" = 'Tom Petri'
|
### Instruction:
who was the last to win against his opponent ?
### Response:
|
SELECT "player" FROM table_203_20 WHERE "result" = 'won' ORDER BY id DESC LIMIT 1
|
### Instruction:
If sample 6480 is imported, which country is it originally from?
### Response:
|
SELECT country FROM sampledata15 WHERE sample_pk = 6480 AND origin = 2
|
### Instruction:
Which opponent was played at Forbes Field after week 4?
### Response:
|
SELECT opponent FROM table_name_76 WHERE game_site = "forbes field" AND week > 4
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.