instruction
stringlengths 5
766
| input
stringlengths 38
5.51k
| response
stringlengths 4
3.91k
|
---|---|---|
What is Party, when Results is 'Re-Elected', and when District is 'Louisiana 5'? | CREATE TABLE table_name_76 (
party VARCHAR,
results VARCHAR,
district VARCHAR
) | SELECT party FROM table_name_76 WHERE results = "re-elected" AND district = "louisiana 5" |
What was the to par at the T5 for the player with a score of 74-69-66=209? | CREATE TABLE table_name_39 (
to_par VARCHAR,
place VARCHAR,
score VARCHAR
) | SELECT to_par FROM table_name_39 WHERE place = "t5" AND score = 74 - 69 - 66 = 209 |
Where was the round 1 race? | CREATE TABLE table_25773116_2 (
location VARCHAR,
round VARCHAR
) | SELECT location FROM table_25773116_2 WHERE round = 1 |
how man episodes in the season were titled 'that's so sonny'? | CREATE TABLE table_74203 (
"No. in series" text,
"No. in season" text,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Prod. code" text,
"U.S. viewers (millions)" text
) | SELECT COUNT("No. in season") FROM table_74203 WHERE "Title" = 'That''s So Sonny' |
which is taller , mount humphreys or mount kaweah . | CREATE TABLE table_204_25 (
id number,
"rank" number,
"mountain peak" text,
"mountain range" text,
"elevation" text,
"prominence" text,
"isolation" text,
"location" text
) | SELECT "mountain peak" FROM table_204_25 WHERE "mountain peak" IN ('mount humphreys', 'mount kaweah') ORDER BY "elevation" DESC LIMIT 1 |
Give me the maximum low temperature and average precipitation at the Amersham station. | CREATE TABLE station (
id number,
network_name text,
services text,
local_authority text
)
CREATE TABLE route (
train_id number,
station_id number
)
CREATE TABLE weekly_weather (
station_id number,
day_of_week text,
high_temperature number,
low_temperature number,
precipitation number,
wind_speed_mph number
)
CREATE TABLE train (
id number,
train_number number,
name text,
origin text,
destination text,
time text,
interval text
) | SELECT MAX(t1.low_temperature), AVG(t1.precipitation) FROM weekly_weather AS t1 JOIN station AS t2 ON t1.station_id = t2.id WHERE t2.network_name = "Amersham" |
Name the content for sky famiglia for italian and dar 16:9 for mtv hits | CREATE TABLE table_20374 (
"N\u00b0" real,
"Television service" text,
"Country" text,
"Language" text,
"Content" text,
"DAR" text,
"HDTV" text,
"PPV" text,
"Package/Option" text
) | SELECT "Content" FROM table_20374 WHERE "Package/Option" = 'Sky Famiglia' AND "Language" = 'Italian' AND "DAR" = '16:9' AND "Television service" = 'MTV Hits' |
name each contestant whose age is 21 ? | CREATE TABLE table_204_144 (
id number,
"represent" number,
"contestant" text,
"age" number,
"height" text,
"hometown" text
) | SELECT "contestant" FROM table_204_144 WHERE "age" = 21 |
How many original air dates were there for episodes with a production code of 4398016? | CREATE TABLE table_24188 (
"No in Series" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" real,
"U.S. viewers (millions)" text
) | SELECT COUNT("Original air date") FROM table_24188 WHERE "Production code" = '4398016' |
WHAT WAS THE FINISH NUMBER WITH A START SMALLER THAN 20 IN 1969? | CREATE TABLE table_58849 (
"Year" real,
"Manufacturer" text,
"Start" real,
"Finish" real,
"Team" text
) | SELECT COUNT("Finish") FROM table_58849 WHERE "Start" < '20' AND "Year" = '1969' |
Find all the songs that do not have a lead vocal. | CREATE TABLE vocals (
songid VARCHAR
)
CREATE TABLE songs (
title VARCHAR,
songid VARCHAR
) | SELECT DISTINCT title FROM vocals AS t1 JOIN songs AS t2 ON t1.songid = t2.songid EXCEPT SELECT t2.title FROM vocals AS t1 JOIN songs AS t2 ON t1.songid = t2.songid WHERE TYPE = "lead" |
I want the outgoing manager for craig brewster | CREATE TABLE table_10574 (
"Team" text,
"Outgoing manager" text,
"Manner of departure" text,
"Replaced by" text,
"Date of appointment" text
) | SELECT "Outgoing manager" FROM table_10574 WHERE "Replaced by" = 'craig brewster' |
What is the percentage of others with a Fidesz of 62% and a Jobbik of 4%? | CREATE TABLE table_name_93 (
others VARCHAR,
fidesz VARCHAR,
jobbik VARCHAR
) | SELECT others FROM table_name_93 WHERE fidesz = "62%" AND jobbik = "4%" |
creatinine level ( a measure of kidney function is greater than 1.4 mg / dl ( for female ) or greater than 1.5 mg / dl ( for male ) or your estimated gfr is under 60 . | CREATE TABLE table_train_277 (
"id" int,
"gender" string,
"cholesterol" float,
"blood_platelet_counts" int,
"creatinine_clearance_cl" float,
"estimated_glomerular_filtration_rate_egfr" int,
"severe_dyslipidemia" bool,
"fasting_triglyceride" int,
"body_mass_index_bmi" float,
"triglyceride_tg" float,
"NOUSE" float
) | SELECT * FROM table_train_277 WHERE (creatinine_clearance_cl > 1.4 AND gender = 'female') OR (creatinine_clearance_cl > 1.5 AND gender = 'male') OR estimated_glomerular_filtration_rate_egfr < 60 |
What is Fred Stolle's final year of competing in a championship? | CREATE TABLE table_2532 (
"Outcome" text,
"Year" real,
"Championship" text,
"Surface" text,
"Opponent in the final" text,
"Score in the final" text
) | SELECT MAX("Year") FROM table_2532 |
Who were all the candidates in elections in which Steve Chabot was a candidate? | CREATE TABLE table_1805191_36 (
candidates VARCHAR,
incumbent VARCHAR
) | SELECT candidates FROM table_1805191_36 WHERE incumbent = "Steve Chabot" |
What is the Format with a Catalog that is vcrd 103? | CREATE TABLE table_41130 (
"Region" text,
"Date" text,
"Label" text,
"Format" text,
"Catalog" text
) | SELECT "Format" FROM table_41130 WHERE "Catalog" = 'vcrd 103' |
What team has 137 points? | CREATE TABLE table_25318033_1 (
team VARCHAR,
points VARCHAR
) | SELECT team FROM table_25318033_1 WHERE points = "137" |
What was the result when Leo E. Allen was elected? | CREATE TABLE table_1342013_12 (
result VARCHAR,
incumbent VARCHAR
) | SELECT result FROM table_1342013_12 WHERE incumbent = "Leo E. Allen" |
What did the away team score when the home team scored 9.18 (72)? | CREATE TABLE table_33593 (
"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_33593 WHERE "Home team score" = '9.18 (72)' |
what is the most draw when the competition is soviet league and dynamo is more than 34? | CREATE TABLE table_name_19 (
draw INTEGER,
competition VARCHAR,
dynamo VARCHAR
) | SELECT MAX(draw) FROM table_name_19 WHERE competition = "soviet league" AND dynamo > 34 |
Visualize a bar chart about the distribution of All_Home and the average of Team_ID , and group by attribute All_Home, and rank by the X-axis in ascending please. | 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_Home, AVG(Team_ID) FROM basketball_match GROUP BY All_Home ORDER BY All_Home |
What is the average rating of songs for each language. Plot them as pie chart. | CREATE TABLE genre (
g_name varchar2(20),
rating varchar2(10),
most_popular_in varchar2(50)
)
CREATE TABLE artist (
artist_name varchar2(50),
country varchar2(20),
gender varchar2(20),
preferred_genre varchar2(50)
)
CREATE TABLE files (
f_id number(10),
artist_name varchar2(50),
file_size varchar2(20),
duration varchar2(20),
formats varchar2(20)
)
CREATE TABLE song (
song_name varchar2(50),
artist_name varchar2(50),
country varchar2(20),
f_id number(10),
genre_is varchar2(20),
rating number(10),
languages varchar2(20),
releasedate Date,
resolution number(10)
) | SELECT languages, AVG(rating) FROM song GROUP BY languages |
Which position was active in Jazz in 2002-03? | CREATE TABLE table_name_59 (
position VARCHAR,
years_for_jazz VARCHAR
) | SELECT position FROM table_name_59 WHERE years_for_jazz = "2002-03" |
How many students participated in tryouts for each college by descennding count. Show a pie chart. | CREATE TABLE College (
cName varchar(20),
state varchar(2),
enr numeric(5,0)
)
CREATE TABLE Tryout (
pID numeric(5,0),
cName varchar(20),
pPos varchar(8),
decision varchar(3)
)
CREATE TABLE Player (
pID numeric(5,0),
pName varchar(20),
yCard varchar(3),
HS numeric(5,0)
) | SELECT cName, COUNT(*) FROM Tryout GROUP BY cName ORDER BY COUNT(*) DESC |
who was the opponent after hawthorn ? | CREATE TABLE table_204_881 (
id number,
"round" number,
"date" text,
"score" text,
"opponent" text,
"opponent's score" text,
"result" text,
"venue" text,
"attendance" number,
"best on ground" text,
"team" text
) | SELECT "opponent" FROM table_204_881 WHERE id = (SELECT id FROM table_204_881 WHERE "opponent" = 'hawthorn') + 1 |
What was the score of the team that danced a jive and was safe? | CREATE TABLE table_name_65 (
score VARCHAR,
dance VARCHAR,
result VARCHAR
) | SELECT score FROM table_name_65 WHERE dance = "jive" AND result = "safe" |
What is Money ( $ ), when Score is '75-71-72-70=288'? | CREATE TABLE table_7944 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text,
"Money ( $ )" text
) | SELECT "Money ( $ )" FROM table_7944 WHERE "Score" = '75-71-72-70=288' |
I want to see trend of the average of budget in billions by creation | CREATE TABLE head (
head_ID int,
name text,
born_state text,
age real
)
CREATE TABLE management (
department_ID int,
head_ID int,
temporary_acting text
)
CREATE TABLE department (
Department_ID int,
Name text,
Creation text,
Ranking int,
Budget_in_Billions real,
Num_Employees real
) | SELECT Creation, AVG(Budget_in_Billions) FROM department |
What was the score of the game with the Broadview Hawks as the home team? | CREATE TABLE table_name_97 (
score VARCHAR,
home VARCHAR
) | SELECT score FROM table_name_97 WHERE home = "broadview hawks" |
What is the total number of people in 2011 speaking the mother tongue language spoken by 120 in 2006? | CREATE TABLE table_name_49 (
population__2011_ VARCHAR,
population__2006_ VARCHAR
) | SELECT COUNT(population__2011_) FROM table_name_49 WHERE population__2006_ = 120 |
What power has A as the class, and 93.7 as the frequency? | CREATE TABLE table_66474 (
"City of license" text,
"Identifier" text,
"Frequency" text,
"Power" text,
"Class" text,
"RECNet" text
) | SELECT "Power" FROM table_66474 WHERE "Class" = 'a' AND "Frequency" = '93.7' |
How many values of total top 3 placements does Taiwan have? | CREATE TABLE table_2876467_3 (
total_top_3_placements VARCHAR,
region_represented VARCHAR
) | SELECT COUNT(total_top_3_placements) FROM table_2876467_3 WHERE region_represented = "Taiwan" |
When bahamas is the country what is the height in centimeters? | CREATE TABLE table_1932 (
"Country" text,
"Contestant" text,
"Age" real,
"Height (cm)" real,
"Height (ft)" text,
"Hometown" text
) | SELECT "Height (cm)" FROM table_1932 WHERE "Country" = 'Bahamas' |
Who was the artist for Spoofed title Genteel Ben in an issue later than 74? | CREATE TABLE table_42688 (
"Spoofed Title" text,
"Writer" text,
"Artist" text,
"Issue" real,
"Date" text
) | SELECT "Artist" FROM table_42688 WHERE "Issue" > '74' AND "Spoofed Title" = 'genteel ben' |
When 1462/63 was the elected what was the no.? | CREATE TABLE table_1827690_4 (
no VARCHAR,
elected VARCHAR
) | SELECT no FROM table_1827690_4 WHERE elected = "1462/63" |
What is the average age for all managers? | CREATE TABLE manager (
Age INTEGER
) | SELECT AVG(Age) FROM manager |
What is the date of appointment when the date of vacancy is 15 march 2011? | CREATE TABLE table_26998135_2 (
date_of_appointment VARCHAR,
date_of_vacancy VARCHAR
) | SELECT date_of_appointment FROM table_26998135_2 WHERE date_of_vacancy = "15 March 2011" |
how many days is fbn live available each week ? | CREATE TABLE table_204_839 (
id number,
"et" text,
"days available" text,
"program" text,
"host(s)" text,
"description" text
) | SELECT "days available" - "days available" + 1 FROM table_204_839 WHERE "program" = 'fbn live' |
What is the total number of semi-final losses for the Kitchener Rangers? | CREATE TABLE table_17751942_4 (
final_losses VARCHAR,
Semi INTEGER,
team VARCHAR
) | SELECT MAX(Semi) - final_losses FROM table_17751942_4 WHERE team = "Kitchener Rangers" |
What round was it when the method was TKO (would not stand up from Butt Scoot)? | CREATE TABLE table_76451 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Event" text,
"Round" real,
"Time" text,
"Location" text
) | SELECT AVG("Round") FROM table_76451 WHERE "Method" = 'tko (would not stand up from butt scoot)' |
What are the additional notes for Cotabato? | CREATE TABLE table_61816 (
"Perpetrator" text,
"Date" text,
"Year" real,
"Location" text,
"Country" text,
"Killed" real,
"Additional Notes" text
) | SELECT "Additional Notes" FROM table_61816 WHERE "Location" = 'cotabato' |
Which countries has the most number of airlines whose active status is 'Y'? | CREATE TABLE airports (
apid number,
name text,
city text,
country text,
x number,
y number,
elevation number,
iata text,
icao text
)
CREATE TABLE airlines (
alid number,
name text,
iata text,
icao text,
callsign text,
country text,
active text
)
CREATE TABLE routes (
rid number,
dst_apid number,
dst_ap text,
src_apid number,
src_ap text,
alid number,
airline text,
codeshare text
) | SELECT country FROM airlines WHERE active = 'Y' GROUP BY country ORDER BY COUNT(*) DESC LIMIT 1 |
Who were the champions in years where michigan technological university was in third place? | CREATE TABLE table_25966 (
"Year" real,
"Host City" text,
"Host School" text,
"Champion" text,
"Second Place" text,
"Third Place" text
) | SELECT "Champion" FROM table_25966 WHERE "Third Place" = 'Michigan Technological University' |
Who was the winner in the match that had John Higgins as runner-up? | CREATE TABLE table_78603 (
"Date" text,
"Venue" text,
"Winner" text,
"Runner-up" text,
"Score" text
) | SELECT "Winner" FROM table_78603 WHERE "Runner-up" = 'john higgins' |
What is the highest overall prior to 1996 with a slalom of 39? | CREATE TABLE table_name_33 (
overall INTEGER,
slalom VARCHAR,
season VARCHAR
) | SELECT MAX(overall) FROM table_name_33 WHERE slalom = "39" AND season < 1996 |
For those products with a price between 60 and 120, visualize a bar chart about the distribution of name and manufacturer , rank from low to high by the Y. | 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 Name, Manufacturer FROM Products WHERE Price BETWEEN 60 AND 120 ORDER BY Manufacturer |
What are the ids, names and genders of the architects who built two bridges or one mill? | CREATE TABLE architect (
id VARCHAR,
name VARCHAR,
gender VARCHAR
)
CREATE TABLE bridge (
architect_id VARCHAR
)
CREATE TABLE mill (
architect_id VARCHAR
) | SELECT T1.id, T1.name, T1.gender FROM architect AS T1 JOIN bridge AS T2 ON T1.id = T2.architect_id GROUP BY T1.id HAVING COUNT(*) = 2 UNION SELECT T1.id, T1.name, T1.gender FROM architect AS T1 JOIN mill AS T2 ON T1.id = T2.architect_id GROUP BY T1.id HAVING COUNT(*) = 1 |
Who was Team 2 when Team 1 was Am rica? | CREATE TABLE table_name_88 (
team_2 VARCHAR,
team_1 VARCHAR
) | SELECT team_2 FROM table_name_88 WHERE team_1 = "américa" |
What's the average Year for the Position of 7th (sf)? | CREATE TABLE table_name_47 (
year INTEGER,
position VARCHAR
) | SELECT AVG(year) FROM table_name_47 WHERE position = "7th (sf)" |
Name the gender for elsthorpe school | CREATE TABLE table_name_63 (
gender VARCHAR,
name VARCHAR
) | SELECT gender FROM table_name_63 WHERE name = "elsthorpe school" |
how many female dependents are there? | CREATE TABLE dependent (
sex VARCHAR
) | SELECT COUNT(*) FROM dependent WHERE sex = 'F' |
How many losses are there for team tembetary? | CREATE TABLE table_18703133_6 (
losses VARCHAR,
team VARCHAR
) | SELECT losses FROM table_18703133_6 WHERE team = "Tembetary" |
What are the names and types of the companies that have ever operated a flight? | CREATE TABLE airport (
id number,
city text,
country text,
iata text,
icao text,
name text
)
CREATE TABLE flight (
id number,
vehicle_flight_number text,
date text,
pilot text,
velocity number,
altitude number,
airport_id number,
company_id number
)
CREATE TABLE operate_company (
id number,
name text,
type text,
principal_activities text,
incorporated_in text,
group_equity_shareholding number
) | SELECT T1.name, T1.type FROM operate_company AS T1 JOIN flight AS t2 ON T1.id = T2.company_id |
What is the record of game 26 with beno udrih (4) as the highest assists? | CREATE TABLE table_47031 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High assists" text,
"Location Attendance" text,
"Record" text
) | SELECT "Record" FROM table_47031 WHERE "High assists" = 'beno udrih (4)' AND "Game" = '26' |
What is Justin Leonard's To par? | CREATE TABLE table_name_59 (
to_par VARCHAR,
player VARCHAR
) | SELECT to_par FROM table_name_59 WHERE player = "justin leonard" |
Which FA Cup Goals have League Cup Apps larger than 0, and a Name of trevor cherry? | CREATE TABLE table_65892 (
"Name" text,
"Position" text,
"League Apps" text,
"League Goals" real,
"FA Cup Apps" text,
"FA Cup Goals" real,
"League Cup Apps" real,
"League Cup Goals" real,
"Total Apps" text,
"Total Goals" real
) | SELECT MAX("FA Cup Goals") FROM table_65892 WHERE "League Cup Apps" > '0' AND "Name" = 'trevor cherry' |
what is the combined wins of the clubs in the top 3 positions ? | CREATE TABLE table_204_256 (
id number,
"position" number,
"club" text,
"played" number,
"points" number,
"wins" number,
"draws" number,
"losses" number,
"goals for" number,
"goals against" number,
"goal difference" number
) | SELECT SUM("wins") FROM table_204_256 WHERE "position" <= 3 |
Show the opening year in whcih at least two churches opened. | CREATE TABLE church (
open_date VARCHAR
) | SELECT open_date FROM church GROUP BY open_date HAVING COUNT(*) >= 2 |
What venue is the home field of Richmond? | CREATE TABLE table_55574 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) | SELECT "Venue" FROM table_55574 WHERE "Home team" = 'richmond' |
What Tournament did Silva Partner with Nicole Thijssen with Opponent in the final Nina Bratchikova & Frederica Piedade? | CREATE TABLE table_name_33 (
tournament VARCHAR,
partner VARCHAR,
opponent_in_the_final VARCHAR
) | SELECT tournament FROM table_name_33 WHERE partner = "nicole thijssen" AND opponent_in_the_final = "nina bratchikova & frederica piedade" |
List all areas within 1000 km in the city of Lubelskie? | CREATE TABLE table_11654169_1 (
area_in_1000km²__1930_ VARCHAR,
voivodeship_separate_city VARCHAR
) | SELECT area_in_1000km²__1930_ FROM table_11654169_1 WHERE voivodeship_separate_city = "lubelskie" |
Which Vice President has a President of daniel masny, and a Treasurer of rebecca t. altmann? | CREATE TABLE table_name_29 (
Vice VARCHAR,
president VARCHAR,
treasurer VARCHAR
) | SELECT Vice AS president FROM table_name_29 WHERE president = "daniel masny" AND treasurer = "rebecca t. altmann" |
Which venue had an opponent of Sunderland and a result of a 1-1 draw? | CREATE TABLE table_63248 (
"Date" text,
"Opponent" text,
"Venue" text,
"Result" text,
"Attendance" real
) | SELECT "Venue" FROM table_63248 WHERE "Opponent" = 'sunderland' AND "Result" = '1-1' |
which location is listed previous to march 22 ? | CREATE TABLE table_203_704 (
id number,
"rnd" number,
"date" text,
"location" text,
"laps" number,
"distance" text,
"time" text,
"speed\n(km/h)" number,
"winner" text,
"pole position" text,
"most leading laps" text,
"fastest race lap" text
) | SELECT "location" FROM table_203_704 WHERE id = (SELECT id FROM table_203_704 WHERE "date" = 'march 22') - 1 |
When does Donaldson's move end? | CREATE TABLE table_name_34 (
ends VARCHAR,
name VARCHAR
) | SELECT ends FROM table_name_34 WHERE name = "donaldson" |
what is the last model ? | CREATE TABLE table_204_582 (
id number,
"model" text,
"launch" text,
"code name" text,
"fab (nm)" number,
"bus interface" text,
"memory (mib)" text,
"core clock (mhz)" number,
"memory clock (mhz)" number,
"config core1" text,
"fillrate\nmoperations/s" number,
"fillrate\nmpixels/s" number,
"fillrate\nmtextels/s" number,
"fillrate\nmvertices/s" number,
"memory\nbandwidth (gb/s)" number,
"memory\nbus type" text,
"memory\nbus width (bit)" number,
"directx support" number
) | SELECT "model" FROM table_204_582 ORDER BY id DESC LIMIT 1 |
What is Country, when Player is 'Jack Nicklaus'? | CREATE TABLE table_43883 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
) | SELECT "Country" FROM table_43883 WHERE "Player" = 'jack nicklaus' |
What circuit was for the german grand prix? | CREATE TABLE table_name_5 (
circuit VARCHAR,
race VARCHAR
) | SELECT circuit FROM table_name_5 WHERE race = "german grand prix" |
What is the highest lane for heat 6 with a time of dns? | CREATE TABLE table_70812 (
"Heat" real,
"Lane" real,
"Name" text,
"Nationality" text,
"Time" text
) | SELECT MAX("Lane") FROM table_70812 WHERE "Heat" = '6' AND "Time" = 'dns' |
If the goals scored were below 6, 11 games were played, and there were 7 assists, what's the sum of points with games meeting these criteria? | CREATE TABLE table_name_78 (
points INTEGER,
goals VARCHAR,
assists VARCHAR,
games VARCHAR
) | SELECT SUM(points) FROM table_name_78 WHERE assists = 7 AND games = 11 AND goals < 6 |
How many sockets are listed that have a brand name of 'Core i3-2xx7m'? | CREATE TABLE table_24538587_11 (
socket VARCHAR,
brand_name__list_ VARCHAR
) | SELECT COUNT(socket) FROM table_24538587_11 WHERE brand_name__list_ = "Core i3-2xx7M" |
What is the D 46 with a D 43 with r 3? | CREATE TABLE table_name_2 (
d_46_√ VARCHAR,
d_43_√ VARCHAR
) | SELECT d_46_√ FROM table_name_2 WHERE d_43_√ = "r 3" |
What was the score of the game played at Harmon Stadium on February 24? | CREATE TABLE table_42169 (
"Date" text,
"Opponent" text,
"Score" text,
"Site/Stadium" text,
"Record" text
) | SELECT "Score" FROM table_42169 WHERE "Site/Stadium" = 'harmon stadium' AND "Date" = 'february 24' |
Who did the Raptors play when their record was 45-36? | CREATE TABLE table_842 (
"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_842 WHERE "Record" = '45-36' |
Who played Richmond at home? | CREATE TABLE table_14312471_7 (
home_team VARCHAR,
away_team VARCHAR
) | SELECT home_team FROM table_14312471_7 WHERE away_team = "Richmond" |
What circuit saw Cabin Racing as the winning team? | CREATE TABLE table_name_41 (
circuit VARCHAR,
winning_team VARCHAR
) | SELECT circuit FROM table_name_41 WHERE winning_team = "cabin racing" |
What is the IATA for Benghazi, Libya? | CREATE TABLE table_41622 (
"City" text,
"Country" text,
"IATA" text,
"ICAO" text,
"Airport" text
) | SELECT "IATA" FROM table_41622 WHERE "Country" = 'libya' AND "City" = 'benghazi' |
where is the location -lrb- city -rrb- of the last u.s. post office and court house on the chart ? | CREATE TABLE table_204_749 (
id number,
"courthouse" text,
"city" text,
"street address" text,
"jurisdiction" text,
"dates of use" text,
"named for" number
) | SELECT "city" FROM table_204_749 ORDER BY id DESC LIMIT 1 |
Which stadium can hold 63,443 people? | CREATE TABLE table_31749 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" text
) | SELECT "Result" FROM table_31749 WHERE "Attendance" = '63,443' |
who is the only player who is not a fly half ? | CREATE TABLE table_203_871 (
id number,
"#" number,
"player" text,
"pos" text,
"pts" number,
"tries" number,
"conv" number,
"pens" number,
"drop" number,
"opposition" text,
"venue" text,
"date" text
) | SELECT "player" FROM table_203_871 WHERE "pos" <> 'fly-half' |
What is the lowest year that has chester-le-street as the city, with 345 runs as the score? | CREATE TABLE table_name_49 (
year INTEGER,
city VARCHAR,
score VARCHAR
) | SELECT MIN(year) FROM table_name_49 WHERE city = "chester-le-street" AND score = "345 runs" |
What is the Original U.S. air-date for the Original Canadian air-date of december 9, 2007? | CREATE TABLE table_name_80 (
original_us_air_date VARCHAR,
original_canadian_air_date VARCHAR
) | SELECT original_us_air_date FROM table_name_80 WHERE original_canadian_air_date = "december 9, 2007" |
What's the 2nd leg result in the round where team #1 is Iraklis? | CREATE TABLE table_19130829_4 (
team__number1 VARCHAR
) | SELECT 2 AS nd_leg FROM table_19130829_4 WHERE team__number1 = "Iraklis" |
How many attempts did Charley Johnson have? | CREATE TABLE table_23998 (
"Name" text,
"Completions" real,
"Attempts" real,
"Completion %" text,
"Yards" real,
"Touchdowns" real,
"Interceptions" real,
"QB Rating" text
) | SELECT COUNT("Attempts") FROM table_23998 WHERE "Name" = 'Charley Johnson' |
Name the location of the church for berle kyrkje | CREATE TABLE table_1777 (
"Parish ( Prestegjeld )" text,
"Sub-Parish (Sokn)" text,
"Church Name" text,
"Year Built" real,
"Location of the Church" text
) | SELECT "Location of the Church" FROM table_1777 WHERE "Church Name" = 'Berle kyrkje' |
What is the year of the TV series directed by Soroush Sehat? | CREATE TABLE table_68677 (
"Year" text,
"Title" text,
"( Title in English )" text,
"Director" text,
"Character" text
) | SELECT "Year" FROM table_68677 WHERE "Director" = 'soroush sehat' |
Find the distinct last names of the students who have class president votes. | CREATE TABLE VOTING_RECORD (
CLASS_President_VOTE VARCHAR
)
CREATE TABLE STUDENT (
LName VARCHAR,
StuID VARCHAR
) | SELECT DISTINCT T1.LName FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID = T2.CLASS_President_VOTE |
What date was the opponent the Los Angeles Raiders? | CREATE TABLE table_16729063_2 (
date VARCHAR,
opponent VARCHAR
) | SELECT date FROM table_16729063_2 WHERE opponent = "Los Angeles Raiders" |
Who is iv n navarro's opponent? | CREATE TABLE table_66230 (
"!Event" real,
"Round" text,
"Surface" text,
"Winner" text,
"Opponent" text,
"Result" text
) | SELECT "Opponent" FROM table_66230 WHERE "Result" = 'iván navarro' |
Which Extra points 1 point is the highest one that has a Total Points smaller than 8? | CREATE TABLE table_36579 (
"Player" text,
"Touchdowns (5 points)" real,
"Extra points 1 point" real,
"Field goals (5 points)" real,
"Total Points" real
) | SELECT MAX("Extra points 1 point") FROM table_36579 WHERE "Total Points" < '8' |
Of all the claims, what was the earliest date when any claim was made? | CREATE TABLE settlements (
settlement_id number,
claim_id number,
date_claim_made time,
date_claim_settled time,
amount_claimed number,
amount_settled number,
customer_policy_id number
)
CREATE TABLE payments (
payment_id number,
settlement_id number,
payment_method_code text,
date_payment_made time,
amount_payment number
)
CREATE TABLE customer_policies (
policy_id number,
customer_id number,
policy_type_code text,
start_date time,
end_date time
)
CREATE TABLE claims (
claim_id number,
policy_id number,
date_claim_made time,
date_claim_settled time,
amount_claimed number,
amount_settled number
)
CREATE TABLE customers (
customer_id number,
customer_details text
) | SELECT date_claim_made FROM claims ORDER BY date_claim_made LIMIT 1 |
Who got the loss for the game ending in a record of 55-41? | CREATE TABLE table_name_74 (
loss VARCHAR,
record VARCHAR
) | SELECT loss FROM table_name_74 WHERE record = "55-41" |
What competition took place on 10 August 2011? | CREATE TABLE table_name_85 (
competition VARCHAR,
date VARCHAR
) | SELECT competition FROM table_name_85 WHERE date = "10 august 2011" |
Name the ted morris memorial trophy 34th game | CREATE TABLE table_25319 (
"Game" text,
"Date" text,
"Champion" text,
"Score" text,
"Runner Up" text,
"Stadium" text,
"City" text,
"Ted Morris Memorial Trophy (Game MVP)" text,
"Bruce Coulter Award" text
) | SELECT "Ted Morris Memorial Trophy (Game MVP)" FROM table_25319 WHERE "Game" = '34th' |
What award was won in the best sound category for the exorcist before 1998? | CREATE TABLE table_51345 (
"Year" real,
"Award" text,
"Category" text,
"Type" text,
"Title" text
) | SELECT "Award" FROM table_51345 WHERE "Year" < '1998' AND "Type" = 'won' AND "Category" = 'best sound' AND "Title" = 'the exorcist' |
What is the enrollment for the institution nicknamed the panthers that left in 2012? | CREATE TABLE table_262481_2 (
enrollment VARCHAR,
left VARCHAR,
nickname VARCHAR
) | SELECT enrollment FROM table_262481_2 WHERE left = "2012" AND nickname = "Panthers" |
what's the first elected with district illinois 18 | CREATE TABLE table_1341472_15 (
first_elected VARCHAR,
district VARCHAR
) | SELECT first_elected FROM table_1341472_15 WHERE district = "Illinois 18" |
Which party is sydney sampson a member of? | CREATE TABLE table_name_10 (
party VARCHAR,
member VARCHAR
) | SELECT party FROM table_name_10 WHERE member = "sydney sampson" |
What is the average when the matches are 11? | CREATE TABLE table_name_47 (
average VARCHAR,
matches VARCHAR
) | SELECT average FROM table_name_47 WHERE matches = "11" |
Subsets and Splits