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 (number) , Program_ID (number) , Date (text) , Share_in_percent (number)
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_Pilot (text) , Winning_Aircraft (text) | airport : Airport_ID (number) , Airport_Name (text) , Total_Passengers (number) , %_Change_2007 (text) , International_Passengers (number) , Domestic_Passengers (number) , Transit_Passengers (number) , Aircraft_Movements (number) , Freight_Metric_Tonnes (number) | airport_aircraft : ID (number) , Airport_ID (number) , Aircraft_ID (number)
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) , ResTypeName (text) , ResTypeDescription (text) | Visits_Restaurant : StuID (number) , ResID (number) , Time (time) , Spent (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 (number) , customer_id (number) , date_order_placed (time) , order_details (text) | Invoices : invoice_number (number) , order_id (number) , invoice_date (time) | Accounts : account_id (number) , customer_id (number) , date_account_opened (time) , account_name (text) , other_account_details (text) | Product_Categories : production_type_code (text) , product_type_description (text) , vat_rating (number) | Products : product_id (number) , parent_product_id (number) , production_type_code (text) , unit_price (number) , product_name (text) , product_color (text) , product_size (text) | Financial_Transactions : transaction_id (number) , account_id (number) , invoice_number (number) , transaction_type (text) , transaction_date (time) , transaction_amount (number) , transaction_comment (text) , other_transaction_details (text) | Order_Items : order_item_id (number) , order_id (number) , product_id (number) , product_quantity (text) , other_order_item_details (text) | Invoice_Line_Items : order_item_id (number) , invoice_number (number) , product_id (number) , product_title (text) , product_quantity (text) , product_price (number) , derived_product_cost (number) , derived_vat_payable (number) , derived_total_cost (number)
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_Transactions : invoice_number equals Invoices : invoice_number | Order_Items : order_id equals Orders : order_id | Order_Items : product_id equals Products : product_id | Invoice_Line_Items : product_id equals Products : product_id | Invoice_Line_Items : invoice_number equals Invoices : invoice_number | Invoice_Line_Items : order_item_id equals Order_Items : order_item_id
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 (text) , Policy_ID (number) , Date_of_Claim (time) , Date_of_Settlement (time) , Amount_Claimed (number) , Amount_Piad (number) | Claims_Documents : Claim_ID (number) , Document_Type_Code (text) , Created_by_Staff_ID (number) , Created_Date (number) | Claims_Processing_Stages : Claim_Stage_ID (number) , Next_Claim_Stage_ID (number) , Claim_Status_Name (text) , Claim_Status_Description (text) | Claims_Processing : Claim_Processing_ID (number) , Claim_ID (number) , Claim_Outcome_Code (text) , Claim_Stage_ID (number) , Staff_ID (number)
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 : Claim_ID equals Claim_Headers : Claim_Header_ID
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_ADDRESS (text) , DEPT_EXTENSION (text) | EMPLOYEE : EMP_NUM (number) , EMP_LNAME (text) , EMP_FNAME (text) , EMP_INITIAL (text) , EMP_JOBCODE (text) , EMP_HIREDATE (time) , EMP_DOB (time) | ENROLL : CLASS_CODE (text) , STU_NUM (number) , ENROLL_GRADE (text) | PROFESSOR : EMP_NUM (number) , DEPT_CODE (text) , PROF_OFFICE (text) , PROF_EXTENSION (text) , PROF_HIGH_DEGREE (text) | STUDENT : STU_NUM (number) , STU_LNAME (text) , STU_FNAME (text) , STU_INIT (text) , STU_DOB (time) , STU_HRS (number) , STU_CLASS (text) , STU_GPA (number) , STU_TRANSFER (number) , DEPT_CODE (text) , STU_PHONE (text) , PROF_NUM (number)
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 : DEPT_CODE | PROFESSOR : EMP_NUM equals EMPLOYEE : EMP_NUM | STUDENT : DEPT_CODE equals DEPARTMENT : DEPT_CODE
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 (number) | Benefits_Overpayments : council_tax_id (number) , cmi_cross_ref_id (number) | Parking_Fines : council_tax_id (number) , cmi_cross_ref_id (number) | Rent_Arrears : council_tax_id (number) , cmi_cross_ref_id (number) | Electoral_Register : electoral_register_id (number) , cmi_cross_ref_id (number)
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_References : cmi_cross_ref_id | Parking_Fines : cmi_cross_ref_id equals CMI_Cross_References : cmi_cross_ref_id | Rent_Arrears : cmi_cross_ref_id equals CMI_Cross_References : cmi_cross_ref_id | Electoral_Register : cmi_cross_ref_id equals CMI_Cross_References : cmi_cross_ref_id
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) | employees : EMPLOYEE_ID (number) , FIRST_NAME (text) , LAST_NAME (text) , EMAIL (text) , PHONE_NUMBER (text) , HIRE_DATE (time) , JOB_ID (text) , SALARY (number) , COMMISSION_PCT (number) , MANAGER_ID (number) , DEPARTMENT_ID (number) | job_history : EMPLOYEE_ID (number) , START_DATE (time) , END_DATE (time) , JOB_ID (text) , DEPARTMENT_ID (number) | locations : LOCATION_ID (number) , STREET_ADDRESS (text) , POSTAL_CODE (text) , CITY (text) , STATE_PROVINCE (text) , COUNTRY_ID (text)
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_ID | locations : COUNTRY_ID equals countries : COUNTRY_ID
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 (number) , volleys (number) , dribbling (number) , curve (number) , free_kick_accuracy (number) , long_passing (number) , ball_control (number) , acceleration (number) , sprint_speed (number) , agility (number) , reactions (number) , balance (number) , shot_power (number) , jumping (number) , stamina (number) , strength (number) , long_shots (number) , aggression (number) , interceptions (number) , positioning (number) , vision (number) , penalties (number) , marking (number) , standing_tackle (number) , sliding_tackle (number) , gk_diving (number) , gk_handling (number) , gk_kicking (number) , gk_positioning (number) , gk_reflexes (number) | sqlite_sequence : name (text) , seq (text) | Player : id (number) , player_api_id (number) , player_name (text) , player_fifa_api_id (number) , birthday (text) , height (number) , weight (number) | League : id (number) , country_id (number) , name (text) | Country : id (number) , name (text) | Team : id (number) , team_api_id (number) , team_fifa_api_id (number) , team_long_name (text) , team_short_name (text) | Team_Attributes : id (number) , team_fifa_api_id (number) , team_api_id (number) , date (text) , buildUpPlaySpeed (number) , buildUpPlaySpeedClass (text) , buildUpPlayDribbling (number) , buildUpPlayDribblingClass (text) , buildUpPlayPassing (number) , buildUpPlayPassingClass (text) , buildUpPlayPositioningClass (text) , chanceCreationPassing (number) , chanceCreationPassingClass (text) , chanceCreationCrossing (number) , chanceCreationCrossingClass (text) , chanceCreationShooting (number) , chanceCreationShootingClass (text) , chanceCreationPositioningClass (text) , defencePressure (number) , defencePressureClass (text) , defenceAggression (number) , defenceAggressionClass (text) , defenceTeamWidth (number) , defenceTeamWidthClass (text) , defenceDefenderLineClass (text)
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) | city : city_id (number) , city (text) , country_id (number) , last_update (time) | country : country_id (number) , country (text) , last_update (time) | customer : customer_id (number) , store_id (number) , first_name (text) , last_name (text) , email (text) , address_id (number) , active (boolean) , create_date (time) , last_update (time) | film : film_id (number) , title (text) , description (text) , release_year (time) , language_id (number) , original_language_id (number) , rental_duration (number) , rental_rate (number) , length (number) , replacement_cost (number) , rating (text) , special_features (text) , last_update (time) | film_actor : actor_id (number) , film_id (number) , last_update (time) | film_category : film_id (number) , category_id (number) , last_update (time) | film_text : film_id (number) , title (text) , description (text) | inventory : inventory_id (number) , film_id (number) , store_id (number) , last_update (time) | language : language_id (number) , name (text) , last_update (time) | payment : payment_id (number) , customer_id (number) , staff_id (number) , rental_id (number) , amount (number) , payment_date (time) , last_update (time) | rental : rental_id (number) , rental_date (time) , inventory_id (number) , customer_id (number) , return_date (time) , staff_id (number) , last_update (time) | staff : staff_id (number) , first_name (text) , last_name (text) , address_id (number) , picture (others) , email (text) , store_id (number) , active (boolean) , username (text) , password (text) , last_update (time) | store : store_id (number) , manager_staff_id (number) , address_id (number) , last_update (time)
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 | staff : staff_id | store : store_id
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 equals film : film_id | film_actor : actor_id equals actor : actor_id | film_category : category_id equals category : category_id | film_category : film_id equals film : film_id | inventory : film_id equals film : film_id | inventory : store_id equals store : store_id | payment : staff_id equals staff : staff_id | payment : customer_id equals customer : customer_id | payment : rental_id equals rental : rental_id | rental : customer_id equals customer : customer_id | rental : inventory_id equals inventory : inventory_id | rental : staff_id equals staff : staff_id | staff : address_id equals address : address_id | store : address_id equals address : address_id | store : manager_staff_id equals staff : staff_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) , property_type_code (text) , date_on_market (time) , date_sold (time) , property_name (text) , property_address (text) , room_count (number) , vendor_requested_price (number) , buyer_offered_price (number) , agreed_selling_price (number) , apt_feature_1 (text) , apt_feature_2 (text) , apt_feature_3 (text) , fld_feature_1 (text) , fld_feature_2 (text) , fld_feature_3 (text) , hse_feature_1 (text) , hse_feature_2 (text) , hse_feature_3 (text) , oth_feature_1 (text) , oth_feature_2 (text) , oth_feature_3 (text) , shp_feature_1 (text) , shp_feature_2 (text) , shp_feature_3 (text) , other_property_details (text) | Other_Property_Features : property_id (number) , feature_id (number) , property_feature_description (text)
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 : feature_id
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) , DName (text) , Room (text) , Building (text) , DPhone (number) | Member_of : FacID (number) , DNO (number) , Appt_Type (text) | Course : CID (text) , CName (text) , Credits (number) , Instructor (number) , Days (text) , Hours (text) , DNO (number) | Minor_in : StuID (number) , DNO (number) | Enrolled_in : StuID (number) , CID (text) , Grade (text) | Gradeconversion : lettergrade (text) , gradepoint (number)
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_in : CID equals Course : CID | Enrolled_in : StuID equals Student : StuID
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_name (text) , customer_phone (text) , customer_email (text) , date_became_customer (time) | Regular_Orders : regular_order_id (number) , distributer_id (number) | Regular_Order_Products : regular_order_id (number) , product_id (number) | Actual_Orders : actual_order_id (number) , order_status_code (text) , regular_order_id (number) , actual_order_date (time) | Actual_Order_Products : actual_order_id (number) , product_id (number) | Customer_Addresses : customer_id (number) , address_id (number) , date_from (time) , address_type (text) , date_to (time) | Delivery_Routes : route_id (number) , route_name (text) , other_route_details (text) | Delivery_Route_Locations : location_code (text) , route_id (number) , location_address_id (number) , location_name (text) | Trucks : truck_id (number) , truck_licence_number (text) , truck_details (text) | Employees : employee_id (number) , employee_address_id (number) , employee_name (text) , employee_phone (text) | Order_Deliveries : location_code (text) , actual_order_id (number) , delivery_status_code (text) , driver_employee_id (number) , truck_id (number) , delivery_date (time)
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 : actual_order_id equals Actual_Orders : actual_order_id | Actual_Order_Products : product_id equals Products : product_id | Customer_Addresses : address_id equals Addresses : address_id | Customer_Addresses : customer_id equals Customers : customer_id | Delivery_Route_Locations : route_id equals Delivery_Routes : route_id | Delivery_Route_Locations : location_address_id equals Addresses : address_id | Employees : employee_address_id equals Addresses : address_id | Order_Deliveries : driver_employee_id equals Employees : employee_id | Order_Deliveries : location_code equals Delivery_Route_Locations : location_code | Order_Deliveries : actual_order_id equals Actual_Orders : actual_order_id | Order_Deliveries : truck_id equals Trucks : truck_id
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_id (number) , id (number) , Player (text) , Injury (text) , Number_of_matches (text) , Source (text)
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_invested (number) , Budget_invested_percent (text) | endowment : endowment_id (number) , School_id (number) , donator_name (text) , amount (number)
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) , year (number) , numCiting (number) , numCitedBy (number) , journalId (number) | cite : citingPaperId (number) , citedPaperId (number) | paperDataset : paperId (number) , datasetId (number) | paperKeyphrase : paperId (number) , keyphraseId (number) | writes : paperId (number) , authorId (number)
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 author : authorId | writes : paperId equals paper : paperId
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 : Player_ID (number) , Player (text) , Years_Played (text) , Total_WL (text) , Singles_WL (text) , Doubles_WL (text) , Team (number)
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) , loser_rank (number) , loser_rank_points (number) , loser_seed (number) , match_num (number) , minutes (number) , round (text) , score (text) , surface (text) , tourney_date (time) , tourney_id (text) , tourney_level (text) , tourney_name (text) , winner_age (number) , winner_entry (text) , winner_hand (text) , winner_ht (number) , winner_id (number) , winner_ioc (text) , winner_name (text) , winner_rank (number) , winner_rank_points (number) , winner_seed (number) , year (number) | rankings : ranking_date (time) , ranking (number) , player_id (number) , ranking_points (number) , tours (number)
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) , name (text) | checkin : cid (number) , business_id (text) , count (number) , day (text) | neighbourhood : id (number) , business_id (text) , neighbourhood_name (text) | review : rid (number) , business_id (text) , user_id (text) , rating (number) , text (text) , year (number) , month (text) | tip : tip_id (number) , business_id (text) , text (text) , user_id (text) , likes (number) , year (number) , month (text)
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 equals business : business_id
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 (number)
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 (text) , country (text) , postal_code (text) , phone (text) , fax (text) , email (text) | customers : id (number) , first_name (text) , last_name (text) , company (text) , address (text) , city (text) , state (text) , country (text) , postal_code (text) , phone (text) , fax (text) , email (text) , support_rep_id (number) | genres : id (number) , name (text) | invoices : id (number) , customer_id (number) , invoice_date (time) , billing_address (text) , billing_city (text) , billing_state (text) , billing_country (text) , billing_postal_code (text) , total (number) | media_types : id (number) , name (text) | tracks : id (number) , name (text) , album_id (number) , media_type_id (number) , genre_id (number) , composer (text) , milliseconds (number) , bytes (number) , unit_price (number) | invoice_lines : id (number) , invoice_id (number) , track_id (number) , unit_price (number) , quantity (number) | playlists : id (number) , name (text) | playlist_tracks : playlist_id (number) , track_id (number)
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_lines : track_id equals tracks : id | invoice_lines : invoice_id equals invoices : id | playlist_tracks : track_id equals tracks : id | playlist_tracks : playlist_id equals playlists : id
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) , Station_ID (number)
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_area_code (text) , parent_functional_area_code (text) , functional_area_description (text) | Images : image_id (number) , image_alt_text (text) , image_name (text) , image_url (text) | Documents : document_code (text) , document_structure_code (text) , document_type_code (text) , access_count (number) , document_name (text) | Document_Functional_Areas : document_code (text) , functional_area_code (text) | Document_Sections : section_id (number) , document_code (text) , section_sequence (number) , section_code (text) , section_title (text) | Document_Sections_Images : section_id (number) , image_id (number)
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_Sections : document_code equals Documents : document_code | Document_Sections_Images : image_id equals Images : image_id | Document_Sections_Images : section_id equals Document_Sections : section_id
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) , driverRef (text) , number (number) , code (text) , forename (text) , surname (text) , dob (text) , nationality (text) , url (text) | status : statusId (number) , status (text) | seasons : year (number) , url (text) | constructors : constructorId (number) , constructorRef (text) , name (text) , nationality (text) , url (text) | constructorStandings : constructorStandingsId (number) , raceId (number) , constructorId (number) , points (number) , position (number) , positionText (text) , wins (number) | results : resultId (number) , raceId (number) , driverId (number) , constructorId (number) , number (number) , grid (number) , position (number) , positionText (text) , positionOrder (number) , points (number) , laps (number) , time (text) , milliseconds (number) , fastestLap (number) , rank (number) , fastestLapTime (text) , fastestLapSpeed (text) , statusId (number) | driverStandings : driverStandingsId (number) , raceId (number) , driverId (number) , points (number) , position (number) , positionText (text) , wins (number) | constructorResults : constructorResultsId (number) , raceId (number) , constructorId (number) , points (number) , status (number) | qualifying : qualifyId (number) , raceId (number) , driverId (number) , constructorId (number) , number (number) , position (number) , q1 (text) , q2 (text) , q3 (text) | pitStops : raceId (number) , driverId (number) , stop (number) , lap (number) , time (text) , duration (text) , milliseconds (number) | lapTimes : raceId (number) , driverId (number) , lap (number) , position (number) , time (text) , milliseconds (number)
circuits : circuitId | races : raceId | drivers : driverId | status : statusId | seasons : year | constructors : constructorId | constructorStandings : constructorStandingsId | results : resultId | driverStandings : driverStandingsId | constructorResults : constructorResultsId | qualifying : qualifyId | pitStops : raceId | lapTimes : raceId
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 : constructorId | driverStandings : driverId equals drivers : driverId | driverStandings : raceId equals races : raceId | constructorResults : raceId equals races : raceId | constructorResults : constructorId equals constructors : constructorId | qualifying : driverId equals drivers : driverId | qualifying : raceId equals races : raceId | qualifying : constructorId equals constructors : constructorId | pitStops : driverId equals drivers : driverId | pitStops : raceId equals races : raceId | lapTimes : driverId equals drivers : driverId | lapTimes : raceId equals races : raceId
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) , HoursPerWeek (number) , GamesPlayed (number) , OnScholarship (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 (text) , branch_ID (text) , amount (number)
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) , start_station_id (number) , end_date (text) , end_station_name (text) , end_station_id (number) , bike_id (number) , subscription_type (text) , zip_code (number) | weather : date (text) , max_temperature_f (number) , mean_temperature_f (number) , min_temperature_f (number) , max_dew_point_f (number) , mean_dew_point_f (number) , min_dew_point_f (number) , max_humidity (number) , mean_humidity (number) , min_humidity (number) , max_sea_level_pressure_inches (number) , mean_sea_level_pressure_inches (number) , min_sea_level_pressure_inches (number) , max_visibility_miles (number) , mean_visibility_miles (number) , min_visibility_miles (number) , max_wind_Speed_mph (number) , mean_wind_speed_mph (number) , max_gust_speed_mph (number) , precipitation_inches (number) , cloud_cover (number) , events (text) , wind_dir_degrees (number) , zip_code (number)
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_ID (number) , Type (text) , Date (text) , Official_ratings_(millions) (number) , Weekly_rank (text) , Share (text) | show : Show_ID (number) , Performance_ID (number) , If_first_show (others) , Result (text) , Attendance (number)
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 (text) | Products : Product_ID (text) , Product_Name (text) , Product_Price (number) , Product_Description (text) , Other_Product_Service_Details (text) | Marketing_Regions : Marketing_Region_Code (text) , Marketing_Region_Name (text) , Marketing_Region_Descriptrion (text) , Other_Details (text) | Clients : Client_ID (number) , Address_ID (number) , Customer_Email_Address (text) , Customer_Name (text) , Customer_Phone (text) , Other_Details (text) | Drama_Workshop_Groups : Workshop_Group_ID (number) , Address_ID (number) , Currency_Code (text) , Marketing_Region_Code (text) , Store_Name (text) , Store_Phone (text) , Store_Email_Address (text) , Other_Details (text) | Performers : Performer_ID (number) , Address_ID (number) , Customer_Name (text) , Customer_Phone (text) , Customer_Email_Address (text) , Other_Details (text) | Customers : Customer_ID (text) , Address_ID (number) , Customer_Name (text) , Customer_Phone (text) , Customer_Email_Address (text) , Other_Details (text) | Stores : Store_ID (text) , Address_ID (number) , Marketing_Region_Code (text) , Store_Name (text) , Store_Phone (text) , Store_Email_Address (text) , Other_Details (text) | Bookings : Booking_ID (number) , Customer_ID (number) , Workshop_Group_ID (text) , Status_Code (text) , Store_ID (number) , Order_Date (time) , Planned_Delivery_Date (time) , Actual_Delivery_Date (time) , Other_Order_Details (text) | Performers_in_Bookings : Order_ID (number) , Performer_ID (number) | Customer_Orders : Order_ID (number) , Customer_ID (number) , Store_ID (number) , Order_Date (time) , Planned_Delivery_Date (time) , Actual_Delivery_Date (time) , Other_Order_Details (text) | Order_Items : Order_Item_ID (number) , Order_ID (number) , Product_ID (number) , Order_Quantity (text) , Other_Item_Details (text) | Invoices : Invoice_ID (number) , Order_ID (number) , payment_method_code (text) , Product_ID (number) , Order_Quantity (text) , Other_Item_Details (text) , Order_Item_ID (number) | Services : Service_ID (number) , Service_Type_Code (text) , Workshop_Group_ID (number) , Product_Description (text) , Product_Name (text) , Product_Price (number) , Other_Product_Service_Details (text) | Bookings_Services : Order_ID (number) , Product_ID (number) | Invoice_Items : Invoice_Item_ID (number) , Invoice_ID (number) , Order_ID (number) , Order_Item_ID (number) , Product_ID (number) , Order_Quantity (number) , Other_Item_Details (text)
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 | Bookings : Booking_ID | Performers_in_Bookings : Order_ID | Customer_Orders : Order_ID | Order_Items : Order_Item_ID | Invoices : Invoice_ID | Services : Service_ID | Bookings_Services : Order_ID | Invoice_Items : Invoice_Item_ID
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 : Address_ID equals Addresses : Address_ID | Bookings : Workshop_Group_ID equals Drama_Workshop_Groups : Workshop_Group_ID | Bookings : Customer_ID equals Clients : Client_ID | Performers_in_Bookings : Order_ID equals Bookings : Booking_ID | Performers_in_Bookings : Performer_ID equals Performers : Performer_ID | Customer_Orders : Store_ID equals Stores : Store_ID | Customer_Orders : Customer_ID equals Customers : Customer_ID | Order_Items : Product_ID equals Products : Product_ID | Order_Items : Order_ID equals Customer_Orders : Order_ID | Invoices : payment_method_code equals Ref_Payment_Methods : payment_method_code | Invoices : Order_ID equals Bookings : Booking_ID | Invoices : Order_ID equals Customer_Orders : Order_ID | Services : Service_Type_Code equals Ref_Service_Types : Service_Type_Code | Services : Workshop_Group_ID equals Drama_Workshop_Groups : Workshop_Group_ID | Bookings_Services : Product_ID equals Services : Service_ID | Bookings_Services : Order_ID equals Bookings : Booking_ID | Invoice_Items : Order_ID equals Bookings_Services : Order_ID | Invoice_Items : Product_ID equals Bookings_Services : Product_ID | Invoice_Items : Invoice_ID equals Invoices : Invoice_ID | Invoice_Items : Order_Item_ID equals Order_Items : Order_Item_ID
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 (text) | cars_data : Id (number) , MPG (text) , Cylinders (number) , Edispl (number) , Horsepower (text) , Weight (number) , Accelerate (number) , Year (number)
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) , lowest_point (text) , highest_point (text) , lowest_elevation (text) | lake : lake_name (text) , area (number) , country_name (text) , state_name (text) | mountain : mountain_name (text) , mountain_altitude (number) , country_name (text) , state_name (text) | river : river_name (text) , length (number) , country_name (text) , traverse (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_3 (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | Students : student_id (number) , address_id (number) , first_name (text) , middle_name (text) , last_name (text) , cell_mobile_number (text) , email_address (text) , date_first_rental (time) , date_left_university (time) , other_student_details (text) | Teachers : teacher_id (number) , address_id (number) , first_name (text) , middle_name (text) , last_name (text) , gender (text) , cell_mobile_number (text) , email_address (text) , other_details (text) | Assessment_Notes : notes_id (number) , student_id (number) , teacher_id (number) , date_of_notes (time) , text_of_notes (text) , other_details (text) | Behavior_Incident : incident_id (number) , incident_type_code (text) , student_id (number) , date_incident_start (time) , date_incident_end (time) , incident_summary (text) , recommendations (text) , other_details (text) | Detention : detention_id (number) , detention_type_code (text) , teacher_id (number) , datetime_detention_start (time) , datetime_detention_end (time) , detention_summary (text) , other_details (text) | Student_Addresses : student_id (number) , address_id (number) , date_address_from (time) , date_address_to (time) , monthly_rental (number) , other_details (text) | Students_in_Detention : student_id (number) , detention_id (number) , incident_id (number)
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_type_code equals Ref_Incident_Type : incident_type_code | Detention : teacher_id equals Teachers : teacher_id | Detention : detention_type_code equals Ref_Detention_Type : detention_type_code | Student_Addresses : student_id equals Students : student_id | Student_Addresses : address_id equals Addresses : address_id | Students_in_Detention : student_id equals Students : student_id | Students_in_Detention : detention_id equals Detention : detention_id | Students_in_Detention : incident_id equals Behavior_Incident : incident_id
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_Description (text) | All_Documents : Document_ID (number) , Date_Stored (time) , Document_Type_Code (text) , Document_Name (text) , Document_Description (text) , Other_Details (text) | Employees : Employee_ID (number) , Role_Code (text) , Employee_Name (text) , Gender_MFU (text) , Date_of_Birth (time) , Other_Details (text) | Document_Locations : Document_ID (number) , Location_Code (text) , Date_in_Location_From (time) , Date_in_Locaton_To (time) | Documents_to_be_Destroyed : Document_ID (number) , Destruction_Authorised_by_Employee_ID (number) , Destroyed_by_Employee_ID (number) , Planned_Destruction_Date (time) , Actual_Destruction_Date (time) , Other_Details (text)
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_Calendar : Calendar_Date | Document_Locations : Date_in_Location_From equals Ref_Calendar : Calendar_Date | Document_Locations : Location_Code equals Ref_Locations : Location_Code | Documents_to_be_Destroyed : Document_ID equals All_Documents : Document_ID | Documents_to_be_Destroyed : Actual_Destruction_Date equals Ref_Calendar : Calendar_Date | Documents_to_be_Destroyed : Planned_Destruction_Date equals Ref_Calendar : Calendar_Date | Documents_to_be_Destroyed : Destruction_Authorised_by_Employee_ID equals Employees : Employee_ID | Documents_to_be_Destroyed : Destroyed_by_Employee_ID equals Employees : Employee_ID
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) , Location (text) , Founded (number) , Affiliation (text) , Enrollment (number) , Nickname (text) , Primary_conference (text)
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 (number) , Lname (text) , Fname (text) , Rank (text) , Sex (text) , Phone (number) , Room (text) , Building (text)
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 (text) | Features : Feature_ID (number) , Feature_Details (text) | Hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | Tourist_Attractions : Tourist_Attraction_ID (number) , Attraction_Type_Code (text) , Location_ID (number) , How_to_Get_There (text) , Name (text) , Description (text) , Opening_Hours (text) , Other_Details (text) | Street_Markets : Market_ID (number) , Market_Details (text) | Shops : Shop_ID (number) , Shop_Details (text) | Museums : Museum_ID (number) , Museum_Details (text) | Royal_Family : Royal_Family_ID (number) , Royal_Family_Details (text) | Theme_Parks : Theme_Park_ID (number) , Theme_Park_Details (text) | Visits : Visit_ID (number) , Tourist_Attraction_ID (number) , Tourist_ID (number) , Visit_Date (time) , Visit_Details (text) | Photos : Photo_ID (number) , Tourist_Attraction_ID (number) , Name (text) , Description (text) , Filename (text) , Other_Details (text) | Staff : Staff_ID (number) , Tourist_Attraction_ID (number) , Name (text) , Other_Details (text) | Tourist_Attraction_Features : Tourist_Attraction_ID (number) , Feature_ID (number)
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_Family_ID | Theme_Parks : Theme_Park_ID | Visits : Visit_ID | Photos : Photo_ID | Staff : Staff_ID | Tourist_Attraction_Features : Tourist_Attraction_ID
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 | Shops : Shop_ID equals Tourist_Attractions : Tourist_Attraction_ID | Museums : Museum_ID equals Tourist_Attractions : Tourist_Attraction_ID | Royal_Family : Royal_Family_ID equals Tourist_Attractions : Tourist_Attraction_ID | Theme_Parks : Theme_Park_ID equals Tourist_Attractions : Tourist_Attraction_ID | Visits : Tourist_ID equals Visitors : Tourist_ID | Visits : Tourist_Attraction_ID equals Tourist_Attractions : Tourist_Attraction_ID | Photos : Tourist_Attraction_ID equals Tourist_Attractions : Tourist_Attraction_ID | Staff : Tourist_Attraction_ID equals Tourist_Attractions : Tourist_Attraction_ID | Tourist_Attraction_Features : Feature_ID equals Features : Feature_ID | Tourist_Attraction_Features : Tourist_Attraction_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_Vote (number) , Class_President_Vote (number) , Class_Senator_Vote (number)
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_Vote equals Student : StuID | Voting_record : StuID equals Student : StuID
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 (number) , Drink (text)
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_became_customer (time) , other_customer_details (text) | Customer_Addresses : customer_id (number) , address_id (number) , date_address_from (time) , address_type (text) , date_address_to (time) | Customer_Contact_Channels : customer_id (number) , channel_code (text) , active_from_date (time) , active_to_date (time) , contact_number (text) | Customer_Orders : order_id (number) , customer_id (number) , order_status (text) , order_date (time) , order_details (text) | Order_Items : order_id (number) , product_id (number) , order_quantity (text)
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_id | Order_Items : product_id equals Products : product_id
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_id (text) | protein : common_name (text) , protein_name (text) , divergence_from_human_lineage (number) , accession_number (text) , sequence_length (number) , sequence_identity_to_human_protein (text) , Institution_id (text)
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) , Class (text) , Division (text) | school_performance : School_Id (number) , School_Year (text) , Class_A (text) , Class_AA (text) | player : Player_ID (number) , Player (text) , Team (text) , Age (number) , Position (text) , School_ID (number)
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) , Hardware_Model_name (text) , Accreditation_type (text) , Accreditation_level (text) , Date (text) , chip_model (text) , screen_mode (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_Share (text) , Viewers_m (text) , Weekly_Rank (number) , Channel (text) | Cartoon : id (number) , Title (text) , Directed_by (text) , Written_by (text) , Original_air_date (text) , Production_code (number) , Channel (text)
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) | Products : product_id (number) , parent_product_id (number) , product_category_code (text) , date_product_first_available (time) , date_product_discontinued (time) , product_name (text) , product_description (text) , product_price (number) | Complaints : complaint_id (number) , product_id (number) , customer_id (number) , complaint_outcome_code (text) , complaint_status_code (text) , complaint_type_code (text) , date_complaint_raised (time) , date_complaint_closed (time) , staff_id (number)
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) , customer_number (text) , customer_name (text) , customer_address (text) , customer_phone (text) , customer_email (text) | Contacts : contact_id (number) , customer_id (number) , gender (text) , first_name (text) , last_name (text) , contact_phone (text) | Customer_Address_History : customer_id (number) , address_id (number) , date_from (time) , date_to (time) | Customer_Orders : order_id (number) , customer_id (number) , order_date (time) , order_status_code (text) | Order_Items : order_item_id (number) , order_id (number) , product_id (number) , order_quantity (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) | project : Pname (text) , Pnumber (number) , Plocation (text) , Dnum (number) | dependent : Essn (number) , Dependent_name (text) , Sex (text) , Bdate (text) , Relationship (text) | dept_locations : Dnumber (number) , Dlocation (text)
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) , catalog_level_name (text) | Catalog_Contents : catalog_entry_id (number) , catalog_level_number (number) , parent_entry_id (number) , previous_entry_id (number) , next_entry_id (number) , catalog_entry_name (text) , product_stock_number (text) , price_in_dollars (number) , price_in_euros (number) , price_in_pounds (number) , capacity (text) , length (text) , height (text) , width (text) | Catalog_Contents_Additional_Attributes : catalog_entry_id (number) , catalog_level_number (number) , attribute_id (number) , attribute_value (text)
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_id equals Catalog_Contents : catalog_entry_id