sql
stringlengths
9
2.37k
table
stringclasses
9 values
query
stringlengths
51
503
SELECT Year FROM table WHERE Competition = nswrfl AND Score = 8-21
CREATE TABLE INST, Here is a database schema( table schema);
When did nswrfl has a score of 8-21?.It is not neccessary to use all the tables.
SELECT Opponent FROM table WHERE Week < 8 AND Result = l 28-17
CREATE TABLE INST, Here is a database schema( table schema);
Who was the opponent before week 8 when the result was l 28-17?.It is not neccessary to use all the tables.
SELECT "Points" FROM table_72800 WHERE "Equipment" = 'KTM-VMC'
CREATE TABLE INST, Here is a database schema( table schema);
What are the points for ktm-vmc equipment?It is not neccessary to use all the tables.
SELECT Original air date FROM table WHERE Prod. code = 2ACX12
CREATE TABLE INST, Here is a database schema( table schema);
What was the orginal air date for episodes with production code 2acx12?.It is not neccessary to use all the tables.
SELECT MAX(yards) FROM table_name_51 WHERE rec < 54 AND long < 5 AND player = "todd herremans" AND avg > 1
CREATE TABLE INST, Here is a database schema( table schema);
Which Yards is the highest one that has a Rec smaller than 54 and a Long smaller than 5 and a Player of todd herremans and an Avg larger than 1?It is not neccessary to use all the tables.
SELECT no FROM table_18424435_4 WHERE directed_by = "Kelly Makin" AND written_by = "Mark Ellis & Stephanie Morgenstern"
CREATE TABLE INST, Here is a database schema( table schema);
What number episode in the series was directed by Kelly Makin and written by Mark Ellis & Stephanie Morgenstern?It is not neccessary to use all the tables.
SELECT MIN Year FROM table WHERE Notes = 5.19km, 18controls
CREATE TABLE INST, Here is a database schema( table schema);
What is the lowest Year, when Notes is "5.19km, 18controls"?.It is not neccessary to use all the tables.
SELECT 2nd leg FROM table WHERE 1st Leg = 2-1 AND Home (1st leg) = belgrano
CREATE TABLE INST, Here is a database schema( table schema);
What was the score of the 2nd leg when the Belgrano played the first leg at home with a score of 2-1?.It is not neccessary to use all the tables.
SELECT AVG(quantity) FROM table_name_40 WHERE number_s_ = "1104"
CREATE TABLE INST, Here is a database schema( table schema);
What is the average quantity that has 1104 as the number(s)?It is not neccessary to use all the tables.
SELECT Location FROM table WHERE Original code = victorian rules
CREATE TABLE INST, Here is a database schema( table schema);
What is the location of the original code for victorian rules?.It is not neccessary to use all the tables.
SELECT Party FROM table WHERE District = Pennsylvania 8
CREATE TABLE INST, Here is a database schema( table schema);
What are the parties listed for Pennsylvania 8?.It is not neccessary to use all the tables.
SELECT COUNT(points_1) FROM table_name_10 WHERE lost < 20 AND goals_for > 92
CREATE TABLE INST, Here is a database schema( table schema);
What is the total number of Points 1 when Lost is less than 20 and when Goals For is greater than 92?It is not neccessary to use all the tables.
SELECT south_dakota FROM table_name_17 WHERE oklahoma = "bush"
CREATE TABLE INST, Here is a database schema( table schema);
What South Dakota has Bush of Oklahoma?It is not neccessary to use all the tables.
SELECT location FROM table_name_43 WHERE capacity > 51 OFFSET 500
CREATE TABLE INST, Here is a database schema( table schema);
Which location has a capacity greater than 51500?It is not neccessary to use all the tables.
SELECT candidates FROM table_1341423_49 WHERE first_elected = 1998 AND incumbent = "Paul Ryan"
CREATE TABLE INST, Here is a database schema( table schema);
Who were the candidates in the district first elected in 1998 whose incumbent ended up being Paul Ryan?It is not neccessary to use all the tables.
SELECT High points FROM table WHERE Date = January 2
CREATE TABLE INST, Here is a database schema( table schema);
Who had the highest points on January 2?.It is not neccessary to use all the tables.
SELECT census_ranking FROM table_name_32 WHERE area_km_2 = 173.4
CREATE TABLE INST, Here is a database schema( table schema);
what is the census ranking when the area km 2 is 173.4?It is not neccessary to use all the tables.
SELECT COUNT(game) FROM table_27700375_6 WHERE high_rebounds = "Derrick Favors (8)"
CREATE TABLE INST, Here is a database schema( table schema);
In how many games were the high rebounds made by Derrick Favors (8)?It is not neccessary to use all the tables.
SELECT new_returning_same_network FROM table_169766_13 WHERE previous_network = "NBC"
CREATE TABLE INST, Here is a database schema( table schema);
For the NBC network what was the new/returning/same network status?It is not neccessary to use all the tables.
SELECT CONCAT(YEAR(P.CreationDate), '-', MONTH(P.CreationDate)) AS YearMonth, 'PostgreSQL' AS TagName, COUNT(*) AS PostCount FROM Posts AS P INNER JOIN PostTags AS PT ON (P.Id = PT.PostId) INNER JOIN Tags AS T ON (PT.TagId = T.Id) WHERE T.TagName LIKE 'postgresql%' GROUP BY YEAR(P.CreationDate), MONTH(P.CreationDate) ORDER BY YEAR(P.CreationDate) DESC, MONTH(P.CreationDate) DESC
CREATE TABLE INST, Here is a database schema( table schema);
SO - Total Posts by Database Server Per Month - PostgreSQL.It is not neccessary to use all the tables.
SELECT MAX(year) FROM table_name_20 WHERE engine = "renault ef15 1.5 v6 t" AND points > 5
CREATE TABLE INST, Here is a database schema( table schema);
What is the latest year that has more than 5 points and a renault ef15 1.5 v6 t engine?It is not neccessary to use all the tables.
SELECT score FROM table_name_84 WHERE tie_no = "replay" AND away_team = "watford"
CREATE TABLE INST, Here is a database schema( table schema);
What was the score of the replay game when watford was the away team?It is not neccessary to use all the tables.
SELECT MIN Floors FROM table WHERE Rank > 1 AND Building = the trillium (residential)
CREATE TABLE INST, Here is a database schema( table schema);
What is the lowest amount of floors after rank 1 in the Trillium (residential) building?.It is not neccessary to use all the tables.
SELECT Opponents FROM table WHERE Date = may 3, 1982
CREATE TABLE INST, Here is a database schema( table schema);
Who is the Opponents on May 3, 1982?.It is not neccessary to use all the tables.
SELECT SUM Week FROM table WHERE Result = l 24–21
CREATE TABLE INST, Here is a database schema( table schema);
Tell me the sum of week for result of l 24–21.It is not neccessary to use all the tables.
SELECT AVG(bronze) FROM table_name_89 WHERE rank = "total" AND gold > 59
CREATE TABLE INST, Here is a database schema( table schema);
When the number of gold medals is greater than 59 and the rank is total what is the average bronze medals?It is not neccessary to use all the tables.
SELECT Service Charge FROM table WHERE Designation = 12-pdr light
CREATE TABLE INST, Here is a database schema( table schema);
What is the service chage of the boat howitzers with a 12-pdr light destination?.It is not neccessary to use all the tables.
SELECT COUNT(dominant_religion__2002_) FROM table_2562572_52 WHERE settlement = "Karlovčić"
CREATE TABLE INST, Here is a database schema( table schema);
How many times is the settlement karlovčić?It is not neccessary to use all the tables.
SELECT Height FROM table WHERE Contestant = niurbi encarnación ynoa
CREATE TABLE INST, Here is a database schema( table schema);
What is niurbi encarnación ynoa's height?.It is not neccessary to use all the tables.
SELECT COUNT(earpads) FROM table_1601027_1 WHERE headphone_class = "Prestige" AND us_msrp = "$79"
CREATE TABLE INST, Here is a database schema( table schema);
How many values for earpads correspond to the headphone class Prestige and a US MSRP of $79?It is not neccessary to use all the tables.
SELECT MIN(rank) FROM table_name_75 WHERE gold < 1 AND silver = 0 AND bronze = 1 AND total < 1
CREATE TABLE INST, Here is a database schema( table schema);
What is the lowest rank with less than 1 gold 0 silver 1 bronze and a total less than 1?It is not neccessary to use all the tables.
SELECT Third place FROM table WHERE Runners-up = Laranja Kyoto
CREATE TABLE INST, Here is a database schema( table schema);
who got the third position when laranja kyoto got the second position?.It is not neccessary to use all the tables.
SELECT COUNT Date FROM table WHERE Man of the Match = David Savage
CREATE TABLE INST, Here is a database schema( table schema);
How many dates did David Savage get man of the match?.It is not neccessary to use all the tables.
SELECT 1981 AS _census FROM table_10138926_1 WHERE city = "Livorno"
CREATE TABLE INST, Here is a database schema( table schema);
What's the 1981 census of Livorno?It is not neccessary to use all the tables.
SELECT lab.itemid FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.name = "Stephanie Suchan"
CREATE TABLE INST, Here is a database schema( table schema);
let me know the lab test item id of patient stephanie suchan.It is not neccessary to use all the tables.
SELECT COUNT(points) FROM table_25730209_2 WHERE player = "Donald Green"
CREATE TABLE INST, Here is a database schema( table schema);
How many points did Donald Green score?It is not neccessary to use all the tables.
SELECT Id AS "post_link", Score, ViewCount FROM Posts WHERE Title LIKE '%##Word##%' ORDER BY ViewCount DESC LIMIT 50
CREATE TABLE INST, Here is a database schema( table schema);
Top viewed posts with suck in the title.It is not neccessary to use all the tables.
SELECT MAX Poles FROM table WHERE Series = Macau Grand Prix
CREATE TABLE INST, Here is a database schema( table schema);
Name th most poles for macau grand prix.It is not neccessary to use all the tables.
SELECT position FROM table_name_73 WHERE school_club_team = "far eastern"
CREATE TABLE INST, Here is a database schema( table schema);
Who is the position from the school/club Far Eastern?It is not neccessary to use all the tables.
SELECT driver_s_ FROM table_name_21 WHERE primary_sponsor_s_ = "parts plus"
CREATE TABLE INST, Here is a database schema( table schema);
Parts Plus sponsors what driver?It is not neccessary to use all the tables.
SELECT COUNT Directed by FROM table WHERE Production code = 1ARK08
CREATE TABLE INST, Here is a database schema( table schema);
How many directors were there for the production code 1ark08?.It is not neccessary to use all the tables.
SELECT res FROM table_name_43 WHERE method = "decision (unanimous)" AND opponent = "chris wilson"
CREATE TABLE INST, Here is a database schema( table schema);
What is the result when the method was decision (unanimous) and Chris Wilson was the opponent?It is not neccessary to use all the tables.
SELECT SUM Losses FROM table WHERE Ballarat FL = melton AND Draws < 0
CREATE TABLE INST, Here is a database schema( table schema);
What is the total number of Losses that Melton had when they had fewer Draws than 0?.It is not neccessary to use all the tables.
SELECT nationality FROM table_11545282_12 WHERE player = "Jim Les"
CREATE TABLE INST, Here is a database schema( table schema);
Which country is Jim Les from?It is not neccessary to use all the tables.
SELECT Cargo FROM table WHERE Ship size = aframax
CREATE TABLE INST, Here is a database schema( table schema);
What cargo was contained in a ship size of aframax?.It is not neccessary to use all the tables.
SELECT margin_of_victory FROM table_21649285_2 WHERE no = 4
CREATE TABLE INST, Here is a database schema( table schema);
Margin of victory on no. 4 was?It is not neccessary to use all the tables.
SELECT Date successor seated FROM table WHERE District = Ohio 10th
CREATE TABLE INST, Here is a database schema( table schema);
When were the successor/s seated for Ohio 10th?.It is not neccessary to use all the tables.
SELECT year__ceremony_ FROM table_name_82 WHERE original_title = "naga bonar"
CREATE TABLE INST, Here is a database schema( table schema);
what year did naga bonar take placeIt is not neccessary to use all the tables.
SELECT Spaceport FROM table WHERE Launcher = saturn ib AND Launch complex = lc34
CREATE TABLE INST, Here is a database schema( table schema);
What is the spaceport location that houses the LC34 complex and uses the Saturn IB launcher?.It is not neccessary to use all the tables.
SELECT attendance FROM table_name_92 WHERE date = "june 11"
CREATE TABLE INST, Here is a database schema( table schema);
Name the attendance with date of june 11It is not neccessary to use all the tables.
SELECT COUNT(points) FROM table_name_97 WHERE engine = "ferrari v6" AND year = 1962
CREATE TABLE INST, Here is a database schema( table schema);
In 1962 what was the total number of points when the Engine was Ferrari v6?It is not neccessary to use all the tables.
SELECT Format FROM table WHERE Catalogue = 148615
CREATE TABLE INST, Here is a database schema( table schema);
What format is catalogue 148615 in?.It is not neccessary to use all the tables.
SELECT wind__m_s_ FROM table_1231316_4 WHERE country = "Trinidad and Tobago"
CREATE TABLE INST, Here is a database schema( table schema);
What was the stats of Trinidad and TobagoIt is not neccessary to use all the tables.
SELECT AVG(pick__number) FROM table_name_44 WHERE position = "tight end" AND college = "oklahoma state" AND round > 1
CREATE TABLE INST, Here is a database schema( table schema);
A Round larger than 1 a College of Oklahoma state and a average Pick # that has a Position of tight end is what?It is not neccessary to use all the tables.
SELECT COUNT Year FROM table WHERE Bronze = jamie stevenson
CREATE TABLE INST, Here is a database schema( table schema);
What is the total number of Year, when Bronze is "Jamie Stevenson"?.It is not neccessary to use all the tables.
SELECT win__percentage FROM table_name_3 WHERE 2010 = "qf"
CREATE TABLE INST, Here is a database schema( table schema);
What is the winning % for the 2010 QF?It is not neccessary to use all the tables.
SELECT AVG Rank FROM table WHERE Total < 1
CREATE TABLE INST, Here is a database schema( table schema);
What is the rank for the total less than 1?.It is not neccessary to use all the tables.
SELECT chosen_by FROM table_name_10 WHERE couple = "katee shean joshua allen" AND choreographer_s_ = "nakul dev mahajan"
CREATE TABLE INST, Here is a database schema( table schema);
What is Chosen By when Couple is Katee Shean Joshua Allen and when Choreographer(s) is Nakul Dev Mahajan?It is not neccessary to use all the tables.
SELECT date_of_birth FROM table_12134383_1 WHERE end_of_term = "2April1969"
CREATE TABLE INST, Here is a database schema( table schema);
what's the date of birth with end of term being 2april1969It is not neccessary to use all the tables.
SELECT score FROM table_17118657_7 WHERE game = 12
CREATE TABLE INST, Here is a database schema( table schema);
What was the score on game number 12?It is not neccessary to use all the tables.
SELECT Written by FROM table WHERE Production code = 5AKY04
CREATE TABLE INST, Here is a database schema( table schema);
Who was the writer of the episode with a production code of 5aky04?.It is not neccessary to use all the tables.
SELECT Genre FROM table WHERE Type = 3d AND Developer(s) = valve corporation
CREATE TABLE INST, Here is a database schema( table schema);
What type of 3D game did Valve Corporation release?.It is not neccessary to use all the tables.
SELECT Fate FROM table WHERE Nationality = yugoslavia
CREATE TABLE INST, Here is a database schema( table schema);
What was Yugoslavia's fate?.It is not neccessary to use all the tables.
SELECT MAX Played FROM table WHERE Points = 5 AND Drawn < 1
CREATE TABLE INST, Here is a database schema( table schema);
Which Played is the highest one that has Points of 5, and a Drawn smaller than 1?.It is not neccessary to use all the tables.
SELECT Country_name, COUNT(*) FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id = T2.Country GROUP BY T1.Country_name
CREATE TABLE INST, Here is a database schema( table schema);
Show the country names and the corresponding number of players.It is not neccessary to use all the tables.
SELECT Arranger(s) FROM table WHERE Track = I Kissed a Girl
CREATE TABLE INST, Here is a database schema( table schema);
Who is the arranger for "I KIssed a Girl"?.It is not neccessary to use all the tables.
SELECT Appointed by FROM table WHERE Presentation of Credentials = march 25, 1976
CREATE TABLE INST, Here is a database schema( table schema);
Who appointed the representative that had a Presentation of Credentials on March 25, 1976?.It is not neccessary to use all the tables.
SELECT date_sent FROM table_name_65 WHERE constellation = "cygnus" AND designation_hd = "hd 190360"
CREATE TABLE INST, Here is a database schema( table schema);
What date sent has cygnus as a constellation and hd 190360 as a designation HD?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.ethnicity = "AMERICAN INDIAN/ALASKA NATIVE" AND diagnoses.icd9_code = "2920"
CREATE TABLE INST, Here is a database schema( table schema);
how many american indian/alaska natives had diagnosis icd9 code 2920?It is not neccessary to use all the tables.
SELECT Catalog FROM table WHERE Region = germany
CREATE TABLE INST, Here is a database schema( table schema);
What Catalog was released in Germany?.It is not neccessary to use all the tables.
SELECT residence FROM table_name_20 WHERE party = "dem" AND representative = "linda lawson"
CREATE TABLE INST, Here is a database schema( table schema);
Which Residence has a Party of dem and a Representative of linda lawson?It is not neccessary to use all the tables.
SELECT % in Seats contested FROM table WHERE Party = Revolutionary Socialist Party
CREATE TABLE INST, Here is a database schema( table schema);
What is the percentage seats contested for the revolutionary socialist party?.It is not neccessary to use all the tables.
SELECT MAX(shts) FROM table_name_23 WHERE club = "san jose earthquakes" AND mins > 2700
CREATE TABLE INST, Here is a database schema( table schema);
What is the largest number for SHTS for the San Jose earthquakes with MINS larger than 2700?It is not neccessary to use all the tables.
SELECT AVG Round FROM table WHERE Name = george thomas
CREATE TABLE INST, Here is a database schema( table schema);
In what Round was George Thomas Picked?.It is not neccessary to use all the tables.
SELECT COUNT(entered) FROM table_name_53 WHERE eliminated = "3"
CREATE TABLE INST, Here is a database schema( table schema);
What is the total number of Entered when the eliminated number is 3?It is not neccessary to use all the tables.
SELECT 3rd Runner-up FROM table WHERE 2nd Runner-up = wu si ai, usay(舞思愛)
CREATE TABLE INST, Here is a database schema( table schema);
Name the 3rd runner-up for wu si ai, usay(舞思愛).It is not neccessary to use all the tables.
SELECT t1.customer_name FROM customers AS t1 JOIN customer_orders AS t2 ON t1.customer_id = t2.customer_id JOIN order_items AS t3 ON t2.order_id = t3.order_id JOIN products AS t4 ON t3.product_id = t4.product_id WHERE t4.product_details = 'Latte' INTERSECT SELECT t1.customer_name FROM customers AS t1 JOIN customer_orders AS t2 ON t1.customer_id = t2.customer_id JOIN order_items AS t3 ON t2.order_id = t3.order_id JOIN products AS t4 ON t3.product_id = t4.product_id WHERE t4.product_details = 'Americano'
CREATE TABLE INST, Here is a database schema( table schema);
Find the names of customers who ordered both products Latte and Americano.It is not neccessary to use all the tables.
SELECT champion FROM table_name_33 WHERE israel_bowl = "iv"
CREATE TABLE INST, Here is a database schema( table schema);
Name the champion for israel bowl of ivIt is not neccessary to use all the tables.
SELECT Opponent FROM table WHERE Outcome = runner-up AND Surface = clay
CREATE TABLE INST, Here is a database schema( table schema);
Who did Thomaz Bellucci play against when he became runner-up on a clay surface?.It is not neccessary to use all the tables.
SELECT MIN Goals against FROM table WHERE Goal Difference = 7 AND Losses > 13
CREATE TABLE INST, Here is a database schema( table schema);
Name the least goals for goal difference of 7 and losses more than 13.It is not neccessary to use all the tables.
SELECT Series FROM table WHERE Actor = tom ward
CREATE TABLE INST, Here is a database schema( table schema);
Which Series has an Actor of tom ward?.It is not neccessary to use all the tables.
SELECT "Date" FROM table_35597 WHERE "Length of game" = '75:43'
CREATE TABLE INST, Here is a database schema( table schema);
What was the date of the game that lasted 75:43?It is not neccessary to use all the tables.
SELECT afl_team FROM table_name_14 WHERE position = "offensive tackle" AND pick = 4
CREATE TABLE INST, Here is a database schema( table schema);
Which AFL team has a pick 4 for the offensive tackle position?It is not neccessary to use all the tables.
SELECT MAX(round) FROM table_name_80 WHERE location = "las vegas, nevada, united states" AND event = "wec 25"
CREATE TABLE INST, Here is a database schema( table schema);
What is the highest round in the Wec 25 match in Las Vegas Nevada United States?It is not neccessary to use all the tables.
SELECT transfer_fee FROM table_name_70 WHERE transfer_window = "summer" AND name = "assoumani"
CREATE TABLE INST, Here is a database schema( table schema);
What is the transfer fee of assoumani who has a summer transfer window?It is not neccessary to use all the tables.
SELECT film FROM table_name_1 WHERE year < 2002
CREATE TABLE INST, Here is a database schema( table schema);
Which film was made before 2002?It is not neccessary to use all the tables.
SELECT company FROM table_25794010_1 WHERE county = "Desha"
CREATE TABLE INST, Here is a database schema( table schema);
Name the company for desha countyIt is not neccessary to use all the tables.
SELECT COUNT High rebounds FROM table WHERE Location Attendance = Philips Arena 20,024
CREATE TABLE INST, Here is a database schema( table schema);
How many entries are shown for high rebounds for the philips arena 20,024 game?.It is not neccessary to use all the tables.
SELECT Winner FROM table WHERE Time = 1:12.00 AND Jockey = melvin a. holland
CREATE TABLE INST, Here is a database schema( table schema);
Who is the Winner with a Time of 1:12.00 and Melvin A. Holland as the Jockey?.It is not neccessary to use all the tables.
SELECT Report FROM table WHERE Date = 29 november AND Away team = melbourne tigers
CREATE TABLE INST, Here is a database schema( table schema);
What kind of report was for the game played on 29 November with Melbourne Tigers being the away team?.It is not neccessary to use all the tables.
SELECT vessel_name FROM table_name_56 WHERE flag = "malta" AND type = "panamax" AND class = "gl" AND built > 2010
CREATE TABLE INST, Here is a database schema( table schema);
What is the name of the Malta vessel built after 2010 that is a GL class Panamax vessel?It is not neccessary to use all the tables.
SELECT calls FROM table_name_88 WHERE frequency = "1290 khz"
CREATE TABLE INST, Here is a database schema( table schema);
Tell me the calls for frequency of 1290 khzIt is not neccessary to use all the tables.
SELECT COUNT Average FROM table WHERE Total points = 54 AND Rank by average < 10
CREATE TABLE INST, Here is a database schema( table schema);
What is the total average with 54 total points and a rank less than 10?.It is not neccessary to use all the tables.
SELECT Name FROM table WHERE Listed = 03/31/1989 AND County = spartanburg
CREATE TABLE INST, Here is a database schema( table schema);
What name has a listed of 03/31/1989 in spartanburg county?.It is not neccessary to use all the tables.
SELECT max(concen) FROM resultsdata15
CREATE TABLE INST, Here is a database schema( sampledata15);
What is the maximum pesticide concentration ever found in a commodity?. It is not neccessary to use all the tables.
SELECT Founder FROM table WHERE Date = c. 1900
CREATE TABLE INST, Here is a database schema( table schema);
who is the founder where date is c. 1900.It is not neccessary to use all the tables.
SELECT Train Name FROM table WHERE Frequency (inbound/outbound) = daily AND Destination = rajgir
CREATE TABLE INST, Here is a database schema( table schema);
What is the train name of the rail with a daily frequency and a destination of Rajgir?.It is not neccessary to use all the tables.
SELECT COUNT(result) FROM table_1341472_51 WHERE incumbent = "Toby Roth"
CREATE TABLE INST, Here is a database schema( table schema);
How many districts had results related to incumbent Toby Roth?It is not neccessary to use all the tables.
SELECT winning_span FROM table_1953516_1 WHERE country = "England" AND name = "Paul Casey"
CREATE TABLE INST, Here is a database schema( table schema);
What is the winning span in the country of England with the name of paul casey?It is not neccessary to use all the tables.
SELECT Loss FROM table WHERE Attendance > 47,712 AND Opponent = white sox AND Record = 57–36
CREATE TABLE INST, Here is a database schema( table schema);
Which loss has Attendance more than 47,712, an Opponent of white sox, and a Record of 57–36?.It is not neccessary to use all the tables.