db_name stringclasses 146
values | prompt stringlengths 310 4.81k |
|---|---|
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... |
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... |
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... |
customer_complaints | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Staff ( staff_id, gender, first_name, last_name, email_address, phone_number )
# Customers ( customer_id, customer_type_code, address_line_1, address_line_2, town_city, state, email_address, phone_number )
# Prod... |
customer_complaints | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Staff ( staff_id, gender, first_name, last_name, email_address, phone_number )
# Customers ( customer_id, customer_type_code, address_line_1, address_line_2, town_city, state, email_address, phone_number )
# Prod... |
customer_complaints | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Staff ( staff_id, gender, first_name, last_name, email_address, phone_number )
# Customers ( customer_id, customer_type_code, address_line_1, address_line_2, town_city, state, email_address, phone_number )
# Prod... |
customer_complaints | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Staff ( staff_id, gender, first_name, last_name, email_address, phone_number )
# Customers ( customer_id, customer_type_code, address_line_1, address_line_2, town_city, state, email_address, phone_number )
# Prod... |
customer_complaints | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Staff ( staff_id, gender, first_name, last_name, email_address, phone_number )
# Customers ( customer_id, customer_type_code, address_line_1, address_line_2, town_city, state, email_address, phone_number )
# Prod... |
customer_complaints | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Staff ( staff_id, gender, first_name, last_name, email_address, phone_number )
# Customers ( customer_id, customer_type_code, address_line_1, address_line_2, town_city, state, email_address, phone_number )
# Prod... |
customer_complaints | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Staff ( staff_id, gender, first_name, last_name, email_address, phone_number )
# Customers ( customer_id, customer_type_code, address_line_1, address_line_2, town_city, state, email_address, phone_number )
# Prod... |
customer_complaints | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Staff ( staff_id, gender, first_name, last_name, email_address, phone_number )
# Customers ( customer_id, customer_type_code, address_line_1, address_line_2, town_city, state, email_address, phone_number )
# Prod... |
customer_complaints | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Staff ( staff_id, gender, first_name, last_name, email_address, phone_number )
# Customers ( customer_id, customer_type_code, address_line_1, address_line_2, town_city, state, email_address, phone_number )
# Prod... |
customer_complaints | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Staff ( staff_id, gender, first_name, last_name, email_address, phone_number )
# Customers ( customer_id, customer_type_code, address_line_1, address_line_2, town_city, state, email_address, phone_number )
# Prod... |
customer_complaints | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Staff ( staff_id, gender, first_name, last_name, email_address, phone_number )
# Customers ( customer_id, customer_type_code, address_line_1, address_line_2, town_city, state, email_address, phone_number )
# Prod... |
customer_complaints | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Staff ( staff_id, gender, first_name, last_name, email_address, phone_number )
# Customers ( customer_id, customer_type_code, address_line_1, address_line_2, town_city, state, email_address, phone_number )
# Prod... |
customer_complaints | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Staff ( staff_id, gender, first_name, last_name, email_address, phone_number )
# Customers ( customer_id, customer_type_code, address_line_1, address_line_2, town_city, state, email_address, phone_number )
# Prod... |
customer_complaints | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Staff ( staff_id, gender, first_name, last_name, email_address, phone_number )
# Customers ( customer_id, customer_type_code, address_line_1, address_line_2, town_city, state, email_address, phone_number )
# Prod... |
customer_complaints | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Staff ( staff_id, gender, first_name, last_name, email_address, phone_number )
# Customers ( customer_id, customer_type_code, address_line_1, address_line_2, town_city, state, email_address, phone_number )
# Prod... |
customer_complaints | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Staff ( staff_id, gender, first_name, last_name, email_address, phone_number )
# Customers ( customer_id, customer_type_code, address_line_1, address_line_2, town_city, state, email_address, phone_number )
# Prod... |
customer_complaints | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Staff ( staff_id, gender, first_name, last_name, email_address, phone_number )
# Customers ( customer_id, customer_type_code, address_line_1, address_line_2, town_city, state, email_address, phone_number )
# Prod... |
customer_complaints | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Staff ( staff_id, gender, first_name, last_name, email_address, phone_number )
# Customers ( customer_id, customer_type_code, address_line_1, address_line_2, town_city, state, email_address, phone_number )
# Prod... |
customer_complaints | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Staff ( staff_id, gender, first_name, last_name, email_address, phone_number )
# Customers ( customer_id, customer_type_code, address_line_1, address_line_2, town_city, state, email_address, phone_number )
# Prod... |
customer_complaints | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Staff ( staff_id, gender, first_name, last_name, email_address, phone_number )
# Customers ( customer_id, customer_type_code, address_line_1, address_line_2, town_city, state, email_address, phone_number )
# Prod... |
customer_complaints | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Staff ( staff_id, gender, first_name, last_name, email_address, phone_number )
# Customers ( customer_id, customer_type_code, address_line_1, address_line_2, town_city, state, email_address, phone_number )
# Prod... |
customer_complaints | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Staff ( staff_id, gender, first_name, last_name, email_address, phone_number )
# Customers ( customer_id, customer_type_code, address_line_1, address_line_2, town_city, state, email_address, phone_number )
# Prod... |
customer_complaints | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Staff ( staff_id, gender, first_name, last_name, email_address, phone_number )
# Customers ( customer_id, customer_type_code, address_line_1, address_line_2, town_city, state, email_address, phone_number )
# Prod... |
customer_complaints | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Staff ( staff_id, gender, first_name, last_name, email_address, phone_number )
# Customers ( customer_id, customer_type_code, address_line_1, address_line_2, town_city, state, email_address, phone_number )
# Prod... |
customer_complaints | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Staff ( staff_id, gender, first_name, last_name, email_address, phone_number )
# Customers ( customer_id, customer_type_code, address_line_1, address_line_2, town_city, state, email_address, phone_number )
# Prod... |
customer_complaints | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Staff ( staff_id, gender, first_name, last_name, email_address, phone_number )
# Customers ( customer_id, customer_type_code, address_line_1, address_line_2, town_city, state, email_address, phone_number )
# Prod... |
customer_complaints | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Staff ( staff_id, gender, first_name, last_name, email_address, phone_number )
# Customers ( customer_id, customer_type_code, address_line_1, address_line_2, town_city, state, email_address, phone_number )
# Prod... |
customer_complaints | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Staff ( staff_id, gender, first_name, last_name, email_address, phone_number )
# Customers ( customer_id, customer_type_code, address_line_1, address_line_2, town_city, state, email_address, phone_number )
# Prod... |
customer_complaints | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Staff ( staff_id, gender, first_name, last_name, email_address, phone_number )
# Customers ( customer_id, customer_type_code, address_line_1, address_line_2, town_city, state, email_address, phone_number )
# Prod... |
customer_complaints | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Staff ( staff_id, gender, first_name, last_name, email_address, phone_number )
# Customers ( customer_id, customer_type_code, address_line_1, address_line_2, town_city, state, email_address, phone_number )
# Prod... |
customer_complaints | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Staff ( staff_id, gender, first_name, last_name, email_address, phone_number )
# Customers ( customer_id, customer_type_code, address_line_1, address_line_2, town_city, state, email_address, phone_number )
# Prod... |
customer_complaints | ### Complete SQL query only and with no explanation
### SQL tables followed by foreign key information:
#
# Staff ( staff_id, gender, first_name, last_name, email_address, phone_number )
# Customers ( customer_id, customer_type_code, address_line_1, address_line_2, town_city, state, email_address, phone_number )
# Prod... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.