sql
stringlengths
9
2.37k
table
stringclasses
9 values
query
stringlengths
51
503
SELECT Entrant FROM table WHERE Engine = maserati straight-6 AND Year < 1958 AND Chassis = maserati 250f AND Points < 4
CREATE TABLE INST, Here is a database schema( table schema);
What kind of Entrant has a Maserati Straight-6 Engine, built in the year 1958 or early, and has a Maserati 250f Chassis with points less than 4?.It is not neccessary to use all the tables.
SELECT COUNT(*) > 0 FROM outputevents WHERE outputevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 95986)) AND outputevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'gastric emesis' AND d_items.linksto = 'outputevents') AND DATETIME(outputevents.charttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') AND STRFTIME('%m', outputevents.charttime) = '05'
CREATE TABLE INST, Here is a database schema( table schema);
patient 95986 has produced gastric emesis in 05/this year?It is not neccessary to use all the tables.
SELECT distance FROM table_name_97 WHERE event = "bass pro shops"
CREATE TABLE INST, Here is a database schema( table schema);
What distance does the Bass Pro Shops event have?It is not neccessary to use all the tables.
SELECT MIN("Points") FROM table_54341 WHERE "Grid" = '2'
CREATE TABLE INST, Here is a database schema( table schema);
What is the point low with 2 grids?It is not neccessary to use all the tables.
SELECT br_sr_no FROM table_name_25 WHERE withdrawn = 1967 AND built < 1892 AND to_iow > 1927 AND sr_name = "freshwater"
CREATE TABLE INST, Here is a database schema( table schema);
What is the BR/SR number of Freshwater which was withdrawn in 1967 and built before 1892 with a To LoW year after 1927?It is not neccessary to use all the tables.
SELECT SUM Frequency MHz FROM table WHERE ERP W < 1
CREATE TABLE INST, Here is a database schema( table schema);
Tell me the sum of frequency for ERP W less than 1.It is not neccessary to use all the tables.
SELECT COUNT(loss) FROM table_name_27 WHERE gain < 1571 AND long < 47 AND avg_g = 36.4
CREATE TABLE INST, Here is a database schema( table schema);
How much Loss has a Gain smaller than 1571 and a Long smaller than 47 and an Avg/G of 36.4?It is not neccessary to use all the tables.
SELECT Id, DisplayName, Reputation, Location FROM Users WHERE Location LIKE '%Sofia%' OR Location LIKE '%Bulgaria%' ORDER BY Reputation DESC LIMIT 150
CREATE TABLE INST, Here is a database schema( table schema);
TOP 150 Users from Bulgaria.It is not neccessary to use all the tables.
SELECT SUM(losses) FROM table_name_60 WHERE wins < 2 AND rank = 10 AND appearances > 3
CREATE TABLE INST, Here is a database schema( table schema);
Tell me the sum of losses for wins less than 2 and rank of 10 with appearances larger than 3It is not neccessary to use all the tables.
SELECT COUNT Constr. FROM table WHERE First win = 1978 Brazilian Grand Prix
CREATE TABLE INST, Here is a database schema( table schema);
Name the number of constr with the first win at the 1978 brazilian grand prix.It is not neccessary to use all the tables.
SELECT Away team FROM table WHERE Tie no = 4
CREATE TABLE INST, Here is a database schema( table schema);
What is Away Team, when Tie No is 4?.It is not neccessary to use all the tables.
SELECT "Date" FROM table_9660 WHERE "Score" = '2–2' AND "Away team" = 'aylesbury united'
CREATE TABLE INST, Here is a database schema( table schema);
Which Date has a Score of 2 2, and an Away team of aylesbury united?It is not neccessary to use all the tables.
SELECT COUNT Written by FROM table WHERE Directed by = Alison Maclean
CREATE TABLE INST, Here is a database schema( table schema);
How many episodes did Alison Maclean direct?.It is not neccessary to use all the tables.
SELECT Position FROM table WHERE Team = Dallas Burn
CREATE TABLE INST, Here is a database schema( table schema);
Dallas Burn's draft pick was which position?.It is not neccessary to use all the tables.
SELECT Score FROM table WHERE Game = 2
CREATE TABLE INST, Here is a database schema( table schema);
When the game is listed as 2, what is the score?.It is not neccessary to use all the tables.
SELECT Average FROM table WHERE Rank = 1
CREATE TABLE INST, Here is a database schema( table schema);
What average has 1 as rhe rank?.It is not neccessary to use all the tables.
SELECT Archive FROM table WHERE Run time = 23:48
CREATE TABLE INST, Here is a database schema( table schema);
Which archive has a run time of 23:48?.It is not neccessary to use all the tables.
SELECT Position FROM table WHERE Competition = super league 1
CREATE TABLE INST, Here is a database schema( table schema);
What Position has a Super League 1 Competition?.It is not neccessary to use all the tables.
SELECT constructor FROM table_name_76 WHERE driver = "jim crawford"
CREATE TABLE INST, Here is a database schema( table schema);
Who built the Jim Crawford car?It is not neccessary to use all the tables.
SELECT COUNT Basketball arena FROM table WHERE Capacity = 3,000
CREATE TABLE INST, Here is a database schema( table schema);
How many basketball arenas are there that belong to a school with a capacity of 3,000?.It is not neccessary to use all the tables.
SELECT opponents FROM table_name_80 WHERE surface = "hard" AND outcome = "runner-up" AND partner = "jarmila gajdošová"
CREATE TABLE INST, Here is a database schema( table schema);
Which Opponents have a Surface of hard and an Outcome of runner-up and a Partner of jarmila gajdošová?It is not neccessary to use all the tables.
SELECT To par FROM table WHERE Score = 70-73-80-68=291
CREATE TABLE INST, Here is a database schema( table schema);
Which To par has a Score of 70-73-80-68=291?.It is not neccessary to use all the tables.
SELECT director FROM table_name_90 WHERE title = "the fugitive"
CREATE TABLE INST, Here is a database schema( table schema);
What is the Director of the Film The Fugitive?It is not neccessary to use all the tables.
SELECT High assists FROM table WHERE Record = 32-19
CREATE TABLE INST, Here is a database schema( table schema);
Who had the most high assists with a record of 32-19?.It is not neccessary to use all the tables.
SELECT AVG Points FROM table WHERE Played > 126
CREATE TABLE INST, Here is a database schema( table schema);
What is the average Points, when Played is greater than 126?.It is not neccessary to use all the tables.
SELECT Goals FROM table WHERE Score = 38-28
CREATE TABLE INST, Here is a database schema( table schema);
Tell me the goals for score of 38-28.It is not neccessary to use all the tables.
SELECT result FROM table_22825058_23 WHERE opponents = "Jiří Novák Radek Štěpánek"
CREATE TABLE INST, Here is a database schema( table schema);
Name the result for jiří novák radek štěpánekIt is not neccessary to use all the tables.
SELECT opponent FROM table_name_27 WHERE loss = "harden (9-6)"
CREATE TABLE INST, Here is a database schema( table schema);
Who was the opponent at the game that had a loss of Harden (9-6)?It is not neccessary to use all the tables.
SELECT province_region FROM table_name_42 WHERE home_campus = "holy cross of davao college"
CREATE TABLE INST, Here is a database schema( table schema);
Where is the Holy Cross of Davao College campus located?It is not neccessary to use all the tables.
SELECT COUNT(games) FROM table_name_20 WHERE goals = 5 AND assists < 8
CREATE TABLE INST, Here is a database schema( table schema);
How many games have 5 goals and less than 8 assists?It is not neccessary to use all the tables.
SELECT score FROM table_name_21 WHERE venue = "royal liverpool golf club" AND champion = "willie hunter"
CREATE TABLE INST, Here is a database schema( table schema);
What is the score of the match won by Willie Hunter at the Royal Liverpool Golf Club?It is not neccessary to use all the tables.
SELECT COUNT(DISTINCT admissions.subject_id) FROM admissions WHERE admissions.hadm_id IN (SELECT icustays.hadm_id FROM icustays WHERE icustays.icustay_id IN (SELECT inputevents_cv.icustay_id FROM inputevents_cv WHERE inputevents_cv.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'nutramigen po' AND d_items.linksto = 'inputevents_cv') AND DATETIME(inputevents_cv.charttime) >= DATETIME(CURRENT_TIME(), '-4 year')))
CREATE TABLE INST, Here is a database schema( table schema);
count the number of patients who had the intake of nutramigen po since 4 years ago.It is not neccessary to use all the tables.
SELECT directed_by FROM table_2370579_1 WHERE written_by = "Tony O'Grady (pseudonym of Brian Clemens)"
CREATE TABLE INST, Here is a database schema( table schema);
Who directed the episode written by Tony O'Grady (pseudonym of brian clemens)?It is not neccessary to use all the tables.
SELECT Original air date FROM table WHERE Title = "Fast Friends"
CREATE TABLE INST, Here is a database schema( table schema);
What date did "fast friends" originally air?.It is not neccessary to use all the tables.
SELECT AVG(rank) FROM table_name_19 WHERE bronze = 2 AND total = 2 AND gold < 0
CREATE TABLE INST, Here is a database schema( table schema);
What is the average Rank when there are 2 bronze the total is 2 and gold is less than 0?It is not neccessary to use all the tables.
SELECT 6:30 pm FROM table WHERE 9:00 am = local programs AND 8:00 am = the early show
CREATE TABLE INST, Here is a database schema( table schema);
What is the 6:30pm show that has The Early Show at 8am and Local Programs at 9am?.It is not neccessary to use all the tables.
SELECT represent FROM table_23495048_2 WHERE height__mtr_ = "1.70"
CREATE TABLE INST, Here is a database schema( table schema);
What country had a contestant that was 1.70 meters tall?It is not neccessary to use all the tables.
SELECT SUM(pos) FROM table_name_32 WHERE team = "roush fenway racing" AND car__number = 99
CREATE TABLE INST, Here is a database schema( table schema);
Which Pos has a Team of roush fenway racing and a Car # of 99?It is not neccessary to use all the tables.
SELECT COUNT Attendance FROM table WHERE Decision = mclean AND Home = calgary
CREATE TABLE INST, Here is a database schema( table schema);
How many people attended the game when Calgary was the home team and the decision was McLean?.It is not neccessary to use all the tables.
SELECT MIN(post_code) FROM table_1976898_1 WHERE chinese_name__simplified___traditional_ = "潜山县 / 潛山縣"
CREATE TABLE INST, Here is a database schema( table schema);
What's the post code of the county with the Chinese name 潜山县 / 潛山縣?It is not neccessary to use all the tables.
SELECT COUNT(points) FROM table_name_39 WHERE goals_scored < 20
CREATE TABLE INST, Here is a database schema( table schema);
What were the total number of points when the amount of goals scored was less than 20?It is not neccessary to use all the tables.
SELECT platform_s_ FROM table_name_11 WHERE game = "red dead redemption"
CREATE TABLE INST, Here is a database schema( table schema);
What was the platform of Red Dead Redemption?It is not neccessary to use all the tables.
SELECT chassis FROM table_name_34 WHERE entrant = "ecurie lutetia"
CREATE TABLE INST, Here is a database schema( table schema);
I want the chassis for entrant of ecurie lutetiaIt is not neccessary to use all the tables.
SELECT Original air date FROM table WHERE Directed by = David Duchovny
CREATE TABLE INST, Here is a database schema( table schema);
When did the episode directed by David Duchovny originally air?.It is not neccessary to use all the tables.
SELECT "Human Development Index (2000)" FROM table_19591 WHERE "INEGI code" = '10'
CREATE TABLE INST, Here is a database schema( table schema);
What is the human development index for the year 2000 where the ingei code is 10?It is not neccessary to use all the tables.
SELECT MAX Year FROM table WHERE Start < 2
CREATE TABLE INST, Here is a database schema( table schema);
Name the most year with start less than 2.It is not neccessary to use all the tables.
SELECT DISTINCT T2.name FROM undergoes AS T1 JOIN patient AS T2 ON T1.patient = T2.SSN JOIN stay AS T3 ON T1.Stay = T3.StayID WHERE T3.room = 111
CREATE TABLE INST, Here is a database schema( table schema);
Find the names of all patients who have an undergoing treatment and are staying in room 111.It is not neccessary to use all the tables.
SELECT steals FROM table_19722664_5 WHERE player = "Nicole Levandusky"
CREATE TABLE INST, Here is a database schema( table schema);
How many steals did Nicole Levandusky make?It is not neccessary to use all the tables.
SELECT Team Nickname FROM table WHERE Institution = University of Nebraska at Omaha
CREATE TABLE INST, Here is a database schema( table schema);
What is the nickname at the University of Nebraska at Omaha?.It is not neccessary to use all the tables.
SELECT First edition FROM table WHERE Pages = 264 AND ISBN = 978-0785111832
CREATE TABLE INST, Here is a database schema( table schema);
Which first edition has 264 pages and the ISBN of 978-0785111832?.It is not neccessary to use all the tables.
SELECT (SELECT patient.admissionweight FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-181433' AND patient.hospitaldischargetime IS NULL) AND NOT patient.admissionweight IS NULL ORDER BY patient.unitadmittime DESC LIMIT 1) - (SELECT patient.admissionweight FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-181433' AND patient.hospitaldischargetime IS NULL) AND NOT patient.admissionweight IS NULL ORDER BY patient.unitadmittime LIMIT 1)
CREATE TABLE INST, Here is a database schema( table schema);
how much changes in the weight of patient 006-181433 last measured on the current hospital visit compared to the first value measured on the current hospital visit?It is not neccessary to use all the tables.
SELECT Configuration FROM table WHERE Country = france AND Type = accounting AND Wheels > 6
CREATE TABLE INST, Here is a database schema( table schema);
What is the configuration for the country France, with accounting as the type, and wheels greater than 6?.It is not neccessary to use all the tables.
SELECT province FROM table_27369069_1 WHERE stadium_capacity = "4,000"
CREATE TABLE INST, Here is a database schema( table schema);
Which province has the soccer stadium that holds 4000 people?It is not neccessary to use all the tables.
SELECT Women's singles FROM table WHERE Year = 1986
CREATE TABLE INST, Here is a database schema( table schema);
Who won women's singles in 1986?.It is not neccessary to use all the tables.
SELECT years FROM table_name_74 WHERE torque = "n·m (lb·ft)@1750-3000" AND model = "sdrive16d"
CREATE TABLE INST, Here is a database schema( table schema);
What years did the sdrive16d model have a Torque of n·m (lb·ft)@1750-3000?It is not neccessary to use all the tables.
SELECT COUNT Driver FROM table WHERE Time/Retired = +3 Laps AND Points = 24
CREATE TABLE INST, Here is a database schema( table schema);
How many drivers where there when the time/retired +3 laps and points were 24?.It is not neccessary to use all the tables.
SELECT COUNT(technique) FROM table_name_89 WHERE highest_rank = "yokozuna" AND total > 11
CREATE TABLE INST, Here is a database schema( table schema);
How much Technique has the Highest rank of yokozuna and a Total larger than 11?It is not neccessary to use all the tables.
SELECT venue FROM table_name_11 WHERE goal__number = 2
CREATE TABLE INST, Here is a database schema( table schema);
What was the venue where goal #2 occured?It is not neccessary to use all the tables.
SELECT COUNT(played) FROM table_name_76 WHERE difference = "22" AND against < 34
CREATE TABLE INST, Here is a database schema( table schema);
What is the total number played with a difference of 22 and less than 34 against?It is not neccessary to use all the tables.
SELECT MAX(draw) FROM table_name_77 WHERE rank = 14 AND televotes > 908
CREATE TABLE INST, Here is a database schema( table schema);
Name the highest Draw which has a Rank of 14 and a Televotes larger than 908?It is not neccessary to use all the tables.
SELECT Model FROM table WHERE Chassis code = w116.036
CREATE TABLE INST, Here is a database schema( table schema);
What's the model that has chassis code W116.036?.It is not neccessary to use all the tables.
SELECT result FROM table_name_22 WHERE category = "choice tv actor: drama"
CREATE TABLE INST, Here is a database schema( table schema);
What is the result of the choice tv actor: drama category?It is not neccessary to use all the tables.
SELECT prime_mover FROM table_name_61 WHERE model = "rs-18"
CREATE TABLE INST, Here is a database schema( table schema);
Which prime mover had a Model of rs-18?It is not neccessary to use all the tables.
SELECT AVG Area (sq mi) FROM table WHERE Area (km²) = 9,630,960 AND National Share (%) > 100
CREATE TABLE INST, Here is a database schema( table schema);
What is the average area in square miles for the division that is 9,630,960 square kilometers with a national share larger than 100%?.It is not neccessary to use all the tables.
SELECT Team (League) FROM table WHERE Reg GP > 62
CREATE TABLE INST, Here is a database schema( table schema);
Which team has a Reg GP over 62?.It is not neccessary to use all the tables.
SELECT nationality FROM table_1473672_3 WHERE nhl_team = "Philadelphia Flyers"
CREATE TABLE INST, Here is a database schema( table schema);
Which nationality is the player from the Philadelphia Flyers?It is not neccessary to use all the tables.
SELECT roomname FROM rooms ORDER BY baseprice
CREATE TABLE INST, Here is a database schema( table schema);
Sort all the rooms according to the price. Just report the room names.It is not neccessary to use all the tables.
SELECT "Main date" FROM table_61173 WHERE "Number of fixtures" = '20'
CREATE TABLE INST, Here is a database schema( table schema);
What was the main date of the round with 20 fixtures?It is not neccessary to use all the tables.
SELECT completed FROM table_name_33 WHERE type = "church" AND list_entry_number = 1068071
CREATE TABLE INST, Here is a database schema( table schema);
What is the completed date of the church with list entry number 1068071?It is not neccessary to use all the tables.
SELECT Nationality FROM table WHERE Player = Alain Labrecque
CREATE TABLE INST, Here is a database schema( table schema);
What country is Alain Labrecque from?.It is not neccessary to use all the tables.
SELECT MAX Year FROM table WHERE Venue = lübker golf resort
CREATE TABLE INST, Here is a database schema( table schema);
What is the latest Year, when the Venue is Lübker Golf Resort?.It is not neccessary to use all the tables.
SELECT COUNT("Hometown") FROM table_31261 WHERE "Name" = 'Faisal Aden'
CREATE TABLE INST, Here is a database schema( table schema);
how many hometowns for faisal aden?It is not neccessary to use all the tables.
SELECT document_id FROM Documents WHERE document_status_code = "done" AND document_type_code = "Paper" EXCEPT SELECT document_id FROM Documents JOIN Ref_Shipping_Agents ON Documents.shipping_agent_code = Ref_Shipping_Agents.shipping_agent_code WHERE Ref_Shipping_Agents.shipping_agent_name = "USPS"
CREATE TABLE INST, Here is a database schema( table schema);
List the document ids of documents with the status done and type Paper which not shipped by the shipping agent named USPS.It is not neccessary to use all the tables.
SELECT casualties FROM table_name_43 WHERE nature_of_incident = "hostile" AND date = "2006-06-26"
CREATE TABLE INST, Here is a database schema( table schema);
Name the casualities for nation of incident of hostile on 2006-06-26It is not neccessary to use all the tables.
SELECT Third place FROM table WHERE Runner-up = Dynamo Moscow
CREATE TABLE INST, Here is a database schema( table schema);
Who won third place with the runner up being dynamo moscow?.It is not neccessary to use all the tables.
SELECT rider FROM table_name_98 WHERE laps < 11 AND bike = "kawasaki zx-10r" AND grid = 8
CREATE TABLE INST, Here is a database schema( table schema);
Name the Rider which has Laps smaller than 11 and a Bike of kawasaki zx-10r and a Grid of 8?It is not neccessary to use all the tables.
SELECT score FROM table_name_69 WHERE surface = "clay" AND partnering = "júlio silva"
CREATE TABLE INST, Here is a database schema( table schema);
Surface of clay and a Partnering of júlio silva had what score?It is not neccessary to use all the tables.
SELECT Transfer window FROM table WHERE Transfer fee = free AND Moving to = norwich city
CREATE TABLE INST, Here is a database schema( table schema);
What is the Transfer window, when the Transfer fee is "free", and when the item "Moving to" is Norwich City?.It is not neccessary to use all the tables.
SELECT country FROM table_name_31 WHERE athletes = "adam van koeverden"
CREATE TABLE INST, Here is a database schema( table schema);
What country does Adam van Koeverden play for?It is not neccessary to use all the tables.
SELECT Round of 16 FROM table WHERE Round of 32 = Koryttseva ( UKR ) W 2–6, 6–1, 7–5
CREATE TABLE INST, Here is a database schema( table schema);
What was round of 16 when in round 32 it was koryttseva ( ukr ) w 2–6, 6–1, 7–5?.It is not neccessary to use all the tables.
SELECT Game FROM table WHERE Location = boston garden AND Record = 49-17
CREATE TABLE INST, Here is a database schema( table schema);
Which game is located in Boston Garden and has a record of 49-17?.It is not neccessary to use all the tables.
SELECT MAX(roll) FROM table_name_79 WHERE authority = "state" AND decile < 8
CREATE TABLE INST, Here is a database schema( table schema);
What is the highest roll number of the school with a state authority and a decile smaller than 8?It is not neccessary to use all the tables.
SELECT manner_of_departure FROM table_name_57 WHERE team = "motherwell"
CREATE TABLE INST, Here is a database schema( table schema);
What is Motherwell Team's manner of departure?It is not neccessary to use all the tables.
SELECT scientific_linux_release FROM table_1500146_1 WHERE delay = "28d"
CREATE TABLE INST, Here is a database schema( table schema);
Name the scientific linux release when delay is 28dIt is not neccessary to use all the tables.
SELECT SUM First Season FROM table WHERE Wins = 1537 AND Seasons > 109
CREATE TABLE INST, Here is a database schema( table schema);
What is the total of First Season games with 1537 Wins and a Season greater than 109?.It is not neccessary to use all the tables.
SELECT Length FROM table WHERE Location = taylorville, illinois
CREATE TABLE INST, Here is a database schema( table schema);
What is the length of the track located in Taylorville, Illinois?.It is not neccessary to use all the tables.
SELECT COUNT Mens Open FROM table WHERE Country = Sweden
CREATE TABLE INST, Here is a database schema( table schema);
How many won the Men's Open if the players are from Sweden?.It is not neccessary to use all the tables.
SELECT Admits boys/girls FROM table WHERE Name of member organization = The Scout Association of Hong Kong
CREATE TABLE INST, Here is a database schema( table schema);
Does the Scout Association of Hong Kong admit boys, girls, or both?.It is not neccessary to use all the tables.
SELECT rating / SHARE(18 - 49) FROM table_20522228_2 WHERE viewers__millions_ = "5.50"
CREATE TABLE INST, Here is a database schema( table schema);
What are the ratings/share ratio when viewers are 5.50 Million?It is not neccessary to use all the tables.
SELECT years_for_jazz FROM table_11545282_10 WHERE no = "35"
CREATE TABLE INST, Here is a database schema( table schema);
During which years did player number 35 play for Jazz?It is not neccessary to use all the tables.
SELECT sunday FROM table_name_79 WHERE friday = "emma willis jamie east"
CREATE TABLE INST, Here is a database schema( table schema);
On the series in which Emma Willis Jamie East presented on Friday who was the presenter on Sunday?It is not neccessary to use all the tables.
SELECT School/Club Team FROM table WHERE Draft = 2008-3 2008
CREATE TABLE INST, Here is a database schema( table schema);
Which team had a 2008-3 2008 draft?.It is not neccessary to use all the tables.
SELECT Incumbent FROM table WHERE Party = Federalist AND First elected = 1803
CREATE TABLE INST, Here is a database schema( table schema);
What incumbent was a federalist that was first elected in 1803?.It is not neccessary to use all the tables.
SELECT Record FROM table WHERE Date = december 4
CREATE TABLE INST, Here is a database schema( table schema);
What was their record on December 4?.It is not neccessary to use all the tables.
SELECT College FROM table WHERE CFL Team = Hamilton Tiger-Cats
CREATE TABLE INST, Here is a database schema( table schema);
What college did the player for the Hamilton Tiger-Cats go to? .It is not neccessary to use all the tables.
SELECT SUM("Swimsuit") FROM table_54691 WHERE "Evening Gown" = '9.773' AND "Average" > '9.674'
CREATE TABLE INST, Here is a database schema( table schema);
What is the sum of swimsuit with an evening gown of 9.773 and average larger than 9.674?It is not neccessary to use all the tables.
SELECT date_of_vacancy FROM table_name_80 WHERE outgoing_manager = "tommy mclean"
CREATE TABLE INST, Here is a database schema( table schema);
What is the Date of vacancy for Tommy McLean?It is not neccessary to use all the tables.
SELECT MAX(q1_pos) FROM table_name_90 WHERE q1_time = "1:31.826" AND q1_order > 7
CREATE TABLE INST, Here is a database schema( table schema);
WHAT IS THE Q1 POS WITH A 1:31.826 Q1 TIME AND Q1 ORDER OF 7?It is not neccessary to use all the tables.
SELECT Building, COUNT(*) FROM Faculty GROUP BY Building ORDER BY Building DESC
CREATE TABLE INST, Here is a database schema( table schema);
Show all the buildings along with the number of faculty members the buildings have Plot them as bar chart, and show from high to low by the x-axis.It is not neccessary to use all the tables.
SELECT Opponent FROM table WHERE Date = Oct. 4
CREATE TABLE INST, Here is a database schema( table schema);
Who was the opponent on Oct. 4?.It is not neccessary to use all the tables.