sql
stringlengths 9
2.37k
| table
stringclasses 9
values | query
stringlengths 51
503
|
---|---|---|
SELECT result FROM table_name_9 WHERE season = "2005-06"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the Result in the 2005-06 Season?It is not neccessary to use all the tables.
|
SELECT Award FROM table WHERE Category = best actress
|
CREATE TABLE INST, Here is a database schema( table schema);
|
For what award was there a nomination for Best Actress?.It is not neccessary to use all the tables.
|
SELECT COUNT Losses FROM table WHERE Position > 8 AND Goals for > 34 AND Points = 25 AND Draws < 5
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the total number of Losses, when Position is greater than 8, when Goals For is greater than 34, when Points is "25", and when Draws is less than 5?.It is not neccessary to use all the tables.
|
SELECT MIN Points FROM table WHERE Season = 1994
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What were the lowest amount of points for season 1994?.It is not neccessary to use all the tables.
|
SELECT Manner of departure FROM table WHERE Replaced by = Steve McClaren
|
CREATE TABLE INST, Here is a database schema( table schema);
|
When steve mcclaren is the replacer what is the manner of departure?.It is not neccessary to use all the tables.
|
SELECT race AS Winner FROM table_name_58 WHERE pole_position = "james hunt" AND fastest_lap = "james hunt" AND date = "15 august"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who was the race winner with a pole position james hunt and a Fastest Lap of james hunt and a Date of 15 august?It is not neccessary to use all the tables.
|
SELECT candidates FROM table_2668254_8 WHERE district = "Kentucky 5"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who were the candidates in the Kentucky 5 district?It is not neccessary to use all the tables.
|
SELECT Affiliation FROM table WHERE Pick # < 32
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What affiliations have Pick #s under 32?.It is not neccessary to use all the tables.
|
SELECT AVG(attendance) FROM table_name_7 WHERE opponents = "cork city"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the attendance when Cork City is the opponent?It is not neccessary to use all the tables.
|
SELECT population__2010_census_ FROM table_14986292_1 WHERE population_2000_census = 920599
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the population 2010 census for population 2000 census of 920599It is not neccessary to use all the tables.
|
SELECT COUNT Round FROM table WHERE Pick < 10 AND Name = larry hendershot
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many rounds have a Pick smaller than 10, and a Name of larry hendershot?.It is not neccessary to use all the tables.
|
SELECT AVG(gold) FROM table_name_51 WHERE nation = "japan (jpn)" AND total < 5
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Japan (JPN) with a total of less than 5 has what average gold medals?It is not neccessary to use all the tables.
|
SELECT Id AS "user_link", DisplayName FROM Users WHERE Reputation > '##rep?1000##' ORDER BY Id
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Find all users above given reputation (just names).It is not neccessary to use all the tables.
|
SELECT date FROM table_name_89 WHERE record = "53β104"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the date of the game when the record was 53β104?It is not neccessary to use all the tables.
|
SELECT team FROM table_27723228_3 WHERE game = 4
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What team did the Hornets play in game 4?It is not neccessary to use all the tables.
|
SELECT AVG Total FROM table WHERE Nation = thailand AND Gold < 17
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the average total with a nation of thailand with a gold smaller than 17?.It is not neccessary to use all the tables.
|
SELECT title FROM table_25996938_1 WHERE us_viewers__million_ = "18.74"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which episode did 18.74 million people tune in?It is not neccessary to use all the tables.
|
SELECT COUNT Lost FROM table WHERE Years = 1975 AND Seasons < 1
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many losses did the coach who served under 1 season and in 1975 have?.It is not neccessary to use all the tables.
|
SELECT SUM(lost) FROM table_name_67 WHERE against > 19 AND drawn < 1
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How much Lost has an Against larger than 19 and a Drawn smaller than 1?It is not neccessary to use all the tables.
|
SELECT home_team FROM table_name_91 WHERE attendance = "160"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Home team had attendance 160?It is not neccessary to use all the tables.
|
SELECT SUM(crowd) FROM table_name_56 WHERE away_team = "kangaroos"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What were the Away team Kangaroos Crowd totals?It is not neccessary to use all the tables.
|
SELECT Country FROM table WHERE Director(s) = 2007
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What Country has a Director of 2007?.It is not neccessary to use all the tables.
|
SELECT player FROM table_name_45 WHERE score = 71 - 72 = 143 AND country = "spain"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which player had the score 71-72=143 in Spain?It is not neccessary to use all the tables.
|
SELECT sponsor_s_ FROM table_name_77 WHERE date_introduced = "june 9, 2011"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who sponsored the bill introduced on June 9 2011?It is not neccessary to use all the tables.
|
SELECT name FROM table_name_91 WHERE year_named > 1997 AND longitude = "213.0e"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What name in a year after 1997 has a longitude of 213.0e?It is not neccessary to use all the tables.
|
SELECT SUM(population) FROM table_name_60 WHERE official_name = "saint-antoine" AND area_km_2 > 6.43
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the total population for Saint-Antoine with an area squared of 6.43?It is not neccessary to use all the tables.
|
SELECT Segment D FROM table WHERE Segment A = umbrellas
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the segment D for umbrellas.It is not neccessary to use all the tables.
|
SELECT MAX(disposable_usd_growth) FROM table_24486462_1 WHERE country = "Australia"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is Australia's Disposable USD growth?It is not neccessary to use all the tables.
|
SELECT DISTINCT ground_service.transport_type FROM city, ground_service WHERE city.city_name = 'DENVER' AND ground_service.city_code = city.city_code
|
CREATE TABLE INST, Here is a database schema( table schema);
|
ground transportation in DENVERIt is not neccessary to use all the tables.
|
SELECT record FROM table_name_48 WHERE attendance = "10,389"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the record at the game attended by 10389?It is not neccessary to use all the tables.
|
SELECT position FROM table_name_64 WHERE player = "bernard thompson"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Position has a Player of bernard thompson?It is not neccessary to use all the tables.
|
SELECT Declination ( J2000 ) FROM table WHERE Constellation = hydra AND Right ascension ( J2000 ) = 10h46m44.9s
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what is the declination (j2000) that has a constellation of hydra and a right ascension (j2000) of 10h46m44.9s?.It is not neccessary to use all the tables.
|
SELECT "Score" FROM table_10933 WHERE "High points" = 'wallace (17)'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the score of the game where Wallace (17) had the highest points?It is not neccessary to use all the tables.
|
SELECT loss FROM table_name_60 WHERE date = "april 15"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what team lost on april 15It is not neccessary to use all the tables.
|
SELECT COUNT Byes FROM table WHERE Draws = 1 AND Against = 1374
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the total number of byes that has 1 draw and an against of 1374?.It is not neccessary to use all the tables.
|
SELECT volume AS :issue FROM table_name_7 WHERE weeks_on_top = "3" AND artist = "sheryl crow"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What's the volume:issue of Sheryl Crow with 3 weeks on top?It is not neccessary to use all the tables.
|
SELECT SUM 1955 FROM table WHERE 1956 > 2.9 AND 1953 > 4.5
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the 1955 rate when the 1956 is more than 2.9, and 1953 is larger than 4.5?.It is not neccessary to use all the tables.
|
SELECT DISTINCT T2.name FROM affiliated_with AS T1 JOIN department AS T2 ON T1.department = T2.departmentid WHERE PrimaryAffiliation = 1
|
CREATE TABLE INST, Here is a database schema( table schema);
|
List the names of departments where some physicians are primarily affiliated with.It is not neccessary to use all the tables.
|
SELECT high_points FROM table_27734577_2 WHERE score = "L 85β94 (OT)"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who corned the most points for the game that ended with a score of l 85β94 (ot)?It is not neccessary to use all the tables.
|
SELECT Name FROM table WHERE Floors = 52
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the name of a building that has 52 floors?.It is not neccessary to use all the tables.
|
SELECT Away team FROM table WHERE Away team score = 4.11 (35)
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which team scored 4.11 (35) while playing away?.It is not neccessary to use all the tables.
|
SELECT COUNT Technology FROM table WHERE Rank = Denmark
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many times is denmark ranked in technology?.It is not neccessary to use all the tables.
|
SELECT COUNT(position) FROM table_name_59 WHERE against < 27 AND played < 8
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many positions have an against of less than 27 and a played number of less than 8?It is not neccessary to use all the tables.
|
SELECT Attendance FROM table WHERE Week = 13
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the attendance of the game in week 13?.It is not neccessary to use all the tables.
|
SELECT result FROM table_name_76 WHERE attendance = "72,703"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the result of the game that was attended by 72703 people?It is not neccessary to use all the tables.
|
SELECT COUNT(*), T1.name FROM medication AS T1 JOIN prescribes AS T2 ON T1.code = T2.medication GROUP BY T1.brand
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Find the number of medications prescribed for each brand.It is not neccessary to use all the tables.
|
SELECT proposed FROM table_name_6 WHERE listed = "03/31/1989" AND county = "rockingham"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
When was the site listed 03/31/1989 in rockingham county proposed?It is not neccessary to use all the tables.
|
SELECT SUM(game) FROM table_name_11 WHERE january < 19 AND record = "27-6-6"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the sum of the games before January 19 with a 27-6-6 record?It is not neccessary to use all the tables.
|
SELECT original_air_date FROM table_23399481_2 WHERE directed_by = "David Paymer"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the original air date of the episode that was directed by David Paymer?It is not neccessary to use all the tables.
|
SELECT "Indianapolis Concerts" FROM table_1587 WHERE "Character" = 'Dr. Alexandre Manette'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the indanapolis concerts for dr. alexandre manetteIt is not neccessary to use all the tables.
|
SELECT Surface FROM table WHERE Score = 7-5, 5-7, 6-3
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Surface has a score of 7-5, 5-7, 6-3?.It is not neccessary to use all the tables.
|
SELECT COUNT(*) FROM CARS_DATA WHERE Cylinders > 4
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many cars have more than 4 cylinders?It is not neccessary to use all the tables.
|
SELECT AVG(T1.HS), MAX(T1.HS) FROM player AS T1 JOIN tryout AS T2 ON T1.pID = T2.pID WHERE T2.decision = 'yes'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Find the average and maximum hours for the students whose tryout decision is yes.It is not neccessary to use all the tables.
|
SELECT Callsign FROM table WHERE Power kW = 25kW
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the callsign when power kw is 25kw?.It is not neccessary to use all the tables.
|
SELECT package_option FROM table_name_63 WHERE television_service = "sky inside"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is Package/Option when Television Service is Sky Inside?It is not neccessary to use all the tables.
|
SELECT groupName, artist FROM torrents
|
CREATE TABLE INST, Here is a database schema( torrents);
|
what are the entries by each specific artist/group?. It is not neccessary to use all the tables.
|
SELECT "population" FROM table_204_251 WHERE "community" = 'sheet harbour 36'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what is the total population of sheet harbor 36 ?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, airport_service AS AIRPORT_SERVICE_2, city AS CITY_0, city AS CITY_1, city AS CITY_2, fare, flight, flight_fare WHERE ((CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'BALTIMORE' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code) AND CITY_2.city_code = AIRPORT_SERVICE_2.city_code AND CITY_2.city_name = 'DALLAS' AND flight.to_airport = AIRPORT_SERVICE_2.airport_code) AND fare.one_direction_cost = (SELECT MIN(FAREalias1.one_direction_cost) FROM airport_service AS AIRPORT_SERVICEalias3, airport_service AS AIRPORT_SERVICEalias4, airport_service AS AIRPORT_SERVICEalias5, city AS CITYalias3, city AS CITYalias4, city AS CITYalias5, fare AS FAREalias1, flight AS FLIGHTalias1, flight_fare AS FLIGHT_FAREalias1 WHERE CITYalias3.city_code = AIRPORT_SERVICEalias3.city_code AND CITYalias3.city_name = 'BALTIMORE' AND CITYalias5.city_code = AIRPORT_SERVICEalias5.city_code AND CITYalias5.city_name = 'DALLAS' AND FLIGHT_FAREalias1.fare_id = FAREalias1.fare_id AND FLIGHTalias1.flight_id = FLIGHT_FAREalias1.flight_id AND FLIGHTalias1.from_airport = AIRPORT_SERVICEalias3.airport_code AND FLIGHTalias1.to_airport = AIRPORT_SERVICEalias5.airport_code) AND flight_fare.fare_id = fare.fare_id AND flight.flight_id = flight_fare.flight_id
|
CREATE TABLE INST, Here is a database schema( table schema);
|
show me cheap flights from BALTIMORE to DALLASIt is not neccessary to use all the tables.
|
SELECT founded FROM table_name_97 WHERE club = "no coast derby girls"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Founded that has a Club of no coast derby girls?It is not neccessary to use all the tables.
|
SELECT penalty FROM table_name_42 WHERE team = "det" AND player = "andreas lilja"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the penalty for the DET team player Andreas Lilja?It is not neccessary to use all the tables.
|
SELECT Horse FROM table WHERE Jockey = Peter Wells
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who was the horse when the jockey was Peter Wells? .It is not neccessary to use all the tables.
|
SELECT SUM(seats_up_for_election) FROM table_name_10 WHERE election_result = 9 AND new_council > 27
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many seats were up for election during the vote where the election result was 9 and the new council 27?It is not neccessary to use all the tables.
|
SELECT championship_game FROM table_name_29 WHERE conference = "big eight"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Tell me the championship game for big eightIt is not neccessary to use all the tables.
|
SELECT MIN Attendance FROM table WHERE Round = r1 AND Venue = h
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the lowest attendance in round r1 at H venue?.It is not neccessary to use all the tables.
|
SELECT status FROM table_name_2 WHERE opposing_team = "gauteng falcons"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What status has gauteng falcons as the opposing team?It is not neccessary to use all the tables.
|
SELECT opponent FROM table_22853654_9 WHERE result = "3β6, 4β6, 6β1, 6β7 (7β9)"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the opponent for 3β6 4β6 6β1 6β7 (7β9)It is not neccessary to use all the tables.
|
SELECT Time FROM table WHERE Lyricist(s) = giorgos moukidis AND English translation = "nowhere"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is Time, when Lyricist(s) is Giorgos Moukidis, and when English Translation is "Nowhere"?.It is not neccessary to use all the tables.
|
SELECT Away team FROM table WHERE Crowd > 16,000 AND Home team = st kilda
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who is playing against st kilda against their home more than 16,000?.It is not neccessary to use all the tables.
|
SELECT Musical Guest (Song performed) FROM table WHERE Who knows the most about the guest host? panelists = nancy sorrell and samia smith
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who was the musical guest when the panelists were Nancy Sorrell and Samia Smith?.It is not neccessary to use all the tables.
|
SELECT COUNT(DISTINCT id) FROM teaches
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many different instructors have taught some course?It is not neccessary to use all the tables.
|
SELECT DISTINCT course.department, course.name, course.number FROM course INNER JOIN program_course ON program_course.course_id = course.course_id WHERE course.has_exams = 'N' AND course.has_projects = 'Y' AND program_course.category LIKE 'ULCS'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which classes are upper level and have projects but not exams ?It is not neccessary to use all the tables.
|
SELECT Product_Type_Code, COUNT(Product_Type_Code) FROM Products GROUP BY Product_Type_Code
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Visualize a bar chart for showing the total number of different product type codes.It is not neccessary to use all the tables.
|
SELECT AVG Bronze FROM table WHERE Gold > 1 AND Silver = 1
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the average number of bronze of the nation with more than 1 gold and 1 silver medal?.It is not neccessary to use all the tables.
|
SELECT High points FROM table WHERE Date = November 24
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the high points for the date of november 24.It is not neccessary to use all the tables.
|
SELECT player FROM table_1013129_10 WHERE nhl_team = "San Jose Sharks" AND nationality = "United States"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
NHL team player San Jose Sharks is United States nationally.It is not neccessary to use all the tables.
|
SELECT Winning team FROM table WHERE Winning driver = Ryan Briscoe AND Fastest lap = Tomas Scheckter
|
CREATE TABLE INST, Here is a database schema( table schema);
|
which brand have drivers who won with the names of ryan briscoe and tomas scheckter.It is not neccessary to use all the tables.
|
SELECT MAX(attendance) FROM table_name_19 WHERE opponent = "atlanta falcons" AND week < 10
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the highest attendance when the Atlanta Falcons played for a week smaller than 10?It is not neccessary to use all the tables.
|
SELECT Team FROM table WHERE Location Attendance = air canada centre 19,800 AND Record = 41β33
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which team has a location attendance of Air Canada Centre 19,800 with a record of 41β33?.It is not neccessary to use all the tables.
|
SELECT SUM(year) FROM table_name_15 WHERE category = "best actor in a musical"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What year had Best Actor in a Musical as a category?It is not neccessary to use all the tables.
|
SELECT MAX(pick__number) FROM table_name_36 WHERE cfl_team = "toronto argonauts"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the highest pick number of the CFL's Toronto Argonauts?It is not neccessary to use all the tables.
|
SELECT yacht_name FROM table_name_50 WHERE combined_elapsed_time = "179d 11h 58m 14s"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which yacht name has a Combined elapsed time of 179d 11h 58m 14s?It is not neccessary to use all the tables.
|
SELECT Week # FROM table WHERE Theme = First Solo
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What week # featured first solo as the theme?.It is not neccessary to use all the tables.
|
SELECT MAX Round FROM table WHERE Position = guard AND Pick # > 9
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Position of guard, and a Pick # larger than 9 is what highest round?.It is not neccessary to use all the tables.
|
SELECT left_office FROM table_name_20 WHERE minister = "mirko tremaglia"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Tell me the left office for mirko tremagliaIt is not neccessary to use all the tables.
|
SELECT Studio FROM film WHERE Director = "Nicholas Meyer" INTERSECT SELECT Studio FROM film WHERE Director = "Walter Hill"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Show the studios that have produced films with director "Nicholas Meyer" and "Walter Hill".It is not neccessary to use all the tables.
|
SELECT HIRE_DATE, AVG(SALARY) FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40
|
CREATE TABLE INST, Here is a database schema( table schema);
|
For those employees whose salary is in the range of 8000 and 12000 and commission is not null or department number does not equal to 40, draw a bar chart about the distribution of hire_date and the average of salary bin hire_date by weekday.It is not neccessary to use all the tables.
|
SELECT country FROM table_name_10 WHERE rank > 68 AND capacity = "32,000" AND city = "santa fe"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which country is ranked higher than 68, with a city named Santa Fe and a stadium that has a capacity of 32,000?It is not neccessary to use all the tables.
|
SELECT AVG Gold FROM table WHERE Bronze = 1 AND Total < 3
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Gold has a Bronze of 1, and a Total smaller than 3?.It is not neccessary to use all the tables.
|
SELECT COUNT(season__number) FROM table_27911342_1 WHERE written_by = "Kari Lizer"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the season number of the show written by both Kari Lizer and Jeff Astrof?It is not neccessary to use all the tables.
|
SELECT Winner Women FROM table WHERE Third = Italy AND Runner-up = Finland
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the winner women and third is italy and runner-up is finland?.It is not neccessary to use all the tables.
|
SELECT AVG(pick__number) FROM table_name_87 WHERE position = "linebacker" AND player = "bob bruenig" AND round < 3
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the average value for Pick # when Position is Linebacker when Player is Bob Bruenig and when Round is less than 3?It is not neccessary to use all the tables.
|
SELECT MIN Population (2011) FROM table
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the minimum population in 2011?.It is not neccessary to use all the tables.
|
SELECT Team FROM table WHERE Laps = 65 AND Grid < 20 AND Driver = scott pruett
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which team did Scott Pruett drive for when the grid was smaller than 20 and there were 65 laps?.It is not neccessary to use all the tables.
|
SELECT surface FROM table_name_58 WHERE date = "2 december 1974"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Tell me the surface of 2 december 1974It is not neccessary to use all the tables.
|
SELECT COUNT(2006) FROM table_name_47 WHERE country = "argentina" AND 2007 < 0 OFFSET 15
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the 2006 figure for Argentina when 2007 is less than 015?It is not neccessary to use all the tables.
|
SELECT nationality FROM table_name_49 WHERE cardinalatial_order_and_title = "cardinal-priest of ss. xii apostoli"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the nationality of the elector withe the Cardinalatial order and title of Cardinal-Priest of Ss. XII Apostoli?It is not neccessary to use all the tables.
|
SELECT pts_rank FROM table_name_73 WHERE club = "chicago fire"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the points ranking of Chicago Fire?It is not neccessary to use all the tables.
|
SELECT Score FROM table WHERE Game = 3
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the score for game 3?.It is not neccessary to use all the tables.
|
SELECT Certification FROM table WHERE Album = closer: the best of sarah mclachlan
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the album Closer: The Best of Sarah Mclachlan certified as?.It is not neccessary to use all the tables.
|
SELECT course_name, COUNT(*) FROM Courses AS T1 JOIN Student_Course_Enrolment AS T2 ON T1.course_id = T2.course_id GROUP BY T1.course_name
|
CREATE TABLE INST, Here is a database schema( table schema);
|
List the name and the number of enrolled student for each course. Show bar chart.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.