sql
stringlengths 9
2.37k
| table
stringclasses 9
values | query
stringlengths 51
503
|
|---|---|---|
SELECT location_attendance FROM table_name_1 WHERE team = "minnesota"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Where was the location attendance when Minnesota played?It is not neccessary to use all the tables.
|
SELECT to_par FROM table_name_47 WHERE player = "steve elkington"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What did Steve Elkington par?It is not neccessary to use all the tables.
|
SELECT NFL Team FROM table WHERE Position = tight end
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What NFL team did the Tight End position belong to?.It is not neccessary to use all the tables.
|
SELECT 2003 FROM table_name_49 WHERE 2004 = "a"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
In the Tournament during which Jiří Novák was absent(A) in 2004 how did he do in 2003?It is not neccessary to use all the tables.
|
SELECT Loser FROM table WHERE Result = 119–113
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What team was the loser when the result was 119–113?.It is not neccessary to use all the tables.
|
SELECT region FROM table_name_16 WHERE date = "2005" AND label = "playground music scandinavia"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What region has the date of 2005 and Playground Music Scandinavia as a label?It is not neccessary to use all the tables.
|
SELECT To Par FROM table WHERE Score < 70 AND Player = matt kowal
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which To Par has a Score smaller than 70, and a Player of matt kowal?.It is not neccessary to use all the tables.
|
SELECT MIN(area__acres__) FROM table_30120633_1 WHERE townland = "Clashroe"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How few acres is the area of Clashroe?It is not neccessary to use all the tables.
|
SELECT Opponents FROM table WHERE Surface = clay AND Date = 12 july 1992
|
CREATE TABLE INST, Here is a database schema( table schema);
|
who is the opponents when the surface is clay and the date is 12 july 1992?.It is not neccessary to use all the tables.
|
SELECT date_performed FROM table_name_19 WHERE scores_by_each_individual_judge = 10 + 10 + 10 = 30 AND main_contestant = "karanvir bohra"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What Date performed has a Scores by each individual judge of 10 + 10 + 10 = 30, and a Main contestant of karanvir bohra?It is not neccessary to use all the tables.
|
SELECT Home team score FROM table WHERE Venue = western oval
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the home team score when the VFL played at Western Oval?.It is not neccessary to use all the tables.
|
SELECT females___percentage_ FROM table_14598_9 WHERE literate_persons___percentage_ = "68.74"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the percentage of all females that are literate people have a percentage of 68.74?It is not neccessary to use all the tables.
|
SELECT POSITION FROM match_season GROUP BY POSITION ORDER BY COUNT(*) DESC LIMIT 1
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Show the most common position of players in match seasons.It is not neccessary to use all the tables.
|
SELECT COUNT Sales FROM table WHERE Peak position = 1 AND Certification = 6x platinum
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many sales had a peak position of 1 and a certification of 6x platinum?.It is not neccessary to use all the tables.
|
SELECT "Winning driver" FROM table_27534 WHERE "Date" = '20 April'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the winning driver for 20 aprilIt is not neccessary to use all the tables.
|
SELECT COUNT Drawn FROM table WHERE Played > 12
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the sum of drawn that has a played more than 12?.It is not neccessary to use all the tables.
|
SELECT COUNT(complement) FROM table_11793221_4 WHERE unit = "4th Hanoverian Brigade"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the number of complement for 4th hanoverian brigadeIt is not neccessary to use all the tables.
|
SELECT date FROM table_name_20 WHERE home_team = "footscray"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What day did Footscray play as the home team?It is not neccessary to use all the tables.
|
SELECT years_of_participation FROM table_17429402_7 WHERE school = "Central Crossing"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What are the years of participation for central crossing school?It is not neccessary to use all the tables.
|
SELECT COUNT(average) FROM table_17521433_1 WHERE evening_gown = "9.100"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the average score for the country with the evening gown score of 9.100?It is not neccessary to use all the tables.
|
SELECT AVG(to_par) FROM table_name_63 WHERE player = "jack nicklaus" AND total < 146
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which To par has a Player of jack nicklaus and a Total smaller than 146?It is not neccessary to use all the tables.
|
SELECT year FROM table_name_75 WHERE rank = "31"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What year did the rank of 31 happen in?It is not neccessary to use all the tables.
|
WITH quarters AS (SELECT DATEPART(yyyy, Question.CreationDate) AS Year, DATEPART(mm, Question.CreationDate) AS Month, COUNT(*) AS Total, SUM(CASE WHEN Question.AnswerCount > 0 THEN 1 ELSE 0 END) AS Answered, SUM(CASE WHEN NOT Answer.Id IS NULL THEN 1 ELSE 0 END) AS GoodAnswer FROM Posts AS Question LEFT JOIN Posts AS Answer ON Answer.PostTypeId = 2 AND Answer.ParentId = Question.Id AND Answer.Score > 0 WHERE Question.PostTypeId = 1 AND Question.ClosedDate IS NULL GROUP BY DATEPART(yyyy, Question.CreationDate), DATEPART(mm, Question.CreationDate)) SELECT DATEADD(mm, Month - 1, DATEADD(yy, Year - 1900, 0)), Total AS Questions, Answered AS "answer", GoodAnswer AS "goodanswer" FROM quarters ORDER BY Year, Month
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Percentage of open questions with answers, by quarter. Number of open questions, percentage that have at least one answer, and the percentage that have at least one *good* answer (Score > 0). Question scores are ignored.It is not neccessary to use all the tables.
|
SELECT Class A FROM table WHERE Class AA = Marion
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which is the class A when Marion was the class AA.It is not neccessary to use all the tables.
|
SELECT SUM Total Region FROM table WHERE Mt Morgan > 5,060
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the sum of people in the total region when more than 5,060 were in Mt. Morgan?.It is not neccessary to use all the tables.
|
SELECT MIN Crowd FROM table WHERE Away team = footscray
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the smallest crowd that Footscray had as the away team?.It is not neccessary to use all the tables.
|
SELECT approximate_sales FROM table_2512935_8 WHERE author = "Laura Ingalls Wilder"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What are all approximate sales for the author Laura Ingalls Wilder?It is not neccessary to use all the tables.
|
SELECT Date of appointment FROM table WHERE Outgoing manager = giray bulak
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is Date of Appointment, when Outgoing Manager is "Giray Bulak"?.It is not neccessary to use all the tables.
|
SELECT Player FROM table WHERE Date = 19-02-2003
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who had a date of 19-02-2003?.It is not neccessary to use all the tables.
|
SELECT SUM(laps) FROM table_name_53 WHERE grid = 20
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the sum of laps for grid 20?It is not neccessary to use all the tables.
|
SELECT COUNT Events FROM table WHERE Earnings ( $ ) = 2,054,334
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many Events have Earnings ($) of 2,054,334?.It is not neccessary to use all the tables.
|
SELECT venue FROM table_name_43 WHERE opponent = "staines town"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the venue for staines townIt is not neccessary to use all the tables.
|
SELECT third FROM table_name_74 WHERE venue = "oslo"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who finished 3rd in Oslo?It is not neccessary to use all the tables.
|
SELECT score FROM table_name_57 WHERE player = "tiger woods"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was Tiger Woods' score?It is not neccessary to use all the tables.
|
SELECT Michigan FROM table WHERE Indiana = Terre Haute North LL Terre Haute
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the little league team from Michigan when the little league team from Indiana was Terre Haute North LL Terre Haute? .It is not neccessary to use all the tables.
|
SELECT Total Finals FROM table WHERE Year of last win = 2012-13
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many total finals where there when the last win was in 2012-13?.It is not neccessary to use all the tables.
|
SELECT SUM(inhabitants) FROM table_name_57 WHERE party = "five star movement" AND election < 2012
|
CREATE TABLE INST, Here is a database schema( table schema);
|
In the election earlier than 2012 how many Inhabitants had a Party of five star movement?It is not neccessary to use all the tables.
|
SELECT "Composition" FROM table_16803 WHERE "House Name" = 'Benue'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the benue house made of?It is not neccessary to use all the tables.
|
SELECT League FROM table WHERE FA Cup = qr4 AND FA Trophy = qf
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what is the league when the fa cup is qr4 and the fa trophy is qf?.It is not neccessary to use all the tables.
|
SELECT City of license FROM table WHERE Frequency = 88.7 fm
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the City of license with a 88.7 fm frequency.It is not neccessary to use all the tables.
|
SELECT Replaced by FROM table WHERE Date of vacancy = August 9 AND Date of appointment = August 9
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the replaced by for august 9 .It is not neccessary to use all the tables.
|
SELECT COUNT(points) FROM table_name_56 WHERE entrant = "stp march" AND year > 1971
|
CREATE TABLE INST, Here is a database schema( table schema);
|
In 1971 how many total points did the entrant stp march have?It is not neccessary to use all the tables.
|
SELECT Away team score FROM table WHERE Home team = hawthorn
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What away team score has hawthorn as the home team?.It is not neccessary to use all the tables.
|
SELECT role_code FROM Employees GROUP BY role_code HAVING COUNT(*) >= 3
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Show all role codes with at least 3 employees.It is not neccessary to use all the tables.
|
SELECT SUM("Year") FROM table_32129 WHERE "Position" = '2nd' AND "Event" = 'junior race'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the sum of year for 2nd position for junior raceIt is not neccessary to use all the tables.
|
SELECT COUNT(number_of_goals) FROM table_11585313_1 WHERE date_of_debut = "14-04-1907"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the total number of goals on the debut date of 14-04-1907?It is not neccessary to use all the tables.
|
SELECT COUNT Lost FROM table WHERE Played > 8 AND Team = ypiranga-sp AND Position > 5
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many losses have a played greater than 8, ypiranga-sp as the team, with a position greater than 5?.It is not neccessary to use all the tables.
|
SELECT record FROM table_name_41 WHERE visitor = "st. louis"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the record when the visitor is st. louisIt is not neccessary to use all the tables.
|
SELECT Second Vice President FROM table WHERE Inaugurated = 15 march 1935
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is Second Vice President, when Inaugurated is "15 March 1935"?.It is not neccessary to use all the tables.
|
SELECT Location FROM table WHERE Date (To) = 8 October 1922
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what is the location for the date (to) 8 october 1922?.It is not neccessary to use all the tables.
|
SELECT country FROM table_name_80 WHERE player = "ky laffoon"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What Country has Player Ky Laffoon?It is not neccessary to use all the tables.
|
SELECT COUNT(points) FROM table_name_36 WHERE drawn < 0
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many Points have a Drawn smaller than 0?It is not neccessary to use all the tables.
|
SELECT date FROM table_name_94 WHERE leading_scorer = "deron williams (29)" AND visitor = "hornets"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
While the Hornets were visiting what date was Deron Williams (29) the leading scorer?It is not neccessary to use all the tables.
|
SELECT status FROM table_name_73 WHERE style = "ballet/ gymnastics"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what's the status in the style of ballet/ gymnastics?It is not neccessary to use all the tables.
|
SELECT Enrollment (fall 2010) FROM table WHERE Location(s) = Bottineau
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the enrollment for the school in bottineau?.It is not neccessary to use all the tables.
|
SELECT MAX Rank FROM table WHERE Code (IATA/ICAO) = hkg/vhhh
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the highest rank for the airport with a code of HKG/VHHH?.It is not neccessary to use all the tables.
|
SELECT COUNT(year) FROM table_2511876_1 WHERE league = "USISL Pro league"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the total number of years for usisl pro leagueIt is not neccessary to use all the tables.
|
SELECT Result FROM table WHERE Venue = home AND Date = 3 october 1987
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Result has a Venue of home, and a Date of 3 october 1987?.It is not neccessary to use all the tables.
|
SELECT MIN(area__km_2__) FROM table_name_22 WHERE name = "dupuy"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is Dupuy lowest area in km2?It is not neccessary to use all the tables.
|
SELECT final_round FROM table_name_1 WHERE year = "1975"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
In 1975 what was the final round?It is not neccessary to use all the tables.
|
SELECT MIN Points FROM table WHERE Chassis = ags jh23 AND Year < 1988
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What point is the lowest for listings of chassis labeled AGS JH23 before 1988?.It is not neccessary to use all the tables.
|
SELECT 1st Member FROM table WHERE 1st Party = liberal AND Election = 1880
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which 1st Member has an election in 1880 and a liberal 1st Party?.It is not neccessary to use all the tables.
|
SELECT country FROM table_name_16 WHERE year > 1978 AND score = "295" AND venue = "lindrick golf club"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Country has a Year larger than 1978 and a Score of 295 and a Venue of lindrick golf club?It is not neccessary to use all the tables.
|
SELECT Title FROM table WHERE U.S. viewers (millions) = 10.34
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the title of the episode wtih 10.34 million U.S viewers?.It is not neccessary to use all the tables.
|
SELECT MAX Rank FROM table WHERE Sport = boys swimming AND City = albuquerque
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the highest rank for the boys swimming team in Albuquerque?.It is not neccessary to use all the tables.
|
SELECT t2.drug FROM (SELECT admissions.subject_id, procedures_icd.charttime, admissions.hadm_id FROM procedures_icd JOIN admissions ON procedures_icd.hadm_id = admissions.hadm_id WHERE admissions.subject_id = 25696 AND procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'cont inv mec ven <96 hrs') AND DATETIME(procedures_icd.charttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year') AND STRFTIME('%m', procedures_icd.charttime) = '03') AS t1 JOIN (SELECT admissions.subject_id, prescriptions.drug, prescriptions.startdate, admissions.hadm_id FROM prescriptions JOIN admissions ON prescriptions.hadm_id = admissions.hadm_id WHERE admissions.subject_id = 25696 AND DATETIME(prescriptions.startdate, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year') AND STRFTIME('%m', prescriptions.startdate) = '03') AS t2 ON t1.subject_id = t2.subject_id WHERE t1.charttime < t2.startdate AND t1.hadm_id = t2.hadm_id
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what was the name of the drug patient 25696 was prescribed for during the same hospital visit after having undergone a cont inv mec ven <96 hrs procedure in 03/last year?It is not neccessary to use all the tables.
|
SELECT country FROM table_name_33 WHERE base = "athens" AND company = "attis theatre"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the country of the play based in Athens at the Attis Theatre company?It is not neccessary to use all the tables.
|
SELECT patient.hospitaldischargetime FROM patient WHERE patient.uniquepid = '005-62766' AND STRFTIME('%y', patient.hospitaldischargetime) = '2104' ORDER BY patient.hospitaldischargetime DESC LIMIT 1
|
CREATE TABLE INST, Here is a database schema( table schema);
|
when was patient 005-62766 discharged for the last time from the hospital in 2104?It is not neccessary to use all the tables.
|
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, date_day, days, flight WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'NEWARK' AND date_day.day_number = 1 AND date_day.month_number = 7 AND date_day.year = 1991 AND days.day_name = date_day.day_name AND flight.flight_days = days.days_code AND flight.to_airport = AIRPORT_SERVICE_1.airport_code) AND CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'KANSAS CITY' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code
|
CREATE TABLE INST, Here is a database schema( table schema);
|
i need a flight from KANSAS CITY to NEWARK on the 1 of 7It is not neccessary to use all the tables.
|
SELECT Record FROM table WHERE Visitor = atlanta
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Atlanta was a visitor on December 8, what was their record?.It is not neccessary to use all the tables.
|
SELECT MIN No. in series FROM table WHERE Written by = Bernie Ancheta AND No. in season = 5
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What's the series number of the episode with a season number 5, written by Bernie Ancheta?.It is not neccessary to use all the tables.
|
SELECT groupname FROM torrents ORDER BY totalsnatched DESC LIMIT 1
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which release is being downloaded the most?It is not neccessary to use all the tables.
|
SELECT manner_of_departure FROM table_name_92 WHERE outgoing_manager = "davide ballardini"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the manner of departure for the outgoing manager davide ballardini?It is not neccessary to use all the tables.
|
SELECT Record FROM table WHERE Game Site = memorial stadium AND Date = september 19, 1965
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the record at Memorial Stadium on September 19, 1965?.It is not neccessary to use all the tables.
|
SELECT french FROM table_15040_8 WHERE german = "filtern"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the French word where the German word is filtern?It is not neccessary to use all the tables.
|
SELECT Opponent FROM table WHERE Site = razorback stadium • fayetteville, ar AND Date = october 7, 1967
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What Opponent has a Site of razorback stadium • fayetteville, ar, and a Date of october 7, 1967?.It is not neccessary to use all the tables.
|
SELECT guest FROM table_name_16 WHERE venue = "stadion prljanije"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who was the guest at Stadion Prljanije?It is not neccessary to use all the tables.
|
SELECT SUM(gold) FROM table_name_12 WHERE silver = 1 AND bronze < 1
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many gold have a silver of 1 and a bronze of 0?It is not neccessary to use all the tables.
|
SELECT finsbury_division FROM table_16677738_1 WHERE inns_of_court_and_chancery = 1546
|
CREATE TABLE INST, Here is a database schema( table schema);
|
When 1546 is inns of court and chancery what is the finsbury division?It is not neccessary to use all the tables.
|
SELECT COUNT(august_21_22) FROM table_25287007_2 WHERE june_10_11 = "June 11, 1983"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many solar eclipse during August 21-22 where June 10-11 on June 11 1983?It is not neccessary to use all the tables.
|
SELECT MAX(round) FROM table_14999879_2
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the last round the team drafted?It is not neccessary to use all the tables.
|
SELECT Distance FROM table WHERE Race Leader = km (mi)
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What Distance had a Race Leader in Km (mi)?.It is not neccessary to use all the tables.
|
SELECT SUM Game FROM table WHERE Opponent = new york islanders AND February < 7
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many games have the New York Islanders as an opponent before February 7?.It is not neccessary to use all the tables.
|
SELECT frequency_mhz FROM table_name_74 WHERE city_of_license = "walterboro, sc"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the frequency of Walterboro SC?It is not neccessary to use all the tables.
|
SELECT COUNT Viewers FROM table WHERE Airdate = 26 November 2009
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many entries are shown for viewers when the airdate was 26 november 2009?.It is not neccessary to use all the tables.
|
SELECT "Premiere" FROM table_7051 WHERE "Channel" = 'tvb jade'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
When was the premiere on the TVB Jade Channel?It is not neccessary to use all the tables.
|
SELECT COUNT(episode) FROM table_17641206_6 WHERE written_by = "David Cantor"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the total number of episodes written by david cantorIt is not neccessary to use all the tables.
|
SELECT Result FROM table WHERE First elected = 1884 AND Incumbent = joseph mckenna
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the result for incumbent Joseph McKenna who was first elected in 1884?.It is not neccessary to use all the tables.
|
SELECT Venue FROM table WHERE City = villanova
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which venue is in the city of Villanova?.It is not neccessary to use all the tables.
|
SELECT MIN(bronze) FROM table_name_30 WHERE rank = "17" AND total < 5
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the lowest Bronze with a 17 Rank and a Total less than 5It is not neccessary to use all the tables.
|
SELECT Poor law union FROM table WHERE Townland = Curradonohoe
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What poor law union is Curradonohoe a part of?.It is not neccessary to use all the tables.
|
SELECT victory_margin__in_lengths_ FROM table_name_74 WHERE finish = "1st" AND jockey = "kent desormeaux" AND time = "1:35.66"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the victory margin for a finish of 1st with a rider of Kent Desormeaux with a time of 1:35.66?It is not neccessary to use all the tables.
|
SELECT Away team score FROM table WHERE Home team = carlton
|
CREATE TABLE INST, Here is a database schema( table schema);
|
When the Home team was Carlton, what was the Away team score?.It is not neccessary to use all the tables.
|
SELECT Tie no FROM table WHERE Home team = port vale
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the tie number when the home team is Port Vale?.It is not neccessary to use all the tables.
|
SELECT Diameter (km) FROM table WHERE Longitude = 8.0E
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the diameter of the feature with longitude 8.0e?.It is not neccessary to use all the tables.
|
SELECT AVG(draw) FROM table_name_47 WHERE losses < 35 AND matches = 136 AND against < 146
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many draws have less than 35 losses with 136 matches and less than 146 against?It is not neccessary to use all the tables.
|
SELECT Format FROM table WHERE Date = july 27, 1994
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the format for July 27, 1994?.It is not neccessary to use all the tables.
|
SELECT Title FROM table WHERE Lyricist(s) = roz AND Arranger(s) = yongmin lee
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the title of the track with lyricist ROZ and arranger Yongmin Lee?.It is not neccessary to use all the tables.
|
SELECT AVG Decile FROM table WHERE Authority = state AND Roll = 888
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the average decile of the school with a state authority and a roll number of 888?.It is not neccessary to use all the tables.
|
SELECT name_of_the_song FROM table_name_75 WHERE kind_of_the_song = "ending theme" AND singer = "miriam yeung"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which song has a ending theme and is sung by miriam yeung?It is not neccessary to use all the tables.
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.