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 fare_basis ( fare_basis_code, booking_class, class_type, premium, economy, discounted, night, season, basis_days ) CREATE TABLE flight_fare ( flight_id, fare_id ) CREATE TABLE fli...
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 state ( state_code, state_name, country_name ) 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 cite ( citingpaperid, citedpaperid ) CREATE TABLE venue ( venueid, venuename ) CREATE TABLE writes ( paperid, authorid ) CREATE TABLE field ( fieldid ) CREATE TABLE keyphrase ( ...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE course ( course_id, name, department, number, credits, advisory_requirement, enforced_requirement, description, num_semesters, num_enrolled, has_discussion, has_lab, has_projects, h...
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 flight_fare ( flight_id, fare_id ) CREATE TABLE airport_service ( city_code, airport_code, miles_distant, direction, minutes_distant ) CREATE TABLE city ( city_code, city_name, st...
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 days ( days_code, day_name ) CREATE TABLE dual_carr...
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_requirement ( program_id, category, min_credit, additional_req ) CREATE TABLE program_course ( program_id...
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 compartment_class ( compartment, class_type ) CREATE TABLE flight_fare ( flight_id, fare_id ) CREATE TABLE code_descri...
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_offering ( offering_id, course_id, semester, section_number, start_time, end_time, monday, tuesday, wednesd...
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 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 flight_leg ( flight_id, leg_number, leg_flight ) CREATE TABLE month ( month_number, month_name ) CREATE TABLE dual_carrier ( main_airline, low_flight_number, high_flight_number, d...
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 gsi ( course_offering_id, student_id ) CREATE TABLE jobs ( job_id, job_title, description, re...
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 airline ( airline_code, airline_name, note ) CREATE TABLE days ( days_code, day_name ) CREATE...
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 time_interval ( period, begin_time, end_time ) CREATE TABLE equipment_sequence ( aircraft_code...
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 flight_fare ( flight_id, fare_id ) CREATE TABLE airport ( airport_code, airport_name, airport_location, state_code, country_name, t...
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 compartment_class ( compartment, class_type ) CREATE TABLE date_day ( month_number, day_number, year, day_name ) CREAT...
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 class_of_service ( booking_class, rank, class_description ) CREATE TABLE city ( city_code, city_name, state_code, count...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE field ( fieldid ) CREATE TABLE journal ( journalid, journalname ) CREATE TABLE dataset ( datasetid, datasetname ) CREATE TABLE writes ( paperid, authorid ) CREATE TABLE paper ( ...
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 dual_carrier ( main_airline, low_flight_number, high_flight_number, dual_airline, service_name ) CREATE TABLE days ( days_code, day...
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 flight_leg ( flig...
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_stop ( flight_id, stop_number, stop_days, stop_airport, arrival_time, arrival_airline, arrival_flig...
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 border_info ( state_name, border ) CREATE TABLE mountain ( mountain_name, mountain_altitude, state_name, coun...
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 domain_publication ( did, pid ) CREATE TABLE publication_keyword ( kid, pid ) CREATE TABLE writes ( aid, pid ) CREATE TABLE conference (...
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 class_of_service ( booking_class, ran...
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 dual_carrier ( ma...
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 time_zone ( time_zone_code, time_zone_name, hours_from_gmt ) CREATE TABLE flight_fare ( flight_id, fare_id ) CR...
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 date_day ( month_number, day_number, year, day_name ) CREATE TABLE aircraft ( aircraft_code, aircraft_description, manu...
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 aircraft ( aircraft_code, aircraft_description, manufacturer, basic_type, engines, propulsion, wide_body, wing_span, len...
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 paperkeyphrase ( paperid, keyphraseid ) CREATE TABLE field ( fieldid ) CREATE TABLE journa...
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_requirement ( program_id, category, min_credit, additional_req ) CREATE TABLE semes...
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 fare ( fare_id, from_airport, to_airport, fare_basis_code, fare_airline, restriction_code, one_direction_c...
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 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 comment_instructor ( instructor_id, student_id, score, comment_text ) CREATE TABLE course ( course_id, name, department, number, credits, advisory_requirement, enforced_requirement...
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 student ( student_id, lastname, firstname, program_id, declare_major, total_credit, total_gp...
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 restriction ( restriction_code, advance_purchase, st...
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 domain ( did, name ) CREATE TABLE organization ( continent, homepage, name, oid ) CREATE TABLE publication ( abstract, cid, citation_num, jid, pid, reference_num, title, year ) C...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE conference ( cid, homepage, name ) CREATE TABLE organization ( continent, homepage, name, oid ) CREATE TABLE publication_keyword ( kid, pid ) CREATE TABLE journal ( homepage, jid...
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 course_prerequisite ( pre_course_id, course_id ) CREATE TABLE program ( program_id, name, college, introd...
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 date_day ( month_number, day_number, year, day_name ) CREATE TABLE flight_leg ( flight_id, leg...
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 airport ( airport_code, airport_name, airport_location, state_code, country_name, time_zone_code, minimum_...
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 airport ( airport_code, airport_name, airport_location, state_code, country_name, time_zone_code, minimum_connect_time ) CREATE TABLE code_description ( code, description ) CREATE...
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_stop ( flight_id, stop_number, stop_days, stop_airport, arrival_time, arrival_airline, arrival_flight_number, depa...
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 ground_service ( city_code, airport_code, transport_...
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 course_tags_count ( course_id, clear_grading, pop_quiz, group_projects, inspirational, long_lectures, extra_credit, few_tests, good_feedback, ...
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 flight_stop ( flight_id, stop_number, ...
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 airline ( airline_code, airline_name, note ) CREATE TABLE month ( month_number, month_name ) CREATE TABLE restriction ...
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 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 ( airport_code, airport_name, airport_location, state_code, country_name, time_zone_code, minimum_connect_time ) CREATE TABLE fare_basis ( fare_basis_code, booking_class, c...
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 aircraft ( aircraft_code, aircraft_description, manufacturer, basic_type, engines, propulsion, wide_body, ...
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 days ( days_code, day_name ) CREATE TABLE dual_carrier ( main_airline, low_flight_number, high_flight_number, dual_ai...
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 course ( course_id, name, department, number, credits, advisory_requirement, enforced_requirement, descrip...
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 class_of_service ( booking_class, rank, class_description ) CREATE TABLE time_interval ( period, begin_time, end_time ) CREATE...
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 ground_service ( city_code, airport_code, transport_type, ground_fare ) CREATE TABLE flight_leg ( flight_...
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 gsi ( course_offering_id, student_id ) CREATE TABLE...
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 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 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 program_course ( program_id, course_id, workload, category ) CREATE TABLE student_record ( student_id, course_id, semester, grade, how, transfer_source, earn_credit, repeat_term, t...
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 ground_service ( city_code, airport_code, transport_type, ground_fare ) CREATE TABLE compartment_class ( compartment, class_type ) CREATE TABLE state ( state_code, state_name, cou...
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 state ( state_code, state_name, country_name ) CREATE TABLE restriction ( restr...
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 food_service ( meal_code, meal_number, compartment, meal_description ) CREATE TABLE days ( day...
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 month ( month_number, month_name ) CREATE TABLE dual_carrier ( main_airline, low_flight_number, high_flight_number, dua...
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_fare ( flight_id, fare_id ) CREATE TABLE date_day ( month_number, day_number, year, 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 ground_service ( city_code, airport_code, transport_type, ground_fare ) CREATE TABLE month ( month_number, month_name ) CREATE TABLE code_description ( code, description ) CREATE...
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 airport_service ( city_code, airport_code, miles_distant, direction, minutes_distant ) CREATE TABLE flight_leg ( flight_...
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 paperfield ( fieldid, paperid ) CREATE TABLE author ( authorid, authorname ) CREATE TABLE writes ( paperid, authorid ) CREATE TA...
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 month ( month_number, month_name ) CREATE TABLE code_description ( code, description ) CREATE TABLE flight_leg ( flight_id, leg_number, leg_flight ) CREATE TABLE compartment_clas...
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 state ( state_code, state_name, country_name ) CREATE TABLE airport ( 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 course_tags_count ( course_id,...
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 venue ( venueid, venuename ) CREATE TABLE dataset ( datasetid, datasetname ) CREATE TABLE paperkeyphrase ( paperid, keyphraseid ) CR...
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 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 days ( days_code, day_name ) CREATE TABLE code_description ( code, description ) CREATE TABLE class_of_service ( booking_class, rank, class_description ) CREATE TABLE equipment_s...
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 month ( month_number, month_name ) CREATE TABLE fli...
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 instructor ( instructor_id, name, uniqname ) CREATE TABLE course_prerequisite ( pre_co...
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 ground_service ( city_code, airport_code, transport_type, ground_fare ) CREATE TABLE month ( month_number, month_name ) CREATE...
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_prerequisite ( pre_course_id, course_id ) CREATE TABLE semester ( semester_id, semester, ...
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 date_day ( month_number, day_number, year, day_name ) CREATE TABLE class_of_service ( booking_class, rank, class_description ) CREATE TABLE fare_basis ( fare_basis_code, booking_c...
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 days ( days_code, day_name ) CREATE TABLE state ( state_code, state_name, count...
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 equipment_sequence ( aircraft_code_sequence, aircraft_code ) CREATE TABLE flight_fare ( flight_id, fare_id...
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 ( airport_code, airport_name, airport_location, state_code, country_name, time_zone_code, minimum_connect_time ) CREATE TABLE cod...
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 offering_instructor ( offering_instructor_id, offering_id, instructor_id ) CREATE TABLE gsi ( course_offering_id,...
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 airline ( airline_code, airline_name, note ) CREATE TABLE airport ( airport_code, airport_name, airport_location, state...
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 venue ( venueid, venuename ) CREATE TABLE writes ( paperid, authorid ) CREATE TABLE dataset ( datasetid, datasetname ) CREAT...
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 organization ( continent, homepage, name, oid ) CREATE TABLE author ( aid, homepage, name, oid ) CREATE TABLE journal ( homepage, jid, name ) CREATE TABLE cite ( cited, citing ) ...
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 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 class_of_service ( booking_class, rank, class_description ) CREATE TABLE days ( days_code, day_name ) CREATE TABLE compartment_class ( compartment, class_type ) CREATE TABLE flig...
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 domain_publication ( did, pid ) CREATE TABLE publication_keyword ( kid, pid ) CREATE TABLE organization ( continent, homepage, name, oid ) CREATE TABLE journal ( homepage, jid, n...
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, ...