instruction
stringlengths 53
549
| output
stringlengths 30
2.33k
|
---|---|
### Instruction:
Show me a bar chart for how many players are from each country?, and display Y-axis from low to high order.
### Response:
|
SELECT Country_name, COUNT(*) FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id = T2.Country GROUP BY T1.Country_name ORDER BY COUNT(*)
|
### Instruction:
On September 10 during Strikeforce: Heavyweight Grand Prix Semifinals, what was the PPV buyrate?
### Response:
|
SELECT ppv_buyrate FROM table_name_77 WHERE date = "september 10" AND event = "strikeforce: heavyweight grand prix semifinals"
|
### Instruction:
What percentage has a less than 5 place, and a greater than 3 draw, and 'S Teb' as the song?
### Response:
|
SELECT "Percentage" FROM table_65808 WHERE "Place" < '5' AND "Draw" > '3' AND "Song" = 's teb'
|
### Instruction:
what is primary disease and diagnoses short title of subject name stephanie suchan?
### Response:
|
SELECT demographic.diagnosis, diagnoses.short_title FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.name = "Stephanie Suchan"
|
### Instruction:
provide the number of patients whose insurance is medicaid and admission year is less than 2103?
### Response:
|
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.insurance = "Medicaid" AND demographic.admityear < "2103"
|
### Instruction:
What Name is administered by oral or iv, and is being investigated for thyroid imaging thyroid metastases imaging?
### Response:
|
SELECT name FROM table_name_61 WHERE route_of_administration = "oral or iv" AND investigation = "thyroid imaging thyroid metastases imaging"
|
### Instruction:
What are the first names of the professors who do not teach a class.
### Response:
|
SELECT emp_fname FROM employee WHERE emp_jobcode = 'PROF' EXCEPT SELECT T1.emp_fname FROM employee AS T1 JOIN class AS T2 ON T1.emp_num = T2.prof_num
|
### Instruction:
What is the last name of every student who is either female or living in a city with the code BAL or male and under 20?
### Response:
|
SELECT lname FROM student WHERE sex = 'F' AND city_code = 'BAL' UNION SELECT lname FROM student WHERE sex = 'M' AND age < 20
|
### Instruction:
Which gender had a decile of more than 1 and featured the South Auckland Seventh-Day Adventist School?
### Response:
|
SELECT "Gender" FROM table_11936 WHERE "Decile" > '1' AND "Name" = 'south auckland seventh-day adventist school'
|
### Instruction:
What is the largest ethnic group in 2002 for the cyrillic name, other name of ?
### Response:
|
SELECT largest_ethnic_group__2002_ FROM table_2562572_54 WHERE cyrillic_name_other_names = "Бешка"
|
### Instruction:
For the group with 1.92% population in 1981, what was their percentage of the population in 1971?
### Response:
|
SELECT "Population % 1971" FROM table_4505 WHERE "Population % 1981" = '1.92%'
|
### Instruction:
How many teams can still qualify when there are 0 teams that have secured qualification and 52 teams started?
### Response:
|
SELECT "Teams that can still qualify" FROM table_26465 WHERE "Teams that have secured qualification" = '0' AND "Teams started" = '52'
|
### Instruction:
What is the number of wins with a 0 F.L., 0 poles, a position of 7th, and 35 points?
### Response:
|
SELECT wins FROM table_name_98 WHERE fl = "0" AND poles = "0" AND position = "7th" AND points = "35"
|
### Instruction:
What is 1st Party, when First Member is 'Peter John Locke King', and when Second Member is 'James Watney'?
### Response:
|
SELECT 1 AS st_party FROM table_name_18 WHERE first_member = "peter john locke king" AND second_member = "james watney"
|
### Instruction:
which 2012 superhero film did not gross at least 100,000,000 ?
### Response:
|
SELECT "film" FROM table_203_79 WHERE "year" = 2012 AND "worldwide gross" < 100000000
|
### Instruction:
What are the names of artists who did not have an exhibition in 2004?
### Response:
|
SELECT name FROM artist EXCEPT SELECT T2.name FROM exhibition AS T1 JOIN artist AS T2 ON T1.artist_id = T2.artist_id WHERE T1.year = 2004
|
### Instruction:
On what Date was Carole Charbonnier a Runner(s)-up with a 1 stroke Margin of victory?
### Response:
|
SELECT "Date" FROM table_35907 WHERE "Margin of victory" = '1 stroke' AND "Runner(s)-up" = 'carole charbonnier'
|
### Instruction:
If the peak reached is 6 cannot handle non-empty timestamp argument! 1992, what is the entered?
### Response:
|
SELECT "Entered [A ]" FROM table_73955 WHERE "Peak reached [A ]" = '6 Cannot handle non-empty timestamp argument! 1992'
|
### Instruction:
how many patients less than 85 years of age have bladder cancer/sda primary disease?
### Response:
|
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "BLADDER CANCER/SDA" AND demographic.age < "85"
|
### Instruction:
Which Class has a Frequency MHz larger than 91.5, and a City of license of hyannis, nebraska?
### Response:
|
SELECT class FROM table_name_12 WHERE frequency_mhz > 91.5 AND city_of_license = "hyannis, nebraska"
|
### Instruction:
What are all the possible bleeding time results where prothrombin time and platelet count are both unaffected?
### Response:
|
SELECT bleeding_time FROM table_1555308_1 WHERE prothrombin_time = "Unaffected" AND platelet_count = "Unaffected"
|
### Instruction:
What is the highest Game, when Team is 'Celtics', and when High Assists is 'Hedo T rko lu (4)'?
### Response:
|
SELECT MAX(game) FROM table_name_34 WHERE team = "celtics" AND high_assists = "hedo türkoğlu (4)"
|
### Instruction:
Record description of altitude with kg (lb) payload, and a Pilot of g.v. alfyorov had what type?
### Response:
|
SELECT type FROM table_name_73 WHERE record_description = "altitude with kg (lb) payload" AND pilot = "g.v. alfyorov"
|
### Instruction:
What is the total Goals with a Rank smaller than 10, a Name of nicolas anelka, and Appearances larger than 9?
### Response:
|
SELECT SUM(goals) FROM table_name_7 WHERE rank < 10 AND name = "nicolas anelka" AND appearances > 9
|
### Instruction:
what is the number of patients whose age is less than 30 and admission year is less than 2174?
### Response:
|
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.age < "30" AND demographic.admityear < "2174"
|
### Instruction:
Which top ten, having less than 12 cuts less than 2 top five, and events smaller than 14, is the highest?
### Response:
|
SELECT MAX(top_10) FROM table_name_92 WHERE cuts_made < 12 AND top_5 < 2 AND events < 14
|
### Instruction:
Count the number of male students who had class senator votes in the fall election cycle.
### Response:
|
SELECT COUNT(*) FROM student AS T1 JOIN voting_record AS T2 ON T1.stuid = class_senator_vote WHERE T1.sex = "M" AND T2.election_cycle = "Fall"
|
### Instruction:
Find the male friend of Alice whose job is a doctor?
### Response:
|
SELECT T2.friend FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name = T2.friend WHERE T2.name = 'Alice' AND T1.gender = 'male' AND T1.job = 'doctor'
|
### Instruction:
What is the name of the building that was the tallest from 1990 1997 in Frankfurt?
### Response:
|
SELECT "Name" FROM table_56856 WHERE "City" = 'frankfurt' AND "Years as tallest" = '1990–1997'
|
### Instruction:
at which world indoor championships did peter widen achieve a higher position : 1989 or 1991 ?
### Response:
|
SELECT "year" FROM table_204_445 WHERE "year" IN (1989, 1991) ORDER BY "position" LIMIT 1
|
### Instruction:
When the crowd was over 16,000 people and south melbourne was the away team, what date was the game?
### Response:
|
SELECT "Date" FROM table_54684 WHERE "Crowd" > '16,000' AND "Away team" = 'south melbourne'
|
### Instruction:
What championships were played on clay and the opponent was virginia ruano pascual paola su rez?
### Response:
|
SELECT championship FROM table_24638867_4 WHERE surface = "Clay" AND opponent = "Virginia Ruano Pascual Paola Suárez"
|
### Instruction:
Which country in the 2008 summer olympics is vadim devyatovskiy from?
### Response:
|
SELECT "Country" FROM table_79399 WHERE "Olympics" = '2008 summer olympics' AND "Name" = 'vadim devyatovskiy'
|
### Instruction:
how many patients admitted before 2133 were primarily diagnosed for s/p hanging?
### Response:
|
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "S/P HANGING" AND demographic.admityear < "2133"
|
### Instruction:
Which Round has a NHL team of edmonton oilers and a Player of vyacheslav trukhno?
### Response:
|
SELECT AVG("Round") FROM table_35296 WHERE "NHL team" = 'edmonton oilers' AND "Player" = 'vyacheslav trukhno'
|
### Instruction:
What is the last name of the staff who has handled the first ever complaint?
### Response:
|
SELECT t1.last_name FROM staff AS t1 JOIN complaints AS t2 ON t1.staff_id = t2.staff_id ORDER BY t2.date_complaint_raised LIMIT 1
|
### Instruction:
How many games does the player with 1 (0) finals and a w-league of 28 (1) have?
### Response:
|
SELECT "Games" FROM table_64597 WHERE "Finals" = '1 (0)' AND "W-League" = '28 (1)'
|
### Instruction:
How many games for keith j. miller, who debuted after 1974 with less than 1 goal?
### Response:
|
SELECT AVG(games) FROM table_name_28 WHERE goals < 1 AND player = "keith j. miller" AND debut_year > 1974
|
### Instruction:
What are the first and last names of all the female students who have president votes?
### Response:
|
SELECT DISTINCT T1.fname, T1.lname FROM student AS T1 JOIN voting_record AS T2 ON T1.stuid = T2.president_vote WHERE T1.sex = "F"
|
### Instruction:
What is the highest position of club lietava-2 jonava, which has more than 12 points and more than 7 wins?
### Response:
|
SELECT MAX(position) FROM table_name_75 WHERE points > 12 AND club = "lietava-2 jonava" AND wins > 7
|
### Instruction:
what is november 3 when june 10-11 is june 10, 1964?
### Response:
|
SELECT november_3 FROM table_25355392_2 WHERE june_10_11 = "June 10, 1964"
|
### Instruction:
For those products with a price between 60 and 120, visualize a bar chart about the distribution of name and manufacturer , order in descending by the X-axis.
### Response:
|
SELECT Name, Manufacturer FROM Products WHERE Price BETWEEN 60 AND 120 ORDER BY Name DESC
|
### Instruction:
What is Result, when Extra is 'Heptathlon', and when Venue is 'G tzis , Austria'?
### Response:
|
SELECT "Result" FROM table_49797 WHERE "Extra" = 'heptathlon' AND "Venue" = 'götzis , austria'
|
### Instruction:
What is the place of birth when the elevator is Nicholas IV, and elector is Napoleone Orsini Frangipani?
### Response:
|
SELECT place_of_birth FROM table_name_7 WHERE elevator = "nicholas iv" AND elector = "napoleone orsini frangipani"
|
### Instruction:
What are the id and name of the stations that have ever had more than 12 bikes available? Plot them as a bar chart.
### Response:
|
SELECT name, id FROM station AS T1 JOIN status AS T2 ON T1.id = T2.station_id WHERE T2.bikes_available > 12
|
### Instruction:
Find the number of settlements each claim corresponds to. Show the number together with the claim id.
### Response:
|
SELECT T1.claim_id, COUNT(*) FROM claims AS T1 JOIN settlements AS T2 ON T1.claim_id = T2.claim_id GROUP BY T1.claim_id
|
### Instruction:
Which grand prix had gerhard berger in his fastest lap and a jacques villeneuve pole position?
### Response:
|
SELECT "Grand Prix" FROM table_57327 WHERE "Fastest Lap" = 'gerhard berger' AND "Pole Position" = 'jacques villeneuve'
|
### Instruction:
Visualize a bar chart about the distribution of All_Home and the sum of Team_ID , and group by attribute All_Home, and I want to show in ascending by the x axis please.
### Response:
|
SELECT All_Home, SUM(Team_ID) FROM basketball_match GROUP BY All_Home ORDER BY All_Home
|
### Instruction:
Name the average wins for earnings more than 120,367 and events less than 13
### Response:
|
SELECT AVG("Wins") FROM table_58159 WHERE "Earnings ( $ )" > '120,367' AND "Events" < '13'
|
### Instruction:
Find the number of students who are not in the largest major and group by students' first name in a bar chart, and rank from high to low by the y axis.
### Response:
|
SELECT Fname, COUNT(Fname) FROM Student WHERE Major <> (SELECT Major FROM Student) GROUP BY Fname ORDER BY COUNT(Fname) DESC
|
### Instruction:
What was the score for a match before 13, and a home game on April 21, 2008?
### Response:
|
SELECT score FROM table_name_11 WHERE match < 13 AND home_away = "home" AND date = "april 21, 2008"
|
### Instruction:
which other athlete with the same record 4.08 m -lrb- 13ft . 4 1/2 in
### Response:
|
SELECT "athlete" FROM table_204_678 WHERE "record" = '4.08 m (13 ft 41⁄2 in)'
|
### Instruction:
What are the slovenian names of the villages that had 16.7% of slovenes in 1991?
### Response:
|
SELECT "Village (Slovenian)" FROM table_16307 WHERE "Percent of Slovenes 1991" = '16.7%'
|
### Instruction:
what is date of birth and drug name of subject name jerry deberry?
### Response:
|
SELECT demographic.dob, prescriptions.drug FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.name = "Jerry Deberry"
|
### Instruction:
Top 2500 SO Users from India.
### Response:
|
SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS "user_link", Reputation, Location FROM Users WHERE LOWER(Location) LIKE '%bangladesh' ORDER BY Reputation DESC LIMIT 2500
|
### Instruction:
previous third place finisher before jt marvelous
### Response:
|
SELECT "third place" FROM table_204_474 WHERE "year" < (SELECT "year" FROM table_204_474 WHERE "third place" = 'jt marvelous') ORDER BY "year" DESC LIMIT 1
|
### Instruction:
Find comments on my posts.
### Response:
|
SELECT * FROM Comments WHERE PostId IN (SELECT Id FROM Posts WHERE OwnerUserId = '##UserId##' AND ParentId IN (SELECT Id FROM Posts)) AND Text LIKE '%##Word##%' AND UserId != '##UserId##' ORDER BY CreationDate
|
### Instruction:
What was the original airdate for the episode written by daisuke habara and directed by akimitsu sasaki
### Response:
|
SELECT original_airdate FROM table_29039942_1 WHERE writer = "Daisuke Habara" AND director = "Akimitsu Sasaki"
|
### Instruction:
The results for gt2 winning team is all lars-erik nielsen allan simonsen richard westbrook.
### Response:
|
SELECT "Results" FROM table_943 WHERE "GT2 Winning Team" = 'Lars-Erik Nielsen Allan Simonsen Richard Westbrook'
|
### Instruction:
What was the total number of matches that had an outcome of Winner, a partner of John Lloyd, and a clay surface?
### Response:
|
SELECT COUNT(opponents) FROM table_2151643_3 WHERE outcome = "Winner" AND partner = "John Lloyd" AND surface = "Clay"
|
### Instruction:
What was the aveg/g for the qb with the Att-Cmp-Int of 117 215 6?
### Response:
|
SELECT COUNT("Avg/G") FROM table_9026 WHERE "Att-Cmp-Int" = '117–215–6'
|
### Instruction:
What is the 2006 sum with a rank 1 and more than 6758845 in 1996?
### Response:
|
SELECT SUM(2006) FROM table_name_38 WHERE rank = 1 AND 1996 > 6758845
|
### Instruction:
what is admission type and lab test abnormal status of subject id 7273?
### Response:
|
SELECT demographic.admission_type, lab.flag FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.subject_id = "7273"
|
### Instruction:
What is the highest Isolation (km) when the elevation was smaller than 1320, and a Municipality of hinn ya?
### Response:
|
SELECT MAX(isolation__km_) FROM table_name_61 WHERE elevation__m_ < 1320 AND municipality = "hinnøya"
|
### Instruction:
What is the sum of league cup appearances for the players with FA cup goals larger than 0 and FA cup appearances less than 2?
### Response:
|
SELECT SUM("League Cup Apps") FROM table_63771 WHERE "FA Cup Goals" > '0' AND "FA Cup Apps" < '2'
|
### Instruction:
What was the earliest year that an event held in Berlin, Germany had a 100 m hurdles event?
### Response:
|
SELECT MIN("Year") FROM table_60748 WHERE "Venue" = 'berlin, germany' AND "Event" = '100 m hurdles'
|
### Instruction:
how many records had result/games: 10 games (29,606 avg.)
### Response:
|
SELECT COUNT(type_of_record) FROM table_21436373_12 WHERE result_games = "10 games (29,606 avg.)"
|
### Instruction:
Which bowl game has a season greater than 2008, with new orleans, Louisiana as the location?
### Response:
|
SELECT "Bowl game" FROM table_39762 WHERE "Season" > '2008' AND "Location" = 'new orleans, louisiana'
|
### Instruction:
Can you tell me the highest Draws that has the Goal Difference smaller than 64, and the Played larger than 30?
### Response:
|
SELECT MAX("Draws") FROM table_60854 WHERE "Goal Difference" < '64' AND "Played" > '30'
|
### Instruction:
what is the number of patients whose drug name is esmolol?
### Response:
|
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE prescriptions.drug = "Esmolol"
|
### Instruction:
How many rounds were there in Karlskoga Motorstadion with Roger Eriksson at the pole position?
### Response:
|
SELECT COUNT("Round") FROM table_23525 WHERE "Circuit/Location" = 'Karlskoga Motorstadion' AND "Pole Position" = 'Roger Eriksson'
|
### Instruction:
Find posts by you that contain images. Looks for posts owned by the UserId that contain images by querying
for the string '<img' and an optional specific host.
### Response:
|
SELECT Id AS "post_link" FROM Posts WHERE OwnerUserId = '##UserId##' AND Body LIKE '%img%http:%'
|
### Instruction:
give me the number of patients whose gender is f and primary disease is gastrointestinal bleed?
### Response:
|
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.gender = "F" AND demographic.diagnosis = "GASTROINTESTINAL BLEED"
|
### Instruction:
Which home team has a Crowd greater than 28,000, and an Away team of st kilda?
### Response:
|
SELECT "Home team" FROM table_56249 WHERE "Crowd" > '28,000' AND "Away team" = 'st kilda'
|
### Instruction:
When has a Surface of clay, and an Opponent in the final of andr s g mez javier s nchez?
### Response:
|
SELECT date FROM table_name_98 WHERE surface = "clay" AND opponent_in_the_final = "andrés gómez javier sánchez"
|
### Instruction:
Draw a bar chart for how many patients do each physician take care of? List their names and number of patients they take care of.
### Response:
|
SELECT T1.Name, COUNT(*) FROM Physician AS T1 JOIN Patient AS T2 ON T1.EmployeeID = T2.PCP GROUP BY T1.EmployeeID
|
### Instruction:
How many debut years have Years at club of 1950 1951, and Games larger than 14?
### Response:
|
SELECT SUM(debut_year) FROM table_name_39 WHERE years_at_club = "1950–1951" AND games > 14
|
### Instruction:
Which award has the highest player's salary?
### Response:
|
SELECT award_id FROM player_award AS T1 JOIN salary AS T2 ON T1.player_id = T2.player_id GROUP BY T1.award_id ORDER BY AVG(T2.salary) DESC LIMIT 1
|
### Instruction:
did pastor maldonado compete in more races in 2009 or in 2006 ?
### Response:
|
SELECT "season" FROM table_204_283 WHERE "season" IN (2009, 2006) ORDER BY "races" DESC LIMIT 1
|
### Instruction:
how many patients use the neonatal syringe?
### Response:
|
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE prescriptions.drug = "Syringe (Neonatal)"
|
### Instruction:
Show me about the distribution of meter_200 and the average of ID , and group by attribute meter_200 in a bar chart, order total number in asc order.
### Response:
|
SELECT meter_200, AVG(ID) FROM swimmer GROUP BY meter_200 ORDER BY AVG(ID)
|
### Instruction:
Which Avg/G that has a Name of opponents, and an Effic smaller than 129.73?
### Response:
|
SELECT SUM("Avg/G") FROM table_36928 WHERE "Name" = 'opponents' AND "Effic" < '129.73'
|
### Instruction:
What is the average total for the Men's Open of 7, and the men's wheelchair more than 0?
### Response:
|
SELECT AVG("Total") FROM table_62366 WHERE "Men's Open" = '7' AND "Men's Wheelchair" > '0'
|
### Instruction:
What is the name of the person with a type of transfer, and a Transfer fee of 8m + 2m in variables?
### Response:
|
SELECT "Name" FROM table_12748 WHERE "Type" = 'transfer' AND "Transfer fee" = '€8m + €2m in variables'
|
### Instruction:
How many patients have had an open and other sigmoidectomy procedure?
### Response:
|
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE procedures.long_title = "Open and other sigmoidectomy"
|
### Instruction:
Which Time has a Year larger than 1985, and a Place smaller than 2, and an Athlete of riochy sekiya?
### Response:
|
SELECT time FROM table_name_60 WHERE year > 1985 AND place < 2 AND athlete = "riochy sekiya"
|
### Instruction:
What is Nation, when Bronze is 1, when Gold is greater than 0, and when Rank is 2?
### Response:
|
SELECT "Nation" FROM table_49685 WHERE "Bronze" = '1' AND "Gold" > '0' AND "Rank" = '2'
|
### Instruction:
Cuente la cantidad de usuarios existentes en la base de datos..
### Response:
|
SELECT DISTINCT TagName FROM Tags, PostTags, Posts WHERE Tags.Id = PostTags.TagId AND Posts.Id = PostTags.PostId AND Posts.OwnerDisplayName = 'Jon Skeet'
|
### Instruction:
What is the value for Podiums, when the Season is after 2008, and when the Series is GP2 Asia Series?
### Response:
|
SELECT "Podiums" FROM table_67068 WHERE "Season" > '2008' AND "Series" = 'gp2 asia series'
|
### Instruction:
For all employees who have the letters D or S in their first name, visualize a scatter chart about the correlation between manager_id and department_id .
### Response:
|
SELECT MANAGER_ID, DEPARTMENT_ID FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%'
|
### Instruction:
Bring me the list of elective hospital admitted patients who have hemoptysis as their primary disease.
### Response:
|
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_type = "ELECTIVE" AND demographic.diagnosis = "HEMOPYTSIS"
|
### Instruction:
which patients have diagnoses icd9 code 6826?
### Response:
|
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE diagnoses.icd9_code = "6826"
|
### Instruction:
Which College/Junior/Club Team (League) did the player julien cayer who was selected before round 3 play for?
### Response:
|
SELECT college_junior_club_team__league_ FROM table_name_87 WHERE round > 3 AND player = "julien cayer"
|
### Instruction:
What is the lowest population density for the district of Santa Cruz and a Barangay larger than 82?
### Response:
|
SELECT MIN("Pop. density (per km2)") FROM table_66460 WHERE "District" = 'santa cruz' AND "s Barangay" > '82'
|
### Instruction:
What date was the set 1 25 23, and a Set 3 of 25 14?
### Response:
|
SELECT "Date" FROM table_45190 WHERE "Set 1" = '25–23' AND "Set 3" = '25–14'
|
### Instruction:
find the admission location and procedure short title for subject id 2560.
### Response:
|
SELECT demographic.admission_location, procedures.short_title FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.subject_id = "2560"
|
### Instruction:
Which Wins have a Team of winnipeg blue bombers, and a Season larger than 1964?
### Response:
|
SELECT AVG("Wins") FROM table_37071 WHERE "Team" = 'winnipeg blue bombers' AND "Season" > '1964'
|
### Instruction:
What is the total number of Wins when 98 is the rank and the scoring average is more than 73.52?
### Response:
|
SELECT COUNT("Wins") FROM table_7483 WHERE "Rank" = '98' AND "Scoring average" > '73.52'
|
### Instruction:
What lowest bronze has a total of 3, a Nation of hungary, and a Gold smaller than 0?
### Response:
|
SELECT MIN("Bronze") FROM table_71959 WHERE "Total" = '3' AND "Nation" = 'hungary' AND "Gold" < '0'
|
### Instruction:
What is the lwoest round of wild bill's fight night 21 at 5:00?
### Response:
|
SELECT MIN("Round") FROM table_60364 WHERE "Time" = '5:00' AND "Event" = 'wild bill''s fight night 21'
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.