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 paper ( paperid, title, venueid, year, numciting, numcitedby, journalid ) CREATE TABLE journal ( journalid, journalname ) CREATE TABLE writes ( paperid, authorid ) CREATE TABLE k...
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 jobs ( job_id, job_title, description, requirement, city, state, country, zip ) CREATE TABLE gsi ( course_offering_id, student_id ) CREATE TABLE comment_instructor ( instructor_id...
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 food_service ( meal_code, meal_number, compartment, meal_descript...
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 time_zone ( time_zone_code, time_zone_name, hours_from_gmt ) CREATE TABLE airport_service ( city_code, airport_code, miles_distant, direc...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE highlow ( state_name, highest_point, highest_elevation, lowest_point, lowest_elevation ) CREATE TABLE mountain ( mountain_name, mountain_altitude, state_name, country_name ) CREAT...
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 aircraft ( aircraft_code, aircraft_description, manufacturer, basic_type, engines, propulsion, wide_body, wing_span, length, wei...
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 instructor ( instructor_id, name, uniqname ) CREATE TABLE semester ( semester_id, semester, year...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE paperkeyphrase ( paperid, keyphraseid ) CREATE TABLE paper ( paperid, title, venueid, year, numciting, numcitedby, journalid ) CREATE TABLE author ( authorid, authorname ) CREATE...
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 requirement ( requirement_id, requirement, college ) CREATE TABLE offering_instructor ( offering_instruct...
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 airport_service ( city_code, airport_c...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE ta ( campus_job_id, student_id, location ) CREATE TABLE jobs ( job_id, job_title, description, requirement, city, state, country, zip ) CREATE TABLE instructor ( instructor_id, na...
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 ( fare_id, from_airport, to_airport, fare_basis_code, fare_airline, restriction_code, one_direction_cost, round_trip_cost, round_trip...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE date_day ( month_number, day_number, year, day_name ) CREATE TABLE airport_service ( city_code, airport_code, miles_distant, direction, minutes_distant ) CREATE TABLE state ( stat...
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_prerequisite ( pre_course_id, course_id ) CREATE TABLE gsi ( course_offering_id, student_id ) CREATE TABLE offering_i...
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 code_description ( code, description ) CREATE TABLE restriction ( restriction_code, advance_purchase, sto...
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 dual_carrier ( main_airline, low_flight_number, high_flight_number, dual_airline, service_name ) CREATE TABLE airport_service (...
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 program_requirement ( program_id, category, min_credit, additional_req ) CREATE TABLE comment_instructor ( instructor...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE paperfield ( fieldid, paperid ) CREATE TABLE dataset ( datasetid, datasetname ) CREATE TABLE journal ( journalid, journalname ) CREATE TABLE paperdataset ( paperid, datasetid ) ...
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_tags_count ( course_id, clear_grading, pop_quiz, group_projects, inspirational, long_lectures, extra_credit, few_tests,...
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 month ( month_number, month_name ) CREATE TABLE code_description ( code, description ) CREATE TABLE clas...
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 ( fare_id, from_airport, to_airport, fare_basis_code, fare_airline, restriction_code, one_direction_cost, round_trip_cost, roun...
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 days ( days_code, day_name ) CREATE TABLE aircraft ( aircraft_code, aircraft_description, manufacturer, basic_type, engines, propulsion, wide_body, wing_span, length, weight, capac...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE author ( authorid, authorname ) CREATE TABLE paper ( paperid, title, venueid, year, numciting, numcitedby, journalid ) CREATE TABLE paperdataset ( paperid, datasetid ) CREATE TAB...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE fare_basis ( fare_basis_code, booking_class, class_type, premium, economy, discounted, night, season, basis_days ) CREATE TABLE airline ( airline_code, airline_name, note ) CREATE...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE flight ( aircraft_code_sequence, airline_code, airline_flight, arrival_time, connections, departure_time, dual_carrier, flight_days, flight_id, flight_number, from_airport, meal_cod...
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 food_service ( meal_code, meal_number, compartment, meal_description ) CREATE TABLE flig...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE tv_series ( sid, title, release_year, num_of_seasons, num_of_episodes, title_aka, budget ) CREATE TABLE copyright ( id, msid, cid ) CREATE TABLE tags ( id, msid, kid ) CREATE TAB...
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 days ( days_code,...
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 field ( fieldid ) CREATE TABLE writes ( paperid, authorid ) CREATE TABLE paper ( paperid, title, venueid, year, numciting, numcit...
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 days ( days_code, day_name ) CREATE TABLE food_service ( meal_code, meal_number, compartment, meal_description ) CREAT...
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 instructor ( instructor_id, name, uniqname ) CREATE...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE paperfield ( fieldid, paperid ) CREATE TABLE writes ( paperid, authorid ) CREATE TABLE field ( fieldid ) CREATE TABLE paperdataset ( paperid, datasetid ) CREATE TABLE paper ( pa...
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 course_prerequisite ( pre_course_id, course_id ) CREATE TABLE student_record ( student_id, course_id, semester, grade, how, transfer_source, earn_credit, repeat_term, test_id ) CR...
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 jobs ( job_id, job_title, description, requirement, city, state, country, zip ) CREATE TABLE student ( st...
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 city ( city_code, city_name, state_code, country_name, time_zone_code ) CREATE TABLE days ( days_code, day_name ) CREATE TABLE fli...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE directed_by ( id, msid, did ) CREATE TABLE director ( did, gender, name, nationality, birth_city, birth_year ) CREATE TABLE company ( id, name, country_code ) CREATE TABLE keywor...
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 jobs ( job_id, job_title, description, requirement, city, state, country, zip ) CREATE TABLE ...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE field ( fieldid ) CREATE TABLE author ( authorid, authorname ) CREATE TABLE keyphrase ( keyphraseid, keyphrasename ) CREATE TABLE paperkeyphrase ( paperid, keyphraseid ) CREATE ...
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 city ( city_code, city_name, state_code, country_name, time_zone_code ...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE geographic ( city_name, county, region ) CREATE TABLE restaurant ( id, name, food_type, city_name, rating ) CREATE TABLE location ( restaurant_id, house_number, street_name, city_...
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 equipment_sequence ( aircraft_code_sequence, aircraft_code ) CREATE TABLE state ( state_code, state_name, country_name ) CREAT...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE date_day ( month_number, day_number, year, day_name ) CREATE TABLE days ( days_code, day_name ) CREATE TABLE food_service ( meal_code, meal_number, compartment, meal_description )...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE flight ( aircraft_code_sequence, airline_code, airline_flight, arrival_time, connections, departure_time, dual_carrier, flight_days, flight_id, flight_number, from_airport, meal_cod...
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_prerequisite ( pre_course_id, course_id ) CREATE TABLE program ( program_id, name, college, introduction ) CREATE TAB...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE geographic ( city_name, county, region ) CREATE TABLE location ( restaurant_id, house_number, street_name, city_name ) CREATE TABLE restaurant ( id, name, food_type, city_name, ra...
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 student_record ( student_id, course_id, semester, grade, how, transfer_source, earn_credit, re...
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 equipment_sequence ( aircraft_code_sequence, aircraft_code ) CREATE T...
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 airport_service ( city_code, airport_code, miles_distant, direction, minutes_distant ) CREATE TABLE dual_carrier ( main_airline, low_flig...
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 flight_leg ( flight_id, leg_number, leg_flight ) CREATE TABLE time_interval ( period, begin_time, end_time ) CREATE TABLE stat...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE venue ( venueid, venuename ) CREATE TABLE dataset ( datasetid, datasetname ) CREATE TABLE writes ( paperid, authorid ) CREATE TABLE keyphrase ( keyphraseid, keyphrasename ) CREA...
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 gsi ( course_offering_id, student_id ) CREATE TABLE course ( course_id, name, department, number, credits, advisory_requi...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE student ( student_id, lastname, firstname, program_id, declare_major, total_credit, total_gpa, entered_as, admit_term, predicted_graduation_semester, degree, minor, internship ) CR...
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 airport_service ( city_code, airport_code, miles_distant, direction, minutes_distant ) CREATE TABLE restriction ( restriction_code, advan...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE restaurant ( id, name, food_type, city_name, rating ) CREATE TABLE geographic ( city_name, county, region ) CREATE TABLE location ( restaurant_id, house_number, street_name, city_...
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 dual_carrier ( main_airline, low_flight_numbe...
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 code_description ( code, description ) CREATE TABLE time_interval ( period, begin_time, end_time ) CREATE TABLE restriction ( restriction_code, advance_purchase, stopovers, saturd...
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 time_interval ( period, begin_time,...
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 jobs ( job_id, job_title, description, requirement, city, state, country, zip ) CREATE TABLE course ( course_id, name, depart...
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 program_course ( program_id, course_id, workload, ca...
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 class_of_service ( booking_class, rank, class_description ) CREATE TABLE restriction ( restric...
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 ( aircraft_code_sequence, airline_code, airline_flight, arrival_time, connections, departure_time, dual_carrier, ...
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 course_offering ( offering_id, course_id, semester, section_number, start_time, end_time, monday,...
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 month ( month_number, mont...
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 state ( state_name, capital, population, area, country_name, density ) CREATE TABLE mountain ( mountain_name, mountain_altitude, state_name, country_name ) CREATE TABLE river ( ri...
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 time_interval ( period, begin_time, end_time ) CREATE TABLE dual_carrier ( main_airline, low_fl...
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 time_zone ( time_zone_code, time_zone_name, hours_from_gmt ) CREATE TABLE fligh...
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 date_day ( month_number, day_number, year, day_name ) 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 fare_basis ( fare_basis_code, booking_class, class_type, premium, economy, discounted, night, season, basis_days ) CREATE TABLE city ( city_code, city_name, state_code, country_nam...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE fare_basis ( fare_basis_code, booking_class, class_type, premium, economy, discounted, night, season, basis_days ) CREATE TABLE airport_service ( city_code, airport_code, miles_dis...
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 compartment_class ( compartment, class_type ) CREATE TABLE flight ( aircraft_code_sequence, airline_code, airline_flight, arriv...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE category ( id, business_id, category_name ) CREATE TABLE tip ( tip_id, business_id, text, user_id, likes, year, month ) CREATE TABLE neighborhood ( id, business_id, neighborhood_n...
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 month ( month_number, month_name ) 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 tv_series ( sid, title, release_year, num_of_seasons, num_of_episodes, title_aka, budget ) CREATE TABLE cast ( id, msid, aid, role ) CREATE TABLE genre ( gid, genre ) CREATE TABL...
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 time_zone ( time_zone_code, time_zone_name, hours_from_gmt ) CREATE TABLE flight_fare ( flight_id, fare_id ) CREATE TABLE food_service ( meal_code, meal_number, compartment, meal_...
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 time_interval ( period, begin_time, end_time ) CREATE TABLE dual_carrier ( main_airline, low_flight_numbe...
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 dual_carrier ( main_airline, low_flight_number, high_flight_number, dual_airline...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE ta ( campus_job_id, student_id, location ) CREATE TABLE gsi ( course_offering_id, student_id ) CREATE TABLE course_offering ( offering_id, course_id, semester, section_number, sta...
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 restriction ( restriction_code, advance_purchase, stopovers, saturday_stay_required, minimum_stay, maximum_stay, applica...
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 code_description ( code, description ) CREATE TABLE fare_basis ( fare_basis_code, booking_clas...
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 flight_fare ( flight_id, fare_id ) CREATE TABLE compartment_class ( compartment, class_type ) ...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE student ( student_id, lastname, firstname, program_id, declare_major, total_credit, total_gpa, entered_as, admit_term, predicted_graduation_semester, degree, minor, internship ) CR...
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 semester ( semester_id, semester, year ) CREATE TABLE offering_instructor ( offering_instructor_id, offering_id, instructor_id ) CREATE TABLE area ( course_id, area ) CREATE TABL...
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 ( course_id, name, department, number, credits, advisory_requirement, enforced_requir...
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 time_interval ( period, begin_time, end_time ) CREATE TABLE restriction ( restriction_code, advance_purchase, stopovers, saturday_stay_required, minimum_stay, maximum_stay, applica...
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 airport ( airport_code, airport_name, airport_l...
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 compartment_class ( compartment, class_type ) CREATE TABLE dual_carrier ( main_airline, low_flight_number, high_flight_...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE fare_basis ( fare_basis_code, booking_class, class_type, premium, economy, discounted, night, season, basis_days ) CREATE TABLE food_service ( meal_code, meal_number, compartment, ...
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 month ( month_number, month_name ) CREATE TABLE aircraft ( aircraft_code, aircraft_description, manufacturer, basic_type,...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE writer ( wid, gender, name, nationality, birth_city, birth_year ) CREATE TABLE actor ( aid, gender, name, nationality, birth_city, birth_year ) CREATE TABLE tags ( id, msid, kid )...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE review ( rid, business_id, user_id, rating, text, year, month ) CREATE TABLE business ( bid, business_id, name, full_address, city, latitude, longitude, review_count, is_open, rati...
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 food_service ( meal_code, meal_number, compartment, meal_description ) CREATE TABLE city ( city_code, cit...
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 program_course ( program_id, course_id, workload, category ) CREATE TABLE student ( student...