text2SQL stringlengths 192 7.27k |
|---|
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE month (
month_number,
month_name
)
CREATE TABLE days (
days_code,
day_name
)
CREATE TABLE fare_basis (
fare_basis_code,
booking_class,
class_type,
premium,
economy,
discounted,
ni... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE ground_service (
city_code,
airport_code,
transport_type,
ground_fare
)
CREATE TABLE dual_carrier (
main_airline,
low_flight_number,
high_flight_number,
dual_airline,
service_name
... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE student_record (
student_id,
course_id,
semester,
grade,
how,
transfer_source,
earn_credit,
repeat_term,
test_id
)
CREATE TABLE course (
course_id,
name,
department,
number,
credit... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE airport (
airport_code,
airport_name,
airport_location,
state_code,
country_name,
time_zone_code,
minimum_connect_time
)
CREATE TABLE flight_leg (
flight_id,
leg_number,
leg_flight... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE airport (
airport_code,
airport_name,
airport_location,
state_code,
country_name,
time_zone_code,
minimum_connect_time
)
CREATE TABLE flight_stop (
flight_id,
stop_number,
stop_day... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE dual_carrier (
main_airline,
low_flight_number,
high_flight_number,
dual_airline,
service_name
)
CREATE TABLE airline (
airline_code,
airline_name,
note
)
CREATE TABLE time_zone (... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE river (
river_name,
length,
traverse,
country_name
)
CREATE TABLE city (
city_name,
state_name,
population,
country_name
)
CREATE TABLE state (
state_name,
capital,
population,
ar... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE flight_stop (
flight_id,
stop_number,
stop_days,
stop_airport,
arrival_time,
arrival_airline,
arrival_flight_number,
departure_time,
departure_airline,
departure_flight_number,
stop... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE class_of_service (
booking_class,
rank,
class_description
)
CREATE TABLE flight (
aircraft_code_sequence,
airline_code,
airline_flight,
arrival_time,
connections,
departure_time,
d... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE time_interval (
period,
begin_time,
end_time
)
CREATE TABLE fare (
fare_id,
from_airport,
to_airport,
fare_basis_code,
fare_airline,
restriction_code,
one_direction_cost,
round_tri... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE semester (
semester_id,
semester,
year
)
CREATE TABLE course_offering (
offering_id,
course_id,
semester,
section_number,
start_time,
end_time,
monday,
tuesday,
wednesday,
thursday... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE river (
river_name,
length,
traverse,
country_name
)
CREATE TABLE city (
city_name,
state_name,
population,
country_name
)
CREATE TABLE lake (
lake_name,
area,
state_name,
country... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE code_description (
code,
description
)
CREATE TABLE restriction (
restriction_code,
advance_purchase,
stopovers,
saturday_stay_required,
minimum_stay,
maximum_stay,
application,
no... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE flight_fare (
flight_id,
fare_id
)
CREATE TABLE flight_stop (
flight_id,
stop_number,
stop_days,
stop_airport,
arrival_time,
arrival_airline,
arrival_flight_number,
departure_time,... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE airport_service (
city_code,
airport_code,
miles_distant,
direction,
minutes_distant
)
CREATE TABLE fare (
fare_id,
from_airport,
to_airport,
fare_basis_code,
fare_airline,
restric... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE restriction (
restriction_code,
advance_purchase,
stopovers,
saturday_stay_required,
minimum_stay,
maximum_stay,
application,
no_discounts
)
CREATE TABLE aircraft (
aircraft_code,
... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE mountain (
mountain_name,
mountain_altitude,
state_name,
country_name
)
CREATE TABLE city (
city_name,
state_name,
population,
country_name
)
CREATE TABLE road (
road_name,
state_... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE state (
state_code,
state_name,
country_name
)
CREATE TABLE food_service (
meal_code,
meal_number,
compartment,
meal_description
)
CREATE TABLE airport_service (
city_code,
airpor... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE ground_service (
city_code,
airport_code,
transport_type,
ground_fare
)
CREATE TABLE airport_service (
city_code,
airport_code,
miles_distant,
direction,
minutes_distant
)
CREATE ... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE days (
days_code,
day_name
)
CREATE TABLE dual_carrier (
main_airline,
low_flight_number,
high_flight_number,
dual_airline,
service_name
)
CREATE TABLE fare_basis (
fare_basis_cod... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE course_offering (
offering_id,
course_id,
semester,
section_number,
start_time,
end_time,
monday,
tuesday,
wednesday,
thursday,
friday,
saturday,
sunday,
has_final_project,
has_fina... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE requirement (
requirement_id,
requirement,
college
)
CREATE TABLE program_course (
program_id,
course_id,
workload,
category
)
CREATE TABLE comment_instructor (
instructor_id,
stu... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE airport (
airport_code,
airport_name,
airport_location,
state_code,
country_name,
time_zone_code,
minimum_connect_time
)
CREATE TABLE time_zone (
time_zone_code,
time_zone_name,
ho... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE airport (
airport_code,
airport_name,
airport_location,
state_code,
country_name,
time_zone_code,
minimum_connect_time
)
CREATE TABLE flight_stop (
flight_id,
stop_number,
stop_day... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE program_course (
program_id,
course_id,
workload,
category
)
CREATE TABLE gsi (
course_offering_id,
student_id
)
CREATE TABLE requirement (
requirement_id,
requirement,
college
)
... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE jobs (
job_id,
job_title,
description,
requirement,
city,
state,
country,
zip
)
CREATE TABLE comment_instructor (
instructor_id,
student_id,
score,
comment_text
)
CREATE TABLE cou... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE ground_service (
city_code,
airport_code,
transport_type,
ground_fare
)
CREATE TABLE restriction (
restriction_code,
advance_purchase,
stopovers,
saturday_stay_required,
minimum_st... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE airport_service (
city_code,
airport_code,
miles_distant,
direction,
minutes_distant
)
CREATE TABLE month (
month_number,
month_name
)
CREATE TABLE airport (
airport_code,
airport... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE flight_leg (
flight_id,
leg_number,
leg_flight
)
CREATE TABLE time_zone (
time_zone_code,
time_zone_name,
hours_from_gmt
)
CREATE TABLE aircraft (
aircraft_code,
aircraft_descript... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE offering_instructor (
offering_instructor_id,
offering_id,
instructor_id
)
CREATE TABLE course_offering (
offering_id,
course_id,
semester,
section_number,
start_time,
end_time,
mo... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE cite (
cited,
citing
)
CREATE TABLE organization (
continent,
homepage,
name,
oid
)
CREATE TABLE journal (
homepage,
jid,
name
)
CREATE TABLE domain (
did,
name
)
CREATE TABLE d... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE course_tags_count (
course_id,
clear_grading,
pop_quiz,
group_projects,
inspirational,
long_lectures,
extra_credit,
few_tests,
good_feedback,
tough_tests,
heavy_papers,
cares_for_st... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE code_description (
code,
description
)
CREATE TABLE time_interval (
period,
begin_time,
end_time
)
CREATE TABLE food_service (
meal_code,
meal_number,
compartment,
meal_descriptio... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE program (
program_id,
name,
college,
introduction
)
CREATE TABLE student_record (
student_id,
course_id,
semester,
grade,
how,
transfer_source,
earn_credit,
repeat_term,
test_id
)
... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE ground_service (
city_code,
airport_code,
transport_type,
ground_fare
)
CREATE TABLE equipment_sequence (
aircraft_code_sequence,
aircraft_code
)
CREATE TABLE month (
month_number... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE city (
city_code,
city_name,
state_code,
country_name,
time_zone_code
)
CREATE TABLE compartment_class (
compartment,
class_type
)
CREATE TABLE days (
days_code,
day_name
)
CREAT... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE compartment_class (
compartment,
class_type
)
CREATE TABLE flight_leg (
flight_id,
leg_number,
leg_flight
)
CREATE TABLE city (
city_code,
city_name,
state_code,
country_name,
tim... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE time_zone (
time_zone_code,
time_zone_name,
hours_from_gmt
)
CREATE TABLE compartment_class (
compartment,
class_type
)
CREATE TABLE flight (
aircraft_code_sequence,
airline_code,... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE airline (
airline_code,
airline_name,
note
)
CREATE TABLE airport (
airport_code,
airport_name,
airport_location,
state_code,
country_name,
time_zone_code,
minimum_connect_time
)
... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE airport_service (
city_code,
airport_code,
miles_distant,
direction,
minutes_distant
)
CREATE TABLE code_description (
code,
description
)
CREATE TABLE time_zone (
time_zone_code,... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE city (
city_name,
state_name,
population,
country_name
)
CREATE TABLE river (
river_name,
length,
traverse,
country_name
)
CREATE TABLE road (
road_name,
state_name
)
CREATE TABL... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE flight_leg (
flight_id,
leg_number,
leg_flight
)
CREATE TABLE code_description (
code,
description
)
CREATE TABLE state (
state_code,
state_name,
country_name
)
CREATE TABLE city... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE aircraft (
aircraft_code,
aircraft_description,
manufacturer,
basic_type,
engines,
propulsion,
wide_body,
wing_span,
length,
weight,
capacity,
pay_load,
cruising_speed,
range_miles,... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE program_requirement (
program_id,
category,
min_credit,
additional_req
)
CREATE TABLE area (
course_id,
area
)
CREATE TABLE student_record (
student_id,
course_id,
semester,
grade... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE month (
month_number,
month_name
)
CREATE TABLE food_service (
meal_code,
meal_number,
compartment,
meal_description
)
CREATE TABLE fare (
fare_id,
from_airport,
to_airport,
fare_... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE city (
city_code,
city_name,
state_code,
country_name,
time_zone_code
)
CREATE TABLE ground_service (
city_code,
airport_code,
transport_type,
ground_fare
)
CREATE TABLE aircraft ... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE month (
month_number,
month_name
)
CREATE TABLE state (
state_code,
state_name,
country_name
)
CREATE TABLE fare (
fare_id,
from_airport,
to_airport,
fare_basis_code,
fare_airline... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE time_interval (
period,
begin_time,
end_time
)
CREATE TABLE flight_fare (
flight_id,
fare_id
)
CREATE TABLE flight_leg (
flight_id,
leg_number,
leg_flight
)
CREATE TABLE date_day... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE days (
days_code,
day_name
)
CREATE TABLE fare_basis (
fare_basis_code,
booking_class,
class_type,
premium,
economy,
discounted,
night,
season,
basis_days
)
CREATE TABLE equipment... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE jobs (
job_id,
job_title,
description,
requirement,
city,
state,
country,
zip
)
CREATE TABLE area (
course_id,
area
)
CREATE TABLE program_requirement (
program_id,
category,
min_... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE state (
state_code,
state_name,
country_name
)
CREATE TABLE flight_leg (
flight_id,
leg_number,
leg_flight
)
CREATE TABLE airport (
airport_code,
airport_name,
airport_location,
s... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE airline (
airline_code,
airline_name,
note
)
CREATE TABLE days (
days_code,
day_name
)
CREATE TABLE flight_leg (
flight_id,
leg_number,
leg_flight
)
CREATE TABLE flight_stop (
fl... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE flight_fare (
flight_id,
fare_id
)
CREATE TABLE fare_basis (
fare_basis_code,
booking_class,
class_type,
premium,
economy,
discounted,
night,
season,
basis_days
)
CREATE TABLE res... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE food_service (
meal_code,
meal_number,
compartment,
meal_description
)
CREATE TABLE aircraft (
aircraft_code,
aircraft_description,
manufacturer,
basic_type,
engines,
propulsion,
w... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE program_requirement (
program_id,
category,
min_credit,
additional_req
)
CREATE TABLE course (
course_id,
name,
department,
number,
credits,
advisory_requirement,
enforced_requirem... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE comment_instructor (
instructor_id,
student_id,
score,
comment_text
)
CREATE TABLE gsi (
course_offering_id,
student_id
)
CREATE TABLE student (
student_id,
lastname,
firstname,
p... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE month (
month_number,
month_name
)
CREATE TABLE fare_basis (
fare_basis_code,
booking_class,
class_type,
premium,
economy,
discounted,
night,
season,
basis_days
)
CREATE TABLE dat... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE course_tags_count (
course_id,
clear_grading,
pop_quiz,
group_projects,
inspirational,
long_lectures,
extra_credit,
few_tests,
good_feedback,
tough_tests,
heavy_papers,
cares_for_st... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE keyphrase (
keyphraseid,
keyphrasename
)
CREATE TABLE author (
authorid,
authorname
)
CREATE TABLE paper (
paperid,
title,
venueid,
year,
numciting,
numcitedby,
journalid
)
CREAT... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE copyright (
id,
msid,
cid
)
CREATE TABLE tv_series (
sid,
title,
release_year,
num_of_seasons,
num_of_episodes,
title_aka,
budget
)
CREATE TABLE made_by (
id,
msid,
pid
)
CREATE ... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE equipment_sequence (
aircraft_code_sequence,
aircraft_code
)
CREATE TABLE month (
month_number,
month_name
)
CREATE TABLE airport_service (
city_code,
airport_code,
miles_distant,... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE river (
river_name,
length,
traverse,
country_name
)
CREATE TABLE border_info (
state_name,
border
)
CREATE TABLE lake (
lake_name,
area,
state_name,
country_name
)
CREATE TABLE ... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE fare (
fare_id,
from_airport,
to_airport,
fare_basis_code,
fare_airline,
restriction_code,
one_direction_cost,
round_trip_cost,
round_trip_required
)
CREATE TABLE restriction (
res... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE city (
city_code,
city_name,
state_code,
country_name,
time_zone_code
)
CREATE TABLE flight_leg (
flight_id,
leg_number,
leg_flight
)
CREATE TABLE airline (
airline_code,
airline_... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE course_prerequisite (
pre_course_id,
course_id
)
CREATE TABLE course_offering (
offering_id,
course_id,
semester,
section_number,
start_time,
end_time,
monday,
tuesday,
wednesday,
... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE paperdataset (
paperid,
datasetid
)
CREATE TABLE journal (
journalid,
journalname
)
CREATE TABLE cite (
citingpaperid,
citedpaperid
)
CREATE TABLE field (
fieldid
)
CREATE TABLE... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE month (
month_number,
month_name
)
CREATE TABLE state (
state_code,
state_name,
country_name
)
CREATE TABLE class_of_service (
booking_class,
rank,
class_description
)
CREATE TAB... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE requirement (
requirement_id,
requirement,
college
)
CREATE TABLE course_tags_count (
course_id,
clear_grading,
pop_quiz,
group_projects,
inspirational,
long_lectures,
extra_credit... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE airport (
airport_code,
airport_name,
airport_location,
state_code,
country_name,
time_zone_code,
minimum_connect_time
)
CREATE TABLE state (
state_code,
state_name,
country_name
)... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE gsi (
course_offering_id,
student_id
)
CREATE TABLE area (
course_id,
area
)
CREATE TABLE student (
student_id,
lastname,
firstname,
program_id,
declare_major,
total_credit,
total... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE city (
city_code,
city_name,
state_code,
country_name,
time_zone_code
)
CREATE TABLE fare (
fare_id,
from_airport,
to_airport,
fare_basis_code,
fare_airline,
restriction_code,
one_... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE instructor (
instructor_id,
name,
uniqname
)
CREATE TABLE ta (
campus_job_id,
student_id,
location
)
CREATE TABLE offering_instructor (
offering_instructor_id,
offering_id,
instru... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE gsi (
course_offering_id,
student_id
)
CREATE TABLE offering_instructor (
offering_instructor_id,
offering_id,
instructor_id
)
CREATE TABLE course (
course_id,
name,
department,
n... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE course_offering (
offering_id,
course_id,
semester,
section_number,
start_time,
end_time,
monday,
tuesday,
wednesday,
thursday,
friday,
saturday,
sunday,
has_final_project,
has_fina... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE equipment_sequence (
aircraft_code_sequence,
aircraft_code
)
CREATE TABLE date_day (
month_number,
day_number,
year,
day_name
)
CREATE TABLE state (
state_code,
state_name,
countr... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE offering_instructor (
offering_instructor_id,
offering_id,
instructor_id
)
CREATE TABLE ta (
campus_job_id,
student_id,
location
)
CREATE TABLE requirement (
requirement_id,
requi... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE class_of_service (
booking_class,
rank,
class_description
)
CREATE TABLE food_service (
meal_code,
meal_number,
compartment,
meal_description
)
CREATE TABLE dual_carrier (
main_ai... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE days (
days_code,
day_name
)
CREATE TABLE restriction (
restriction_code,
advance_purchase,
stopovers,
saturday_stay_required,
minimum_stay,
maximum_stay,
application,
no_discounts... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE user (
uid,
user_id,
name
)
CREATE TABLE category (
id,
business_id,
category_name
)
CREATE TABLE neighborhood (
id,
business_id,
neighborhood_name
)
CREATE TABLE tip (
tip_id,
b... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE aircraft (
aircraft_code,
aircraft_description,
manufacturer,
basic_type,
engines,
propulsion,
wide_body,
wing_span,
length,
weight,
capacity,
pay_load,
cruising_speed,
range_miles,... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE paper (
paperid,
title,
venueid,
year,
numciting,
numcitedby,
journalid
)
CREATE TABLE paperdataset (
paperid,
datasetid
)
CREATE TABLE paperfield (
fieldid,
paperid
)
CREATE TAB... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE offering_instructor (
offering_instructor_id,
offering_id,
instructor_id
)
CREATE TABLE course_tags_count (
course_id,
clear_grading,
pop_quiz,
group_projects,
inspirational,
long_... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE class_of_service (
booking_class,
rank,
class_description
)
CREATE TABLE fare_basis (
fare_basis_code,
booking_class,
class_type,
premium,
economy,
discounted,
night,
season,
basis... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE food_service (
meal_code,
meal_number,
compartment,
meal_description
)
CREATE TABLE airline (
airline_code,
airline_name,
note
)
CREATE TABLE airport (
airport_code,
airport_name,... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE city (
city_code,
city_name,
state_code,
country_name,
time_zone_code
)
CREATE TABLE aircraft (
aircraft_code,
aircraft_description,
manufacturer,
basic_type,
engines,
propulsion,
... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE city (
city_name,
state_name,
population,
country_name
)
CREATE TABLE road (
road_name,
state_name
)
CREATE TABLE lake (
lake_name,
area,
state_name,
country_name
)
CREATE TABLE ... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE domain_journal (
did,
jid
)
CREATE TABLE publication (
abstract,
cid,
citation_num,
jid,
pid,
reference_num,
title,
year
)
CREATE TABLE domain_keyword (
did,
kid
)
CREATE TABLE k... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE area (
course_id,
area
)
CREATE TABLE program_course (
program_id,
course_id,
workload,
category
)
CREATE TABLE program_requirement (
program_id,
category,
min_credit,
additional_... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE dual_carrier (
main_airline,
low_flight_number,
high_flight_number,
dual_airline,
service_name
)
CREATE TABLE time_interval (
period,
begin_time,
end_time
)
CREATE TABLE flight_le... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE state (
state_code,
state_name,
country_name
)
CREATE TABLE time_zone (
time_zone_code,
time_zone_name,
hours_from_gmt
)
CREATE TABLE flight_fare (
flight_id,
fare_id
)
CREATE TA... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE course_offering (
offering_id,
course_id,
semester,
section_number,
start_time,
end_time,
monday,
tuesday,
wednesday,
thursday,
friday,
saturday,
sunday,
has_final_project,
has_fina... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE program_requirement (
program_id,
category,
min_credit,
additional_req
)
CREATE TABLE ta (
campus_job_id,
student_id,
location
)
CREATE TABLE student (
student_id,
lastname,
first... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE days (
days_code,
day_name
)
CREATE TABLE fare_basis (
fare_basis_code,
booking_class,
class_type,
premium,
economy,
discounted,
night,
season,
basis_days
)
CREATE TABLE time_inte... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE aircraft (
aircraft_code,
aircraft_description,
manufacturer,
basic_type,
engines,
propulsion,
wide_body,
wing_span,
length,
weight,
capacity,
pay_load,
cruising_speed,
range_miles,... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE food_service (
meal_code,
meal_number,
compartment,
meal_description
)
CREATE TABLE flight_fare (
flight_id,
fare_id
)
CREATE TABLE city (
city_code,
city_name,
state_code,
countr... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE flight_fare (
flight_id,
fare_id
)
CREATE TABLE flight_leg (
flight_id,
leg_number,
leg_flight
)
CREATE TABLE date_day (
month_number,
day_number,
year,
day_name
)
CREATE TABLE f... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE time_interval (
period,
begin_time,
end_time
)
CREATE TABLE time_zone (
time_zone_code,
time_zone_name,
hours_from_gmt
)
CREATE TABLE restriction (
restriction_code,
advance_purch... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE flight_stop (
flight_id,
stop_number,
stop_days,
stop_airport,
arrival_time,
arrival_airline,
arrival_flight_number,
departure_time,
departure_airline,
departure_flight_number,
stop... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE month (
month_number,
month_name
)
CREATE TABLE aircraft (
aircraft_code,
aircraft_description,
manufacturer,
basic_type,
engines,
propulsion,
wide_body,
wing_span,
length,
weight,... |
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE month (
month_number,
month_name
)
CREATE TABLE dual_carrier (
main_airline,
low_flight_number,
high_flight_number,
dual_airline,
service_name
)
CREATE TABLE airport_service (
cit... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.