db_id
stringlengths
3
31
Schema (values (type))
stringlengths
135
6.16k
Primary Keys
stringlengths
0
546
Foreign Keys
stringlengths
0
1.59k
network_1
Highschooler : ID (number) , name (text) , grade (number) | Friend : student_id (number) , friend_id (number) | Likes : student_id (number) , liked_id (number)
Highschooler : ID | Friend : student_id | Likes : student_id
Friend : friend_id equals Highschooler : ID | Friend : student_id equals Highschooler : ID | Likes : student_id equals Highschooler : ID | Likes : liked_id equals Highschooler : ID
poker_player
poker_player : Poker_Player_ID (number) , People_ID (number) , Final_Table_Made (number) , Best_Finish (number) , Money_Rank (number) , Earnings (number) | people : People_ID (number) , Nationality (text) , Name (text) , Birth_Date (text) , Height (number)
poker_player : Poker_Player_ID | people : People_ID
poker_player : People_ID equals people : People_ID
program_share
program : Program_ID (number) , Name (text) , Origin (text) , Launch (number) , Owner (text) | channel : Channel_ID (number) , Name (text) , Owner (text) , Share_in_percent (number) , Rating_in_percent (number) | broadcast : Channel_ID (number) , Program_ID (number) , Time_of_day (text) | broadcast_share : Channel_ID (...
program : Program_ID | channel : Channel_ID | broadcast : Channel_ID | broadcast_share : Channel_ID
broadcast : Program_ID equals program : Program_ID | broadcast : Channel_ID equals channel : Channel_ID | broadcast_share : Program_ID equals program : Program_ID | broadcast_share : Channel_ID equals channel : Channel_ID
aircraft
pilot : Pilot_Id (number) , Name (text) , Age (number) | aircraft : Aircraft_ID (number) , Aircraft (text) , Description (text) , Max_Gross_Weight (text) , Total_disk_area (text) , Max_disk_Loading (text) | match : Round (number) , Location (text) , Country (text) , Date (text) , Fastest_Qualifying (text) , Winning_Pil...
pilot : Pilot_Id | aircraft : Aircraft_ID | match : Round | airport : Airport_ID | airport_aircraft : Airport_ID
match : Winning_Pilot equals pilot : Pilot_Id | match : Winning_Aircraft equals aircraft : Aircraft_ID | airport_aircraft : Aircraft_ID equals aircraft : Aircraft_ID | airport_aircraft : Airport_ID equals airport : Airport_ID
restaurant_1
Student : StuID (number) , LName (text) , Fname (text) , Age (number) , Sex (text) , Major (number) , Advisor (number) , city_code (text) | Restaurant : ResID (number) , ResName (text) , Address (text) , Rating (number) | Type_Of_Restaurant : ResID (number) , ResTypeID (number) | Restaurant_Type : ResTypeID (number) , ...
Student : StuID | Restaurant : ResID | Restaurant_Type : ResTypeID
Type_Of_Restaurant : ResTypeID equals Restaurant_Type : ResTypeID | Type_Of_Restaurant : ResID equals Restaurant : ResID | Visits_Restaurant : ResID equals Restaurant : ResID | Visits_Restaurant : StuID equals Student : StuID
customers_and_invoices
Customers : customer_id (number) , customer_first_name (text) , customer_middle_initial (text) , customer_last_name (text) , gender (text) , email_address (text) , login_name (text) , login_password (text) , phone_number (text) , town_city (text) , state_county_province (text) , country (text) | Orders : order_id (numb...
Customers : customer_id | Orders : order_id | Invoices : invoice_number | Accounts : account_id | Product_Categories : production_type_code | Products : product_id | Order_Items : order_item_id
Orders : customer_id equals Customers : customer_id | Invoices : order_id equals Orders : order_id | Accounts : customer_id equals Customers : customer_id | Products : production_type_code equals Product_Categories : production_type_code | Financial_Transactions : account_id equals Accounts : account_id | Financial_Tra...
insurance_and_eClaims
Customers : Customer_ID (number) , Customer_Details (text) | Staff : Staff_ID (number) , Staff_Details (text) | Policies : Policy_ID (number) , Customer_ID (number) , Policy_Type_Code (text) , Start_Date (time) , End_Date (time) | Claim_Headers : Claim_Header_ID (number) , Claim_Status_Code (text) , Claim_Type_Code (te...
Customers : Customer_ID | Staff : Staff_ID | Policies : Policy_ID | Claim_Headers : Claim_Header_ID | Claims_Documents : Claim_ID | Claims_Processing_Stages : Claim_Stage_ID | Claims_Processing : Claim_Processing_ID
Policies : Customer_ID equals Customers : Customer_ID | Claim_Headers : Policy_ID equals Policies : Policy_ID | Claims_Documents : Created_by_Staff_ID equals Staff : Staff_ID | Claims_Documents : Claim_ID equals Claim_Headers : Claim_Header_ID | Claims_Processing : Staff_ID equals Staff : Staff_ID | Claims_Processing :...
college_1
CLASS : CLASS_CODE (text) , CRS_CODE (text) , CLASS_SECTION (text) , CLASS_TIME (text) , CLASS_ROOM (text) , PROF_NUM (number) | COURSE : CRS_CODE (text) , DEPT_CODE (text) , CRS_DESCRIPTION (text) , CRS_CREDIT (number) | DEPARTMENT : DEPT_CODE (text) , DEPT_NAME (text) , SCHOOL_CODE (text) , EMP_NUM (number) , DEPT_AD...
CLASS : CLASS_CODE | COURSE : CRS_CODE | DEPARTMENT : DEPT_CODE | EMPLOYEE : EMP_NUM | STUDENT : STU_NUM
CLASS : PROF_NUM equals EMPLOYEE : EMP_NUM | CLASS : CRS_CODE equals COURSE : CRS_CODE | COURSE : DEPT_CODE equals DEPARTMENT : DEPT_CODE | DEPARTMENT : EMP_NUM equals EMPLOYEE : EMP_NUM | ENROLL : STU_NUM equals STUDENT : STU_NUM | ENROLL : CLASS_CODE equals CLASS : CLASS_CODE | PROFESSOR : DEPT_CODE equals DEPARTMENT...
local_govt_mdm
Customer_Master_Index : master_customer_id (number) , cmi_details (text) | CMI_Cross_References : cmi_cross_ref_id (number) , master_customer_id (number) , source_system_code (text) | Council_Tax : council_tax_id (number) , cmi_cross_ref_id (number) | Business_Rates : business_rates_id (number) , cmi_cross_ref_id (numb...
Customer_Master_Index : master_customer_id | CMI_Cross_References : cmi_cross_ref_id | Council_Tax : council_tax_id | Business_Rates : business_rates_id | Benefits_Overpayments : council_tax_id | Parking_Fines : council_tax_id | Rent_Arrears : council_tax_id | Electoral_Register : electoral_register_id
CMI_Cross_References : master_customer_id equals Customer_Master_Index : master_customer_id | Council_Tax : cmi_cross_ref_id equals CMI_Cross_References : cmi_cross_ref_id | Business_Rates : cmi_cross_ref_id equals CMI_Cross_References : cmi_cross_ref_id | Benefits_Overpayments : cmi_cross_ref_id equals CMI_Cross_Refer...
book_2
publication : Publication_ID (number) , Book_ID (number) , Publisher (text) , Publication_Date (text) , Price (number) | book : Book_ID (number) , Title (text) , Issues (number) , Writer (text)
publication : Publication_ID | book : Book_ID
publication : Book_ID equals book : Book_ID
hr_1
regions : REGION_ID (number) , REGION_NAME (text) | countries : COUNTRY_ID (text) , COUNTRY_NAME (text) , REGION_ID (number) | departments : DEPARTMENT_ID (number) , DEPARTMENT_NAME (text) , MANAGER_ID (number) , LOCATION_ID (number) | jobs : JOB_ID (text) , JOB_TITLE (text) , MIN_SALARY (number) , MAX_SALARY (number) ...
regions : REGION_ID | countries : COUNTRY_ID | departments : DEPARTMENT_ID | jobs : JOB_ID | employees : EMPLOYEE_ID | job_history : EMPLOYEE_ID | locations : LOCATION_ID
countries : REGION_ID equals regions : REGION_ID | employees : JOB_ID equals jobs : JOB_ID | employees : DEPARTMENT_ID equals departments : DEPARTMENT_ID | job_history : JOB_ID equals jobs : JOB_ID | job_history : DEPARTMENT_ID equals departments : DEPARTMENT_ID | job_history : EMPLOYEE_ID equals employees : EMPLOYEE_I...
soccer_1
Player_Attributes : id (number) , player_fifa_api_id (number) , player_api_id (number) , date (text) , overall_rating (number) , potential (number) , preferred_foot (text) , attacking_work_rate (text) , defensive_work_rate (text) , crossing (number) , finishing (number) , heading_accuracy (number) , short_passing (numb...
Player_Attributes : id | Player : id | League : id | Country : id | Team : id | Team_Attributes : id
Player_Attributes : player_api_id equals Player : player_api_id | Player_Attributes : player_fifa_api_id equals Player : player_fifa_api_id | League : country_id equals Country : id | Team_Attributes : team_api_id equals Team : team_api_id | Team_Attributes : team_fifa_api_id equals Team : team_fifa_api_id
sakila_1
actor : actor_id (number) , first_name (text) , last_name (text) , last_update (time) | address : address_id (number) , address (text) , address2 (text) , district (text) , city_id (number) , postal_code (text) , phone (text) , last_update (time) | category : category_id (number) , name (text) , last_update (time) | ci...
actor : actor_id | address : address_id | category : category_id | city : city_id | country : country_id | customer : customer_id | film : film_id | film_actor : actor_id | film_category : film_id | film_text : film_id | inventory : inventory_id | language : language_id | payment : payment_id | rental : rental_id | sta...
address : city_id equals city : city_id | city : country_id equals country : country_id | customer : store_id equals store : store_id | customer : address_id equals address : address_id | film : original_language_id equals language : language_id | film : language_id equals language : language_id | film_actor : film_id ...
real_estate_properties
Ref_Feature_Types : feature_type_code (text) , feature_type_name (text) | Ref_Property_Types : property_type_code (text) , property_type_description (text) | Other_Available_Features : feature_id (number) , feature_type_code (text) , feature_name (text) , feature_description (text) | Properties : property_id (number) ,...
Ref_Feature_Types : feature_type_code | Ref_Property_Types : property_type_code | Other_Available_Features : feature_id | Properties : property_id
Other_Available_Features : feature_type_code equals Ref_Feature_Types : feature_type_code | Properties : property_type_code equals Ref_Property_Types : property_type_code | Other_Property_Features : property_id equals Properties : property_id | Other_Property_Features : feature_id equals Other_Available_Features : feat...
college_3
Student : StuID (number) , LName (text) , Fname (text) , Age (number) , Sex (text) , Major (number) , Advisor (number) , city_code (text) | Faculty : FacID (number) , Lname (text) , Fname (text) , Rank (text) , Sex (text) , Phone (number) , Room (text) , Building (text) | Department : DNO (number) , Division (text) , D...
Student : StuID | Faculty : FacID | Department : DNO | Course : CID | Gradeconversion : lettergrade
Member_of : DNO equals Department : DNO | Member_of : FacID equals Faculty : FacID | Course : DNO equals Department : DNO | Course : Instructor equals Faculty : FacID | Minor_in : DNO equals Department : DNO | Minor_in : StuID equals Student : StuID | Enrolled_in : Grade equals Gradeconversion : lettergrade | Enrolled_...
course_teach
course : Course_ID (number) , Staring_Date (text) , Course (text) | teacher : Teacher_ID (number) , Name (text) , Age (text) , Hometown (text) | course_arrange : Course_ID (number) , Teacher_ID (number) , Grade (number)
course : Course_ID | teacher : Teacher_ID | course_arrange : Course_ID
course_arrange : Teacher_ID equals teacher : Teacher_ID | course_arrange : Course_ID equals course : Course_ID
roller_coaster
roller_coaster : Roller_Coaster_ID (number) , Name (text) , Park (text) , Country_ID (number) , Length (number) , Height (number) , Speed (text) , Opened (text) , Status (text) | country : Country_ID (number) , Name (text) , Population (number) , Area (number) , Languages (text)
roller_coaster : Roller_Coaster_ID | country : Country_ID
roller_coaster : Country_ID equals country : Country_ID
customer_deliveries
Products : product_id (number) , product_name (text) , product_price (number) , product_description (text) | Addresses : address_id (number) , address_details (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | Customers : customer_id (number) , payment_method (text) , customer_...
Products : product_id | Addresses : address_id | Customers : customer_id | Regular_Orders : regular_order_id | Actual_Orders : actual_order_id | Delivery_Routes : route_id | Delivery_Route_Locations : location_code | Trucks : truck_id | Employees : employee_id
Regular_Orders : distributer_id equals Customers : customer_id | Regular_Order_Products : regular_order_id equals Regular_Orders : regular_order_id | Regular_Order_Products : product_id equals Products : product_id | Actual_Orders : regular_order_id equals Regular_Orders : regular_order_id | Actual_Order_Products : act...
game_injury
stadium : id (number) , name (text) , Home_Games (number) , Average_Attendance (number) , Total_Attendance (number) , Capacity_Percentage (number) | game : stadium_id (number) , id (number) , Season (number) , Date (text) , Home_team (text) , Away_team (text) , Score (text) , Competition (text) | injury_accident : game...
stadium : id | game : id | injury_accident : id
game : stadium_id equals stadium : id | injury_accident : game_id equals game : id
school_finance
School : School_id (text) , School_name (text) , Location (text) , Mascot (text) , Enrollment (number) , IHSAA_Class (text) , IHSAA_Football_Class (text) , County (text) | budget : School_id (number) , Year (number) , Budgeted (number) , total_budget_percent_budgeted (number) , Invested (number) , total_budget_percent_...
School : School_id | budget : School_id | endowment : endowment_id
budget : School_id equals School : School_id | endowment : School_id equals School : School_id
scholar
venue : venueId (number) , venueName (text) | author : authorId (number) , authorName (text) | dataset : datasetId (number) , datasetName (text) | journal : journalId (number) , journalName (text) | keyphrase : keyphraseId (number) , keyphraseName (text) | paper : paperId (number) , title (text) , venueId (number) , ye...
venue : venueId | author : authorId | dataset : datasetId | journal : journalId | keyphrase : keyphraseId | paper : paperId | cite : citingPaperId | paperDataset : datasetId | paperKeyphrase : keyphraseId | writes : paperId
paper : venueId equals venue : venueId | paper : journalId equals journal : journalId | cite : citingPaperId equals paper : paperId | cite : citedPaperId equals paper : paperId | paperKeyphrase : keyphraseId equals keyphrase : keyphraseId | paperKeyphrase : paperId equals paper : paperId | writes : authorId equals auth...
voter_1
AREA_CODE_STATE : area_code (number) , state (text) | CONTESTANTS : contestant_number (number) , contestant_name (text) | VOTES : vote_id (number) , phone_number (number) , state (text) , contestant_number (number) , created (time)
AREA_CODE_STATE : area_code | CONTESTANTS : contestant_number | VOTES : vote_id
VOTES : contestant_number equals CONTESTANTS : contestant_number | VOTES : state equals AREA_CODE_STATE : state
match_season
country : Country_id (number) , Country_name (text) , Capital (text) , Official_native_language (text) | team : Team_id (number) , Name (text) | match_season : Season (number) , Player (text) , Position (text) , Country (number) , Team (number) , Draft_Pick_Number (number) , Draft_Class (text) , College (text) | player...
country : Country_id | team : Team_id | match_season : Season | player : Player_ID
match_season : Team equals team : Team_id | match_season : Country equals country : Country_id | player : Team equals team : Team_id
small_bank_1
ACCOUNTS : custid (number) , name (text) | SAVINGS : custid (number) , balance (number) | CHECKING : custid (number) , balance (number)
ACCOUNTS : custid | SAVINGS : custid | CHECKING : custid
SAVINGS : custid equals ACCOUNTS : custid | CHECKING : custid equals ACCOUNTS : custid
wta_1
players : player_id (number) , first_name (text) , last_name (text) , hand (text) , birth_date (time) , country_code (text) | matches : best_of (number) , draw_size (number) , loser_age (number) , loser_entry (text) , loser_hand (text) , loser_ht (number) , loser_id (number) , loser_ioc (text) , loser_name (text) , los...
players : player_id
matches : winner_id equals players : player_id | matches : loser_id equals players : player_id | rankings : player_id equals players : player_id
yelp
business : bid (number) , business_id (text) , name (text) , full_address (text) , city (text) , latitude (text) , longitude (text) , review_count (number) , is_open (number) , rating (number) , state (text) | category : id (number) , business_id (text) , category_name (text) | user : uid (number) , user_id (text) , na...
business : bid | category : id | user : uid | checkin : cid | neighbourhood : id | review : rid | tip : tip_id
category : business_id equals business : business_id | checkin : business_id equals business : business_id | neighbourhood : business_id equals business : business_id | review : user_id equals user : user_id | review : business_id equals business : business_id | tip : user_id equals user : user_id | tip : business_id e...
student_1
list : LastName (text) , FirstName (text) , Grade (number) , Classroom (number) | teachers : LastName (text) , FirstName (text) , Classroom (number)
list : LastName | teachers : LastName
manufacturer
manufacturer : Manufacturer_ID (number) , Open_Year (number) , Name (text) , Num_of_Factories (number) , Num_of_Shops (number) | furniture : Furniture_ID (number) , Name (text) , Num_of_Component (number) , Market_Rate (number) | furniture_manufacte : Manufacturer_ID (number) , Furniture_ID (number) , Price_in_Dollar (...
manufacturer : Manufacturer_ID | furniture : Furniture_ID | furniture_manufacte : Manufacturer_ID
furniture_manufacte : Furniture_ID equals furniture : Furniture_ID | furniture_manufacte : Manufacturer_ID equals manufacturer : Manufacturer_ID
store_1
artists : id (number) , name (text) | sqlite_sequence : name (text) , seq (text) | albums : id (number) , title (text) , artist_id (number) | employees : id (number) , last_name (text) , first_name (text) , title (text) , reports_to (number) , birth_date (time) , hire_date (time) , address (text) , city (text) , state ...
artists : id | albums : id | employees : id | customers : id | genres : id | invoices : id | media_types : id | tracks : id | invoice_lines : id | playlists : id | playlist_tracks : playlist_id
albums : artist_id equals artists : id | employees : reports_to equals employees : id | customers : support_rep_id equals employees : id | invoices : customer_id equals customers : id | tracks : media_type_id equals media_types : id | tracks : genre_id equals genres : id | tracks : album_id equals albums : id | invoice...
train_station
station : Station_ID (number) , Name (text) , Annual_entry_exit (number) , Annual_interchanges (number) , Total_Passengers (number) , Location (text) , Main_Services (text) , Number_of_Platforms (number) | train : Train_ID (number) , Name (text) , Time (text) , Service (text) | train_station : Train_ID (number) , Stati...
station : Station_ID | train : Train_ID | train_station : Train_ID
train_station : Station_ID equals station : Station_ID | train_station : Train_ID equals train : Train_ID
document_management
Roles : role_code (text) , role_description (text) | Users : user_id (number) , role_code (text) , user_name (text) , user_login (text) , password (text) | Document_Structures : document_structure_code (text) , parent_document_structure_code (text) , document_structure_description (text) | Functional_Areas : functional...
Roles : role_code | Users : user_id | Document_Structures : document_structure_code | Functional_Areas : functional_area_code | Images : image_id | Documents : document_code | Document_Sections : section_id | Document_Sections_Images : section_id
Users : role_code equals Roles : role_code | Documents : document_structure_code equals Document_Structures : document_structure_code | Document_Functional_Areas : functional_area_code equals Functional_Areas : functional_area_code | Document_Functional_Areas : document_code equals Documents : document_code | Document_...
formula_1
circuits : circuitId (number) , circuitRef (text) , name (text) , location (text) , country (text) , lat (number) , lng (number) , alt (number) , url (text) | races : raceId (number) , year (number) , round (number) , circuitId (number) , name (text) , date (text) , time (text) , url (text) | drivers : driverId (number...
circuits : circuitId | races : raceId | drivers : driverId | status : statusId | seasons : year | constructors : constructorId | constructorStandings : constructorStandingsId | results : resultId | driverStandings : driverStandingsId | constructorResults : constructorResultsId | qualifying : qualifyId | pitStops : race...
races : circuitId equals circuits : circuitId | constructorStandings : raceId equals races : raceId | constructorStandings : constructorId equals constructors : constructorId | results : driverId equals drivers : driverId | results : raceId equals races : raceId | results : constructorId equals constructors : construct...
game_1
Student : StuID (number) , LName (text) , Fname (text) , Age (number) , Sex (text) , Major (number) , Advisor (number) , city_code (text) | Video_Games : GameID (number) , GName (text) , GType (text) | Plays_Games : StuID (number) , GameID (number) , Hours_Played (number) | SportsInfo : StuID (number) , SportName (text...
Student : StuID | Video_Games : GameID
Plays_Games : StuID equals Student : StuID | Plays_Games : GameID equals Video_Games : GameID | SportsInfo : StuID equals Student : StuID
loan_1
bank : branch_ID (number) , bname (text) , no_of_customers (number) , city (text) , state (text) | customer : cust_ID (text) , cust_name (text) , acc_type (text) , acc_bal (number) , no_of_loans (number) , credit_score (number) , branch_ID (number) , state (text) | loan : loan_ID (text) , loan_type (text) , cust_ID (te...
bank : branch_ID | customer : cust_ID | loan : loan_ID
customer : branch_ID equals bank : branch_ID | loan : branch_ID equals bank : branch_ID
bike_1
station : id (number) , name (text) , lat (number) , long (number) , dock_count (number) , city (text) , installation_date (text) | status : station_id (number) , bikes_available (number) , docks_available (number) , time (text) | trip : id (number) , duration (number) , start_date (text) , start_station_name (text) , ...
station : id | trip : id
status : station_id equals station : id
entrepreneur
entrepreneur : Entrepreneur_ID (number) , People_ID (number) , Company (text) , Money_Requested (number) , Investor (text) | people : People_ID (number) , Name (text) , Height (number) , Weight (number) , Date_of_Birth (text)
entrepreneur : Entrepreneur_ID | people : People_ID
entrepreneur : People_ID equals people : People_ID
orchestra
conductor : Conductor_ID (number) , Name (text) , Age (number) , Nationality (text) , Year_of_Work (number) | orchestra : Orchestra_ID (number) , Orchestra (text) , Conductor_ID (number) , Record_Company (text) , Year_of_Founded (number) , Major_Record_Format (text) | performance : Performance_ID (number) , Orchestra_I...
conductor : Conductor_ID | orchestra : Orchestra_ID | performance : Performance_ID
orchestra : Conductor_ID equals conductor : Conductor_ID | performance : Orchestra_ID equals orchestra : Orchestra_ID | show : Performance_ID equals performance : Performance_ID
cre_Drama_Workshop_Groups
Ref_Payment_Methods : payment_method_code (text) , payment_method_description (text) | Ref_Service_Types : Service_Type_Code (text) , Parent_Service_Type_Code (text) , Service_Type_Description (text) | Addresses : Address_ID (text) , Line_1 (text) , Line_2 (text) , City_Town (text) , State_County (text) , Other_Details...
Ref_Payment_Methods : payment_method_code | Ref_Service_Types : Service_Type_Code | Addresses : Address_ID | Products : Product_ID | Marketing_Regions : Marketing_Region_Code | Clients : Client_ID | Drama_Workshop_Groups : Workshop_Group_ID | Performers : Performer_ID | Customers : Customer_ID | Stores : Store_ID | Boo...
Clients : Address_ID equals Addresses : Address_ID | Drama_Workshop_Groups : Address_ID equals Addresses : Address_ID | Performers : Address_ID equals Addresses : Address_ID | Customers : Address_ID equals Addresses : Address_ID | Stores : Marketing_Region_Code equals Marketing_Regions : Marketing_Region_Code | Stores ...
car_1
continents : ContId (number) , Continent (text) | countries : CountryId (number) , CountryName (text) , Continent (number) | car_makers : Id (number) , Maker (text) , FullName (text) , Country (text) | model_list : ModelId (number) , Maker (number) , Model (text) | car_names : MakeId (number) , Model (text) , Make (tex...
continents : ContId | countries : CountryId | car_makers : Id | model_list : ModelId | car_names : MakeId | cars_data : Id
countries : Continent equals continents : ContId | car_makers : Country equals countries : CountryId | model_list : Maker equals car_makers : Id | car_names : Model equals model_list : Model | cars_data : Id equals car_names : MakeId
geo
state : state_name (text) , population (number) , area (number) , country_name (text) , capital (text) , density (number) | city : city_name (text) , population (number) , country_name (text) , state_name (text) | border_info : state_name (text) , border (text) | highlow : state_name (text) , highest_elevation (text) ,...
state : state_name | city : city_name | border_info : border | highlow : state_name | mountain : mountain_name | river : river_name
city : state_name equals state : state_name | border_info : border equals state : state_name | border_info : state_name equals state : state_name | highlow : state_name equals state : state_name | mountain : state_name equals state : state_name | river : traverse equals state : state_name
behavior_monitoring
Ref_Address_Types : address_type_code (text) , address_type_description (text) | Ref_Detention_Type : detention_type_code (text) , detention_type_description (text) | Ref_Incident_Type : incident_type_code (text) , incident_type_description (text) | Addresses : address_id (number) , line_1 (text) , line_2 (text) , line...
Ref_Address_Types : address_type_code | Ref_Detention_Type : detention_type_code | Ref_Incident_Type : incident_type_code | Addresses : address_id | Students : student_id | Teachers : teacher_id | Behavior_Incident : incident_id | Detention : detention_id
Students : address_id equals Addresses : address_id | Teachers : address_id equals Addresses : address_id | Assessment_Notes : teacher_id equals Teachers : teacher_id | Assessment_Notes : student_id equals Students : student_id | Behavior_Incident : student_id equals Students : student_id | Behavior_Incident : incident...
cre_Doc_Tracking_DB
Ref_Document_Types : Document_Type_Code (text) , Document_Type_Name (text) , Document_Type_Description (text) | Ref_Calendar : Calendar_Date (time) , Day_Number (number) | Ref_Locations : Location_Code (text) , Location_Name (text) , Location_Description (text) | Roles : Role_Code (text) , Role_Name (text) , Role_Descr...
Ref_Document_Types : Document_Type_Code | Ref_Calendar : Calendar_Date | Ref_Locations : Location_Code | Roles : Role_Code | All_Documents : Document_ID | Employees : Employee_ID | Document_Locations : Document_ID | Documents_to_be_Destroyed : Document_ID
All_Documents : Date_Stored equals Ref_Calendar : Calendar_Date | All_Documents : Document_Type_Code equals Ref_Document_Types : Document_Type_Code | Employees : Role_Code equals Roles : Role_Code | Document_Locations : Document_ID equals All_Documents : Document_ID | Document_Locations : Date_in_Locaton_To equals Ref_...
university_basketball
basketball_match : Team_ID (number) , School_ID (number) , Team_Name (text) , ACC_Regular_Season (text) , ACC_Percent (text) , ACC_Home (text) , ACC_Road (text) , All_Games (text) , All_Games_Percent (number) , All_Home (text) , All_Road (text) , All_Neutral (text) | university : School_ID (number) , School (text) , Lo...
basketball_match : Team_ID | university : School_ID
basketball_match : School_ID equals university : School_ID
soccer_2
College : cName (text) , state (text) , enr (number) | Player : pID (number) , pName (text) , yCard (text) , HS (number) | Tryout : pID (number) , cName (text) , pPos (text) , decision (text)
College : cName | Player : pID | Tryout : pID
Tryout : cName equals College : cName | Tryout : pID equals Player : pID
activity_1
Activity : actid (number) , activity_name (text) | Participates_in : stuid (number) , actid (number) | Faculty_Participates_in : FacID (number) , actid (number) | Student : StuID (number) , LName (text) , Fname (text) , Age (number) , Sex (text) , Major (number) , Advisor (number) , city_code (text) | Faculty : FacID (...
Activity : actid | Student : StuID | Faculty : FacID
Participates_in : actid equals Activity : actid | Participates_in : stuid equals Student : StuID | Faculty_Participates_in : actid equals Activity : actid | Faculty_Participates_in : FacID equals Faculty : FacID
cre_Theme_park
Ref_Hotel_Star_Ratings : star_rating_code (text) , star_rating_description (text) | Locations : Location_ID (number) , Location_Name (text) , Address (text) , Other_Details (text) | Ref_Attraction_Types : Attraction_Type_Code (text) , Attraction_Type_Description (text) | Visitors : Tourist_ID (number) , Tourist_Details...
Ref_Hotel_Star_Ratings : star_rating_code | Locations : Location_ID | Ref_Attraction_Types : Attraction_Type_Code | Visitors : Tourist_ID | Features : Feature_ID | Hotels : hotel_id | Tourist_Attractions : Tourist_Attraction_ID | Street_Markets : Market_ID | Shops : Shop_ID | Museums : Museum_ID | Royal_Family : Royal_...
Hotels : star_rating_code equals Ref_Hotel_Star_Ratings : star_rating_code | Tourist_Attractions : Attraction_Type_Code equals Ref_Attraction_Types : Attraction_Type_Code | Tourist_Attractions : Location_ID equals Locations : Location_ID | Street_Markets : Market_ID equals Tourist_Attractions : Tourist_Attraction_ID | ...
twitter_1
follows : f1 (number) , f2 (number) | tweets : id (number) , uid (number) , text (text) , createdate (time) | user_profiles : uid (number) , name (text) , email (text) , partitionid (number) , followers (number)
follows : f1 | tweets : id | user_profiles : uid
follows : f2 equals user_profiles : uid | follows : f1 equals user_profiles : uid | tweets : uid equals user_profiles : uid
election_representative
election : Election_ID (number) , Representative_ID (number) , Date (text) , Votes (number) , Vote_Percent (number) , Seats (number) , Place (number) | representative : Representative_ID (number) , Name (text) , State (text) , Party (text) , Lifespan (text)
election : Election_ID | representative : Representative_ID
election : Representative_ID equals representative : Representative_ID
voter_2
Student : StuID (number) , LName (text) , Fname (text) , Age (number) , Sex (text) , Major (number) , Advisor (number) , city_code (text) | Voting_record : StuID (number) , Registration_Date (text) , Election_Cycle (text) , President_Vote (number) , Vice_President_Vote (number) , Secretary_Vote (number) , Treasurer_Vot...
Student : StuID
Voting_record : Class_Senator_Vote equals Student : StuID | Voting_record : Class_President_Vote equals Student : StuID | Voting_record : Treasurer_Vote equals Student : StuID | Voting_record : Secretary_Vote equals Student : StuID | Voting_record : Vice_President_Vote equals Student : StuID | Voting_record : President...
wedding
people : People_ID (number) , Name (text) , Country (text) , Is_Male (text) , Age (number) | church : Church_ID (number) , Name (text) , Organized_by (text) , Open_Date (number) , Continuation_of (text) | wedding : Church_ID (number) , Male_ID (number) , Female_ID (number) , Year (number)
people : People_ID | church : Church_ID | wedding : Church_ID
wedding : Female_ID equals people : People_ID | wedding : Male_ID equals people : People_ID | wedding : Church_ID equals church : Church_ID
news_report
event : Event_ID (number) , Date (text) , Venue (text) , Name (text) , Event_Attendance (number) | journalist : journalist_ID (number) , Name (text) , Nationality (text) , Age (text) , Years_working (number) | news_report : journalist_ID (number) , Event_ID (number) , Work_Type (text)
event : Event_ID | journalist : journalist_ID | news_report : journalist_ID
news_report : Event_ID equals event : Event_ID | news_report : journalist_ID equals journalist : journalist_ID
wine_1
grapes : ID (number) , Grape (text) , Color (text) | appellations : No (number) , Appelation (text) , County (text) , State (text) , Area (text) , isAVA (text) | wine : No (number) , Grape (text) , Winery (text) , Appelation (text) , State (text) , Name (text) , Year (number) , Price (number) , Score (number) , Cases (...
grapes : ID | appellations : No
wine : Appelation equals appellations : Appelation | wine : Grape equals grapes : Grape
customers_and_addresses
Addresses : address_id (number) , address_content (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | Products : product_id (number) , product_details (text) | Customers : customer_id (number) , payment_method (text) , customer_name (text) , date_b...
Addresses : address_id | Products : product_id | Customers : customer_id | Customer_Orders : order_id
Customer_Addresses : customer_id equals Customers : customer_id | Customer_Addresses : address_id equals Addresses : address_id | Customer_Contact_Channels : customer_id equals Customers : customer_id | Customer_Orders : customer_id equals Customers : customer_id | Order_Items : order_id equals Customer_Orders : order_...
protein_institute
building : building_id (text) , Name (text) , Street_address (text) , Years_as_tallest (text) , Height_feet (number) , Floors (number) | Institution : Institution_id (text) , Institution (text) , Location (text) , Founded (number) , Type (text) , Enrollment (number) , Team (text) , Primary_Conference (text) , building_...
building : building_id | Institution : Institution_id | protein : common_name
Institution : building_id equals building : building_id | protein : Institution_id equals Institution : Institution_id
school_player
school : School_ID (number) , School (text) , Location (text) , Enrollment (number) , Founded (number) , Denomination (text) , Boys_or_Girls (text) , Day_or_Boarding (text) , Year_Entered_Competition (number) , School_Colors (text) | school_details : School_ID (number) , Nickname (text) , Colors (text) , League (text) ...
school : School_ID | school_details : School_ID | school_performance : School_Id | player : Player_ID
school_details : School_ID equals school : School_ID | school_performance : School_Id equals school : School_ID | player : School_ID equals school : School_ID
phone_1
chip_model : Model_name (text) , Launch_year (number) , RAM_MiB (number) , ROM_MiB (number) , Slots (text) , WiFi (text) , Bluetooth (text) | screen_mode : Graphics_mode (number) , Char_cells (text) , Pixels (text) , Hardware_colours (number) , used_kb (number) , map (text) , Type (text) | phone : Company_name (text) ,...
chip_model : Model_name | screen_mode : Graphics_mode | phone : Hardware_Model_name
phone : chip_model equals chip_model : Model_name | phone : screen_mode equals screen_mode : Graphics_mode
tvshow
TV_Channel : id (text) , series_name (text) , Country (text) , Language (text) , Content (text) , Pixel_aspect_ratio_PAR (text) , Hight_definition_TV (text) , Pay_per_view_PPV (text) , Package_Option (text) | TV_series : id (number) , Episode (text) , Air_Date (text) , Rating (text) , Share (number) , 18_49_Rating_Shar...
TV_Channel : id | TV_series : id | Cartoon : id
TV_series : Channel equals TV_Channel : id | Cartoon : Channel equals TV_Channel : id
wrestler
wrestler : Wrestler_ID (number) , Name (text) , Reign (text) , Days_held (text) , Location (text) , Event (text) | Elimination : Elimination_ID (text) , Wrestler_ID (text) , Team (text) , Eliminated_By (text) , Elimination_Move (text) , Time (text)
wrestler : Wrestler_ID | Elimination : Elimination_ID
Elimination : Wrestler_ID equals wrestler : Wrestler_ID
customer_complaints
Staff : staff_id (number) , gender (text) , first_name (text) , last_name (text) , email_address (text) , phone_number (text) | Customers : customer_id (number) , customer_type_code (text) , address_line_1 (text) , address_line_2 (text) , town_city (text) , state (text) , email_address (text) , phone_number (text) | Pr...
Staff : staff_id | Customers : customer_id | Products : product_id
Complaints : customer_id equals Customers : customer_id | Complaints : product_id equals Products : product_id | Complaints : staff_id equals Staff : staff_id
department_management
department : Department_ID (number) , Name (text) , Creation (text) , Ranking (number) , Budget_in_Billions (number) , Num_Employees (number) | head : head_ID (number) , name (text) , born_state (text) , age (number) | management : department_ID (number) , head_ID (number) , temporary_acting (text)
department : Department_ID | head : head_ID | management : department_ID
management : head_ID equals head : head_ID | management : department_ID equals department : Department_ID
customers_and_products_contacts
Addresses : address_id (number) , line_1_number_building (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) | Products : product_id (number) , product_type_code (text) , product_name (text) , product_price (number) | Customers : customer_id (number) , payment_method_code (text) ,...
Addresses : address_id | Products : product_id | Customers : customer_id | Contacts : contact_id | Customer_Orders : order_id
Customer_Address_History : address_id equals Addresses : address_id | Customer_Address_History : customer_id equals Customers : customer_id | Customer_Orders : customer_id equals Customers : customer_id | Order_Items : order_id equals Customer_Orders : order_id | Order_Items : product_id equals Products : product_id
company_1
works_on : Essn (number) , Pno (number) , Hours (number) | employee : Fname (text) , Minit (text) , Lname (text) , Ssn (number) , Bdate (text) , Address (text) , Sex (text) , Salary (number) , Super_ssn (number) , Dno (number) | department : Dname (text) , Dnumber (number) , Mgr_ssn (number) , Mgr_start_date (text) | p...
works_on : Essn | employee : Ssn | department : Dnumber | project : Pnumber | dependent : Essn | dept_locations : Dnumber
workshop_paper
workshop : Workshop_ID (number) , Date (text) , Venue (text) , Name (text) | submission : Submission_ID (number) , Scores (number) , Author (text) , College (text) | Acceptance : Submission_ID (number) , Workshop_ID (number) , Result (text)
workshop : Workshop_ID | submission : Submission_ID | Acceptance : Submission_ID
Acceptance : Workshop_ID equals workshop : Workshop_ID | Acceptance : Submission_ID equals submission : Submission_ID
epinions_1
item : i_id (number) , title (text) | review : a_id (number) , u_id (number) , i_id (number) , rating (number) , rank (number) | useracct : u_id (number) , name (text) | trust : source_u_id (number) , target_u_id (number) , trust (number)
item : i_id | review : a_id | useracct : u_id
review : i_id equals item : i_id | review : u_id equals useracct : u_id | trust : target_u_id equals useracct : u_id | trust : source_u_id equals useracct : u_id
party_host
party : Party_ID (number) , Party_Theme (text) , Location (text) , First_year (text) , Last_year (text) , Number_of_hosts (number) | host : Host_ID (number) , Name (text) , Nationality (text) , Age (text) | party_host : Party_ID (number) , Host_ID (number) , Is_Main_in_Charge (others)
party : Party_ID | host : Host_ID | party_host : Party_ID
party_host : Party_ID equals party : Party_ID | party_host : Host_ID equals host : Host_ID
product_catalog
Attribute_Definitions : attribute_id (number) , attribute_name (text) , attribute_data_type (text) | Catalogs : catalog_id (number) , catalog_name (text) , catalog_publisher (text) , date_of_publication (time) , date_of_latest_revision (time) | Catalog_Structure : catalog_level_number (number) , catalog_id (number) , c...
Attribute_Definitions : attribute_id | Catalogs : catalog_id | Catalog_Structure : catalog_level_number | Catalog_Contents : catalog_entry_id
Catalog_Structure : catalog_id equals Catalogs : catalog_id | Catalog_Contents : catalog_level_number equals Catalog_Structure : catalog_level_number | Catalog_Contents_Additional_Attributes : catalog_level_number equals Catalog_Structure : catalog_level_number | Catalog_Contents_Additional_Attributes : catalog_entry_i...