instruction
stringlengths 5
766
| input
stringlengths 38
5.51k
| response
stringlengths 4
3.91k
|
---|---|---|
Who is the guard for Wisconsin? | CREATE TABLE table_51501 (
"Pick" real,
"Round" text,
"Player" text,
"Position" text,
"School" text
) | SELECT "Player" FROM table_51501 WHERE "Position" = 'guard' AND "School" = 'wisconsin' |
When the president was Yoweri Museveni, and the year was 1993, with rank of 6 under political rights, what was the total of civil liberties? | CREATE TABLE table_name_78 (
civil_liberties INTEGER,
year VARCHAR,
political_rights VARCHAR,
president VARCHAR
) | SELECT SUM(civil_liberties) FROM table_name_78 WHERE political_rights = 6 AND president = "yoweri museveni" AND year = 1993 |
What's listed for the Elevated with a Cardinalatial title of Priest of S. Eusebio and Archbishop of Benevento? | CREATE TABLE table_name_25 (
elevated VARCHAR,
cardinalatial_title VARCHAR
) | SELECT elevated FROM table_name_25 WHERE cardinalatial_title = "priest of s. eusebio and archbishop of benevento" |
which country had the least number of models ? | CREATE TABLE table_204_343 (
id number,
"nation" text,
"model" text,
"length" text,
"barrel length" text,
"weight" text
) | SELECT "nation" FROM table_204_343 GROUP BY "nation" ORDER BY COUNT("model") LIMIT 1 |
Which Maximum episode premiered March 8, 2008? | CREATE TABLE table_2140071_8 (
episode INTEGER,
premier_date VARCHAR
) | SELECT MAX(episode) FROM table_2140071_8 WHERE premier_date = "March 8, 2008" |
What is the status of the Cub/John locomotive? | CREATE TABLE table_name_34 (
status VARCHAR,
name VARCHAR
) | SELECT status FROM table_name_34 WHERE name = "the cub/john" |
Find dates and attendance for exhibitions that happened in 2004, show me the attendance by date with a bar chart. | CREATE TABLE exhibition_record (
Exhibition_ID int,
Date text,
Attendance int
)
CREATE TABLE artist (
Artist_ID int,
Name text,
Country text,
Year_Join int,
Age int
)
CREATE TABLE exhibition (
Exhibition_ID int,
Year int,
Theme text,
Artist_ID int,
Ticket_Price real
) | SELECT T1.Date, T1.Attendance FROM exhibition_record AS T1 JOIN exhibition AS T2 ON T1.Exhibition_ID = T2.Exhibition_ID WHERE T2.Year = 2004 |
What is the Took Office Date of the Presidency that Left Office Incumbent? | CREATE TABLE table_name_42 (
took_office INTEGER,
left_office VARCHAR
) | SELECT SUM(took_office) FROM table_name_42 WHERE left_office = "incumbent" |
Find names and times of trains that run through stations for the local authority Chiltern. | CREATE TABLE route (
station_id VARCHAR,
train_id VARCHAR
)
CREATE TABLE train (
name VARCHAR,
time VARCHAR,
id VARCHAR
)
CREATE TABLE station (
id VARCHAR,
local_authority VARCHAR
) | SELECT t3.name, t3.time FROM station AS t1 JOIN route AS t2 ON t1.id = t2.station_id JOIN train AS t3 ON t2.train_id = t3.id WHERE t1.local_authority = "Chiltern" |
What is the total number of Year(s) Won, when Player is Ed Furgol, and when To Par is greater than 12? | CREATE TABLE table_50191 (
"Player" text,
"Country" text,
"Year(s) won" real,
"Total" real,
"To par" real,
"Finish" text
) | SELECT COUNT("Year(s) won") FROM table_50191 WHERE "Player" = 'ed furgol' AND "To par" > '12' |
For the flyers, what's the minimum capacity? | CREATE TABLE table_20718 (
"Institution" text,
"Location" text,
"Team Nickname" text,
"Joined TSCHL" real,
"Home Arena" text,
"Capacity" real,
"Team Website" text
) | SELECT MIN("Capacity") FROM table_20718 WHERE "Team Nickname" = 'Flyers' |
Which Lead has Katarina Radonic as Skip? | CREATE TABLE table_75268 (
"Nation" text,
"Skip" text,
"Third" text,
"Second" text,
"Lead" text
) | SELECT "Lead" FROM table_75268 WHERE "Skip" = 'katarina radonic' |
What is the highest Points when the record was 12 2, and the Points Against are larger than 6? | CREATE TABLE table_name_25 (
points_for INTEGER,
record VARCHAR,
points_against VARCHAR
) | SELECT MAX(points_for) FROM table_name_25 WHERE record = "12–2" AND points_against > 6 |
What is the Front Side Bus for Model Number c3 850? | CREATE TABLE table_46635 (
"Model Number" text,
"Frequency" text,
"L2-Cache" text,
"Front Side Bus" text,
"Multiplier" text,
"Voltage" text,
"Socket" text
) | SELECT "Front Side Bus" FROM table_46635 WHERE "Model Number" = 'c3 850' |
What septembers are 17.1 in December? | CREATE TABLE table_15945862_1 (
december VARCHAR,
september VARCHAR
) | SELECT december FROM table_15945862_1 WHERE september = "17.1" |
Take the average of the school enrollment. | CREATE TABLE school_details (
school_id number,
nickname text,
colors text,
league text,
class text,
division text
)
CREATE TABLE school (
school_id number,
school text,
location text,
enrollment number,
founded number,
denomination text,
boys_or_girls text,
day_or_boarding text,
year_entered_competition number,
school_colors text
)
CREATE TABLE player (
player_id number,
player text,
team text,
age number,
position text,
school_id number
)
CREATE TABLE school_performance (
school_id number,
school_year text,
class_a text,
class_aa text
) | SELECT AVG(enrollment) FROM school |
Show the name and date for each race and its track name. | CREATE TABLE race (
name VARCHAR,
date VARCHAR,
track_id VARCHAR
)
CREATE TABLE track (
name VARCHAR,
track_id VARCHAR
) | SELECT T1.name, T1.date, T2.name FROM race AS T1 JOIN track AS T2 ON T1.track_id = T2.track_id |
List the enrollment for each school that does not have 'Catholic' as denomination. | CREATE TABLE school (
school_id number,
school text,
location text,
enrollment number,
founded number,
denomination text,
boys_or_girls text,
day_or_boarding text,
year_entered_competition number,
school_colors text
)
CREATE TABLE school_details (
school_id number,
nickname text,
colors text,
league text,
class text,
division text
)
CREATE TABLE school_performance (
school_id number,
school_year text,
class_a text,
class_aa text
)
CREATE TABLE player (
player_id number,
player text,
team text,
age number,
position text,
school_id number
) | SELECT enrollment FROM school WHERE denomination <> "Catholic" |
On what date was a record set in the team pursuit (8 laps) event? | CREATE TABLE table_49191 (
"Event" text,
"Time" text,
"Name" text,
"Nation" text,
"Games" text,
"Date" text
) | SELECT "Date" FROM table_49191 WHERE "Event" = 'team pursuit (8 laps)' |
What is the season # where production code is k1505? | CREATE TABLE table_11951237_3 (
season__number INTEGER,
production_code VARCHAR
) | SELECT MIN(season__number) FROM table_11951237_3 WHERE production_code = "K1505" |
how many consecutive rankings are listed ? | CREATE TABLE table_204_735 (
id number,
"rank" number,
"team" text,
"names" text,
"time" text,
"qualification" text
) | SELECT COUNT("rank") FROM table_204_735 |
The record of 7-3 had the largest attendance of what? | CREATE TABLE table_16064 (
"Game" real,
"Date" text,
"Opponent" text,
"Result" text,
"Vikings points" real,
"Opponents" real,
"Record" text,
"Attendance" real
) | SELECT MAX("Attendance") FROM table_16064 WHERE "Record" = '7-3' |
Which years have a Name of ladbrooks school? | CREATE TABLE table_80007 (
"Name" text,
"Years" text,
"Gender" text,
"Area" text,
"Authority" text,
"Decile" real,
"Roll" real
) | SELECT "Years" FROM table_80007 WHERE "Name" = 'ladbrooks school' |
What is the name of the player with a transfer window in summer, an undisclosed transfer fee, and is moving from brussels? | CREATE TABLE table_50446 (
"Name" text,
"Country" text,
"Type" text,
"Moving from" text,
"Transfer window" text,
"Transfer fee" text
) | SELECT "Name" FROM table_50446 WHERE "Transfer window" = 'summer' AND "Transfer fee" = 'undisclosed' AND "Moving from" = 'brussels' |
What tournament has an opponent jung jae-sung lee yong-dae? | CREATE TABLE table_68600 (
"Outcome" text,
"Year" real,
"Tournament" text,
"Partner" text,
"Opponent" text,
"Score" text
) | SELECT "Tournament" FROM table_68600 WHERE "Opponent" = 'jung jae-sung lee yong-dae' |
What is the date of the post-week 2 game with a result of l 16 10? | CREATE TABLE table_59375 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" text
) | SELECT "Date" FROM table_59375 WHERE "Week" > '2' AND "Result" = 'l 16–10' |
Which episode 4 has a Star of anna powierza? | CREATE TABLE table_name_87 (
episode_4 VARCHAR,
star VARCHAR
) | SELECT episode_4 FROM table_name_87 WHERE star = "anna powierza" |
Visualize a pie chart about the proportion of All_Games and ACC_Percent. | CREATE TABLE basketball_match (
Team_ID int,
School_ID int,
Team_Name text,
ACC_Regular_Season text,
ACC_Percent text,
ACC_Home text,
ACC_Road text,
All_Games text,
All_Games_Percent int,
All_Home text,
All_Road text,
All_Neutral text
)
CREATE TABLE university (
School_ID int,
School text,
Location text,
Founded real,
Affiliation text,
Enrollment real,
Nickname text,
Primary_conference text
) | SELECT All_Games, ACC_Percent FROM basketball_match |
For the Republican party what are the names of the incumbents? | CREATE TABLE table_18516 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Result" text,
"Candidates" text
) | SELECT "Incumbent" FROM table_18516 WHERE "Party" = 'Republican' |
What is the interface of the product xerox travel scanner 100? | CREATE TABLE table_name_58 (
interface VARCHAR,
product VARCHAR
) | SELECT interface FROM table_name_58 WHERE product = "xerox travel scanner 100" |
What is the leowest number of Bronze medals for Jamaica who ranked less than 4 and had more than 0 silver medals and a total of less than 22 medals? | CREATE TABLE table_38203 (
"Rank" real,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
) | SELECT MIN("Bronze") FROM table_38203 WHERE "Silver" > '0' AND "Rank" < '4' AND "Nation" = 'jamaica' AND "Total" < '22' |
Which away team plays at Arden Street Oval? | CREATE TABLE table_53294 (
"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_53294 WHERE "Venue" = 'arden street oval' |
What is the english (bcp) phrase 'for thine is the kingdom, the power' in modern german with standard wording? | CREATE TABLE table_181240_1 (
modern_german__standard_wording_ VARCHAR,
english___bcp__ VARCHAR
) | SELECT modern_german__standard_wording_ FROM table_181240_1 WHERE english___bcp__ = "For thine is the kingdom, the power" |
What are the earnings for jim colbert with under 4 wins? | CREATE TABLE table_54471 (
"Rank" real,
"Player" text,
"Country" text,
"Earnings ( $ )" real,
"Events" real,
"Wins" real
) | SELECT COUNT("Earnings ( $ )") FROM table_54471 WHERE "Player" = 'jim colbert' AND "Wins" < '4' |
what's the height (ft) with name being 52-54 lime street | CREATE TABLE table_13463790_2 (
height__ft_ VARCHAR,
name VARCHAR
) | SELECT height__ft_ FROM table_13463790_2 WHERE name = "52-54 Lime Street" |
For those records from the products and each product's manufacturer, visualize a bar chart about the distribution of name and the sum of code , and group by attribute name, could you show by the y-axis in descending? | 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.Name, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Name ORDER BY T1.Code DESC |
In the game where Collingwood is the home team what is the score of the away team? | CREATE TABLE table_55560 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) | SELECT "Away team score" FROM table_55560 WHERE "Home team" = 'collingwood' |
What was the score of the game which featured the gold coast blaze as the away team and the adelaide 36ers as the home team? | CREATE TABLE table_43908 (
"Date" text,
"Home team" text,
"Score" text,
"Away team" text,
"Venue" text,
"Crowd" real,
"Box Score" text,
"Report" text
) | SELECT "Score" FROM table_43908 WHERE "Away team" = 'gold coast blaze' AND "Home team" = 'adelaide 36ers' |
Where is the home ground for the club coached by nick pantsaras and founded before 1946? | CREATE TABLE table_44900 (
"Team" text,
"Coach" text,
"Home Ground" text,
"Location" text,
"Founded" real
) | SELECT "Home Ground" FROM table_44900 WHERE "Founded" < '1946' AND "Coach" = 'nick pantsaras' |
What is the Date for the game at michie stadium west point, ny? | CREATE TABLE table_name_80 (
date VARCHAR,
location VARCHAR
) | SELECT date FROM table_name_80 WHERE location = "michie stadium • west point, ny" |
Which Goals have a Name of lee dong-gook? | CREATE TABLE table_41791 (
"Rank" real,
"Name" text,
"Years" text,
"Matches" real,
"Goals" real
) | SELECT MAX("Goals") FROM table_41791 WHERE "Name" = 'lee dong-gook' |
Which Date has a Set 1 of 21 25? | CREATE TABLE table_44504 (
"Date" text,
"Time" text,
"Score" text,
"Set 1" text,
"Set 2" text,
"Set 3" text,
"Total" text
) | SELECT "Date" FROM table_44504 WHERE "Set 1" = '21–25' |
What is the rank of a result with a population of 99,962 in 2000? | CREATE TABLE table_69215 (
"Rank (CSA)" text,
"State(s)" text,
"2007 Estimate" text,
"2000 Population" text,
"Percent Change (1990\u20132000)" text
) | SELECT "Rank (CSA)" FROM table_69215 WHERE "2000 Population" = '99,962' |
Name the award name for black ocean current | CREATE TABLE table_20167 (
"Year / Theme" text,
"Award name" text,
"Team name" text,
"Team number" real,
"City, State/Country" text
) | SELECT "Award name" FROM table_20167 WHERE "Team name" = 'BLACK OCEAN CURRENT' |
What engine has the Mercedes AMG Petronas f1 team, and 93 points? | CREATE TABLE table_48183 (
"Year" real,
"Entrant" text,
"Chassis" text,
"Engine" text,
"Points" text
) | SELECT "Engine" FROM table_48183 WHERE "Entrant" = 'mercedes amg petronas f1 team' AND "Points" = '93' |
What is the result of the game on April 17 against Los Angeles? | CREATE TABLE table_8232 (
"Game" text,
"Date" text,
"Home Team" text,
"Result" text,
"Road Team" text
) | SELECT "Result" FROM table_8232 WHERE "Road Team" = 'los angeles' AND "Date" = 'april 17' |
how many episodes was charmaine sheh on in the variety show super trio 2 : movie buff champions | CREATE TABLE table_203_631 (
id number,
"year" number,
"name of show" text,
"episodes" text,
"other guests" text,
"winner(s)" text
) | SELECT "episodes" FROM table_203_631 WHERE "name of show" = 'super trio series 2: movie buff championship' |
What is the date for the 10b serial? | CREATE TABLE table_name_46 (
date VARCHAR,
serial VARCHAR
) | SELECT date FROM table_name_46 WHERE serial = "10b" |
How many original air dates were there for the episode with production code 212? | CREATE TABLE table_23937219_3 (
original_air_date VARCHAR,
prod_code VARCHAR
) | SELECT COUNT(original_air_date) FROM table_23937219_3 WHERE prod_code = 212 |
What tournament was after 2009? | CREATE TABLE table_71139 (
"Year" real,
"Tournament" text,
"Venue" text,
"Result" text,
"Event" text
) | SELECT "Tournament" FROM table_71139 WHERE "Year" > '2009' |
How many tries had a losing bonus of 5, and were part of the Maesteg Celtic RFC club? | CREATE TABLE table_4940 (
"Club" text,
"Played" text,
"Drawn" text,
"Lost" text,
"Points for" text,
"Points against" text,
"Tries for" text,
"Tries against" text,
"Try bonus" text,
"Losing bonus" text,
"Points" text
) | SELECT "Tries for" FROM table_4940 WHERE "Losing bonus" = '5' AND "Club" = 'maesteg celtic rfc' |
What is the Money of the Player with a Score of 69-71-69-72=281? | CREATE TABLE table_name_70 (
money___$__ VARCHAR,
score VARCHAR
) | SELECT money___$__ FROM table_name_70 WHERE score = 69 - 71 - 69 - 72 = 281 |
When did the episode written by Abe Sylvia originally air? | CREATE TABLE table_26961951_6 (
original_air_date VARCHAR,
written_by VARCHAR
) | SELECT original_air_date FROM table_26961951_6 WHERE written_by = "Abe Sylvia" |
What is the promotion when the event was Acid-fest? | CREATE TABLE table_10595 (
"Location" text,
"Venue" text,
"Promotion" text,
"Event" text,
"Inductee(s)" text
) | SELECT "Promotion" FROM table_10595 WHERE "Event" = 'acid-fest' |
Which Points have a Grid larger than 7, and a Driver of alex tagliani, and a Lapse smaller than 85? | CREATE TABLE table_name_56 (
points INTEGER,
laps VARCHAR,
grid VARCHAR,
driver VARCHAR
) | SELECT MAX(points) FROM table_name_56 WHERE grid > 7 AND driver = "alex tagliani" AND laps < 85 |
Tell me the post-season record for kansas city | CREATE TABLE table_name_55 (
post_season_record_ VARCHAR,
e_ VARCHAR,
mlb_affiliate VARCHAR
) | SELECT post_season_record_ AS "e_" FROM table_name_55 WHERE mlb_affiliate = "kansas city" |
What are all the episodes with an episode run time of 24:01? | CREATE TABLE table_1429629_1 (
episode VARCHAR,
run_time VARCHAR
) | SELECT episode FROM table_1429629_1 WHERE run_time = "24:01" |
What is the lowest ends lost when the stolen ends for is less than 13, and stolten ends against is 6? | CREATE TABLE table_name_16 (
ends_lost INTEGER,
stolen_ends_for VARCHAR,
stolen_ends_against VARCHAR
) | SELECT MIN(ends_lost) FROM table_name_16 WHERE stolen_ends_for < 13 AND stolen_ends_against = 6 |
At what stadium was the final score 31-28? | CREATE TABLE table_71510 (
"Date" text,
"Visiting Team" text,
"Final Score" text,
"Host Team" text,
"Stadium" text
) | SELECT "Stadium" FROM table_71510 WHERE "Final Score" = '31-28' |
Which Date has a Record of 29 47? | CREATE TABLE table_name_4 (
date VARCHAR,
record VARCHAR
) | SELECT date FROM table_name_4 WHERE record = "29–47" |
What is the result of the fight that had a tko (low kicks)? | CREATE TABLE table_52144 (
"Result" text,
"Opponent" text,
"Method" text,
"Event" text,
"Round" real,
"Location" text
) | SELECT "Result" FROM table_52144 WHERE "Method" = 'tko (low kicks)' |
What is the tax source system code related to the benefits and overpayments? List the code and the benifit id, order by benifit id. | CREATE TABLE Benefits_Overpayments (
council_tax_id VARCHAR,
cmi_cross_ref_id VARCHAR
)
CREATE TABLE CMI_Cross_References (
source_system_code VARCHAR,
cmi_cross_ref_id VARCHAR
) | SELECT T1.source_system_code, T2.council_tax_id FROM CMI_Cross_References AS T1 JOIN Benefits_Overpayments AS T2 ON T1.cmi_cross_ref_id = T2.cmi_cross_ref_id ORDER BY T2.council_tax_id |
what is the player who's college is listed as direct to nba, school is st. vincent st. mary high school and the year is 2001-2002? | CREATE TABLE table_11677760_1 (
player VARCHAR,
year VARCHAR,
college VARCHAR,
school VARCHAR
) | SELECT player FROM table_11677760_1 WHERE college = "Direct to NBA" AND school = "St. Vincent – St. Mary High school" AND year = "2001-2002" |
What year did they finish 1st, southern? | CREATE TABLE table_12002388_1 (
year INTEGER,
reg_season VARCHAR
) | SELECT MAX(year) FROM table_12002388_1 WHERE reg_season = "1st, Southern" |
Record of 6 8 had what attendance? | CREATE TABLE table_34513 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Record" text,
"Game Site" text,
"Attendance" text
) | SELECT "Attendance" FROM table_34513 WHERE "Record" = '6–8' |
What are the imperial size for the unit that has a ratio of 1/20? | CREATE TABLE table_name_11 (
imperial VARCHAR,
ratio VARCHAR
) | SELECT imperial FROM table_name_11 WHERE ratio = "1/20" |
What types of ships were made at the Froemming Brothers ship yard? | CREATE TABLE table_55723 (
"Yard Name" text,
"Location (City, State)" text,
"1st Ship Delivery Date" text,
"Ship Types Delivered" text,
"Total Number of Ways" text
) | SELECT "Ship Types Delivered" FROM table_55723 WHERE "Yard Name" = 'froemming brothers' |
what is the difference in points between chris amon and jim clark ? | CREATE TABLE table_204_641 (
id number,
"pos" text,
"no" number,
"driver" text,
"constructor" text,
"laps" number,
"time/retired" text,
"grid" number,
"points" number
) | SELECT ABS((SELECT "points" FROM table_204_641 WHERE "driver" = 'chris amon') - (SELECT "points" FROM table_204_641 WHERE "driver" = 'jim clark')) |
What team has a Record of 50 28? | CREATE TABLE table_46722 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Record" text
) | SELECT "Team" FROM table_46722 WHERE "Record" = '50–28' |
What races were Chi-Chi Rodriguez the runner-up in? | CREATE TABLE table_66970 (
"Date" text,
"Tournament" text,
"Winning score" text,
"Margin of victory" text,
"Runner(s)-up" text
) | SELECT "Tournament" FROM table_66970 WHERE "Runner(s)-up" = 'chi-chi rodriguez' |
For those records from the products and each product's manufacturer, show me about the distribution of founder and the amount of founder , and group by attribute founder in a bar chart, and list total number in desc 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 Founder, COUNT(Founder) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Founder ORDER BY COUNT(Founder) DESC |
Name the air date for alex taub | CREATE TABLE table_29568 (
"No. in series" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"U.S. Viewers (millions)" text
) | SELECT "Original air date" FROM table_29568 WHERE "Written by" = 'Alex Taub' |
What is the tie number in the game on 5 January 1986 where Exeter City is the away team? | CREATE TABLE table_name_26 (
tie_no VARCHAR,
date VARCHAR,
away_team VARCHAR
) | SELECT tie_no FROM table_name_26 WHERE date = "5 january 1986" AND away_team = "exeter city" |
Which Position has an Against larger than 17, and a Team of juventus, and a Drawn smaller than 4? | CREATE TABLE table_40100 (
"Position" real,
"Team" text,
"Points" real,
"Played" real,
"Drawn" real,
"Lost" real,
"Against" real,
"Difference" text
) | SELECT MIN("Position") FROM table_40100 WHERE "Against" > '17' AND "Team" = 'juventus' AND "Drawn" < '4' |
what is the capacity for the team ibenik? | CREATE TABLE table_name_35 (
capacity INTEGER,
team VARCHAR
) | SELECT MIN(capacity) FROM table_name_35 WHERE team = "šibenik" |
What stadium was the game held in when the final score was 17-31? | CREATE TABLE table_name_88 (
stadium VARCHAR,
final_score VARCHAR
) | SELECT stadium FROM table_name_88 WHERE final_score = "17-31" |
What is the total Points for the Opponent of @ New Jersey Devils and a Game bigger than 7? | CREATE TABLE table_5577 (
"Game" real,
"October" real,
"Opponent" text,
"Score" text,
"Record" text,
"Points" real
) | SELECT SUM("Points") FROM table_5577 WHERE "Opponent" = '@ new jersey devils' AND "Game" > '7' |
What is the Manufacturer for simone corsi? | CREATE TABLE table_71708 (
"Rider" text,
"Manufacturer" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
) | SELECT "Manufacturer" FROM table_71708 WHERE "Rider" = 'simone corsi' |
For which Award Ceremony was Emilio Pichardo as Bobby Strong nominated? | CREATE TABLE table_name_18 (
award_ceremony VARCHAR,
nominee VARCHAR
) | SELECT award_ceremony FROM table_name_18 WHERE nominee = "emilio pichardo as bobby strong" |
which tournament was the champion pat cash 4 6, 6 4, 6 3? | CREATE TABLE table_29296103_10 (
tournament VARCHAR,
champion VARCHAR
) | SELECT tournament FROM table_29296103_10 WHERE champion = "Pat Cash 4–6, 6–4, 6–3" |
What team was ranked in 7th? | CREATE TABLE table_3120 (
"Rank" text,
"Player" text,
"Nationality" text,
"Team" text,
"Opponent" text,
"Score" text,
"Competition" text,
"Vote percentage" text
) | SELECT "Team" FROM table_3120 WHERE "Rank" = '7th' |
What was the installation date in El Paso, Texas? | CREATE TABLE table_73337 (
"Chapter" text,
"Installation Date" text,
"Institution" text,
"Location" text,
"Inactive" text
) | SELECT "Installation Date" FROM table_73337 WHERE "Location" = 'El Paso, Texas' |
What production was created by Monogram? | CREATE TABLE table_5938 (
"Medium" text,
"Title" text,
"Date" text,
"Theatre, Studio, or Network" text,
"Role" text
) | SELECT "Title" FROM table_5938 WHERE "Theatre, Studio, or Network" = 'monogram' |
What show had a nomination for best actor in a lead role female (popular) in 2006? | CREATE TABLE table_51708 (
"Year" real,
"Category" text,
"Character" text,
"For The Show" text,
"Result" text
) | SELECT "For The Show" FROM table_51708 WHERE "Category" = 'best actor in a lead role – female (popular)' AND "Year" = '2006' |
what label was italy on ? | CREATE TABLE table_204_966 (
id number,
"region" text,
"date" text,
"label" text,
"format" text,
"catalog" text
) | SELECT "label" FROM table_204_966 WHERE "region" = 'italy' |
What was the high amount of assists before game 60? | CREATE TABLE table_50265 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Record" text
) | SELECT "High assists" FROM table_50265 WHERE "Game" < '60' |
Which player was pick number 150? | CREATE TABLE table_16376436_1 (
player VARCHAR,
pick__number VARCHAR
) | SELECT player FROM table_16376436_1 WHERE pick__number = 150 |
What is the Height of Junior Meghan Austin? | CREATE TABLE table_name_59 (
height VARCHAR,
year VARCHAR,
name VARCHAR
) | SELECT height FROM table_name_59 WHERE year = "junior" AND name = "meghan austin" |
Name the total number for report july 23 | CREATE TABLE table_2697 (
"Year" real,
"Date" text,
"Driver" text,
"Team" text,
"Manufacturer" text,
"Laps" text,
"Miles (km)" text,
"Race Time" text,
"Average Speed (mph)" text,
"Report" text
) | SELECT COUNT("Report") FROM table_2697 WHERE "Date" = 'July 23' |
How many days was the away team's score 11.8 (74)? | CREATE TABLE table_20730 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Ground" text,
"Crowd" real,
"Date" text,
"Time" text
) | SELECT COUNT("Date") FROM table_20730 WHERE "Away team score" = '11.8 (74)' |
What is the zan 1 that has 11 as the nor 1? | CREATE TABLE table_41635 (
"Driver" text,
"NOR 1" text,
"NOR 2" text,
"ZAN 1" text,
"ZAN 2" text,
"N\u00dcR 1" text,
"N\u00dcR 2" text
) | SELECT "ZAN 1" FROM table_41635 WHERE "NOR 1" = '11' |
Runs smaller than 6106, and Inns smaller than 146 has what total number of matches? | CREATE TABLE table_name_24 (
matches VARCHAR,
runs VARCHAR,
inns VARCHAR
) | SELECT COUNT(matches) FROM table_name_24 WHERE runs < 6106 AND inns < 146 |
What is the home team that played on M.C.G. grounds? | CREATE TABLE table_16388398_2 (
home_team VARCHAR,
ground VARCHAR
) | SELECT home_team FROM table_16388398_2 WHERE ground = "M.C.G." |
What is the French translation for the English word 'orange'? | CREATE TABLE table_2077192_2 (
french VARCHAR,
english VARCHAR
) | SELECT french FROM table_2077192_2 WHERE english = "orange" |
What kind of paper were the stamps with the theme duck decoys, barrow's golden eye printed on? | CREATE TABLE table_11900773_4 (
paper_type VARCHAR,
theme VARCHAR
) | SELECT paper_type FROM table_11900773_4 WHERE theme = "Duck Decoys, Barrow's Golden Eye" |
What is the score of the game with 1,125 people in attendance? | CREATE TABLE table_name_37 (
score VARCHAR,
attendance VARCHAR
) | SELECT score FROM table_name_37 WHERE attendance = "1,125" |
Who were the runner(s)-up when Tiger won by 11 strokes? | CREATE TABLE table_16888 (
"Year" real,
"Championship" text,
"54 holes" text,
"Winning score" text,
"Margin of victory" text,
"Runner(s)-up" text
) | SELECT "Runner(s)-up" FROM table_16888 WHERE "Margin of victory" = '11 strokes' |
Which venue did the home team score 22.23 (155) at? | CREATE TABLE table_56771 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) | SELECT "Venue" FROM table_56771 WHERE "Home team score" = '22.23 (155)' |
which song is previous to georgia on my mind | CREATE TABLE table_204_697 (
id number,
"song" text,
"artist(s)" text,
"concert" number,
"film" number,
"1978 album" number,
"2002 album" number
) | SELECT "song" FROM table_204_697 WHERE id = (SELECT id FROM table_204_697 WHERE "song" = '"georgia on my mind"') - 1 |
Bar graph to show meter_100 from different meter 400 | CREATE TABLE record (
ID int,
Result text,
Swimmer_ID int,
Event_ID int
)
CREATE TABLE event (
ID int,
Name text,
Stadium_ID int,
Year text
)
CREATE TABLE stadium (
ID int,
name text,
Capacity int,
City text,
Country text,
Opening_year int
)
CREATE TABLE swimmer (
ID int,
name text,
Nationality text,
meter_100 real,
meter_200 text,
meter_300 text,
meter_400 text,
meter_500 text,
meter_600 text,
meter_700 text,
Time text
) | SELECT meter_400, meter_100 FROM swimmer |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.