sql
stringlengths
9
2.37k
table
stringclasses
9 values
query
stringlengths
51
503
SELECT Title FROM table WHERE Format = cd AND Artist = misfits
CREATE TABLE INST, Here is a database schema( table schema);
What is the title of the Misfits with a CD format?.It is not neccessary to use all the tables.
SELECT COUNT Nomination FROM table WHERE Actors Name = Natalia Raskokoha
CREATE TABLE INST, Here is a database schema( table schema);
What was the number of nominations for natalia raskokoha?.It is not neccessary to use all the tables.
SELECT SUM(cost.cost) FROM cost WHERE cost.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 76372 AND admissions.dischtime IS NULL)
CREATE TABLE INST, Here is a database schema( table schema);
how much patient 76372 had to pay for their stay in hospital on this hospital encounter?It is not neccessary to use all the tables.
SELECT "State" FROM table_57389 WHERE "City" = 'knoxville'
CREATE TABLE INST, Here is a database schema( table schema);
In which state is the city of knoxville?It is not neccessary to use all the tables.
SELECT Points for FROM table WHERE Points against = 556
CREATE TABLE INST, Here is a database schema( table schema);
what's the points for with points against being 556.It is not neccessary to use all the tables.
SELECT MIN Opening FROM table WHERE Tenant = Bursaspor
CREATE TABLE INST, Here is a database schema( table schema);
When did the stadium where Bursaspor is the tenant open?.It is not neccessary to use all the tables.
SELECT Network FROM table WHERE Lap-by-lap = Marty Reid AND Host = Marty Reid
CREATE TABLE INST, Here is a database schema( table schema);
Which network has Marty Reid as host and lap-by-lap broadcaster?.It is not neccessary to use all the tables.
SELECT "Competition" FROM table_5808 WHERE "Opponent" = 'police' AND "Venue" = 'selayang stadium'
CREATE TABLE INST, Here is a database schema( table schema);
Which competition had an opponent of Police at the Selayang Stadium?It is not neccessary to use all the tables.
SELECT DATEDIFF(MONTH, u.CreationDate, CreationDate) AS "Account age (months)", AVG(CAST(p.Score AS FLOAT)) AS "Average score", DATEDIFF(YEAR, p.CreationDate, GETDATE()) FROM Posts AS p INNER JOIN Users AS u ON p.OwnerUserId = u.Id WHERE p.PostTypeId = 1 AND DATEDIFF(MONTH, u.CreationDate, CreationDate) >= 0 GROUP BY DATEDIFF(MONTH, u.CreationDate, CreationDate), DATEDIFF(YEAR, p.CreationDate, GETDATE()) ORDER BY DATEDIFF(MONTH, u.CreationDate, CreationDate), DATEDIFF(YEAR, p.CreationDate, GETDATE())
CREATE TABLE INST, Here is a database schema( table schema);
Average question score by account age in months.It is not neccessary to use all the tables.
SELECT HIRE_DATE, SUM(SALARY) FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY SUM(SALARY) DESC
CREATE TABLE INST, Here is a database schema( table schema);
For those employees who do not work in departments with managers that have ids between 100 and 200, draw a bar chart about the distribution of hire_date and the sum of salary bin hire_date by weekday, could you display total number from high to low order?It is not neccessary to use all the tables.
SELECT points_for FROM table_name_31 WHERE played = "18" AND club = "bala rfc"
CREATE TABLE INST, Here is a database schema( table schema);
What points has 18 for the played and bala rfc as the club?It is not neccessary to use all the tables.
SELECT location__all_in_nagano__ FROM table_name_7 WHERE name = "sakakita bs"
CREATE TABLE INST, Here is a database schema( table schema);
What location has the name of Sakakita BS?It is not neccessary to use all the tables.
SELECT AVG(round) FROM table_name_75 WHERE school_club_team = "memphis"
CREATE TABLE INST, Here is a database schema( table schema);
In what Round was the Memphis Player drafted?It is not neccessary to use all the tables.
SELECT Silver FROM table WHERE Gold > 12 AND Bronze = 11
CREATE TABLE INST, Here is a database schema( table schema);
How many silver medals were won by the participant(s) that had more than 12 gold medals and 11 bronze medals?.It is not neccessary to use all the tables.
SELECT Position FROM table WHERE MLS Team = colorado rapids AND Pick # > 15
CREATE TABLE INST, Here is a database schema( table schema);
What position does the Colorado Rapids pick after 15 play?.It is not neccessary to use all the tables.
SELECT Original title FROM table WHERE Year (Ceremony) = 1992 (65th)
CREATE TABLE INST, Here is a database schema( table schema);
What is the Original Title of the 1992 (65th) Film.It is not neccessary to use all the tables.
SELECT Reign ended FROM table WHERE Length = 3 days AND Country = afghanistan
CREATE TABLE INST, Here is a database schema( table schema);
Whose reign ended in Afghanistan after 3 days?.It is not neccessary to use all the tables.
SELECT release_date FROM table_name_27 WHERE model_number = "core i7-940"
CREATE TABLE INST, Here is a database schema( table schema);
What's the release date of model number CORE I7-940?It is not neccessary to use all the tables.
SELECT report FROM table_name_16 WHERE away_team = "sydney spirit" AND score = "96-87"
CREATE TABLE INST, Here is a database schema( table schema);
What was the report for an away team of Sydney Spirit and score of 96-87?It is not neccessary to use all the tables.
SELECT party FROM table_1346137_4 WHERE district = "South Carolina 3"
CREATE TABLE INST, Here is a database schema( table schema);
What was the winning part in the district of South Carolina 3?It is not neccessary to use all the tables.
SELECT Manufacturer FROM table WHERE Year withdrawn = 1927
CREATE TABLE INST, Here is a database schema( table schema);
Who manufactured the vehicle that was withdrawn in 1927?.It is not neccessary to use all the tables.
SELECT Institution FROM table WHERE Men’s Nickname = Blazers
CREATE TABLE INST, Here is a database schema( table schema);
Which college has the men's nickname of the blazers?.It is not neccessary to use all the tables.
SELECT COUNT N FROM table WHERE R1b1a2 (R-M269) = 0.6%
CREATE TABLE INST, Here is a database schema( table schema);
How many n are listed for 0.6% r1b1a2 (r-m269)?.It is not neccessary to use all the tables.
SELECT MIN(total__kg_) FROM table_name_48 WHERE clean_ & _jerk < 153 AND snatch < 100
CREATE TABLE INST, Here is a database schema( table schema);
Which Total (kg) has a Clean & Jerk smaller than 153 and a Snatch smaller than 100?It is not neccessary to use all the tables.
SELECT Notes FROM table WHERE Withdrawn = 1956–57
CREATE TABLE INST, Here is a database schema( table schema);
what's the notes where withdrawn is 1956–57.It is not neccessary to use all the tables.
SELECT school FROM table_name_75 WHERE player = "conor jackson"
CREATE TABLE INST, Here is a database schema( table schema);
What school did Conor Jackson attend?It is not neccessary to use all the tables.
SELECT International tourism expenditure (2012) FROM table WHERE International tourism expenditure (2011) = $33.3 billion
CREATE TABLE INST, Here is a database schema( table schema);
Which International tourism expenditure (2012) has an International tourism expenditure (2011) of $33.3 billion?.It is not neccessary to use all the tables.
SELECT date FROM table_name_8 WHERE class = "gt" AND race = "monterey sports car grand prix"
CREATE TABLE INST, Here is a database schema( table schema);
On which date was the GT class at Monterey Sports Car Grand Prix?It is not neccessary to use all the tables.
SELECT Infiltration (km 3 /year) FROM table WHERE Region = Central
CREATE TABLE INST, Here is a database schema( table schema);
In the Central region, what was the infiltration (km 3 /year)?.It is not neccessary to use all the tables.
SELECT Railway FROM table WHERE Build date = 1911 AND Loco name = pyramus
CREATE TABLE INST, Here is a database schema( table schema);
Which railway had a loco name of Pyramus and a build date of 1911?.It is not neccessary to use all the tables.
SELECT Result FROM table WHERE Time = 1:02
CREATE TABLE INST, Here is a database schema( table schema);
What result had a time of 1:02?.It is not neccessary to use all the tables.
SELECT Date FROM table WHERE Catalog = ft 507
CREATE TABLE INST, Here is a database schema( table schema);
On what date was the Catalog FT 507?.It is not neccessary to use all the tables.
SELECT SUM Rank FROM table WHERE Gold > 0 AND Total > 32 AND Silver < 23
CREATE TABLE INST, Here is a database schema( table schema);
Tell me the sum of rank for when gold is more than 0 and silver less than 23 with total more than 32.It is not neccessary to use all the tables.
SELECT "Channel" FROM table_58301 WHERE "Financed by" = 'commercials'
CREATE TABLE INST, Here is a database schema( table schema);
What was the channel that was financed by commercials?It is not neccessary to use all the tables.
SELECT High rebounds FROM table WHERE Team = Orlando
CREATE TABLE INST, Here is a database schema( table schema);
Who tied for the highest rebounds during the game against Orlando?.It is not neccessary to use all the tables.
SELECT Party FROM table WHERE Ipsos 6/3/09 = 27%
CREATE TABLE INST, Here is a database schema( table schema);
Who had an Ipsos of 27%?.It is not neccessary to use all the tables.
SELECT MAX(year) FROM table_name_12 WHERE series_title = "dragon laws ii: kidnapped"
CREATE TABLE INST, Here is a database schema( table schema);
The highest year for the series titled dragon laws ii: kidnapped is what?It is not neccessary to use all the tables.
SELECT county FROM table_name_87 WHERE mascot = "trojans"
CREATE TABLE INST, Here is a database schema( table schema);
Which county do the Trojans come from?It is not neccessary to use all the tables.
SELECT Manner of departure FROM table WHERE Date of vacancy = 20 september 2009
CREATE TABLE INST, Here is a database schema( table schema);
What was the manner of departure for the vacancy date of 20 September 2009?.It is not neccessary to use all the tables.
SELECT 8:30 FROM table WHERE 9:00 = bionic woman
CREATE TABLE INST, Here is a database schema( table schema);
for the 9:00 of bionic woman what is the 8:30?.It is not neccessary to use all the tables.
SELECT team__league_ FROM table_name_85 WHERE reg_gp = 0 AND pick__number < 136 AND player = "regan darby"
CREATE TABLE INST, Here is a database schema( table schema);
Which team has a Reg GP of 0 a pick number under 136 with a player named Regan Darby?It is not neccessary to use all the tables.
SELECT SUM(frequency) FROM table_name_66 WHERE status = "owned by cumulus media" AND format = "news"
CREATE TABLE INST, Here is a database schema( table schema);
What is the total frequency have a Status of owned by cumulus media, and a Format of news?It is not neccessary to use all the tables.
SELECT T2.Name FROM debate_people AS T1 JOIN people AS T2 ON T1.Negative = T2.People_ID GROUP BY T2.Name HAVING COUNT(*) >= 2
CREATE TABLE INST, Here is a database schema( table schema);
Show the names of people who have been on the negative side of debates at least twice.It is not neccessary to use all the tables.
SELECT score FROM table_name_14 WHERE record = "52–103"
CREATE TABLE INST, Here is a database schema( table schema);
What was the score of the game that had a record of 52–103?It is not neccessary to use all the tables.
SELECT COUNT("Total") FROM table_12197 WHERE "Player" = 'al geiberger' AND "To par" > '7'
CREATE TABLE INST, Here is a database schema( table schema);
What is the total for a to par bigger than 7 and a player of al geiberger?It is not neccessary to use all the tables.
SELECT Debut FROM table WHERE Name = scott tunbridge
CREATE TABLE INST, Here is a database schema( table schema);
What round was the debut of Scott Tunbridge?.It is not neccessary to use all the tables.
SELECT home_team AS score FROM table_name_25 WHERE venue = "mcg"
CREATE TABLE INST, Here is a database schema( table schema);
What did the Home team score when they were in MCG?It is not neccessary to use all the tables.
SELECT MIN(t1.c1) FROM (SELECT SUM(cost.cost) AS c1 FROM cost WHERE cost.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.patientunitstayid IN (SELECT diagnosis.patientunitstayid FROM diagnosis WHERE diagnosis.diagnosisname = 's/p surgical repair of fracture - spine')) AND STRFTIME('%y', cost.chargetime) >= '2104' GROUP BY cost.patienthealthsystemstayid) AS t1
CREATE TABLE INST, Here is a database schema( table schema);
how much is the minimum total hospital cost that includes s/p surgical repair of fracture - spine since 2104?It is not neccessary to use all the tables.
SELECT record FROM table_27723228_8 WHERE score = "L 84–96 (OT)"
CREATE TABLE INST, Here is a database schema( table schema);
What is the record when the score was l 84–96 (ot)?It is not neccessary to use all the tables.
SELECT SUM(games) FROM table_name_24 WHERE team = "cai zaragoza" AND rank < 1
CREATE TABLE INST, Here is a database schema( table schema);
How many Games has a Team of cai zaragoza and a Rank smaller than 1?It is not neccessary to use all the tables.
SELECT MIN Total FROM table WHERE Gold < 3
CREATE TABLE INST, Here is a database schema( table schema);
What is the lowest medal total with less than 3 gold medals?.It is not neccessary to use all the tables.
SELECT format FROM table_27303975_2 WHERE title = "Quick Callanetics: Hips and Behind"
CREATE TABLE INST, Here is a database schema( table schema);
Name the format for quick callanetics: hips and behindIt is not neccessary to use all the tables.
SELECT COUNT Top 10 FROM table WHERE Avg. Start = 37.3
CREATE TABLE INST, Here is a database schema( table schema);
Name the total number of top 10 for avg start being 37.3.It is not neccessary to use all the tables.
SELECT winning_driver FROM table_name_1 WHERE name = "pau grand prix"
CREATE TABLE INST, Here is a database schema( table schema);
Tell me the winning driver for pau grand prixIt is not neccessary to use all the tables.
SELECT Percentage Democrats FROM table WHERE Democratic seat plurality = -3 AND Democratic/ Republican = 2/5
CREATE TABLE INST, Here is a database schema( table schema);
What is the percentage democrats with democratic plurality of -3, and 2/5 democrat/republican?.It is not neccessary to use all the tables.
SELECT host_team FROM table_name_70 WHERE stadium = "lincoln financial field"
CREATE TABLE INST, Here is a database schema( table schema);
What is the host team with the stadium Lincoln Financial Field?It is not neccessary to use all the tables.
SELECT COUNT(publisher) FROM table_1217448_1 WHERE cover_date = "May 1939"
CREATE TABLE INST, Here is a database schema( table schema);
what is the total number of publisher where cover date is may 1939It is not neccessary to use all the tables.
SELECT Years in Toronto FROM table WHERE Nationality = united states AND School/Club Team = arkansas
CREATE TABLE INST, Here is a database schema( table schema);
What year is United States school/club team from Arkansas play in Toronto.It is not neccessary to use all the tables.
SELECT MIN(pick) FROM table_name_51 WHERE position = "back" AND player = "chuck morris"
CREATE TABLE INST, Here is a database schema( table schema);
When was chuck morris back drafted?It is not neccessary to use all the tables.
SELECT Document_Date, COUNT(Document_Date) FROM Ref_Document_Types AS T1 JOIN Documents AS T2 ON T1.Document_Type_Code = T2.Document_Type_Code GROUP BY Document_Type_Description ORDER BY COUNT(Document_Date) DESC
CREATE TABLE INST, Here is a database schema( table schema);
How many documents are created in each day? Bin the document date by weekday and group by document type description with a stacked bar chart, I want to sort Y in desc order.It is not neccessary to use all the tables.
SELECT Runner-up FROM table WHERE Location = hossegor
CREATE TABLE INST, Here is a database schema( table schema);
Who was the Runner-up in Hossegor?.It is not neccessary to use all the tables.
SELECT MIN Gold FROM table WHERE Nation = united states AND Total > 5
CREATE TABLE INST, Here is a database schema( table schema);
Which Gold has a Nation of united states, and a Total larger than 5?.It is not neccessary to use all the tables.
SELECT SUM Pick FROM table WHERE Name = charley taylor AND Overall > 3
CREATE TABLE INST, Here is a database schema( table schema);
What is the pick of Charley Taylor, who has an overall greater than 3?.It is not neccessary to use all the tables.
SELECT AVG(points) FROM table_name_34 WHERE position = 7 AND lost < 4
CREATE TABLE INST, Here is a database schema( table schema);
Which average Points have a Position of 7 and a Lost smaller than 4?It is not neccessary to use all the tables.
SELECT COUNT(goals) FROM table_name_76 WHERE position = "df" AND nationality = "england" AND crewe_alexandra_career = "1948–1951"
CREATE TABLE INST, Here is a database schema( table schema);
What is the number of goals when the position is DF the nationality is England and the Crewe Alexandra career is 1948–1951?It is not neccessary to use all the tables.
SELECT 2004 FROM table_name_10 WHERE 2011 = "q1"
CREATE TABLE INST, Here is a database schema( table schema);
What is the 2004 tournament that has a Q1 of 2011?It is not neccessary to use all the tables.
SELECT match FROM table_name_13 WHERE team = "start gniezno"
CREATE TABLE INST, Here is a database schema( table schema);
What was the match number for Start Gniezno?It is not neccessary to use all the tables.
SELECT Type FROM GreaterManchesterCrime GROUP BY Type ORDER BY count(*) DESC LIMIT 1
CREATE TABLE INST, Here is a database schema( greater manchester crime);
What is the most common type of crime?. It is not neccessary to use all the tables.
SELECT SUM(december) FROM table_name_61 WHERE game > 31 AND score = "5 - 2"
CREATE TABLE INST, Here is a database schema( table schema);
What is the sum of December when Game is greater than 31 and when Score is "5 - 2"?It is not neccessary to use all the tables.
SELECT COUNT Earnings( $ ) FROM table WHERE Wins = 14 AND Rank > 3
CREATE TABLE INST, Here is a database schema( table schema);
How much have players earned with 14 wins ranked below 3?.It is not neccessary to use all the tables.
SELECT years FROM table_name_4 WHERE jersey_number_s_ = 33 AND position = "pf"
CREATE TABLE INST, Here is a database schema( table schema);
What years did the player with the jersey number 33 and played position pf play?It is not neccessary to use all the tables.
SELECT robin FROM table_21234111_10 WHERE result = "Eliminated"
CREATE TABLE INST, Here is a database schema( table schema);
What was Robin's score when she was eliminated?It is not neccessary to use all the tables.
SELECT grade, COUNT(DISTINCT classroom), COUNT(*) FROM list GROUP BY grade
CREATE TABLE INST, Here is a database schema( table schema);
For each grade, return the grade number, the number of classrooms used for the grade, and the total number of students enrolled in the grade.It is not neccessary to use all the tables.
SELECT COUNT(venue) FROM table_19576091_1 WHERE date = "November 6"
CREATE TABLE INST, Here is a database schema( table schema);
How many venues were there for the match on November 6?It is not neccessary to use all the tables.
SELECT COUNT Rape (Art. 190 StGB) FROM table WHERE Embezzlement (Art. 138 StGB) = 820 AND Total Convictions < 94,574
CREATE TABLE INST, Here is a database schema( table schema);
What is the total number of Rapes that have Embezzlements a figure of 820 and total number of convictions less than 94,574?.It is not neccessary to use all the tables.
SELECT MAX February FROM table WHERE Record = 34-14-4 AND Game > 52
CREATE TABLE INST, Here is a database schema( table schema);
What is listed as the highest February with a Record of 34-14-4 and Game that's larger than 52?.It is not neccessary to use all the tables.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE prescriptions.route = "PR"
CREATE TABLE INST, Here is a database schema( table schema);
how many patients whose drug route is pr?It is not neccessary to use all the tables.
SELECT last_match FROM table_name_60 WHERE final_position___round = "group stage"
CREATE TABLE INST, Here is a database schema( table schema);
When the final position/round is group stage when is the last match?It is not neccessary to use all the tables.
SELECT COUNT(south_australia) FROM table_1057262_2 WHERE victoria = 2173
CREATE TABLE INST, Here is a database schema( table schema);
what's the total number of south australia with victoria value of 2173It is not neccessary to use all the tables.
SELECT Time/Retired FROM table WHERE Laps < 67 AND Points = 6
CREATE TABLE INST, Here is a database schema( table schema);
What was time/retired with less than 67 laps and 6 points?.It is not neccessary to use all the tables.
SELECT MAX Founded FROM table WHERE Nickname = Sea Gulls
CREATE TABLE INST, Here is a database schema( table schema);
Name the most founded for sea gulls.It is not neccessary to use all the tables.
SELECT Tennis FROM table WHERE School Year = 2004-05
CREATE TABLE INST, Here is a database schema( table schema);
What is Tennis, when School Year is 2004-05?.It is not neccessary to use all the tables.
SELECT COUNT(timeslot) FROM table_27987623_3 WHERE viewers__millions_ = "0.238"
CREATE TABLE INST, Here is a database schema( table schema);
How many timeslots had viewers of 0.238 million?It is not neccessary to use all the tables.
SELECT Score FROM table WHERE Date = december 2
CREATE TABLE INST, Here is a database schema( table schema);
What is the score on December 2?.It is not neccessary to use all the tables.
SELECT train_no FROM table_name_87 WHERE origin = "secunderabad junction"
CREATE TABLE INST, Here is a database schema( table schema);
What is number of the train that originated in Secunderabad Junction?It is not neccessary to use all the tables.
SELECT MIN Attendance FROM table WHERE Stadium = Cotton Bowl
CREATE TABLE INST, Here is a database schema( table schema);
what is the minimum attendance with stadium being cotton bowl.It is not neccessary to use all the tables.
SELECT DISTINCT cost.cost FROM cost WHERE cost.eventtype = 'treatment' AND cost.eventid IN (SELECT treatment.treatmentid FROM treatment WHERE treatment.treatmentname = 'antiretrovirals (hiv) - protease inhibitors')
CREATE TABLE INST, Here is a database schema( table schema);
what's the cost of a antiretrovirals (hiv) - protease inhibitors.It is not neccessary to use all the tables.
SELECT MAX Game FROM table WHERE Record = 1-0 AND Hornets score > 100
CREATE TABLE INST, Here is a database schema( table schema);
What is the highest game with a 1-0 record, and the Hornets scored more than 100?.It is not neccessary to use all the tables.
SELECT founded FROM table_2076608_3 WHERE school = "Hartland College"
CREATE TABLE INST, Here is a database schema( table schema);
What year was Hartland College founded?It is not neccessary to use all the tables.
SELECT circuit FROM table_name_5 WHERE race = "german grand prix"
CREATE TABLE INST, Here is a database schema( table schema);
What circuit was for the german grand prix?It is not neccessary to use all the tables.
SELECT COUNT 110H FROM table WHERE 1500 m = 692 AND Final > 7906
CREATE TABLE INST, Here is a database schema( table schema);
What was the 110H that the 1500m was 692 and the final was more than 7906?.It is not neccessary to use all the tables.
SELECT Year Built FROM table WHERE Church Name = hopperstad stavkyrkje
CREATE TABLE INST, Here is a database schema( table schema);
When was the Hopperstad Stavkyrkje built?.It is not neccessary to use all the tables.
SELECT T2.name, COUNT(*) FROM membership_register_branch AS T1 JOIN branch AS T2 ON T1.branch_id = T2.branch_id WHERE T1.register_year > 2015 GROUP BY T2.branch_id
CREATE TABLE INST, Here is a database schema( table schema);
For each branch id, what are the names of the branches that were registered after 2015?It is not neccessary to use all the tables.
SELECT Paper Type FROM table WHERE First Day Cover Cancellation = ottawa, on
CREATE TABLE INST, Here is a database schema( table schema);
What is the Paper Type with a First Day Cover Cancellation with ottawa, on?.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 = "BLACK/HAITIAN" AND diagnoses.icd9_code = "V4511"
CREATE TABLE INST, Here is a database schema( table schema);
provide the number of patients whose ethnicity is black/haitian and diagnosis icd9 code is v4511.It is not neccessary to use all the tables.
SELECT Name FROM table WHERE Title = ruler
CREATE TABLE INST, Here is a database schema( table schema);
Who held the title of Ruler?.It is not neccessary to use all the tables.
SELECT AVG(redline__rpm_) FROM table_name_49 WHERE engine_code = "m57tud30" AND year > 2002
CREATE TABLE INST, Here is a database schema( table schema);
What is the average Redline RPM of engines with engine code M57TUD30 made after 2002?It is not neccessary to use all the tables.
SELECT sepal_width FROM table_10477224_1 WHERE sepal_length = "6.5" AND petal_width = "2.2"
CREATE TABLE INST, Here is a database schema( table schema);
Name the sepal width when sepal length is 6.5 and petal width is 2.2It is not neccessary to use all the tables.
SELECT Home team FROM table WHERE Venue = windy hill
CREATE TABLE INST, Here is a database schema( table schema);
When playing at Windy Hill, what was the home team?.It is not neccessary to use all the tables.
SELECT MIN Gold FROM table WHERE Bronze = 4 AND Silver > 5
CREATE TABLE INST, Here is a database schema( table schema);
What is the lowest Gold count if the Bronze is 4 and Silver is greater than 5?.It is not neccessary to use all the tables.