sql
stringlengths 9
2.37k
| table
stringclasses 9
values | query
stringlengths 51
503
|
---|---|---|
SELECT 2 AS nd_leg FROM table_name_66 WHERE team__number2 = "emelec"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the 2nd leg of emelec team 2?It is not neccessary to use all the tables.
|
SELECT COUNT Week FROM table WHERE Attendance = 43,272
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many weeks had an Attendance of 43,272?.It is not neccessary to use all the tables.
|
SELECT Score FROM table WHERE Record = 58–15–8
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which score has a record of 58–15–8?.It is not neccessary to use all the tables.
|
SELECT home_team AS score FROM table_name_36 WHERE away_team = "south melbourne"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the Home team score for the team that played South Melbourne?It is not neccessary to use all the tables.
|
SELECT SUM Grid FROM table WHERE Constructor = alfa romeo AND Driver = toulo de graffenried
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Tell me the sum of the grid with alfa romeo and toulo de graffenried.It is not neccessary to use all the tables.
|
SELECT country FROM table_name_84 WHERE score = 67
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Country has a Score of 67?It is not neccessary to use all the tables.
|
SELECT Circuit FROM table WHERE Winning driver = guy edwards
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which circuit did Guy Edwards win?.It is not neccessary to use all the tables.
|
SELECT finish FROM table_name_18 WHERE player = "jack nicklaus"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Jack Nicklaus finished in what place?It is not neccessary to use all the tables.
|
SELECT away_team FROM table_name_54 WHERE home_team = "collingwood"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who faced Collingwood as an away team?It is not neccessary to use all the tables.
|
SELECT MIN(pick) FROM table_name_22 WHERE college = "ohio state"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Pick has a College of ohio state?It is not neccessary to use all the tables.
|
SELECT SUM(year) FROM table_name_7 WHERE title = "metroid prime hunters 5"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What year was Metroid Prime Hunters 5 released?It is not neccessary to use all the tables.
|
SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE STRFTIME('%y', patient.hospitaladmittime) >= '2105'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what was the number of patients admitted to hospital since 2105?It is not neccessary to use all the tables.
|
SELECT SUM Wins FROM table WHERE Year > 1976 AND Class = 350cc
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many wins have a year after 1976, and 350cc as the class?.It is not neccessary to use all the tables.
|
SELECT Loss FROM table WHERE Attendance = 17,675
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What Loss had an Attendance of 17,675?.It is not neccessary to use all the tables.
|
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.marital_status = "DIVORCED" AND demographic.admityear < "2152"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many of the patients admitted before the year 2152 were divorsed?It is not neccessary to use all the tables.
|
SELECT Roles.role_description, COUNT(Employees.employee_id) FROM ROLES JOIN Employees ON Employees.role_code = Roles.role_code GROUP BY Employees.role_code HAVING COUNT(Employees.employee_id) > 1
|
CREATE TABLE INST, Here is a database schema( table schema);
|
List roles that have more than one employee. List the role description and number of employees.It is not neccessary to use all the tables.
|
SELECT Score FROM table WHERE Player = bill rogers
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the score of player bill rogers?.It is not neccessary to use all the tables.
|
SELECT COUNT Week FROM table WHERE Attendance < 74,171 AND Result = w 26–10
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many weeks was the attendance less than 74,171 and the result was w 26–10?.It is not neccessary to use all the tables.
|
SELECT MIN Played FROM table WHERE Team = vasco da gama AND Against < 11
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Played is the lowest one that has a Team of vasco da gama, and an Against smaller than 11?.It is not neccessary to use all the tables.
|
SELECT loss FROM table_name_65 WHERE record = "46-84"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the loss of the game when the record was 46-84?It is not neccessary to use all the tables.
|
SELECT COUNT(notes) FROM table_12562214_1 WHERE date__from_ = "14 March 1910"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
how many notes are form the date (from) 14 march 1910?It is not neccessary to use all the tables.
|
SELECT date FROM table_name_42 WHERE opponent_number = "iowa"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what is the date when the opponent# is iowa?It is not neccessary to use all the tables.
|
SELECT opponent FROM table_name_48 WHERE week < 15 AND result = "l 23-17"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which opponent has a week smaller than 15 and a Result of l 23-17?It is not neccessary to use all the tables.
|
SELECT GPU frequency FROM table WHERE Frequency = 1.67 ghz AND sSpec number = slbx9(a0)
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is GPU Frequency, when Frequency is 1.67 GHz, and when sSpec Number is SLBX9(A0)?.It is not neccessary to use all the tables.
|
SELECT Adelaide FROM table WHERE Sydney = yes AND Melbourne = yes AND Perth = no
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Adelaide has Sydney yes, Melbourne yes, and Perth no?.It is not neccessary to use all the tables.
|
SELECT "Years in Toronto" FROM table_15875 WHERE "Player" = 'Marcus Banks'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
During which years was Marcus Banks in Toronto?It is not neccessary to use all the tables.
|
SELECT AVG Games FROM table WHERE Rank > 2 AND Team = olympiacos AND Points > 113
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the game average that has a rank larger than 2 with team Olympiacos and points larger than 113?.It is not neccessary to use all the tables.
|
SELECT Reputation, DisplayName, Location FROM Users WHERE LOWER(Location) LIKE '%poland%' ORDER BY Reputation DESC
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Users from Poland by Reputation.It is not neccessary to use all the tables.
|
SELECT T1.course_name FROM Courses AS T1 JOIN Student_Course_Enrolment AS T2 ON T1.course_id = T2.course_id GROUP BY T1.course_name ORDER BY COUNT(*) DESC LIMIT 1
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the name of the course that has the most student enrollment?It is not neccessary to use all the tables.
|
SELECT format FROM table_name_26 WHERE catalogno = "st 491"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Whati s the format for the catalogno of st 491?It is not neccessary to use all the tables.
|
SELECT "Attendance" FROM table_5528 WHERE "Score" = '0:1'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many were in attendance with a score of 0:1?It is not neccessary to use all the tables.
|
SELECT AVG(pick) FROM table_name_97 WHERE school_club_team = "pennsylvania"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the average pick number of Pennsylvania?It is not neccessary to use all the tables.
|
SELECT written_by FROM table_24961421_1 WHERE us_viewers__millions_ = "12.15"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who wrote the episode that had 12.15 million viewers?It is not neccessary to use all the tables.
|
SELECT SUM(top_10) FROM table_name_61 WHERE top_5 < 1
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many top 10s when he had under 1 top 5s?It is not neccessary to use all the tables.
|
SELECT Opponent FROM table WHERE Streak = lost 1 AND Date = april 30
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Opponent has a Streak of lost 1, and a Date of april 30?.It is not neccessary to use all the tables.
|
SELECT venue FROM table_name_88 WHERE season = "2010–11"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the venue during the Season of 2010–11?It is not neccessary to use all the tables.
|
SELECT Born-Died FROM table WHERE Name = maliq bushati
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is Born-Died, when Name is Maliq Bushati?.It is not neccessary to use all the tables.
|
SELECT COUNT No. in season FROM table WHERE Writtenby = Brett Conrad & Liz Sagal
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many numbers in the season were written by Brett Conrad & Liz Sagal?.It is not neccessary to use all the tables.
|
SELECT thumb_stick FROM table_name_76 WHERE wrist_pad = "no" AND supplier = "sharkoon"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Thumb stick has a Wrist pad of no and a Supplier of sharkoon?It is not neccessary to use all the tables.
|
SELECT label FROM table_name_33 WHERE format = "double cd"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is Label when Format is Double CD?It is not neccessary to use all the tables.
|
SELECT result FROM table_1341690_18 WHERE incumbent = "John Breaux"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What were the results when the incumbent was John Breaux?It is not neccessary to use all the tables.
|
SELECT Bonus points FROM table WHERE Points for = 379
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many bonus points did the club who had 379 points for have?.It is not neccessary to use all the tables.
|
SELECT venue FROM table_name_94 WHERE score = "1 goal" AND date = "august 27, 1980"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the venue when the score is 1 goal, and the date is August 27, 1980?It is not neccessary to use all the tables.
|
SELECT Posts.Id AS "post_link", Posts.Title, ViewCount FROM Tags JOIN PostTags ON PostTags.TagId = Tags.Id JOIN Posts ON Posts.Id = PostTags.PostId WHERE Tags.TagName = '##TagName##' AND (LENGTH(Posts.Body) <= 1000) AND ((Posts.Body LIKE '%compare(%') OR (Posts.Body LIKE '%compareTo%') OR (Posts.Body LIKE '%<code>%')) AND (Posts.Body LIKE '%total order%' OR Posts.Body LIKE '%transitive%' OR Posts.Body LIKE '%symmetric%' OR Posts.Body LIKE '%reflexive%') GROUP BY Posts.Id, Posts.Title, Posts.ViewCount
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Retrieve posts of a user-specified tag and with keywords in body and title.It is not neccessary to use all the tables.
|
SELECT Away FROM table WHERE Ground = humber college north
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the Away with a Ground that is humber college north?.It is not neccessary to use all the tables.
|
SELECT COUNT Withdrawn FROM table WHERE Number > 5
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many items withdrawn had numbers over 5?.It is not neccessary to use all the tables.
|
SELECT builder FROM table_name_8 WHERE built < 1880
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which builder has a Built smaller than 1880?It is not neccessary to use all the tables.
|
SELECT Goals FROM table WHERE Score = 26-28
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What were the goals in the game with the 26-28 final score?.It is not neccessary to use all the tables.
|
SELECT COUNT Played FROM table WHERE Drawn = 2 AND Position > 3 AND Points < 10
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How much Played has Drawn of 2, and a Position larger than 3, and Points smaller than 10?.It is not neccessary to use all the tables.
|
SELECT "Away team score" FROM table_58051 WHERE "Venue" = 'brunswick street oval'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the away score when the game was at Brunswick Street Oval?It is not neccessary to use all the tables.
|
SELECT Result FROM table WHERE Venue = filbert street
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the Result with a Venue that is filbert street?.It is not neccessary to use all the tables.
|
SELECT MIN(highest_position) FROM table_13805432_2 WHERE artist = "Paul Evans"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what is the minimum highest position with artbeingt being paul evansIt is not neccessary to use all the tables.
|
SELECT MAX(attendance) FROM table_name_62 WHERE date = "19 february 2005"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the most attendance for 19 february 2005It is not neccessary to use all the tables.
|
SELECT Try bonus FROM table WHERE Points = 58
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the try bonus when there were 58 points?.It is not neccessary to use all the tables.
|
SELECT Jury FROM table WHERE Singer = kostas bigalis & mirella fragkopoulou
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Kostas Bigalis & Mirella Fragkopoulou the singer had what has the jury?.It is not neccessary to use all the tables.
|
SELECT Away team FROM table WHERE Home team score = 13.12 (90)
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who was the away team when the home team scored 13.12 (90)?.It is not neccessary to use all the tables.
|
SELECT MAX(points) FROM table_name_83 WHERE engine = "mugen v8" AND year = 1991
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What are the highest points that have a Mugen V8 engine and happened in 1991?It is not neccessary to use all the tables.
|
SELECT MIN Population (May, 2000) FROM table WHERE Population (May, 2010) = 2262
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the population in May of 2000 when In may 2010 it was 2262?.It is not neccessary to use all the tables.
|
SELECT MAX(founded) FROM table_16168849_1 WHERE nickname = "Blue Hose"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the maximum founded for blue hoseIt is not neccessary to use all the tables.
|
SELECT athletes FROM table_name_39 WHERE run_2 = "2:21.82"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Athletes have a Run 2 of 2:21.82?It is not neccessary to use all the tables.
|
SELECT AVG Top-25 FROM table WHERE Top-10 < 2
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the average number of top-25s for events with less than 2 top-10s?.It is not neccessary to use all the tables.
|
SELECT written_by FROM table_29436007_1 WHERE no_in_season = 23
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who wrote episode 23 of the season?It is not neccessary to use all the tables.
|
SELECT player FROM table_2886617_9 WHERE nhl_team = "St. Louis Blues"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who was picked for the draft by St. Louis Blues?It is not neccessary to use all the tables.
|
SELECT lens__35mm_equiv__zoom, _aperture FROM table_name_79 WHERE model = "coolpix 5400"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the lens zoom and aperture for the coolpix 5400?It is not neccessary to use all the tables.
|
SELECT MIN(int) AS yards FROM table_15581223_8 WHERE sacks = "11.5"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the least int yards when sacks is 11.5It is not neccessary to use all the tables.
|
SELECT Directed by FROM table WHERE Production code = 414
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who directed 414?.It is not neccessary to use all the tables.
|
SELECT AVG(pick__number) FROM table_name_21 WHERE college = "carson-newman" AND round < 7
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What's the average draft pick number from Carson-Newman College before Round 7?It is not neccessary to use all the tables.
|
SELECT result FROM table_name_22 WHERE competition = "2000 afc asian cup group stages"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the result of the competition of 2000 afc asian cup group stages?It is not neccessary to use all the tables.
|
SELECT loans_received, _3q FROM table_name_24 WHERE total_debt = "$169,256"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the amount of loans received with a total debt of $169256?It is not neccessary to use all the tables.
|
SELECT dominant_religion__2002_ FROM table_2562572_37 WHERE settlement = "Srpska Crnja"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the dominant religion of srpska crnjaIt is not neccessary to use all the tables.
|
SELECT Destruction_Authorised_by_Employee_ID, COUNT(*) FROM Documents_to_be_Destroyed GROUP BY Destruction_Authorised_by_Employee_ID
|
CREATE TABLE INST, Here is a database schema( table schema);
|
plot scatter on what are the id of each employee and the number of document destruction authorised by that employee?It is not neccessary to use all the tables.
|
SELECT COUNT(byes) FROM table_name_41 WHERE losses = 13 AND wins < 5
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the total number of byes that has 13 losses and wins less than 5?It is not neccessary to use all the tables.
|
SELECT "Player" FROM table_61125 WHERE "Country" = 'northern ireland'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which player is from Northern Ireland?It is not neccessary to use all the tables.
|
SELECT country FROM table_2879165_1 WHERE ioc_code = "MAS"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the name of the country when the ioc code is mas?It is not neccessary to use all the tables.
|
SELECT SUM("Points") FROM table_47365 WHERE "Home" = 'pittsburgh' AND "Date" = 'december 21' AND "Attendance" > '5,307'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the sum of Points, when Home is 'Pittsburgh', when Date is 'December 21', and when Attendance is greater than 5,307?It is not neccessary to use all the tables.
|
SELECT MAX(fiscal_year) FROM table_name_95 WHERE revenues = "$4.3 billion" AND employees > 85 OFFSET 335
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the latest Fiscal Year with Revenues of $4.3 billion and more than 85335 employees?It is not neccessary to use all the tables.
|
SELECT Score FROM table WHERE Place = t6 AND Player = raymond floyd
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Score has a Place of t6, and a Player of raymond floyd?.It is not neccessary to use all the tables.
|
SELECT Home team FROM table WHERE Away team = aylesbury vale
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who was the home team that played against Aylesbury Vale?.It is not neccessary to use all the tables.
|
SELECT venue FROM table_name_82 WHERE home_team = "fitzroy"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is Fitzroy's home field?It is not neccessary to use all the tables.
|
SELECT Record FROM table WHERE Event = superbrawl 21
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the record for the Superbrawl 21?.It is not neccessary to use all the tables.
|
SELECT Left office FROM table WHERE Took office = 11 june 2001 AND Minister = mirko tremaglia
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is Left Office, when Took Office is "11 June 2001", and when Minister is "Mirko Tremaglia"?.It is not neccessary to use all the tables.
|
SELECT COUNT(wins) FROM table_name_96 WHERE ballarat_fl = "darley" AND against > 1055
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the total number of wins for Darley of Ballarat FL against larger than 1055?It is not neccessary to use all the tables.
|
SELECT Date of Birth FROM table WHERE Club = bvsc vízilabda
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the birth date of a member of the Club of bvsc vízilabda?.It is not neccessary to use all the tables.
|
SELECT COUNT(poles) FROM table_25538763_1 WHERE season = 2012 AND points = "252"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many pole data were given on season 2012 with 252 points?It is not neccessary to use all the tables.
|
SELECT award FROM table_name_97 WHERE motion_picture = "what's love got to do with it"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What Award was received bby the Motion Picture What's Love Got To Do With It?It is not neccessary to use all the tables.
|
SELECT 2001 FROM table_name_31 WHERE 2007 = "1r"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
2007 of 1r is involved in what 2001?It is not neccessary to use all the tables.
|
SELECT Frequency FROM table WHERE Owner = canadian broadcasting corporation AND Branding = cbc radio one
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the frequency of the station owned by the Canadian Broadcasting Corporation and branded as CBC Radio One?.It is not neccessary to use all the tables.
|
SELECT Date FROM table WHERE Grand Prix = portuguese grand prix
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What date is the Portuguese Grand Prix?.It is not neccessary to use all the tables.
|
SELECT COUNT(date_of_vacancy) FROM table_28164986_4 WHERE outgoing_manager = "Tunde Abdulrahman"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
how many times did tunde abdulrahman leave the team?It is not neccessary to use all the tables.
|
SELECT score FROM table_name_94 WHERE home = "montreal"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the score when Montreal was home?It is not neccessary to use all the tables.
|
SELECT "Record" FROM table_29598 WHERE "Date" = 'October 16'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the record for the October 16 game?It is not neccessary to use all the tables.
|
SELECT 2012 FROM table_name_62 WHERE tournament = "us open"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the 2012 finish in the US Open?It is not neccessary to use all the tables.
|
SELECT source FROM table_name_28 WHERE date = "june 2008"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which source has a date of June 2008?It is not neccessary to use all the tables.
|
SELECT SUM Crowd FROM table WHERE Venue = kardinia park
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How large was the crowd at the Kardinia Park venue games?.It is not neccessary to use all the tables.
|
SELECT MAX(no) FROM table_11545282_12 WHERE school_club_team = "Minnesota"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which number is the player from Minnesota?It is not neccessary to use all the tables.
|
SELECT AVG(wins) FROM table_name_42 WHERE goal_difference > -24 AND draws > 7
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Can you tell me the average Wins that has the Goal Difference larger than -24 and the Draws larger than 7?It is not neccessary to use all the tables.
|
SELECT Position, COUNT(*) FROM match_season GROUP BY Position ORDER BY COUNT(*) DESC
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Give me a bar chart for the total number of each position, rank from high to low by the Y-axis.It is not neccessary to use all the tables.
|
SELECT MAX Population per km² (2009) FROM table WHERE Province = western province AND Area (km²) > 5,475
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the highest Population per km² (2009) that is in western province, with an Area (km²) larger than 5,475?.It is not neccessary to use all the tables.
|
SELECT score FROM table_name_8 WHERE date = "january 23"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the Score on January 23?It is not neccessary to use all the tables.
|
SELECT Sport FROM table WHERE Name = national team AND Games = 1968 mexico city
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What sport did the National Team play in the 1968 mexico City Games?.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.