instruction
stringlengths 37
754
| output
stringlengths 9
3.43k
|
---|---|
### Instruction:
What was the maximum speed for the P4-1 (24/36 ps)?
### Response:
| SELECT vmax FROM table_name_78 WHERE type = "p4-1 (24/36 ps)" |
### Instruction:
With an area km 2 of 343.95 what is the official name?
### Response:
| SELECT official_name FROM table_name_38 WHERE area_km_2 = 343.95 |
### Instruction:
What is the reverse when the 1 fraction is 1/480?
### Response:
| SELECT reverse FROM table_1682865_1 WHERE £1_fraction = "1/480" |
### Instruction:
How many different cities are represented by contestants whose height stands at 1.80?
### Response:
| SELECT COUNT("Hometown") FROM table_24997 WHERE "Height" = '1.80' |
### Instruction:
which Score has a Partnering of dmitry tursunov?
### Response:
| SELECT "Score" FROM table_61453 WHERE "Partnering" = 'dmitry tursunov' |
### Instruction:
What is the comissioned for 4 may 1943?
### Response:
| SELECT commissioned FROM table_1220125_4 WHERE laid_down = "4 May 1943" |
### Instruction:
What was the away team score at Brunswick Street Oval?
### Response:
| SELECT "Away team score" FROM table_11532 WHERE "Venue" = 'brunswick street oval' |
### Instruction:
What was the cause of death in the marriage that lasted 28 years?
### Response:
| SELECT "Cause of Death" FROM table_26627 WHERE "Length of Marriage" = '28 years' |
### Instruction:
which years did chile place silver or bronze ?
### Response:
| SELECT "year" FROM table_204_360 WHERE "silver" = 'chile' OR "bronze" = 'chile' |
### Instruction:
What was the earliest date an institution was founded that joined in 1977?
### Response:
| SELECT MIN(founded) FROM table_261913_1 WHERE joined = "1977" |
### Instruction:
What was the 2nd event aired on 8 June 2008?
### Response:
| SELECT event_2 FROM table_name_32 WHERE air_date = "8 june 2008" |
### Instruction:
What is the MLB Draft status of the person who attended Seton Hall Preparatory School?
### Response:
| SELECT mlb_draft FROM table_name_80 WHERE school = "seton hall preparatory school" |
### Instruction:
What is the maximum number of wins in the formula 3 euro series?
### Response:
| SELECT MAX(wins) FROM table_24330803_1 WHERE series = "Formula 3 Euro series" |
### Instruction:
Which NFL Club has a Player of sam tidmore, and a Pick of 81?
### Response:
| SELECT nfl_club FROM table_name_43 WHERE player = "sam tidmore" AND pick = 81 |
### Instruction:
Tell me the report for bugatti and brooklands
### Response:
| SELECT "Report" FROM table_31563 WHERE "Winning constructor" = 'bugatti' AND "Circuit" = 'brooklands' |
### Instruction:
Name the tier 1 ratio for irish life and permanent
### Response:
| SELECT tier_1_ratio FROM table_22368322_2 WHERE institution = "Irish Life and Permanent" |
### Instruction:
what is the highest number of goals did the player with 27 asists score
### Response:
| SELECT MAX(field_goals) FROM table_19722233_5 WHERE assists = 27 |
### Instruction:
how many trains were discontinued in 1958 ?
### Response:
| SELECT COUNT("named trains") FROM table_204_336 WHERE "year discontinued" = 1958 |
### Instruction:
screening urine albumin excretion < 300 mg / gmcr
### Response:
| SELECT * FROM table_train_169 WHERE urine_albumin_excretion < 300 |
### Instruction:
Show all allergies with number of students affected with a bar chart, sort bars in desc order.
### Response:
| SELECT Allergy, COUNT(*) FROM Has_Allergy GROUP BY Allergy ORDER BY Allergy DESC |
### Instruction:
What was the Outcome of the game with a Score of 3 6, 4 6?
### Response:
| SELECT outcome FROM table_name_67 WHERE score = "3–6, 4–6" |
### Instruction:
When the Loss is Johnson (4-12), what is the date?
### Response:
| SELECT "Date" FROM table_38428 WHERE "Loss" = 'johnson (4-12)' |
### Instruction:
Who was on the prohibition ticket when the Greenback ticket had Thomas Armstrong?
### Response:
| SELECT "Prohibition ticket" FROM table_42802 WHERE "Greenback ticket" = 'thomas armstrong' |
### Instruction:
Name the umbr of creators for flash of two worlds
### Response:
| SELECT COUNT(creators) FROM table_19534677_1 WHERE volume_title = "Flash of Two Worlds" |
### Instruction:
Post History Types that don't occur.
### Response:
| SELECT Pt.* FROM PostHistoryTypes AS pt LEFT JOIN PostHistory AS ph ON pt.Id = ph.PostHistoryTypeId WHERE ph.PostHistoryTypeId IS NULL |
### Instruction:
What is the number of the player who went to Southern University?
### Response:
| SELECT "No.(s)" FROM table_72222 WHERE "School/Club Team/Country" = 'Southern University' |
### Instruction:
What is the torque of the 5.8l v12 engine?
### Response:
| SELECT "Torque" FROM table_59006 WHERE "Engine" = '5.8l v12' |
### Instruction:
presence or history of panel _ reactive anti _ hla antibody > 20 % .
### Response:
| SELECT * FROM table_train_225 WHERE panel_reactive_antibodies > 20 |
### Instruction:
Name the un region for 3314000 population
### Response:
| SELECT "U.N. Region" FROM table_20649 WHERE "Population" = '3314000' |
### Instruction:
How much Lost has an Against larger than 19, and a Drawn smaller than 1?
### Response:
| SELECT SUM(lost) FROM table_name_67 WHERE against > 19 AND drawn < 1 |
### Instruction:
how many votes did obama win by in iron county ?
### Response:
| SELECT "obama#" - "mccain#" FROM table_203_660 WHERE "county" = 'iron' |
### Instruction:
How many entries arr there for the top 10 for the 78th position?
### Response:
| SELECT COUNT("Top 10") FROM table_19842 WHERE "Position" = '78th' |
### Instruction:
Which Season has a Level of tier 2 and a Position of 1st?
### Response:
| SELECT COUNT(season) FROM table_name_82 WHERE level = "tier 2" AND position = "1st" |
### Instruction:
What year did the winnings equal $281,945?
### Response:
| SELECT "Year" FROM table_24650 WHERE "Winnings" = '$281,945' |
### Instruction:
How many VFL games were located off Goodenough Island Milne Bay?
### Response:
| SELECT "VFL Games" FROM table_20880 WHERE "Location" = 'off Goodenough Island Milne Bay' |
### Instruction:
What is the format for the one which has a call sign of cite-fm-1?
### Response:
| SELECT "Format" FROM table_62765 WHERE "Call sign" = 'cite-fm-1' |
### Instruction:
List all headquarters and the number of companies in each headquarter with a bar chart, show from low to high by the total number please.
### Response:
| SELECT Headquarters, COUNT(*) FROM company GROUP BY Headquarters ORDER BY COUNT(*) |
### Instruction:
Name the team for w 115 104 (ot)
### Response:
| SELECT "Team" FROM table_2683 WHERE "Score" = 'W 115–104 (OT)' |
### Instruction:
What is the record of the match with Columbus as the home team on March 7?
### Response:
| SELECT record FROM table_name_96 WHERE home = "columbus" AND date = "march 7" |
### Instruction:
For the game against the San Francisco 49ers what was the total attendance?
### Response:
| SELECT SUM(attendance) FROM table_name_12 WHERE opponent = "san francisco 49ers" |
### Instruction:
What division is Traktor Tashkent in 2005?
### Response:
| SELECT division FROM table_name_83 WHERE team = "traktor tashkent" AND season = "2005" |
### Instruction:
What was the Surface on during 10 November 2006?
### Response:
| SELECT "Surface" FROM table_66440 WHERE "Date" = '10 november 2006' |
### Instruction:
What are the public schools with a master's university?
### Response:
| SELECT "Location(s)" FROM table_23889 WHERE "Control" = 'Public' AND "Type" = 'Master''s university' |
### Instruction:
what are the film names with the co-singer vinod rathod?
### Response:
| SELECT "Film name" FROM table_351 WHERE "Co-singer" = 'Vinod Rathod' |
### Instruction:
Find the total revenue of companies of each founder Visualize by bar chart, and display bars in asc order.
### Response:
| SELECT Founder, SUM(Revenue) FROM Manufacturers GROUP BY Founder ORDER BY Founder |
### Instruction:
What type of engine does the model with model designation 97F00 have?
### Response:
| SELECT "Engine" FROM table_23977 WHERE "Model Designation" = '97F00' |
### Instruction:
What is the namesake of the school whose mascot is the patriots?
### Response:
| SELECT "School's namesake" FROM table_55990 WHERE "Mascot" = 'patriots' |
### Instruction:
How many locations were recorded when the opponent Columbus Blue Jackets?
### Response:
| SELECT COUNT(location) FROM table_17360840_9 WHERE opponent = "Columbus Blue Jackets" |
### Instruction:
Are there any useful courses that I should take before INSTHUM 611 ?
### Response:
| SELECT DISTINCT advisory_requirement FROM course WHERE department = 'INSTHUM' AND number = 611 |
### Instruction:
How many field goals were scored by the player that got 7 touchdowns?
### Response:
| SELECT "Field goals (4 points)" FROM table_3399 WHERE "Touchdowns (5 points)" = '7' |
### Instruction:
How many provinces have a density of 165.81?
### Response:
| SELECT COUNT(iso_) AS № FROM table_254234_1 WHERE density² = "165.81" |
### Instruction:
What was the winning car's chassis for the 1982 season?
### Response:
| SELECT "Chassis" FROM table_51569 WHERE "Season" = '1982' |
### Instruction:
What is the lowest elevation value whose highest point is Mont Raimeux?
### Response:
| SELECT "Lowest elevation" FROM table_63626 WHERE "Highest point" = 'mont raimeux' |
### Instruction:
Name the city of license for when founded is october 2010
### Response:
| SELECT "City of License" FROM table_15537 WHERE "Founded" = 'october 2010' |
### Instruction:
What is the barrell profile that goes with the gas piston carbine?
### Response:
| SELECT "Barrel profile" FROM table_17834 WHERE "Name" = 'Gas Piston Carbine' |
### Instruction:
What stage number had the general classification Rory Sutherland?
### Response:
| SELECT COUNT(stage) FROM table_23157997_13 WHERE general_classification = "Rory Sutherland" |
### Instruction:
What is the lifetime (years) for chemical formula ch 4?
### Response:
| SELECT "Lifetime (years)" FROM table_73266 WHERE "Chemical formula" = 'CH 4' |
### Instruction:
What is the average when 2nd highest was 27242?
### Response:
| SELECT MAX("Average") FROM table_2938 WHERE "2nd Highest" = '27242' |
### Instruction:
Name the record for verizon center 20,173
### Response:
| SELECT "Record" FROM table_21460 WHERE "Location Attendance" = 'Verizon Center 20,173' |
### Instruction:
Find the job ID for those jobs which average salary is above 8000.
### Response:
| SELECT job_id FROM employees GROUP BY job_id HAVING AVG(salary) > 8000 |
### Instruction:
How long did it take to ride when the laps were 23 and the grid of 13?
### Response:
| SELECT time FROM table_name_65 WHERE laps = 23 AND grid = 13 |
### Instruction:
What was the score of the game that had a loss of Coates (0 2)?
### Response:
| SELECT "Score" FROM table_67133 WHERE "Loss" = 'coates (0–2)' |
### Instruction:
On what Date was the Score in Final 6 3, 6 3?
### Response:
| SELECT date FROM table_name_70 WHERE score_in_final = "6–3, 6–3" |
### Instruction:
What are some of the useful courses I should take before ASIAN 416 ?
### Response:
| SELECT DISTINCT advisory_requirement FROM course WHERE department = 'ASIAN' AND number = 416 |
### Instruction:
In what class is the laps greater than 134 and the position is 4th?
### Response:
| SELECT class FROM table_name_74 WHERE laps > 134 AND pos = "4th" |
### Instruction:
What is the city/state of the circuit where Russell Ingall Larry Perkins was the winner?
### Response:
| SELECT city___state FROM table_name_87 WHERE winner = "russell ingall larry perkins" |
### Instruction:
what was the number of qb 's selected in the first round ?
### Response:
| SELECT COUNT(*) FROM table_204_389 WHERE "pos." = 'qb' AND "rnd." = 1 |
### Instruction:
What is the upstream speed of the network that costs 39 tl?
### Response:
| SELECT upstream FROM table_17304621_14 WHERE price_tl = "39 TL" |
### Instruction:
what are all the percent (1990) where state is mississippi
### Response:
| SELECT percent__1990_ FROM table_1182314_5 WHERE state = "Mississippi" |
### Instruction:
Which Swimming has a Total larger than 35, and a Volleyball of 1?
### Response:
| SELECT swimming FROM table_name_96 WHERE total > 35 AND volleyball = "1" |
### Instruction:
Create a bar chart showing the total number across location code, and order from high to low by the total number.
### Response:
| SELECT Location_Code, COUNT(*) FROM Document_Locations GROUP BY Location_Code ORDER BY COUNT(*) DESC |
### Instruction:
How many cores does the processor with a release price of $426 have?
### Response:
| SELECT "Cores" FROM table_63211 WHERE "Release price ( USD )" = '$426' |
### Instruction:
how many representatives were appointed by theodore roosevelt ?
### Response:
| SELECT COUNT("title") FROM table_203_778 WHERE "appointed by" = 'theodore roosevelt' |
### Instruction:
Which Class has a Year(s) of Manufacture of 1899?
### Response:
| SELECT class FROM table_name_32 WHERE year_s__of_manufacture = "1899" |
### Instruction:
Which province and flag has a water area (km 2) of 0?
### Response:
| SELECT "Name and flag" FROM table_4514 WHERE "Water area (km 2 )" = '0' |
### Instruction:
What is the position of the player from Fort Lauderdale, Florida?
### Response:
| SELECT "Position" FROM table_77777 WHERE "Hometown" = 'fort lauderdale, florida' |
### Instruction:
what is diagnoses icd9 code of subject id 19420?
### Response:
| SELECT diagnoses.icd9_code FROM diagnoses WHERE diagnoses.subject_id = "19420" |
### Instruction:
What day did the home team score 10.13 (73)?
### Response:
| SELECT "Date" FROM table_4621 WHERE "Home team score" = '10.13 (73)' |
### Instruction:
Who was the director of the film with the original title of 'The Patience Stone'?
### Response:
| SELECT director FROM table_17155250_1 WHERE original_title = "The Patience Stone" |
### Instruction:
What is Player, when Caps is Example, and when Position is Center?
### Response:
| SELECT "Player" FROM table_41529 WHERE "Caps" = 'example' AND "Position" = 'center' |
### Instruction:
What was the result of the election when someone was first elected in 1960?
### Response:
| SELECT result FROM table_1341640_14 WHERE first_elected = 1960 |
### Instruction:
when was otar iosseliani's film selected
### Response:
| SELECT "Year [e ] (Ceremony)" FROM table_22142 WHERE "Director" = 'Otar Iosseliani' |
### Instruction:
What is the lead with a second of Vicki Adams and a third of Anna Sloan?
### Response:
| SELECT lead FROM table_name_74 WHERE second = "vicki adams" AND third = "anna sloan" |
### Instruction:
What is the head of government for Don Stephen Senanayake?
### Response:
| SELECT "Head(s) of Government" FROM table_48325 WHERE "Name" = 'don stephen senanayake' |
### Instruction:
Android questions that does not contain code snippets.
### Response:
| SELECT Body FROM Posts AS Question WHERE NOT Question.Body LIKE '%<code>%' AND Question.Tags LIKE '%android%' ORDER BY ViewCount LIMIT 500 |
### Instruction:
What was the date of the game that had a loss of Risley (0-1)?
### Response:
| SELECT "Date" FROM table_69346 WHERE "Loss" = 'risley (0-1)' |
### Instruction:
How many silver medals when the bronze is more than 2 and having a rank more than 5?
### Response:
| SELECT MAX(silver) FROM table_name_89 WHERE rank > 5 AND bronze > 2 |
### Instruction:
What driver went 14 rounds with a 193 Chassis?
### Response:
| SELECT driver FROM table_name_55 WHERE chassis = "193" AND rounds = "14" |
### Instruction:
What did the tournament that got an A in 1945 get in 1949?
### Response:
| SELECT 1949 FROM table_name_22 WHERE 1945 = "a" |
### Instruction:
What is the website of the school affiliated with the Church of England?
### Response:
| SELECT "School website" FROM table_30577 WHERE "Religious Affiliation" = 'Church of England' |
### Instruction:
Give me the comparison about meter_100 over the Time by a bar chart, and could you rank by the X-axis in ascending?
### Response:
| SELECT Time, meter_100 FROM swimmer ORDER BY Time |
### Instruction:
On what date did they play in Boston Garden with a record of 22-4?
### Response:
| SELECT date FROM table_name_24 WHERE location = "boston garden" AND record = "22-4" |
### Instruction:
How many appearances for psv eindhoven ranked above 11?
### Response:
| SELECT SUM(appearances) FROM table_name_16 WHERE team = "psv eindhoven" AND rank < 11 |
### Instruction:
find out the birth date and time of admission for patient john gartman.
### Response:
| SELECT demographic.dob, demographic.admittime FROM demographic WHERE demographic.name = "John Gartman" |
### Instruction:
What's the position of the player from Germantown, TN?
### Response:
| SELECT position FROM table_11677100_3 WHERE hometown = "Germantown, TN" |
### Instruction:
Tell me the province for 260km ese of calgary
### Response:
| SELECT "Province" FROM table_31585 WHERE "Location" = '260km ese of calgary' |
### Instruction:
Name the nomination in 2011 that won
### Response:
| SELECT "Nomination" FROM table_54986 WHERE "Year" = '2011' AND "Result" = 'won' |
### Instruction:
Which Quantity has an Axle arrangement of 2 c h2?
### Response:
| SELECT AVG("Quantity") FROM table_65188 WHERE "Axle arrangement" = '2′c h2' |
### Instruction:
How many assists per game have 4.2 rebounds per game?
### Response:
| SELECT "Assists per game" FROM table_73585 WHERE "Rebounds per game" = '4.2' |
### Instruction:
What is the partially deleted result for Bunker Hill Mining & Metallurgical?
### Response:
| SELECT partially_deleted FROM table_name_96 WHERE name = "bunker hill mining & metallurgical" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.