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 dual_carrier ( main_airline, low_flight_number, high_flight_number, dual_airline, service_name ) CREATE TABLE date_day ( month_number, day_number, year, day_name ) CREATE TABLE re...
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 state ( state_code, state_name, country_name ) CREATE TABLE airline ( airline_code, airline_name, note ) CREATE TABLE compartm...
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 ( aircraft_code_sequ...
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 state ( state_code, state_name, country_name ) CREATE TABLE month ( month_number, month_name ) CREATE TA...
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 field ( fieldid ) CREATE TABLE cite ( citingpaperid, citedpaperid ) 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 compartment_class ( compartment, class_type ) CREATE TABLE flight ( aircraft_code_sequence, airline_code, airline_flight, arrival_time, connections, departure_time, dual_carrier, f...
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 airport ( airport_code, airport_name, airport_location, 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 date_day ( month_number, day_number, year, day_name ) CREATE TABLE airline ( airline_code, airline_name, note ) CREATE TABLE restriction ( restriction_code, advance_purchase, stop...
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 domain_journal ( did, jid ) CREATE TABLE journal ( homepage, jid, name ) CREATE TABLE domain_publication ( did, pid ) CREATE TABLE publication_keyword ( kid, pid ) CREATE TABLE ...
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 flight_leg ( flight_id, leg_number, leg_flight ) CREATE TABLE class_of_service ( booking_class, rank, class_description ) CREATE TABLE days ( days_code, day_name ) CREATE TABLE e...
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 cite ( citingpaperid, citedpaperid ) CREATE TABLE field ( fieldid ) CREATE TABLE keyphrase ( keyphraseid, keyphrasename ) CREATE TABLE ...
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 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 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 writes ( aid, pid ) CREATE TABLE author ( aid, homepage, name, oid ) CREATE TABLE publication_keyword ( kid, pid ) CREATE TABLE publication ( abstract, cid, citation_num, jid, pi...
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 airport_service ( city_code, airport_code, miles_distant, direction, minutes_distant ) CREATE TABLE class_of_service ( booking_class, rank, class_description ) CREATE TABLE code_d...
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 equipment_sequence ( aircraft_code_sequence, aircraft_code ) CREATE TABLE state ( state_code, state_name, country_name ) CREATE TABLE gr...
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 state ( state_code, state_name, country_name ) CREATE TABLE city ( ci...
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 fare_basis ( fare_basis_code, booking_class, class_type, premium, economy, discounted, night, season, basis_days ...
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 student ( student_id, lastname, firstname, program_id, declare_major, total_credit, total_gpa, entered_as, admit_term, predicted...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE lake ( lake_name, area, state_name, country_name ) CREATE TABLE state ( state_name, capital, population, area, country_name, density ) CREATE TABLE border_info ( state_name, borde...
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 time_interval ( period, begin_time, end_time ) CREATE TABLE aircraft ( aircraft_code, aircraft_description, manufacturer, basic_typ...
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_stop ( flight_id, stop_number, stop_days, stop_airport, arrival_time, arrival_airline, arrival_fligh...
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 airport_service ( city_cod...
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 ground_service ( city_code, airport_code, transport_type, ground_fare ...
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 publication ( abstract, cid, citation_num, jid, pid, reference_num, title, year ) CREATE TABLE domain_author ( aid, di...
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 paperfield ( fieldid, paperid ) CREATE TABLE venue ( venueid, venuename ) CREATE TABLE cite ( citingpaperid, citedpaperid ) CREATE T...
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 airport ( airport_code, airport_name, airport_location, state_code, country_name, time_zone_cod...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE lake ( lake_name, area, state_name, country_name ) CREATE TABLE mountain ( mountain_name, mountain_altitude, state_name, country_name ) CREATE TABLE border_info ( state_name, bord...
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 course_offering ( offering_id, course_id, semester, section_number, start_time, end_time, monday, tuesday, wednesda...
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 aircraft ( aircraft_code, aircraft_description...
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 course_prerequisite ( pre_course_id, course_id ) CREATE TABLE program ( program_id, name, college, introduction ) CREATE T...
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 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 jobs ( job_id, job_title, description, requirement, city, state, country, zip ) CREATE TABLE course ( course_id, name, department, number, credits, advisory_requirement, enforced_r...
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 date_day ( month_number, day_number, year, day_name ) CREATE TABLE class_of_service ( booking_class, rank, class_description ) CREATE TABLE equipment_sequence ( aircraft_code_sequ...
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 program_requirement ( program_id, category, min_credit, additional_req ) CREATE TABLE gsi ( course_offering_id, student_id ...
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 ground_service ( city_code, airport_code, transport_type, ground_fare ) CREATE TABLE flight ( aircraft_code_sequence, air...
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 gsi ( course_offering_id, student_id ) CREATE TABLE instructor ( instructor_id, name, uniqname ) CREATE TABLE co...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE road ( road_name, state_name ) CREATE TABLE border_info ( state_name, border ) CREATE TABLE river ( river_name, length, traverse, country_name ) CREATE TABLE lake ( lake_name, ar...
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 highlow ( state_name, highest_point, highest_elevation, lowest_point, lowest_elevation ) CREATE TABLE road ( road...
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_stop ( flight_id, stop_number, stop_days, stop_airport, arrival_time, arrival_airline, ar...
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 ta ( campus_job_id, student_id, location ) CREATE TABLE semester ( semester_id, semest...
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 ground_service ( city_code, airport_code, transport_type, ground_fare ) CREATE TABLE fare_basis ( fare_basis_code, bo...
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 month ( month_number, month_name ) CREATE TAB...
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 state ( state_code, state_name, country_name ) CREATE TABLE equipment_sequence ( aircraft_code_sequence, aircraft_code ) 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 restaurant ( id, name, food_type, city_name, rating ) CREATE TABLE location ( restaurant_id, house_number, street_name, city_name ) CREATE TABLE geographic ( city_name, county, re...
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 student ( student_id, lastname, firstname, program_id, declare_major, total_credit, total_gpa, en...
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 area ( course_id, area ) CREATE TABLE gsi ( course_offering_id, student_id ) CREATE TABLE course_offering ( offering_id, c...
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 city ( city_code,...
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 instructor ( instructor_id, name, uniqname ) CREATE TABLE gsi ( course_offering_id, student_id ) CREATE TABLE stu...
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 city ( city_code, city_name, state_code, country_name, 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 lake ( lake_name, area, state_name, country_name ) CREATE TABLE highlow ( state_name, highest_point, highest_elev...
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 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 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 airline ( airline...
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 gsi ( course_offering_id, student_id ) CREATE TABLE comment_instructor ( instructor_id, student_id, score, comment_text ) CREATE TABLE semester ( semester_id, semester, year ) CR...
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 course ( course_id, name, department, number, credits, advisory_requirement, enforced_requirement, description, num...
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 aircraft ( aircraft_code, aircraft_description, manufacturer, basic_type, engines, propulsion, wide_body, wing_span, lengt...
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 time_interval ( period, begin_time, end_time ) CREATE TABLE ground_service ( city_code, airport_code, transport_type, ground_fare )...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE field ( fieldid ) CREATE TABLE paperdataset ( paperid, datasetid ) CREATE TABLE journal ( journalid, journalname ) CREATE TABLE paperkeyphrase ( paperid, keyphraseid ) CREATE TA...
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 fare ( fare_id, from_airport, to_airport, fare_basis...
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 state ( state_name, capital, population, area, country_name, dens...
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 airport_service ( city_code, airport_code, miles_distant, direction, m...
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_fare ( flight_id, fare_id ) CREATE TABLE food_service ( meal_code, meal_number, compart...
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 gsi ( course_offering_id, student_id ) CREATE TABLE requirement ( requirement_id, requirement, college ) CREATE TABLE commen...
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 cit...
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_fare ( flight_id, fare_id ) CREATE TABLE airline ( airline_code, airline_name, note ) CREATE TABLE...
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 program_requirement ( program_id, ...
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 road ( road_name, state_name ) CREATE TABLE state ( state_na...
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 class_of_service ( booking_class, rank, class_description ) CREATE TABLE time_zone ( time_zone_code, time_zone_name, hours_from_gmt ) CREATE TABLE code_description ( code, descrip...
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 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 time_interval ( period, begin_time, end_time ) CREATE TABLE days ( days_code, day_name ) CREATE TABLE fare_basis ( fare_basis_code, booking_class, class_type, premium, economy, di...
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 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 location ( restaurant_id, house_number, street_name, city_name ) CREATE TABLE restaurant ( id, name, food_type, city_name, rating ) CREATE TABLE geographic ( city_name, county, re...
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 area ( course_id, area ) CREATE TABLE student ( student_id, lastname, firstname, program_id, dec...
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 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 time_zone ( time_zone_code, time_zone_name, hours_from_gmt ) CREATE TABLE city ( city_code, city_name, state_code, country_name, time_zone_code ) CREATE TABLE days ( days_code, da...
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 airport_service ( city_code, airport_code, mil...
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 flight ( aircraft_code_sequence, airline_code, airline_flight, arrival_time, connections, departure_time, dual_carrier, fl...
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 days ( days_code, day_name ) CREATE TABLE class_of_service ( booking_...
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 lake ( lake_name, area, state_name, country_name ) CREATE TABLE road ( road_name, state_name ) CREATE TABLE city...
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 date_day ( month_number, day_number, year, day...
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 student ( student_id, lastname, firstname, program_id, declare_major, total_credit, total_gpa, entered_as, admit_term, predicted_graduation_se...
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 ground_service ( city_code, airport_code, transport_type, ground_fare ) 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 tip ( tip_id, business_id, text, user_id, likes, year, month ) CREATE TABLE business ( bid, business_id, name, full_address, city, latitude, longitude, review_count, is_open, ratin...
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 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 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 checkin ( cid, business_id, count, day ) CREATE TABLE neighborhood ( id, business_id, neighborhood_name ) CREATE TABLE business ( bid, business_id, name, full_address, city, latit...
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 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_fare ( flight_id, fare_id ) CREATE TABLE dual_carrier ( main_airline, low_flight_number, high_flight_number, dual_airline, service_name ) CREATE TABLE flight_leg ( flight_i...
Below is an instruction that describes a task. Write a MySQL query that appropriately completes the request. ### Instruction: CREATE TABLE road ( road_name, state_name ) CREATE TABLE state ( state_name, capital, population, area, country_name, density ) CREATE TABLE city ( city_name, state_name, population, country_n...