instruction
stringlengths 5
766
| input
stringlengths 38
5.51k
| response
stringlengths 4
3.91k
|
|---|---|---|
When did woking compete?
|
CREATE TABLE table_name_92 (
date VARCHAR,
opponent VARCHAR
)
|
SELECT date FROM table_name_92 WHERE opponent = "woking"
|
What was the home team score for essendon?
|
CREATE TABLE table_38752 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Ground" text,
"Crowd" real,
"Date" text,
"Report" text
)
|
SELECT "Home team score" FROM table_38752 WHERE "Home team" = 'essendon'
|
What is on the reverse side of the 100 coin?
|
CREATE TABLE table_298883_5 (
reverse VARCHAR,
value VARCHAR
)
|
SELECT reverse FROM table_298883_5 WHERE value = "β©100"
|
Where was held the ceremony for the 12th Pride of Britain Awards?
|
CREATE TABLE table_19041 (
"Episode" text,
"Original Air Date" text,
"Viewers (millions)" text,
"Presenter" text,
"Location" text
)
|
SELECT "Location" FROM table_19041 WHERE "Episode" = '12th Pride of Britain Awards'
|
what is the giro wins when jerseys is 2, country is portugal and young rider is more than 0?
|
CREATE TABLE table_65195 (
"Rank" text,
"Country" text,
"Jerseys" real,
"Giro wins" real,
"Points" real,
"Young rider" real,
"Most recent cyclist" text,
"Most recent date" text,
"Different holders" real
)
|
SELECT SUM("Giro wins") FROM table_65195 WHERE "Jerseys" = '2' AND "Country" = 'portugal' AND "Young rider" > '0'
|
What is the Sipe Sipe Municipality minimum if the language is Quechua?
|
CREATE TABLE table_27387 (
"Language" text,
"Quillacollo Municipality" real,
"Sipe Sipe Municipality" real,
"Tiquipaya Municipality" real,
"Vinto Municipality" real,
"Colcapirhua Municipality" real
)
|
SELECT MIN("Sipe Sipe Municipality") FROM table_27387 WHERE "Language" = 'Quechua'
|
What's the sum of Quantity for the Class of 1928 of CI-30?
|
CREATE TABLE table_name_1 (
quantity INTEGER,
class_from_1928 VARCHAR
)
|
SELECT SUM(quantity) FROM table_name_1 WHERE class_from_1928 = "ci-30"
|
What is the accreditation level for the approved (awarded 05.12.12) date?
|
CREATE TABLE table_name_72 (
accreditation_level VARCHAR,
date VARCHAR
)
|
SELECT accreditation_level FROM table_name_72 WHERE date = "approved (awarded 05.12.12)"
|
What is Name, when Laps is '50', when Grid is greater than 9, when Team is 'Jim Beam Racing', and when Time/Retired is '+ 18.0s'?
|
CREATE TABLE table_48468 (
"Name" text,
"Team" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
|
SELECT "Name" FROM table_48468 WHERE "Laps" = '50' AND "Grid" > '9' AND "Team" = 'jim beam racing' AND "Time/Retired" = '+ 18.0s'
|
What is the fewest area in Derrynanool townland?
|
CREATE TABLE table_31495 (
"Townland" text,
"Area( acres )" real,
"Barony" text,
"Civil parish" text,
"Poor law union" text
)
|
SELECT MIN("Area( acres )") FROM table_31495 WHERE "Townland" = 'Derrynanool'
|
Which show as previously on The Family Channel?
|
CREATE TABLE table_21183 (
"Show" text,
"Last Aired" real,
"Previous Network" text,
"Retitled as/Same" text,
"New/Returning/Same Network" text,
"Returning" text
)
|
SELECT "Show" FROM table_21183 WHERE "Previous Network" = 'The Family Channel'
|
What is the Length/Fuel of the bus built between 2000-2003 with a high Floor Styling?
|
CREATE TABLE table_name_91 (
length_fuel VARCHAR,
floor_styling VARCHAR,
year_built VARCHAR
)
|
SELECT length_fuel FROM table_name_91 WHERE floor_styling = "high" AND year_built = "2000-2003"
|
What shooter has wc munich as the event, and 8 as the rank points?
|
CREATE TABLE table_name_43 (
shooter VARCHAR,
event VARCHAR,
rank_points VARCHAR
)
|
SELECT shooter FROM table_name_43 WHERE event = "wc munich" AND rank_points = "8"
|
What are the profits (in billions) of the company with a market value of 172.9 billion?
|
CREATE TABLE table_1682026_3 (
profits__billion_$_ VARCHAR,
market_value__billion_$_ VARCHAR
)
|
SELECT profits__billion_$_ FROM table_1682026_3 WHERE market_value__billion_$_ = "172.9"
|
Who is the pick from the Purdue College?
|
CREATE TABLE table_name_90 (
pick VARCHAR,
college VARCHAR
)
|
SELECT pick FROM table_name_90 WHERE college = "purdue"
|
Which League championship is the lowest one that has a Venue of penn state ice pavilion, and a Club of penn state nittany lions men's ice hockey?
|
CREATE TABLE table_46856 (
"Sport" text,
"League" text,
"Club" text,
"Founded" real,
"Venue" text,
"League championships" real,
"Championship years" text
)
|
SELECT MIN("League championships") FROM table_46856 WHERE "Venue" = 'penn state ice pavilion' AND "Club" = 'penn state nittany lions men''s ice hockey'
|
For the Venue of western oval, what's the Away team playing?
|
CREATE TABLE table_54575 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
)
|
SELECT "Away team" FROM table_54575 WHERE "Venue" = 'western oval'
|
What time was the fastest lap during Stoh's 200 in 1982?
|
CREATE TABLE table_33447 (
"Name" text,
"Pole Position" text,
"Fastest Lap" text,
"Winning driver" text,
"Report" text
)
|
SELECT "Fastest Lap" FROM table_33447 WHERE "Name" = 'stoh''s 200'
|
How many distinct countries are the climbers from?
|
CREATE TABLE climber (
Country VARCHAR
)
|
SELECT COUNT(DISTINCT Country) FROM climber
|
how many towns or villages have a population of at least 5 but less than 10 ?
|
CREATE TABLE table_203_568 (
id number,
"town/village" text,
"population" number,
"postal code" text,
"municipality" text,
"island" text,
"location" text
)
|
SELECT COUNT("town/village") FROM table_203_568 WHERE "population" >= 5 AND "population" < 10
|
What is every denomination for the school Seymour college?
|
CREATE TABLE table_22043925_1 (
denomination VARCHAR,
school VARCHAR
)
|
SELECT denomination FROM table_22043925_1 WHERE school = "Seymour College"
|
Which class has *alanaz as Part 4?
|
CREATE TABLE table_50829 (
"Class" text,
"Part 1" text,
"Part 2" text,
"Part 3" text,
"Part 4" text,
"Verb meaning" text
)
|
SELECT "Class" FROM table_50829 WHERE "Part 4" = '*alanaz'
|
How many wrestlers are there?
|
CREATE TABLE elimination (
elimination_id text,
wrestler_id text,
team text,
eliminated_by text,
elimination_move text,
time text
)
CREATE TABLE wrestler (
wrestler_id number,
name text,
reign text,
days_held text,
location text,
event text
)
|
SELECT COUNT(*) FROM wrestler
|
give the least number of times an episode was shown from 1997-1998
|
CREATE TABLE table_10953197_6 (
no_in_season INTEGER
)
|
SELECT MIN(no_in_season) FROM table_10953197_6
|
COunt the Founded which has a Venue of villa park?
|
CREATE TABLE table_8187 (
"Club" text,
"Sport" text,
"Founded" real,
"League" text,
"Venue" text
)
|
SELECT SUM("Founded") FROM table_8187 WHERE "Venue" = 'villa park'
|
For those records from the products and each product's manufacturer, find name and price , and group by attribute founder, and visualize them by a bar chart, and I want to rank x-axis in asc order.
|
CREATE TABLE Products (
Code INTEGER,
Name VARCHAR(255),
Price DECIMAL,
Manufacturer INTEGER
)
CREATE TABLE Manufacturers (
Code INTEGER,
Name VARCHAR(255),
Headquarter VARCHAR(255),
Founder VARCHAR(255),
Revenue REAL
)
|
SELECT T1.Name, T1.Price FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Founder, T1.Name ORDER BY T1.Name
|
After December 19, what is the Game number with a Record of 21 4 7?
|
CREATE TABLE table_38946 (
"Game" real,
"December" real,
"Opponent" text,
"Score" text,
"Record" text,
"Points" real
)
|
SELECT COUNT("Game") FROM table_38946 WHERE "Record" = '21β4β7' AND "December" > '19'
|
Tell me the total number of Bronze for futsal
|
CREATE TABLE table_10315 (
"Sport" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
|
SELECT COUNT("Bronze") FROM table_10315 WHERE "Sport" = 'futsal'
|
Name the date for score w 109 95 (ot)
|
CREATE TABLE table_73510 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Record" text
)
|
SELECT "Date" FROM table_73510 WHERE "Score" = 'W 109β95 (OT)'
|
What venue did the away team footscray play at?
|
CREATE TABLE table_name_63 (
venue VARCHAR,
away_team VARCHAR
)
|
SELECT venue FROM table_name_63 WHERE away_team = "footscray"
|
Who were the guests in the episode with production code 6021?
|
CREATE TABLE table_25691838_2 (
guest VARCHAR,
production_code VARCHAR
)
|
SELECT guest FROM table_25691838_2 WHERE production_code = 6021
|
For those records from the products and each product's manufacturer, show me about the distribution of headquarter and the sum of code , and group by attribute headquarter in a bar chart, could you rank y-axis in asc order please?
|
CREATE TABLE Manufacturers (
Code INTEGER,
Name VARCHAR(255),
Headquarter VARCHAR(255),
Founder VARCHAR(255),
Revenue REAL
)
CREATE TABLE Products (
Code INTEGER,
Name VARCHAR(255),
Price DECIMAL,
Manufacturer INTEGER
)
|
SELECT T2.Headquarter, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Headquarter ORDER BY T1.Code
|
What is the score of the United States, which has a to par of +5?
|
CREATE TABLE table_8423 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text,
"Money ( $ )" real
)
|
SELECT "Score" FROM table_8423 WHERE "Country" = 'united states' AND "To par" = '+5'
|
Name the Tag Team with a Time of 03:34?
|
CREATE TABLE table_name_10 (
tag_team VARCHAR,
time VARCHAR
)
|
SELECT tag_team FROM table_name_10 WHERE time = "03:34"
|
What is the date of the game away against Pride?
|
CREATE TABLE table_11495 (
"Date" text,
"Opponent" text,
"Home/Away" text,
"Field" text,
"Result" text
)
|
SELECT "Date" FROM table_11495 WHERE "Opponent" = 'pride' AND "Home/Away" = 'away'
|
Which Position has a Player of patrick macdonald?
|
CREATE TABLE table_56631 (
"Pick #" real,
"CFL Team" text,
"Player" text,
"Position" text,
"College" text
)
|
SELECT "Position" FROM table_56631 WHERE "Player" = 'patrick macdonald'
|
What is the Venue with an Attendance that is larger than 6,938?
|
CREATE TABLE table_7185 (
"Date" text,
"Opponent" text,
"Venue" text,
"Result" text,
"Attendance" real
)
|
SELECT "Venue" FROM table_7185 WHERE "Attendance" > '6,938'
|
What are the campuses that opened in 1958?
|
CREATE TABLE degrees (
year number,
campus number,
degrees number
)
CREATE TABLE discipline_enrollments (
campus number,
discipline number,
year number,
undergraduate number,
graduate number
)
CREATE TABLE enrollments (
campus number,
year number,
totalenrollment_ay number,
fte_ay number
)
CREATE TABLE campuses (
id number,
campus text,
location text,
county text,
year number
)
CREATE TABLE faculty (
campus number,
year number,
faculty number
)
CREATE TABLE csu_fees (
campus number,
year number,
campusfee number
)
|
SELECT campus FROM campuses WHERE year = 1958
|
What is the record for the opponent the Cleveland Cavaliers?
|
CREATE TABLE table_43612 (
"Game" real,
"Date" text,
"Opponent" text,
"Score" text,
"Location" text,
"Record" text
)
|
SELECT "Record" FROM table_43612 WHERE "Opponent" = 'cleveland cavaliers'
|
What is the 1st leg of the team with a 2-1 agg.?
|
CREATE TABLE table_6141 (
"Team 1" text,
"Agg." text,
"Team 2" text,
"1st leg" text,
"2nd leg" text
)
|
SELECT "1st leg" FROM table_6141 WHERE "Agg." = '2-1'
|
Who is the owner of RSS Racing that driver Ryan Sieg belongs to?
|
CREATE TABLE table_name_75 (
owner_s_ VARCHAR,
team VARCHAR,
driver_s_ VARCHAR
)
|
SELECT owner_s_ FROM table_name_75 WHERE team = "rss racing" AND driver_s_ = "ryan sieg"
|
When did Avex Entertainment release a CD?
|
CREATE TABLE table_65412 (
"Region" text,
"Date" text,
"Format" text,
"Label" text,
"Edition" text
)
|
SELECT "Date" FROM table_65412 WHERE "Format" = 'cd' AND "Label" = 'avex entertainment'
|
What is the score for the team with a record of 2-1?
|
CREATE TABLE table_name_81 (
score VARCHAR,
record VARCHAR
)
|
SELECT score FROM table_name_81 WHERE record = "2-1"
|
How many rating/share values does the episode aired on Saturday, May 9, 2009?
|
CREATE TABLE table_1712 (
"Episode #" real,
"US air date" text,
"Rating" text,
"Share" text,
"Rating/Share (18\u201349)" text,
"Viewers (millions)" text
)
|
SELECT COUNT("Rating/Share (18\u201349)") FROM table_1712 WHERE "US air date" = 'Saturday, May 9, 2009'
|
What team placed fifth during the season where Victoria placed second, Tasmania placed first, and South Australia placed sixth?
|
CREATE TABLE table_name_96 (
fifth VARCHAR,
sixth VARCHAR,
second VARCHAR,
first VARCHAR
)
|
SELECT fifth FROM table_name_96 WHERE second = "victoria" AND first = "tasmania" AND sixth = "south australia"
|
What is the least top division titles?
|
CREATE TABLE table_11250_4 (
top_division_titles INTEGER
)
|
SELECT MIN(top_division_titles) FROM table_11250_4
|
When Benall DFL is Goorambat with less than 13 wins, what is the least amount of losses?
|
CREATE TABLE table_name_15 (
losses INTEGER,
benalla_dfl VARCHAR,
wins VARCHAR
)
|
SELECT MIN(losses) FROM table_name_15 WHERE benalla_dfl = "goorambat" AND wins < 13
|
How many tourists visited the country that had 2.5 million tourists in 2011?
|
CREATE TABLE table_34550 (
"Rank" real,
"Country" text,
"International tourist arrivals (2012)" text,
"International tourist arrivals (2011)" text,
"Change (2011 to 2012)" text,
"Change (2010 to 2011)" text
)
|
SELECT "International tourist arrivals (2012)" FROM table_34550 WHERE "International tourist arrivals (2011)" = '2.5 million'
|
Which places have points larger than 10?
|
CREATE TABLE table_name_8 (
points INTEGER,
place INTEGER
)
|
SELECT MIN(points) FROM table_name_8 WHERE place > 10
|
who won the last one ?
|
CREATE TABLE table_204_585 (
id number,
"year" text,
"player" text,
"high school" text,
"college" text,
"nba/aba draft" text
)
|
SELECT "player" FROM table_204_585 ORDER BY "year" DESC LIMIT 1
|
What is To par, when Total is less than 148, and when Country is 'South Africa'?
|
CREATE TABLE table_60897 (
"Player" text,
"Country" text,
"Year(s) won" text,
"Total" real,
"To par" real
)
|
SELECT "To par" FROM table_60897 WHERE "Total" < '148' AND "Country" = 'south africa'
|
what's the score where year is 2007
|
CREATE TABLE table_11214772_1 (
score VARCHAR,
year VARCHAR
)
|
SELECT score FROM table_11214772_1 WHERE year = "2007"
|
Which chassis is more recent than 1972 and has more than 0 Pts. ?
|
CREATE TABLE table_name_53 (
chassis VARCHAR,
year VARCHAR,
pts VARCHAR
)
|
SELECT chassis FROM table_name_53 WHERE year > 1972 AND pts > 0
|
What is the lowest fiscal year if total vehicles is 490?
|
CREATE TABLE table_19255192_1 (
fiscal_year INTEGER,
total_vehicles VARCHAR
)
|
SELECT MIN(fiscal_year) FROM table_19255192_1 WHERE total_vehicles = 490
|
What was the outcome for the match that ended in a score of 5 7, 6 4, [10 7]?
|
CREATE TABLE table_name_84 (
outcome VARCHAR,
score_in_final VARCHAR
)
|
SELECT outcome FROM table_name_84 WHERE score_in_final = "5β7, 6β4, [10β7]"
|
Who is the owner operator who has license number PL 59?
|
CREATE TABLE table_59730 (
"Name (year commissioned)" text,
"Owner/operator" text,
"Length" text,
"Maximum diameter" text,
"From/to" text,
"Licence number" text
)
|
SELECT "Owner/operator" FROM table_59730 WHERE "Licence number" = 'pl 59'
|
What is the name of the project that has a scientist assigned to it whose name contains 'Smith', and count them by a bar chart
|
CREATE TABLE Scientists (
SSN int,
Name Char(30)
)
CREATE TABLE Projects (
Code Char(4),
Name Char(50),
Hours int
)
CREATE TABLE AssignedTo (
Scientist int,
Project char(4)
)
|
SELECT T2.Name, COUNT(T2.Name) FROM AssignedTo AS T1 JOIN Projects AS T2 ON T1.Project = T2.Code JOIN Scientists AS T3 ON T1.Scientist = T3.SSN WHERE T3.Name LIKE '%Smith%' GROUP BY T2.Name
|
Name the result for north carolina 7
|
CREATE TABLE table_19753079_36 (
result VARCHAR,
district VARCHAR
)
|
SELECT result FROM table_19753079_36 WHERE district = "North Carolina 7"
|
Name the loss on may 29
|
CREATE TABLE table_name_20 (
loss VARCHAR,
date VARCHAR
)
|
SELECT loss FROM table_name_20 WHERE date = "may 29"
|
What team has a home city of Velika?
|
CREATE TABLE table_77051 (
"Team" text,
"Manager" text,
"Home city" text,
"Stadium" text,
"Capacity" real
)
|
SELECT "Team" FROM table_77051 WHERE "Home city" = 'velika'
|
What are the different names of the colleges involved in the tryout in alphabetical order?
|
CREATE TABLE tryout (
pid number,
cname text,
ppos text,
decision text
)
CREATE TABLE player (
pid number,
pname text,
ycard text,
hs number
)
CREATE TABLE college (
cname text,
state text,
enr number
)
|
SELECT DISTINCT cname FROM tryout ORDER BY cname
|
Which Wrestler has an Elimination of 5?
|
CREATE TABLE table_59184 (
"Elimination" text,
"Wrestler" text,
"Eliminated by" text,
"Elimination Move" text,
"Time" text
)
|
SELECT "Wrestler" FROM table_59184 WHERE "Elimination" = '5'
|
How many Pumpers have Cars of 1, and a Staffing of volunteer, and a Brigade of grovedale, and Tankers smaller than 1?
|
CREATE TABLE table_8401 (
"Brigade" text,
"Staffing" text,
"Type" text,
"Location" text,
"Pumpers" real,
"Tankers" real,
"Telebooms" text,
"Platforms" text,
"Cars" text,
"Hazmat" text
)
|
SELECT COUNT("Pumpers") FROM table_8401 WHERE "Cars" = '1' AND "Staffing" = 'volunteer' AND "Brigade" = 'grovedale' AND "Tankers" < '1'
|
What's the number of the game in which Carlos Boozer (8) did the high rebounds?
|
CREATE TABLE table_73525 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Record" text
)
|
SELECT "Game" FROM table_73525 WHERE "High rebounds" = 'Carlos Boozer (8)'
|
What Tries against that have a Points against of 95 and Tries for larger than 20?
|
CREATE TABLE table_name_91 (
tries_against INTEGER,
points_against VARCHAR,
tries_for VARCHAR
)
|
SELECT SUM(tries_against) FROM table_name_91 WHERE points_against = 95 AND tries_for > 20
|
What is the electorates in 2009 for Modi Nagar?
|
CREATE TABLE table_name_6 (
number_of_electorates__2009_ INTEGER,
name VARCHAR
)
|
SELECT AVG(number_of_electorates__2009_) FROM table_name_6 WHERE name = "modi nagar"
|
which reps were only appointed by franklin pierce ?
|
CREATE TABLE table_203_778 (
id number,
"representative" text,
"title" text,
"presentation\nof credentials" text,
"termination\nof mission" text,
"appointed by" text
)
|
SELECT "representative" FROM table_203_778 WHERE "appointed by" = 'franklin pierce'
|
where did marie-laure taya win?
|
CREATE TABLE table_name_90 (
venue VARCHAR,
winner VARCHAR
)
|
SELECT venue FROM table_name_90 WHERE winner = "marie-laure taya"
|
Bar chart x axis sex y axis how many sex, and order in desc by the how many sex.
|
CREATE TABLE candidate (
Candidate_ID int,
People_ID int,
Poll_Source text,
Date text,
Support_rate real,
Consider_rate real,
Oppose_rate real,
Unsure_rate real
)
CREATE TABLE people (
People_ID int,
Sex text,
Name text,
Date_of_Birth text,
Height real,
Weight real
)
|
SELECT Sex, COUNT(Sex) FROM people GROUP BY Sex ORDER BY COUNT(Sex) DESC
|
What day did they play the New Orleans Saints?
|
CREATE TABLE table_33717 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" real
)
|
SELECT "Date" FROM table_33717 WHERE "Opponent" = 'new orleans saints'
|
What is the position of the player with a jersey # greater than 30 and a December 23, 1986 birthdate?
|
CREATE TABLE table_name_83 (
position VARCHAR,
jersey__number VARCHAR,
birthdate VARCHAR
)
|
SELECT position FROM table_name_83 WHERE jersey__number > 30 AND birthdate = "december 23, 1986"
|
what number of games did both teams score no points ?
|
CREATE TABLE table_203_675 (
id number,
"match" number,
"date" text,
"round" text,
"home/away" text,
"opponent team" text,
"score" text,
"scorers" text
)
|
SELECT COUNT(*) FROM table_203_675 WHERE "score" = 0 AND "score" = 0
|
What's the smallest draw that has a place bigger more than 1 and Anastasia Prikhodko as the artist?
|
CREATE TABLE table_13971 (
"Draw" real,
"Artist" text,
"Song" text,
"Result" text,
"Place" real
)
|
SELECT MIN("Draw") FROM table_13971 WHERE "Artist" = 'anastasia prikhodko' AND "Place" > '1'
|
which member of the 500 club has the least amount of home runs ?
|
CREATE TABLE table_203_611 (
id number,
"player" text,
"hr" number,
"date reached 500 hr" text,
"team" text,
"seasons played" text
)
|
SELECT "player" FROM table_203_611 ORDER BY "hr" LIMIT 1
|
How many Byes have Wins smaller than 11, and a Wimmera FL of minyip murtoa, and Losses smaller than 6?
|
CREATE TABLE table_65612 (
"Wimmera FL" text,
"Wins" real,
"Byes" real,
"Losses" real,
"Draws" real,
"Against" real
)
|
SELECT COUNT("Byes") FROM table_65612 WHERE "Wins" < '11' AND "Wimmera FL" = 'minyip murtoa' AND "Losses" < '6'
|
What was the drawn when the tries against was 89?
|
CREATE TABLE table_12792876_3 (
drawn VARCHAR,
tries_against VARCHAR
)
|
SELECT drawn FROM table_12792876_3 WHERE tries_against = "89"
|
Name the project with length overall being 25 and name of levante
|
CREATE TABLE table_71730 (
"Hull No." real,
"Year" real,
"Project" text,
"Length overall in meters (without bowsprit)" real,
"Name" text,
"Destination" text
)
|
SELECT "Project" FROM table_71730 WHERE "Length overall in meters (without bowsprit)" = '25' AND "Name" = 'levante'
|
What is the number of meaning where full name is chidinma anulika?
|
CREATE TABLE table_17247 (
"Full Name" text,
"Nickname" text,
"Gender" text,
"Weight at birth" text,
"Meaning" text
)
|
SELECT COUNT("Meaning") FROM table_17247 WHERE "Full Name" = 'Chidinma Anulika'
|
What are all role codes?
|
CREATE TABLE ROLES (
role_code VARCHAR
)
|
SELECT role_code FROM ROLES
|
When was the last year when Katharine Hepburn won?
|
CREATE TABLE table_54722 (
"Superlative" text,
"Actress" text,
"Record Set" text,
"Year" real,
"Notes" text
)
|
SELECT MAX("Year") FROM table_54722 WHERE "Actress" = 'katharine hepburn'
|
give the number of players covered by the table .
|
CREATE TABLE table_203_621 (
id number,
"player" text,
"games played" number,
"minutes played" number,
"minutes played per game" number,
"rebounds" number,
"rebounds per game" number,
"assists" number,
"assists per game" number,
"field goal %" number,
"free throw %" number,
"3-point %" number,
"points" number,
"points per game" number
)
|
SELECT COUNT("player") FROM table_203_621
|
when is the opponent lyoto machida?
|
CREATE TABLE table_43572 (
"Result" text,
"TUF Competitor" text,
"Opponent" text,
"Method" text,
"Event" text,
"Date" text
)
|
SELECT "Date" FROM table_43572 WHERE "Opponent" = 'lyoto machida'
|
What is the Shuji Kondo value related to a PEPE Michinoku value of sabin (14:43)?
|
CREATE TABLE table_55064 (
"Block A" text,
"Ryuji Hijikata" text,
"Shuji Kondo" text,
"El NOSAWA Mendoza" text,
"PEPE Michinoku" text,
"Katsuhiko Nakajima" text
)
|
SELECT "Shuji Kondo" FROM table_55064 WHERE "PEPE Michinoku" = 'sabin (14:43)'
|
What's the 2012 during Wimbledon and had a Q3 in 2008?
|
CREATE TABLE table_name_83 (
tournament VARCHAR
)
|
SELECT 2012 FROM table_name_83 WHERE 2008 = "q3" AND tournament = "wimbledon"
|
what team comes before confey
|
CREATE TABLE table_204_772 (
id number,
"team" text,
"county" text,
"wins" number,
"years won" number
)
|
SELECT "team" FROM table_204_772 WHERE id = (SELECT id FROM table_204_772 WHERE "team" = 'confey') - 1
|
Which series occurred when the 7800 was 5040.00?
|
CREATE TABLE table_2544694_3 (
indonesia_super_series_2008 VARCHAR
)
|
SELECT indonesia_super_series_2008 FROM table_2544694_3 WHERE 780000 = "5040.00"
|
What Player is from Iowa State?
|
CREATE TABLE table_name_6 (
player VARCHAR,
college VARCHAR
)
|
SELECT player FROM table_name_6 WHERE college = "iowa state"
|
what is b - bishop where bc - beast cadet is gr - great dove?
|
CREATE TABLE table_2603017_2 (
b___bishop VARCHAR,
bc___beast_cadet VARCHAR
)
|
SELECT b___bishop FROM table_2603017_2 WHERE bc___beast_cadet = "GR - Great Dove"
|
What is the Winning score on oct 22, 2000?
|
CREATE TABLE table_name_93 (
winning_score VARCHAR,
date VARCHAR
)
|
SELECT winning_score FROM table_name_93 WHERE date = "oct 22, 2000"
|
What is the lowest Grid, when Laps is 21, when Manufacturer is Yamaha, and when Time is +18.802?
|
CREATE TABLE table_name_10 (
grid INTEGER,
time VARCHAR,
laps VARCHAR,
manufacturer VARCHAR
)
|
SELECT MIN(grid) FROM table_name_10 WHERE laps = 21 AND manufacturer = "yamaha" AND time = "+18.802"
|
Which Status has a Unit of daohugou beds?
|
CREATE TABLE table_6915 (
"Name" text,
"Novelty" text,
"Status" text,
"Authors" text,
"Unit" text,
"Location" text
)
|
SELECT "Status" FROM table_6915 WHERE "Unit" = 'daohugou beds'
|
What is the date of the Cubs game when the Cubs had a record of 1-0?
|
CREATE TABLE table_name_2 (
date VARCHAR,
record VARCHAR
)
|
SELECT date FROM table_name_2 WHERE record = "1-0"
|
Bar chart x axis left office y axis the number of left office, order by the total number in descending.
|
CREATE TABLE region (
Region_ID int,
Region_name text,
Date text,
Label text,
Format text,
Catalogue text
)
CREATE TABLE party_events (
Event_ID int,
Event_Name text,
Party_ID int,
Member_in_charge_ID int
)
CREATE TABLE member (
Member_ID int,
Member_Name text,
Party_ID text,
In_office text
)
CREATE TABLE party (
Party_ID int,
Minister text,
Took_office text,
Left_office text,
Region_ID int,
Party_name text
)
|
SELECT Left_office, COUNT(Left_office) FROM party ORDER BY COUNT(Left_office) DESC
|
What is the rank of player Jason Dunstall?
|
CREATE TABLE table_name_55 (
rank VARCHAR,
player VARCHAR
)
|
SELECT rank FROM table_name_55 WHERE player = "jason dunstall"
|
What country is Larry Mize from?
|
CREATE TABLE table_64947 (
"Player" text,
"Country" text,
"Year(s) won" text,
"Total" real,
"To par" text,
"Finish" text
)
|
SELECT "Country" FROM table_64947 WHERE "Player" = 'larry mize'
|
What was the year of previous participation for the school in the Kagoshima prefecture?
|
CREATE TABLE table_2518850_4 (
year_of_previous_participation VARCHAR,
prefecture VARCHAR
)
|
SELECT year_of_previous_participation FROM table_2518850_4 WHERE prefecture = "Kagoshima"
|
Which race Leader has a Stage of 7?
|
CREATE TABLE table_71068 (
"Stage" text,
"Date" text,
"Course" text,
"Distance" text,
"Winner" text,
"Race Leader" text
)
|
SELECT "Race Leader" FROM table_71068 WHERE "Stage" = '7'
|
Create a bar chart showing the total number across team
|
CREATE TABLE repair (
repair_ID int,
name text,
Launch_Date text,
Notes text
)
CREATE TABLE technician (
technician_id real,
Name text,
Team text,
Starting_Year real,
Age int
)
CREATE TABLE machine (
Machine_ID int,
Making_Year int,
Class text,
Team text,
Machine_series text,
value_points real,
quality_rank int
)
CREATE TABLE repair_assignment (
technician_id int,
repair_ID int,
Machine_ID int
)
|
SELECT Team, COUNT(*) FROM technician GROUP BY Team
|
Who was the opposition in the game on July 29?
|
CREATE TABLE table_name_22 (
opposition VARCHAR,
date VARCHAR
)
|
SELECT opposition FROM table_name_22 WHERE date = "july 29"
|
What year was the player pick number 15 picked?
|
CREATE TABLE table_45631 (
"Year" real,
"Pick" text,
"Player" text,
"Position" text,
"College" text
)
|
SELECT "Year" FROM table_45631 WHERE "Pick" = '15'
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.