instruction stringclasses 10
values | input stringclasses 10
values | response stringclasses 10
values | source stringclasses 4
values | text stringclasses 10
values |
|---|---|---|---|---|
Name the home team for carlton away team | CREATE TABLE table_name_77 (
home_team VARCHAR,
away_team VARCHAR
) | SELECT home_team FROM table_name_77 WHERE away_team = "carlton" | sql_create_context | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Name the home team for carlton away team ### Input: CREATE TABLE table_name_77 (
home_team VARCHAR,
away_team VARCHA... |
what will the population of Asia be when Latin America/Caribbean is 783 (7.5%)? | CREATE TABLE table_22767 (
"Year" real,
"World" real,
"Asia" text,
"Africa" text,
"Europe" text,
"Latin America/Caribbean" text,
"Northern America" text,
"Oceania" text
) | SELECT "Asia" FROM table_22767 WHERE "Latin America/Caribbean" = '783 (7.5%)' | wikisql | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: what will the population of Asia be when Latin America/Caribbean is 783 (7.5%)? ### Input: CREATE TABLE table_22767 (
"Y... |
How many faculty members do we have for each gender? Draw a bar chart, order by the Y-axis in descending. | CREATE TABLE Student (
StuID INTEGER,
LName VARCHAR(12),
Fname VARCHAR(12),
Age INTEGER,
Sex VARCHAR(1),
Major INTEGER,
Advisor INTEGER,
city_code VARCHAR(3)
)
CREATE TABLE Faculty (
FacID INTEGER,
Lname VARCHAR(15),
Fname VARCHAR(15),
Rank VARCHAR(15),
Sex VARCHAR(1... | SELECT Sex, COUNT(*) FROM Faculty GROUP BY Sex ORDER BY COUNT(*) DESC | nvbench | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: How many faculty members do we have for each gender? Draw a bar chart, order by the Y-axis in descending. ### Input: CREATE ... |
List the record of 0-1 from the table? | CREATE TABLE table_14656147_2 (
week VARCHAR,
record VARCHAR
) | SELECT week FROM table_14656147_2 WHERE record = "0-1" | sql_create_context | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: List the record of 0-1 from the table? ### Input: CREATE TABLE table_14656147_2 (
week VARCHAR,
record VARCHAR
) ###... |
Which silver has a Gold smaller than 12, a Rank smaller than 5, and a Bronze of 5? | CREATE TABLE table_name_24 (
silver VARCHAR,
bronze VARCHAR,
gold VARCHAR,
rank VARCHAR
) | SELECT silver FROM table_name_24 WHERE gold < 12 AND rank < 5 AND bronze = 5 | sql_create_context | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which silver has a Gold smaller than 12, a Rank smaller than 5, and a Bronze of 5? ### Input: CREATE TABLE table_name_24 (
... |
When did Samsung Electronics Co LTD make the GT-i9100? | CREATE TABLE table_47482 (
"Company name" text,
"Hardware Model" text,
"Accreditation type" text,
"Accreditation level" text,
"Date" text
) | SELECT "Date" FROM table_47482 WHERE "Company name" = 'samsung electronics co ltd' AND "Hardware Model" = 'gt-i9100' | wikisql | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: When did Samsung Electronics Co LTD make the GT-i9100? ### Input: CREATE TABLE table_47482 (
"Company name" text,
"H... |
what are the early morning flights from BOSTON to DENVER | CREATE TABLE time_interval (
period text,
begin_time int,
end_time int
)
CREATE TABLE flight_leg (
flight_id int,
leg_number int,
leg_flight int
)
CREATE TABLE airline (
airline_code varchar,
airline_name text,
note text
)
CREATE TABLE ground_service (
city_code text,
airp... | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE (CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'BOSTON' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'DENVER... | atis | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: what are the early morning flights from BOSTON to DENVER ### Input: CREATE TABLE time_interval (
period text,
begin_... |
Name the most 3 credits | CREATE TABLE table_148535_2 (
Id VARCHAR
) | SELECT MIN(3 AS _credits) FROM table_148535_2 | sql_create_context | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Name the most 3 credits ### Input: CREATE TABLE table_148535_2 (
Id VARCHAR
) ### Response: SELECT MIN(3 AS _credits) FR... |
What is every yellow jersey entry for the distance 125? | CREATE TABLE table_3791 (
"Year" text,
"Stage" real,
"Start of stage" text,
"Distance (km)" text,
"Category of climb" text,
"Stage winner" text,
"Nationality" text,
"Yellow jersey" text,
"Bend" real
) | SELECT "Yellow jersey" FROM table_3791 WHERE "Distance (km)" = '125' | wikisql | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is every yellow jersey entry for the distance 125? ### Input: CREATE TABLE table_3791 (
"Year" text,
"Stage" re... |
In what years was there a rank lower than 9, under 84 goals, and more than 158 matches? | CREATE TABLE table_name_63 (
years VARCHAR,
goals VARCHAR,
matches VARCHAR,
rank VARCHAR
) | SELECT years FROM table_name_63 WHERE matches > 158 AND rank > 9 AND goals < 84 | sql_create_context | Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: In what years was there a rank lower than 9, under 84 goals, and more than 158 matches? ### Input: CREATE TABLE table_name_6... |
README.md exists but content is empty.
- Downloads last month
- 6