instruction
stringlengths 37
754
| output
stringlengths 9
3.43k
|
---|---|
### Instruction:
What is the location for tournament on Jul 8-11?
### Response:
|
SELECT "Location" FROM table_28340 WHERE "Dates" = 'Jul 8-11'
|
### Instruction:
Which format is released on May 27, 2009?
### Response:
|
SELECT format FROM table_name_77 WHERE date = "may 27, 2009"
|
### Instruction:
How many people in total have attended games where carlton played as away?
### Response:
|
SELECT COUNT(crowd) FROM table_name_99 WHERE away_team = "carlton"
|
### Instruction:
what number of dates were won by the chicago bears ?
### Response:
|
SELECT COUNT("date") FROM table_204_855 WHERE "winner" = 'chicago bears'
|
### Instruction:
On what date was the attendance more than 17,652?
### Response:
|
SELECT date FROM table_name_15 WHERE attendance > 17 OFFSET 652
|
### Instruction:
what is the procedure long title of patient with patient id 17787?
### Response:
|
SELECT procedures.long_title FROM procedures WHERE procedures.subject_id = "17787"
|
### Instruction:
Name the total number of rounds for gina carano
### Response:
|
SELECT COUNT("Round") FROM table_39322 WHERE "Opponent" = 'gina carano'
|
### Instruction:
What is the viewers where the rating is 5.3?
### Response:
|
SELECT "Viewers (m)" FROM table_16495 WHERE "Rating" = '5.3'
|
### Instruction:
Name the transfer fee for transfer status for fra
### Response:
|
SELECT "Transfer fee" FROM table_51859 WHERE "Status" = 'transfer' AND "Country" = 'fra'
|
### Instruction:
Name the number of pictorials for 5-85
### Response:
|
SELECT COUNT("Pictorials") FROM table_1302 WHERE "Date" = '5-85'
|
### Instruction:
What is the value of the points column when the value of the column lost is 'lost
### Response:
|
SELECT "Points" FROM table_72448 WHERE "Lost" = 'Lost'
|
### Instruction:
What date was M. Grabovski the first start of the game?
### Response:
|
SELECT "Date" FROM table_29607 WHERE "First Star" = 'M. Grabovski'
|
### Instruction:
What was the highest number of goals for a game held at Hannover?
### Response:
|
SELECT MAX("Goal") FROM table_41355 WHERE "Venue" = 'hannover'
|
### Instruction:
What party did the incumbent Joseph Pearson belong to?
### Response:
|
SELECT "Party" FROM table_28927 WHERE "Incumbent" = 'Joseph Pearson'
|
### Instruction:
What is the conference record for the year of 1971?
### Response:
|
SELECT "Conference Record" FROM table_75478 WHERE "Year" = '1971'
|
### Instruction:
What is Date, when Constellation is 'Delphinus'?
### Response:
|
SELECT "Date sent" FROM table_60681 WHERE "Constellation" = 'delphinus'
|
### Instruction:
What game had the highest score and a time of 2:35?
### Response:
|
SELECT MAX("Game") FROM table_14530 WHERE "Time" = '2:35'
|
### Instruction:
What is Season, when Third is 'Glen Muirhead'?
### Response:
|
SELECT "Season" FROM table_7886 WHERE "Third" = 'glen muirhead'
|
### Instruction:
what is the minimum attendance with stadium being cotton bowl
### Response:
|
SELECT MIN("Attendance") FROM table_928 WHERE "Stadium" = 'Cotton Bowl'
|
### Instruction:
What is the Term Start date of the Progressive Party Prime Minister?
### Response:
|
SELECT "Term start" FROM table_47383 WHERE "Political Party" = 'progressive party'
|
### Instruction:
what year was the only year the team qualified for the playoffs ?
### Response:
|
SELECT "year" FROM table_203_462 WHERE "playoffs" <> 'did not qualify'
|
### Instruction:
What is the most goals for when there are fewer than 4 draws?
### Response:
|
SELECT MAX("Goals For") FROM table_43675 WHERE "Drawn" < '4'
|
### Instruction:
How many games were recorded when the team was @ Memphis?
### Response:
|
SELECT COUNT(game) FROM table_17326036_6 WHERE team = "@ Memphis"
|
### Instruction:
What is the largest draw with 37 games from England?
### Response:
|
SELECT MAX(drawn) FROM table_name_65 WHERE nationality = "england" AND games = 37
|
### Instruction:
how many total bridges are in copiah county ?
### Response:
|
SELECT COUNT(DISTINCT "name") FROM table_204_799 WHERE "county" = 'copiah'
|
### Instruction:
What event was in hong kong and went less than 2 rounds?
### Response:
|
SELECT event FROM table_name_66 WHERE round < 2 AND location = "hong kong"
|
### Instruction:
Name the ticket/office for orville preston
### Response:
|
SELECT ticket___office FROM table_22607062_1 WHERE secretary_of_state = "Orville Preston"
|
### Instruction:
What is the catalogue for Harbor Lights as a title?
### Response:
|
SELECT "Catalogue" FROM table_57994 WHERE "Song Title" = 'harbor lights'
|
### Instruction:
Find the name and revenue of the company that earns the highest revenue in each city.
### Response:
|
SELECT name, MAX(revenue), headquarter FROM manufacturers GROUP BY headquarter
|
### Instruction:
Who is the writer for Red Rose Chain LTD?
### Response:
|
SELECT "Writer(s)" FROM table_69402 WHERE "Recipient" = 'red rose chain ltd'
|
### Instruction:
what is the earliest year with the best finish t-65?
### Response:
|
SELECT MIN("Year") FROM table_45273 WHERE "Best finish" = 't-65'
|
### Instruction:
What is the NOAA of the higher harmonics that have a Darwin of mn 4?
### Response:
|
SELECT noaa FROM table_name_49 WHERE darwin = "mn 4"
|
### Instruction:
What shareholder has 3.63 percent of capital?
### Response:
|
SELECT "Shareholder" FROM table_73212 WHERE "Percent of capital" = '3.63'
|
### Instruction:
What week #(s featured sara bareilles as the original artist?
### Response:
|
SELECT "Week #" FROM table_24423 WHERE "Original artist" = 'Sara Bareilles'
|
### Instruction:
who did the music of the first title arunthathi ?
### Response:
|
SELECT "music" FROM table_204_961 WHERE "title" = 'arunthathi'
|
### Instruction:
What is the score when there was a Loss of birkbeck (0 3)?
### Response:
|
SELECT score FROM table_name_70 WHERE loss = "birkbeck (0–3)"
|
### Instruction:
What university is kwaku nyamekye affiliated with?
### Response:
|
SELECT "Affiliation" FROM table_3286 WHERE "Player" = 'Kwaku Nyamekye'
|
### Instruction:
What date did Lanny Wadkins (6) win?
### Response:
|
SELECT "Date" FROM table_36073 WHERE "Winner" = 'lanny wadkins (6)'
|
### Instruction:
What is the average when the rank by average is more than 12?
### Response:
|
SELECT SUM(average) FROM table_name_88 WHERE rank_by_average > 12
|
### Instruction:
for the shows featuring beet sugar, what was on before that
### Response:
|
SELECT "Segment B" FROM table_72656 WHERE "Segment C" = 'Beet Sugar'
|
### Instruction:
What is the name when moving to atl tico minero?
### Response:
|
SELECT "Name" FROM table_59440 WHERE "Moving to" = 'atlético minero'
|
### Instruction:
which tour was the only one to take place in december ?
### Response:
|
SELECT "official title" FROM table_204_634 WHERE "date\nfinish" = 12
|
### Instruction:
What is the sum of totals associated with a UEFA Cup score of 4?
### Response:
|
SELECT SUM("Total") FROM table_40176 WHERE "UEFA Cup" = '4'
|
### Instruction:
What was the aggregate score for the match won by Viadana?
### Response:
|
SELECT "Aggregate score" FROM table_3974 WHERE "Winners" = 'Viadana'
|
### Instruction:
What was the conference when Arizona State won the regular season?
### Response:
|
SELECT conference FROM table_22779004_1 WHERE regular_season_winner = "Arizona State"
|
### Instruction:
Which year did Tony Bettenhausen complete more than 200 laps?
### Response:
|
SELECT "Year" FROM table_71525 WHERE "Laps" > '200'
|
### Instruction:
What is the notes for the vehicle built in 1917?
### Response:
|
SELECT "Notes" FROM table_11199 WHERE "Built" = '1917'
|
### Instruction:
What is the Name for 1997 99?
### Response:
|
SELECT "Name" FROM table_75633 WHERE "Year" = '1997–99'
|
### Instruction:
What is the nationality with a 13.21 time?
### Response:
|
SELECT "Nationality" FROM table_63910 WHERE "Time" = '13.21'
|
### Instruction:
What are incumbent William Vandever's results?
### Response:
|
SELECT "Result" FROM table_37699 WHERE "Incumbent" = 'william vandever'
|
### Instruction:
what's the department with incumbent being enrique ona
### Response:
|
SELECT "Department" FROM table_657 WHERE "Incumbent" = 'Enrique Ona'
|
### Instruction:
What is the To par when Lanny Wadkins is the player?
### Response:
|
SELECT "To par" FROM table_59752 WHERE "Player" = 'lanny wadkins'
|
### Instruction:
Which country has Anselmo Da Silva in lane 2?
### Response:
|
SELECT country FROM table_name_64 WHERE lane < 2 AND name = "anselmo da silva"
|
### Instruction:
What did the away team score when they visited south melbourne?
### Response:
|
SELECT "Away team score" FROM table_51914 WHERE "Home team" = 'south melbourne'
|
### Instruction:
Give me the comparison about gender_mf over the family_name .
### Response:
|
SELECT family_name, gender_mf FROM Course_Authors_and_Tutors ORDER BY personal_name
|
### Instruction:
Which 2nd Party has an Election of 1837?
### Response:
|
SELECT 2 AS nd_party FROM table_name_96 WHERE election = "1837"
|
### Instruction:
What is the Date of vacancy for Tommy McLean?
### Response:
|
SELECT date_of_vacancy FROM table_name_80 WHERE outgoing_manager = "tommy mclean"
|
### Instruction:
What is the long for the player with under 30 carries and 0 yards?
### Response:
|
SELECT long FROM table_name_78 WHERE car < 30 AND yards = "0"
|
### Instruction:
If north melbourne played as the home team, who was the away team they played?
### Response:
|
SELECT away_team FROM table_name_93 WHERE home_team = "north melbourne"
|
### Instruction:
What was the score for the game with FK Bratstvo as home team?
### Response:
|
SELECT "Score" FROM table_75081 WHERE "Home" = 'fk bratstvo'
|
### Instruction:
How many total wins with Shanghai as runner-up?
### Response:
|
SELECT COUNT("Total wins") FROM table_21839 WHERE "Runners-up" = 'Shanghai'
|
### Instruction:
hachinski ischemic score >= 4
### Response:
|
SELECT * FROM table_train_111 WHERE rosen_modified_hachinski_ischemic_score >= 4
|
### Instruction:
What district is F. Edward Hebert the incumbent in?
### Response:
|
SELECT "District" FROM table_729 WHERE "Incumbent" = 'F. Edward Hebert'
|
### Instruction:
Name the written by for production code 4g07
### Response:
|
SELECT "Written by" FROM table_24030 WHERE "Prod. Code" = '4G07'
|
### Instruction:
What is the earliest day that had a game against the Boston Bruins?
### Response:
|
SELECT MIN(february) FROM table_name_90 WHERE opponent = "boston bruins"
|
### Instruction:
What is Team, when Venue is ' kr Saraco lu Stadium'?
### Response:
|
SELECT team FROM table_name_4 WHERE venue = "şükrü saracoğlu stadium"
|
### Instruction:
Which region is identified as 38xa-3 in the catalog?
### Response:
|
SELECT "Region" FROM table_79938 WHERE "Catalog" = '38xa-3'
|
### Instruction:
Who was the winner with a mountain stage type on 22 May?
### Response:
|
SELECT winner FROM table_name_81 WHERE type = "mountain stage" AND date = "22 may"
|
### Instruction:
What is Relax-Gam's average UCI Rating?
### Response:
|
SELECT AVG(uci_rating) FROM table_name_88 WHERE team = "relax-gam"
|
### Instruction:
What is the Airport with the ICAO fo KSEA?
### Response:
|
SELECT "Airport" FROM table_79537 WHERE "ICAO" = 'ksea'
|
### Instruction:
How many free throws did Charles Pearman score?
### Response:
|
SELECT MAX(free_throws) FROM table_28693349_2 WHERE player = "Charles Pearman"
|
### Instruction:
Find Posts with MathJax in title (search for $).
### Response:
|
SELECT Id AS "post_link", Score, Id FROM Posts WHERE Title LIKE '%$%' ORDER BY Score DESC
|
### Instruction:
What was the Independent Church's Split off/ Continuation?
### Response:
|
SELECT split_off___continuation_of FROM table_name_44 WHERE church_name = "independent church"
|
### Instruction:
What team was the opponent on 03/18/08?
### Response:
|
SELECT opponent FROM table_name_41 WHERE date = "03/18/08"
|
### Instruction:
What was the score of the tournament that was held in 1974?
### Response:
|
SELECT score_in_the_final FROM table_name_92 WHERE date = 1974
|
### Instruction:
Give me the comparison about gender_mf over the login_name .
### Response:
|
SELECT login_name, gender_mf FROM Course_Authors_and_Tutors ORDER BY personal_name
|
### Instruction:
How many points for were scored by the team that won exactly 22?
### Response:
|
SELECT points_for FROM table_27293285_6 WHERE won = "22"
|
### Instruction:
When did the party elected in jun. 1959 enter office?
### Response:
|
SELECT entered_office FROM table_name_43 WHERE election = "jun. 1959"
|
### Instruction:
Name the number of high points for ford center
### Response:
|
SELECT COUNT(high_points) FROM table_22879323_9 WHERE location_attendance = "Ford Center"
|
### Instruction:
Give me the average and minimum price (in Euro) of the products.
### Response:
|
SELECT AVG(price_in_euros), MIN(price_in_euros) FROM catalog_contents
|
### Instruction:
What is Builder, when Location is 'Govan , Scotland'?
### Response:
|
SELECT "Builder" FROM table_62324 WHERE "Location" = 'govan , scotland'
|
### Instruction:
what's the position with artbeingt being jim reeves
### Response:
|
SELECT position FROM table_13805432_2 WHERE artist = "Jim Reeves"
|
### Instruction:
A bar chart about how many wines are there for each grape?, order by the total number in ascending.
### Response:
|
SELECT Grape, COUNT(*) FROM wine GROUP BY Grape ORDER BY COUNT(*)
|
### Instruction:
Who had the high assists on the date December 12?
### Response:
|
SELECT "High assists" FROM table_17312 WHERE "Date" = 'December 12'
|
### Instruction:
What is the total of the crowd when the home team is footscray?
### Response:
|
SELECT COUNT(crowd) FROM table_name_60 WHERE home_team = "footscray"
|
### Instruction:
Bar chart x axis type y axis total number of enrollment, and could you sort bars in asc order?
### Response:
|
SELECT Type, SUM(Enrollment) FROM Institution GROUP BY Type ORDER BY Type
|
### Instruction:
With the nickname the swans, what is the home ground?
### Response:
|
SELECT "Home ground(s)" FROM table_73055 WHERE "Nickname" = 'Swans'
|
### Instruction:
What is the total number of rounds that Joe Barnes was picked?
### Response:
|
SELECT COUNT("Round") FROM table_36403 WHERE "Player" = 'joe barnes'
|
### Instruction:
What was the final score when River Plate was the runner-up?
### Response:
|
SELECT "Result" FROM table_24772 WHERE "Runner-Up" = 'River Plate'
|
### Instruction:
How many losses had a played number that was more than 34?
### Response:
|
SELECT COUNT("Losses") FROM table_53524 WHERE "Played" > '34'
|
### Instruction:
How many opponents are at Minnesota Vikings?
### Response:
|
SELECT MAX("Opponents") FROM table_22646 WHERE "Opponent" = 'at Minnesota Vikings'
|
### Instruction:
What is the total and maximum duration of trips with bike id 636?
### Response:
|
SELECT SUM(duration), MAX(duration) FROM trip WHERE bike_id = 636
|
### Instruction:
List the number of assists against illinois-chicago.
### Response:
|
SELECT assists FROM table_26360571_2 WHERE opponent = "Illinois-Chicago"
|
### Instruction:
What was the score for the home team who plays their matches at the mcg venue?
### Response:
|
SELECT home_team AS score FROM table_name_4 WHERE venue = "mcg"
|
### Instruction:
how many players have a height of at least 1.90 ?
### Response:
|
SELECT COUNT("player") FROM table_203_418 WHERE "height" >= 1.90
|
### Instruction:
Which Record has a Result of l 13 30?
### Response:
|
SELECT "Record" FROM table_12522 WHERE "Result" = 'l 13–30'
|
### Instruction:
What is the nickname of the Adrian, Michigan team?
### Response:
|
SELECT team_nickname FROM table_27361255_1 WHERE location = "Adrian, Michigan"
|
### Instruction:
How many episodes in the series are from season 12?
### Response:
|
SELECT "No. in series" FROM table_24883 WHERE "No. in season" = '12'
|
### Instruction:
What is average year for ayan mukerji?
### Response:
|
SELECT AVG("Year") FROM table_58226 WHERE "Director" = 'ayan mukerji'
|
### Instruction:
Where is Tamunosiki Atorudibo from
### Response:
|
SELECT country FROM table_1231316_4 WHERE athlete = "Tamunosiki Atorudibo"
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.