sql
stringlengths
9
2.37k
table
stringclasses
9 values
query
stringlengths
51
503
SELECT main_use FROM table_name_54 WHERE name = "emley moor tower (mk.3)"
CREATE TABLE INST, Here is a database schema( table schema);
What is the Main use of emley moor tower (mk.3)?It is not neccessary to use all the tables.
SELECT MIN Draws FROM table WHERE Losses > 0 AND Against < 1728 AND Ballarat FL = melton AND Byes < 2
CREATE TABLE INST, Here is a database schema( table schema);
What is the lowest draws that have losses greater than 0, an against less than 1728, melton as the ballarat fl, and byes less than 2?.It is not neccessary to use all the tables.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admityear < "2135" AND diagnoses.long_title = "Urinary incontinence, unspecified"
CREATE TABLE INST, Here is a database schema( table schema);
How many patients admitted before the year 2135 had urinary incontinence (unspecified)?It is not neccessary to use all the tables.
SELECT Points difference FROM table WHERE Points > 3 AND Lost > 0
CREATE TABLE INST, Here is a database schema( table schema);
What is the points difference associated with more than 3 points and more than 0 losses?.It is not neccessary to use all the tables.
SELECT AVG(wins) FROM table_name_11 WHERE against = 1132 AND losses < 7
CREATE TABLE INST, Here is a database schema( table schema);
Can you tell me the average Wins that has the Against of 1132 and the Losses smaller than 7?It is not neccessary to use all the tables.
SELECT COUNT(*) FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '002-77945')) AND DATETIME(medication.drugstarttime) <= DATETIME(CURRENT_TIME()...
CREATE TABLE INST, Here is a database schema( table schema);
count the number of drugs that have been prescribed patient 002-77945 until 3 years ago.It is not neccessary to use all the tables.
SELECT Result FROM table WHERE Box scores = box AND Date = september 25
CREATE TABLE INST, Here is a database schema( table schema);
What was the result of the game on September 25 with a box score of box?.It is not neccessary to use all the tables.
SELECT period FROM table_name_56 WHERE matches = "0 0" AND country = "portugal"
CREATE TABLE INST, Here is a database schema( table schema);
Name the period with matches of 0 0 of portugalIt is not neccessary to use all the tables.
SELECT Event 3 Deadlift FROM table WHERE Name = Hennie Jordan
CREATE TABLE INST, Here is a database schema( table schema);
Name the event 3 deadlift for hennie jordan.It is not neccessary to use all the tables.
SELECT SUM(year) FROM table_name_17 WHERE film = "the adventures of tintin"
CREATE TABLE INST, Here is a database schema( table schema);
Which year did The Adventures of Tintin come out?It is not neccessary to use all the tables.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "BLACK/AFRICAN AMERICAN" AND demographic.admityear < "2178"
CREATE TABLE INST, Here is a database schema( table schema);
how many patients of black/african american ethnicity are admitted before the year 2178?It is not neccessary to use all the tables.
SELECT att_cmp FROM table_name_21 WHERE gp_gs = "7-1"
CREATE TABLE INST, Here is a database schema( table schema);
Which Att-Cmp has a GP-GS of 7-1?It is not neccessary to use all the tables.
SELECT rank FROM table_name_85 WHERE location = "porto alegre"
CREATE TABLE INST, Here is a database schema( table schema);
In Which rank was there a location of porto alegre?It is not neccessary to use all the tables.
SELECT Location FROM table WHERE Runner(s)-up = betsy rawls
CREATE TABLE INST, Here is a database schema( table schema);
Where is runner-up Betsy Rawls from?.It is not neccessary to use all the tables.
SELECT race_name FROM table_name_40 WHERE year = 1946 AND winner = "bill holland"
CREATE TABLE INST, Here is a database schema( table schema);
Which race did Bill Holland win in 1946?It is not neccessary to use all the tables.
SELECT place FROM table_name_95 WHERE score = 71 - 69 - 66 = 206
CREATE TABLE INST, Here is a database schema( table schema);
What is the place of the player with a 71-69-66=206 score?It is not neccessary to use all the tables.
SELECT rider FROM table_name_50 WHERE final_position___tour < 50 AND final_position___vuelta < 11 AND year < 2008
CREATE TABLE INST, Here is a database schema( table schema);
Who is the rider with less than 50 final position-tours and less than 11 final position-vuelta before 2008?It is not neccessary to use all the tables.
SELECT Time/Retired FROM table WHERE Grid > 17 AND Laps = 74
CREATE TABLE INST, Here is a database schema( table schema);
What is the time/retired for a grid over 17 with 74 laps?.It is not neccessary to use all the tables.
SELECT episode__number FROM table_2570269_2 WHERE episode_title = "Leave Takers"
CREATE TABLE INST, Here is a database schema( table schema);
What is the episode number for episode title Leave Takers?It is not neccessary to use all the tables.
SELECT school_club_team FROM table_name_3 WHERE player = "mark eaton"
CREATE TABLE INST, Here is a database schema( table schema);
Who did mark eaton play for?It is not neccessary to use all the tables.
SELECT reunion_weight FROM table_28654454_5 WHERE lbs_lost_finale = "74.4"
CREATE TABLE INST, Here is a database schema( table schema);
What is the reunion weight of the contestant who lost 74.4 lbs at the finale?It is not neccessary to use all the tables.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.age < "49" AND procedures.short_title = "Clo endosc bx bile duct"
CREATE TABLE INST, Here is a database schema( table schema);
what is the number of patients whose age is less than 49 and procedure short title is clo endosc bx bile duct?It is not neccessary to use all the tables.
SELECT "Losing BP" FROM table_70820 WHERE "Lost" = '19' AND "Club" = 'newport saracens rfc'
CREATE TABLE INST, Here is a database schema( table schema);
Name the Losing BP of Newport Saracens RFC and has a Lost of 19.It is not neccessary to use all the tables.
SELECT parent FROM table_name_96 WHERE order = 6
CREATE TABLE INST, Here is a database schema( table schema);
Who was the parent on the order of 6?It is not neccessary to use all the tables.
SELECT PBA team FROM table WHERE College = mlqu
CREATE TABLE INST, Here is a database schema( table schema);
Who is the PBA team with Mlqu college?.It is not neccessary to use all the tables.
SELECT runner_s__up FROM table_name_23 WHERE winner = "sarah brice"
CREATE TABLE INST, Here is a database schema( table schema);
Who was the runner(s)-Up to winner Sarah Brice?It is not neccessary to use all the tables.
SELECT DISTINCT aircraft_code FROM aircraft WHERE aircraft_code = 'M80'
CREATE TABLE INST, Here is a database schema( table schema);
what is the seating capacity on the aircraft M80It is not neccessary to use all the tables.
SELECT MAX Bronze FROM table WHERE Rank = 12
CREATE TABLE INST, Here is a database schema( table schema);
What is the high bronze total for nations ranked 12?.It is not neccessary to use all the tables.
SELECT COUNT(number__map_) FROM table_name_3 WHERE area_in_km² > 13.5 AND population_canada_2011_census = 134 OFFSET 038
CREATE TABLE INST, Here is a database schema( table schema);
How much #s have an Area in km² larger than 13.5 and a Population Canada 2011 Census of 134038?It is not neccessary to use all the tables.
SELECT t1.title FROM film AS T1 JOIN film_market_estimation AS T2 ON T1.Film_ID = T2.Film_ID ORDER BY high_estimate DESC LIMIT 1
CREATE TABLE INST, Here is a database schema( table schema);
What is the title of the film that has the highest high market estimation.It is not neccessary to use all the tables.
SELECT Engine FROM table WHERE Year > 1955 AND Points > 0 AND Entrant = hoover motor express
CREATE TABLE INST, Here is a database schema( table schema);
What was the engine of the Hoover Motor Express after 1955 with greater than 0 points?.It is not neccessary to use all the tables.
SELECT COUNT("Womens singles") FROM table_17385 WHERE "Mens singles" = 'Peter Rasmussen'
CREATE TABLE INST, Here is a database schema( table schema);
How many womens singles winners were there when peter rasmussen won the mens singles?It is not neccessary to use all the tables.
SELECT "Census Ranking" FROM table_1744 WHERE "Official Name" = 'Perth'
CREATE TABLE INST, Here is a database schema( table schema);
What is the census ranking for the Perth parish?It is not neccessary to use all the tables.
SELECT COUNT(*) FROM AIRLINES WHERE Country = "USA"
CREATE TABLE INST, Here is a database schema( table schema);
How many airlines are from USA?It is not neccessary to use all the tables.
SELECT date FROM table_name_14 WHERE high_points = "mehmet okur (24)"
CREATE TABLE INST, Here is a database schema( table schema);
What date did mehmet okur (24) have the most points?It is not neccessary to use all the tables.
SELECT Name FROM table WHERE Type = lake AND County = hennepin AND USGS 7.5' Map = rogers
CREATE TABLE INST, Here is a database schema( table schema);
Which name has a type of lake, a County of hennepin, and a USGS 7.5 Map of rogers?.It is not neccessary to use all the tables.
SELECT "Player" FROM table_12498 WHERE "Place" = '2'
CREATE TABLE INST, Here is a database schema( table schema);
What Player has a Place of 2?It is not neccessary to use all the tables.
SELECT AVG Laps FROM table WHERE Driver = niki lauda AND Grid < 3
CREATE TABLE INST, Here is a database schema( table schema);
How many Laps with a Grid smaller than 3 did Driver NIki Lauda have?.It is not neccessary to use all the tables.
SELECT constructor FROM table_name_56 WHERE team = "trac racing team"
CREATE TABLE INST, Here is a database schema( table schema);
Who is the Constructor for the Trac Racing Team?It is not neccessary to use all the tables.
SELECT record FROM table_name_70 WHERE game = 37
CREATE TABLE INST, Here is a database schema( table schema);
What was the record after game 37?It is not neccessary to use all the tables.
SELECT COUNT(reason_for_change) FROM table_1847180_3 WHERE vacator = "A. Willis Robertson (D)"
CREATE TABLE INST, Here is a database schema( table schema);
How many reasons were given when A. Willis Robertson (D) resigned?It is not neccessary to use all the tables.
SELECT MAX Rank FROM table WHERE Lane = 5
CREATE TABLE INST, Here is a database schema( table schema);
What is the highest rank of a swimmer in lane 5?.It is not neccessary to use all the tables.
SELECT San Javier Municipality (%) FROM table WHERE Cuatro Cañadas Municipality (%) = 202
CREATE TABLE INST, Here is a database schema( table schema);
What is the San Javier municipality percentage if the Cuatro Cañadas municipality percentage is 202?.It is not neccessary to use all the tables.
SELECT Major, COUNT(*) FROM Student GROUP BY Major ORDER BY COUNT(Major) LIMIT 1
CREATE TABLE INST, Here is a database schema( table schema);
Which major has least number of students? List the major and the number of students.It is not neccessary to use all the tables.
SELECT tries_for FROM table_name_74 WHERE tries_against = "30"
CREATE TABLE INST, Here is a database schema( table schema);
What is the number of tries for that has 30 tries against?It is not neccessary to use all the tables.
SELECT tournament FROM table_name_85 WHERE 2006 = "a" AND 2008 = "1r"
CREATE TABLE INST, Here is a database schema( table schema);
Which tournament had a 2008 result of 1R?It is not neccessary to use all the tables.
SELECT First broadcast UK ( BBC Four ) FROM table WHERE Official BARB ratings = 1085000
CREATE TABLE INST, Here is a database schema( table schema);
When was the first UK broadcast when the official Barb ratings was 1085000?.It is not neccessary to use all the tables.
SELECT SUM Goals For FROM table WHERE Games Played > 8
CREATE TABLE INST, Here is a database schema( table schema);
What is the number of Goals For for Games Played more than 8?.It is not neccessary to use all the tables.
SELECT 1 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', patient.hospitaladmittime)) FROM patient WHERE patient.uniquepid = '006-172277' AND patient.hospitaldischargetime IS NULL
CREATE TABLE INST, Here is a database schema( table schema);
how many days has it passed since patient 006-172277 was admitted to the hospital?It is not neccessary to use all the tables.
SELECT MIN Year FROM table WHERE Best finish = t-65
CREATE TABLE INST, Here is a database schema( table schema);
what is the earliest year with the best finish t-65?.It is not neccessary to use all the tables.
SELECT MIN Production code FROM table WHERE Title = "Halloween"
CREATE TABLE INST, Here is a database schema( table schema);
What is the production code of the episode titled "Halloween"? .It is not neccessary to use all the tables.
SELECT winning_horse FROM table_name_81 WHERE winning_jockey = "rafael bejarano"
CREATE TABLE INST, Here is a database schema( table schema);
Who is the jockey for the winning horse Rafael Bejarano?It is not neccessary to use all the tables.
SELECT extra FROM table_name_37 WHERE result = "4th"
CREATE TABLE INST, Here is a database schema( table schema);
What is the extra result of the 4th game?It is not neccessary to use all the tables.
SELECT trigger_pack FROM table_19901_1 WHERE rear_sight_type = "A1" AND colt_model_no = "602"
CREATE TABLE INST, Here is a database schema( table schema);
What is the trigger pack on the Colt 602 with the a1 rear sight type?It is not neccessary to use all the tables.
SELECT DISTINCT Id AS "post_link", Tags FROM Posts WHERE PostTypeId = 1 AND (Title LIKE 'What is the%' OR Title LIKE 'What was the%' OR Title LIKE 'Which%' OR Title LIKE 'Who was%' OR Title LIKE 'When did the%') AND (Title LIKE '%most%' OR Title LIKE '%longest%' OR Title LIKE '%first%' OR Title LIKE '%biggest%' OR Titl...
CREATE TABLE INST, Here is a database schema( table schema);
Questions about Records (Movies & TV).It is not neccessary to use all the tables.
SELECT MAX(round_4) FROM table_name_56 WHERE score = 284 AND year > 1998
CREATE TABLE INST, Here is a database schema( table schema);
What is the highest score in round 4 and total of 284 in a year more recent than 1998?It is not neccessary to use all the tables.
SELECT ezhavas FROM table_23214055_2 WHERE muslims = "5.4"
CREATE TABLE INST, Here is a database schema( table schema);
Name the ezhavas for muslims being 5.4It is not neccessary to use all the tables.
SELECT rider_names FROM table_27833186_1 WHERE location = "Euer Valley, CA" AND horse_name = "Magic Sirocco"
CREATE TABLE INST, Here is a database schema( table schema);
Who were the winning riders of the championship in Euer Valley CA and whose horse was Magic Sirocco?It is not neccessary to use all the tables.
SELECT "Company" FROM table_23803 WHERE "Free float" = '0.2726'
CREATE TABLE INST, Here is a database schema( table schema);
Which companies have a free float of 0.2726?It is not neccessary to use all the tables.
SELECT eagle_riders FROM table_17480471_3 WHERE ova__harmony_gold_dub_ = "Dr. Kozaburo Nambu"
CREATE TABLE INST, Here is a database schema( table schema);
Which eagle riders whose ova (harmony gold dub) is dr. kozaburo nambu?It is not neccessary to use all the tables.
SELECT Fleet number(s) FROM table WHERE Serial numbers = 68056
CREATE TABLE INST, Here is a database schema( table schema);
What is the fleet number for the model with Serial number 68056?.It is not neccessary to use all the tables.
SELECT Location FROM GreaterManchesterCrime WHERE Type = "Burglary" GROUP BY Location ORDER BY count(*) DESC LIMIT 1
CREATE TABLE INST, Here is a database schema( greater manchester crime);
Which neighborhood/area has the highest burglary rate?. It is not neccessary to use all the tables.
SELECT Opponent FROM table WHERE Loss = trachsel (10-11)
CREATE TABLE INST, Here is a database schema( table schema);
What opponent has a loss of Trachsel (10-11)?.It is not neccessary to use all the tables.
SELECT width_feet__m_ FROM table_name_8 WHERE source__year_ = "zacher (1994)"
CREATE TABLE INST, Here is a database schema( table schema);
What is the width for hte truss with a source of zacher (1994)?It is not neccessary to use all the tables.
SELECT MIN(size) FROM table_name_94 WHERE school = "international"
CREATE TABLE INST, Here is a database schema( table schema);
What is the size of the International school?It is not neccessary to use all the tables.
SELECT State (class) FROM table WHERE Vacator = Isaac D. Barnard (J)
CREATE TABLE INST, Here is a database schema( table schema);
Name the state class for isaac d. barnard (j).It is not neccessary to use all the tables.
SELECT COUNT("name") FROM table_204_877 WHERE "position" IN ('mf', 'df')
CREATE TABLE INST, Here is a database schema( table schema);
how many players play either mf or df ?It is not neccessary to use all the tables.
SELECT MIN(season) FROM table_name_46 WHERE venue = "waverley park" AND score = "15.12 (102) – 9.14 (68)" AND margin > 34
CREATE TABLE INST, Here is a database schema( table schema);
When is the earliest season at waverley park a Score of 15.12 (102) – 9.14 (68) and a Margin larger than 34?It is not neccessary to use all the tables.
SELECT "Year Built" FROM table_10091 WHERE "Name" = 'cormorant'
CREATE TABLE INST, Here is a database schema( table schema);
What year was the cormorant built in?It is not neccessary to use all the tables.
SELECT Liscumb FROM table WHERE Gauthier = 34
CREATE TABLE INST, Here is a database schema( table schema);
What is the Liscumb when Gauthier is 34?.It is not neccessary to use all the tables.
SELECT "Launched" FROM table_61233 WHERE "Commissioned" = '25 july 1998'
CREATE TABLE INST, Here is a database schema( table schema);
What is Launched, when Commissioned is '25 July 1998'?It is not neccessary to use all the tables.
SELECT title FROM table_25548213_1 WHERE directed_by = "Bill Lawrence"
CREATE TABLE INST, Here is a database schema( table schema);
What was the name of the episode that bill lawrence directed?It is not neccessary to use all the tables.
SELECT "Thai name" FROM table_61946 WHERE "Transcription" = 'wan phruehatsabodi'
CREATE TABLE INST, Here is a database schema( table schema);
WHich Thai name has a Transcription of wan phruehatsabodi?It is not neccessary to use all the tables.
SELECT MIN Crowd FROM table WHERE Home team score = 15.20 (110) AND Home team = carlton
CREATE TABLE INST, Here is a database schema( table schema);
Which Crowd has a Home team score of 15.20 (110), and a Home team of carlton?.It is not neccessary to use all the tables.
SELECT videoconferencing FROM table_name_24 WHERE synchronous_conferencing = "no" AND web_conferencing = "no" AND faxing = "yes"
CREATE TABLE INST, Here is a database schema( table schema);
What is Videoconferencing when Synchronous Conferencing is "No" when Web Conferencing is "No" and when Faxing is "Yes"?It is not neccessary to use all the tables.
SELECT Venue FROM table WHERE Away team score = 20.17 (137)
CREATE TABLE INST, Here is a database schema( table schema);
Where was the game played that had an away team score of 20.17 (137)?.It is not neccessary to use all the tables.
SELECT Winning driver FROM table WHERE Name = kraco car stereo 150
CREATE TABLE INST, Here is a database schema( table schema);
Who was the winning driver of the Kraco Car Stereo 150?.It is not neccessary to use all the tables.
SELECT SUM("Points") FROM table_47403 WHERE "Played" < '38'
CREATE TABLE INST, Here is a database schema( table schema);
What is the points when played is less than 38?It is not neccessary to use all the tables.
SELECT record FROM table_name_13 WHERE event = "cage combat fighting championships: mayhem"
CREATE TABLE INST, Here is a database schema( table schema);
For the Cage Combat Fighting Championships: Mayhem what was the record?It is not neccessary to use all the tables.
SELECT Record FROM table WHERE Date = April 3
CREATE TABLE INST, Here is a database schema( table schema);
What was the Timberwolves' record on April 3? .It is not neccessary to use all the tables.
SELECT Club FROM table WHERE Away result = 1–1 AND Round = 1r AND Season = 1967-68
CREATE TABLE INST, Here is a database schema( table schema);
Away result of 1–1, and a Round of 1r, and a Season of 1967-68 involves what club?.It is not neccessary to use all the tables.
SELECT captain FROM table_18752986_1 WHERE location = "Caversham"
CREATE TABLE INST, Here is a database schema( table schema);
For location Caversham what is the name of the captain?It is not neccessary to use all the tables.
SELECT position FROM table_name_41 WHERE time = "1:45:53:00"
CREATE TABLE INST, Here is a database schema( table schema);
Which position has a time of 1:45:53:00?It is not neccessary to use all the tables.
SELECT directed_by FROM table_12722302_2 WHERE us_viewers__million_ = "3.19"
CREATE TABLE INST, Here is a database schema( table schema);
Who directed the episode with 3.19 million u.s. viewers?It is not neccessary to use all the tables.
SELECT SUM(date) FROM table_name_3 WHERE score = "6–3, 7–6"
CREATE TABLE INST, Here is a database schema( table schema);
Which Date has a Score of 6 3, 7 6?It is not neccessary to use all the tables.
SELECT scores_by_each_individual_judge FROM table_name_67 WHERE status = "current" AND co_contestant__yaar_vs_pyaar_ = "krushna abhishek"
CREATE TABLE INST, Here is a database schema( table schema);
What Scores by each individual judge has a Status of current, and a Co-contestant (Yaar vs. Pyaar) of krushna abhishek?It is not neccessary to use all the tables.
SELECT CRS_DESCRIPTION, COUNT(CRS_DESCRIPTION) FROM CLASS AS T1 JOIN EMPLOYEE AS T2 ON T1.PROF_NUM = T2.EMP_NUM JOIN COURSE AS T3 ON T1.CRS_CODE = T3.CRS_CODE GROUP BY EMP_FNAME, CRS_DESCRIPTION ORDER BY COUNT(CRS_DESCRIPTION)
CREATE TABLE INST, Here is a database schema( table schema);
How many courses for each course description? Show me a stacked bar chart The x-axis is course description and group by instructor's name, and order from low to high by the y axis.It is not neccessary to use all the tables.
SELECT Valley Vista FROM table WHERE Dysart = 1668
CREATE TABLE INST, Here is a database schema( table schema);
What Valley Vista has a Dysart of 1668?.It is not neccessary to use all the tables.
SELECT Venue FROM table WHERE Away team score = 14.12 (96)
CREATE TABLE INST, Here is a database schema( table schema);
Where did the away team score 14.12 (96)?.It is not neccessary to use all the tables.
SELECT laps FROM table_name_92 WHERE manufacturer = "suzuki" AND time_retired = "+1:02.804"
CREATE TABLE INST, Here is a database schema( table schema);
Name the laps for suzuki and time/retired of +1:02.804It is not neccessary to use all the tables.
SELECT Date FROM table WHERE Transfer fee = £8.8m
CREATE TABLE INST, Here is a database schema( table schema);
Which Date had a Transfer fee of £8.8m?.It is not neccessary to use all the tables.
SELECT Wins FROM table WHERE Class = 500cc AND Year = 1979
CREATE TABLE INST, Here is a database schema( table schema);
How many wins did the 500cc class have in 1979?.It is not neccessary to use all the tables.
SELECT date FROM table_name_23 WHERE loss = "trout (4-2)"
CREATE TABLE INST, Here is a database schema( table schema);
On which day did the Chicago Cubs have a loss of trout (4-2)?It is not neccessary to use all the tables.
SELECT team FROM table_21824695_8 WHERE average = 7757
CREATE TABLE INST, Here is a database schema( table schema);
Which team has 7757 as the average?It is not neccessary to use all the tables.
SELECT score FROM table_name_5 WHERE date = "april 23"
CREATE TABLE INST, Here is a database schema( table schema);
What was the score on April 23?It is not neccessary to use all the tables.
SELECT Player FROM table WHERE Country = united states AND Money ($) > 535,000 AND Place = t10 AND Score = 73-68-73-74=288
CREATE TABLE INST, Here is a database schema( table schema);
Which player has United States as the country, more money ($) than 535,000, t10 as the place, with 73-68-73-74=288 as the score?.It is not neccessary to use all the tables.
SELECT COUNT Money ( $ ) FROM table WHERE Place = t2 AND Country = united states AND Player = leo diegel
CREATE TABLE INST, Here is a database schema( table schema);
What is the total amount of money that has a t2 place, is from the United States for player Leo Diegel?.It is not neccessary to use all the tables.
SELECT score FROM table_name_81 WHERE loss = "maholm (2–4)"
CREATE TABLE INST, Here is a database schema( table schema);
What was the score of the game with a loss of Maholm (2–4)?It is not neccessary to use all the tables.
SELECT Penalties FROM table WHERE G.F. = 40
CREATE TABLE INST, Here is a database schema( table schema);
How many penalties were there in the game with a G.F. of 40?.It is not neccessary to use all the tables.
SELECT AVG("Last CF") FROM table_60294 WHERE "CF appearances" < '4' AND "CF wins" < '1' AND "Team" = 'st. louis blues'
CREATE TABLE INST, Here is a database schema( table schema);
What is the average last cf of the st. louis blues, who has less than 4 cf appearances and less than 1 cf wins?It is not neccessary to use all the tables.