db_name stringclasses 146
values | prompt stringlengths 310 4.81k |
|---|---|
products_gen_characteristics | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Ref_Characteristic_Types ( characteristic_type_code, characteristic_type_description )
# Ref_Colors ( color_code, color_description )
# Ref_Product_Categories ( product_category_code, product_category_description... |
products_gen_characteristics | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Ref_Characteristic_Types ( characteristic_type_code, characteristic_type_description )
# Ref_Colors ( color_code, color_description )
# Ref_Product_Categories ( product_category_code, product_category_description... |
swimming | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# swimmer ( ID, name, Nationality, meter_100, meter_200, meter_300, meter_400, meter_500, meter_600, meter_700, Time )
# stadium ( ID, name, Capacity, City, Country, Opening_year )
# event ( ID, Name, Stadium_ID, Y... |
swimming | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# swimmer ( ID, name, Nationality, meter_100, meter_200, meter_300, meter_400, meter_500, meter_600, meter_700, Time )
# stadium ( ID, name, Capacity, City, Country, Opening_year )
# event ( ID, Name, Stadium_ID, Y... |
swimming | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# swimmer ( ID, name, Nationality, meter_100, meter_200, meter_300, meter_400, meter_500, meter_600, meter_700, Time )
# stadium ( ID, name, Capacity, City, Country, Opening_year )
# event ( ID, Name, Stadium_ID, Y... |
swimming | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# swimmer ( ID, name, Nationality, meter_100, meter_200, meter_300, meter_400, meter_500, meter_600, meter_700, Time )
# stadium ( ID, name, Capacity, City, Country, Opening_year )
# event ( ID, Name, Stadium_ID, Y... |
swimming | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# swimmer ( ID, name, Nationality, meter_100, meter_200, meter_300, meter_400, meter_500, meter_600, meter_700, Time )
# stadium ( ID, name, Capacity, City, Country, Opening_year )
# event ( ID, Name, Stadium_ID, Y... |
swimming | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# swimmer ( ID, name, Nationality, meter_100, meter_200, meter_300, meter_400, meter_500, meter_600, meter_700, Time )
# stadium ( ID, name, Capacity, City, Country, Opening_year )
# event ( ID, Name, Stadium_ID, Y... |
swimming | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# swimmer ( ID, name, Nationality, meter_100, meter_200, meter_300, meter_400, meter_500, meter_600, meter_700, Time )
# stadium ( ID, name, Capacity, City, Country, Opening_year )
# event ( ID, Name, Stadium_ID, Y... |
swimming | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# swimmer ( ID, name, Nationality, meter_100, meter_200, meter_300, meter_400, meter_500, meter_600, meter_700, Time )
# stadium ( ID, name, Capacity, City, Country, Opening_year )
# event ( ID, Name, Stadium_ID, Y... |
swimming | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# swimmer ( ID, name, Nationality, meter_100, meter_200, meter_300, meter_400, meter_500, meter_600, meter_700, Time )
# stadium ( ID, name, Capacity, City, Country, Opening_year )
# event ( ID, Name, Stadium_ID, Y... |
swimming | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# swimmer ( ID, name, Nationality, meter_100, meter_200, meter_300, meter_400, meter_500, meter_600, meter_700, Time )
# stadium ( ID, name, Capacity, City, Country, Opening_year )
# event ( ID, Name, Stadium_ID, Y... |
swimming | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# swimmer ( ID, name, Nationality, meter_100, meter_200, meter_300, meter_400, meter_500, meter_600, meter_700, Time )
# stadium ( ID, name, Capacity, City, Country, Opening_year )
# event ( ID, Name, Stadium_ID, Y... |
swimming | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# swimmer ( ID, name, Nationality, meter_100, meter_200, meter_300, meter_400, meter_500, meter_600, meter_700, Time )
# stadium ( ID, name, Capacity, City, Country, Opening_year )
# event ( ID, Name, Stadium_ID, Y... |
swimming | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# swimmer ( ID, name, Nationality, meter_100, meter_200, meter_300, meter_400, meter_500, meter_600, meter_700, Time )
# stadium ( ID, name, Capacity, City, Country, Opening_year )
# event ( ID, Name, Stadium_ID, Y... |
swimming | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# swimmer ( ID, name, Nationality, meter_100, meter_200, meter_300, meter_400, meter_500, meter_600, meter_700, Time )
# stadium ( ID, name, Capacity, City, Country, Opening_year )
# event ( ID, Name, Stadium_ID, Y... |
swimming | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# swimmer ( ID, name, Nationality, meter_100, meter_200, meter_300, meter_400, meter_500, meter_600, meter_700, Time )
# stadium ( ID, name, Capacity, City, Country, Opening_year )
# event ( ID, Name, Stadium_ID, Y... |
swimming | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# swimmer ( ID, name, Nationality, meter_100, meter_200, meter_300, meter_400, meter_500, meter_600, meter_700, Time )
# stadium ( ID, name, Capacity, City, Country, Opening_year )
# event ( ID, Name, Stadium_ID, Y... |
swimming | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# swimmer ( ID, name, Nationality, meter_100, meter_200, meter_300, meter_400, meter_500, meter_600, meter_700, Time )
# stadium ( ID, name, Capacity, City, Country, Opening_year )
# event ( ID, Name, Stadium_ID, Y... |
swimming | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# swimmer ( ID, name, Nationality, meter_100, meter_200, meter_300, meter_400, meter_500, meter_600, meter_700, Time )
# stadium ( ID, name, Capacity, City, Country, Opening_year )
# event ( ID, Name, Stadium_ID, Y... |
swimming | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# swimmer ( ID, name, Nationality, meter_100, meter_200, meter_300, meter_400, meter_500, meter_600, meter_700, Time )
# stadium ( ID, name, Capacity, City, Country, Opening_year )
# event ( ID, Name, Stadium_ID, Y... |
swimming | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# swimmer ( ID, name, Nationality, meter_100, meter_200, meter_300, meter_400, meter_500, meter_600, meter_700, Time )
# stadium ( ID, name, Capacity, City, Country, Opening_year )
# event ( ID, Name, Stadium_ID, Y... |
swimming | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# swimmer ( ID, name, Nationality, meter_100, meter_200, meter_300, meter_400, meter_500, meter_600, meter_700, Time )
# stadium ( ID, name, Capacity, City, Country, Opening_year )
# event ( ID, Name, Stadium_ID, Y... |
swimming | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# swimmer ( ID, name, Nationality, meter_100, meter_200, meter_300, meter_400, meter_500, meter_600, meter_700, Time )
# stadium ( ID, name, Capacity, City, Country, Opening_year )
# event ( ID, Name, Stadium_ID, Y... |
swimming | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# swimmer ( ID, name, Nationality, meter_100, meter_200, meter_300, meter_400, meter_500, meter_600, meter_700, Time )
# stadium ( ID, name, Capacity, City, Country, Opening_year )
# event ( ID, Name, Stadium_ID, Y... |
swimming | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# swimmer ( ID, name, Nationality, meter_100, meter_200, meter_300, meter_400, meter_500, meter_600, meter_700, Time )
# stadium ( ID, name, Capacity, City, Country, Opening_year )
# event ( ID, Name, Stadium_ID, Y... |
swimming | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# swimmer ( ID, name, Nationality, meter_100, meter_200, meter_300, meter_400, meter_500, meter_600, meter_700, Time )
# stadium ( ID, name, Capacity, City, Country, Opening_year )
# event ( ID, Name, Stadium_ID, Y... |
swimming | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# swimmer ( ID, name, Nationality, meter_100, meter_200, meter_300, meter_400, meter_500, meter_600, meter_700, Time )
# stadium ( ID, name, Capacity, City, Country, Opening_year )
# event ( ID, Name, Stadium_ID, Y... |
swimming | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# swimmer ( ID, name, Nationality, meter_100, meter_200, meter_300, meter_400, meter_500, meter_600, meter_700, Time )
# stadium ( ID, name, Capacity, City, Country, Opening_year )
# event ( ID, Name, Stadium_ID, Y... |
swimming | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# swimmer ( ID, name, Nationality, meter_100, meter_200, meter_300, meter_400, meter_500, meter_600, meter_700, Time )
# stadium ( ID, name, Capacity, City, Country, Opening_year )
# event ( ID, Name, Stadium_ID, Y... |
swimming | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# swimmer ( ID, name, Nationality, meter_100, meter_200, meter_300, meter_400, meter_500, meter_600, meter_700, Time )
# stadium ( ID, name, Capacity, City, Country, Opening_year )
# event ( ID, Name, Stadium_ID, Y... |
swimming | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# swimmer ( ID, name, Nationality, meter_100, meter_200, meter_300, meter_400, meter_500, meter_600, meter_700, Time )
# stadium ( ID, name, Capacity, City, Country, Opening_year )
# event ( ID, Name, Stadium_ID, Y... |
railway | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# railway ( Railway_ID, Railway, Builder, Built, Wheels, Location, ObjectNumber )
# train ( Train_ID, Train_Num, Name, From, Arrival, Railway_ID )
# manager ( Manager_ID, Name, Country, Working_year_starts, Age, Le... |
railway | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# railway ( Railway_ID, Railway, Builder, Built, Wheels, Location, ObjectNumber )
# train ( Train_ID, Train_Num, Name, From, Arrival, Railway_ID )
# manager ( Manager_ID, Name, Country, Working_year_starts, Age, Le... |
railway | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# railway ( Railway_ID, Railway, Builder, Built, Wheels, Location, ObjectNumber )
# train ( Train_ID, Train_Num, Name, From, Arrival, Railway_ID )
# manager ( Manager_ID, Name, Country, Working_year_starts, Age, Le... |
railway | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# railway ( Railway_ID, Railway, Builder, Built, Wheels, Location, ObjectNumber )
# train ( Train_ID, Train_Num, Name, From, Arrival, Railway_ID )
# manager ( Manager_ID, Name, Country, Working_year_starts, Age, Le... |
railway | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# railway ( Railway_ID, Railway, Builder, Built, Wheels, Location, ObjectNumber )
# train ( Train_ID, Train_Num, Name, From, Arrival, Railway_ID )
# manager ( Manager_ID, Name, Country, Working_year_starts, Age, Le... |
railway | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# railway ( Railway_ID, Railway, Builder, Built, Wheels, Location, ObjectNumber )
# train ( Train_ID, Train_Num, Name, From, Arrival, Railway_ID )
# manager ( Manager_ID, Name, Country, Working_year_starts, Age, Le... |
railway | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# railway ( Railway_ID, Railway, Builder, Built, Wheels, Location, ObjectNumber )
# train ( Train_ID, Train_Num, Name, From, Arrival, Railway_ID )
# manager ( Manager_ID, Name, Country, Working_year_starts, Age, Le... |
railway | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# railway ( Railway_ID, Railway, Builder, Built, Wheels, Location, ObjectNumber )
# train ( Train_ID, Train_Num, Name, From, Arrival, Railway_ID )
# manager ( Manager_ID, Name, Country, Working_year_starts, Age, Le... |
railway | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# railway ( Railway_ID, Railway, Builder, Built, Wheels, Location, ObjectNumber )
# train ( Train_ID, Train_Num, Name, From, Arrival, Railway_ID )
# manager ( Manager_ID, Name, Country, Working_year_starts, Age, Le... |
railway | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# railway ( Railway_ID, Railway, Builder, Built, Wheels, Location, ObjectNumber )
# train ( Train_ID, Train_Num, Name, From, Arrival, Railway_ID )
# manager ( Manager_ID, Name, Country, Working_year_starts, Age, Le... |
railway | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# railway ( Railway_ID, Railway, Builder, Built, Wheels, Location, ObjectNumber )
# train ( Train_ID, Train_Num, Name, From, Arrival, Railway_ID )
# manager ( Manager_ID, Name, Country, Working_year_starts, Age, Le... |
railway | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# railway ( Railway_ID, Railway, Builder, Built, Wheels, Location, ObjectNumber )
# train ( Train_ID, Train_Num, Name, From, Arrival, Railway_ID )
# manager ( Manager_ID, Name, Country, Working_year_starts, Age, Le... |
railway | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# railway ( Railway_ID, Railway, Builder, Built, Wheels, Location, ObjectNumber )
# train ( Train_ID, Train_Num, Name, From, Arrival, Railway_ID )
# manager ( Manager_ID, Name, Country, Working_year_starts, Age, Le... |
railway | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# railway ( Railway_ID, Railway, Builder, Built, Wheels, Location, ObjectNumber )
# train ( Train_ID, Train_Num, Name, From, Arrival, Railway_ID )
# manager ( Manager_ID, Name, Country, Working_year_starts, Age, Le... |
railway | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# railway ( Railway_ID, Railway, Builder, Built, Wheels, Location, ObjectNumber )
# train ( Train_ID, Train_Num, Name, From, Arrival, Railway_ID )
# manager ( Manager_ID, Name, Country, Working_year_starts, Age, Le... |
railway | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# railway ( Railway_ID, Railway, Builder, Built, Wheels, Location, ObjectNumber )
# train ( Train_ID, Train_Num, Name, From, Arrival, Railway_ID )
# manager ( Manager_ID, Name, Country, Working_year_starts, Age, Le... |
railway | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# railway ( Railway_ID, Railway, Builder, Built, Wheels, Location, ObjectNumber )
# train ( Train_ID, Train_Num, Name, From, Arrival, Railway_ID )
# manager ( Manager_ID, Name, Country, Working_year_starts, Age, Le... |
railway | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# railway ( Railway_ID, Railway, Builder, Built, Wheels, Location, ObjectNumber )
# train ( Train_ID, Train_Num, Name, From, Arrival, Railway_ID )
# manager ( Manager_ID, Name, Country, Working_year_starts, Age, Le... |
railway | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# railway ( Railway_ID, Railway, Builder, Built, Wheels, Location, ObjectNumber )
# train ( Train_ID, Train_Num, Name, From, Arrival, Railway_ID )
# manager ( Manager_ID, Name, Country, Working_year_starts, Age, Le... |
railway | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# railway ( Railway_ID, Railway, Builder, Built, Wheels, Location, ObjectNumber )
# train ( Train_ID, Train_Num, Name, From, Arrival, Railway_ID )
# manager ( Manager_ID, Name, Country, Working_year_starts, Age, Le... |
railway | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# railway ( Railway_ID, Railway, Builder, Built, Wheels, Location, ObjectNumber )
# train ( Train_ID, Train_Num, Name, From, Arrival, Railway_ID )
# manager ( Manager_ID, Name, Country, Working_year_starts, Age, Le... |
customers_and_products_contacts | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Addresses ( address_id, line_1_number_building, city, zip_postcode, state_province_county, country )
# Products ( product_id, product_type_code, product_name, product_price )
# Customers ( customer_id, payment_me... |
customers_and_products_contacts | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Addresses ( address_id, line_1_number_building, city, zip_postcode, state_province_county, country )
# Products ( product_id, product_type_code, product_name, product_price )
# Customers ( customer_id, payment_me... |
customers_and_products_contacts | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Addresses ( address_id, line_1_number_building, city, zip_postcode, state_province_county, country )
# Products ( product_id, product_type_code, product_name, product_price )
# Customers ( customer_id, payment_me... |
customers_and_products_contacts | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Addresses ( address_id, line_1_number_building, city, zip_postcode, state_province_county, country )
# Products ( product_id, product_type_code, product_name, product_price )
# Customers ( customer_id, payment_me... |
customers_and_products_contacts | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Addresses ( address_id, line_1_number_building, city, zip_postcode, state_province_county, country )
# Products ( product_id, product_type_code, product_name, product_price )
# Customers ( customer_id, payment_me... |
customers_and_products_contacts | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Addresses ( address_id, line_1_number_building, city, zip_postcode, state_province_county, country )
# Products ( product_id, product_type_code, product_name, product_price )
# Customers ( customer_id, payment_me... |
customers_and_products_contacts | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Addresses ( address_id, line_1_number_building, city, zip_postcode, state_province_county, country )
# Products ( product_id, product_type_code, product_name, product_price )
# Customers ( customer_id, payment_me... |
customers_and_products_contacts | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Addresses ( address_id, line_1_number_building, city, zip_postcode, state_province_county, country )
# Products ( product_id, product_type_code, product_name, product_price )
# Customers ( customer_id, payment_me... |
customers_and_products_contacts | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Addresses ( address_id, line_1_number_building, city, zip_postcode, state_province_county, country )
# Products ( product_id, product_type_code, product_name, product_price )
# Customers ( customer_id, payment_me... |
customers_and_products_contacts | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Addresses ( address_id, line_1_number_building, city, zip_postcode, state_province_county, country )
# Products ( product_id, product_type_code, product_name, product_price )
# Customers ( customer_id, payment_me... |
customers_and_products_contacts | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Addresses ( address_id, line_1_number_building, city, zip_postcode, state_province_county, country )
# Products ( product_id, product_type_code, product_name, product_price )
# Customers ( customer_id, payment_me... |
customers_and_products_contacts | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Addresses ( address_id, line_1_number_building, city, zip_postcode, state_province_county, country )
# Products ( product_id, product_type_code, product_name, product_price )
# Customers ( customer_id, payment_me... |
customers_and_products_contacts | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Addresses ( address_id, line_1_number_building, city, zip_postcode, state_province_county, country )
# Products ( product_id, product_type_code, product_name, product_price )
# Customers ( customer_id, payment_me... |
customers_and_products_contacts | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Addresses ( address_id, line_1_number_building, city, zip_postcode, state_province_county, country )
# Products ( product_id, product_type_code, product_name, product_price )
# Customers ( customer_id, payment_me... |
customers_and_products_contacts | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Addresses ( address_id, line_1_number_building, city, zip_postcode, state_province_county, country )
# Products ( product_id, product_type_code, product_name, product_price )
# Customers ( customer_id, payment_me... |
dorm_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Student ( StuID, LName, Fname, Age, Sex, Major, Advisor, city_code )
# Dorm ( dormid, dorm_name, student_capacity, gender )
# Dorm_amenity ( amenid, amenity_name )
# Has_amenity ( dormid, amenid )
# Lives_in ( st... |
dorm_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Student ( StuID, LName, Fname, Age, Sex, Major, Advisor, city_code )
# Dorm ( dormid, dorm_name, student_capacity, gender )
# Dorm_amenity ( amenid, amenity_name )
# Has_amenity ( dormid, amenid )
# Lives_in ( st... |
dorm_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Student ( StuID, LName, Fname, Age, Sex, Major, Advisor, city_code )
# Dorm ( dormid, dorm_name, student_capacity, gender )
# Dorm_amenity ( amenid, amenity_name )
# Has_amenity ( dormid, amenid )
# Lives_in ( st... |
dorm_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Student ( StuID, LName, Fname, Age, Sex, Major, Advisor, city_code )
# Dorm ( dormid, dorm_name, student_capacity, gender )
# Dorm_amenity ( amenid, amenity_name )
# Has_amenity ( dormid, amenid )
# Lives_in ( st... |
dorm_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Student ( StuID, LName, Fname, Age, Sex, Major, Advisor, city_code )
# Dorm ( dormid, dorm_name, student_capacity, gender )
# Dorm_amenity ( amenid, amenity_name )
# Has_amenity ( dormid, amenid )
# Lives_in ( st... |
dorm_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Student ( StuID, LName, Fname, Age, Sex, Major, Advisor, city_code )
# Dorm ( dormid, dorm_name, student_capacity, gender )
# Dorm_amenity ( amenid, amenity_name )
# Has_amenity ( dormid, amenid )
# Lives_in ( st... |
dorm_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Student ( StuID, LName, Fname, Age, Sex, Major, Advisor, city_code )
# Dorm ( dormid, dorm_name, student_capacity, gender )
# Dorm_amenity ( amenid, amenity_name )
# Has_amenity ( dormid, amenid )
# Lives_in ( st... |
dorm_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Student ( StuID, LName, Fname, Age, Sex, Major, Advisor, city_code )
# Dorm ( dormid, dorm_name, student_capacity, gender )
# Dorm_amenity ( amenid, amenity_name )
# Has_amenity ( dormid, amenid )
# Lives_in ( st... |
dorm_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Student ( StuID, LName, Fname, Age, Sex, Major, Advisor, city_code )
# Dorm ( dormid, dorm_name, student_capacity, gender )
# Dorm_amenity ( amenid, amenity_name )
# Has_amenity ( dormid, amenid )
# Lives_in ( st... |
dorm_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Student ( StuID, LName, Fname, Age, Sex, Major, Advisor, city_code )
# Dorm ( dormid, dorm_name, student_capacity, gender )
# Dorm_amenity ( amenid, amenity_name )
# Has_amenity ( dormid, amenid )
# Lives_in ( st... |
dorm_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Student ( StuID, LName, Fname, Age, Sex, Major, Advisor, city_code )
# Dorm ( dormid, dorm_name, student_capacity, gender )
# Dorm_amenity ( amenid, amenity_name )
# Has_amenity ( dormid, amenid )
# Lives_in ( st... |
dorm_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Student ( StuID, LName, Fname, Age, Sex, Major, Advisor, city_code )
# Dorm ( dormid, dorm_name, student_capacity, gender )
# Dorm_amenity ( amenid, amenity_name )
# Has_amenity ( dormid, amenid )
# Lives_in ( st... |
dorm_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Student ( StuID, LName, Fname, Age, Sex, Major, Advisor, city_code )
# Dorm ( dormid, dorm_name, student_capacity, gender )
# Dorm_amenity ( amenid, amenity_name )
# Has_amenity ( dormid, amenid )
# Lives_in ( st... |
dorm_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Student ( StuID, LName, Fname, Age, Sex, Major, Advisor, city_code )
# Dorm ( dormid, dorm_name, student_capacity, gender )
# Dorm_amenity ( amenid, amenity_name )
# Has_amenity ( dormid, amenid )
# Lives_in ( st... |
dorm_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Student ( StuID, LName, Fname, Age, Sex, Major, Advisor, city_code )
# Dorm ( dormid, dorm_name, student_capacity, gender )
# Dorm_amenity ( amenid, amenity_name )
# Has_amenity ( dormid, amenid )
# Lives_in ( st... |
dorm_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Student ( StuID, LName, Fname, Age, Sex, Major, Advisor, city_code )
# Dorm ( dormid, dorm_name, student_capacity, gender )
# Dorm_amenity ( amenid, amenity_name )
# Has_amenity ( dormid, amenid )
# Lives_in ( st... |
dorm_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Student ( StuID, LName, Fname, Age, Sex, Major, Advisor, city_code )
# Dorm ( dormid, dorm_name, student_capacity, gender )
# Dorm_amenity ( amenid, amenity_name )
# Has_amenity ( dormid, amenid )
# Lives_in ( st... |
dorm_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Student ( StuID, LName, Fname, Age, Sex, Major, Advisor, city_code )
# Dorm ( dormid, dorm_name, student_capacity, gender )
# Dorm_amenity ( amenid, amenity_name )
# Has_amenity ( dormid, amenid )
# Lives_in ( st... |
dorm_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Student ( StuID, LName, Fname, Age, Sex, Major, Advisor, city_code )
# Dorm ( dormid, dorm_name, student_capacity, gender )
# Dorm_amenity ( amenid, amenity_name )
# Has_amenity ( dormid, amenid )
# Lives_in ( st... |
dorm_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Student ( StuID, LName, Fname, Age, Sex, Major, Advisor, city_code )
# Dorm ( dormid, dorm_name, student_capacity, gender )
# Dorm_amenity ( amenid, amenity_name )
# Has_amenity ( dormid, amenid )
# Lives_in ( st... |
dorm_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Student ( StuID, LName, Fname, Age, Sex, Major, Advisor, city_code )
# Dorm ( dormid, dorm_name, student_capacity, gender )
# Dorm_amenity ( amenid, amenity_name )
# Has_amenity ( dormid, amenid )
# Lives_in ( st... |
dorm_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Student ( StuID, LName, Fname, Age, Sex, Major, Advisor, city_code )
# Dorm ( dormid, dorm_name, student_capacity, gender )
# Dorm_amenity ( amenid, amenity_name )
# Has_amenity ( dormid, amenid )
# Lives_in ( st... |
dorm_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Student ( StuID, LName, Fname, Age, Sex, Major, Advisor, city_code )
# Dorm ( dormid, dorm_name, student_capacity, gender )
# Dorm_amenity ( amenid, amenity_name )
# Has_amenity ( dormid, amenid )
# Lives_in ( st... |
dorm_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Student ( StuID, LName, Fname, Age, Sex, Major, Advisor, city_code )
# Dorm ( dormid, dorm_name, student_capacity, gender )
# Dorm_amenity ( amenid, amenity_name )
# Has_amenity ( dormid, amenid )
# Lives_in ( st... |
dorm_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Student ( StuID, LName, Fname, Age, Sex, Major, Advisor, city_code )
# Dorm ( dormid, dorm_name, student_capacity, gender )
# Dorm_amenity ( amenid, amenity_name )
# Has_amenity ( dormid, amenid )
# Lives_in ( st... |
dorm_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Student ( StuID, LName, Fname, Age, Sex, Major, Advisor, city_code )
# Dorm ( dormid, dorm_name, student_capacity, gender )
# Dorm_amenity ( amenid, amenity_name )
# Has_amenity ( dormid, amenid )
# Lives_in ( st... |
dorm_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Student ( StuID, LName, Fname, Age, Sex, Major, Advisor, city_code )
# Dorm ( dormid, dorm_name, student_capacity, gender )
# Dorm_amenity ( amenid, amenity_name )
# Has_amenity ( dormid, amenid )
# Lives_in ( st... |
dorm_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Student ( StuID, LName, Fname, Age, Sex, Major, Advisor, city_code )
# Dorm ( dormid, dorm_name, student_capacity, gender )
# Dorm_amenity ( amenid, amenity_name )
# Has_amenity ( dormid, amenid )
# Lives_in ( st... |
dorm_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Student ( StuID, LName, Fname, Age, Sex, Major, Advisor, city_code )
# Dorm ( dormid, dorm_name, student_capacity, gender )
# Dorm_amenity ( amenid, amenity_name )
# Has_amenity ( dormid, amenid )
# Lives_in ( st... |
dorm_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Student ( StuID, LName, Fname, Age, Sex, Major, Advisor, city_code )
# Dorm ( dormid, dorm_name, student_capacity, gender )
# Dorm_amenity ( amenid, amenity_name )
# Has_amenity ( dormid, amenid )
# Lives_in ( st... |
dorm_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Student ( StuID, LName, Fname, Age, Sex, Major, Advisor, city_code )
# Dorm ( dormid, dorm_name, student_capacity, gender )
# Dorm_amenity ( amenid, amenity_name )
# Has_amenity ( dormid, amenid )
# Lives_in ( st... |
dorm_1 | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Student ( StuID, LName, Fname, Age, Sex, Major, Advisor, city_code )
# Dorm ( dormid, dorm_name, student_capacity, gender )
# Dorm_amenity ( amenid, amenity_name )
# Has_amenity ( dormid, amenid )
# Lives_in ( st... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.