diff --git "a/dataset/multispider/with_english_value/tables_zh.json" "b/dataset/multispider/with_english_value/tables_zh.json" new file mode 100644--- /dev/null +++ "b/dataset/multispider/with_english_value/tables_zh.json" @@ -0,0 +1,50555 @@ +[ + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "罪犯ID" + ], + [ + 0, + "个人ID" + ], + [ + 0, + "日期" + ], + [ + 0, + "年份" + ], + [ + 0, + "地点" + ], + [ + 0, + "国家" + ], + [ + 0, + "杀害人数" + ], + [ + 0, + "致伤人数" + ], + [ + 1, + "个人ID" + ], + [ + 1, + "名字" + ], + [ + 1, + "身高" + ], + [ + 1, + "体重" + ], + [ + 1, + "家乡" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "Perpetrator_ID" + ], + [ + 0, + "People_ID" + ], + [ + 0, + "Date" + ], + [ + 0, + "Year" + ], + [ + 0, + "Location" + ], + [ + 0, + "Country" + ], + [ + 0, + "Killed" + ], + [ + 0, + "Injured" + ], + [ + 1, + "People_ID" + ], + [ + 1, + "Name" + ], + [ + 1, + "Height" + ], + [ + 1, + "Weight" + ], + [ + 1, + "Home Town" + ] + ], + "column_types": [ + "text", + "number", + "number", + "text", + "number", + "text", + "text", + "number", + "number", + "number", + "text", + "number", + "number", + "text" + ], + "db_id": "perpetrator", + "foreign_keys": [ + [ + 2, + 9 + ] + ], + "primary_keys": [ + 1, + 9 + ], + "table_names": [ + "罪犯", + "个人" + ], + "table_names_original": [ + "perpetrator", + "people" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "建筑" + ], + [ + 0, + "教室号" + ], + [ + 0, + "容纳人数" + ], + [ + 1, + "院系名称" + ], + [ + 1, + "建筑" + ], + [ + 1, + "预算" + ], + [ + 2, + "课程ID" + ], + [ + 2, + "课程名称" + ], + [ + 2, + "院系名称" + ], + [ + 2, + "学分" + ], + [ + 3, + "教师ID" + ], + [ + 3, + "姓名" + ], + [ + 3, + "院系名称" + ], + [ + 3, + "薪水" + ], + [ + 4, + "课程ID" + ], + [ + 4, + "课程分区ID" + ], + [ + 4, + "学期" + ], + [ + 4, + "学年" + ], + [ + 4, + "建筑" + ], + [ + 4, + "教室号" + ], + [ + 4, + "课程时段ID" + ], + [ + 5, + "教师ID" + ], + [ + 5, + "课程ID" + ], + [ + 5, + "课程分区ID" + ], + [ + 5, + "学期" + ], + [ + 5, + "学年" + ], + [ + 6, + "学生ID" + ], + [ + 6, + "姓名" + ], + [ + 6, + "院系名称" + ], + [ + 6, + "学分" + ], + [ + 7, + "学生ID" + ], + [ + 7, + "课程ID" + ], + [ + 7, + "课程分区ID" + ], + [ + 7, + "学期" + ], + [ + 7, + "学年" + ], + [ + 7, + "成绩" + ], + [ + 8, + "学生ID" + ], + [ + 8, + "教师ID" + ], + [ + 9, + "课程时段ID" + ], + [ + 9, + "日期" + ], + [ + 9, + "开始小时" + ], + [ + 9, + "开始分钟" + ], + [ + 9, + "结束小时" + ], + [ + 9, + "结束分钟" + ], + [ + 10, + "课程ID" + ], + [ + 10, + "先修课程ID" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "building" + ], + [ + 0, + "room_number" + ], + [ + 0, + "capacity" + ], + [ + 1, + "dept_name" + ], + [ + 1, + "building" + ], + [ + 1, + "budget" + ], + [ + 2, + "course_id" + ], + [ + 2, + "title" + ], + [ + 2, + "dept_name" + ], + [ + 2, + "credits" + ], + [ + 3, + "ID" + ], + [ + 3, + "name" + ], + [ + 3, + "dept_name" + ], + [ + 3, + "salary" + ], + [ + 4, + "course_id" + ], + [ + 4, + "sec_id" + ], + [ + 4, + "semester" + ], + [ + 4, + "year" + ], + [ + 4, + "building" + ], + [ + 4, + "room_number" + ], + [ + 4, + "time_slot_id" + ], + [ + 5, + "ID" + ], + [ + 5, + "course_id" + ], + [ + 5, + "sec_id" + ], + [ + 5, + "semester" + ], + [ + 5, + "year" + ], + [ + 6, + "ID" + ], + [ + 6, + "name" + ], + [ + 6, + "dept_name" + ], + [ + 6, + "tot_cred" + ], + [ + 7, + "ID" + ], + [ + 7, + "course_id" + ], + [ + 7, + "sec_id" + ], + [ + 7, + "semester" + ], + [ + 7, + "year" + ], + [ + 7, + "grade" + ], + [ + 8, + "s_ID" + ], + [ + 8, + "i_ID" + ], + [ + 9, + "time_slot_id" + ], + [ + 9, + "day" + ], + [ + 9, + "start_hr" + ], + [ + 9, + "start_min" + ], + [ + 9, + "end_hr" + ], + [ + 9, + "end_min" + ], + [ + 10, + "course_id" + ], + [ + 10, + "prereq_id" + ] + ], + "column_types": [ + "text", + "text", + "text", + "number", + "text", + "text", + "number", + "text", + "text", + "text", + "number", + "text", + "text", + "text", + "number", + "text", + "text", + "text", + "number", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "number", + "text", + "text", + "text", + "number", + "text", + "text", + "text", + "text", + "number", + "text", + "text", + "text", + "text", + "text", + "number", + "number", + "number", + "number", + "text", + "text" + ], + "db_id": "college_2", + "foreign_keys": [ + [ + 9, + 4 + ], + [ + 13, + 4 + ], + [ + 19, + 1 + ], + [ + 20, + 2 + ], + [ + 15, + 7 + ], + [ + 22, + 11 + ], + [ + 23, + 15 + ], + [ + 24, + 16 + ], + [ + 25, + 17 + ], + [ + 26, + 18 + ], + [ + 29, + 4 + ], + [ + 31, + 27 + ], + [ + 32, + 15 + ], + [ + 33, + 16 + ], + [ + 34, + 17 + ], + [ + 35, + 18 + ], + [ + 37, + 27 + ], + [ + 38, + 11 + ], + [ + 46, + 7 + ], + [ + 45, + 7 + ] + ], + "primary_keys": [ + 1, + 4, + 7, + 11, + 15, + 22, + 27, + 31, + 37, + 39, + 45 + ], + "table_names": [ + "教室", + "院系", + "课程", + "教师", + "课程分区", + "教授课程", + "学生", + "修读课程", + "导师", + "课程时段", + "先修课程" + ], + "table_names_original": [ + "classroom", + "department", + "course", + "instructor", + "section", + "teaches", + "student", + "takes", + "advisor", + "time_slot", + "prereq" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "机场ID" + ], + [ + 0, + "城市" + ], + [ + 0, + "国家" + ], + [ + 0, + "IATA" + ], + [ + 0, + "ICAO" + ], + [ + 0, + "名称" + ], + [ + 1, + "公司ID" + ], + [ + 1, + "名称" + ], + [ + 1, + "类型" + ], + [ + 1, + "业务" + ], + [ + 1, + "所属地" + ], + [ + 1, + "集团股权" + ], + [ + 2, + "航班ID" + ], + [ + 2, + "航班号" + ], + [ + 2, + "日期" + ], + [ + 2, + "飞行员" + ], + [ + 2, + "速度" + ], + [ + 2, + "飞行高度" + ], + [ + 2, + "机��ID" + ], + [ + 2, + "公司ID" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "id" + ], + [ + 0, + "City" + ], + [ + 0, + "Country" + ], + [ + 0, + "IATA" + ], + [ + 0, + "ICAO" + ], + [ + 0, + "name" + ], + [ + 1, + "id" + ], + [ + 1, + "name" + ], + [ + 1, + "Type" + ], + [ + 1, + "Principal_activities" + ], + [ + 1, + "Incorporated_in" + ], + [ + 1, + "Group_Equity_Shareholding" + ], + [ + 2, + "id" + ], + [ + 2, + "Vehicle_Flight_number" + ], + [ + 2, + "Date" + ], + [ + 2, + "Pilot" + ], + [ + 2, + "Velocity" + ], + [ + 2, + "Altitude" + ], + [ + 2, + "airport_id" + ], + [ + 2, + "company_id" + ] + ], + "column_types": [ + "text", + "number", + "text", + "text", + "text", + "text", + "text", + "number", + "text", + "text", + "text", + "text", + "number", + "number", + "text", + "text", + "text", + "number", + "number", + "number", + "number" + ], + "db_id": "flight_company", + "foreign_keys": [ + [ + 20, + 7 + ], + [ + 19, + 1 + ] + ], + "primary_keys": [ + 1, + 7, + 13 + ], + "table_names": [ + "机场", + "公司", + "航班" + ], + "table_names_original": [ + "airport", + "operate_company", + "flight" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "机构ID" + ], + [ + 0, + "名称" + ], + [ + 0, + "国家" + ], + [ + 1, + "作者ID" + ], + [ + 1, + "姓" + ], + [ + 1, + "名" + ], + [ + 2, + "论文ID" + ], + [ + 2, + "标题" + ], + [ + 3, + "作者ID" + ], + [ + 3, + "机构ID" + ], + [ + 3, + "论文ID" + ], + [ + 3, + "作者排序" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "instID" + ], + [ + 0, + "name" + ], + [ + 0, + "country" + ], + [ + 1, + "authID" + ], + [ + 1, + "lname" + ], + [ + 1, + "fname" + ], + [ + 2, + "paperID" + ], + [ + 2, + "title" + ], + [ + 3, + "authID" + ], + [ + 3, + "instID" + ], + [ + 3, + "paperID" + ], + [ + 3, + "authOrder" + ] + ], + "column_types": [ + "text", + "number", + "text", + "text", + "number", + "text", + "text", + "number", + "text", + "number", + "number", + "number", + "number" + ], + "db_id": "icfp_1", + "foreign_keys": [ + [ + 11, + 7 + ], + [ + 10, + 1 + ], + [ + 9, + 4 + ] + ], + "primary_keys": [ + 1, + 4, + 7, + 9 + ], + "table_names": [ + "机构", + "作者", + "论文", + "论文作者" + ], + "table_names_original": [ + "Inst", + "Authors", + "Papers", + "Authorship" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "健美运动员ID" + ], + [ + 0, + "个人ID" + ], + [ + 0, + "抓举" + ], + [ + 0, + "挺举" + ], + [ + 0, + "总分" + ], + [ + 1, + "个人ID" + ], + [ + 1, + "名字" + ], + [ + 1, + "身高" + ], + [ + 1, + "体重" + ], + [ + 1, + "出生日期" + ], + [ + 1, + "出生地" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "Body_Builder_ID" + ], + [ + 0, + "People_ID" + ], + [ + 0, + "Snatch" + ], + [ + 0, + "Clean_Jerk" + ], + [ + 0, + "Total" + ], + [ + 1, + "People_ID" + ], + [ + 1, + "Name" + ], + [ + 1, + "Height" + ], + [ + 1, + "Weight" + ], + [ + 1, + "Birth_Date" + ], + [ + 1, + "Birth_Place" + ] + ], + "column_types": [ + "text", + "number", + "number", + "number", + "number", + "number", + "number", + "text", + "number", + "number", + "text", + "text" + ], + "db_id": "body_builder", + "foreign_keys": [ + [ + 2, + 6 + ] + ], + "primary_keys": [ + 1, + 6 + ], + "table_names": [ + "健美运动员", + "个人信息" + ], + "table_names_original": [ + "body_builder", + "people" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "风暴ID" + ], + [ + 0, + "名字" + ], + [ + 0, + "活跃期" + ], + [ + 0, + "最大速度" + ], + [ + 0, + "经济损失" + ], + [ + 0, + "死亡人数" + ], + [ + 1, + "地区ID" + ], + [ + 1, + "地区代码" + ], + [ + 1, + "地区名称" + ], + [ + 2, + "地区ID" + ], + [ + 2, + "风暴ID" + ], + [ + 2, + "受灾城市数量" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "Storm_ID" + ], + [ + 0, + "Name" + ], + [ + 0, + "Dates_active" + ], + [ + 0, + "Max_speed" + ], + [ + 0, + "Damage_millions_USD" + ], + [ + 0, + "Number_Deaths" + ], + [ + 1, + "Region_id" + ], + [ + 1, + "Region_code" + ], + [ + 1, + "Region_name" + ], + [ + 2, + "Region_id" + ], + [ + 2, + "Storm_ID" + ], + [ + 2, + "Number_city_affected" + ] + ], + "column_types": [ + "text", + "number", + "text", + "text", + "number", + "number", + "number", + "number", + "text", + "text", + "number", + "number", + "number" + ], + "db_id": "storm_record", + "foreign_keys": [ + [ + 11, + 1 + ], + [ + 10, + 7 + ] + ], + "primary_keys": [ + 1, + 7, + 10 + ], + "table_names": [ + "风暴", + "地区", + "受灾地区" + ], + "table_names_original": [ + "storm", + "region", + "affected_region" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "飞机ID" + ], + [ + 0, + "订购年份" + ], + [ + 0, + "制造商" + ], + [ + 0, + "型号" + ], + [ + 0, + "机组系列" + ], + [ + 0, + "动力系统" + ], + [ + 0, + "燃料" + ], + [ + 1, + "飞行员ID" + ], + [ + 1, + "飞行员姓名" + ], + [ + 1, + "排名" + ], + [ + 1, + "年龄" + ], + [ + 1, + "国籍" + ], + [ + 1, + "职位" + ], + [ + 1, + "入职年份" + ], + [ + 1, + "团队" + ], + [ + 2, + "记录ID" + ], + [ + 2, + "飞行员ID" + ], + [ + 2, + "飞机ID" + ], + [ + 2, + "日期" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "Aircraft_ID" + ], + [ + 0, + "Order_Year" + ], + [ + 0, + "Manufacturer" + ], + [ + 0, + "Model" + ], + [ + 0, + "Fleet_Series" + ], + [ + 0, + "Powertrain" + ], + [ + 0, + "Fuel_Propulsion" + ], + [ + 1, + "Pilot_ID" + ], + [ + 1, + "Pilot_name" + ], + [ + 1, + "Rank" + ], + [ + 1, + "Age" + ], + [ + 1, + "Nationality" + ], + [ + 1, + "Position" + ], + [ + 1, + "Join_Year" + ], + [ + 1, + "Team" + ], + [ + 2, + "Record_ID" + ], + [ + 2, + "Pilot_ID" + ], + [ + 2, + "Aircraft_ID" + ], + [ + 2, + "Date" + ] + ], + "column_types": [ + "text", + "number", + "number", + "text", + "text", + "text", + "text", + "text", + "number", + "text", + "number", + "number", + "text", + "text", + "number", + "text", + "number", + "number", + "number", + "text" + ], + "db_id": "pilot_record", + "foreign_keys": [ + [ + 18, + 1 + ], + [ + 17, + 8 + ] + ], + "primary_keys": [ + 1, + 8, + 17 + ], + "table_names": [ + "飞机", + "飞行员", + "飞行记录" + ], + "table_names_original": [ + "aircraft", + "pilot", + "pilot_record" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "比赛ID" + ], + [ + 0, + "名称" + ], + [ + 0, + "类别" + ], + [ + 0, + "日期" + ], + [ + 0, + "赛道ID" + ], + [ + 1, + "赛道ID" + ], + [ + 1, + "名称" + ], + [ + 1, + "位置" + ], + [ + 1, + "观众席数量" + ], + [ + 1, + "启用年份" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "Race_ID" + ], + [ + 0, + "Name" + ], + [ + 0, + "Class" + ], + [ + 0, + "Date" + ], + [ + 0, + "Track_ID" + ], + [ + 1, + "Track_ID" + ], + [ + 1, + "Name" + ], + [ + 1, + "Location" + ], + [ + 1, + "Seating" + ], + [ + 1, + "Year_Opened" + ] + ], + "column_types": [ + "text", + "number", + "text", + "text", + "text", + "text", + "number", + "text", + "text", + "number", + "number" + ], + "db_id": "race_track", + "foreign_keys": [ + [ + 5, + 6 + ] + ], + "primary_keys": [ + 1, + 6 + ], + "table_names": [ + "比赛", + "赛道" + ], + "table_names_original": [ + "race", + "track" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "作者ID" + ], + [ + 0, + "个人主页" + ], + [ + 0, + "姓名" + ], + [ + 0, + "单位ID" + ], + [ + 1, + "会议ID" + ], + [ + 1, + "首页" + ], + [ + 1, + "名称" + ], + [ + 2, + "领域ID" + ], + [ + 2, + "名称" + ], + [ + 3, + "作者ID" + ], + [ + 3, + "领域ID" + ], + [ + 4, + "会议ID" + ], + [ + 4, + "领域ID" + ], + [ + 5, + "首页" + ], + [ + 5, + "期刊ID" + ], + [ + 5, + "名称" + ], + [ + 6, + "领域ID" + ], + [ + 6, + "期刊ID" + ], + [ + 7, + "关键词" + ], + [ + 7, + "关键词ID" + ], + [ + 8, + "领域ID" + ], + [ + 8, + "关键词ID" + ], + [ + 9, + "摘要" + ], + [ + 9, + "会议ID" + ], + [ + 9, + "引用次数" + ], + [ + 9, + "期刊ID" + ], + [ + 9, + "论文ID" + ], + [ + 9, + "参考文献数" + ], + [ + 9, + "标题" + ], + [ + 9, + "发表年份" + ], + [ + 10, + "领域ID" + ], + [ + 10, + "论文ID" + ], + [ + 11, + "大洲" + ], + [ + 11, + "首页" + ], + [ + 11, + "名称" + ], + [ + 11, + "单位ID" + ], + [ + 12, + "论文ID" + ], + [ + 12, + "关键词ID" + ], + [ + 13, + "作者ID" + ], + [ + 13, + "论文ID" + ], + [ + 14, + "被引数" + ], + [ + 14, + "引用数" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "aid" + ], + [ + 0, + "homepage" + ], + [ + 0, + "name" + ], + [ + 0, + "oid" + ], + [ + 1, + "cid" + ], + [ + 1, + "homepage" + ], + [ + 1, + "name" + ], + [ + 2, + "did" + ], + [ + 2, + "name" + ], + [ + 3, + "aid" + ], + [ + 3, + "did" + ], + [ + 4, + "cid" + ], + [ + 4, + "did" + ], + [ + 5, + "homepage" + ], + [ + 5, + "jid" + ], + [ + 5, + "name" + ], + [ + 6, + "did" + ], + [ + 6, + "jid" + ], + [ + 7, + "keyword" + ], + [ + 7, + "kid" + ], + [ + 8, + "did" + ], + [ + 8, + "kid" + ], + [ + 9, + "abstract" + ], + [ + 9, + "cid" + ], + [ + 9, + "citation_num" + ], + [ + 9, + "jid" + ], + [ + 9, + "pid" + ], + [ + 9, + "reference_num" + ], + [ + 9, + "title" + ], + [ + 9, + "year" + ], + [ + 10, + "did" + ], + [ + 10, + "pid" + ], + [ + 11, + "continent" + ], + [ + 11, + "homepage" + ], + [ + 11, + "name" + ], + [ + 11, + "oid" + ], + [ + 12, + "pid" + ], + [ + 12, + "kid" + ], + [ + 13, + "aid" + ], + [ + 13, + "pid" + ], + [ + 14, + "cited" + ], + [ + 14, + "citing" + ] + ], + "column_types": [ + "text", + "number", + "text", + "text", + "number", + "number", + "text", + "text", + "number", + "text", + "number", + "number", + "number", + "number", + "text", + "number", + "text", + "number", + "number", + "text", + "number", + "number", + "number", + "text", + "text", + "number", + "number", + "number", + "number", + "text", + "number", + "number", + "number", + "text", + "text", + "text", + "number", + "number", + "number", + "number", + "number", + "number", + "number" + ], + "db_id": "academic", + "foreign_keys": [ + [ + 11, + 8 + ], + [ + 10, + 1 + ], + [ + 13, + 8 + ], + [ + 12, + 5 + ], + [ + 17, + 8 + ], + [ + 18, + 15 + ], + [ + 21, + 8 + ], + [ + 22, + 20 + ], + [ + 24, + 5 + ], + [ + 26, + 15 + ], + [ + 31, + 8 + ], + [ + 32, + 27 + ], + [ + 38, + 20 + ], + [ + 37, + 27 + ], + [ + 39, + 1 + ], + [ + 40, + 27 + ], + [ + 42, + 27 + ], + [ + 41, + 27 + ] + ], + "primary_keys": [ + 1, + 5, + 8, + 11, + 13, + 15, + 17, + 20, + 21, + 27, + 31, + 36, + 38, + 39 + ], + "table_names": [ + "作者", + "会议", + "领域", + "领域作者", + "领域会议", + "期刊", + "领域期刊", + "关键词", + "领域关键词", + "论文", + "领域论文", + "单位", + "论文关键词", + "论文作者", + "论文引用" + ], + "table_names_original": [ + "author", + "conference", + "domain", + "domain_author", + "domain_conference", + "journal", + "domain_journal", + "keyword", + "domain_keyword", + "publication", + "domain_publication", + "organization", + "publication_keyword", + "writes", + "cite" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "地址ID" + ], + [ + 0, + "地址详情" + ], + [ + 1, + "员工ID" + ], + [ + 1, + "性别" + ], + [ + 1, + "姓名" + ], + [ + 2, + "供货商ID" + ], + [ + 2, + "供货商名称" + ], + [ + 2, + "供货商电话" + ], + [ + 3, + "连锁店ID" + ], + [ + 3, + "连锁店名称" + ], + [ + 4, + "顾客ID" + ], + [ + 4, + "付款方式代码" + ], + [ + 4, + "顾客号" + ], + [ + 4, + "顾客姓名" + ], + [ + 4, + "顾客地址" + ], + [ + 4, + "顾客电话" + ], + [ + 4, + "顾客电子邮箱" + ], + [ + 5, + "商品ID" + ], + [ + 5, + "商品类型" + ], + [ + 5, + "商品名称" + ], + [ + 5, + "商品价格" + ], + [ + 6, + "供货商ID" + ], + [ + 6, + "地址ID" + ], + [ + 6, + "开始日期" + ], + [ + 6, + "结束日期" + ], + [ + 7, + "顾客ID" + ], + [ + 7, + "地址ID" + ], + [ + 7, + "开始日期" + ], + [ + 7, + "结束日期" + ], + [ + 8, + "订单ID" + ], + [ + 8, + "顾客ID" + ], + [ + 8, + "订单状态" + ], + [ + 8, + "订单日期" + ], + [ + 9, + "商店ID" + ], + [ + 9, + "连锁店ID" + ], + [ + 9, + "商店名称" + ], + [ + 9, + "商店地址" + ], + [ + 9, + "商店电话" + ], + [ + 9, + "商店电子邮箱" + ], + [ + 10, + "部门ID" + ], + [ + 10, + "商店ID" + ], + [ + 10, + "部门名称" + ], + [ + 11, + "商品订购ID" + ], + [ + 11, + "订单ID" + ], + [ + 11, + "商品ID" + ], + [ + 12, + "商品ID" + ], + [ + 12, + "供货商ID" + ], + [ + 12, + "开始日期" + ], + [ + 12, + "结束日期" + ], + [ + 12, + "供货数量" + ], + [ + 12, + "总价" + ], + [ + 13, + "员工ID" + ], + [ + 13, + "部门ID" + ], + [ + 13, + "入职日期" + ], + [ + 13, + "职位" + ], + [ + 13, + "离职日期" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "address_id" + ], + [ + 0, + "address_details" + ], + [ + 1, + "staff_id" + ], + [ + 1, + "staff_gender" + ], + [ + 1, + "staff_name" + ], + [ + 2, + "supplier_id" + ], + [ + 2, + "supplier_name" + ], + [ + 2, + "supplier_phone" + ], + [ + 3, + "dept_store_chain_id" + ], + [ + 3, + "dept_store_chain_name" + ], + [ + 4, + "customer_id" + ], + [ + 4, + "payment_method_code" + ], + [ + 4, + "customer_code" + ], + [ + 4, + "customer_name" + ], + [ + 4, + "customer_address" + ], + [ + 4, + "customer_phone" + ], + [ + 4, + "customer_email" + ], + [ + 5, + "product_id" + ], + [ + 5, + "product_type_code" + ], + [ + 5, + "product_name" + ], + [ + 5, + "product_price" + ], + [ + 6, + "supplier_id" + ], + [ + 6, + "address_id" + ], + [ + 6, + "date_from" + ], + [ + 6, + "date_to" + ], + [ + 7, + "customer_id" + ], + [ + 7, + "address_id" + ], + [ + 7, + "date_from" + ], + [ + 7, + "date_to" + ], + [ + 8, + "order_id" + ], + [ + 8, + "customer_id" + ], + [ + 8, + "order_status_code" + ], + [ + 8, + "order_date" + ], + [ + 9, + "dept_store_id" + ], + [ + 9, + "dept_store_chain_id" + ], + [ + 9, + "store_name" + ], + [ + 9, + "store_address" + ], + [ + 9, + "store_phone" + ], + [ + 9, + "store_email" + ], + [ + 10, + "department_id" + ], + [ + 10, + "dept_store_id" + ], + [ + 10, + "department_name" + ], + [ + 11, + "order_item_id" + ], + [ + 11, + "order_id" + ], + [ + 11, + "product_id" + ], + [ + 12, + "product_id" + ], + [ + 12, + "supplier_id" + ], + [ + 12, + "date_supplied_from" + ], + [ + 12, + "date_supplied_to" + ], + [ + 12, + "total_amount_purchased" + ], + [ + 12, + "total_value_purchased" + ], + [ + 13, + "staff_id" + ], + [ + 13, + "department_id" + ], + [ + 13, + "date_assigned_from" + ], + [ + 13, + "job_title_code" + ], + [ + 13, + "date_assigned_to" + ] + ], + "column_types": [ + "text", + "number", + "text", + "number", + "text", + "text", + "number", + "text", + "text", + "number", + "text", + "number", + "text", + "text", + "text", + "text", + "text", + "text", + "number", + "text", + "text", + "number", + "number", + "number", + "time", + "time", + "number", + "number", + "time", + "time", + "number", + "number", + "text", + "time", + "number", + "number", + "text", + "text", + "text", + "text", + "number", + "number", + "text", + "number", + "number", + "number", + "number", + "number", + "time", + "time", + "text", + "number", + "number", + "number", + "time", + "text", + "time" + ], + "db_id": "department_store", + "foreign_keys": [ + [ + 22, + 6 + ], + [ + 23, + 1 + ], + [ + 26, + 11 + ], + [ + 27, + 1 + ], + [ + 31, + 11 + ], + [ + 35, + 9 + ], + [ + 41, + 34 + ], + [ + 45, + 18 + ], + [ + 44, + 30 + ], + [ + 46, + 18 + ], + [ + 47, + 6 + ], + [ + 52, + 3 + ], + [ + 53, + 40 + ] + ], + "primary_keys": [ + 1, + 3, + 6, + 9, + 11, + 18, + 22, + 26, + 30, + 34, + 40, + 43, + 46, + 52 + ], + "table_names": [ + "地址", + "员工", + "供货商", + "连锁店", + "顾客", + "商品", + "供货商地址", + "顾客地址", + "订单", + "商店", + "部门", + "商品订购", + "供货", + "员工部门分配" + ], + "table_names_original": [ + "Addresses", + "Staff", + "Suppliers", + "Department_Store_Chain", + "Customers", + "Products", + "Supplier_Addresses", + "Customer_Addresses", + "Customer_Orders", + "Department_Stores", + "Departments", + "Order_Items", + "Product_Suppliers", + "Staff_Department_Assignments" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "艺人ID" + ], + [ + 0, + "姓名" + ], + [ + 0, + "年龄" + ], + [ + 0, + "头衔" + ], + [ + 0, + "成名日期" + ], + [ + 1, + "专辑ID" + ], + [ + 1, + "专辑时长" + ], + [ + 1, + "发行日期" + ], + [ + 1, + "热门周数" + ], + [ + 1, + "歌曲" + ], + [ + 1, + "艺人ID" + ], + [ + 2, + "音乐节ID" + ], + [ + 2, + "名称" + ], + [ + 2, + "典礼日期" + ], + [ + 2, + "类别" + ], + [ + 2, + "专辑ID" + ], + [ + 2, + "获奖结果" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "Artist_ID" + ], + [ + 0, + "Artist" + ], + [ + 0, + "Age" + ], + [ + 0, + "Famous_Title" + ], + [ + 0, + "Famous_Release_date" + ], + [ + 1, + "Volume_ID" + ], + [ + 1, + "Volume_Issue" + ], + [ + 1, + "Issue_Date" + ], + [ + 1, + "Weeks_on_Top" + ], + [ + 1, + "Song" + ], + [ + 1, + "Artist_ID" + ], + [ + 2, + "ID" + ], + [ + 2, + "Music_Festival" + ], + [ + 2, + "Date_of_ceremony" + ], + [ + 2, + "Category" + ], + [ + 2, + "Volume" + ], + [ + 2, + "Result" + ] + ], + "column_types": [ + "text", + "number", + "text", + "number", + "text", + "text", + "number", + "text", + "text", + "number", + "text", + "number", + "number", + "text", + "text", + "text", + "number", + "text" + ], + "db_id": "music_4", + "foreign_keys": [ + [ + 11, + 1 + ], + [ + 16, + 6 + ] + ], + "primary_keys": [ + 1, + 6, + 12 + ], + "table_names": [ + "艺人", + "专辑", + "音乐节" + ], + "table_names_original": [ + "artist", + "volume", + "music_festival" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "客户ID" + ], + [ + 0, + "客户姓名" + ], + [ + 1, + "服务ID" + ], + [ + 1, + "服务名称" + ], + [ + 2, + "保险ID" + ], + [ + 2, + "保险类型" + ], + [ + 2, + "客户电话号码" + ], + [ + 3, + "客户ID" + ], + [ + 3, + "保险ID" + ], + [ + 3, + "开始日期" + ], + [ + 3, + "结束日期" + ], + [ + 4, + "首次损失报告ID" + ], + [ + 4, + "客户ID" + ], + [ + 4, + "保险ID" + ], + [ + 4, + "服务ID" + ], + [ + 5, + "索赔ID" + ], + [ + 5, + "首次损失报告ID" + ], + [ + 5, + "生效日期" + ], + [ + 6, + "理赔ID" + ], + [ + 6, + "索赔ID" + ], + [ + 6, + "生效日期" + ], + [ + 6, + "理赔金额" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "Customer_ID" + ], + [ + 0, + "Customer_name" + ], + [ + 1, + "Service_ID" + ], + [ + 1, + "Service_name" + ], + [ + 2, + "Policy_ID" + ], + [ + 2, + "policy_type_code" + ], + [ + 2, + "Customer_Phone" + ], + [ + 3, + "Customer_ID" + ], + [ + 3, + "Policy_ID" + ], + [ + 3, + "Date_Opened" + ], + [ + 3, + "Date_Closed" + ], + [ + 4, + "FNOL_ID" + ], + [ + 4, + "Customer_ID" + ], + [ + 4, + "Policy_ID" + ], + [ + 4, + "Service_ID" + ], + [ + 5, + "Claim_ID" + ], + [ + 5, + "FNOL_ID" + ], + [ + 5, + "Effective_Date" + ], + [ + 6, + "Settlement_ID" + ], + [ + 6, + "Claim_ID" + ], + [ + 6, + "Effective_Date" + ], + [ + 6, + "Settlement_Amount" + ] + ], + "column_types": [ + "text", + "number", + "text", + "number", + "text", + "number", + "text", + "text", + "number", + "number", + "time", + "time", + "number", + "number", + "number", + "number", + "number", + "number", + "time", + "number", + "number", + "time", + "number" + ], + "db_id": "insurance_fnol", + "foreign_keys": [ + [ + 9, + 5 + ], + [ + 8, + 1 + ], + [ + 13, + 8 + ], + [ + 14, + 9 + ], + [ + 15, + 3 + ], + [ + 17, + 12 + ], + [ + 20, + 16 + ] + ], + "primary_keys": [ + 1, + 3, + 5, + 8, + 12, + 16, + 19 + ], + "table_names": [ + "客户", + "服务", + "可用保险", + "保单", + "首次损失报告", + "索赔", + "理赔" + ], + "table_names_original": [ + "Customers", + "Services", + "Available_Policies", + "Customers_Policies", + "First_Notification_of_Loss", + "Claims", + "Settlements" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "影片ID" + ], + [ + 0, + "排名" + ], + [ + 0, + "季度" + ], + [ + 0, + "片名" + ], + [ + 0, + "导演" + ], + [ + 0, + "上映日期" + ], + [ + 0, + "制片码" + ], + [ + 1, + "影院ID" + ], + [ + 1, + "名称" + ], + [ + 1, + "开业年份" + ], + [ + 1, + "可容纳人数" + ], + [ + 1, + "地点" + ], + [ + 2, + "影院ID" + ], + [ + 2, + "影片ID" + ], + [ + 2, + "日期" + ], + [ + 2, + "每日放映场数" + ], + [ + 2, + "价格" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "Film_ID" + ], + [ + 0, + "Rank_in_series" + ], + [ + 0, + "Number_in_season" + ], + [ + 0, + "Title" + ], + [ + 0, + "Directed_by" + ], + [ + 0, + "Original_air_date" + ], + [ + 0, + "Production_code" + ], + [ + 1, + "Cinema_ID" + ], + [ + 1, + "Name" + ], + [ + 1, + "Openning_year" + ], + [ + 1, + "Capacity" + ], + [ + 1, + "Location" + ], + [ + 2, + "Cinema_ID" + ], + [ + 2, + "Film_ID" + ], + [ + 2, + "Date" + ], + [ + 2, + "Show_times_per_day" + ], + [ + 2, + "Price" + ] + ], + "column_types": [ + "text", + "number", + "number", + "number", + "text", + "text", + "text", + "text", + "number", + "text", + "number", + "number", + "text", + "number", + "number", + "text", + "number", + "number" + ], + "db_id": "cinema", + "foreign_keys": [ + [ + 13, + 8 + ], + [ + 14, + 1 + ] + ], + "primary_keys": [ + 1, + 8, + 13 + ], + "table_names": [ + "影片", + "影院", + "放映日程" + ], + "table_names_original": [ + "film", + "cinema", + "schedule" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "学校ID" + ], + [ + 0, + "名称" + ], + [ + 0, + "领队" + ], + [ + 0, + "学校位置" + ], + [ + 1, + "选手ID" + ], + [ + 1, + "姓名" + ], + [ + 1, + "国家" + ], + [ + 1, + "学校ID" + ], + [ + 2, + "比赛ID" + ], + [ + 2, + "选手ID" + ], + [ + 2, + "主题" + ], + [ + 2, + "排名" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "College_ID" + ], + [ + 0, + "Name" + ], + [ + 0, + "Leader_Name" + ], + [ + 0, + "College_Location" + ], + [ + 1, + "Member_ID" + ], + [ + 1, + "Name" + ], + [ + 1, + "Country" + ], + [ + 1, + "College_ID" + ], + [ + 2, + "Round_ID" + ], + [ + 2, + "Member_ID" + ], + [ + 2, + "Decoration_Theme" + ], + [ + 2, + "Rank_in_Round" + ] + ], + "column_types": [ + "text", + "number", + "text", + "text", + "text", + "number", + "text", + "text", + "number", + "number", + "number", + "text", + "number" + ], + "db_id": "decoration_competition", + "foreign_keys": [ + [ + 8, + 1 + ], + [ + 10, + 5 + ] + ], + "primary_keys": [ + 1, + 5, + 10 + ], + "table_names": [ + "学校", + "选手", + "比赛" + ], + "table_names_original": [ + "college", + "member", + "round" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "名称" + ], + [ + 0, + "手机ID" + ], + [ + 0, + "内存" + ], + [ + 0, + "运营商" + ], + [ + 0, + "价格" + ], + [ + 1, + "市场ID" + ], + [ + 1, + "地区" + ], + [ + 1, + "员工数量" + ], + [ + 1, + "商店数量" + ], + [ + 1, + "排名" + ], + [ + 2, + "市场ID" + ], + [ + 2, + "手机ID" + ], + [ + 2, + "总库存" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "Name" + ], + [ + 0, + "Phone_ID" + ], + [ + 0, + "Memory_in_G" + ], + [ + 0, + "Carrier" + ], + [ + 0, + "Price" + ], + [ + 1, + "Market_ID" + ], + [ + 1, + "District" + ], + [ + 1, + "Num_of_employees" + ], + [ + 1, + "Num_of_shops" + ], + [ + 1, + "Ranking" + ], + [ + 2, + "Market_ID" + ], + [ + 2, + "Phone_ID" + ], + [ + 2, + "Num_of_stock" + ] + ], + "column_types": [ + "text", + "text", + "number", + "number", + "text", + "number", + "number", + "text", + "number", + "number", + "number", + "number", + "text", + "number" + ], + "db_id": "phone_market", + "foreign_keys": [ + [ + 12, + 2 + ], + [ + 11, + 6 + ] + ], + "primary_keys": [ + 2, + 6, + 11 + ], + "table_names": [ + "手机", + "市场", + "手机市场" + ], + "table_names_original": [ + "phone", + "market", + "phone_market" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "产品ID" + ], + [ + 0, + "产品名称" + ], + [ + 0, + "尺寸" + ], + [ + 0, + "分辨率" + ], + [ + 0, + "每分钟扫描页数" + ], + [ + 0, + "最大页面尺寸" + ], + [ + 0, + "接口" + ], + [ + 1, + "商店ID" + ], + [ + 1, + "商店名称" + ], + [ + 1, + "类型" + ], + [ + 1, + "占地面积" + ], + [ + 1, + "产品种类数" + ], + [ + 1, + "排名" + ], + [ + 2, + "地区ID" + ], + [ + 2, + "地区名称" + ], + [ + 2, + "中心城市" + ], + [ + 2, + "城市人口" + ], + [ + 2, + "城市面积" + ], + [ + 3, + "商店ID" + ], + [ + 3, + "产品ID" + ], + [ + 4, + "商店ID" + ], + [ + 4, + "地区ID" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "product_id" + ], + [ + 0, + "product" + ], + [ + 0, + "dimensions" + ], + [ + 0, + "dpi" + ], + [ + 0, + "pages_per_minute_color" + ], + [ + 0, + "max_page_size" + ], + [ + 0, + "interface" + ], + [ + 1, + "Store_ID" + ], + [ + 1, + "Store_Name" + ], + [ + 1, + "Type" + ], + [ + 1, + "Area_size" + ], + [ + 1, + "Number_of_product_category" + ], + [ + 1, + "Ranking" + ], + [ + 2, + "District_ID" + ], + [ + 2, + "District_name" + ], + [ + 2, + "Headquartered_City" + ], + [ + 2, + "City_Population" + ], + [ + 2, + "City_Area" + ], + [ + 3, + "Store_ID" + ], + [ + 3, + "Product_ID" + ], + [ + 4, + "Store_ID" + ], + [ + 4, + "District_ID" + ] + ], + "column_types": [ + "text", + "number", + "text", + "text", + "number", + "number", + "text", + "text", + "number", + "text", + "text", + "number", + "number", + "number", + "number", + "text", + "text", + "number", + "number", + "number", + "number", + "number", + "number" + ], + "db_id": "store_product", + "foreign_keys": [ + [ + 19, + 8 + ], + [ + 22, + 14 + ], + [ + 21, + 8 + ] + ], + "primary_keys": [ + 1, + 8, + 14, + 19, + 21 + ], + "table_names": [ + "产品", + "商店", + "地区", + "商店所售产品", + "商店所在地" + ], + "table_names_original": [ + "product", + "store", + "district", + "store_product", + "store_district" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "公司ID" + ], + [ + 0, + "公司类型" + ], + [ + 0, + "公司名称" + ], + [ + 0, + "公司地址" + ], + [ + 0, + "详细信息" + ], + [ + 1, + "合同ID" + ], + [ + 1, + "维修公司ID" + ], + [ + 1, + "合同开始日期" + ], + [ + 1, + "合同结束日期" + ], + [ + 1, + "详细信息" + ], + [ + 2, + "零件ID" + ], + [ + 2, + "零件名称" + ], + [ + 2, + "是否收费" + ], + [ + 2, + "收费金额" + ], + [ + 2, + "详细信息" + ], + [ + 3, + "技能ID" + ], + [ + 3, + "技能代码" + ], + [ + 3, + "技能描述" + ], + [ + 4, + "员工ID" + ], + [ + 4, + "员工姓名" + ], + [ + 4, + "性别" + ], + [ + 4, + "详细信息" + ], + [ + 5, + "器件ID" + ], + [ + 5, + "维修合同ID" + ], + [ + 5, + "供货公司ID" + ], + [ + 5, + "器件详情" + ], + [ + 5, + "生产国家" + ], + [ + 5, + "型号" + ], + [ + 5, + "订货日期" + ], + [ + 5, + "到货日期" + ], + [ + 5, + "详细信息" + ], + [ + 6, + "器件ID" + ], + [ + 6, + "零件ID" + ], + [ + 7, + "工程师ID" + ], + [ + 7, + "公司ID" + ], + [ + 7, + "名" + ], + [ + 7, + "姓" + ], + [ + 7, + "详细信息" + ], + [ + 8, + "工程师ID" + ], + [ + 8, + "技能ID" + ], + [ + 9, + "记录ID" + ], + [ + 9, + "器件ID" + ], + [ + 9, + "记录员工ID" + ], + [ + 9, + "记录时间" + ], + [ + 9, + "故障描述" + ], + [ + 9, + "详细信息" + ], + [ + 10, + "上门维修ID" + ], + [ + 10, + "联系员工ID" + ], + [ + 10, + "工程师ID" + ], + [ + 10, + "故障记录ID" + ], + [ + 10, + "故障状态" + ], + [ + 10, + "开始时间" + ], + [ + 10, + "结束时间" + ], + [ + 10, + "详细信息" + ], + [ + 11, + "零件故障ID" + ], + [ + 11, + "零件ID" + ], + [ + 11, + "故障名称" + ], + [ + 11, + "故障描述" + ], + [ + 11, + "详细信息" + ], + [ + 12, + "零件故障记录ID" + ], + [ + 12, + "故障记录ID" + ], + [ + 12, + "故障状态" + ], + [ + 13, + "零件故障ID" + ], + [ + 13, + "技能ID" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "company_id" + ], + [ + 0, + "company_type" + ], + [ + 0, + "company_name" + ], + [ + 0, + "company_address" + ], + [ + 0, + "other_company_details" + ], + [ + 1, + "maintenance_contract_id" + ], + [ + 1, + "maintenance_contract_company_id" + ], + [ + 1, + "contract_start_date" + ], + [ + 1, + "contract_end_date" + ], + [ + 1, + "other_contract_details" + ], + [ + 2, + "part_id" + ], + [ + 2, + "part_name" + ], + [ + 2, + "chargeable_yn" + ], + [ + 2, + "chargeable_amount" + ], + [ + 2, + "other_part_details" + ], + [ + 3, + "skill_id" + ], + [ + 3, + "skill_code" + ], + [ + 3, + "skill_description" + ], + [ + 4, + "staff_id" + ], + [ + 4, + "staff_name" + ], + [ + 4, + "gender" + ], + [ + 4, + "other_staff_details" + ], + [ + 5, + "asset_id" + ], + [ + 5, + "maintenance_contract_id" + ], + [ + 5, + "supplier_company_id" + ], + [ + 5, + "asset_details" + ], + [ + 5, + "asset_make" + ], + [ + 5, + "asset_model" + ], + [ + 5, + "asset_acquired_date" + ], + [ + 5, + "asset_disposed_date" + ], + [ + 5, + "other_asset_details" + ], + [ + 6, + "asset_id" + ], + [ + 6, + "part_id" + ], + [ + 7, + "engineer_id" + ], + [ + 7, + "company_id" + ], + [ + 7, + "first_name" + ], + [ + 7, + "last_name" + ], + [ + 7, + "other_details" + ], + [ + 8, + "engineer_id" + ], + [ + 8, + "skill_id" + ], + [ + 9, + "fault_log_entry_id" + ], + [ + 9, + "asset_id" + ], + [ + 9, + "recorded_by_staff_id" + ], + [ + 9, + "fault_log_entry_datetime" + ], + [ + 9, + "fault_description" + ], + [ + 9, + "other_fault_details" + ], + [ + 10, + "engineer_visit_id" + ], + [ + 10, + "contact_staff_id" + ], + [ + 10, + "engineer_id" + ], + [ + 10, + "fault_log_entry_id" + ], + [ + 10, + "fault_status" + ], + [ + 10, + "visit_start_datetime" + ], + [ + 10, + "visit_end_datetime" + ], + [ + 10, + "other_visit_details" + ], + [ + 11, + "part_fault_id" + ], + [ + 11, + "part_id" + ], + [ + 11, + "fault_short_name" + ], + [ + 11, + "fault_description" + ], + [ + 11, + "other_fault_details" + ], + [ + 12, + "fault_log_entry_id" + ], + [ + 12, + "part_fault_id" + ], + [ + 12, + "fault_status" + ], + [ + 13, + "part_fault_id" + ], + [ + 13, + "skill_id" + ] + ], + "column_types": [ + "text", + "number", + "text", + "text", + "text", + "text", + "number", + "number", + "time", + "time", + "text", + "number", + "text", + "text", + "text", + "text", + "number", + "text", + "text", + "number", + "text", + "text", + "text", + "number", + "number", + "number", + "text", + "text", + "text", + "time", + "time", + "text", + "number", + "number", + "number", + "number", + "text", + "text", + "text", + "number", + "number", + "number", + "number", + "number", + "time", + "text", + "text", + "number", + "number", + "number", + "number", + "text", + "time", + "time", + "text", + "number", + "number", + "text", + "text", + "text", + "number", + "number", + "text", + "number", + "number" + ], + "db_id": "assets_maintenance", + "foreign_keys": [ + [ + 7, + 1 + ], + [ + 25, + 1 + ], + [ + 24, + 6 + ], + [ + 32, + 23 + ], + [ + 33, + 11 + ], + [ + 35, + 1 + ], + [ + 40, + 16 + ], + [ + 39, + 34 + ], + [ + 43, + 19 + ], + [ + 42, + 23 + ], + [ + 48, + 19 + ], + [ + 49, + 34 + ], + [ + 50, + 41 + ], + [ + 56, + 11 + ], + [ + 60, + 41 + ], + [ + 61, + 55 + ], + [ + 64, + 16 + ], + [ + 63, + 55 + ] + ], + "primary_keys": [ + 1, + 6, + 11, + 16, + 19, + 23, + 34, + 41, + 47, + 55 + ], + "table_names": [ + "第三方公司", + "维修合同", + "零件", + "技能", + "员工", + "器件", + "器件零件", + "维修工程师", + "工程师技能", + "故障记录", + "上门维修", + "零件故障", + "零件故障记录", + "维修所需技能" + ], + "table_names_original": [ + "Third_Party_Companies", + "Maintenance_Contracts", + "Parts", + "Skills", + "Staff", + "Assets", + "Asset_Parts", + "Maintenance_Engineers", + "Engineer_Skills", + "Fault_Log", + "Engineer_Visits", + "Part_Faults", + "Fault_Log_Parts", + "Skills_Required_To_Fix" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "地址ID" + ], + [ + 0, + "第一行" + ], + [ + 0, + "第二行" + ], + [ + 0, + "城市" + ], + [ + 0, + "邮箱编码" + ], + [ + 0, + "州/省/县" + ], + [ + 0, + "国家" + ], + [ + 1, + "人的ID" + ], + [ + 1, + "名字" + ], + [ + 1, + "中间名" + ], + [ + 1, + "姓氏" + ], + [ + 1, + "手机号码" + ], + [ + 1, + "电子邮件地址" + ], + [ + 1, + "登录名" + ], + [ + 1, + "密码" + ], + [ + 2, + "学生ID" + ], + [ + 2, + "学生详细信息" + ], + [ + 3, + "课程ID" + ], + [ + 3, + "课程名称" + ], + [ + 3, + "课程描述" + ], + [ + 3, + "详细信息" + ], + [ + 4, + "人的地址ID" + ], + [ + 4, + "人的ID" + ], + [ + 4, + "地址ID" + ], + [ + 4, + "开始日期" + ], + [ + 4, + "���束日期" + ], + [ + 5, + "学生ID" + ], + [ + 5, + "课程ID" + ], + [ + 5, + "注册日期" + ], + [ + 6, + "学生ID" + ], + [ + 6, + "课程ID" + ], + [ + 6, + "出勤日期" + ], + [ + 7, + "候选人ID" + ], + [ + 7, + "候选人详细信息" + ], + [ + 8, + "候选人ID" + ], + [ + 8, + "等级" + ], + [ + 8, + "评估日期" + ], + [ + 8, + "评估结果" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "address_id" + ], + [ + 0, + "line_1" + ], + [ + 0, + "line_2" + ], + [ + 0, + "city" + ], + [ + 0, + "zip_postcode" + ], + [ + 0, + "state_province_county" + ], + [ + 0, + "country" + ], + [ + 1, + "person_id" + ], + [ + 1, + "first_name" + ], + [ + 1, + "middle_name" + ], + [ + 1, + "last_name" + ], + [ + 1, + "cell_mobile_number" + ], + [ + 1, + "email_address" + ], + [ + 1, + "login_name" + ], + [ + 1, + "password" + ], + [ + 2, + "student_id" + ], + [ + 2, + "student_details" + ], + [ + 3, + "course_id" + ], + [ + 3, + "course_name" + ], + [ + 3, + "course_description" + ], + [ + 3, + "other_details" + ], + [ + 4, + "person_address_id" + ], + [ + 4, + "person_id" + ], + [ + 4, + "address_id" + ], + [ + 4, + "date_from" + ], + [ + 4, + "date_to" + ], + [ + 5, + "student_id" + ], + [ + 5, + "course_id" + ], + [ + 5, + "registration_date" + ], + [ + 6, + "student_id" + ], + [ + 6, + "course_id" + ], + [ + 6, + "date_of_attendance" + ], + [ + 7, + "candidate_id" + ], + [ + 7, + "candidate_details" + ], + [ + 8, + "candidate_id" + ], + [ + 8, + "qualification" + ], + [ + 8, + "assessment_date" + ], + [ + 8, + "asessment_outcome_code" + ] + ], + "column_types": [ + "text", + "number", + "text", + "text", + "text", + "text", + "text", + "text", + "number", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "number", + "text", + "text", + "text", + "text", + "text", + "number", + "number", + "number", + "time", + "time", + "number", + "number", + "time", + "number", + "number", + "time", + "number", + "text", + "number", + "text", + "time", + "text" + ], + "db_id": "student_assessment", + "foreign_keys": [ + [ + 16, + 8 + ], + [ + 24, + 1 + ], + [ + 23, + 8 + ], + [ + 28, + 18 + ], + [ + 27, + 16 + ], + [ + 30, + 27 + ], + [ + 31, + 28 + ], + [ + 33, + 8 + ], + [ + 35, + 33 + ] + ], + "primary_keys": [ + 1, + 8, + 16, + 18, + 22, + 27, + 30, + 33, + 35 + ], + "table_names": [ + "地址", + "人", + "学生", + "课程", + "人的地址", + "学生课程注册", + "学生课程考勤", + "候选人", + "候选人评估" + ], + "table_names_original": [ + "Addresses", + "People", + "Students", + "Courses", + "People_Addresses", + "Student_Course_Registrations", + "Student_Course_Attendance", + "Candidates", + "Candidate_Assessments" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "品种代码" + ], + [ + 0, + "品种名称" + ], + [ + 1, + "收费ID" + ], + [ + 1, + "收费类型" + ], + [ + 1, + "收费金额" + ], + [ + 2, + "体型代码" + ], + [ + 2, + "体型描述" + ], + [ + 3, + "治疗类型代码" + ], + [ + 3, + "治疗类型描述" + ], + [ + 4, + "主人ID" + ], + [ + 4, + "名字" + ], + [ + 4, + "姓氏" + ], + [ + 4, + "街道" + ], + [ + 4, + "城市" + ], + [ + 4, + "州" + ], + [ + 4, + "邮政编码" + ], + [ + 4, + "电子邮件地址" + ], + [ + 4, + "家庭电话" + ], + [ + 4, + "手机号码" + ], + [ + 5, + "狗的ID" + ], + [ + 5, + "主人ID" + ], + [ + 5, + "是否被遗弃" + ], + [ + 5, + "品种代码" + ], + [ + 5, + "体型大小代码" + ], + [ + 5, + "名字" + ], + [ + 5, + "年龄" + ], + [ + 5, + "出生日期" + ], + [ + 5, + "性别" + ], + [ + 5, + "体重" + ], + [ + 5, + "住院日期" + ], + [ + 5, + "被收养日期" + ], + [ + 5, + "出院日期" + ], + [ + 6, + "专家ID" + ], + [ + 6, + "职位" + ], + [ + 6, + "名字" + ], + [ + 6, + "街道" + ], + [ + 6, + "城市" + ], + [ + 6, + "州" + ], + [ + 6, + "邮政编码" + ], + [ + 6, + "姓氏" + ], + [ + 6, + "电子邮箱地址" + ], + [ + 6, + "家庭电话" + ], + [ + 6, + "手机号码" + ], + [ + 7, + "主人ID" + ], + [ + 7, + "狗的ID" + ], + [ + 7, + "专家ID" + ], + [ + 7, + "治疗类型ID" + ], + [ + 7, + "治疗日期" + ], + [ + 7, + "治疗费用" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "breed_code" + ], + [ + 0, + "breed_name" + ], + [ + 1, + "charge_id" + ], + [ + 1, + "charge_type" + ], + [ + 1, + "charge_amount" + ], + [ + 2, + "size_code" + ], + [ + 2, + "size_description" + ], + [ + 3, + "treatment_type_code" + ], + [ + 3, + "treatment_type_description" + ], + [ + 4, + "owner_id" + ], + [ + 4, + "first_name" + ], + [ + 4, + "last_name" + ], + [ + 4, + "street" + ], + [ + 4, + "city" + ], + [ + 4, + "state" + ], + [ + 4, + "zip_code" + ], + [ + 4, + "email_address" + ], + [ + 4, + "home_phone" + ], + [ + 4, + "cell_number" + ], + [ + 5, + "dog_id" + ], + [ + 5, + "owner_id" + ], + [ + 5, + "abandoned_yn" + ], + [ + 5, + "breed_code" + ], + [ + 5, + "size_code" + ], + [ + 5, + "name" + ], + [ + 5, + "age" + ], + [ + 5, + "date_of_birth" + ], + [ + 5, + "gender" + ], + [ + 5, + "weight" + ], + [ + 5, + "date_arrived" + ], + [ + 5, + "date_adopted" + ], + [ + 5, + "date_departed" + ], + [ + 6, + "professional_id" + ], + [ + 6, + "role_code" + ], + [ + 6, + "first_name" + ], + [ + 6, + "street" + ], + [ + 6, + "city" + ], + [ + 6, + "state" + ], + [ + 6, + "zip_code" + ], + [ + 6, + "last_name" + ], + [ + 6, + "email_address" + ], + [ + 6, + "home_phone" + ], + [ + 6, + "cell_number" + ], + [ + 7, + "treatment_id" + ], + [ + 7, + "dog_id" + ], + [ + 7, + "professional_id" + ], + [ + 7, + "treatment_type_code" + ], + [ + 7, + "date_of_treatment" + ], + [ + 7, + "cost_of_treatment" + ] + ], + "column_types": [ + "text", + "text", + "text", + "number", + "text", + "number", + "text", + "text", + "text", + "text", + "number", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "number", + "number", + "text", + "text", + "text", + "text", + "text", + "time", + "text", + "text", + "time", + "time", + "time", + "number", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "number", + "number", + "number", + "text", + "time", + "number" + ], + "db_id": "dog_kennels", + "foreign_keys": [ + [ + 21, + 10 + ], + [ + 21, + 10 + ], + [ + 24, + 6 + ], + [ + 23, + 1 + ], + [ + 45, + 20 + ], + [ + 46, + 33 + ], + [ + 47, + 8 + ] + ], + "primary_keys": [ + 1, + 3, + 6, + 8, + 10, + 20, + 33, + 44 + ], + "table_names": [ + "品种", + "收费", + "体型", + "治疗类型", + "主人", + "狗", + "专家", + "治疗" + ], + "table_names_original": [ + "Breeds", + "Charges", + "Sizes", + "Treatment_Types", + "Owners", + "Dogs", + "Professionals", + "Treatments" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "类型名称" + ], + [ + 0, + "排名" + ], + [ + 0, + "最受欢迎地区" + ], + [ + 1, + "歌手姓名" + ], + [ + 1, + "国家" + ], + [ + 1, + "性别" + ], + [ + 1, + "歌曲类型" + ], + [ + 2, + "文件ID" + ], + [ + 2, + "歌手姓名" + ], + [ + 2, + "文件大小" + ], + [ + 2, + "时长" + ], + [ + 2, + "格式" + ], + [ + 3, + "歌曲名称" + ], + [ + 3, + "歌手姓名" + ], + [ + 3, + "国家" + ], + [ + 3, + "歌曲ID" + ], + [ + 3, + "类型" + ], + [ + 3, + "排名" + ], + [ + 3, + "语言" + ], + [ + 3, + "发行日期" + ], + [ + 3, + "码率" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "g_name" + ], + [ + 0, + "rating" + ], + [ + 0, + "most_popular_in" + ], + [ + 1, + "artist_name" + ], + [ + 1, + "country" + ], + [ + 1, + "gender" + ], + [ + 1, + "preferred_genre" + ], + [ + 2, + "f_id" + ], + [ + 2, + "artist_name" + ], + [ + 2, + "file_size" + ], + [ + 2, + "duration" + ], + [ + 2, + "formats" + ], + [ + 3, + "song_name" + ], + [ + 3, + "artist_name" + ], + [ + 3, + "country" + ], + [ + 3, + "f_id" + ], + [ + 3, + "genre_is" + ], + [ + 3, + "rating" + ], + [ + 3, + "languages" + ], + [ + 3, + "releasedate" + ], + [ + 3, + "resolution" + ] + ], + "column_types": [ + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "number", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "number", + "text", + "number", + "text", + "time", + "number" + ], + "db_id": "music_1", + "foreign_keys": [ + [ + 7, + 1 + ], + [ + 9, + 4 + ], + [ + 17, + 1 + ], + [ + 16, + 8 + ], + [ + 14, + 4 + ] + ], + "primary_keys": [ + 1, + 4, + 8, + 13 + ], + "table_names": [ + "类型", + "歌手", + "文件", + "歌曲" + ], + "table_names_original": [ + "genre", + "artist", + "files", + "song" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "员工ID" + ], + [ + 0, + "年龄" + ], + [ + 0, + "姓名" + ], + [ + 0, + "国籍" + ], + [ + 0, + "毕业学校" + ], + [ + 1, + "公司ID" + ], + [ + 1, + "名称" + ], + [ + 1, + "总部" + ], + [ + 1, + "行业" + ], + [ + 1, + "销售额" + ], + [ + 1, + "利润" + ], + [ + 1, + "资产" + ], + [ + 1, + "市值" + ], + [ + 2, + "公司ID" + ], + [ + 2, + "员工ID" + ], + [ + 2, + "工作年限" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "People_ID" + ], + [ + 0, + "Age" + ], + [ + 0, + "Name" + ], + [ + 0, + "Nationality" + ], + [ + 0, + "Graduation_College" + ], + [ + 1, + "Company_ID" + ], + [ + 1, + "Name" + ], + [ + 1, + "Headquarters" + ], + [ + 1, + "Industry" + ], + [ + 1, + "Sales_in_Billion" + ], + [ + 1, + "Profits_in_Billion" + ], + [ + 1, + "Assets_in_Billion" + ], + [ + 1, + "Market_Value_in_Billion" + ], + [ + 2, + "Company_ID" + ], + [ + 2, + "People_ID" + ], + [ + 2, + "Year_working" + ] + ], + "column_types": [ + "text", + "number", + "number", + "text", + "text", + "text", + "number", + "text", + "text", + "text", + "number", + "number", + "number", + "number", + "number", + "number", + "number" + ], + "db_id": "company_employee", + "foreign_keys": [ + [ + 15, + 1 + ], + [ + 14, + 6 + ] + ], + "primary_keys": [ + 1, + 6, + 14 + ], + "table_names": [ + "员工", + "公司", + "雇佣关系" + ], + "table_names_original": [ + "people", + "company", + "employment" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "城市ID" + ], + [ + 0, + "城市官方名称" + ], + [ + 0, + "行政区域级别" + ], + [ + 0, + "面积" + ], + [ + 0, + "人口" + ], + [ + 0, + "人口排名" + ], + [ + 1, + "农场ID" + ], + [ + 1, + "年份" + ], + [ + 1, + "马的总数" + ], + [ + 1, + "工作马匹数量" + ], + [ + 1, + "牛的总数" + ], + [ + 1, + "肉牛数量" + ], + [ + 1, + "耕牛数量" + ], + [ + 1, + "奶牛数量" + ], + [ + 1, + "猪的数量" + ], + [ + 1, + "羊的数量" + ], + [ + 2, + "比赛ID" + ], + [ + 2, + "年份" + ], + [ + 2, + "主题" + ], + [ + 2, + "举办城市ID" + ], + [ + 2, + "主持人" + ], + [ + 3, + "比赛ID" + ], + [ + 3, + "农场ID" + ], + [ + 3, + "排名" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "City_ID" + ], + [ + 0, + "Official_Name" + ], + [ + 0, + "Status" + ], + [ + 0, + "Area_km_2" + ], + [ + 0, + "Population" + ], + [ + 0, + "Census_Ranking" + ], + [ + 1, + "Farm_ID" + ], + [ + 1, + "Year" + ], + [ + 1, + "Total_Horses" + ], + [ + 1, + "Working_Horses" + ], + [ + 1, + "Total_Cattle" + ], + [ + 1, + "Oxen" + ], + [ + 1, + "Bulls" + ], + [ + 1, + "Cows" + ], + [ + 1, + "Pigs" + ], + [ + 1, + "Sheep_and_Goats" + ], + [ + 2, + "Competition_ID" + ], + [ + 2, + "Year" + ], + [ + 2, + "Theme" + ], + [ + 2, + "Host_city_ID" + ], + [ + 2, + "Hosts" + ], + [ + 3, + "Competition_ID" + ], + [ + 3, + "Farm_ID" + ], + [ + 3, + "Rank" + ] + ], + "column_types": [ + "text", + "number", + "text", + "text", + "number", + "number", + "text", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "text", + "number", + "text", + "number", + "number", + "number" + ], + "db_id": "farm", + "foreign_keys": [ + [ + 20, + 1 + ], + [ + 23, + 7 + ], + [ + 22, + 17 + ] + ], + "primary_keys": [ + 1, + 7, + 17, + 22 + ], + "table_names": [ + "城市", + "农场", + "农场比赛", + "比赛结果" + ], + "table_names_original": [ + "city", + "farm", + "farm_competition", + "competition_record" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "地址ID" + ], + [ + 0, + "地址信息" + ], + [ + 1, + "位置ID" + ], + [ + 1, + "详细信息" + ], + [ + 2, + "物资ID" + ], + [ + 2, + "物资类型" + ], + [ + 2, + "物资名称" + ], + [ + 2, + "物资价值" + ], + [ + 3, + "党派ID" + ], + [ + 3, + "党派名称" + ], + [ + 4, + "资产ID" + ], + [ + 4, + "资产信息" + ], + [ + 5, + "经费ID" + ], + [ + 5, + "经费信息" + ], + [ + 6, + "资金ID" + ], + [ + 6, + "资金情况" + ], + [ + 7, + "活动ID" + ], + [ + 7, + "地址ID" + ], + [ + 7, + "经费ID" + ], + [ + 7, + "活动类型" + ], + [ + 7, + "资金ID" + ], + [ + 7, + "位置ID" + ], + [ + 8, + "活动所用物资ID" + ], + [ + 8, + "活动ID" + ], + [ + 8, + "物资ID" + ], + [ + 9, + "党派ID" + ], + [ + 9, + "活动ID" + ], + [ + 9, + "参与角色" + ], + [ + 10, + "协议ID" + ], + [ + 10, + "活动ID" + ], + [ + 11, + "资产ID" + ], + [ + 11, + "活动ID" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "Address_ID" + ], + [ + 0, + "address_details" + ], + [ + 1, + "Location_ID" + ], + [ + 1, + "Other_Details" + ], + [ + 2, + "Product_ID" + ], + [ + 2, + "Product_Type_Code" + ], + [ + 2, + "Product_Name" + ], + [ + 2, + "Product_Price" + ], + [ + 3, + "Party_ID" + ], + [ + 3, + "Party_Details" + ], + [ + 4, + "Asset_ID" + ], + [ + 4, + "Other_Details" + ], + [ + 5, + "Channel_ID" + ], + [ + 5, + "Other_Details" + ], + [ + 6, + "Finance_ID" + ], + [ + 6, + "Other_Details" + ], + [ + 7, + "Event_ID" + ], + [ + 7, + "Address_ID" + ], + [ + 7, + "Channel_ID" + ], + [ + 7, + "Event_Type_Code" + ], + [ + 7, + "Finance_ID" + ], + [ + 7, + "Location_ID" + ], + [ + 8, + "Product_in_Event_ID" + ], + [ + 8, + "Event_ID" + ], + [ + 8, + "Product_ID" + ], + [ + 9, + "Party_ID" + ], + [ + 9, + "Event_ID" + ], + [ + 9, + "Role_Code" + ], + [ + 10, + "Document_ID" + ], + [ + 10, + "Event_ID" + ], + [ + 11, + "Asset_ID" + ], + [ + 11, + "Event_ID" + ] + ], + "column_types": [ + "text", + "number", + "text", + "number", + "text", + "number", + "text", + "text", + "number", + "number", + "text", + "number", + "text", + "number", + "text", + "number", + "text", + "number", + "number", + "number", + "text", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "text", + "number", + "number", + "number", + "number" + ], + "db_id": "solvency_ii", + "foreign_keys": [ + [ + 21, + 15 + ], + [ + 18, + 1 + ], + [ + 22, + 3 + ], + [ + 25, + 5 + ], + [ + 24, + 17 + ], + [ + 27, + 17 + ], + [ + 26, + 9 + ], + [ + 30, + 17 + ], + [ + 32, + 17 + ], + [ + 32, + 17 + ] + ], + "primary_keys": [ + 1, + 3, + 5, + 9, + 11, + 13, + 15, + 17, + 23, + 26, + 29, + 31 + ], + "table_names": [ + "地址", + "位置", + "物资", + "党派", + "资产", + "经费", + "资金", + "活动", + "活动所用物资", + "参与党派", + "协议", + "活动所用资产" + ], + "table_names_original": [ + "Addresses", + "Locations", + "Products", + "Parties", + "Assets", + "Channels", + "Finances", + "Events", + "Products_in_Events", + "Parties_in_Events", + "Agreements", + "Assets_in_Events" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "城市ID" + ], + [ + 0, + "城市名称" + ], + [ + 0, + "中文名称" + ], + [ + 0, + "汉语拼音" + ], + [ + 0, + "人口" + ], + [ + 0, + "GDP" + ], + [ + 1, + "赛事ID" + ], + [ + 1, + "日期" + ], + [ + 1, + "地点" + ], + [ + 1, + "比分" + ], + [ + 1, + "结果" + ], + [ + 1, + "比赛" + ], + [ + 2, + "城市ID" + ], + [ + 2, + "一月" + ], + [ + 2, + "二月" + ], + [ + 2, + "三月" + ], + [ + 2, + "四月" + ], + [ + 2, + "六月" + ], + [ + 2, + "七月" + ], + [ + 2, + "八月" + ], + [ + 2, + "九月" + ], + [ + 2, + "十月" + ], + [ + 2, + "十一月" + ], + [ + 2, + "十二月" + ], + [ + 3, + "年份" + ], + [ + 3, + "赛事ID" + ], + [ + 3, + "主办城市ID" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "City_ID" + ], + [ + 0, + "City" + ], + [ + 0, + "Hanzi" + ], + [ + 0, + "Hanyu_Pinyin" + ], + [ + 0, + "Regional_Population" + ], + [ + 0, + "GDP" + ], + [ + 1, + "Match_ID" + ], + [ + 1, + "Date" + ], + [ + 1, + "Venue" + ], + [ + 1, + "Score" + ], + [ + 1, + "Result" + ], + [ + 1, + "Competition" + ], + [ + 2, + "City_ID" + ], + [ + 2, + "Jan" + ], + [ + 2, + "Feb" + ], + [ + 2, + "Mar" + ], + [ + 2, + "Apr" + ], + [ + 2, + "Jun" + ], + [ + 2, + "Jul" + ], + [ + 2, + "Aug" + ], + [ + 2, + "Sep" + ], + [ + 2, + "Oct" + ], + [ + 2, + "Nov" + ], + [ + 2, + "Dec" + ], + [ + 3, + "Year" + ], + [ + 3, + "Match_ID" + ], + [ + 3, + "Host_City" + ] + ], + "column_types": [ + "text", + "number", + "text", + "text", + "text", + "number", + "number", + "number", + "text", + "text", + "text", + "text", + "text", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "text" + ], + "db_id": "city_record", + "foreign_keys": [ + [ + 13, + 1 + ], + [ + 26, + 7 + ], + [ + 27, + 1 + ] + ], + "primary_keys": [ + 1, + 7, + 13, + 25 + ], + "table_names": [ + "城市", + "赛事", + "气温", + "主办城市" + ], + "table_names_original": [ + "city", + "match", + "temperature", + "hosting_city" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "游泳运动员ID" + ], + [ + 0, + "姓名" + ], + [ + 0, + "国籍" + ], + [ + 0, + "100米" + ], + [ + 0, + "200米" + ], + [ + 0, + "300米" + ], + [ + 0, + "400米" + ], + [ + 0, + "500米" + ], + [ + 0, + "600米" + ], + [ + 0, + "700米" + ], + [ + 0, + "用时" + ], + [ + 1, + "体育馆ID" + ], + [ + 1, + "名称" + ], + [ + 1, + "容纳人数" + ], + [ + 1, + "城市" + ], + [ + 1, + "国家" + ], + [ + 1, + "启用年份" + ], + [ + 2, + "比赛ID" + ], + [ + 2, + "名称" + ], + [ + 2, + "体育馆ID" + ], + [ + 2, + "年份" + ], + [ + 3, + "记录ID" + ], + [ + 3, + "结果" + ], + [ + 3, + "游泳运动员ID" + ], + [ + 3, + "比赛ID" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "ID" + ], + [ + 0, + "name" + ], + [ + 0, + "Nationality" + ], + [ + 0, + "meter_100" + ], + [ + 0, + "meter_200" + ], + [ + 0, + "meter_300" + ], + [ + 0, + "meter_400" + ], + [ + 0, + "meter_500" + ], + [ + 0, + "meter_600" + ], + [ + 0, + "meter_700" + ], + [ + 0, + "Time" + ], + [ + 1, + "ID" + ], + [ + 1, + "name" + ], + [ + 1, + "Capacity" + ], + [ + 1, + "City" + ], + [ + 1, + "Country" + ], + [ + 1, + "Opening_year" + ], + [ + 2, + "ID" + ], + [ + 2, + "Name" + ], + [ + 2, + "Stadium_ID" + ], + [ + 2, + "Year" + ], + [ + 3, + "ID" + ], + [ + 3, + "Result" + ], + [ + 3, + "Swimmer_ID" + ], + [ + 3, + "Event_ID" + ] + ], + "column_types": [ + "text", + "number", + "text", + "text", + "number", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "number", + "text", + "number", + "text", + "text", + "number", + "number", + "text", + "number", + "text", + "number", + "text", + "number", + "number" + ], + "db_id": "swimming", + "foreign_keys": [ + [ + 20, + 12 + ], + [ + 24, + 1 + ], + [ + 25, + 18 + ] + ], + "primary_keys": [ + 1, + 12, + 18, + 24 + ], + "table_names": [ + "游泳运动员", + "体育馆", + "比赛", + "记录" + ], + "table_names_original": [ + "swimmer", + "stadium", + "event", + "record" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "航空公司ID" + ], + [ + 0, + "航空公司名称" + ], + [ + 0, + "缩写" + ], + [ + 0, + "国家" + ], + [ + 1, + "城市" + ], + [ + 1, + "机场代码" + ], + [ + 1, + "机场名称" + ], + [ + 1, + "国家" + ], + [ + 1, + "国家缩写" + ], + [ + 2, + "航空公司" + ], + [ + 2, + "航班号" + ], + [ + 2, + "起飞机场" + ], + [ + 2, + "目的地机场" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "uid" + ], + [ + 0, + "Airline" + ], + [ + 0, + "Abbreviation" + ], + [ + 0, + "Country" + ], + [ + 1, + "City" + ], + [ + 1, + "AirportCode" + ], + [ + 1, + "AirportName" + ], + [ + 1, + "Country" + ], + [ + 1, + "CountryAbbrev" + ], + [ + 2, + "Airline" + ], + [ + 2, + "FlightNo" + ], + [ + 2, + "SourceAirport" + ], + [ + 2, + "DestAirport" + ] + ], + "column_types": [ + "text", + "number", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "number", + "number", + "text", + "text" + ], + "db_id": "flight_2", + "foreign_keys": [ + [ + 13, + 6 + ], + [ + 12, + 6 + ] + ], + "primary_keys": [ + 1, + 6, + 10 + ], + "table_names": [ + "航空公司", + "机场", + "航班" + ], + "table_names_original": [ + "airlines", + "airports", + "flights" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "郡县ID" + ], + [ + 0, + "名称" + ], + [ + 0, + "人口" + ], + [ + 0, + "邮政编码" + ], + [ + 1, + "党派ID" + ], + [ + 1, + "年份" + ], + [ + 1, + "党派名称" + ], + [ + 1, + "领导人" + ], + [ + 1, + "副领导人" + ], + [ + 1, + "审计长" + ], + [ + 1, + "司法部长" + ], + [ + 1, + "参议员" + ], + [ + 2, + "选举ID" + ], + [ + 2, + "郡县代表" + ], + [ + 2, + "地区" + ], + [ + 2, + "代表人" + ], + [ + 2, + "党派" + ], + [ + 2, + "初选年份" + ], + [ + 2, + "委员会" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "County_Id" + ], + [ + 0, + "County_name" + ], + [ + 0, + "Population" + ], + [ + 0, + "Zip_code" + ], + [ + 1, + "Party_ID" + ], + [ + 1, + "Year" + ], + [ + 1, + "Party" + ], + [ + 1, + "Governor" + ], + [ + 1, + "Lieutenant_Governor" + ], + [ + 1, + "Comptroller" + ], + [ + 1, + "Attorney_General" + ], + [ + 1, + "US_Senate" + ], + [ + 2, + "Election_ID" + ], + [ + 2, + "Counties_Represented" + ], + [ + 2, + "District" + ], + [ + 2, + "Delegate" + ], + [ + 2, + "Party" + ], + [ + 2, + "First_Elected" + ], + [ + 2, + "Committee" + ] + ], + "column_types": [ + "text", + "number", + "text", + "number", + "text", + "number", + "number", + "text", + "text", + "text", + "text", + "text", + "text", + "number", + "text", + "number", + "text", + "number", + "number", + "text" + ], + "db_id": "election", + "foreign_keys": [ + [ + 15, + 1 + ], + [ + 17, + 5 + ] + ], + "primary_keys": [ + 1, + 5, + 13 + ], + "table_names": [ + "郡县", + "党派", + "选举" + ], + "table_names_original": [ + "county", + "party", + "election" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "制造商ID" + ], + [ + 0, + "名称" + ], + [ + 0, + "总部" + ], + [ + 0, + "创始人" + ], + [ + 0, + "收益" + ], + [ + 1, + "产品ID" + ], + [ + 1, + "名称" + ], + [ + 1, + "价格" + ], + [ + 1, + "制造商" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "Code" + ], + [ + 0, + "Name" + ], + [ + 0, + "Headquarter" + ], + [ + 0, + "Founder" + ], + [ + 0, + "Revenue" + ], + [ + 1, + "Code" + ], + [ + 1, + "Name" + ], + [ + 1, + "Price" + ], + [ + 1, + "Manufacturer" + ] + ], + "column_types": [ + "text", + "number", + "text", + "text", + "text", + "number", + "number", + "text", + "number", + "number" + ], + "db_id": "manufactory_1", + "foreign_keys": [ + [ + 9, + 1 + ] + ], + "primary_keys": [ + 1, + 6 + ], + "table_names": [ + "制造商", + "产品" + ], + "table_names_original": [ + "Manufacturers", + "Products" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "辩手ID" + ], + [ + 0, + "区域" + ], + [ + 0, + "姓名" + ], + [ + 0, + "党派" + ], + [ + 0, + "年龄" + ], + [ + 1, + "辩论ID" + ], + [ + 1, + "日期" + ], + [ + 1, + "场所" + ], + [ + 1, + "观众人数" + ], + [ + 2, + "辩论ID" + ], + [ + 2, + "正方" + ], + [ + 2, + "反方" + ], + [ + 2, + "正方是否获胜" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "People_ID" + ], + [ + 0, + "District" + ], + [ + 0, + "Name" + ], + [ + 0, + "Party" + ], + [ + 0, + "Age" + ], + [ + 1, + "Debate_ID" + ], + [ + 1, + "Date" + ], + [ + 1, + "Venue" + ], + [ + 1, + "Num_of_Audience" + ], + [ + 2, + "Debate_ID" + ], + [ + 2, + "Affirmative" + ], + [ + 2, + "Negative" + ], + [ + 2, + "If_Affirmative_Win" + ] + ], + "column_types": [ + "text", + "number", + "text", + "text", + "text", + "number", + "number", + "text", + "text", + "number", + "number", + "number", + "number", + "others" + ], + "db_id": "debate", + "foreign_keys": [ + [ + 12, + 1 + ], + [ + 11, + 1 + ], + [ + 10, + 6 + ] + ], + "primary_keys": [ + 1, + 6, + 10 + ], + "table_names": [ + "辩手", + "辩论", + "辩论结果" + ], + "table_names_original": [ + "people", + "debate", + "debate_people" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "姓名" + ], + [ + 0, + "年龄" + ], + [ + 0, + "城市" + ], + [ + 0, + "性别" + ], + [ + 0, + "职业" + ], + [ + 1, + "姓名" + ], + [ + 1, + "朋友" + ], + [ + 1, + "持续时间" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "name" + ], + [ + 0, + "age" + ], + [ + 0, + "city" + ], + [ + 0, + "gender" + ], + [ + 0, + "job" + ], + [ + 1, + "name" + ], + [ + 1, + "friend" + ], + [ + 1, + "year" + ] + ], + "column_types": [ + "text", + "text", + "number", + "text", + "text", + "text", + "text", + "text", + "number" + ], + "db_id": "network_2", + "foreign_keys": [ + [ + 7, + 1 + ], + [ + 6, + 1 + ] + ], + "primary_keys": [ + 1 + ], + "table_names": [ + "个人", + "朋友关系" + ], + "table_names_original": [ + "Person", + "PersonFriend" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "服务ID" + ], + [ + 0, + "服务类型" + ], + [ + 1, + "参与者ID" + ], + [ + 1, + "参与者类型" + ], + [ + 1, + "参与者信息" + ], + [ + 2, + "事件ID" + ], + [ + 2, + "服务ID" + ], + [ + 2, + "事件信息" + ], + [ + 3, + "事件ID" + ], + [ + 3, + "参与者ID" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "Service_ID" + ], + [ + 0, + "Service_Type_Code" + ], + [ + 1, + "Participant_ID" + ], + [ + 1, + "Participant_Type_Code" + ], + [ + 1, + "Participant_Details" + ], + [ + 2, + "Event_ID" + ], + [ + 2, + "Service_ID" + ], + [ + 2, + "Event_Details" + ], + [ + 3, + "Event_ID" + ], + [ + 3, + "Participant_ID" + ] + ], + "column_types": [ + "text", + "number", + "text", + "number", + "text", + "text", + "number", + "number", + "text", + "number", + "number" + ], + "db_id": "local_govt_in_alabama", + "foreign_keys": [ + [ + 7, + 1 + ], + [ + 9, + 6 + ], + [ + 10, + 3 + ] + ], + "primary_keys": [ + 1, + 3, + 6, + 9 + ], + "table_names": [ + "服务", + "参与者", + "事件", + "参与事件" + ], + "table_names_original": [ + "Services", + "Participants", + "Events", + "Participants_in_Events" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "山峰ID" + ], + [ + 0, + "名称" + ], + [ + 0, + "高度" + ], + [ + 0, + "主峰高度" + ], + [ + 0, + "山脉" + ], + [ + 0, + "国家" + ], + [ + 1, + "登山者ID" + ], + [ + 1, + "名字" + ], + [ + 1, + "国家" + ], + [ + 1, + "用时" + ], + [ + 1, + "得分" + ], + [ + 1, + "山峰ID" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "Mountain_ID" + ], + [ + 0, + "Name" + ], + [ + 0, + "Height" + ], + [ + 0, + "Prominence" + ], + [ + 0, + "Range" + ], + [ + 0, + "Country" + ], + [ + 1, + "Climber_ID" + ], + [ + 1, + "Name" + ], + [ + 1, + "Country" + ], + [ + 1, + "Time" + ], + [ + 1, + "Points" + ], + [ + 1, + "Mountain_ID" + ] + ], + "column_types": [ + "text", + "number", + "text", + "number", + "number", + "text", + "text", + "number", + "text", + "text", + "text", + "number", + "number" + ], + "db_id": "climbing", + "foreign_keys": [ + [ + 12, + 1 + ] + ], + "primary_keys": [ + 1, + 7 + ], + "table_names": [ + "山峰", + "登山者" + ], + "table_names_original": [ + "mountain", + "climber" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "作者ID" + ], + [ + 0, + "作者和教师代码" + ], + [ + 0, + "登录名" + ], + [ + 0, + "密码" + ], + [ + 0, + "名字" + ], + [ + 0, + "中间名" + ], + [ + 0, + "姓氏" + ], + [ + 0, + "性别" + ], + [ + 0, + "地址" + ], + [ + 1, + "学生ID" + ], + [ + 1, + "注册日期" + ], + [ + 1, + "上次登录日期" + ], + [ + 1, + "登录名" + ], + [ + 1, + "密码" + ], + [ + 1, + "名字" + ], + [ + 1, + "中间名" + ], + [ + 1, + "姓氏" + ], + [ + 2, + "科目ID" + ], + [ + 2, + "科目名称" + ], + [ + 3, + "课程ID" + ], + [ + 3, + "作者ID" + ], + [ + 3, + "科目ID" + ], + [ + 3, + "课程名称" + ], + [ + 3, + "课程描述" + ], + [ + 4, + "注册ID" + ], + [ + 4, + "学生ID" + ], + [ + 4, + "课程ID" + ], + [ + 4, + "注册日期" + ], + [ + 4, + "结课日期" + ], + [ + 5, + "注册ID" + ], + [ + 5, + "考试日期" + ], + [ + 5, + "考试结果" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "author_id" + ], + [ + 0, + "author_tutor_ATB" + ], + [ + 0, + "login_name" + ], + [ + 0, + "password" + ], + [ + 0, + "personal_name" + ], + [ + 0, + "middle_name" + ], + [ + 0, + "family_name" + ], + [ + 0, + "gender_mf" + ], + [ + 0, + "address_line_1" + ], + [ + 1, + "student_id" + ], + [ + 1, + "date_of_registration" + ], + [ + 1, + "date_of_latest_logon" + ], + [ + 1, + "login_name" + ], + [ + 1, + "password" + ], + [ + 1, + "personal_name" + ], + [ + 1, + "middle_name" + ], + [ + 1, + "family_name" + ], + [ + 2, + "subject_id" + ], + [ + 2, + "subject_name" + ], + [ + 3, + "course_id" + ], + [ + 3, + "author_id" + ], + [ + 3, + "subject_id" + ], + [ + 3, + "course_name" + ], + [ + 3, + "course_description" + ], + [ + 4, + "registration_id" + ], + [ + 4, + "student_id" + ], + [ + 4, + "course_id" + ], + [ + 4, + "date_of_enrolment" + ], + [ + 4, + "date_of_completion" + ], + [ + 5, + "registration_id" + ], + [ + 5, + "date_test_taken" + ], + [ + 5, + "test_result" + ] + ], + "column_types": [ + "text", + "number", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "number", + "time", + "time", + "text", + "text", + "text", + "text", + "text", + "number", + "text", + "number", + "number", + "number", + "text", + "text", + "number", + "number", + "number", + "time", + "time", + "number", + "time", + "text" + ], + "db_id": "e_learning", + "foreign_keys": [ + [ + 22, + 18 + ], + [ + 21, + 1 + ], + [ + 26, + 10 + ], + [ + 27, + 20 + ], + [ + 30, + 25 + ] + ], + "primary_keys": [ + 1, + 10, + 18, + 20, + 25 + ], + "table_names": [ + "课程作者和教师", + "学生", + "科目", + "课程", + "课程注册", + "考试" + ], + "table_names_original": [ + "Course_Authors_and_Tutors", + "Students", + "Subjects", + "Courses", + "Student_Course_Enrolment", + "Student_Tests_Taken" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "SSN号码" + ], + [ + 0, + "姓名" + ], + [ + 1, + "项目代码" + ], + [ + 1, + "名称" + ], + [ + 1, + "小时数" + ], + [ + 2, + "科学家" + ], + [ + 2, + "项目" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "SSN" + ], + [ + 0, + "Name" + ], + [ + 1, + "Code" + ], + [ + 1, + "Name" + ], + [ + 1, + "Hours" + ], + [ + 2, + "Scientist" + ], + [ + 2, + "Project" + ] + ], + "column_types": [ + "text", + "number", + "text", + "text", + "text", + "number", + "number", + "text" + ], + "db_id": "scientist_1", + "foreign_keys": [ + [ + 7, + 3 + ], + [ + 6, + 1 + ] + ], + "primary_keys": [ + 1, + 3, + 6 + ], + "table_names": [ + "科学家", + "项目", + "项目分配" + ], + "table_names_original": [ + "Scientists", + "Projects", + "AssignedTo" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "船长ID" + ], + [ + 0, + "名字" + ], + [ + 0, + "军舰ID" + ], + [ + 0, + "年龄" + ], + [ + 0, + "等级" + ], + [ + 0, + "军衔" + ], + [ + 1, + "军舰ID" + ], + [ + 1, + "名称" + ], + [ + 1, + "类型" + ], + [ + 1, + "制造年份" + ], + [ + 1, + "等级" + ], + [ + 1, + "国旗" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "Captain_ID" + ], + [ + 0, + "Name" + ], + [ + 0, + "Ship_ID" + ], + [ + 0, + "age" + ], + [ + 0, + "Class" + ], + [ + 0, + "Rank" + ], + [ + 1, + "Ship_ID" + ], + [ + 1, + "Name" + ], + [ + 1, + "Type" + ], + [ + 1, + "Built_Year" + ], + [ + 1, + "Class" + ], + [ + 1, + "Flag" + ] + ], + "column_types": [ + "text", + "number", + "text", + "number", + "text", + "text", + "text", + "number", + "text", + "text", + "number", + "text", + "text" + ], + "db_id": "ship_1", + "foreign_keys": [ + [ + 3, + 7 + ] + ], + "primary_keys": [ + 1, + 7 + ], + "table_names": [ + "船长", + "军舰" + ], + "table_names_original": [ + "captain", + "Ship" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "艺术节ID" + ], + [ + 0, + "艺术节名称" + ], + [ + 0, + "主席姓名" + ], + [ + 0, + "地点" + ], + [ + 0, + "年份" + ], + [ + 0, + "观众人数" + ], + [ + 1, + "作品ID" + ], + [ + 1, + "类型" + ], + [ + 1, + "名称" + ], + [ + 2, + "作品ID" + ], + [ + 2, + "艺术节ID" + ], + [ + 2, + "结果" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "Festival_ID" + ], + [ + 0, + "Festival_Name" + ], + [ + 0, + "Chair_Name" + ], + [ + 0, + "Location" + ], + [ + 0, + "Year" + ], + [ + 0, + "Num_of_Audience" + ], + [ + 1, + "Artwork_ID" + ], + [ + 1, + "Type" + ], + [ + 1, + "Name" + ], + [ + 2, + "Artwork_ID" + ], + [ + 2, + "Festival_ID" + ], + [ + 2, + "Result" + ] + ], + "column_types": [ + "text", + "number", + "text", + "text", + "text", + "number", + "number", + "number", + "text", + "text", + "number", + "number", + "text" + ], + "db_id": "entertainment_awards", + "foreign_keys": [ + [ + 11, + 1 + ], + [ + 10, + 7 + ] + ], + "primary_keys": [ + 1, + 7, + 10 + ], + "table_names": [ + "艺术节", + "作品", + "提名" + ], + "table_names_original": [ + "festival_detail", + "artwork", + "nomination" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "过敏症状名称" + ], + [ + 0, + "过敏类型" + ], + [ + 1, + "学生ID" + ], + [ + 1, + "过敏源" + ], + [ + 2, + "学生ID" + ], + [ + 2, + "姓氏" + ], + [ + 2, + "名字" + ], + [ + 2, + "年龄" + ], + [ + 2, + "性别" + ], + [ + 2, + "专业" + ], + [ + 2, + "导师" + ], + [ + 2, + "城市代码" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "Allergy" + ], + [ + 0, + "AllergyType" + ], + [ + 1, + "StuID" + ], + [ + 1, + "Allergy" + ], + [ + 2, + "StuID" + ], + [ + 2, + "LName" + ], + [ + 2, + "Fname" + ], + [ + 2, + "Age" + ], + [ + 2, + "Sex" + ], + [ + 2, + "Major" + ], + [ + 2, + "Advisor" + ], + [ + 2, + "city_code" + ] + ], + "column_types": [ + "text", + "text", + "text", + "number", + "text", + "number", + "text", + "text", + "number", + "text", + "number", + "number", + "text" + ], + "db_id": "allergy_1", + "foreign_keys": [ + [ + 4, + 1 + ], + [ + 3, + 5 + ] + ], + "primary_keys": [ + 1, + 5 + ], + "table_names": [ + "过敏类型", + "过敏记录", + "学生" + ], + "table_names_original": [ + "Allergy_Type", + "Has_Allergy", + "Student" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "演员ID" + ], + [ + 0, + "性别" + ], + [ + 0, + "姓名" + ], + [ + 0, + "国籍" + ], + [ + 0, + "出生城市" + ], + [ + 0, + "出生年份" + ], + [ + 1, + "版权ID" + ], + [ + 1, + "移动台识别码" + ], + [ + 1, + "版权码" + ], + [ + 2, + "参演ID" + ], + [ + 2, + "移动台识别码" + ], + [ + 2, + "演员ID" + ], + [ + 2, + "角色" + ], + [ + 3, + "类型ID" + ], + [ + 3, + "类型名称" + ], + [ + 4, + "分级ID" + ], + [ + 4, + "移动台识别码" + ], + [ + 4, + "类型ID" + ], + [ + 5, + "公司ID" + ], + [ + 5, + "公司名称" + ], + [ + 5, + "国家" + ], + [ + 6, + "导演ID" + ], + [ + 6, + "性别" + ], + [ + 6, + "姓名" + ], + [ + 6, + "国籍" + ], + [ + 6, + "出生城市" + ], + [ + 6, + "出生年份" + ], + [ + 7, + "制片人ID" + ], + [ + 7, + "性别" + ], + [ + 7, + "姓名" + ], + [ + 7, + "国籍" + ], + [ + 7, + "出生城市" + ], + [ + 7, + "出生年份" + ], + [ + 8, + "电影导演ID" + ], + [ + 8, + "移动台识别码" + ], + [ + 8, + "导演ID" + ], + [ + 9, + "关键词ID" + ], + [ + 9, + "关键词信息" + ], + [ + 10, + "电影制片人ID" + ], + [ + 10, + "移动台识别码" + ], + [ + 10, + "制片人ID" + ], + [ + 11, + "电影ID" + ], + [ + 11, + "电影名称" + ], + [ + 11, + "上映年份" + ], + [ + 11, + "又名" + ], + [ + 11, + "经费" + ], + [ + 12, + "标签ID" + ], + [ + 12, + "移动台识别码" + ], + [ + 12, + "关键词ID" + ], + [ + 13, + "电视剧ID" + ], + [ + 13, + "电视剧名称" + ], + [ + 13, + "上映年份" + ], + [ + 13, + "季数" + ], + [ + 13, + "集数" + ], + [ + 13, + "又名" + ], + [ + 13, + "经费" + ], + [ + 14, + "编剧ID" + ], + [ + 14, + "性别" + ], + [ + 14, + "姓名" + ], + [ + 14, + "国籍" + ], + [ + 14, + "集数" + ], + [ + 14, + "出生城市" + ], + [ + 14, + "出生年份" + ], + [ + 15, + "电影编剧ID" + ], + [ + 15, + "移动台识别码" + ], + [ + 15, + "编剧ID" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "aid" + ], + [ + 0, + "gender" + ], + [ + 0, + "name" + ], + [ + 0, + "nationality" + ], + [ + 0, + "birth_city" + ], + [ + 0, + "birth_year" + ], + [ + 1, + "id" + ], + [ + 1, + "msid" + ], + [ + 1, + "cid" + ], + [ + 2, + "id" + ], + [ + 2, + "msid" + ], + [ + 2, + "aid" + ], + [ + 2, + "role" + ], + [ + 3, + "gid" + ], + [ + 3, + "genre" + ], + [ + 4, + "id" + ], + [ + 4, + "msid" + ], + [ + 4, + "gid" + ], + [ + 5, + "id" + ], + [ + 5, + "name" + ], + [ + 5, + "country_code" + ], + [ + 6, + "did" + ], + [ + 6, + "gender" + ], + [ + 6, + "name" + ], + [ + 6, + "nationality" + ], + [ + 6, + "birth_city" + ], + [ + 6, + "birth_year" + ], + [ + 7, + "pid" + ], + [ + 7, + "gender" + ], + [ + 7, + "name" + ], + [ + 7, + "nationality" + ], + [ + 7, + "birth_city" + ], + [ + 7, + "birth_year" + ], + [ + 8, + "id" + ], + [ + 8, + "msid" + ], + [ + 8, + "did" + ], + [ + 9, + "id" + ], + [ + 9, + "keyword" + ], + [ + 10, + "id" + ], + [ + 10, + "msid" + ], + [ + 10, + "pid" + ], + [ + 11, + "mid" + ], + [ + 11, + "title" + ], + [ + 11, + "release_year" + ], + [ + 11, + "title_aka" + ], + [ + 11, + "budget" + ], + [ + 12, + "id" + ], + [ + 12, + "msid" + ], + [ + 12, + "kid" + ], + [ + 13, + "sid" + ], + [ + 13, + "title" + ], + [ + 13, + "release_year" + ], + [ + 13, + "num_of_seasons" + ], + [ + 13, + "num_of_episodes" + ], + [ + 13, + "title_aka" + ], + [ + 13, + "budget" + ], + [ + 14, + "wid" + ], + [ + 14, + "gender" + ], + [ + 14, + "name" + ], + [ + 14, + "nationality" + ], + [ + 14, + "num_of_episodes" + ], + [ + 14, + "birth_city" + ], + [ + 14, + "birth_year" + ], + [ + 15, + "id" + ], + [ + 15, + "msid" + ], + [ + 15, + "wid" + ] + ], + "column_types": [ + "text", + "number", + "text", + "text", + "text", + "text", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "text", + "number", + "number", + "number", + "number", + "text", + "text", + "number", + "text", + "text", + "text", + "text", + "number", + "number", + "text", + "text", + "text", + "text", + "number", + "number", + "number", + "number", + "number", + "text", + "number", + "number", + "number", + "number", + "text", + "number", + "text", + "text", + "number", + "number", + "number", + "number", + "text", + "number", + "number", + "number", + "text", + "text", + "number", + "text", + "number", + "number", + "number", + "text", + "number", + "number", + "number", + "number" + ], + "db_id": "imdb", + "foreign_keys": [ + [ + 11, + 8 + ], + [ + 12, + 1 + ], + [ + 17, + 8 + ], + [ + 18, + 14 + ], + [ + 36, + 22 + ], + [ + 35, + 8 + ], + [ + 41, + 28 + ], + [ + 40, + 8 + ], + [ + 48, + 8 + ], + [ + 66, + 57 + ], + [ + 65, + 8 + ] + ], + "primary_keys": [ + 1, + 7, + 10, + 14, + 16, + 19, + 22, + 28, + 34, + 37, + 39, + 42, + 47, + 50, + 57 + ], + "table_names": [ + "演员", + "版权", + "参演", + "电影类型", + "电影分级", + "公司", + "导演", + "制片人", + "电影导演", + "关键词", + "电影制片人", + "电影", + "标签", + "电视剧", + "编剧", + "电影编剧" + ], + "table_names_original": [ + "actor", + "copyright", + "cast", + "genre", + "classification", + "company", + "director", + "producer", + "directed_by", + "keyword", + "made_by", + "movie", + "tags", + "tv_series", + "writer", + "written_by" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "优惠券ID" + ], + [ + 0, + "发行日期" + ], + [ + 0, + "优惠价格" + ], + [ + 1, + "客户ID" + ], + [ + 1, + "优惠券ID" + ], + [ + 1, + "客户信誉" + ], + [ + 1, + "名字" + ], + [ + 1, + "姓氏" + ], + [ + 1, + "性别" + ], + [ + 1, + "首次消费日期" + ], + [ + 1, + "上次租借日期" + ], + [ + 2, + "预订ID" + ], + [ + 2, + "客户ID" + ], + [ + 2, + "预订状态" + ], + [ + 2, + "归还产品是否损坏" + ], + [ + 2, + "开始日期" + ], + [ + 2, + "结束日期" + ], + [ + 2, + "租借数量" + ], + [ + 2, + "应付金额" + ], + [ + 2, + "优惠金额" + ], + [ + 2, + "未付清金额" + ], + [ + 2, + "退款金额" + ], + [ + 3, + "产品ID" + ], + [ + 3, + "产品类型" + ], + [ + 3, + "每日租金" + ], + [ + 3, + "产品名称" + ], + [ + 3, + "产品描述" + ], + [ + 4, + "付款ID" + ], + [ + 4, + "预订ID" + ], + [ + 4, + "客户ID" + ], + [ + 4, + "付款方式" + ], + [ + 4, + "是否付全款" + ], + [ + 4, + "付款日期" + ], + [ + 4, + "应付款" + ], + [ + 4, + "实付款" + ], + [ + 5, + "预订ID" + ], + [ + 5, + "产品ID" + ], + [ + 5, + "是否归还" + ], + [ + 5, + "是否延期归还" + ], + [ + 5, + "预订数量" + ], + [ + 5, + "预订金额" + ], + [ + 6, + "产品ID" + ], + [ + 6, + "预订ID" + ], + [ + 6, + "查询日期" + ], + [ + 6, + "是否可用" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "coupon_id" + ], + [ + 0, + "date_issued" + ], + [ + 0, + "coupon_amount" + ], + [ + 1, + "customer_id" + ], + [ + 1, + "coupon_id" + ], + [ + 1, + "good_or_bad_customer" + ], + [ + 1, + "first_name" + ], + [ + 1, + "last_name" + ], + [ + 1, + "gender_mf" + ], + [ + 1, + "date_became_customer" + ], + [ + 1, + "date_last_hire" + ], + [ + 2, + "booking_id" + ], + [ + 2, + "customer_id" + ], + [ + 2, + "booking_status_code" + ], + [ + 2, + "returned_damaged_yn" + ], + [ + 2, + "booking_start_date" + ], + [ + 2, + "booking_end_date" + ], + [ + 2, + "count_hired" + ], + [ + 2, + "amount_payable" + ], + [ + 2, + "amount_of_discount" + ], + [ + 2, + "amount_outstanding" + ], + [ + 2, + "amount_of_refund" + ], + [ + 3, + "product_id" + ], + [ + 3, + "product_type_code" + ], + [ + 3, + "daily_hire_cost" + ], + [ + 3, + "product_name" + ], + [ + 3, + "product_description" + ], + [ + 4, + "payment_id" + ], + [ + 4, + "booking_id" + ], + [ + 4, + "customer_id" + ], + [ + 4, + "payment_type_code" + ], + [ + 4, + "amount_paid_in_full_yn" + ], + [ + 4, + "payment_date" + ], + [ + 4, + "amount_due" + ], + [ + 4, + "amount_paid" + ], + [ + 5, + "booking_id" + ], + [ + 5, + "product_id" + ], + [ + 5, + "returned_yn" + ], + [ + 5, + "returned_late_yn" + ], + [ + 5, + "booked_count" + ], + [ + 5, + "booked_amount" + ], + [ + 6, + "product_id" + ], + [ + 6, + "booking_id" + ], + [ + 6, + "status_date" + ], + [ + 6, + "available_yn" + ] + ], + "column_types": [ + "text", + "number", + "time", + "number", + "number", + "number", + "text", + "text", + "text", + "text", + "time", + "time", + "number", + "number", + "text", + "text", + "time", + "time", + "text", + "number", + "number", + "number", + "number", + "number", + "text", + "number", + "text", + "text", + "number", + "number", + "number", + "text", + "text", + "time", + "number", + "number", + "number", + "number", + "text", + "text", + "number", + "number", + "number", + "number", + "time", + "text" + ], + "db_id": "products_for_hire", + "foreign_keys": [ + [ + 5, + 1 + ], + [ + 13, + 4 + ], + [ + 30, + 4 + ], + [ + 29, + 12 + ], + [ + 37, + 23 + ], + [ + 36, + 12 + ], + [ + 42, + 23 + ], + [ + 43, + 12 + ] + ], + "primary_keys": [ + 1, + 4, + 12, + 23, + 28, + 36, + 44 + ], + "table_names": [ + "优惠券", + "客户", + "预订", + "租用产品", + "付款", + "预订产品", + "查询产品可用性" + ], + "table_names_original": [ + "Discount_Coupons", + "Customers", + "Bookings", + "Products_for_Hire", + "Payments", + "Products_Booked", + "View_Product_Availability" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "候选人ID" + ], + [ + 0, + "个人ID" + ], + [ + 0, + "民意调查来源" + ], + [ + 0, + "日期" + ], + [ + 0, + "支持率" + ], + [ + 0, + "考虑率" + ], + [ + 0, + "反对率" + ], + [ + 0, + "不确定率" + ], + [ + 1, + "个人ID" + ], + [ + 1, + "性别" + ], + [ + 1, + "姓名" + ], + [ + 1, + "出生日期" + ], + [ + 1, + "身高" + ], + [ + 1, + "体重" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "Candidate_ID" + ], + [ + 0, + "People_ID" + ], + [ + 0, + "Poll_Source" + ], + [ + 0, + "Date" + ], + [ + 0, + "Support_rate" + ], + [ + 0, + "Consider_rate" + ], + [ + 0, + "Oppose_rate" + ], + [ + 0, + "Unsure_rate" + ], + [ + 1, + "People_ID" + ], + [ + 1, + "Sex" + ], + [ + 1, + "Name" + ], + [ + 1, + "Date_of_Birth" + ], + [ + 1, + "Height" + ], + [ + 1, + "Weight" + ] + ], + "column_types": [ + "text", + "number", + "number", + "text", + "text", + "number", + "number", + "number", + "number", + "number", + "text", + "text", + "text", + "number", + "number" + ], + "db_id": "candidate_poll", + "foreign_keys": [ + [ + 2, + 9 + ] + ], + "primary_keys": [ + 1, + 9 + ], + "table_names": [ + "候选人", + "个人" + ], + "table_names_original": [ + "candidate", + "people" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "专辑ID" + ], + [ + 0, + "标题" + ], + [ + 0, + "歌手ID" + ], + [ + 1, + "歌手ID" + ], + [ + 1, + "姓名" + ], + [ + 2, + "顾客ID" + ], + [ + 2, + "名字" + ], + [ + 2, + "姓氏" + ], + [ + 2, + "公司" + ], + [ + 2, + "地址" + ], + [ + 2, + "城市" + ], + [ + 2, + "州" + ], + [ + 2, + "国家" + ], + [ + 2, + "邮政编码" + ], + [ + 2, + "电话" + ], + [ + 2, + "传真" + ], + [ + 2, + "电子邮件" + ], + [ + 2, + "服务员工ID" + ], + [ + 3, + "员工ID" + ], + [ + 3, + "姓氏" + ], + [ + 3, + "名字" + ], + [ + 3, + "职位" + ], + [ + 3, + "评价数" + ], + [ + 3, + "出生日期" + ], + [ + 3, + "入职日期" + ], + [ + 3, + "地址" + ], + [ + 3, + "城市" + ], + [ + 3, + "州" + ], + [ + 3, + "国家" + ], + [ + 3, + "邮政编码" + ], + [ + 3, + "电话" + ], + [ + 3, + "传真" + ], + [ + 3, + "电子邮件" + ], + [ + 4, + "歌曲类型ID" + ], + [ + 4, + "名称" + ], + [ + 5, + "发票ID" + ], + [ + 5, + "顾客ID" + ], + [ + 5, + "发票日期" + ], + [ + 5, + "账单地址" + ], + [ + 5, + "城市" + ], + [ + 5, + "州" + ], + [ + 5, + "国家" + ], + [ + 5, + "邮政编码" + ], + [ + 5, + "发票总额" + ], + [ + 6, + "发票内容ID" + ], + [ + 6, + "发票ID" + ], + [ + 6, + "曲目ID" + ], + [ + 6, + "单价" + ], + [ + 6, + "数量" + ], + [ + 7, + "媒体类型ID" + ], + [ + 7, + "名称" + ], + [ + 8, + "播放列表ID" + ], + [ + 8, + "播放列表名称" + ], + [ + 9, + "播放列表ID" + ], + [ + 9, + "曲目ID" + ], + [ + 10, + "曲目ID" + ], + [ + 10, + "名称" + ], + [ + 10, + "专辑ID" + ], + [ + 10, + "媒体类型ID" + ], + [ + 10, + "歌曲类型ID" + ], + [ + 10, + "编曲" + ], + [ + 10, + "时长" + ], + [ + 10, + "字节数" + ], + [ + 10, + "单价" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "AlbumId" + ], + [ + 0, + "Title" + ], + [ + 0, + "ArtistId" + ], + [ + 1, + "ArtistId" + ], + [ + 1, + "Name" + ], + [ + 2, + "CustomerId" + ], + [ + 2, + "FirstName" + ], + [ + 2, + "LastName" + ], + [ + 2, + "Company" + ], + [ + 2, + "Address" + ], + [ + 2, + "City" + ], + [ + 2, + "State" + ], + [ + 2, + "Country" + ], + [ + 2, + "PostalCode" + ], + [ + 2, + "Phone" + ], + [ + 2, + "Fax" + ], + [ + 2, + "Email" + ], + [ + 2, + "SupportRepId" + ], + [ + 3, + "EmployeeId" + ], + [ + 3, + "LastName" + ], + [ + 3, + "FirstName" + ], + [ + 3, + "Title" + ], + [ + 3, + "ReportsTo" + ], + [ + 3, + "BirthDate" + ], + [ + 3, + "HireDate" + ], + [ + 3, + "Address" + ], + [ + 3, + "City" + ], + [ + 3, + "State" + ], + [ + 3, + "Country" + ], + [ + 3, + "PostalCode" + ], + [ + 3, + "Phone" + ], + [ + 3, + "Fax" + ], + [ + 3, + "Email" + ], + [ + 4, + "GenreId" + ], + [ + 4, + "Name" + ], + [ + 5, + "InvoiceId" + ], + [ + 5, + "CustomerId" + ], + [ + 5, + "InvoiceDate" + ], + [ + 5, + "BillingAddress" + ], + [ + 5, + "BillingCity" + ], + [ + 5, + "BillingState" + ], + [ + 5, + "BillingCountry" + ], + [ + 5, + "BillingPostalCode" + ], + [ + 5, + "Total" + ], + [ + 6, + "InvoiceLineId" + ], + [ + 6, + "InvoiceId" + ], + [ + 6, + "TrackId" + ], + [ + 6, + "UnitPrice" + ], + [ + 6, + "Quantity" + ], + [ + 7, + "MediaTypeId" + ], + [ + 7, + "Name" + ], + [ + 8, + "PlaylistId" + ], + [ + 8, + "Name" + ], + [ + 9, + "PlaylistId" + ], + [ + 9, + "TrackId" + ], + [ + 10, + "TrackId" + ], + [ + 10, + "Name" + ], + [ + 10, + "AlbumId" + ], + [ + 10, + "MediaTypeId" + ], + [ + 10, + "GenreId" + ], + [ + 10, + "Composer" + ], + [ + 10, + "Milliseconds" + ], + [ + 10, + "Bytes" + ], + [ + 10, + "UnitPrice" + ] + ], + "column_types": [ + "text", + "number", + "text", + "number", + "number", + "text", + "number", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "number", + "number", + "text", + "text", + "text", + "number", + "time", + "time", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "number", + "text", + "number", + "number", + "time", + "text", + "text", + "text", + "text", + "text", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "text", + "number", + "text", + "number", + "number", + "number", + "text", + "number", + "number", + "number", + "text", + "number", + "number", + "number" + ], + "db_id": "chinook_1", + "foreign_keys": [ + [ + 3, + 4 + ], + [ + 18, + 19 + ], + [ + 23, + 19 + ], + [ + 37, + 6 + ], + [ + 47, + 56 + ], + [ + 46, + 36 + ], + [ + 55, + 56 + ], + [ + 54, + 52 + ], + [ + 59, + 50 + ], + [ + 60, + 34 + ], + [ + 58, + 1 + ] + ], + "primary_keys": [ + 1, + 4, + 6, + 19, + 34, + 36, + 45, + 50, + 52, + 54, + 56 + ], + "table_names": [ + "专辑", + "歌手", + "顾客", + "员工", + "歌曲类型", + "发票", + "发票内容", + "媒体类型", + "播放列表", + "播放曲目列表", + "曲目" + ], + "table_names_original": [ + "Album", + "Artist", + "Customer", + "Employee", + "Genre", + "Invoice", + "InvoiceLine", + "MediaType", + "Playlist", + "PlaylistTrack", + "Track" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "航线ID" + ], + [ + 0, + "目的地机场ID" + ], + [ + 0, + "目的地机场" + ], + [ + 0, + "起飞机场ID" + ], + [ + 0, + "起飞机场" + ], + [ + 0, + "航空公司ID" + ], + [ + 0, + "航空公司" + ], + [ + 0, + "通信呼号" + ], + [ + 1, + "机场ID" + ], + [ + 1, + "名称" + ], + [ + 1, + "城市" + ], + [ + 1, + "国家" + ], + [ + 1, + "X坐标" + ], + [ + 1, + "Y坐标" + ], + [ + 1, + "海拔高度" + ], + [ + 1, + "IATA" + ], + [ + 1, + "ICAO" + ], + [ + 2, + "航空公司" + ], + [ + 2, + "名称" + ], + [ + 2, + "IATA" + ], + [ + 2, + "ICAO" + ], + [ + 2, + "通信呼号" + ], + [ + 2, + "国家" + ], + [ + 2, + "状态" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "rid" + ], + [ + 0, + "dst_apid" + ], + [ + 0, + "dst_ap" + ], + [ + 0, + "src_apid" + ], + [ + 0, + "src_ap" + ], + [ + 0, + "alid" + ], + [ + 0, + "airline" + ], + [ + 0, + "codeshare" + ], + [ + 1, + "apid" + ], + [ + 1, + "name" + ], + [ + 1, + "city" + ], + [ + 1, + "country" + ], + [ + 1, + "x" + ], + [ + 1, + "y" + ], + [ + 1, + "elevation" + ], + [ + 1, + "iata" + ], + [ + 1, + "icao" + ], + [ + 2, + "alid" + ], + [ + 2, + "name" + ], + [ + 2, + "iata" + ], + [ + 2, + "icao" + ], + [ + 2, + "callsign" + ], + [ + 2, + "country" + ], + [ + 2, + "active" + ] + ], + "column_types": [ + "text", + "number", + "number", + "text", + "number", + "text", + "number", + "text", + "text", + "number", + "text", + "text", + "text", + "number", + "number", + "number", + "text", + "text", + "number", + "text", + "text", + "text", + "text", + "text", + "text" + ], + "db_id": "flight_4", + "foreign_keys": [ + [ + 6, + 18 + ], + [ + 4, + 9 + ], + [ + 2, + 9 + ] + ], + "primary_keys": [ + 1, + 9, + 18 + ], + "table_names": [ + "航线", + "机场", + "航空公司" + ], + "table_names_original": [ + "routes", + "airports", + "airlines" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "学生ID" + ], + [ + 0, + "姓氏" + ], + [ + 0, + "名字" + ], + [ + 0, + "年龄" + ], + [ + 0, + "性别" + ], + [ + 0, + "专业" + ], + [ + 0, + "导师" + ], + [ + 0, + "城市代码" + ], + [ + 1, + "学生ID" + ], + [ + 1, + "宠物ID" + ], + [ + 2, + "宠物ID" + ], + [ + 2, + "宠物类型" + ], + [ + 2, + "宠物年龄" + ], + [ + 2, + "体重" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "StuID" + ], + [ + 0, + "LName" + ], + [ + 0, + "Fname" + ], + [ + 0, + "Age" + ], + [ + 0, + "Sex" + ], + [ + 0, + "Major" + ], + [ + 0, + "Advisor" + ], + [ + 0, + "city_code" + ], + [ + 1, + "StuID" + ], + [ + 1, + "PetID" + ], + [ + 2, + "PetID" + ], + [ + 2, + "PetType" + ], + [ + 2, + "pet_age" + ], + [ + 2, + "weight" + ] + ], + "column_types": [ + "text", + "number", + "text", + "text", + "number", + "text", + "number", + "number", + "text", + "number", + "number", + "number", + "text", + "number", + "number" + ], + "db_id": "pets_1", + "foreign_keys": [ + [ + 9, + 1 + ], + [ + 10, + 11 + ] + ], + "primary_keys": [ + 1, + 11 + ], + "table_names": [ + "学生", + "养宠物", + "宠物" + ], + "table_names_original": [ + "Student", + "Has_Pet", + "Pets" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "学生ID" + ], + [ + 0, + "姓" + ], + [ + 0, + "名" + ], + [ + 0, + "年龄" + ], + [ + 0, + "性别" + ], + [ + 0, + "专业" + ], + [ + 0, + "导师" + ], + [ + 0, + "城市代码" + ], + [ + 1, + "宿舍ID" + ], + [ + 1, + "名称" + ], + [ + 1, + "容量" + ], + [ + 1, + "性别" + ], + [ + 2, + "设施ID" + ], + [ + 2, + "名称" + ], + [ + 3, + "宿舍ID" + ], + [ + 3, + "设施ID" + ], + [ + 4, + "学生ID" + ], + [ + 4, + "宿舍ID" + ], + [ + 4, + "房间号" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "StuID" + ], + [ + 0, + "LName" + ], + [ + 0, + "Fname" + ], + [ + 0, + "Age" + ], + [ + 0, + "Sex" + ], + [ + 0, + "Major" + ], + [ + 0, + "Advisor" + ], + [ + 0, + "city_code" + ], + [ + 1, + "dormid" + ], + [ + 1, + "dorm_name" + ], + [ + 1, + "student_capacity" + ], + [ + 1, + "gender" + ], + [ + 2, + "amenid" + ], + [ + 2, + "amenity_name" + ], + [ + 3, + "dormid" + ], + [ + 3, + "amenid" + ], + [ + 4, + "stuid" + ], + [ + 4, + "dormid" + ], + [ + 4, + "room_number" + ] + ], + "column_types": [ + "text", + "number", + "text", + "text", + "number", + "text", + "number", + "number", + "text", + "number", + "text", + "number", + "text", + "number", + "text", + "number", + "number", + "number", + "number", + "number" + ], + "db_id": "dorm_1", + "foreign_keys": [ + [ + 16, + 13 + ], + [ + 15, + 9 + ], + [ + 18, + 9 + ], + [ + 17, + 1 + ] + ], + "primary_keys": [ + 1 + ], + "table_names": [ + "学生", + "宿舍", + "便利设施", + "宿舍设施配备", + "居住" + ], + "table_names_original": [ + "Student", + "Dorm", + "Dorm_amenity", + "Has_amenity", + "Lives_in" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "期刊ID" + ], + [ + 0, + "日期" + ], + [ + 0, + "主题" + ], + [ + 0, + "销售额" + ], + [ + 1, + "编辑ID" + ], + [ + 1, + "姓名" + ], + [ + 1, + "年龄" + ], + [ + 2, + "编辑ID" + ], + [ + 2, + "杂志ID" + ], + [ + 2, + "负责内容" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "Journal_ID" + ], + [ + 0, + "Date" + ], + [ + 0, + "Theme" + ], + [ + 0, + "Sales" + ], + [ + 1, + "Editor_ID" + ], + [ + 1, + "Name" + ], + [ + 1, + "Age" + ], + [ + 2, + "Editor_ID" + ], + [ + 2, + "Journal_ID" + ], + [ + 2, + "Work_Type" + ] + ], + "column_types": [ + "text", + "number", + "text", + "text", + "number", + "number", + "text", + "number", + "number", + "number", + "text" + ], + "db_id": "journal_committee", + "foreign_keys": [ + [ + 9, + 1 + ], + [ + 8, + 5 + ] + ], + "primary_keys": [ + 1, + 5, + 8 + ], + "table_names": [ + "期刊", + "编辑", + "杂志编辑" + ], + "table_names_original": [ + "journal", + "editor", + "journal_committee" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "航班号" + ], + [ + 0, + "出发地" + ], + [ + 0, + "目的地" + ], + [ + 0, + "飞行距离" + ], + [ + 0, + "出发日期" + ], + [ + 0, + "到达日期" + ], + [ + 0, + "价格" + ], + [ + 0, + "飞机ID" + ], + [ + 1, + "飞机ID" + ], + [ + 1, + "名称" + ], + [ + 1, + "飞行距离" + ], + [ + 2, + "员工ID" + ], + [ + 2, + "姓名" + ], + [ + 2, + "工资" + ], + [ + 3, + "员工ID" + ], + [ + 3, + "飞机ID" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "flno" + ], + [ + 0, + "origin" + ], + [ + 0, + "destination" + ], + [ + 0, + "distance" + ], + [ + 0, + "departure_date" + ], + [ + 0, + "arrival_date" + ], + [ + 0, + "price" + ], + [ + 0, + "aid" + ], + [ + 1, + "aid" + ], + [ + 1, + "name" + ], + [ + 1, + "distance" + ], + [ + 2, + "eid" + ], + [ + 2, + "name" + ], + [ + 2, + "salary" + ], + [ + 3, + "eid" + ], + [ + 3, + "aid" + ] + ], + "column_types": [ + "text", + "number", + "text", + "text", + "number", + "time", + "time", + "number", + "number", + "number", + "text", + "number", + "number", + "text", + "number", + "number", + "number" + ], + "db_id": "flight_1", + "foreign_keys": [ + [ + 8, + 9 + ], + [ + 16, + 9 + ], + [ + 15, + 12 + ] + ], + "primary_keys": [ + 1, + 9, + 12, + 15 + ], + "table_names": [ + "航班", + "飞机", + "员工", + "证书" + ], + "table_names_original": [ + "flight", + "aircraft", + "employee", + "certificate" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "药物ID" + ], + [ + 0, + "药物名称" + ], + [ + 0, + "商品名称" + ], + [ + 0, + "FDA认证" + ], + [ + 1, + "酶ID" + ], + [ + 1, + "酶名称" + ], + [ + 1, + "位置" + ], + [ + 1, + "产物" + ], + [ + 1, + "染色体" + ], + [ + 1, + "孟德尔遗传数据库" + ], + [ + 1, + "紫质症" + ], + [ + 2, + "酶ID" + ], + [ + 2, + "药物ID" + ], + [ + 2, + "相互作用类型" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "id" + ], + [ + 0, + "name" + ], + [ + 0, + "Trade_Name" + ], + [ + 0, + "FDA_approved" + ], + [ + 1, + "id" + ], + [ + 1, + "name" + ], + [ + 1, + "Location" + ], + [ + 1, + "Product" + ], + [ + 1, + "Chromosome" + ], + [ + 1, + "OMIM" + ], + [ + 1, + "Porphyria" + ], + [ + 2, + "enzyme_id" + ], + [ + 2, + "medicine_id" + ], + [ + 2, + "interaction_type" + ] + ], + "column_types": [ + "text", + "number", + "text", + "text", + "text", + "number", + "text", + "text", + "text", + "text", + "number", + "text", + "number", + "number", + "text" + ], + "db_id": "medicine_enzyme_interaction", + "foreign_keys": [ + [ + 13, + 1 + ], + [ + 12, + 5 + ] + ], + "primary_keys": [ + 1, + 5, + 12 + ], + "table_names": [ + "药物", + "酶", + "药物与酶相互作用" + ], + "table_names_original": [ + "medicine", + "enzyme", + "medicine_enzyme_interaction" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "客户ID" + ], + [ + 0, + "客户信息" + ], + [ + 1, + "物业ID" + ], + [ + 1, + "物业类型" + ], + [ + 1, + "物业地址" + ], + [ + 1, + "详细信息" + ], + [ + 2, + "住户ID" + ], + [ + 2, + "物业ID" + ], + [ + 2, + "入住日期" + ], + [ + 2, + "搬出日期" + ], + [ + 2, + "详细信息" + ], + [ + 3, + "组织ID" + ], + [ + 3, + "上级组织ID" + ], + [ + 3, + "组织详细信息" + ], + [ + 4, + "服务ID" + ], + [ + 4, + "组织ID" + ], + [ + 4, + "服务类型" + ], + [ + 4, + "服务详细信息" + ], + [ + 5, + "住户ID" + ], + [ + 5, + "服务ID" + ], + [ + 5, + "入住日期" + ], + [ + 5, + "物业ID" + ], + [ + 5, + "申请服务日期" + ], + [ + 5, + "提供服务日期" + ], + [ + 5, + "详细信息" + ], + [ + 6, + "事情ID" + ], + [ + 6, + "组织ID" + ], + [ + 6, + "事情类型" + ], + [ + 6, + "服务类型" + ], + [ + 6, + "服务详细信息" + ], + [ + 7, + "客户事件ID" + ], + [ + 7, + "客户ID" + ], + [ + 7, + "入住日期" + ], + [ + 7, + "物业ID" + ], + [ + 7, + "住户ID" + ], + [ + 7, + "事情ID" + ], + [ + 8, + "客户事件记录ID" + ], + [ + 8, + "客户事件ID" + ], + [ + 8, + "服务类型" + ], + [ + 8, + "住户ID" + ], + [ + 8, + "物业ID" + ], + [ + 8, + "入住日期" + ], + [ + 9, + "事情ID" + ], + [ + 9, + "日期和时间" + ], + [ + 9, + "事情状态代码" + ], + [ + 10, + "事情ID" + ], + [ + 10, + "日期和时间" + ], + [ + 10, + "位置代码" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "customer_id" + ], + [ + 0, + "customer_details" + ], + [ + 1, + "property_id" + ], + [ + 1, + "property_type_code" + ], + [ + 1, + "property_address" + ], + [ + 1, + "other_details" + ], + [ + 2, + "resident_id" + ], + [ + 2, + "property_id" + ], + [ + 2, + "date_moved_in" + ], + [ + 2, + "date_moved_out" + ], + [ + 2, + "other_details" + ], + [ + 3, + "organization_id" + ], + [ + 3, + "parent_organization_id" + ], + [ + 3, + "organization_details" + ], + [ + 4, + "service_id" + ], + [ + 4, + "organization_id" + ], + [ + 4, + "service_type_code" + ], + [ + 4, + "service_details" + ], + [ + 5, + "resident_id" + ], + [ + 5, + "service_id" + ], + [ + 5, + "date_moved_in" + ], + [ + 5, + "property_id" + ], + [ + 5, + "date_requested" + ], + [ + 5, + "date_provided" + ], + [ + 5, + "other_details" + ], + [ + 6, + "thing_id" + ], + [ + 6, + "organization_id" + ], + [ + 6, + "Type_of_Thing_Code" + ], + [ + 6, + "service_type_code" + ], + [ + 6, + "service_details" + ], + [ + 7, + "Customer_Event_ID" + ], + [ + 7, + "customer_id" + ], + [ + 7, + "date_moved_in" + ], + [ + 7, + "property_id" + ], + [ + 7, + "resident_id" + ], + [ + 7, + "thing_id" + ], + [ + 8, + "Customer_Event_Note_ID" + ], + [ + 8, + "Customer_Event_ID" + ], + [ + 8, + "service_type_code" + ], + [ + 8, + "resident_id" + ], + [ + 8, + "property_id" + ], + [ + 8, + "date_moved_in" + ], + [ + 9, + "thing_id" + ], + [ + 9, + "Date_and_Date" + ], + [ + 9, + "Status_of_Thing_Code" + ], + [ + 10, + "thing_id" + ], + [ + 10, + "Date_and_Time" + ], + [ + 10, + "Location_Code" + ] + ], + "column_types": [ + "text", + "number", + "text", + "number", + "text", + "text", + "text", + "number", + "number", + "time", + "time", + "text", + "number", + "number", + "text", + "number", + "number", + "text", + "text", + "number", + "number", + "time", + "number", + "time", + "time", + "text", + "number", + "number", + "text", + "text", + "text", + "number", + "number", + "time", + "number", + "number", + "number", + "number", + "number", + "text", + "number", + "number", + "time", + "number", + "time", + "text", + "number", + "time", + "text" + ], + "db_id": "local_govt_and_lot", + "foreign_keys": [ + [ + 8, + 3 + ], + [ + 16, + 12 + ], + [ + 19, + 7 + ], + [ + 22, + 8 + ], + [ + 21, + 9 + ], + [ + 20, + 15 + ], + [ + 27, + 12 + ], + [ + 35, + 7 + ], + [ + 34, + 8 + ], + [ + 33, + 9 + ], + [ + 32, + 1 + ], + [ + 36, + 26 + ], + [ + 38, + 31 + ], + [ + 43, + 26 + ], + [ + 46, + 26 + ] + ], + "primary_keys": [ + 1, + 3, + 7, + 12, + 15, + 19, + 26, + 31, + 37, + 43, + 46 + ], + "table_names": [ + "客户", + "物业", + "住户", + "组织", + "服务", + "住户服务", + "事情", + "客户事件", + "客户事件记录", + "事情状态信息", + "事情位置信息" + ], + "table_names_original": [ + "Customers", + "Properties", + "Residents", + "Organizations", + "Services", + "Residents_Services", + "Things", + "Customer_Events", + "Customer_Event_Notes", + "Timed_Status_of_Things", + "Timed_Locations_of_Things" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "火车ID" + ], + [ + 0, + "车次" + ], + [ + 0, + "名称" + ], + [ + 0, + "始发站" + ], + [ + 0, + "终点站" + ], + [ + 0, + "出发时间" + ], + [ + 0, + "发车间隔" + ], + [ + 1, + "车站ID" + ], + [ + 1, + "站名" + ], + [ + 1, + "运营公司" + ], + [ + 1, + "地方政府" + ], + [ + 2, + "火车ID" + ], + [ + 2, + "车站ID" + ], + [ + 3, + "车站ID" + ], + [ + 3, + "星期几" + ], + [ + 3, + "最高气温" + ], + [ + 3, + "最低气温" + ], + [ + 3, + "降水量" + ], + [ + 3, + "风速" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "id" + ], + [ + 0, + "train_number" + ], + [ + 0, + "name" + ], + [ + 0, + "origin" + ], + [ + 0, + "destination" + ], + [ + 0, + "time" + ], + [ + 0, + "interval" + ], + [ + 1, + "id" + ], + [ + 1, + "network_name" + ], + [ + 1, + "services" + ], + [ + 1, + "local_authority" + ], + [ + 2, + "train_id" + ], + [ + 2, + "station_id" + ], + [ + 3, + "station_id" + ], + [ + 3, + "day_of_week" + ], + [ + 3, + "high_temperature" + ], + [ + 3, + "low_temperature" + ], + [ + 3, + "precipitation" + ], + [ + 3, + "wind_speed_mph" + ] + ], + "column_types": [ + "text", + "number", + "number", + "text", + "text", + "text", + "text", + "text", + "number", + "text", + "text", + "text", + "number", + "number", + "number", + "text", + "number", + "number", + "number", + "number" + ], + "db_id": "station_weather", + "foreign_keys": [ + [ + 13, + 8 + ], + [ + 12, + 1 + ], + [ + 14, + 8 + ] + ], + "primary_keys": [ + 1, + 8, + 12, + 14 + ], + "table_names": [ + "火车", + "车站", + "火车路线", + "每周天气" + ], + "table_names_original": [ + "train", + "station", + "route", + "weekly_weather" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "会员ID" + ], + [ + 0, + "卡号" + ], + [ + 0, + "姓名" + ], + [ + 0, + "籍贯" + ], + [ + 0, + "级别" + ], + [ + 1, + "分店ID" + ], + [ + 1, + "名称" + ], + [ + 1, + "开业年份" + ], + [ + 1, + "地址" + ], + [ + 1, + "城市" + ], + [ + 1, + "会员人数" + ], + [ + 2, + "会员ID" + ], + [ + 2, + "分店ID" + ], + [ + 2, + "注册年份" + ], + [ + 3, + "会员ID" + ], + [ + 3, + "分店ID" + ], + [ + 3, + "年份" + ], + [ + 3, + "总金额" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "Member_ID" + ], + [ + 0, + "Card_Number" + ], + [ + 0, + "Name" + ], + [ + 0, + "Hometown" + ], + [ + 0, + "Level" + ], + [ + 1, + "Branch_ID" + ], + [ + 1, + "Name" + ], + [ + 1, + "Open_year" + ], + [ + 1, + "Address_road" + ], + [ + 1, + "City" + ], + [ + 1, + "membership_amount" + ], + [ + 2, + "Member_ID" + ], + [ + 2, + "Branch_ID" + ], + [ + 2, + "Register_Year" + ], + [ + 3, + "Member_ID" + ], + [ + 3, + "Branch_ID" + ], + [ + 3, + "Year" + ], + [ + 3, + "Total_pounds" + ] + ], + "column_types": [ + "text", + "number", + "text", + "text", + "text", + "number", + "number", + "text", + "text", + "text", + "text", + "text", + "number", + "text", + "text", + "number", + "text", + "text", + "number" + ], + "db_id": "shop_membership", + "foreign_keys": [ + [ + 13, + 6 + ], + [ + 12, + 1 + ], + [ + 16, + 6 + ], + [ + 15, + 1 + ] + ], + "primary_keys": [ + 1, + 6, + 12, + 15 + ], + "table_names": [ + "会员", + "分店", + "会员注册", + "购买" + ], + "table_names_original": [ + "member", + "branch", + "membership_register_branch", + "purchase" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "地址ID" + ], + [ + 0, + "门牌号" + ], + [ + 0, + "城市" + ], + [ + 0, + "邮政编码" + ], + [ + 0, + "州、省、县" + ], + [ + 0, + "国家" + ], + [ + 1, + "员工ID" + ], + [ + 1, + "员工地址ID" + ], + [ + 1, + "绰号" + ], + [ + 1, + "名" + ], + [ + 1, + "中间名" + ], + [ + 1, + "姓" + ], + [ + 1, + "出生日期" + ], + [ + 1, + "入职日期" + ], + [ + 1, + "离职日期" + ], + [ + 2, + "交通工具ID" + ], + [ + 2, + "交通工具详细信息" + ], + [ + 3, + "客户ID" + ], + [ + 3, + "客户地址ID" + ], + [ + 3, + "客户状态代码" + ], + [ + 3, + "成为客户的日期" + ], + [ + 3, + "出生日期" + ], + [ + 3, + "名" + ], + [ + 3, + "姓" + ], + [ + 3, + "未付金额" + ], + [ + 3, + "电子邮件地址" + ], + [ + 3, + "电话号码" + ], + [ + 3, + "手机号码" + ], + [ + 4, + "客户ID" + ], + [ + 4, + "付款时间" + ], + [ + 4, + "付款方式" + ], + [ + 4, + "付款总额" + ], + [ + 5, + "课程ID" + ], + [ + 5, + "客户ID" + ], + [ + 5, + "课程状态码" + ], + [ + 5, + "员工ID" + ], + [ + 5, + "交通工具ID" + ], + [ + 5, + "课程日期" + ], + [ + 5, + "上课时间" + ], + [ + 5, + "价格" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "address_id" + ], + [ + 0, + "line_1_number_building" + ], + [ + 0, + "city" + ], + [ + 0, + "zip_postcode" + ], + [ + 0, + "state_province_county" + ], + [ + 0, + "country" + ], + [ + 1, + "staff_id" + ], + [ + 1, + "staff_address_id" + ], + [ + 1, + "nickname" + ], + [ + 1, + "first_name" + ], + [ + 1, + "middle_name" + ], + [ + 1, + "last_name" + ], + [ + 1, + "date_of_birth" + ], + [ + 1, + "date_joined_staff" + ], + [ + 1, + "date_left_staff" + ], + [ + 2, + "vehicle_id" + ], + [ + 2, + "vehicle_details" + ], + [ + 3, + "customer_id" + ], + [ + 3, + "customer_address_id" + ], + [ + 3, + "customer_status_code" + ], + [ + 3, + "date_became_customer" + ], + [ + 3, + "date_of_birth" + ], + [ + 3, + "first_name" + ], + [ + 3, + "last_name" + ], + [ + 3, + "amount_outstanding" + ], + [ + 3, + "email_address" + ], + [ + 3, + "phone_number" + ], + [ + 3, + "cell_mobile_phone_number" + ], + [ + 4, + "customer_id" + ], + [ + 4, + "datetime_payment" + ], + [ + 4, + "payment_method_code" + ], + [ + 4, + "amount_payment" + ], + [ + 5, + "lesson_id" + ], + [ + 5, + "customer_id" + ], + [ + 5, + "lesson_status_code" + ], + [ + 5, + "staff_id" + ], + [ + 5, + "vehicle_id" + ], + [ + 5, + "lesson_date" + ], + [ + 5, + "lesson_time" + ], + [ + 5, + "price" + ] + ], + "column_types": [ + "text", + "number", + "text", + "text", + "text", + "text", + "text", + "number", + "number", + "text", + "text", + "text", + "text", + "time", + "time", + "time", + "number", + "text", + "number", + "number", + "text", + "time", + "time", + "text", + "text", + "number", + "text", + "text", + "text", + "number", + "time", + "text", + "number", + "number", + "number", + "text", + "number", + "number", + "time", + "text", + "number" + ], + "db_id": "driving_school", + "foreign_keys": [ + [ + 8, + 1 + ], + [ + 19, + 1 + ], + [ + 29, + 18 + ], + [ + 34, + 18 + ], + [ + 36, + 7 + ], + [ + 37, + 16 + ] + ], + "primary_keys": [ + 1, + 7, + 16, + 18, + 29, + 33 + ], + "table_names": [ + "地址", + "员工", + "交通工具", + "客户", + "付款记录", + "课程" + ], + "table_names_original": [ + "Addresses", + "Staff", + "Vehicles", + "Customers", + "Customer_Payments", + "Lessons" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "场馆ID" + ], + [ + 0, + "位置" + ], + [ + 0, + "名称" + ], + [ + 0, + "容量" + ], + [ + 0, + "最多出席人数" + ], + [ + 0, + "最低出席人数" + ], + [ + 0, + "平均出席人数" + ], + [ + 1, + "歌手ID" + ], + [ + 1, + "名字" + ], + [ + 1, + "国家" + ], + [ + 1, + "歌名" + ], + [ + 1, + "发行年份" + ], + [ + 1, + "年龄" + ], + [ + 1, + "是否是男性" + ], + [ + 2, + "演唱会ID" + ], + [ + 2, + "演唱会名称" + ], + [ + 2, + "主题" + ], + [ + 2, + "场馆ID" + ], + [ + 2, + "年份" + ], + [ + 3, + "演唱会ID" + ], + [ + 3, + "歌手ID" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "Stadium_ID" + ], + [ + 0, + "Location" + ], + [ + 0, + "Name" + ], + [ + 0, + "Capacity" + ], + [ + 0, + "Highest" + ], + [ + 0, + "Lowest" + ], + [ + 0, + "Average" + ], + [ + 1, + "Singer_ID" + ], + [ + 1, + "Name" + ], + [ + 1, + "Country" + ], + [ + 1, + "Song_Name" + ], + [ + 1, + "Song_release_year" + ], + [ + 1, + "Age" + ], + [ + 1, + "Is_male" + ], + [ + 2, + "concert_ID" + ], + [ + 2, + "concert_Name" + ], + [ + 2, + "Theme" + ], + [ + 2, + "Stadium_ID" + ], + [ + 2, + "Year" + ], + [ + 3, + "concert_ID" + ], + [ + 3, + "Singer_ID" + ] + ], + "column_types": [ + "text", + "number", + "text", + "text", + "number", + "number", + "number", + "number", + "number", + "text", + "text", + "text", + "text", + "number", + "others", + "number", + "text", + "text", + "text", + "text", + "number", + "text" + ], + "db_id": "concert_singer", + "foreign_keys": [ + [ + 18, + 1 + ], + [ + 21, + 8 + ], + [ + 20, + 15 + ] + ], + "primary_keys": [ + 1, + 8, + 15, + 20 + ], + "table_names": [ + "场馆", + "歌手", + "演唱会", + "歌手举办演唱会" + ], + "table_names_original": [ + "stadium", + "singer", + "concert", + "singer_in_concert" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "歌曲ID" + ], + [ + 0, + "标题" + ], + [ + 1, + "专辑ID" + ], + [ + 1, + "标题" + ], + [ + 1, + "年份" + ], + [ + 1, + "标签" + ], + [ + 1, + "类型" + ], + [ + 2, + "乐手ID" + ], + [ + 2, + "名" + ], + [ + 2, + "姓" + ], + [ + 3, + "歌曲ID" + ], + [ + 3, + "乐手ID" + ], + [ + 3, + "乐器" + ], + [ + 4, + "歌曲ID" + ], + [ + 4, + "乐队成员" + ], + [ + 4, + "舞台位置" + ], + [ + 5, + "专辑ID" + ], + [ + 5, + "位置" + ], + [ + 5, + "歌曲ID" + ], + [ + 6, + "歌曲ID" + ], + [ + 6, + "乐队成员" + ], + [ + 6, + "类型" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "SongId" + ], + [ + 0, + "Title" + ], + [ + 1, + "AId" + ], + [ + 1, + "Title" + ], + [ + 1, + "Year" + ], + [ + 1, + "Label" + ], + [ + 1, + "Type" + ], + [ + 2, + "Id" + ], + [ + 2, + "Firstname" + ], + [ + 2, + "Lastname" + ], + [ + 3, + "SongId" + ], + [ + 3, + "BandmateId" + ], + [ + 3, + "Instrument" + ], + [ + 4, + "SongId" + ], + [ + 4, + "Bandmate" + ], + [ + 4, + "StagePosition" + ], + [ + 5, + "AlbumId" + ], + [ + 5, + "Position" + ], + [ + 5, + "SongId" + ], + [ + 6, + "SongId" + ], + [ + 6, + "Bandmate" + ], + [ + 6, + "Type" + ] + ], + "column_types": [ + "text", + "number", + "text", + "number", + "text", + "number", + "text", + "text", + "number", + "text", + "text", + "number", + "number", + "text", + "number", + "number", + "text", + "number", + "number", + "number", + "number", + "number", + "text" + ], + "db_id": "music_2", + "foreign_keys": [ + [ + 12, + 8 + ], + [ + 11, + 1 + ], + [ + 15, + 8 + ], + [ + 14, + 1 + ], + [ + 17, + 3 + ], + [ + 19, + 1 + ], + [ + 21, + 8 + ], + [ + 20, + 1 + ] + ], + "primary_keys": [ + 1, + 3, + 8, + 11, + 14, + 17, + 20 + ], + "table_names": [ + "歌曲", + "专辑", + "乐队成员", + "乐器", + "表演", + "曲目清单", + "声音" + ], + "table_names_original": [ + "Songs", + "Albums", + "Band", + "Instruments", + "Performance", + "Tracklists", + "Vocals" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "球队ID" + ], + [ + 0, + "名称" + ], + [ + 0, + "地区" + ], + [ + 0, + "创立年份" + ], + [ + 1, + "排名" + ], + [ + 1, + "球队ID" + ], + [ + 1, + "金牌" + ], + [ + 1, + "银牌" + ], + [ + 1, + "铜牌" + ], + [ + 1, + "总数" + ], + [ + 2, + "球员ID" + ], + [ + 2, + "姓名" + ], + [ + 2, + "球场位置" + ], + [ + 2, + "球队ID" + ], + [ + 2, + "应用" + ], + [ + 2, + "尝试" + ], + [ + 2, + "目标" + ], + [ + 2, + "得分" + ], + [ + 3, + "比赛ID" + ], + [ + 3, + "年份" + ], + [ + 3, + "比赛类型" + ], + [ + 3, + "国家" + ], + [ + 4, + "比赛ID" + ], + [ + 4, + "球队ID1" + ], + [ + 4, + "球队ID2" + ], + [ + 4, + "比分" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "Club_ID" + ], + [ + 0, + "name" + ], + [ + 0, + "Region" + ], + [ + 0, + "Start_year" + ], + [ + 1, + "Rank" + ], + [ + 1, + "Club_ID" + ], + [ + 1, + "Gold" + ], + [ + 1, + "Silver" + ], + [ + 1, + "Bronze" + ], + [ + 1, + "Total" + ], + [ + 2, + "Player_ID" + ], + [ + 2, + "name" + ], + [ + 2, + "Position" + ], + [ + 2, + "Club_ID" + ], + [ + 2, + "Apps" + ], + [ + 2, + "Tries" + ], + [ + 2, + "Goals" + ], + [ + 2, + "Points" + ], + [ + 3, + "Competition_ID" + ], + [ + 3, + "Year" + ], + [ + 3, + "Competition_type" + ], + [ + 3, + "Country" + ], + [ + 4, + "Competition_ID" + ], + [ + 4, + "Club_ID_1" + ], + [ + 4, + "Club_ID_2" + ], + [ + 4, + "Score" + ] + ], + "column_types": [ + "text", + "number", + "text", + "text", + "text", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "text", + "text", + "number", + "number", + "number", + "text", + "number", + "number", + "number", + "text", + "text", + "number", + "number", + "number", + "text" + ], + "db_id": "sports_competition", + "foreign_keys": [ + [ + 6, + 1 + ], + [ + 14, + 1 + ], + [ + 23, + 19 + ], + [ + 25, + 1 + ], + [ + 24, + 1 + ] + ], + "primary_keys": [ + 1, + 5, + 11, + 19, + 23 + ], + "table_names": [ + "球队", + "球队排名", + "球员", + "比赛", + "比赛结果" + ], + "table_names_original": [ + "club", + "club_rank", + "player", + "competition", + "competition_result" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "铁路ID" + ], + [ + 0, + "铁路名称" + ], + [ + 0, + "建造者" + ], + [ + 0, + "建造时间" + ], + [ + 0, + "车轮" + ], + [ + 0, + "位置" + ], + [ + 0, + "对象编号" + ], + [ + 1, + "火车ID" + ], + [ + 1, + "车次" + ], + [ + 1, + "名称" + ], + [ + 1, + "始发地" + ], + [ + 1, + "到达时间" + ], + [ + 1, + "铁路ID" + ], + [ + 2, + "经理ID" + ], + [ + 2, + "姓名" + ], + [ + 2, + "国家" + ], + [ + 2, + "工龄" + ], + [ + 2, + "年龄" + ], + [ + 2, + "级别" + ], + [ + 3, + "铁路ID" + ], + [ + 3, + "经理ID" + ], + [ + 3, + "入职年份" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "Railway_ID" + ], + [ + 0, + "Railway" + ], + [ + 0, + "Builder" + ], + [ + 0, + "Built" + ], + [ + 0, + "Wheels" + ], + [ + 0, + "Location" + ], + [ + 0, + "ObjectNumber" + ], + [ + 1, + "Train_ID" + ], + [ + 1, + "Train_Num" + ], + [ + 1, + "Name" + ], + [ + 1, + "From" + ], + [ + 1, + "Arrival" + ], + [ + 1, + "Railway_ID" + ], + [ + 2, + "Manager_ID" + ], + [ + 2, + "Name" + ], + [ + 2, + "Country" + ], + [ + 2, + "Working_year_starts" + ], + [ + 2, + "Age" + ], + [ + 2, + "Level" + ], + [ + 3, + "Railway_ID" + ], + [ + 3, + "Manager_ID" + ], + [ + 3, + "From_Year" + ] + ], + "column_types": [ + "text", + "number", + "text", + "text", + "text", + "text", + "text", + "text", + "number", + "text", + "text", + "text", + "text", + "number", + "number", + "text", + "text", + "text", + "number", + "number", + "number", + "number", + "text" + ], + "db_id": "railway", + "foreign_keys": [ + [ + 13, + 1 + ], + [ + 20, + 1 + ], + [ + 21, + 14 + ] + ], + "primary_keys": [ + 1, + 8, + 14, + 20 + ], + "table_names": [ + "铁路", + "火车", + "经理", + "铁路经理" + ], + "table_names_original": [ + "railway", + "train", + "manager", + "railway_manage" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "房间号" + ], + [ + 0, + "房间名称" + ], + [ + 0, + "床" + ], + [ + 0, + "床型" + ], + [ + 0, + "最多入住人数" + ], + [ + 0, + "底价" + ], + [ + 0, + "装饰" + ], + [ + 1, + "订单号" + ], + [ + 1, + "房间" + ], + [ + 1, + "入住日期" + ], + [ + 1, + "退房日期" + ], + [ + 1, + "实际支付价格" + ], + [ + 1, + "姓" + ], + [ + 1, + "名" + ], + [ + 1, + "成人数" + ], + [ + 1, + "小孩数" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "RoomId" + ], + [ + 0, + "roomName" + ], + [ + 0, + "beds" + ], + [ + 0, + "bedType" + ], + [ + 0, + "maxOccupancy" + ], + [ + 0, + "basePrice" + ], + [ + 0, + "decor" + ], + [ + 1, + "Code" + ], + [ + 1, + "Room" + ], + [ + 1, + "CheckIn" + ], + [ + 1, + "CheckOut" + ], + [ + 1, + "Rate" + ], + [ + 1, + "LastName" + ], + [ + 1, + "FirstName" + ], + [ + 1, + "Adults" + ], + [ + 1, + "Kids" + ] + ], + "column_types": [ + "text", + "text", + "text", + "number", + "text", + "number", + "number", + "text", + "number", + "text", + "text", + "text", + "number", + "text", + "text", + "number", + "number" + ], + "db_id": "inn_1", + "foreign_keys": [ + [ + 9, + 1 + ] + ], + "primary_keys": [ + 1, + 8 + ], + "table_names": [ + "房间", + "预订" + ], + "table_names_original": [ + "Rooms", + "Reservations" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "博物馆ID" + ], + [ + 0, + "名字" + ], + [ + 0, + "工作人员数量" + ], + [ + 0, + "开业年份" + ], + [ + 1, + "游客ID" + ], + [ + 1, + "名字" + ], + [ + 1, + "会员级别" + ], + [ + 1, + "年龄" + ], + [ + 2, + "博物馆ID" + ], + [ + 2, + "游客ID" + ], + [ + 2, + "购票数量" + ], + [ + 2, + "总费用" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "Museum_ID" + ], + [ + 0, + "Name" + ], + [ + 0, + "Num_of_Staff" + ], + [ + 0, + "Open_Year" + ], + [ + 1, + "ID" + ], + [ + 1, + "Name" + ], + [ + 1, + "Level_of_membership" + ], + [ + 1, + "Age" + ], + [ + 2, + "Museum_ID" + ], + [ + 2, + "visitor_ID" + ], + [ + 2, + "Num_of_Ticket" + ], + [ + 2, + "Total_spent" + ] + ], + "column_types": [ + "text", + "number", + "text", + "number", + "text", + "number", + "text", + "number", + "number", + "number", + "text", + "number", + "number" + ], + "db_id": "museum_visit", + "foreign_keys": [ + [ + 10, + 5 + ], + [ + 9, + 1 + ] + ], + "primary_keys": [ + 1, + 5, + 9 + ], + "table_names": [ + "博物馆", + "游客", + "参观" + ], + "table_names_original": [ + "museum", + "visitor", + "visit" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "加速器id" + ], + [ + 0, + "名称" + ], + [ + 0, + "操作系统" + ], + [ + 0, + "客户端" + ], + [ + 0, + "连接方式" + ], + [ + 1, + "浏览器ID" + ], + [ + 1, + "名称" + ], + [ + 1, + "市场份额" + ], + [ + 2, + "加速器ID" + ], + [ + 2, + "浏览器ID" + ], + [ + 2, + "从哪一年开始兼容" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "id" + ], + [ + 0, + "name" + ], + [ + 0, + "Operating_system" + ], + [ + 0, + "Client" + ], + [ + 0, + "Connection" + ], + [ + 1, + "id" + ], + [ + 1, + "name" + ], + [ + 1, + "market_share" + ], + [ + 2, + "accelerator_id" + ], + [ + 2, + "browser_id" + ], + [ + 2, + "compatible_since_year" + ] + ], + "column_types": [ + "text", + "number", + "text", + "text", + "text", + "text", + "number", + "text", + "number", + "number", + "number", + "number" + ], + "db_id": "browser_web", + "foreign_keys": [ + [ + 10, + 6 + ], + [ + 9, + 1 + ] + ], + "primary_keys": [ + 1, + 6, + 9 + ], + "table_names": [ + "web加速器", + "浏览器", + "浏览器与加速器兼容" + ], + "table_names_original": [ + "Web_client_accelerator", + "browser", + "accelerator_compatible_browser" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "球员id" + ], + [ + 0, + "年份" + ], + [ + 0, + "比赛次数" + ], + [ + 0, + "比赛id" + ], + [ + 0, + "球队id" + ], + [ + 0, + "联盟id" + ], + [ + 0, + "出赛场数" + ], + [ + 0, + "先发位置" + ], + [ + 1, + "年份" + ], + [ + 1, + "球队id" + ], + [ + 1, + "联盟id" + ], + [ + 1, + "球员id" + ], + [ + 1, + "出场次数" + ], + [ + 1, + "先发场次" + ], + [ + 1, + "取得打击场次" + ], + [ + 1, + "防守场次" + ], + [ + 1, + "投手次数" + ], + [ + 1, + "捕手次数" + ], + [ + 1, + "一垒手次数" + ], + [ + 1, + "二垒手次数" + ], + [ + 1, + "三垒手次数" + ], + [ + 1, + "游击手次数" + ], + [ + 1, + "左外野手次数" + ], + [ + 1, + "中外野手次数" + ], + [ + 1, + "右外野手次数" + ], + [ + 1, + "外野手次数" + ], + [ + 1, + "指定打者次数" + ], + [ + 1, + "代打次数" + ], + [ + 1, + "代跑次数" + ], + [ + 2, + "球员id" + ], + [ + 2, + "奖项id" + ], + [ + 2, + "年份" + ], + [ + 2, + "联盟id" + ], + [ + 2, + "是否为平局" + ], + [ + 2, + "备注" + ], + [ + 3, + "球员id" + ], + [ + 3, + "奖项id" + ], + [ + 3, + "年份" + ], + [ + 3, + "联盟id" + ], + [ + 3, + "是否为平局" + ], + [ + 3, + "备注" + ], + [ + 4, + "奖项id" + ], + [ + 4, + "年份" + ], + [ + 4, + "联盟id" + ], + [ + 4, + "球员id" + ], + [ + 4, + "获得的选票" + ], + [ + 4, + "选票总数" + ], + [ + 4, + "第一选票" + ], + [ + 5, + "奖项id" + ], + [ + 5, + "年份" + ], + [ + 5, + "联盟id" + ], + [ + 5, + "球员id" + ], + [ + 5, + "获得的选票" + ], + [ + 5, + "选票总数" + ], + [ + 5, + "第一选票" + ], + [ + 6, + "球员id" + ], + [ + 6, + "年份" + ], + [ + 6, + "出场次序" + ], + [ + 6, + "球队id" + ], + [ + 6, + "联盟id" + ], + [ + 6, + "出场次数" + ], + [ + 6, + "打击数" + ], + [ + 6, + "得分" + ], + [ + 6, + "安打数" + ], + [ + 6, + "二垒安打" + ], + [ + 6, + "三垒安打" + ], + [ + 6, + "全垒打" + ], + [ + 6, + "被打点数" + ], + [ + 6, + "被盗垒数" + ], + [ + 6, + "阻杀" + ], + [ + 6, + "四坏球" + ], + [ + 6, + "三振" + ], + [ + 6, + "故意四坏球" + ], + [ + 6, + "触身球" + ], + [ + 6, + "牺牲触击数" + ], + [ + 6, + "高飞牺牲打" + ], + [ + 6, + "击出双杀打的次数" + ], + [ + 7, + "年份" + ], + [ + 7, + "轮数" + ], + [ + 7, + "球员id" + ], + [ + 7, + "球队id" + ], + [ + 7, + "联盟id" + ], + [ + 7, + "出场次数" + ], + [ + 7, + "打击数" + ], + [ + 7, + "得分" + ], + [ + 7, + "安打数" + ], + [ + 7, + "二垒安打" + ], + [ + 7, + "三垒安打" + ], + [ + 7, + "全垒打" + ], + [ + 7, + "被打点数" + ], + [ + 7, + "被盗垒数" + ], + [ + 7, + "阻杀" + ], + [ + 7, + "四坏球" + ], + [ + 7, + "三振" + ], + [ + 7, + "故意四坏球" + ], + [ + 7, + "触身球" + ], + [ + 7, + "牺牲触击数" + ], + [ + 7, + "高飞牺牲打" + ], + [ + 7, + "击出双杀打的次数" + ], + [ + 8, + "球员id" + ], + [ + 8, + "学校id" + ], + [ + 8, + "年份" + ], + [ + 9, + "球员id" + ], + [ + 9, + "年份" + ], + [ + 9, + "出场次序" + ], + [ + 9, + "球队id" + ], + [ + 9, + "联盟id" + ], + [ + 9, + "位置" + ], + [ + 9, + "出场次数" + ], + [ + 9, + "先发场次" + ], + [ + 9, + "投球局数" + ], + [ + 9, + "使出局数" + ], + [ + 9, + "助攻数" + ], + [ + 9, + "失误数" + ], + [ + 9, + "双杀" + ], + [ + 9, + "传球数" + ], + [ + 9, + "暴投" + ], + [ + 9, + "被盗垒数" + ], + [ + 9, + "盗垒失败数" + ], + [ + 9, + "联防等级" + ], + [ + 10, + "球员id" + ], + [ + 10, + "年份" + ], + [ + 10, + "出场次序" + ], + [ + 10, + "左外野手" + ], + [ + 10, + "中外野手" + ], + [ + 10, + "右外野手" + ], + [ + 11, + "球员id" + ], + [ + 11, + "年份" + ], + [ + 11, + "球队id" + ], + [ + 11, + "联盟id" + ], + [ + 11, + "轮数" + ], + [ + 11, + "位置" + ], + [ + 11, + "出场次数" + ], + [ + 11, + "先发场次" + ], + [ + 11, + "投球局数" + ], + [ + 11, + "使出局数" + ], + [ + 11, + "助攻数" + ], + [ + 11, + "失误数" + ], + [ + 11, + "双杀" + ], + [ + 11, + "三杀" + ], + [ + 11, + "传球数" + ], + [ + 11, + "被盗垒数" + ], + [ + 11, + "盗垒失败数" + ], + [ + 12, + "球员id" + ], + [ + 12, + "年份" + ], + [ + 12, + "投票人" + ], + [ + 12, + "总票数" + ], + [ + 12, + "需要的选票" + ], + [ + 12, + "获票数" + ], + [ + 12, + "是否入选" + ], + [ + 12, + "类别" + ], + [ + 12, + "备注" + ], + [ + 13, + "年份" + ], + [ + 13, + "联盟id" + ], + [ + 13, + "球队id" + ], + [ + 13, + "球场id" + ], + [ + 13, + "开始日期" + ], + [ + 13, + "结束日期" + ], + [ + 13, + "比赛数" + ], + [ + 13, + "空缺数" + ], + [ + 13, + "观众人数" + ], + [ + 14, + "球员id" + ], + [ + 14, + "年份" + ], + [ + 14, + "球队id" + ], + [ + 14, + "联盟id" + ], + [ + 14, + "赛季教练次序" + ], + [ + 14, + "指导比赛场数" + ], + [ + 14, + "获胜场数" + ], + [ + 14, + "落败场数" + ], + [ + 14, + "最终排名" + ], + [ + 14, + "是否为球员教练" + ], + [ + 15, + "球员id" + ], + [ + 15, + "年份" + ], + [ + 15, + "球队id" + ], + [ + 15, + "联盟id" + ], + [ + 15, + "赛季教练次序" + ], + [ + 15, + "上半程或下半程" + ], + [ + 15, + "比赛场数" + ], + [ + 15, + "获胜场数" + ], + [ + 15, + "落败场数" + ], + [ + 15, + "最终排名" + ], + [ + 16, + "球员id" + ], + [ + 16, + "出生年份" + ], + [ + 16, + "出生月份" + ], + [ + 16, + "出生日" + ], + [ + 16, + "出生地所在国家" + ], + [ + 16, + "出生地所在州" + ], + [ + 16, + "出生地所在城市" + ], + [ + 16, + "去世年份" + ], + [ + 16, + "去世月份" + ], + [ + 16, + "去世日" + ], + [ + 16, + "去世地所在国家" + ], + [ + 16, + "去世地所在州" + ], + [ + 16, + "去世地所在城市" + ], + [ + 16, + "名字" + ], + [ + 16, + "姓氏" + ], + [ + 16, + "教名" + ], + [ + 16, + "体重" + ], + [ + 16, + "身高" + ], + [ + 16, + "击球数" + ], + [ + 16, + "投球数" + ], + [ + 16, + "初次比赛日期" + ], + [ + 16, + "最后比赛日期" + ], + [ + 16, + "Retrosheet_id" + ], + [ + 16, + "bbref_iD" + ], + [ + 17, + "场馆id" + ], + [ + 17, + "场馆名" + ], + [ + 17, + "场馆别名" + ], + [ + 17, + "城市" + ], + [ + 17, + "州" + ], + [ + 17, + "国家" + ], + [ + 18, + "球员id" + ], + [ + 18, + "年份" + ], + [ + 18, + "出场次序" + ], + [ + 18, + "球队id" + ], + [ + 18, + "联盟id" + ], + [ + 18, + "获胜场数" + ], + [ + 18, + "落败场数" + ], + [ + 18, + "比赛场数" + ], + [ + 18, + "先发场数" + ], + [ + 18, + "完投场次" + ], + [ + 18, + "投手完封场数" + ], + [ + 18, + "救援成功" + ], + [ + 18, + "牵制出局" + ], + [ + 18, + "被安打" + ], + [ + 18, + "责任失分" + ], + [ + 18, + "被全垒打" + ], + [ + 18, + "四坏球" + ], + [ + 18, + "三振" + ], + [ + 18, + "对手打击率" + ], + [ + 18, + "投手防御率" + ], + [ + 18, + "故意四坏球" + ], + [ + 18, + "暴投" + ], + [ + 18, + "触身球" + ], + [ + 18, + "犯规数" + ], + [ + 18, + "投球人次" + ], + [ + 18, + "滚地球对飞球之比率" + ], + [ + 18, + "投手失分" + ], + [ + 18, + "被牺牲触击数" + ], + [ + 18, + "被高飞牺牲打数" + ], + [ + 18, + "被击出双杀打数" + ], + [ + 19, + "球员id" + ], + [ + 19, + "年份" + ], + [ + 19, + "轮数" + ], + [ + 19, + "球队id" + ], + [ + 19, + "联盟id" + ], + [ + 19, + "获胜场数" + ], + [ + 19, + "落败场数" + ], + [ + 19, + "比赛场数" + ], + [ + 19, + "先发场数" + ], + [ + 19, + "完投场次" + ], + [ + 19, + "投手完封场数" + ], + [ + 19, + "救援成功" + ], + [ + 19, + "牵制出局" + ], + [ + 19, + "被安打" + ], + [ + 19, + "责任失分" + ], + [ + 19, + "被全垒打" + ], + [ + 19, + "四坏球" + ], + [ + 19, + "三振" + ], + [ + 19, + "对手打击率" + ], + [ + 19, + "投手防御率" + ], + [ + 19, + "故意四坏球" + ], + [ + 19, + "暴投" + ], + [ + 19, + "触身球" + ], + [ + 19, + "犯规数" + ], + [ + 19, + "投球人次" + ], + [ + 19, + "滚地球对飞球之比率" + ], + [ + 19, + "投手失分" + ], + [ + 19, + "被牺牲触击数" + ], + [ + 19, + "被高飞牺牲打数" + ], + [ + 19, + "被击出双杀打数" + ], + [ + 20, + "年份" + ], + [ + 20, + "球队id" + ], + [ + 20, + "联盟id" + ], + [ + 20, + "球员id" + ], + [ + 20, + "薪水" + ], + [ + 21, + "大学id" + ], + [ + 21, + "大学名" + ], + [ + 21, + "城市" + ], + [ + 21, + "州" + ], + [ + 21, + "国家" + ], + [ + 22, + "年份" + ], + [ + 22, + "轮数" + ], + [ + 22, + "获胜球队id" + ], + [ + 22, + "获胜联盟id" + ], + [ + 22, + "落败球队id" + ], + [ + 22, + "落败联盟id" + ], + [ + 22, + "胜利场数" + ], + [ + 22, + "落败场数" + ], + [ + 22, + "平局场数" + ], + [ + 23, + "年份" + ], + [ + 23, + "联盟id" + ], + [ + 23, + "球队id" + ], + [ + 23, + "运营公司id" + ], + [ + 23, + "球队分组id" + ], + [ + 23, + "最终排名" + ], + [ + 23, + "比赛场数" + ], + [ + 23, + "主场比赛场数" + ], + [ + 23, + "获胜场数" + ], + [ + 23, + "落败场数" + ], + [ + 23, + "是否为分组胜者" + ], + [ + 23, + "是否为外卡胜者" + ], + [ + 23, + "是否为联盟胜者" + ], + [ + 23, + "是否为全球胜者" + ], + [ + 23, + "得分" + ], + [ + 23, + "上场打击次数" + ], + [ + 23, + "安打数" + ], + [ + 23, + "双杀" + ], + [ + 23, + "三杀" + ], + [ + 23, + "全垒打" + ], + [ + 23, + "四坏球" + ], + [ + 23, + "三振" + ], + [ + 23, + "盗垒成功" + ], + [ + 23, + "阻杀" + ], + [ + 23, + "触身球" + ], + [ + 23, + "高飞牺牲打" + ], + [ + 23, + "对手得分" + ], + [ + 23, + "责任失分" + ], + [ + 23, + "投手防御率" + ], + [ + 23, + "完投" + ], + [ + 23, + "投手完封场数" + ], + [ + 23, + "救援成功" + ], + [ + 23, + "使出局数" + ], + [ + 23, + "被安打" + ], + [ + 23, + "被全垒打" + ], + [ + 23, + "被四坏球打" + ], + [ + 23, + "被三振打" + ], + [ + 23, + "失误数" + ], + [ + 23, + "双杀数" + ], + [ + 23, + "守备率" + ], + [ + 23, + "球队名" + ], + [ + 23, + "主场球馆" + ], + [ + 23, + "总观众数" + ], + [ + 23, + "击打球场校正值" + ], + [ + 23, + "投球球场校正值" + ], + [ + 23, + "球队br_id" + ], + [ + 23, + "球队lahman45_id" + ], + [ + 23, + "球队retro_id" + ], + [ + 24, + "运营公司id" + ], + [ + 24, + "公司名" + ], + [ + 24, + "是否还在运营" + ], + [ + 24, + "NA_id" + ], + [ + 25, + "年份" + ], + [ + 25, + "联盟id" + ], + [ + 25, + "球队id" + ], + [ + 25, + "上半程或下半程" + ], + [ + 25, + "球队分组id" + ], + [ + 25, + "是否为分组胜者" + ], + [ + 25, + "最终排名" + ], + [ + 25, + "比赛场数" + ], + [ + 25, + "获胜场数" + ], + [ + 25, + "落败场数" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "player_id" + ], + [ + 0, + "year" + ], + [ + 0, + "game_num" + ], + [ + 0, + "game_id" + ], + [ + 0, + "team_id" + ], + [ + 0, + "league_id" + ], + [ + 0, + "gp" + ], + [ + 0, + "starting_pos" + ], + [ + 1, + "year" + ], + [ + 1, + "team_id" + ], + [ + 1, + "league_id" + ], + [ + 1, + "player_id" + ], + [ + 1, + "g_all" + ], + [ + 1, + "gs" + ], + [ + 1, + "g_batting" + ], + [ + 1, + "g_defense" + ], + [ + 1, + "g_p" + ], + [ + 1, + "g_c" + ], + [ + 1, + "g_1b" + ], + [ + 1, + "g_2b" + ], + [ + 1, + "g_3b" + ], + [ + 1, + "g_ss" + ], + [ + 1, + "g_lf" + ], + [ + 1, + "g_cf" + ], + [ + 1, + "g_rf" + ], + [ + 1, + "g_of" + ], + [ + 1, + "g_dh" + ], + [ + 1, + "g_ph" + ], + [ + 1, + "g_pr" + ], + [ + 2, + "player_id" + ], + [ + 2, + "award_id" + ], + [ + 2, + "year" + ], + [ + 2, + "league_id" + ], + [ + 2, + "tie" + ], + [ + 2, + "notes" + ], + [ + 3, + "player_id" + ], + [ + 3, + "award_id" + ], + [ + 3, + "year" + ], + [ + 3, + "league_id" + ], + [ + 3, + "tie" + ], + [ + 3, + "notes" + ], + [ + 4, + "award_id" + ], + [ + 4, + "year" + ], + [ + 4, + "league_id" + ], + [ + 4, + "player_id" + ], + [ + 4, + "points_won" + ], + [ + 4, + "points_max" + ], + [ + 4, + "votes_first" + ], + [ + 5, + "award_id" + ], + [ + 5, + "year" + ], + [ + 5, + "league_id" + ], + [ + 5, + "player_id" + ], + [ + 5, + "points_won" + ], + [ + 5, + "points_max" + ], + [ + 5, + "votes_first" + ], + [ + 6, + "player_id" + ], + [ + 6, + "year" + ], + [ + 6, + "stint" + ], + [ + 6, + "team_id" + ], + [ + 6, + "league_id" + ], + [ + 6, + "g" + ], + [ + 6, + "ab" + ], + [ + 6, + "r" + ], + [ + 6, + "h" + ], + [ + 6, + "double" + ], + [ + 6, + "triple" + ], + [ + 6, + "hr" + ], + [ + 6, + "rbi" + ], + [ + 6, + "sb" + ], + [ + 6, + "cs" + ], + [ + 6, + "bb" + ], + [ + 6, + "so" + ], + [ + 6, + "ibb" + ], + [ + 6, + "hbp" + ], + [ + 6, + "sh" + ], + [ + 6, + "sf" + ], + [ + 6, + "g_idp" + ], + [ + 7, + "year" + ], + [ + 7, + "round" + ], + [ + 7, + "player_id" + ], + [ + 7, + "team_id" + ], + [ + 7, + "league_id" + ], + [ + 7, + "g" + ], + [ + 7, + "ab" + ], + [ + 7, + "r" + ], + [ + 7, + "h" + ], + [ + 7, + "double" + ], + [ + 7, + "triple" + ], + [ + 7, + "hr" + ], + [ + 7, + "rbi" + ], + [ + 7, + "sb" + ], + [ + 7, + "cs" + ], + [ + 7, + "bb" + ], + [ + 7, + "so" + ], + [ + 7, + "ibb" + ], + [ + 7, + "hbp" + ], + [ + 7, + "sh" + ], + [ + 7, + "sf" + ], + [ + 7, + "g_idp" + ], + [ + 8, + "player_id" + ], + [ + 8, + "college_id" + ], + [ + 8, + "year" + ], + [ + 9, + "player_id" + ], + [ + 9, + "year" + ], + [ + 9, + "stint" + ], + [ + 9, + "team_id" + ], + [ + 9, + "league_id" + ], + [ + 9, + "pos" + ], + [ + 9, + "g" + ], + [ + 9, + "gs" + ], + [ + 9, + "inn_outs" + ], + [ + 9, + "po" + ], + [ + 9, + "a" + ], + [ + 9, + "e" + ], + [ + 9, + "dp" + ], + [ + 9, + "pb" + ], + [ + 9, + "wp" + ], + [ + 9, + "sb" + ], + [ + 9, + "cs" + ], + [ + 9, + "zr" + ], + [ + 10, + "player_id" + ], + [ + 10, + "year" + ], + [ + 10, + "stint" + ], + [ + 10, + "glf" + ], + [ + 10, + "gcf" + ], + [ + 10, + "grf" + ], + [ + 11, + "player_id" + ], + [ + 11, + "year" + ], + [ + 11, + "team_id" + ], + [ + 11, + "league_id" + ], + [ + 11, + "round" + ], + [ + 11, + "pos" + ], + [ + 11, + "g" + ], + [ + 11, + "gs" + ], + [ + 11, + "inn_outs" + ], + [ + 11, + "po" + ], + [ + 11, + "a" + ], + [ + 11, + "e" + ], + [ + 11, + "dp" + ], + [ + 11, + "tp" + ], + [ + 11, + "pb" + ], + [ + 11, + "sb" + ], + [ + 11, + "cs" + ], + [ + 12, + "player_id" + ], + [ + 12, + "yearid" + ], + [ + 12, + "votedby" + ], + [ + 12, + "ballots" + ], + [ + 12, + "needed" + ], + [ + 12, + "votes" + ], + [ + 12, + "inducted" + ], + [ + 12, + "category" + ], + [ + 12, + "needed_note" + ], + [ + 13, + "year" + ], + [ + 13, + "league_id" + ], + [ + 13, + "team_id" + ], + [ + 13, + "park_id" + ], + [ + 13, + "span_first" + ], + [ + 13, + "span_last" + ], + [ + 13, + "games" + ], + [ + 13, + "openings" + ], + [ + 13, + "attendance" + ], + [ + 14, + "player_id" + ], + [ + 14, + "year" + ], + [ + 14, + "team_id" + ], + [ + 14, + "league_id" + ], + [ + 14, + "inseason" + ], + [ + 14, + "g" + ], + [ + 14, + "w" + ], + [ + 14, + "l" + ], + [ + 14, + "rank" + ], + [ + 14, + "plyr_mgr" + ], + [ + 15, + "player_id" + ], + [ + 15, + "year" + ], + [ + 15, + "team_id" + ], + [ + 15, + "league_id" + ], + [ + 15, + "inseason" + ], + [ + 15, + "half" + ], + [ + 15, + "g" + ], + [ + 15, + "w" + ], + [ + 15, + "l" + ], + [ + 15, + "rank" + ], + [ + 16, + "player_id" + ], + [ + 16, + "birth_year" + ], + [ + 16, + "birth_month" + ], + [ + 16, + "birth_day" + ], + [ + 16, + "birth_country" + ], + [ + 16, + "birth_state" + ], + [ + 16, + "birth_city" + ], + [ + 16, + "death_year" + ], + [ + 16, + "death_month" + ], + [ + 16, + "death_day" + ], + [ + 16, + "death_country" + ], + [ + 16, + "death_state" + ], + [ + 16, + "death_city" + ], + [ + 16, + "name_first" + ], + [ + 16, + "name_last" + ], + [ + 16, + "name_given" + ], + [ + 16, + "weight" + ], + [ + 16, + "height" + ], + [ + 16, + "bats" + ], + [ + 16, + "throws" + ], + [ + 16, + "debut" + ], + [ + 16, + "final_game" + ], + [ + 16, + "retro_id" + ], + [ + 16, + "bbref_id" + ], + [ + 17, + "park_id" + ], + [ + 17, + "park_name" + ], + [ + 17, + "park_alias" + ], + [ + 17, + "city" + ], + [ + 17, + "state" + ], + [ + 17, + "country" + ], + [ + 18, + "player_id" + ], + [ + 18, + "year" + ], + [ + 18, + "stint" + ], + [ + 18, + "team_id" + ], + [ + 18, + "league_id" + ], + [ + 18, + "w" + ], + [ + 18, + "l" + ], + [ + 18, + "g" + ], + [ + 18, + "gs" + ], + [ + 18, + "cg" + ], + [ + 18, + "sho" + ], + [ + 18, + "sv" + ], + [ + 18, + "ipouts" + ], + [ + 18, + "h" + ], + [ + 18, + "er" + ], + [ + 18, + "hr" + ], + [ + 18, + "bb" + ], + [ + 18, + "so" + ], + [ + 18, + "baopp" + ], + [ + 18, + "era" + ], + [ + 18, + "ibb" + ], + [ + 18, + "wp" + ], + [ + 18, + "hbp" + ], + [ + 18, + "bk" + ], + [ + 18, + "bfp" + ], + [ + 18, + "gf" + ], + [ + 18, + "r" + ], + [ + 18, + "sh" + ], + [ + 18, + "sf" + ], + [ + 18, + "g_idp" + ], + [ + 19, + "player_id" + ], + [ + 19, + "year" + ], + [ + 19, + "round" + ], + [ + 19, + "team_id" + ], + [ + 19, + "league_id" + ], + [ + 19, + "w" + ], + [ + 19, + "l" + ], + [ + 19, + "g" + ], + [ + 19, + "gs" + ], + [ + 19, + "cg" + ], + [ + 19, + "sho" + ], + [ + 19, + "sv" + ], + [ + 19, + "ipouts" + ], + [ + 19, + "h" + ], + [ + 19, + "er" + ], + [ + 19, + "hr" + ], + [ + 19, + "bb" + ], + [ + 19, + "so" + ], + [ + 19, + "baopp" + ], + [ + 19, + "era" + ], + [ + 19, + "ibb" + ], + [ + 19, + "wp" + ], + [ + 19, + "hbp" + ], + [ + 19, + "bk" + ], + [ + 19, + "bfp" + ], + [ + 19, + "gf" + ], + [ + 19, + "r" + ], + [ + 19, + "sh" + ], + [ + 19, + "sf" + ], + [ + 19, + "g_idp" + ], + [ + 20, + "year" + ], + [ + 20, + "team_id" + ], + [ + 20, + "league_id" + ], + [ + 20, + "player_id" + ], + [ + 20, + "salary" + ], + [ + 21, + "college_id" + ], + [ + 21, + "name_full" + ], + [ + 21, + "city" + ], + [ + 21, + "state" + ], + [ + 21, + "country" + ], + [ + 22, + "year" + ], + [ + 22, + "round" + ], + [ + 22, + "team_id_winner" + ], + [ + 22, + "league_id_winner" + ], + [ + 22, + "team_id_loser" + ], + [ + 22, + "league_id_loser" + ], + [ + 22, + "wins" + ], + [ + 22, + "losses" + ], + [ + 22, + "ties" + ], + [ + 23, + "year" + ], + [ + 23, + "league_id" + ], + [ + 23, + "team_id" + ], + [ + 23, + "franchise_id" + ], + [ + 23, + "div_id" + ], + [ + 23, + "rank" + ], + [ + 23, + "g" + ], + [ + 23, + "ghome" + ], + [ + 23, + "w" + ], + [ + 23, + "l" + ], + [ + 23, + "div_win" + ], + [ + 23, + "wc_win" + ], + [ + 23, + "lg_win" + ], + [ + 23, + "ws_win" + ], + [ + 23, + "r" + ], + [ + 23, + "ab" + ], + [ + 23, + "h" + ], + [ + 23, + "double" + ], + [ + 23, + "triple" + ], + [ + 23, + "hr" + ], + [ + 23, + "bb" + ], + [ + 23, + "so" + ], + [ + 23, + "sb" + ], + [ + 23, + "cs" + ], + [ + 23, + "hbp" + ], + [ + 23, + "sf" + ], + [ + 23, + "ra" + ], + [ + 23, + "er" + ], + [ + 23, + "era" + ], + [ + 23, + "cg" + ], + [ + 23, + "sho" + ], + [ + 23, + "sv" + ], + [ + 23, + "ipouts" + ], + [ + 23, + "ha" + ], + [ + 23, + "hra" + ], + [ + 23, + "bba" + ], + [ + 23, + "soa" + ], + [ + 23, + "e" + ], + [ + 23, + "dp" + ], + [ + 23, + "fp" + ], + [ + 23, + "name" + ], + [ + 23, + "park" + ], + [ + 23, + "attendance" + ], + [ + 23, + "bpf" + ], + [ + 23, + "ppf" + ], + [ + 23, + "team_id_br" + ], + [ + 23, + "team_id_lahman45" + ], + [ + 23, + "team_id_retro" + ], + [ + 24, + "franchise_id" + ], + [ + 24, + "franchise_name" + ], + [ + 24, + "active" + ], + [ + 24, + "na_assoc" + ], + [ + 25, + "year" + ], + [ + 25, + "league_id" + ], + [ + 25, + "team_id" + ], + [ + 25, + "half" + ], + [ + 25, + "div_id" + ], + [ + 25, + "div_win" + ], + [ + 25, + "rank" + ], + [ + 25, + "g" + ], + [ + 25, + "w" + ], + [ + 25, + "l" + ] + ], + "column_types": [ + "text", + "text", + "number", + "number", + "text", + "text", + "text", + "number", + "number", + "number", + "text", + "text", + "text", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "text", + "text", + "number", + "text", + "text", + "number", + "text", + "text", + "number", + "text", + "text", + "text", + "text", + "number", + "text", + "text", + "number", + "number", + "number", + "text", + "number", + "text", + "text", + "number", + "number", + "number", + "text", + "number", + "number", + "text", + "text", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "text", + "text", + "text", + "text", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "text", + "text", + "number", + "text", + "number", + "number", + "text", + "text", + "text", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "text", + "number", + "number", + "number", + "number", + "number", + "text", + "number", + "text", + "text", + "text", + "text", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "text", + "number", + "text", + "number", + "number", + "number", + "text", + "text", + "text", + "number", + "text", + "text", + "text", + "text", + "text", + "number", + "number", + "number", + "text", + "number", + "text", + "text", + "number", + "number", + "number", + "number", + "number", + "text", + "text", + "number", + "text", + "text", + "number", + "number", + "number", + "number", + "number", + "number", + "text", + "number", + "number", + "number", + "text", + "text", + "text", + "number", + "number", + "number", + "text", + "text", + "text", + "text", + "text", + "text", + "number", + "number", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "number", + "number", + "text", + "text", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "text", + "number", + "text", + "text", + "text", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "text", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "text", + "text", + "text", + "number", + "text", + "text", + "text", + "text", + "text", + "number", + "text", + "text", + "text", + "text", + "text", + "number", + "number", + "number", + "number", + "text", + "text", + "text", + "text", + "number", + "number", + "number", + "number", + "number", + "text", + "text", + "text", + "text", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "text", + "text", + "number", + "number", + "number", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "number", + "text", + "text", + "number", + "text", + "text", + "number", + "number", + "number", + "number" + ], + "db_id": "baseball_1", + "foreign_keys": [ + [ + 1, + 182 + ], + [ + 12, + 182 + ], + [ + 10, + 293 + ], + [ + 30, + 182 + ], + [ + 36, + 182 + ], + [ + 52, + 182 + ], + [ + 56, + 182 + ], + [ + 81, + 293 + ], + [ + 80, + 182 + ], + [ + 101, + 277 + ], + [ + 100, + 182 + ], + [ + 103, + 182 + ], + [ + 121, + 182 + ], + [ + 127, + 182 + ], + [ + 144, + 182 + ], + [ + 156, + 206 + ], + [ + 155, + 293 + ], + [ + 164, + 293 + ], + [ + 174, + 293 + ] + ], + "primary_keys": [], + "table_names": [ + "全明星", + "出场", + "教练奖", + "球员奖", + "教练获奖投票", + "球员获奖投票", + "打击", + "季后赛打击", + "球员学校", + "守备", + "外场守备", + "季后赛守备", + "名人堂", + "主场比赛", + "教练", + "半程教练", + "球员", + "场馆", + "投球", + "季后赛投球", + "薪水情况", + "大学", + "季后赛", + "球队", + "球队运营公司", + "球队半程成绩" + ], + "table_names_original": [ + "all_star", + "appearances", + "manager_award", + "player_award", + "manager_award_vote", + "player_award_vote", + "batting", + "batting_postseason", + "player_college", + "fielding", + "fielding_outfield", + "fielding_postseason", + "hall_of_fame", + "home_game", + "manager", + "manager_half", + "player", + "park", + "pitching", + "pitching_postseason", + "salary", + "college", + "postseason", + "team", + "team_franchise", + "team_half" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "建筑师ID" + ], + [ + 0, + "建筑师姓名" + ], + [ + 0, + "国籍" + ], + [ + 0, + "性别" + ], + [ + 1, + "建筑师ID" + ], + [ + 1, + "桥ID" + ], + [ + 1, + "名字" + ], + [ + 1, + "位置" + ], + [ + 1, + "长度_米" + ], + [ + 1, + "长度_英尺" + ], + [ + 2, + "建筑师ID" + ], + [ + 2, + "工厂ID" + ], + [ + 2, + "位置" + ], + [ + 2, + "名字" + ], + [ + 2, + "类型" + ], + [ + 2, + "建造年份" + ], + [ + 2, + "注释" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "id" + ], + [ + 0, + "name" + ], + [ + 0, + "nationality" + ], + [ + 0, + "gender" + ], + [ + 1, + "architect_id" + ], + [ + 1, + "id" + ], + [ + 1, + "name" + ], + [ + 1, + "location" + ], + [ + 1, + "length_meters" + ], + [ + 1, + "length_feet" + ], + [ + 2, + "architect_id" + ], + [ + 2, + "id" + ], + [ + 2, + "location" + ], + [ + 2, + "name" + ], + [ + 2, + "type" + ], + [ + 2, + "built_year" + ], + [ + 2, + "notes" + ] + ], + "column_types": [ + "text", + "text", + "text", + "text", + "text", + "number", + "number", + "text", + "text", + "number", + "number", + "number", + "number", + "text", + "text", + "text", + "number", + "text" + ], + "db_id": "architecture", + "foreign_keys": [ + [ + 5, + 1 + ], + [ + 11, + 1 + ] + ], + "primary_keys": [ + 1, + 6, + 12 + ], + "table_names": [ + "建筑师", + "桥", + "工厂" + ], + "table_names_original": [ + "architect", + "bridge", + "mill" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "校区ID" + ], + [ + 0, + "校区名" + ], + [ + 0, + "位置" + ], + [ + 0, + "县" + ], + [ + 0, + "创立年份" + ], + [ + 1, + "校区" + ], + [ + 1, + "年份" + ], + [ + 1, + "学费" + ], + [ + 2, + "年" + ], + [ + 2, + "校区" + ], + [ + 2, + "学位数" + ], + [ + 3, + "校区" + ], + [ + 3, + "学科" + ], + [ + 3, + "年" + ], + [ + 3, + "本科生" + ], + [ + 3, + "毕业生" + ], + [ + 4, + "校区" + ], + [ + 4, + "年" + ], + [ + 4, + "总入学人数" + ], + [ + 4, + "全日制入学人数" + ], + [ + 5, + "校区" + ], + [ + 5, + "年" + ], + [ + 5, + "师资数" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "Id" + ], + [ + 0, + "Campus" + ], + [ + 0, + "Location" + ], + [ + 0, + "County" + ], + [ + 0, + "Year" + ], + [ + 1, + "Campus" + ], + [ + 1, + "Year" + ], + [ + 1, + "CampusFee" + ], + [ + 2, + "Year" + ], + [ + 2, + "Campus" + ], + [ + 2, + "Degrees" + ], + [ + 3, + "Campus" + ], + [ + 3, + "Discipline" + ], + [ + 3, + "Year" + ], + [ + 3, + "Undergraduate" + ], + [ + 3, + "Graduate" + ], + [ + 4, + "Campus" + ], + [ + 4, + "Year" + ], + [ + 4, + "TotalEnrollment_AY" + ], + [ + 4, + "FTE_AY" + ], + [ + 5, + "Campus" + ], + [ + 5, + "Year" + ], + [ + 5, + "Faculty" + ] + ], + "column_types": [ + "text", + "number", + "text", + "text", + "text", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number" + ], + "db_id": "csu_1", + "foreign_keys": [ + [ + 6, + 1 + ], + [ + 10, + 1 + ], + [ + 12, + 1 + ], + [ + 17, + 1 + ], + [ + 21, + 1 + ] + ], + "primary_keys": [ + 1, + 6, + 9, + 12, + 17 + ], + "table_names": [ + "校区", + "学费", + "学位", + "各学科入学情况", + "入学", + "教员" + ], + "table_names_original": [ + "Campuses", + "csu_fees", + "degrees", + "discipline_enrollments", + "enrollments", + "faculty" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "顾客的ID" + ], + [ + 0, + "顾客名字" + ], + [ + 0, + "详细信息" + ], + [ + 1, + "发票号码" + ], + [ + 1, + "发票日期" + ], + [ + 1, + "发票详细信息" + ], + [ + 2, + "订单ID" + ], + [ + 2, + "顾客ID" + ], + [ + 2, + "订单状态" + ], + [ + 2, + "下单日期" + ], + [ + 2, + "订单详细信息" + ], + [ + 3, + "产品ID" + ], + [ + 3, + "产品名称" + ], + [ + 3, + "产品详细信息" + ], + [ + 4, + "商品ID" + ], + [ + 4, + "产品ID" + ], + [ + 4, + "订单ID" + ], + [ + 4, + "商品状态" + ], + [ + 4, + "商品详细信息" + ], + [ + 5, + "发货号" + ], + [ + 5, + "订单ID" + ], + [ + 5, + "发票号码" + ], + [ + 5, + "装运跟踪号" + ], + [ + 5, + "发货日期" + ], + [ + 5, + "发货详细信息" + ], + [ + 6, + "发货号" + ], + [ + 6, + "商品ID" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "customer_id" + ], + [ + 0, + "customer_name" + ], + [ + 0, + "customer_details" + ], + [ + 1, + "invoice_number" + ], + [ + 1, + "invoice_date" + ], + [ + 1, + "invoice_details" + ], + [ + 2, + "order_id" + ], + [ + 2, + "customer_id" + ], + [ + 2, + "order_status" + ], + [ + 2, + "date_order_placed" + ], + [ + 2, + "order_details" + ], + [ + 3, + "product_id" + ], + [ + 3, + "product_name" + ], + [ + 3, + "product_details" + ], + [ + 4, + "order_item_id" + ], + [ + 4, + "product_id" + ], + [ + 4, + "order_id" + ], + [ + 4, + "order_item_status" + ], + [ + 4, + "order_item_details" + ], + [ + 5, + "shipment_id" + ], + [ + 5, + "order_id" + ], + [ + 5, + "invoice_number" + ], + [ + 5, + "shipment_tracking_number" + ], + [ + 5, + "shipment_date" + ], + [ + 5, + "other_shipment_details" + ], + [ + 6, + "shipment_id" + ], + [ + 6, + "order_item_id" + ] + ], + "column_types": [ + "text", + "number", + "text", + "text", + "number", + "time", + "text", + "number", + "number", + "text", + "time", + "text", + "number", + "text", + "text", + "number", + "number", + "number", + "text", + "text", + "number", + "number", + "number", + "text", + "time", + "text", + "number", + "number" + ], + "db_id": "tracking_orders", + "foreign_keys": [ + [ + 8, + 1 + ], + [ + 16, + 12 + ], + [ + 17, + 7 + ], + [ + 22, + 4 + ], + [ + 21, + 7 + ], + [ + 26, + 20 + ], + [ + 27, + 15 + ] + ], + "primary_keys": [ + 1, + 4, + 7, + 12, + 15, + 20 + ], + "table_names": [ + "顾客", + "发票", + "订单", + "产品", + "商品", + "发货", + "商品发货" + ], + "table_names_original": [ + "Customers", + "Invoices", + "Orders", + "Products", + "Order_Items", + "Shipments", + "Shipment_Items" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "顾客ID" + ], + [ + 0, + "顾客详细信息" + ], + [ + 1, + "保单ID" + ], + [ + 1, + "顾客ID" + ], + [ + 1, + "保单类型" + ], + [ + 1, + "生效日期" + ], + [ + 1, + "失效日期" + ], + [ + 2, + "索赔ID" + ], + [ + 2, + "保单ID" + ], + [ + 2, + "索赔日期" + ], + [ + 2, + "索赔解决日期" + ], + [ + 2, + "索赔金额" + ], + [ + 2, + "理赔金额" + ], + [ + 3, + "理赔ID" + ], + [ + 3, + "索赔ID" + ], + [ + 3, + "索赔日期" + ], + [ + 3, + "索赔解决日期" + ], + [ + 3, + "索赔金额" + ], + [ + 3, + "理赔金额" + ], + [ + 3, + "保单ID" + ], + [ + 4, + "付款ID" + ], + [ + 4, + "理赔ID" + ], + [ + 4, + "付款方式" + ], + [ + 4, + "付款日期" + ], + [ + 4, + "付款金额" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "Customer_ID" + ], + [ + 0, + "Customer_Details" + ], + [ + 1, + "Policy_ID" + ], + [ + 1, + "Customer_ID" + ], + [ + 1, + "Policy_Type_Code" + ], + [ + 1, + "Start_Date" + ], + [ + 1, + "End_Date" + ], + [ + 2, + "Claim_ID" + ], + [ + 2, + "Policy_ID" + ], + [ + 2, + "Date_Claim_Made" + ], + [ + 2, + "Date_Claim_Settled" + ], + [ + 2, + "Amount_Claimed" + ], + [ + 2, + "Amount_Settled" + ], + [ + 3, + "Settlement_ID" + ], + [ + 3, + "Claim_ID" + ], + [ + 3, + "Date_Claim_Made" + ], + [ + 3, + "Date_Claim_Settled" + ], + [ + 3, + "Amount_Claimed" + ], + [ + 3, + "Amount_Settled" + ], + [ + 3, + "Customer_Policy_ID" + ], + [ + 4, + "Payment_ID" + ], + [ + 4, + "Settlement_ID" + ], + [ + 4, + "Payment_Method_Code" + ], + [ + 4, + "Date_Payment_Made" + ], + [ + 4, + "Amount_Payment" + ] + ], + "column_types": [ + "text", + "number", + "text", + "number", + "number", + "text", + "time", + "time", + "number", + "number", + "time", + "time", + "number", + "number", + "number", + "number", + "time", + "time", + "number", + "number", + "number", + "number", + "number", + "text", + "time", + "number" + ], + "db_id": "insurance_policies", + "foreign_keys": [ + [ + 4, + 1 + ], + [ + 9, + 3 + ], + [ + 15, + 8 + ], + [ + 22, + 14 + ] + ], + "primary_keys": [ + 1, + 3, + 8, + 14, + 21 + ], + "table_names": [ + "顾客", + "保单", + "索赔", + "理赔", + "付款" + ], + "table_names_original": [ + "Customers", + "Customer_Policies", + "Claims", + "Settlements", + "Payments" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "公司ID" + ], + [ + 0, + "等级" + ], + [ + 0, + "公司名称" + ], + [ + 0, + "总部" + ], + [ + 0, + "主要行业" + ], + [ + 0, + "销售额" + ], + [ + 0, + "利润" + ], + [ + 0, + "资产" + ], + [ + 0, + "市值" + ], + [ + 1, + "加油站ID" + ], + [ + 1, + "开业年份" + ], + [ + 1, + "位置" + ], + [ + 1, + "经理名字" + ], + [ + 1, + "副经理名字" + ], + [ + 1, + "代理名字" + ], + [ + 2, + "加油站ID" + ], + [ + 2, + "公司ID" + ], + [ + 2, + "年度排名" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "Company_ID" + ], + [ + 0, + "Rank" + ], + [ + 0, + "Company" + ], + [ + 0, + "Headquarters" + ], + [ + 0, + "Main_Industry" + ], + [ + 0, + "Sales_billion" + ], + [ + 0, + "Profits_billion" + ], + [ + 0, + "Assets_billion" + ], + [ + 0, + "Market_Value" + ], + [ + 1, + "Station_ID" + ], + [ + 1, + "Open_Year" + ], + [ + 1, + "Location" + ], + [ + 1, + "Manager_Name" + ], + [ + 1, + "Vice_Manager_Name" + ], + [ + 1, + "Representative_Name" + ], + [ + 2, + "Station_ID" + ], + [ + 2, + "Company_ID" + ], + [ + 2, + "Rank_of_the_Year" + ] + ], + "column_types": [ + "text", + "number", + "number", + "text", + "text", + "text", + "number", + "number", + "number", + "number", + "number", + "number", + "text", + "text", + "text", + "text", + "number", + "number", + "number" + ], + "db_id": "gas_company", + "foreign_keys": [ + [ + 17, + 1 + ], + [ + 16, + 10 + ] + ], + "primary_keys": [ + 1, + 10, + 16 + ], + "table_names": [ + "公司", + "加油站", + "加油站公司" + ], + "table_names_original": [ + "company", + "gas_station", + "station_company" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "地址ID" + ], + [ + 0, + "大厦号码" + ], + [ + 0, + "城市" + ], + [ + 0, + "邮政编码" + ], + [ + 0, + "州、省、县" + ], + [ + 0, + "国家" + ], + [ + 1, + "服务ID" + ], + [ + 1, + "服务类型代码" + ], + [ + 1, + "服务名称" + ], + [ + 1, + "服务描述" + ], + [ + 2, + "表格ID" + ], + [ + 2, + "表格类型代码" + ], + [ + 2, + "服务ID" + ], + [ + 2, + "表格号" + ], + [ + 2, + "表格名称" + ], + [ + 2, + "表格描述" + ], + [ + 3, + "个人ID" + ], + [ + 3, + "个人名字" + ], + [ + 3, + "个人中间名" + ], + [ + 3, + "个人电话" + ], + [ + 3, + "个人电子邮箱" + ], + [ + 3, + "个人地址" + ], + [ + 3, + "个人姓氏" + ], + [ + 4, + "组织ID" + ], + [ + 4, + "成立日期" + ], + [ + 4, + "组织名称" + ], + [ + 4, + "英国增值税" + ], + [ + 5, + "聚会ID" + ], + [ + 5, + "付款方式代码" + ], + [ + 5, + "电话号码" + ], + [ + 5, + "电子邮件" + ], + [ + 6, + "个人ID" + ], + [ + 6, + "组织ID" + ], + [ + 6, + "开始联系日" + ], + [ + 6, + "联系日期" + ], + [ + 7, + "聚会ID" + ], + [ + 7, + "地址ID" + ], + [ + 7, + "投递起始日期" + ], + [ + 7, + "投递方式代码" + ], + [ + 7, + "投递到达日期" + ], + [ + 8, + "聚会ID" + ], + [ + 8, + "形式ID" + ], + [ + 8, + "开始日期" + ], + [ + 8, + "形式状态码" + ], + [ + 8, + "完成日期" + ], + [ + 9, + "订单号" + ], + [ + 9, + "客户ID" + ], + [ + 9, + "服务ID" + ], + [ + 9, + "服务日期" + ], + [ + 9, + "下单日期" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "address_id" + ], + [ + 0, + "line_1_number_building" + ], + [ + 0, + "town_city" + ], + [ + 0, + "zip_postcode" + ], + [ + 0, + "state_province_county" + ], + [ + 0, + "country" + ], + [ + 1, + "service_id" + ], + [ + 1, + "service_type_code" + ], + [ + 1, + "service_name" + ], + [ + 1, + "service_descriptio" + ], + [ + 2, + "form_id" + ], + [ + 2, + "form_type_code" + ], + [ + 2, + "service_id" + ], + [ + 2, + "form_number" + ], + [ + 2, + "form_name" + ], + [ + 2, + "form_description" + ], + [ + 3, + "individual_id" + ], + [ + 3, + "individual_first_name" + ], + [ + 3, + "individual_middle_name" + ], + [ + 3, + "inidividual_phone" + ], + [ + 3, + "individual_email" + ], + [ + 3, + "individual_address" + ], + [ + 3, + "individual_last_name" + ], + [ + 4, + "organization_id" + ], + [ + 4, + "date_formed" + ], + [ + 4, + "organization_name" + ], + [ + 4, + "uk_vat_number" + ], + [ + 5, + "party_id" + ], + [ + 5, + "payment_method_code" + ], + [ + 5, + "party_phone" + ], + [ + 5, + "party_email" + ], + [ + 6, + "individual_id" + ], + [ + 6, + "organization_id" + ], + [ + 6, + "date_contact_from" + ], + [ + 6, + "date_contact_to" + ], + [ + 7, + "party_id" + ], + [ + 7, + "address_id" + ], + [ + 7, + "date_address_from" + ], + [ + 7, + "address_type_code" + ], + [ + 7, + "date_address_to" + ], + [ + 8, + "party_id" + ], + [ + 8, + "form_id" + ], + [ + 8, + "date_completion_started" + ], + [ + 8, + "form_status_code" + ], + [ + 8, + "date_fully_completed" + ], + [ + 9, + "booking_id" + ], + [ + 9, + "customer_id" + ], + [ + 9, + "service_id" + ], + [ + 9, + "service_datetime" + ], + [ + 9, + "booking_made_date" + ] + ], + "column_types": [ + "text", + "number", + "text", + "text", + "text", + "text", + "text", + "number", + "text", + "text", + "text", + "number", + "text", + "number", + "text", + "text", + "text", + "number", + "text", + "text", + "text", + "text", + "text", + "text", + "number", + "time", + "text", + "text", + "number", + "text", + "text", + "text", + "number", + "number", + "time", + "time", + "number", + "number", + "time", + "text", + "time", + "number", + "number", + "time", + "text", + "time", + "number", + "number", + "number", + "time", + "time" + ], + "db_id": "e_government", + "foreign_keys": [ + [ + 13, + 7 + ], + [ + 32, + 17 + ], + [ + 33, + 24 + ], + [ + 36, + 28 + ], + [ + 37, + 1 + ], + [ + 42, + 11 + ], + [ + 41, + 28 + ], + [ + 47, + 28 + ], + [ + 48, + 7 + ] + ], + "primary_keys": [ + 1, + 7, + 11, + 17, + 24, + 28, + 32, + 36, + 41 + ], + "table_names": [ + "地址", + "服务", + "表格", + "个人", + "组织", + "聚会", + "组织联系人", + "聚会投递", + "聚会形式", + "聚会服务" + ], + "table_names_original": [ + "Addresses", + "Services", + "Forms", + "Individuals", + "Organizations", + "Parties", + "Organization_Contact_Individuals", + "Party_Addresses", + "Party_Forms", + "Party_Services" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "司机ID" + ], + [ + 0, + "名字" + ], + [ + 0, + "党派" + ], + [ + 0, + "家乡" + ], + [ + 0, + "年龄" + ], + [ + 1, + "学校ID" + ], + [ + 1, + "年级" + ], + [ + 1, + "学校名" + ], + [ + 1, + "位置" + ], + [ + 1, + "类型" + ], + [ + 2, + "校车ID" + ], + [ + 2, + "司机ID" + ], + [ + 2, + "运营时间" + ], + [ + 2, + "是否全职" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "Driver_ID" + ], + [ + 0, + "Name" + ], + [ + 0, + "Party" + ], + [ + 0, + "Home_city" + ], + [ + 0, + "Age" + ], + [ + 1, + "School_ID" + ], + [ + 1, + "Grade" + ], + [ + 1, + "School" + ], + [ + 1, + "Location" + ], + [ + 1, + "Type" + ], + [ + 2, + "School_ID" + ], + [ + 2, + "Driver_ID" + ], + [ + 2, + "Years_Working" + ], + [ + 2, + "If_full_time" + ] + ], + "column_types": [ + "text", + "number", + "text", + "text", + "text", + "number", + "number", + "text", + "text", + "text", + "text", + "number", + "number", + "number", + "others" + ], + "db_id": "school_bus", + "foreign_keys": [ + [ + 12, + 1 + ], + [ + 11, + 6 + ] + ], + "primary_keys": [ + 1, + 6, + 11 + ], + "table_names": [ + "司机", + "学校", + "校车" + ], + "table_names_original": [ + "driver", + "school", + "school_bus" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "维修号" + ], + [ + 0, + "名称" + ], + [ + 0, + "开始日期" + ], + [ + 0, + "注释" + ], + [ + 1, + "机器ID" + ], + [ + 1, + "制造年份" + ], + [ + 1, + "类别" + ], + [ + 1, + "品牌" + ], + [ + 1, + "机器序列号" + ], + [ + 1, + "价值" + ], + [ + 1, + "质量等级" + ], + [ + 2, + "技术人员ID" + ], + [ + 2, + "名字" + ], + [ + 2, + "团队" + ], + [ + 2, + "从业时间" + ], + [ + 2, + "年龄" + ], + [ + 3, + "技术人员ID" + ], + [ + 3, + "维修号" + ], + [ + 3, + "机器ID" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "repair_ID" + ], + [ + 0, + "name" + ], + [ + 0, + "Launch_Date" + ], + [ + 0, + "Notes" + ], + [ + 1, + "Machine_ID" + ], + [ + 1, + "Making_Year" + ], + [ + 1, + "Class" + ], + [ + 1, + "Team" + ], + [ + 1, + "Machine_series" + ], + [ + 1, + "value_points" + ], + [ + 1, + "quality_rank" + ], + [ + 2, + "technician_id" + ], + [ + 2, + "Name" + ], + [ + 2, + "Team" + ], + [ + 2, + "Starting_Year" + ], + [ + 2, + "Age" + ], + [ + 3, + "technician_id" + ], + [ + 3, + "repair_ID" + ], + [ + 3, + "Machine_ID" + ] + ], + "column_types": [ + "text", + "number", + "text", + "text", + "text", + "number", + "number", + "text", + "text", + "text", + "number", + "number", + "number", + "text", + "text", + "number", + "number", + "number", + "number", + "number" + ], + "db_id": "machine_repair", + "foreign_keys": [ + [ + 19, + 5 + ], + [ + 18, + 1 + ], + [ + 17, + 12 + ] + ], + "primary_keys": [ + 1, + 5, + 12, + 17 + ], + "table_names": [ + "维修", + "机器", + "技术人员", + "维修任务" + ], + "table_names_original": [ + "repair", + "machine", + "technician", + "repair_assignment" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "艺术家ID" + ], + [ + 0, + "名字" + ], + [ + 0, + "国籍" + ], + [ + 0, + "加入年份" + ], + [ + 0, + "年龄" + ], + [ + 1, + "展览ID" + ], + [ + 1, + "举办年份" + ], + [ + 1, + "主题" + ], + [ + 1, + "艺术家ID" + ], + [ + 1, + "票价" + ], + [ + 2, + "展览ID" + ], + [ + 2, + "举办时间" + ], + [ + 2, + "参加人数" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "Artist_ID" + ], + [ + 0, + "Name" + ], + [ + 0, + "Country" + ], + [ + 0, + "Year_Join" + ], + [ + 0, + "Age" + ], + [ + 1, + "Exhibition_ID" + ], + [ + 1, + "Year" + ], + [ + 1, + "Theme" + ], + [ + 1, + "Artist_ID" + ], + [ + 1, + "Ticket_Price" + ], + [ + 2, + "Exhibition_ID" + ], + [ + 2, + "Date" + ], + [ + 2, + "Attendance" + ] + ], + "column_types": [ + "text", + "number", + "text", + "text", + "number", + "number", + "number", + "number", + "text", + "number", + "number", + "number", + "text", + "number" + ], + "db_id": "theme_gallery", + "foreign_keys": [ + [ + 9, + 1 + ], + [ + 11, + 6 + ] + ], + "primary_keys": [ + 1, + 6, + 11 + ], + "table_names": [ + "艺术家", + "展览", + "展览会记录" + ], + "table_names_original": [ + "artist", + "exhibition", + "exhibition_record" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "电影ID" + ], + [ + 0, + "片名" + ], + [ + 0, + "制片厂" + ], + [ + 0, + "导演" + ], + [ + 0, + "票房" + ], + [ + 1, + "市场ID" + ], + [ + 1, + "国家" + ], + [ + 1, + "城市编号" + ], + [ + 2, + "估计ID" + ], + [ + 2, + "最低估值" + ], + [ + 2, + "最高估值" + ], + [ + 2, + "电影ID" + ], + [ + 2, + "类型" + ], + [ + 2, + "市场ID" + ], + [ + 2, + "估计年份" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "Film_ID" + ], + [ + 0, + "Title" + ], + [ + 0, + "Studio" + ], + [ + 0, + "Director" + ], + [ + 0, + "Gross_in_dollar" + ], + [ + 1, + "Market_ID" + ], + [ + 1, + "Country" + ], + [ + 1, + "Number_cities" + ], + [ + 2, + "Estimation_ID" + ], + [ + 2, + "Low_Estimate" + ], + [ + 2, + "High_Estimate" + ], + [ + 2, + "Film_ID" + ], + [ + 2, + "Type" + ], + [ + 2, + "Market_ID" + ], + [ + 2, + "Year" + ] + ], + "column_types": [ + "text", + "number", + "text", + "text", + "text", + "number", + "number", + "text", + "number", + "number", + "number", + "number", + "number", + "text", + "number", + "number" + ], + "db_id": "film_rank", + "foreign_keys": [ + [ + 14, + 6 + ], + [ + 12, + 1 + ] + ], + "primary_keys": [ + 1, + 6, + 9 + ], + "table_names": [ + "电影", + "市场", + "电影票房估计" + ], + "table_names_original": [ + "film", + "market", + "film_market_estimation" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "地区ID" + ], + [ + 0, + "地区名称" + ], + [ + 0, + "日期" + ], + [ + 0, + "标记" + ], + [ + 0, + "计划" + ], + [ + 0, + "目录" + ], + [ + 1, + "政党ID" + ], + [ + 1, + "部长" + ], + [ + 1, + "上任" + ], + [ + 1, + "离任" + ], + [ + 1, + "地区ID" + ], + [ + 1, + "党派的名称" + ], + [ + 2, + "成员ID" + ], + [ + 2, + "成员的名字" + ], + [ + 2, + "政党ID" + ], + [ + 2, + "就职时间" + ], + [ + 3, + "事件ID" + ], + [ + 3, + "事件名称" + ], + [ + 3, + "政党ID" + ], + [ + 3, + "负责人ID" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "Region_ID" + ], + [ + 0, + "Region_name" + ], + [ + 0, + "Date" + ], + [ + 0, + "Label" + ], + [ + 0, + "Format" + ], + [ + 0, + "Catalogue" + ], + [ + 1, + "Party_ID" + ], + [ + 1, + "Minister" + ], + [ + 1, + "Took_office" + ], + [ + 1, + "Left_office" + ], + [ + 1, + "Region_ID" + ], + [ + 1, + "Party_name" + ], + [ + 2, + "Member_ID" + ], + [ + 2, + "Member_Name" + ], + [ + 2, + "Party_ID" + ], + [ + 2, + "In_office" + ], + [ + 3, + "Event_ID" + ], + [ + 3, + "Event_Name" + ], + [ + 3, + "Party_ID" + ], + [ + 3, + "Member_in_charge_ID" + ] + ], + "column_types": [ + "text", + "number", + "text", + "text", + "text", + "text", + "text", + "number", + "text", + "text", + "text", + "number", + "text", + "number", + "text", + "text", + "text", + "number", + "text", + "number", + "number" + ], + "db_id": "party_people", + "foreign_keys": [ + [ + 11, + 1 + ], + [ + 15, + 7 + ], + [ + 20, + 13 + ], + [ + 19, + 7 + ] + ], + "primary_keys": [ + 1, + 7, + 13, + 17 + ], + "table_names": [ + "地区", + "政党", + "成员", + "党派事件" + ], + "table_names_original": [ + "region", + "party", + "member", + "party_events" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "员工ID" + ], + [ + 0, + "姓名" + ], + [ + 0, + "职称" + ], + [ + 0, + "社会安全号码" + ], + [ + 1, + "部门ID" + ], + [ + 1, + "名称" + ], + [ + 1, + "负责人" + ], + [ + 2, + "医生" + ], + [ + 2, + "部门" + ], + [ + 2, + "是否为主要附属" + ], + [ + 3, + "编码" + ], + [ + 3, + "名称" + ], + [ + 3, + "价钱" + ], + [ + 4, + "医生" + ], + [ + 4, + "治疗" + ], + [ + 4, + "发证日期" + ], + [ + 4, + "证书到期" + ], + [ + 5, + "社会安全号码" + ], + [ + 5, + "名字" + ], + [ + 5, + "地址" + ], + [ + 5, + "电话号码" + ], + [ + 5, + "保险ID" + ], + [ + 5, + "主要服务提供者" + ], + [ + 6, + "员工ID" + ], + [ + 6, + "名字" + ], + [ + 6, + "职称" + ], + [ + 6, + "是否注册" + ], + [ + 6, + "社会安全号码" + ], + [ + 7, + "预约编号" + ], + [ + 7, + "病人" + ], + [ + 7, + "接待护士" + ], + [ + 7, + "医生" + ], + [ + 7, + "开始时间" + ], + [ + 7, + "结束时间" + ], + [ + 7, + "检查室" + ], + [ + 8, + "编号" + ], + [ + 8, + "名称" + ], + [ + 8, + "品牌" + ], + [ + 8, + "描述" + ], + [ + 9, + "医生" + ], + [ + 9, + "病人" + ], + [ + 9, + "药名" + ], + [ + 9, + "日期" + ], + [ + 9, + "预约编号" + ], + [ + 9, + "剂量" + ], + [ + 10, + "层" + ], + [ + 10, + "区域号" + ], + [ + 11, + "病房号" + ], + [ + 11, + "病房类型" + ], + [ + 11, + "层" + ], + [ + 11, + "区域号" + ], + [ + 11, + "是否可用" + ], + [ + 12, + "护士" + ], + [ + 12, + "层" + ], + [ + 12, + "区域号" + ], + [ + 12, + "呼叫开始时间" + ], + [ + 12, + "呼叫结束时间" + ], + [ + 13, + "住院号" + ], + [ + 13, + "病人" + ], + [ + 13, + "病房" + ], + [ + 13, + "住院开始日期" + ], + [ + 13, + "住院结束日期" + ], + [ + 14, + "病人" + ], + [ + 14, + "手术" + ], + [ + 14, + "住院号" + ], + [ + 14, + "治疗日期" + ], + [ + 14, + "医生" + ], + [ + 14, + "辅助的护士" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "EmployeeID" + ], + [ + 0, + "Name" + ], + [ + 0, + "Position" + ], + [ + 0, + "SSN" + ], + [ + 1, + "DepartmentID" + ], + [ + 1, + "Name" + ], + [ + 1, + "Head" + ], + [ + 2, + "Physician" + ], + [ + 2, + "Department" + ], + [ + 2, + "PrimaryAffiliation" + ], + [ + 3, + "Code" + ], + [ + 3, + "Name" + ], + [ + 3, + "Cost" + ], + [ + 4, + "Physician" + ], + [ + 4, + "Treatment" + ], + [ + 4, + "CertificationDate" + ], + [ + 4, + "CertificationExpires" + ], + [ + 5, + "SSN" + ], + [ + 5, + "Name" + ], + [ + 5, + "Address" + ], + [ + 5, + "Phone" + ], + [ + 5, + "InsuranceID" + ], + [ + 5, + "PCP" + ], + [ + 6, + "EmployeeID" + ], + [ + 6, + "Name" + ], + [ + 6, + "Position" + ], + [ + 6, + "Registered" + ], + [ + 6, + "SSN" + ], + [ + 7, + "AppointmentID" + ], + [ + 7, + "Patient" + ], + [ + 7, + "PrepNurse" + ], + [ + 7, + "Physician" + ], + [ + 7, + "Start" + ], + [ + 7, + "End" + ], + [ + 7, + "ExaminationRoom" + ], + [ + 8, + "Code" + ], + [ + 8, + "Name" + ], + [ + 8, + "Brand" + ], + [ + 8, + "Description" + ], + [ + 9, + "Physician" + ], + [ + 9, + "Patient" + ], + [ + 9, + "Medication" + ], + [ + 9, + "Date" + ], + [ + 9, + "Appointment" + ], + [ + 9, + "Dose" + ], + [ + 10, + "BlockFloor" + ], + [ + 10, + "BlockCode" + ], + [ + 11, + "RoomNumber" + ], + [ + 11, + "RoomType" + ], + [ + 11, + "BlockFloor" + ], + [ + 11, + "BlockCode" + ], + [ + 11, + "Unavailable" + ], + [ + 12, + "Nurse" + ], + [ + 12, + "BlockFloor" + ], + [ + 12, + "BlockCode" + ], + [ + 12, + "OnCallStart" + ], + [ + 12, + "OnCallEnd" + ], + [ + 13, + "StayID" + ], + [ + 13, + "Patient" + ], + [ + 13, + "Room" + ], + [ + 13, + "StayStart" + ], + [ + 13, + "StayEnd" + ], + [ + 14, + "Patient" + ], + [ + 14, + "Procedures" + ], + [ + 14, + "Stay" + ], + [ + 14, + "DateUndergoes" + ], + [ + 14, + "Physician" + ], + [ + 14, + "AssistingNurse" + ] + ], + "column_types": [ + "text", + "number", + "text", + "text", + "number", + "number", + "text", + "number", + "number", + "number", + "boolean", + "number", + "text", + "number", + "number", + "number", + "time", + "time", + "number", + "text", + "text", + "text", + "number", + "number", + "number", + "text", + "text", + "boolean", + "number", + "number", + "number", + "number", + "number", + "time", + "time", + "text", + "number", + "text", + "text", + "text", + "number", + "number", + "number", + "time", + "number", + "text", + "number", + "number", + "number", + "text", + "number", + "number", + "boolean", + "number", + "number", + "number", + "time", + "time", + "number", + "number", + "number", + "time", + "time", + "number", + "number", + "number", + "time", + "number", + "number" + ], + "db_id": "hospital_1", + "foreign_keys": [ + [ + 7, + 1 + ], + [ + 9, + 5 + ], + [ + 8, + 1 + ], + [ + 15, + 11 + ], + [ + 14, + 1 + ], + [ + 23, + 1 + ], + [ + 32, + 1 + ], + [ + 31, + 24 + ], + [ + 30, + 18 + ], + [ + 44, + 29 + ], + [ + 42, + 36 + ], + [ + 41, + 18 + ], + [ + 40, + 1 + ], + [ + 50, + 46 + ], + [ + 51, + 47 + ], + [ + 54, + 46 + ], + [ + 55, + 47 + ], + [ + 53, + 24 + ], + [ + 60, + 48 + ], + [ + 59, + 18 + ], + [ + 68, + 24 + ], + [ + 67, + 1 + ], + [ + 65, + 58 + ], + [ + 64, + 11 + ], + [ + 63, + 18 + ] + ], + "primary_keys": [ + 1, + 5, + 8, + 11, + 14, + 18, + 24, + 29, + 36, + 40, + 46, + 48, + 53, + 58, + 63 + ], + "table_names": [ + "医生", + "部门", + "附属", + "手术", + "接受训练", + "病人", + "护士", + "预约", + "药物", + "开药", + "区域", + "病房", + "呼叫", + "住院", + "接受治疗" + ], + "table_names_original": [ + "Physician", + "Department", + "Affiliated_With", + "Procedures", + "Trained_In", + "Patient", + "Nurse", + "Appointment", + "Medication", + "Prescribes", + "Block", + "Room", + "On_Call", + "Stay", + "Undergoes" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "场所ID" + ], + [ + 0, + "场所类型" + ], + [ + 0, + "场所详细信息" + ], + [ + 1, + "产品ID" + ], + [ + 1, + "产品种类" + ], + [ + 1, + "产品名称" + ], + [ + 2, + "客户ID" + ], + [ + 2, + "付款方式" + ], + [ + 2, + "客户的姓名" + ], + [ + 2, + "客户电话号码" + ], + [ + 2, + "客户电子邮箱" + ], + [ + 2, + "客户地址" + ], + [ + 2, + "客户登陆" + ], + [ + 2, + "客户密码" + ], + [ + 3, + "邮寄号" + ], + [ + 3, + "产品类别" + ], + [ + 3, + "邮寄名称" + ], + [ + 3, + "邮寄开始日期" + ], + [ + 3, + "邮寄结束日期" + ], + [ + 4, + "客户ID" + ], + [ + 4, + "场所ID" + ], + [ + 4, + "入住日期" + ], + [ + 4, + "地址的类型代码" + ], + [ + 4, + "搬出日期" + ], + [ + 5, + "订单ID" + ], + [ + 5, + "客户ID" + ], + [ + 5, + "订单状态" + ], + [ + 5, + "购物方式编号" + ], + [ + 5, + "下单日期" + ], + [ + 5, + "订单运输日期" + ], + [ + 5, + "订单的运费" + ], + [ + 6, + "邮寄编号" + ], + [ + 6, + "客户ID" + ], + [ + 6, + "结果代码" + ], + [ + 6, + "邮寄日期" + ], + [ + 7, + "商品ID" + ], + [ + 7, + "下单状态" + ], + [ + 7, + "订单ID" + ], + [ + 7, + "产品ID" + ], + [ + 7, + "商品状态码" + ], + [ + 7, + "商品投递日期" + ], + [ + 7, + "下单数量" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "premise_id" + ], + [ + 0, + "premises_type" + ], + [ + 0, + "premise_details" + ], + [ + 1, + "product_id" + ], + [ + 1, + "product_category" + ], + [ + 1, + "product_name" + ], + [ + 2, + "customer_id" + ], + [ + 2, + "payment_method" + ], + [ + 2, + "customer_name" + ], + [ + 2, + "customer_phone" + ], + [ + 2, + "customer_email" + ], + [ + 2, + "customer_address" + ], + [ + 2, + "customer_login" + ], + [ + 2, + "customer_password" + ], + [ + 3, + "mailshot_id" + ], + [ + 3, + "product_category" + ], + [ + 3, + "mailshot_name" + ], + [ + 3, + "mailshot_start_date" + ], + [ + 3, + "mailshot_end_date" + ], + [ + 4, + "customer_id" + ], + [ + 4, + "premise_id" + ], + [ + 4, + "date_address_from" + ], + [ + 4, + "address_type_code" + ], + [ + 4, + "date_address_to" + ], + [ + 5, + "order_id" + ], + [ + 5, + "customer_id" + ], + [ + 5, + "order_status_code" + ], + [ + 5, + "shipping_method_code" + ], + [ + 5, + "order_placed_datetime" + ], + [ + 5, + "order_delivered_datetime" + ], + [ + 5, + "order_shipping_charges" + ], + [ + 6, + "mailshot_id" + ], + [ + 6, + "customer_id" + ], + [ + 6, + "outcome_code" + ], + [ + 6, + "mailshot_customer_date" + ], + [ + 7, + "item_id" + ], + [ + 7, + "order_item_status_code" + ], + [ + 7, + "order_id" + ], + [ + 7, + "product_id" + ], + [ + 7, + "item_status_code" + ], + [ + 7, + "item_delivered_datetime" + ], + [ + 7, + "item_order_quantity" + ] + ], + "column_types": [ + "text", + "number", + "text", + "text", + "number", + "text", + "text", + "number", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "number", + "text", + "text", + "time", + "time", + "number", + "number", + "time", + "text", + "time", + "number", + "number", + "text", + "text", + "time", + "time", + "text", + "number", + "number", + "text", + "time", + "number", + "text", + "number", + "number", + "text", + "time", + "text" + ], + "db_id": "customers_campaigns_ecommerce", + "foreign_keys": [ + [ + 20, + 7 + ], + [ + 21, + 1 + ], + [ + 26, + 7 + ], + [ + 32, + 15 + ], + [ + 33, + 7 + ], + [ + 38, + 25 + ], + [ + 39, + 4 + ] + ], + "primary_keys": [ + 1, + 4, + 7, + 15, + 25 + ], + "table_names": [ + "场所", + "产品", + "客户", + "邮寄", + "客户的地址", + "客户订单", + "向客户邮寄", + "下单商品" + ], + "table_names_original": [ + "Premises", + "Products", + "Customers", + "Mailshot_Campaigns", + "Customer_Addresses", + "Customer_Orders", + "Mailshot_Customers", + "Order_Items" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "体操运动员ID" + ], + [ + 0, + "自由体操分" + ], + [ + 0, + "鞍马得分" + ], + [ + 0, + "吊环得分" + ], + [ + 0, + "跳马得分" + ], + [ + 0, + "双杆得分" + ], + [ + 0, + "单杆得分" + ], + [ + 0, + "总分" + ], + [ + 1, + "人的ID" + ], + [ + 1, + "姓名" + ], + [ + 1, + "年龄" + ], + [ + 1, + "身高" + ], + [ + 1, + "家乡" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "Gymnast_ID" + ], + [ + 0, + "Floor_Exercise_Points" + ], + [ + 0, + "Pommel_Horse_Points" + ], + [ + 0, + "Rings_Points" + ], + [ + 0, + "Vault_Points" + ], + [ + 0, + "Parallel_Bars_Points" + ], + [ + 0, + "Horizontal_Bar_Points" + ], + [ + 0, + "Total_Points" + ], + [ + 1, + "People_ID" + ], + [ + 1, + "Name" + ], + [ + 1, + "Age" + ], + [ + 1, + "Height" + ], + [ + 1, + "Hometown" + ] + ], + "column_types": [ + "text", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "text", + "number", + "number", + "text" + ], + "db_id": "gymnast", + "foreign_keys": [ + [ + 1, + 9 + ] + ], + "primary_keys": [ + 1, + 9 + ], + "table_names": [ + "体操运动员", + "人" + ], + "table_names_original": [ + "gymnast", + "people" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "城市名称" + ], + [ + 0, + "县" + ], + [ + 0, + "地区" + ], + [ + 1, + "餐厅ID" + ], + [ + 1, + "餐厅名称" + ], + [ + 1, + "食物类型" + ], + [ + 1, + "城市名称" + ], + [ + 1, + "等级" + ], + [ + 2, + "餐厅ID" + ], + [ + 2, + "门牌号" + ], + [ + 2, + "街道名称" + ], + [ + 2, + "城市名称" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "CITY_NAME" + ], + [ + 0, + "COUNTY" + ], + [ + 0, + "REGION" + ], + [ + 1, + "ID" + ], + [ + 1, + "NAME" + ], + [ + 1, + "FOOD_TYPE" + ], + [ + 1, + "CITY_NAME" + ], + [ + 1, + "RATING" + ], + [ + 2, + "RESTAURANT_ID" + ], + [ + 2, + "HOUSE_NUMBER" + ], + [ + 2, + "STREET_NAME" + ], + [ + 2, + "CITY_NAME" + ] + ], + "column_types": [ + "text", + "text", + "text", + "text", + "number", + "text", + "text", + "text", + "number", + "number", + "number", + "text", + "text" + ], + "db_id": "restaurants", + "foreign_keys": [ + [ + 7, + 1 + ], + [ + 12, + 1 + ] + ], + "primary_keys": [ + 1, + 4, + 9 + ], + "table_names": [ + "地理", + "餐厅", + "位置" + ], + "table_names_original": [ + "GEOGRAPHIC", + "RESTAURANT", + "LOCATION" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "山的ID" + ], + [ + 0, + "名称" + ], + [ + 0, + "海拔高度" + ], + [ + 0, + "突起度" + ], + [ + 0, + "山脉" + ], + [ + 0, + "国" + ], + [ + 1, + "相机镜头ID" + ], + [ + 1, + "品牌" + ], + [ + 1, + "名称" + ], + [ + 1, + "焦距" + ], + [ + 1, + "最大光圈" + ], + [ + 2, + "照片ID" + ], + [ + 2, + "相机镜头的id" + ], + [ + 2, + "山的ID" + ], + [ + 2, + "颜色" + ], + [ + 2, + "照片名字" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "id" + ], + [ + 0, + "name" + ], + [ + 0, + "Height" + ], + [ + 0, + "Prominence" + ], + [ + 0, + "Range" + ], + [ + 0, + "Country" + ], + [ + 1, + "id" + ], + [ + 1, + "brand" + ], + [ + 1, + "name" + ], + [ + 1, + "focal_length_mm" + ], + [ + 1, + "max_aperture" + ], + [ + 2, + "id" + ], + [ + 2, + "camera_lens_id" + ], + [ + 2, + "mountain_id" + ], + [ + 2, + "color" + ], + [ + 2, + "name" + ] + ], + "column_types": [ + "text", + "number", + "text", + "number", + "number", + "text", + "text", + "number", + "text", + "text", + "number", + "number", + "number", + "number", + "number", + "text", + "text" + ], + "db_id": "mountain_photos", + "foreign_keys": [ + [ + 14, + 1 + ], + [ + 13, + 7 + ] + ], + "primary_keys": [ + 1, + 7, + 12 + ], + "table_names": [ + "山", + "相机镜头", + "照片" + ], + "table_names_original": [ + "mountain", + "camera_lens", + "photos" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "战争ID" + ], + [ + 0, + "战争名称" + ], + [ + 0, + "战争时间" + ], + [ + 0, + "保加利亚指挥官" + ], + [ + 0, + "拉丁指挥官" + ], + [ + 0, + "战争结果" + ], + [ + 1, + "战争损失" + ], + [ + 1, + "船只ID" + ], + [ + 1, + "船只名称" + ], + [ + 1, + "船只吨位" + ], + [ + 1, + "船只类型" + ], + [ + 1, + "位置" + ], + [ + 1, + "船的结局" + ], + [ + 2, + "相关的船只ID" + ], + [ + 2, + "ID" + ], + [ + 2, + "注解" + ], + [ + 2, + "死亡人数" + ], + [ + 2, + "受伤人数" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "id" + ], + [ + 0, + "name" + ], + [ + 0, + "date" + ], + [ + 0, + "bulgarian_commander" + ], + [ + 0, + "latin_commander" + ], + [ + 0, + "result" + ], + [ + 1, + "lost_in_battle" + ], + [ + 1, + "id" + ], + [ + 1, + "name" + ], + [ + 1, + "tonnage" + ], + [ + 1, + "ship_type" + ], + [ + 1, + "location" + ], + [ + 1, + "disposition_of_ship" + ], + [ + 2, + "caused_by_ship_id" + ], + [ + 2, + "id" + ], + [ + 2, + "note" + ], + [ + 2, + "killed" + ], + [ + 2, + "injured" + ] + ], + "column_types": [ + "text", + "number", + "text", + "text", + "text", + "text", + "text", + "number", + "number", + "text", + "text", + "text", + "text", + "text", + "number", + "number", + "text", + "number", + "number" + ], + "db_id": "battle_death", + "foreign_keys": [ + [ + 7, + 1 + ], + [ + 14, + 8 + ] + ], + "primary_keys": [ + 1, + 8, + 15 + ], + "table_names": [ + "战争", + "船只", + "伤亡" + ], + "table_names_original": [ + "battle", + "ship", + "death" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "文件类型代码" + ], + [ + 0, + "文件类型描述" + ], + [ + 1, + "职位代码" + ], + [ + 1, + "职位说明" + ], + [ + 2, + "地址ID" + ], + [ + 2, + "地址信息" + ], + [ + 3, + "文件状态代码" + ], + [ + 3, + "文件状态说明" + ], + [ + 4, + "货运公司代码" + ], + [ + 4, + "货运公司名称" + ], + [ + 4, + "货运公司说明" + ], + [ + 5, + "文件ID" + ], + [ + 5, + "文件状态代码" + ], + [ + 5, + "文件类型代码" + ], + [ + 5, + "货运公司代码" + ], + [ + 5, + "接收日期" + ], + [ + 5, + "收据编号" + ], + [ + 5, + "其他信息" + ], + [ + 6, + "员工ID" + ], + [ + 6, + "职位代码" + ], + [ + 6, + "员工姓名" + ], + [ + 6, + "其他信息" + ], + [ + 7, + "文件ID" + ], + [ + 7, + "草稿数" + ], + [ + 7, + "详细信息" + ], + [ + 8, + "文件ID" + ], + [ + 8, + "草稿数" + ], + [ + 8, + "副本数" + ], + [ + 9, + "文件ID" + ], + [ + 9, + "草稿数" + ], + [ + 9, + "副本数" + ], + [ + 9, + "员工ID" + ], + [ + 10, + "文件ID" + ], + [ + 10, + "邮寄地址" + ], + [ + 10, + "邮寄日期" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "document_type_code" + ], + [ + 0, + "document_type_description" + ], + [ + 1, + "role_code" + ], + [ + 1, + "role_description" + ], + [ + 2, + "address_id" + ], + [ + 2, + "address_details" + ], + [ + 3, + "document_status_code" + ], + [ + 3, + "document_status_description" + ], + [ + 4, + "shipping_agent_code" + ], + [ + 4, + "shipping_agent_name" + ], + [ + 4, + "shipping_agent_description" + ], + [ + 5, + "document_id" + ], + [ + 5, + "document_status_code" + ], + [ + 5, + "document_type_code" + ], + [ + 5, + "shipping_agent_code" + ], + [ + 5, + "receipt_date" + ], + [ + 5, + "receipt_number" + ], + [ + 5, + "other_details" + ], + [ + 6, + "employee_id" + ], + [ + 6, + "role_code" + ], + [ + 6, + "employee_name" + ], + [ + 6, + "other_details" + ], + [ + 7, + "document_id" + ], + [ + 7, + "draft_number" + ], + [ + 7, + "draft_details" + ], + [ + 8, + "document_id" + ], + [ + 8, + "draft_number" + ], + [ + 8, + "copy_number" + ], + [ + 9, + "document_id" + ], + [ + 9, + "draft_number" + ], + [ + 9, + "copy_number" + ], + [ + 9, + "employee_id" + ], + [ + 10, + "document_id" + ], + [ + 10, + "mailed_to_address_id" + ], + [ + 10, + "mailing_date" + ] + ], + "column_types": [ + "text", + "text", + "text", + "text", + "text", + "number", + "text", + "text", + "text", + "text", + "text", + "text", + "number", + "text", + "text", + "text", + "time", + "text", + "text", + "number", + "text", + "text", + "text", + "number", + "number", + "text", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "time" + ], + "db_id": "cre_Doc_Control_Systems", + "foreign_keys": [ + [ + 15, + 9 + ], + [ + 13, + 7 + ], + [ + 14, + 1 + ], + [ + 20, + 3 + ], + [ + 23, + 12 + ], + [ + 26, + 23 + ], + [ + 27, + 24 + ], + [ + 32, + 19 + ], + [ + 29, + 26 + ], + [ + 30, + 27 + ], + [ + 31, + 28 + ], + [ + 34, + 5 + ], + [ + 33, + 12 + ] + ], + "primary_keys": [ + 1, + 3, + 5, + 7, + 9, + 12, + 19, + 23, + 26, + 29, + 33 + ], + "table_names": [ + "文件类型", + "职位", + "存储地址", + "文件状态", + "货运公司", + "文件", + "员工", + "文件草稿", + "草稿副本", + "文件流通记录", + "文件寄送" + ], + "table_names_original": [ + "Ref_Document_Types", + "Roles", + "Addresses", + "Ref_Document_Status", + "Ref_Shipping_Agents", + "Documents", + "Employees", + "Document_Drafts", + "Draft_Copies", + "Circulation_History", + "Documents_Mailed" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "投资者ID" + ], + [ + 0, + "投资者详细信息" + ], + [ + 1, + "批次ID" + ], + [ + 1, + "投资者ID" + ], + [ + 1, + "批次详细信息" + ], + [ + 2, + "交易类型代码" + ], + [ + 2, + "交易类型描述" + ], + [ + 3, + "交易ID" + ], + [ + 3, + "投资者ID" + ], + [ + 3, + "交易类型代码" + ], + [ + 3, + "交易日期" + ], + [ + 3, + "交易额" + ], + [ + 3, + "份额数" + ], + [ + 3, + "其他详细信息" + ], + [ + 4, + "销售交易ID" + ], + [ + 4, + "销售细节" + ], + [ + 5, + "购买交易ID" + ], + [ + 5, + "购买细节" + ], + [ + 6, + "交易ID" + ], + [ + 6, + "批次ID" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "investor_id" + ], + [ + 0, + "Investor_details" + ], + [ + 1, + "lot_id" + ], + [ + 1, + "investor_id" + ], + [ + 1, + "lot_details" + ], + [ + 2, + "transaction_type_code" + ], + [ + 2, + "transaction_type_description" + ], + [ + 3, + "transaction_id" + ], + [ + 3, + "investor_id" + ], + [ + 3, + "transaction_type_code" + ], + [ + 3, + "date_of_transaction" + ], + [ + 3, + "amount_of_transaction" + ], + [ + 3, + "share_count" + ], + [ + 3, + "other_details" + ], + [ + 4, + "sales_transaction_id" + ], + [ + 4, + "sales_details" + ], + [ + 5, + "purchase_transaction_id" + ], + [ + 5, + "purchase_details" + ], + [ + 6, + "transaction_id" + ], + [ + 6, + "lot_id" + ] + ], + "column_types": [ + "text", + "number", + "text", + "number", + "number", + "text", + "text", + "text", + "number", + "number", + "text", + "time", + "number", + "text", + "text", + "number", + "text", + "number", + "text", + "number", + "number" + ], + "db_id": "tracking_share_transactions", + "foreign_keys": [ + [ + 4, + 1 + ], + [ + 10, + 6 + ], + [ + 9, + 1 + ], + [ + 15, + 8 + ], + [ + 17, + 8 + ], + [ + 19, + 8 + ], + [ + 20, + 3 + ] + ], + "primary_keys": [ + 1, + 3, + 6, + 8, + 15 + ], + "table_names": [ + "投资者", + "批次", + "交易类型", + "交易", + "销售", + "购买", + "交易数量" + ], + "table_names_original": [ + "Investors", + "Lots", + "Ref_Transaction_Types", + "Transactions", + "Sales", + "Purchases", + "Transactions_Lots" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "大楼ID" + ], + [ + 0, + "大楼的简称" + ], + [ + 0, + "大楼全称" + ], + [ + 0, + "大楼描述" + ], + [ + 0, + "大楼的地址" + ], + [ + 0, + "大楼的管理员" + ], + [ + 0, + "大楼电话" + ], + [ + 1, + "公寓ID" + ], + [ + 1, + "大楼ID" + ], + [ + 1, + "公寓类型" + ], + [ + 1, + "公寓号" + ], + [ + 1, + "浴室数量" + ], + [ + 1, + "卧室数量" + ], + [ + 1, + "房间总数" + ], + [ + 2, + "公寓ID" + ], + [ + 2, + "设施代码" + ], + [ + 3, + "客人ID" + ], + [ + 3, + "客人性别" + ], + [ + 3, + "客人名字" + ], + [ + 3, + "客人姓氏" + ], + [ + 3, + "出生日期" + ], + [ + 4, + "预订号" + ], + [ + 4, + "公寓ID" + ], + [ + 4, + "客人ID" + ], + [ + 4, + "预订状态代码" + ], + [ + 4, + "预订开始日期" + ], + [ + 4, + "预订结束日期" + ], + [ + 5, + "公寓ID" + ], + [ + 5, + "预订号" + ], + [ + 5, + "查看状态日期" + ], + [ + 5, + "是否空闲" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "building_id" + ], + [ + 0, + "building_short_name" + ], + [ + 0, + "building_full_name" + ], + [ + 0, + "building_description" + ], + [ + 0, + "building_address" + ], + [ + 0, + "building_manager" + ], + [ + 0, + "building_phone" + ], + [ + 1, + "apt_id" + ], + [ + 1, + "building_id" + ], + [ + 1, + "apt_type_code" + ], + [ + 1, + "apt_number" + ], + [ + 1, + "bathroom_count" + ], + [ + 1, + "bedroom_count" + ], + [ + 1, + "room_count" + ], + [ + 2, + "apt_id" + ], + [ + 2, + "facility_code" + ], + [ + 3, + "guest_id" + ], + [ + 3, + "gender_code" + ], + [ + 3, + "guest_first_name" + ], + [ + 3, + "guest_last_name" + ], + [ + 3, + "date_of_birth" + ], + [ + 4, + "apt_booking_id" + ], + [ + 4, + "apt_id" + ], + [ + 4, + "guest_id" + ], + [ + 4, + "booking_status_code" + ], + [ + 4, + "booking_start_date" + ], + [ + 4, + "booking_end_date" + ], + [ + 5, + "apt_id" + ], + [ + 5, + "apt_booking_id" + ], + [ + 5, + "status_date" + ], + [ + 5, + "available_yn" + ] + ], + "column_types": [ + "text", + "number", + "text", + "text", + "text", + "text", + "text", + "text", + "number", + "number", + "text", + "text", + "number", + "number", + "text", + "number", + "text", + "number", + "text", + "text", + "text", + "time", + "number", + "number", + "number", + "text", + "time", + "time", + "number", + "number", + "time", + "others" + ], + "db_id": "apartment_rentals", + "foreign_keys": [ + [ + 9, + 1 + ], + [ + 15, + 8 + ], + [ + 24, + 17 + ], + [ + 23, + 8 + ], + [ + 29, + 22 + ], + [ + 28, + 8 + ] + ], + "primary_keys": [ + 1, + 8, + 15, + 17, + 22, + 30 + ], + "table_names": [ + "公寓楼", + "公寓", + "公寓设施", + "客人", + "公寓预订记录", + "查看公寓状态" + ], + "table_names_original": [ + "Apartment_Buildings", + "Apartments", + "Apartment_Facilities", + "Guests", + "Apartment_Bookings", + "View_Unit_Status" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "地址的ID" + ], + [ + 0, + "第一行" + ], + [ + 0, + "第二行" + ], + [ + 0, + "第三行" + ], + [ + 0, + "城市" + ], + [ + 0, + "邮政编码" + ], + [ + 0, + "州、省、县" + ], + [ + 0, + "国家" + ], + [ + 0, + "其他地址细节" + ], + [ + 1, + "课程ID" + ], + [ + 1, + "课程名称" + ], + [ + 1, + "课程描述" + ], + [ + 1, + "其他细节" + ], + [ + 2, + "学院ID" + ], + [ + 2, + "学院名字" + ], + [ + 2, + "学院描述" + ], + [ + 2, + "学院细节" + ], + [ + 3, + "学位ID" + ], + [ + 3, + "学院ID" + ], + [ + 3, + "学位名称" + ], + [ + 3, + "学位描述" + ], + [ + 3, + "学位其他细节" + ], + [ + 4, + "章节ID" + ], + [ + 4, + "课程ID" + ], + [ + 4, + "章节名称" + ], + [ + 4, + "章节描述" + ], + [ + 4, + "章节细节" + ], + [ + 5, + "学期ID" + ], + [ + 5, + "学期名字" + ], + [ + 5, + "学期描述" + ], + [ + 5, + "学期细节" + ], + [ + 6, + "学生ID" + ], + [ + 6, + "现在的地址ID" + ], + [ + 6, + "永久的地址ID" + ], + [ + 6, + "名字" + ], + [ + 6, + "中间名" + ], + [ + 6, + "姓氏" + ], + [ + 6, + "电话号码" + ], + [ + 6, + "邮箱地址" + ], + [ + 6, + "社会安全号码" + ], + [ + 6, + "注册日期" + ], + [ + 6, + "毕业日期" + ], + [ + 6, + "学生其他细节" + ], + [ + 7, + "学生注册ID" + ], + [ + 7, + "学位ID" + ], + [ + 7, + "学期ID" + ], + [ + 7, + "学生ID" + ], + [ + 7, + "其他细节" + ], + [ + 8, + "学生课程ID" + ], + [ + 8, + "课程ID" + ], + [ + 8, + "学生报名ID" + ], + [ + 9, + "成绩单ID" + ], + [ + 9, + "成绩单发布日期" + ], + [ + 9, + "其他详细信息" + ], + [ + 10, + "课程ID" + ], + [ + 10, + "成绩单ID" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "address_id" + ], + [ + 0, + "line_1" + ], + [ + 0, + "line_2" + ], + [ + 0, + "line_3" + ], + [ + 0, + "city" + ], + [ + 0, + "zip_postcode" + ], + [ + 0, + "state_province_county" + ], + [ + 0, + "country" + ], + [ + 0, + "other_address_details" + ], + [ + 1, + "course_id" + ], + [ + 1, + "course_name" + ], + [ + 1, + "course_description" + ], + [ + 1, + "other_details" + ], + [ + 2, + "department_id" + ], + [ + 2, + "department_name" + ], + [ + 2, + "department_description" + ], + [ + 2, + "other_details" + ], + [ + 3, + "degree_program_id" + ], + [ + 3, + "department_id" + ], + [ + 3, + "degree_summary_name" + ], + [ + 3, + "degree_summary_description" + ], + [ + 3, + "other_details" + ], + [ + 4, + "section_id" + ], + [ + 4, + "course_id" + ], + [ + 4, + "section_name" + ], + [ + 4, + "section_description" + ], + [ + 4, + "other_details" + ], + [ + 5, + "semester_id" + ], + [ + 5, + "semester_name" + ], + [ + 5, + "semester_description" + ], + [ + 5, + "other_details" + ], + [ + 6, + "student_id" + ], + [ + 6, + "current_address_id" + ], + [ + 6, + "permanent_address_id" + ], + [ + 6, + "first_name" + ], + [ + 6, + "middle_name" + ], + [ + 6, + "last_name" + ], + [ + 6, + "cell_mobile_number" + ], + [ + 6, + "email_address" + ], + [ + 6, + "ssn" + ], + [ + 6, + "date_first_registered" + ], + [ + 6, + "date_left" + ], + [ + 6, + "other_student_details" + ], + [ + 7, + "student_enrolment_id" + ], + [ + 7, + "degree_program_id" + ], + [ + 7, + "semester_id" + ], + [ + 7, + "student_id" + ], + [ + 7, + "other_details" + ], + [ + 8, + "student_course_id" + ], + [ + 8, + "course_id" + ], + [ + 8, + "student_enrolment_id" + ], + [ + 9, + "transcript_id" + ], + [ + 9, + "transcript_date" + ], + [ + 9, + "other_details" + ], + [ + 10, + "student_course_id" + ], + [ + 10, + "transcript_id" + ] + ], + "column_types": [ + "text", + "number", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "number", + "text", + "text", + "text", + "number", + "text", + "text", + "text", + "number", + "number", + "text", + "text", + "text", + "number", + "number", + "text", + "text", + "text", + "number", + "text", + "text", + "text", + "number", + "number", + "number", + "text", + "text", + "text", + "text", + "text", + "text", + "time", + "time", + "text", + "number", + "number", + "number", + "number", + "text", + "number", + "number", + "number", + "number", + "time", + "text", + "number", + "number" + ], + "db_id": "student_transcripts_tracking", + "foreign_keys": [ + [ + 19, + 14 + ], + [ + 24, + 10 + ], + [ + 34, + 1 + ], + [ + 33, + 1 + ], + [ + 47, + 32 + ], + [ + 46, + 28 + ], + [ + 45, + 18 + ], + [ + 51, + 44 + ], + [ + 50, + 10 + ], + [ + 56, + 52 + ], + [ + 55, + 49 + ] + ], + "primary_keys": [ + 1, + 10, + 14, + 18, + 23, + 28, + 32, + 44, + 49, + 52 + ], + "table_names": [ + "地址", + "课程", + "学院", + "学位", + "章节", + "学期", + "学生", + "学生注册", + "学生报名课程", + "成绩单", + "成绩单内容" + ], + "table_names_original": [ + "Addresses", + "Courses", + "Departments", + "Degree_Programs", + "Sections", + "Semesters", + "Students", + "Student_Enrolment", + "Student_Enrolment_Courses", + "Transcripts", + "Transcript_Contents" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "类型代码" + ], + [ + 0, + "类型名称" + ], + [ + 0, + "类型描述" + ], + [ + 1, + "预算类型" + ], + [ + 1, + "预算类型描述" + ], + [ + 2, + "项目ID" + ], + [ + 2, + "项目详细信息" + ], + [ + 3, + "文档ID" + ], + [ + 3, + "文档类型代码" + ], + [ + 3, + "项目ID" + ], + [ + 3, + "文档日期" + ], + [ + 3, + "文档名称" + ], + [ + 3, + "文档说明" + ], + [ + 3, + "详细信息" + ], + [ + 4, + "报表ID" + ], + [ + 4, + "报表详细信息" + ], + [ + 5, + "文档ID" + ], + [ + 5, + "预算类型代码" + ], + [ + 5, + "文档详细信息" + ], + [ + 6, + "帐户ID" + ], + [ + 6, + "报表ID" + ], + [ + 6, + "帐户详细信息" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "Document_Type_Code" + ], + [ + 0, + "Document_Type_Name" + ], + [ + 0, + "Document_Type_Description" + ], + [ + 1, + "Budget_Type_Code" + ], + [ + 1, + "Budget_Type_Description" + ], + [ + 2, + "Project_ID" + ], + [ + 2, + "Project_Details" + ], + [ + 3, + "Document_ID" + ], + [ + 3, + "Document_Type_Code" + ], + [ + 3, + "Project_ID" + ], + [ + 3, + "Document_Date" + ], + [ + 3, + "Document_Name" + ], + [ + 3, + "Document_Description" + ], + [ + 3, + "Other_Details" + ], + [ + 4, + "Statement_ID" + ], + [ + 4, + "Statement_Details" + ], + [ + 5, + "Document_ID" + ], + [ + 5, + "Budget_Type_Code" + ], + [ + 5, + "Document_Details" + ], + [ + 6, + "Account_ID" + ], + [ + 6, + "Statement_ID" + ], + [ + 6, + "Account_Details" + ] + ], + "column_types": [ + "text", + "text", + "text", + "text", + "text", + "text", + "number", + "text", + "number", + "text", + "number", + "time", + "text", + "text", + "text", + "number", + "text", + "number", + "text", + "text", + "number", + "number", + "text" + ], + "db_id": "cre_Docs_and_Epenses", + "foreign_keys": [ + [ + 10, + 6 + ], + [ + 9, + 1 + ], + [ + 15, + 8 + ], + [ + 17, + 8 + ], + [ + 18, + 4 + ], + [ + 21, + 15 + ] + ], + "primary_keys": [ + 1, + 4, + 6, + 8, + 15, + 17, + 20 + ], + "table_names": [ + "文档类型", + "预算代码", + "项目", + "文档", + "报表", + "包含费用预算的文档", + "帐户" + ], + "table_names_original": [ + "Ref_Document_Types", + "Ref_Budget_Codes", + "Projects", + "Documents", + "Statements", + "Documents_with_Expenses", + "Accounts" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "任务ID" + ], + [ + 0, + "船只ID" + ], + [ + 0, + "编号" + ], + [ + 0, + "执行年份" + ], + [ + 0, + "位置" + ], + [ + 0, + "速度" + ], + [ + 0, + "命运" + ], + [ + 1, + "船只ID" + ], + [ + 1, + "船只名字" + ], + [ + 1, + "船只类型" + ], + [ + 1, + "国籍" + ], + [ + 1, + "吨位" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "Mission_ID" + ], + [ + 0, + "Ship_ID" + ], + [ + 0, + "Code" + ], + [ + 0, + "Launched_Year" + ], + [ + 0, + "Location" + ], + [ + 0, + "Speed_knots" + ], + [ + 0, + "Fate" + ], + [ + 1, + "Ship_ID" + ], + [ + 1, + "Name" + ], + [ + 1, + "Type" + ], + [ + 1, + "Nationality" + ], + [ + 1, + "Tonnage" + ] + ], + "column_types": [ + "text", + "number", + "number", + "text", + "number", + "text", + "number", + "text", + "number", + "text", + "text", + "text", + "number" + ], + "db_id": "ship_mission", + "foreign_keys": [ + [ + 2, + 8 + ] + ], + "primary_keys": [ + 1, + 8 + ], + "table_names": [ + "任务", + "船" + ], + "table_names_original": [ + "mission", + "ship" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "建筑物ID" + ], + [ + 0, + "名称" + ], + [ + 0, + "城市" + ], + [ + 0, + "高度" + ], + [ + 0, + "层数" + ], + [ + 0, + "状态" + ], + [ + 1, + "公司ID" + ], + [ + 1, + "公司名称" + ], + [ + 1, + "总部" + ], + [ + 1, + "行业" + ], + [ + 1, + "销售额" + ], + [ + 1, + "利润" + ], + [ + 1, + "资产" + ], + [ + 1, + "市值" + ], + [ + 2, + "建筑物ID" + ], + [ + 2, + "公司ID" + ], + [ + 2, + "移入年份" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "id" + ], + [ + 0, + "name" + ], + [ + 0, + "City" + ], + [ + 0, + "Height" + ], + [ + 0, + "Stories" + ], + [ + 0, + "Status" + ], + [ + 1, + "id" + ], + [ + 1, + "name" + ], + [ + 1, + "Headquarters" + ], + [ + 1, + "Industry" + ], + [ + 1, + "Sales_billion" + ], + [ + 1, + "Profits_billion" + ], + [ + 1, + "Assets_billion" + ], + [ + 1, + "Market_Value_billion" + ], + [ + 2, + "building_id" + ], + [ + 2, + "company_id" + ], + [ + 2, + "move_in_year" + ] + ], + "column_types": [ + "text", + "number", + "text", + "text", + "number", + "number", + "text", + "number", + "text", + "text", + "text", + "number", + "number", + "number", + "text", + "number", + "number", + "number" + ], + "db_id": "company_office", + "foreign_keys": [ + [ + 16, + 7 + ], + [ + 15, + 1 + ] + ], + "primary_keys": [ + 1, + 7, + 15 + ], + "table_names": [ + "建筑物", + "公司", + "办公地点" + ], + "table_names_original": [ + "buildings", + "Companies", + "Office_locations" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "问题种类代码" + ], + [ + 0, + "问题种类描述" + ], + [ + 1, + "日志ID" + ], + [ + 1, + "员工ID" + ], + [ + 1, + "问题ID" + ], + [ + 1, + "问题种类代码" + ], + [ + 1, + "问题的状态" + ], + [ + 1, + "日志记录日期" + ], + [ + 1, + "日志详细信息" + ], + [ + 1, + "日志条目修复" + ], + [ + 1, + "其他日志信息" + ], + [ + 2, + "问题的状态代码" + ], + [ + 2, + "问题状态描述" + ], + [ + 3, + "产品ID" + ], + [ + 3, + "产品的名称" + ], + [ + 3, + "产品详细信息" + ], + [ + 4, + "工作人员ID" + ], + [ + 4, + "员工名" + ], + [ + 4, + "员工姓" + ], + [ + 4, + "员工详细信息" + ], + [ + 5, + "问题ID" + ], + [ + 5, + "产品ID" + ], + [ + 5, + "授权的员工ID" + ], + [ + 5, + "报告的员工ID" + ], + [ + 5, + "报告问题的日期" + ], + [ + 5, + "解决问题的日期" + ], + [ + 5, + "问题的描述" + ], + [ + 5, + "其他问题信息" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "problem_category_code" + ], + [ + 0, + "problem_category_description" + ], + [ + 1, + "problem_log_id" + ], + [ + 1, + "assigned_to_staff_id" + ], + [ + 1, + "problem_id" + ], + [ + 1, + "problem_category_code" + ], + [ + 1, + "problem_status_code" + ], + [ + 1, + "log_entry_date" + ], + [ + 1, + "log_entry_description" + ], + [ + 1, + "log_entry_fix" + ], + [ + 1, + "other_log_details" + ], + [ + 2, + "problem_status_code" + ], + [ + 2, + "problem_status_description" + ], + [ + 3, + "product_id" + ], + [ + 3, + "product_name" + ], + [ + 3, + "product_details" + ], + [ + 4, + "staff_id" + ], + [ + 4, + "staff_first_name" + ], + [ + 4, + "staff_last_name" + ], + [ + 4, + "other_staff_details" + ], + [ + 5, + "problem_id" + ], + [ + 5, + "product_id" + ], + [ + 5, + "closure_authorised_by_staff_id" + ], + [ + 5, + "reported_by_staff_id" + ], + [ + 5, + "date_problem_reported" + ], + [ + 5, + "date_problem_closed" + ], + [ + 5, + "problem_description" + ], + [ + 5, + "other_problem_details" + ] + ], + "column_types": [ + "text", + "text", + "text", + "number", + "number", + "number", + "text", + "text", + "time", + "text", + "text", + "text", + "text", + "text", + "number", + "text", + "text", + "number", + "text", + "text", + "text", + "number", + "number", + "number", + "number", + "time", + "time", + "text", + "text" + ], + "db_id": "tracking_software_problems", + "foreign_keys": [ + [ + 7, + 12 + ], + [ + 5, + 21 + ], + [ + 4, + 17 + ], + [ + 6, + 1 + ], + [ + 24, + 17 + ], + [ + 22, + 14 + ], + [ + 23, + 17 + ] + ], + "primary_keys": [ + 1, + 3, + 12, + 14, + 17, + 21 + ], + "table_names": [ + "问题种类", + "问题日志", + "问题的状态", + "产品", + "工作人员", + "问题" + ], + "table_names_original": [ + "Problem_Category_Codes", + "Problem_Log", + "Problem_Status_Codes", + "Product", + "Staff", + "Problems" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "特征类型代码" + ], + [ + 0, + "特征类型描述" + ], + [ + 1, + "颜色代码" + ], + [ + 1, + "颜色描述" + ], + [ + 2, + "产品类别代码" + ], + [ + 2, + "类别描述" + ], + [ + 2, + "计量单位" + ], + [ + 3, + "特征id" + ], + [ + 3, + "特征类型代码" + ], + [ + 3, + "特征数据类型" + ], + [ + 3, + "特征名称" + ], + [ + 3, + "特征详细信息" + ], + [ + 4, + "产品id" + ], + [ + 4, + "颜色代码" + ], + [ + 4, + "产品类别代码" + ], + [ + 4, + "产品的名称" + ], + [ + 4, + "典型购买价格" + ], + [ + 4, + "典型售价" + ], + [ + 4, + "产品描述" + ], + [ + 4, + "产品详细信息" + ], + [ + 5, + "产品id" + ], + [ + 5, + "特征id" + ], + [ + 5, + "产品的特性值" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "characteristic_type_code" + ], + [ + 0, + "characteristic_type_description" + ], + [ + 1, + "color_code" + ], + [ + 1, + "color_description" + ], + [ + 2, + "product_category_code" + ], + [ + 2, + "product_category_description" + ], + [ + 2, + "unit_of_measure" + ], + [ + 3, + "characteristic_id" + ], + [ + 3, + "characteristic_type_code" + ], + [ + 3, + "characteristic_data_type" + ], + [ + 3, + "characteristic_name" + ], + [ + 3, + "other_characteristic_details" + ], + [ + 4, + "product_id" + ], + [ + 4, + "color_code" + ], + [ + 4, + "product_category_code" + ], + [ + 4, + "product_name" + ], + [ + 4, + "typical_buying_price" + ], + [ + 4, + "typical_selling_price" + ], + [ + 4, + "product_description" + ], + [ + 4, + "other_product_details" + ], + [ + 5, + "product_id" + ], + [ + 5, + "characteristic_id" + ], + [ + 5, + "product_characteristic_value" + ] + ], + "column_types": [ + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "number", + "text", + "text", + "text", + "text", + "number", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "number", + "number", + "text" + ], + "db_id": "products_gen_characteristics", + "foreign_keys": [ + [ + 9, + 1 + ], + [ + 14, + 3 + ], + [ + 15, + 5 + ], + [ + 21, + 13 + ], + [ + 22, + 8 + ] + ], + "primary_keys": [ + 1, + 3, + 5, + 8, + 13 + ], + "table_names": [ + "特征类型", + "颜色", + "产品类别", + "特征", + "产品", + "产品特性" + ], + "table_names_original": [ + "Ref_Characteristic_Types", + "Ref_Colors", + "Ref_Product_Categories", + "Characteristics", + "Products", + "Product_Characteristics" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "咖啡店ID" + ], + [ + 0, + "地址" + ], + [ + 0, + "员工数量" + ], + [ + 0, + "评分" + ], + [ + 0, + "创立年份" + ], + [ + 1, + "会员ID" + ], + [ + 1, + "姓名" + ], + [ + 1, + "会员卡" + ], + [ + 1, + "年龄" + ], + [ + 1, + "购买时间" + ], + [ + 1, + "会员等级" + ], + [ + 1, + "住址" + ], + [ + 2, + "折扣ID" + ], + [ + 2, + "咖啡店ID" + ], + [ + 2, + "月份" + ], + [ + 2, + "职工数量" + ], + [ + 3, + "折扣ID" + ], + [ + 3, + "会员ID" + ], + [ + 3, + "总数" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "Shop_ID" + ], + [ + 0, + "Address" + ], + [ + 0, + "Num_of_staff" + ], + [ + 0, + "Score" + ], + [ + 0, + "Open_Year" + ], + [ + 1, + "Member_ID" + ], + [ + 1, + "Name" + ], + [ + 1, + "Membership_card" + ], + [ + 1, + "Age" + ], + [ + 1, + "Time_of_purchase" + ], + [ + 1, + "Level_of_membership" + ], + [ + 1, + "Address" + ], + [ + 2, + "HH_ID" + ], + [ + 2, + "Shop_ID" + ], + [ + 2, + "Month" + ], + [ + 2, + "Num_of_shaff_in_charge" + ], + [ + 3, + "HH_ID" + ], + [ + 3, + "Member_ID" + ], + [ + 3, + "Total_amount" + ] + ], + "column_types": [ + "text", + "number", + "text", + "text", + "number", + "text", + "number", + "text", + "text", + "number", + "number", + "number", + "text", + "number", + "number", + "text", + "number", + "number", + "number", + "number" + ], + "db_id": "coffee_shop", + "foreign_keys": [ + [ + 14, + 1 + ], + [ + 18, + 6 + ] + ], + "primary_keys": [ + 1, + 6, + 13, + 17 + ], + "table_names": [ + "咖啡店", + "会员", + "欢乐时光折扣", + "欢乐时光折扣会员" + ], + "table_names_original": [ + "shop", + "member", + "happy_hour", + "happy_hour_member" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "运动员ID" + ], + [ + 0, + "赞助商名称" + ], + [ + 0, + "运动员名字" + ], + [ + 0, + "性别" + ], + [ + 0, + "居住地" + ], + [ + 0, + "职业" + ], + [ + 0, + "票数" + ], + [ + 0, + "排名" + ], + [ + 1, + "俱乐部ID" + ], + [ + 1, + "俱乐部名称" + ], + [ + 1, + "地区" + ], + [ + 1, + "创立年份" + ], + [ + 2, + "教练ID" + ], + [ + 2, + "运动员名字" + ], + [ + 2, + "性别" + ], + [ + 2, + "俱乐部ID" + ], + [ + 2, + "排名" + ], + [ + 3, + "运动员ID" + ], + [ + 3, + "教练ID" + ], + [ + 3, + "开始年份" + ], + [ + 4, + "排名" + ], + [ + 4, + "俱乐部ID" + ], + [ + 4, + "金牌数" + ], + [ + 4, + "大银牌数" + ], + [ + 4, + "小银牌数" + ], + [ + 4, + "铜牌数" + ], + [ + 4, + "总分" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "Player_ID" + ], + [ + 0, + "Sponsor_name" + ], + [ + 0, + "Player_name" + ], + [ + 0, + "Gender" + ], + [ + 0, + "Residence" + ], + [ + 0, + "Occupation" + ], + [ + 0, + "Votes" + ], + [ + 0, + "Rank" + ], + [ + 1, + "Club_ID" + ], + [ + 1, + "Club_name" + ], + [ + 1, + "Region" + ], + [ + 1, + "Start_year" + ], + [ + 2, + "Coach_ID" + ], + [ + 2, + "Coach_name" + ], + [ + 2, + "Gender" + ], + [ + 2, + "Club_ID" + ], + [ + 2, + "Rank" + ], + [ + 3, + "Player_ID" + ], + [ + 3, + "Coach_ID" + ], + [ + 3, + "Starting_year" + ], + [ + 4, + "Rank" + ], + [ + 4, + "Club_ID" + ], + [ + 4, + "Gold" + ], + [ + 4, + "Big_Silver" + ], + [ + 4, + "Small_Silver" + ], + [ + 4, + "Bronze" + ], + [ + 4, + "Points" + ] + ], + "column_types": [ + "text", + "number", + "text", + "text", + "text", + "text", + "text", + "number", + "text", + "number", + "text", + "text", + "number", + "number", + "text", + "text", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number" + ], + "db_id": "riding_club", + "foreign_keys": [ + [ + 16, + 9 + ], + [ + 19, + 13 + ], + [ + 18, + 1 + ], + [ + 22, + 9 + ] + ], + "primary_keys": [ + 1, + 9, + 13, + 18, + 21 + ], + "table_names": [ + "运动员", + "俱乐部", + "教练", + "教练指导运动员", + "比赛结果" + ], + "table_names_original": [ + "player", + "club", + "coach", + "player_coach", + "match_result" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "账户号" + ], + [ + 0, + "客户ID" + ], + [ + 0, + "帐户名称" + ], + [ + 0, + "其他账户信息" + ], + [ + 1, + "客户ID" + ], + [ + 1, + "客户名" + ], + [ + 1, + "客户姓" + ], + [ + 1, + "客户住址" + ], + [ + 1, + "客户电话" + ], + [ + 1, + "客户邮箱地址" + ], + [ + 1, + "其他客户信息" + ], + [ + 2, + "信用卡ID" + ], + [ + 2, + "客户ID" + ], + [ + 2, + "信用卡类型" + ], + [ + 2, + "卡号" + ], + [ + 2, + "有效期起" + ], + [ + 2, + "有效期至" + ], + [ + 2, + "其他信用卡信息" + ], + [ + 3, + "交易ID" + ], + [ + 3, + "之前的交易ID" + ], + [ + 3, + "账户号" + ], + [ + 3, + "信用卡ID" + ], + [ + 3, + "交易类型" + ], + [ + 3, + "交易日期" + ], + [ + 3, + "交易金额" + ], + [ + 3, + "交易注释" + ], + [ + 3, + "其他的交易信息" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "account_id" + ], + [ + 0, + "customer_id" + ], + [ + 0, + "account_name" + ], + [ + 0, + "other_account_details" + ], + [ + 1, + "customer_id" + ], + [ + 1, + "customer_first_name" + ], + [ + 1, + "customer_last_name" + ], + [ + 1, + "customer_address" + ], + [ + 1, + "customer_phone" + ], + [ + 1, + "customer_email" + ], + [ + 1, + "other_customer_details" + ], + [ + 2, + "card_id" + ], + [ + 2, + "customer_id" + ], + [ + 2, + "card_type_code" + ], + [ + 2, + "card_number" + ], + [ + 2, + "date_valid_from" + ], + [ + 2, + "date_valid_to" + ], + [ + 2, + "other_card_details" + ], + [ + 3, + "transaction_id" + ], + [ + 3, + "previous_transaction_id" + ], + [ + 3, + "account_id" + ], + [ + 3, + "card_id" + ], + [ + 3, + "transaction_type" + ], + [ + 3, + "transaction_date" + ], + [ + 3, + "transaction_amount" + ], + [ + 3, + "transaction_comment" + ], + [ + 3, + "other_transaction_details" + ] + ], + "column_types": [ + "text", + "number", + "number", + "text", + "text", + "number", + "text", + "text", + "text", + "text", + "text", + "text", + "number", + "number", + "text", + "text", + "time", + "time", + "text", + "number", + "number", + "number", + "number", + "text", + "time", + "number", + "text", + "text" + ], + "db_id": "customers_card_transactions", + "foreign_keys": [ + [ + 21, + 1 + ], + [ + 22, + 12 + ] + ], + "primary_keys": [ + 1, + 5, + 12 + ], + "table_names": [ + "账户", + "客户", + "客户信用卡", + "财务交易" + ], + "table_names_original": [ + "Accounts", + "Customers", + "Customers_Cards", + "Financial_Transactions" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "县的ID" + ], + [ + 0, + "名称" + ], + [ + 0, + "人口" + ], + [ + 0, + "警察数" + ], + [ + 0, + "每位警察对应的居民数" + ], + [ + 0, + "案件数" + ], + [ + 0, + "犯罪率" + ], + [ + 0, + "警察部队名称" + ], + [ + 0, + "位置" + ], + [ + 1, + "城市ID" + ], + [ + 1, + "县ID" + ], + [ + 1, + "城市名字" + ], + [ + 1, + "白人比例" + ], + [ + 1, + "黑人比例" + ], + [ + 1, + "印第安人比例" + ], + [ + 1, + "亚洲人比例" + ], + [ + 1, + "混血人比例" + ], + [ + 1, + "西班牙人比例" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "County_ID" + ], + [ + 0, + "Name" + ], + [ + 0, + "Population" + ], + [ + 0, + "Police_officers" + ], + [ + 0, + "Residents_per_officer" + ], + [ + 0, + "Case_burden" + ], + [ + 0, + "Crime_rate" + ], + [ + 0, + "Police_force" + ], + [ + 0, + "Location" + ], + [ + 1, + "City_ID" + ], + [ + 1, + "County_ID" + ], + [ + 1, + "Name" + ], + [ + 1, + "White" + ], + [ + 1, + "Black" + ], + [ + 1, + "Amerindian" + ], + [ + 1, + "Asian" + ], + [ + 1, + "Multiracial" + ], + [ + 1, + "Hispanic" + ] + ], + "column_types": [ + "text", + "number", + "text", + "number", + "number", + "number", + "number", + "number", + "text", + "text", + "number", + "number", + "text", + "number", + "number", + "number", + "number", + "number", + "number" + ], + "db_id": "county_public_safety", + "foreign_keys": [ + [ + 11, + 1 + ] + ], + "primary_keys": [ + 1, + 10 + ], + "table_names": [ + "县公共安全", + "城市" + ], + "table_names_original": [ + "county_public_safety", + "city" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "成员ID" + ], + [ + 0, + "名字" + ], + [ + 0, + "国籍" + ], + [ + 0, + "角色" + ], + [ + 1, + "演出ID" + ], + [ + 1, + "日期" + ], + [ + 1, + "主持人" + ], + [ + 1, + "地点" + ], + [ + 1, + "出席人数" + ], + [ + 2, + "成员ID" + ], + [ + 2, + "演出ID" + ], + [ + 2, + "乐器件数" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "Member_ID" + ], + [ + 0, + "Name" + ], + [ + 0, + "Nationality" + ], + [ + 0, + "Role" + ], + [ + 1, + "Performance_ID" + ], + [ + 1, + "Date" + ], + [ + 1, + "Host" + ], + [ + 1, + "Location" + ], + [ + 1, + "Attendance" + ], + [ + 2, + "Member_ID" + ], + [ + 2, + "Performance_ID" + ], + [ + 2, + "Num_of_Pieces" + ] + ], + "column_types": [ + "text", + "text", + "text", + "text", + "text", + "number", + "text", + "text", + "text", + "number", + "number", + "number", + "number" + ], + "db_id": "performance_attendance", + "foreign_keys": [ + [ + 11, + 5 + ], + [ + 10, + 1 + ] + ], + "primary_keys": [ + 1, + 5, + 10 + ], + "table_names": [ + "成员", + "演出", + "成员参加演出" + ], + "table_names_original": [ + "member", + "performance", + "member_attendance" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "学号" + ], + [ + 0, + "姓氏" + ], + [ + 0, + "名字" + ], + [ + 0, + "年龄" + ], + [ + 0, + "性别" + ], + [ + 0, + "专业" + ], + [ + 0, + "导师" + ], + [ + 0, + "城市代码" + ], + [ + 1, + "社团编号" + ], + [ + 1, + "社团名称" + ], + [ + 1, + "社团简介" + ], + [ + 1, + "社团位置" + ], + [ + 2, + "学号" + ], + [ + 2, + "社团编号" + ], + [ + 2, + "职位" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "StuID" + ], + [ + 0, + "LName" + ], + [ + 0, + "Fname" + ], + [ + 0, + "Age" + ], + [ + 0, + "Sex" + ], + [ + 0, + "Major" + ], + [ + 0, + "Advisor" + ], + [ + 0, + "city_code" + ], + [ + 1, + "ClubID" + ], + [ + 1, + "ClubName" + ], + [ + 1, + "ClubDesc" + ], + [ + 1, + "ClubLocation" + ], + [ + 2, + "StuID" + ], + [ + 2, + "ClubID" + ], + [ + 2, + "Position" + ] + ], + "column_types": [ + "text", + "number", + "text", + "text", + "number", + "text", + "number", + "number", + "text", + "number", + "text", + "text", + "text", + "number", + "number", + "text" + ], + "db_id": "club_1", + "foreign_keys": [ + [ + 14, + 9 + ], + [ + 13, + 1 + ] + ], + "primary_keys": [ + 1, + 9 + ], + "table_names": [ + "成员", + "社团", + "社团成员" + ], + "table_names_original": [ + "Student", + "Club", + "Member_of_club" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "歌手编号" + ], + [ + 0, + "姓名" + ], + [ + 0, + "出生年份" + ], + [ + 0, + "身价" + ], + [ + 0, + "国籍" + ], + [ + 1, + "歌曲编号" + ], + [ + 1, + "名称" + ], + [ + 1, + "歌手编号" + ], + [ + 1, + "销量" + ], + [ + 1, + "最高名次" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "Singer_ID" + ], + [ + 0, + "Name" + ], + [ + 0, + "Birth_Year" + ], + [ + 0, + "Net_Worth_Millions" + ], + [ + 0, + "Citizenship" + ], + [ + 1, + "Song_ID" + ], + [ + 1, + "Title" + ], + [ + 1, + "Singer_ID" + ], + [ + 1, + "Sales" + ], + [ + 1, + "Highest_Position" + ] + ], + "column_types": [ + "text", + "number", + "text", + "number", + "number", + "text", + "number", + "text", + "number", + "number", + "number" + ], + "db_id": "singer", + "foreign_keys": [ + [ + 8, + 1 + ] + ], + "primary_keys": [ + 1, + 6 + ], + "table_names": [ + "歌手", + "歌曲" + ], + "table_names_original": [ + "singer", + "song" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "书籍编号" + ], + [ + 0, + "出版年份" + ], + [ + 0, + "作者或者编辑" + ], + [ + 0, + "书名" + ], + [ + 0, + "出版商" + ], + [ + 0, + "类别" + ], + [ + 0, + "结果" + ], + [ + 1, + "电影编号" + ], + [ + 1, + "名称" + ], + [ + 1, + "年份" + ], + [ + 1, + "导演" + ], + [ + 1, + "预算" + ], + [ + 1, + "世界总票房" + ], + [ + 2, + "公司名称" + ], + [ + 2, + "公司类型" + ], + [ + 2, + "注册地" + ], + [ + 2, + "集团股权" + ], + [ + 2, + "书籍编号" + ], + [ + 2, + "电影编号" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "book_club_id" + ], + [ + 0, + "Year" + ], + [ + 0, + "Author_or_Editor" + ], + [ + 0, + "Book_Title" + ], + [ + 0, + "Publisher" + ], + [ + 0, + "Category" + ], + [ + 0, + "Result" + ], + [ + 1, + "movie_id" + ], + [ + 1, + "Title" + ], + [ + 1, + "Year" + ], + [ + 1, + "Director" + ], + [ + 1, + "Budget_million" + ], + [ + 1, + "Gross_worldwide" + ], + [ + 2, + "Company_name" + ], + [ + 2, + "Type" + ], + [ + 2, + "Incorporated_in" + ], + [ + 2, + "Group_Equity_Shareholding" + ], + [ + 2, + "book_club_id" + ], + [ + 2, + "movie_id" + ] + ], + "column_types": [ + "text", + "number", + "number", + "text", + "text", + "text", + "text", + "text", + "number", + "text", + "number", + "text", + "number", + "number", + "text", + "text", + "text", + "number", + "text", + "text" + ], + "db_id": "culture_company", + "foreign_keys": [ + [ + 19, + 8 + ], + [ + 18, + 1 + ] + ], + "primary_keys": [ + 1, + 8, + 14 + ], + "table_names": [ + "书籍", + "电影", + "文化公司" + ], + "table_names_original": [ + "book_club", + "movie", + "culture_company" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "模板类型代码" + ], + [ + 0, + "模板类型描述" + ], + [ + 1, + "模板ID" + ], + [ + 1, + "版本号" + ], + [ + 1, + "模板类型代码" + ], + [ + 1, + "生效日期" + ], + [ + 1, + "失效日期" + ], + [ + 1, + "模板细节" + ], + [ + 2, + "文档ID" + ], + [ + 2, + "模板ID" + ], + [ + 2, + "文档名" + ], + [ + 2, + "文档说明" + ], + [ + 2, + "其他详细细节" + ], + [ + 3, + "段落ID" + ], + [ + 3, + "文档ID" + ], + [ + 3, + "段落文本" + ], + [ + 3, + "详细信息" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "Template_Type_Code" + ], + [ + 0, + "Template_Type_Description" + ], + [ + 1, + "Template_ID" + ], + [ + 1, + "Version_Number" + ], + [ + 1, + "Template_Type_Code" + ], + [ + 1, + "Date_Effective_From" + ], + [ + 1, + "Date_Effective_To" + ], + [ + 1, + "Template_Details" + ], + [ + 2, + "Document_ID" + ], + [ + 2, + "Template_ID" + ], + [ + 2, + "Document_Name" + ], + [ + 2, + "Document_Description" + ], + [ + 2, + "Other_Details" + ], + [ + 3, + "Paragraph_ID" + ], + [ + 3, + "Document_ID" + ], + [ + 3, + "Paragraph_Text" + ], + [ + 3, + "Other_Details" + ] + ], + "column_types": [ + "text", + "text", + "text", + "number", + "number", + "text", + "time", + "time", + "text", + "number", + "number", + "text", + "text", + "text", + "number", + "number", + "text", + "text" + ], + "db_id": "cre_Doc_Template_Mgt", + "foreign_keys": [ + [ + 5, + 1 + ], + [ + 10, + 3 + ], + [ + 15, + 9 + ] + ], + "primary_keys": [ + 1, + 3, + 9, + 14 + ], + "table_names": [ + "参考模板类型", + "模板", + "文档", + "段落" + ], + "table_names_original": [ + "Ref_Template_Types", + "Templates", + "Documents", + "Paragraphs" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "音乐剧ID" + ], + [ + 0, + "名称" + ], + [ + 0, + "年份" + ], + [ + 0, + "奖项" + ], + [ + 0, + "种类" + ], + [ + 0, + "被提名者" + ], + [ + 0, + "结果" + ], + [ + 1, + "演员ID" + ], + [ + 1, + "姓名" + ], + [ + 1, + "音乐剧ID" + ], + [ + 1, + "角色" + ], + [ + 1, + "演出时间" + ], + [ + 1, + "年龄" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "Musical_ID" + ], + [ + 0, + "Name" + ], + [ + 0, + "Year" + ], + [ + 0, + "Award" + ], + [ + 0, + "Category" + ], + [ + 0, + "Nominee" + ], + [ + 0, + "Result" + ], + [ + 1, + "Actor_ID" + ], + [ + 1, + "Name" + ], + [ + 1, + "Musical_ID" + ], + [ + 1, + "Character" + ], + [ + 1, + "Duration" + ], + [ + 1, + "age" + ] + ], + "column_types": [ + "text", + "number", + "text", + "number", + "text", + "text", + "text", + "text", + "number", + "text", + "number", + "text", + "text", + "number" + ], + "db_id": "musical", + "foreign_keys": [ + [ + 10, + 8 + ] + ], + "primary_keys": [ + 1, + 8 + ], + "table_names": [ + "音乐剧", + "演员" + ], + "table_names_original": [ + "musical", + "actor" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "城市ID" + ], + [ + 0, + "名称" + ], + [ + 0, + "国家代码" + ], + [ + 0, + "地区" + ], + [ + 0, + "人口" + ], + [ + 1, + "名称" + ], + [ + 1, + "序列" + ], + [ + 2, + "代码" + ], + [ + 2, + "名称" + ], + [ + 2, + "洲" + ], + [ + 2, + "地区" + ], + [ + 2, + "表面积" + ], + [ + 2, + "独立年份" + ], + [ + 2, + "人口" + ], + [ + 2, + "预期寿命" + ], + [ + 2, + "国民生产总值" + ], + [ + 2, + "旧国民生产总值" + ], + [ + 2, + "本地名" + ], + [ + 2, + "政体" + ], + [ + 2, + "领导人" + ], + [ + 2, + "首都" + ], + [ + 2, + "代码2" + ], + [ + 3, + "国家代码" + ], + [ + 3, + "语言" + ], + [ + 3, + "是否官方" + ], + [ + 3, + "比例" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "ID" + ], + [ + 0, + "Name" + ], + [ + 0, + "CountryCode" + ], + [ + 0, + "District" + ], + [ + 0, + "Population" + ], + [ + 1, + "name" + ], + [ + 1, + "seq" + ], + [ + 2, + "Code" + ], + [ + 2, + "Name" + ], + [ + 2, + "Continent" + ], + [ + 2, + "Region" + ], + [ + 2, + "SurfaceArea" + ], + [ + 2, + "IndepYear" + ], + [ + 2, + "Population" + ], + [ + 2, + "LifeExpectancy" + ], + [ + 2, + "GNP" + ], + [ + 2, + "GNPOld" + ], + [ + 2, + "LocalName" + ], + [ + 2, + "GovernmentForm" + ], + [ + 2, + "HeadOfState" + ], + [ + 2, + "Capital" + ], + [ + 2, + "Code2" + ], + [ + 3, + "CountryCode" + ], + [ + 3, + "Language" + ], + [ + 3, + "IsOfficial" + ], + [ + 3, + "Percentage" + ] + ], + "column_types": [ + "text", + "number", + "text", + "text", + "text", + "number", + "text", + "text", + "text", + "text", + "text", + "text", + "number", + "number", + "number", + "number", + "number", + "number", + "text", + "text", + "text", + "number", + "text", + "text", + "text", + "text", + "number" + ], + "db_id": "world_1", + "foreign_keys": [ + [ + 3, + 8 + ], + [ + 23, + 8 + ] + ], + "primary_keys": [ + 1, + 8, + 23 + ], + "table_names": [ + "城市", + "数据库序列", + "国家", + "国家语言" + ], + "table_names_original": [ + "city", + "sqlite_sequence", + "country", + "countrylanguage" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "设备ID" + ], + [ + 0, + "设备名称" + ], + [ + 0, + "运营商" + ], + [ + 0, + "软件版本" + ], + [ + 0, + "应用程序" + ], + [ + 0, + "软件平台" + ], + [ + 1, + "商店ID" + ], + [ + 1, + "商店名称" + ], + [ + 1, + "位置" + ], + [ + 1, + "开放日期" + ], + [ + 1, + "营业年份" + ], + [ + 2, + "商店ID" + ], + [ + 2, + "设备ID" + ], + [ + 2, + "库存量" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "Device_ID" + ], + [ + 0, + "Device" + ], + [ + 0, + "Carrier" + ], + [ + 0, + "Package_Version" + ], + [ + 0, + "Applications" + ], + [ + 0, + "Software_Platform" + ], + [ + 1, + "Shop_ID" + ], + [ + 1, + "Shop_Name" + ], + [ + 1, + "Location" + ], + [ + 1, + "Open_Date" + ], + [ + 1, + "Open_Year" + ], + [ + 2, + "Shop_ID" + ], + [ + 2, + "Device_ID" + ], + [ + 2, + "Quantity" + ] + ], + "column_types": [ + "text", + "number", + "text", + "text", + "text", + "text", + "text", + "number", + "text", + "text", + "text", + "number", + "number", + "number", + "number" + ], + "db_id": "device", + "foreign_keys": [ + [ + 13, + 1 + ], + [ + 12, + 7 + ] + ], + "primary_keys": [ + 1, + 7, + 12 + ], + "table_names": [ + "设备", + "商店", + "库存" + ], + "table_names_original": [ + "device", + "shop", + "stock" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "文档类型编码" + ], + [ + 0, + "文件描述" + ], + [ + 1, + "文件ID" + ], + [ + 1, + "文件类型编码" + ], + [ + 1, + "补助ID" + ], + [ + 1, + "发送日期" + ], + [ + 1, + "回复日期" + ], + [ + 1, + "其他信息" + ], + [ + 2, + "补助金ID" + ], + [ + 2, + "组织ID" + ], + [ + 2, + "金额" + ], + [ + 2, + "开始日期" + ], + [ + 2, + "结束日期" + ], + [ + 2, + "其他信息" + ], + [ + 3, + "组织类型" + ], + [ + 3, + "类型描述" + ], + [ + 4, + "组织ID" + ], + [ + 4, + "组织类型" + ], + [ + 4, + "详细信息" + ], + [ + 5, + "项目ID" + ], + [ + 5, + "结果编码" + ], + [ + 5, + "结果详细信息" + ], + [ + 6, + "员工ID" + ], + [ + 6, + "项目ID" + ], + [ + 6, + "职位代码" + ], + [ + 6, + "开始日期" + ], + [ + 6, + "结束日期" + ], + [ + 6, + "其他详细信息" + ], + [ + 7, + "项目ID" + ], + [ + 7, + "组织ID" + ], + [ + 7, + "项目详细信息" + ], + [ + 8, + "结果代码" + ], + [ + 8, + "结果描述" + ], + [ + 9, + "人员ID" + ], + [ + 9, + "组织ID" + ], + [ + 9, + "人员详细信息" + ], + [ + 10, + "职位代码" + ], + [ + 10, + "职位描述" + ], + [ + 11, + "任务ID" + ], + [ + 11, + "项目ID" + ], + [ + 11, + "任务详细信息" + ], + [ + 11, + "同意目标" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "document_type_code" + ], + [ + 0, + "document_description" + ], + [ + 1, + "document_id" + ], + [ + 1, + "document_type_code" + ], + [ + 1, + "grant_id" + ], + [ + 1, + "sent_date" + ], + [ + 1, + "response_received_date" + ], + [ + 1, + "other_details" + ], + [ + 2, + "grant_id" + ], + [ + 2, + "organisation_id" + ], + [ + 2, + "grant_amount" + ], + [ + 2, + "grant_start_date" + ], + [ + 2, + "grant_end_date" + ], + [ + 2, + "other_details" + ], + [ + 3, + "organisation_type" + ], + [ + 3, + "organisation_type_description" + ], + [ + 4, + "organisation_id" + ], + [ + 4, + "organisation_type" + ], + [ + 4, + "organisation_details" + ], + [ + 5, + "project_id" + ], + [ + 5, + "outcome_code" + ], + [ + 5, + "outcome_details" + ], + [ + 6, + "staff_id" + ], + [ + 6, + "project_id" + ], + [ + 6, + "role_code" + ], + [ + 6, + "date_from" + ], + [ + 6, + "date_to" + ], + [ + 6, + "other_details" + ], + [ + 7, + "project_id" + ], + [ + 7, + "organisation_id" + ], + [ + 7, + "project_details" + ], + [ + 8, + "outcome_code" + ], + [ + 8, + "outcome_description" + ], + [ + 9, + "staff_id" + ], + [ + 9, + "employer_organisation_id" + ], + [ + 9, + "staff_details" + ], + [ + 10, + "role_code" + ], + [ + 10, + "role_description" + ], + [ + 11, + "task_id" + ], + [ + 11, + "project_id" + ], + [ + 11, + "task_details" + ], + [ + 11, + "eg Agree Objectives" + ] + ], + "column_types": [ + "text", + "text", + "text", + "number", + "text", + "number", + "time", + "time", + "text", + "number", + "number", + "number", + "time", + "time", + "text", + "text", + "text", + "number", + "text", + "text", + "number", + "text", + "text", + "number", + "number", + "text", + "time", + "time", + "text", + "number", + "number", + "text", + "text", + "text", + "number", + "number", + "text", + "text", + "text", + "number", + "number", + "text", + "text" + ], + "db_id": "tracking_grants_for_research", + "foreign_keys": [ + [ + 5, + 9 + ], + [ + 4, + 1 + ], + [ + 10, + 17 + ], + [ + 18, + 15 + ], + [ + 21, + 32 + ], + [ + 20, + 29 + ], + [ + 25, + 37 + ], + [ + 24, + 29 + ], + [ + 30, + 17 + ], + [ + 35, + 17 + ], + [ + 40, + 29 + ] + ], + "primary_keys": [ + 1, + 3, + 9, + 15, + 17, + 23, + 29, + 32, + 34, + 37, + 39 + ], + "table_names": [ + "文件类型", + "文件", + "补助金", + "组织类型", + "组织", + "项目成果", + "项目员工", + "结果", + "研究结果", + "研究人员", + "人员职位安排", + "任务" + ], + "table_names_original": [ + "Document_Types", + "Documents", + "Grants", + "Organisation_Types", + "Organisations", + "Project_Outcomes", + "Project_Staff", + "Projects", + "Research_Outcomes", + "Research_Staff", + "Staff_Roles", + "Tasks" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "员工ID" + ], + [ + 0, + "名字" + ], + [ + 0, + "年龄" + ], + [ + 0, + "城市" + ], + [ + 1, + "商店ID" + ], + [ + 1, + "名称" + ], + [ + 1, + "位置" + ], + [ + 1, + "地区" + ], + [ + 1, + "商品数量" + ], + [ + 1, + "经理姓名" + ], + [ + 2, + "商店ID" + ], + [ + 2, + "员工ID" + ], + [ + 2, + "开始年份" + ], + [ + 2, + "是否全职" + ], + [ + 3, + "员工ID" + ], + [ + 3, + "颁奖年份" + ], + [ + 3, + "奖金" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "Employee_ID" + ], + [ + 0, + "Name" + ], + [ + 0, + "Age" + ], + [ + 0, + "City" + ], + [ + 1, + "Shop_ID" + ], + [ + 1, + "Name" + ], + [ + 1, + "Location" + ], + [ + 1, + "District" + ], + [ + 1, + "Number_products" + ], + [ + 1, + "Manager_name" + ], + [ + 2, + "Shop_ID" + ], + [ + 2, + "Employee_ID" + ], + [ + 2, + "Start_from" + ], + [ + 2, + "Is_full_time" + ], + [ + 3, + "Employee_ID" + ], + [ + 3, + "Year_awarded" + ], + [ + 3, + "Bonus" + ] + ], + "column_types": [ + "text", + "number", + "text", + "number", + "text", + "number", + "text", + "text", + "text", + "number", + "text", + "number", + "number", + "text", + "others", + "text", + "text", + "number" + ], + "db_id": "employee_hire_evaluation", + "foreign_keys": [ + [ + 12, + 1 + ], + [ + 11, + 5 + ], + [ + 15, + 1 + ] + ], + "primary_keys": [ + 1, + 5, + 12, + 15 + ], + "table_names": [ + "员工", + "商店", + "雇佣", + "评审" + ], + "table_names_original": [ + "employee", + "shop", + "hiring", + "evaluation" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "电影ID" + ], + [ + 0, + "名称" + ], + [ + 0, + "年份" + ], + [ + 0, + "导演" + ], + [ + 1, + "评论者ID" + ], + [ + 1, + "姓名" + ], + [ + 2, + "评论者ID" + ], + [ + 2, + "电影ID" + ], + [ + 2, + "星级" + ], + [ + 2, + "评级日期" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "mID" + ], + [ + 0, + "title" + ], + [ + 0, + "year" + ], + [ + 0, + "director" + ], + [ + 1, + "rID" + ], + [ + 1, + "name" + ], + [ + 2, + "rID" + ], + [ + 2, + "mID" + ], + [ + 2, + "stars" + ], + [ + 2, + "ratingDate" + ] + ], + "column_types": [ + "text", + "number", + "text", + "number", + "text", + "number", + "text", + "number", + "number", + "number", + "time" + ], + "db_id": "movie_1", + "foreign_keys": [ + [ + 7, + 5 + ], + [ + 8, + 1 + ] + ], + "primary_keys": [ + 1, + 5 + ], + "table_names": [ + "电影", + "评论者", + "评级" + ], + "table_names_original": [ + "Movie", + "Reviewer", + "Rating" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "学生ID" + ], + [ + 0, + "姓名" + ], + [ + 0, + "年级" + ], + [ + 1, + "学生ID" + ], + [ + 1, + "朋友ID" + ], + [ + 2, + "学生ID" + ], + [ + 2, + "喜欢的人ID" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "ID" + ], + [ + 0, + "name" + ], + [ + 0, + "grade" + ], + [ + 1, + "student_id" + ], + [ + 1, + "friend_id" + ], + [ + 2, + "student_id" + ], + [ + 2, + "liked_id" + ] + ], + "column_types": [ + "text", + "number", + "text", + "number", + "number", + "number", + "number", + "number" + ], + "db_id": "network_1", + "foreign_keys": [ + [ + 5, + 1 + ], + [ + 4, + 1 + ], + [ + 6, + 1 + ], + [ + 7, + 1 + ] + ], + "primary_keys": [ + 1, + 4, + 6 + ], + "table_names": [ + "高中学生", + "朋友", + "喜欢" + ], + "table_names_original": [ + "Highschooler", + "Friend", + "Likes" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "玩家ID" + ], + [ + 0, + "人ID" + ], + [ + 0, + "决赛圈" + ], + [ + 0, + "最好成绩" + ], + [ + 0, + "财富等级" + ], + [ + 0, + "收入" + ], + [ + 1, + "人ID" + ], + [ + 1, + "国籍" + ], + [ + 1, + "姓名" + ], + [ + 1, + "出生日期" + ], + [ + 1, + "身高" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "Poker_Player_ID" + ], + [ + 0, + "People_ID" + ], + [ + 0, + "Final_Table_Made" + ], + [ + 0, + "Best_Finish" + ], + [ + 0, + "Money_Rank" + ], + [ + 0, + "Earnings" + ], + [ + 1, + "People_ID" + ], + [ + 1, + "Nationality" + ], + [ + 1, + "Name" + ], + [ + 1, + "Birth_Date" + ], + [ + 1, + "Height" + ] + ], + "column_types": [ + "text", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "text", + "text", + "text", + "number" + ], + "db_id": "poker_player", + "foreign_keys": [ + [ + 2, + 7 + ] + ], + "primary_keys": [ + 1, + 7 + ], + "table_names": [ + "扑克玩家", + "人" + ], + "table_names_original": [ + "poker_player", + "people" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "节目ID" + ], + [ + 0, + "名称" + ], + [ + 0, + "播放源" + ], + [ + 0, + "开始播放日期" + ], + [ + 0, + "主办方" + ], + [ + 1, + "频道ID" + ], + [ + 1, + "名称" + ], + [ + 1, + "主办方" + ], + [ + 1, + "收视率" + ], + [ + 1, + "评级" + ], + [ + 2, + "频道ID" + ], + [ + 2, + "节目ID" + ], + [ + 2, + "播出时间" + ], + [ + 3, + "频道ID" + ], + [ + 3, + "节目ID" + ], + [ + 3, + "日期" + ], + [ + 3, + "收视率" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "Program_ID" + ], + [ + 0, + "Name" + ], + [ + 0, + "Origin" + ], + [ + 0, + "Launch" + ], + [ + 0, + "Owner" + ], + [ + 1, + "Channel_ID" + ], + [ + 1, + "Name" + ], + [ + 1, + "Owner" + ], + [ + 1, + "Share_in_percent" + ], + [ + 1, + "Rating_in_percent" + ], + [ + 2, + "Channel_ID" + ], + [ + 2, + "Program_ID" + ], + [ + 2, + "Time_of_day" + ], + [ + 3, + "Channel_ID" + ], + [ + 3, + "Program_ID" + ], + [ + 3, + "Date" + ], + [ + 3, + "Share_in_percent" + ] + ], + "column_types": [ + "text", + "number", + "text", + "text", + "number", + "text", + "number", + "text", + "text", + "number", + "number", + "number", + "number", + "text", + "number", + "number", + "text", + "number" + ], + "db_id": "program_share", + "foreign_keys": [ + [ + 12, + 1 + ], + [ + 11, + 6 + ], + [ + 15, + 1 + ], + [ + 14, + 6 + ] + ], + "primary_keys": [ + 1, + 6, + 11, + 14 + ], + "table_names": [ + "节目", + "频���", + "广播节目", + "广播收视" + ], + "table_names_original": [ + "program", + "channel", + "broadcast", + "broadcast_share" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "飞行员ID" + ], + [ + 0, + "姓名" + ], + [ + 0, + "年龄" + ], + [ + 1, + "飞机ID" + ], + [ + 1, + "飞机名称" + ], + [ + 1, + "描述" + ], + [ + 1, + "最高飞行距离" + ], + [ + 1, + "总面积" + ], + [ + 1, + "最大承受力" + ], + [ + 2, + "圈" + ], + [ + 2, + "位置" + ], + [ + 2, + "国家" + ], + [ + 2, + "日期" + ], + [ + 2, + "最高速度检查员" + ], + [ + 2, + "获胜飞行员" + ], + [ + 2, + "获胜飞机" + ], + [ + 3, + "机场ID" + ], + [ + 3, + "机场名字" + ], + [ + 3, + "乘客总数" + ], + [ + 3, + "变化百分比(2007年)" + ], + [ + 3, + "国际旅客" + ], + [ + 3, + "国内旅客" + ], + [ + 3, + "中转旅客" + ], + [ + 3, + "飞机起降数量" + ], + [ + 3, + "载货能力(吨)" + ], + [ + 4, + "机场飞机ID" + ], + [ + 4, + "机场ID" + ], + [ + 4, + "飞机ID" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "Pilot_Id" + ], + [ + 0, + "Name" + ], + [ + 0, + "Age" + ], + [ + 1, + "Aircraft_ID" + ], + [ + 1, + "Aircraft" + ], + [ + 1, + "Description" + ], + [ + 1, + "Max_Gross_Weight" + ], + [ + 1, + "Total_disk_area" + ], + [ + 1, + "Max_disk_Loading" + ], + [ + 2, + "Round" + ], + [ + 2, + "Location" + ], + [ + 2, + "Country" + ], + [ + 2, + "Date" + ], + [ + 2, + "Fastest_Qualifying" + ], + [ + 2, + "Winning_Pilot" + ], + [ + 2, + "Winning_Aircraft" + ], + [ + 3, + "Airport_ID" + ], + [ + 3, + "Airport_Name" + ], + [ + 3, + "Total_Passengers" + ], + [ + 3, + "%_Change_2007" + ], + [ + 3, + "International_Passengers" + ], + [ + 3, + "Domestic_Passengers" + ], + [ + 3, + "Transit_Passengers" + ], + [ + 3, + "Aircraft_Movements" + ], + [ + 3, + "Freight_Metric_Tonnes" + ], + [ + 4, + "ID" + ], + [ + 4, + "Airport_ID" + ], + [ + 4, + "Aircraft_ID" + ] + ], + "column_types": [ + "text", + "number", + "text", + "number", + "number", + "text", + "text", + "text", + "text", + "text", + "number", + "text", + "text", + "text", + "text", + "text", + "text", + "number", + "text", + "number", + "text", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number" + ], + "db_id": "aircraft", + "foreign_keys": [ + [ + 15, + 1 + ], + [ + 16, + 4 + ], + [ + 28, + 4 + ], + [ + 27, + 17 + ] + ], + "primary_keys": [ + 1, + 4, + 10, + 17, + 27 + ], + "table_names": [ + "飞行员", + "飞机", + "比赛", + "机场", + "机场飞机" + ], + "table_names_original": [ + "pilot", + "aircraft", + "match", + "airport", + "airport_aircraft" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "学生ID" + ], + [ + 0, + "姓" + ], + [ + 0, + "名" + ], + [ + 0, + "年龄" + ], + [ + 0, + "性别" + ], + [ + 0, + "专业" + ], + [ + 0, + "导师" + ], + [ + 0, + "城市代码" + ], + [ + 1, + "餐厅ID" + ], + [ + 1, + "名称" + ], + [ + 1, + "地址" + ], + [ + 1, + "评级" + ], + [ + 2, + "餐厅ID" + ], + [ + 2, + "餐厅类型ID" + ], + [ + 3, + "餐厅ID" + ], + [ + 3, + "名称" + ], + [ + 3, + "描述" + ], + [ + 4, + "学生ID" + ], + [ + 4, + "餐厅ID" + ], + [ + 4, + "时间" + ], + [ + 4, + "停留时间" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "StuID" + ], + [ + 0, + "LName" + ], + [ + 0, + "Fname" + ], + [ + 0, + "Age" + ], + [ + 0, + "Sex" + ], + [ + 0, + "Major" + ], + [ + 0, + "Advisor" + ], + [ + 0, + "city_code" + ], + [ + 1, + "ResID" + ], + [ + 1, + "ResName" + ], + [ + 1, + "Address" + ], + [ + 1, + "Rating" + ], + [ + 2, + "ResID" + ], + [ + 2, + "ResTypeID" + ], + [ + 3, + "ResTypeID" + ], + [ + 3, + "ResTypeName" + ], + [ + 3, + "ResTypeDescription" + ], + [ + 4, + "StuID" + ], + [ + 4, + "ResID" + ], + [ + 4, + "Time" + ], + [ + 4, + "Spent" + ] + ], + "column_types": [ + "text", + "number", + "text", + "text", + "number", + "text", + "number", + "number", + "text", + "number", + "text", + "text", + "number", + "number", + "number", + "number", + "text", + "text", + "number", + "number", + "time", + "number" + ], + "db_id": "restaurant_1", + "foreign_keys": [ + [ + 14, + 15 + ], + [ + 13, + 9 + ], + [ + 19, + 9 + ], + [ + 18, + 1 + ] + ], + "primary_keys": [ + 1, + 9, + 15 + ], + "table_names": [ + "学生", + "餐厅", + "餐厅类型", + "餐厅类型描述", + "餐厅接待记录" + ], + "table_names_original": [ + "Student", + "Restaurant", + "Type_Of_Restaurant", + "Restaurant_Type", + "Visits_Restaurant" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "客户ID" + ], + [ + 0, + "名字" + ], + [ + 0, + "首字母" + ], + [ + 0, + "姓氏" + ], + [ + 0, + "性别" + ], + [ + 0, + "电子邮箱" + ], + [ + 0, + "用户名" + ], + [ + 0, + "密码" + ], + [ + 0, + "电话号码" + ], + [ + 0, + "城市" + ], + [ + 0, + "省或州" + ], + [ + 0, + "国家" + ], + [ + 1, + "订单ID" + ], + [ + 1, + "顾客ID" + ], + [ + 1, + "订单日期" + ], + [ + 1, + "订单详细信息" + ], + [ + 2, + "发票编号" + ], + [ + 2, + "订单ID" + ], + [ + 2, + "发票日期" + ], + [ + 3, + "帐户ID" + ], + [ + 3, + "客户ID" + ], + [ + 3, + "开户日期" + ], + [ + 3, + "帐户名称" + ], + [ + 3, + "其他帐户详细信息" + ], + [ + 4, + "类型代码" + ], + [ + 4, + "类型描述" + ], + [ + 4, + "增值税排名" + ], + [ + 5, + "产品ID" + ], + [ + 5, + "母产品ID" + ], + [ + 5, + "产品类型代码" + ], + [ + 5, + "单价" + ], + [ + 5, + "产品名称" + ], + [ + 5, + "颜色" + ], + [ + 5, + "尺寸" + ], + [ + 6, + "交易编号" + ], + [ + 6, + "帐户ID" + ], + [ + 6, + "发票编号" + ], + [ + 6, + "交易类型" + ], + [ + 6, + "交易日期" + ], + [ + 6, + "交易金额" + ], + [ + 6, + "备注" + ], + [ + 6, + "其他交易信息" + ], + [ + 7, + "项目ID" + ], + [ + 7, + "订单ID" + ], + [ + 7, + "产品ID" + ], + [ + 7, + "产品数量" + ], + [ + 7, + "其他订单项目信息" + ], + [ + 8, + "订单项目ID" + ], + [ + 8, + "发票编号" + ], + [ + 8, + "产品ID" + ], + [ + 8, + "产品名称" + ], + [ + 8, + "产品数量" + ], + [ + 8, + "产品价格" + ], + [ + 8, + "衍生成本" + ], + [ + 8, + "衍生增值税" + ], + [ + 8, + "衍生总花费" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "customer_id" + ], + [ + 0, + "customer_first_name" + ], + [ + 0, + "customer_middle_initial" + ], + [ + 0, + "customer_last_name" + ], + [ + 0, + "gender" + ], + [ + 0, + "email_address" + ], + [ + 0, + "login_name" + ], + [ + 0, + "login_password" + ], + [ + 0, + "phone_number" + ], + [ + 0, + "town_city" + ], + [ + 0, + "state_county_province" + ], + [ + 0, + "country" + ], + [ + 1, + "order_id" + ], + [ + 1, + "customer_id" + ], + [ + 1, + "date_order_placed" + ], + [ + 1, + "order_details" + ], + [ + 2, + "invoice_number" + ], + [ + 2, + "order_id" + ], + [ + 2, + "invoice_date" + ], + [ + 3, + "account_id" + ], + [ + 3, + "customer_id" + ], + [ + 3, + "date_account_opened" + ], + [ + 3, + "account_name" + ], + [ + 3, + "other_account_details" + ], + [ + 4, + "production_type_code" + ], + [ + 4, + "product_type_description" + ], + [ + 4, + "vat_rating" + ], + [ + 5, + "product_id" + ], + [ + 5, + "parent_product_id" + ], + [ + 5, + "production_type_code" + ], + [ + 5, + "unit_price" + ], + [ + 5, + "product_name" + ], + [ + 5, + "product_color" + ], + [ + 5, + "product_size" + ], + [ + 6, + "transaction_id" + ], + [ + 6, + "account_id" + ], + [ + 6, + "invoice_number" + ], + [ + 6, + "transaction_type" + ], + [ + 6, + "transaction_date" + ], + [ + 6, + "transaction_amount" + ], + [ + 6, + "transaction_comment" + ], + [ + 6, + "other_transaction_details" + ], + [ + 7, + "order_item_id" + ], + [ + 7, + "order_id" + ], + [ + 7, + "product_id" + ], + [ + 7, + "product_quantity" + ], + [ + 7, + "other_order_item_details" + ], + [ + 8, + "order_item_id" + ], + [ + 8, + "invoice_number" + ], + [ + 8, + "product_id" + ], + [ + 8, + "product_title" + ], + [ + 8, + "product_quantity" + ], + [ + 8, + "product_price" + ], + [ + 8, + "derived_product_cost" + ], + [ + 8, + "derived_vat_payable" + ], + [ + 8, + "derived_total_cost" + ] + ], + "column_types": [ + "text", + "number", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "number", + "number", + "time", + "text", + "number", + "number", + "time", + "number", + "number", + "time", + "text", + "text", + "text", + "text", + "number", + "number", + "number", + "text", + "number", + "text", + "text", + "text", + "number", + "number", + "number", + "text", + "time", + "number", + "text", + "text", + "number", + "number", + "number", + "text", + "text", + "number", + "number", + "number", + "text", + "text", + "number", + "number", + "number", + "number" + ], + "db_id": "customers_and_invoices", + "foreign_keys": [ + [ + 14, + 1 + ], + [ + 18, + 13 + ], + [ + 21, + 1 + ], + [ + 30, + 25 + ], + [ + 36, + 20 + ], + [ + 37, + 17 + ], + [ + 44, + 13 + ], + [ + 45, + 28 + ], + [ + 50, + 28 + ], + [ + 49, + 17 + ], + [ + 48, + 43 + ] + ], + "primary_keys": [ + 1, + 13, + 17, + 20, + 25, + 28, + 43 + ], + "table_names": [ + "客户", + "订单", + "发票", + "账户", + "产品类别", + "产品", + "金融交易", + "订单项目", + "发票清单" + ], + "table_names_original": [ + "Customers", + "Orders", + "Invoices", + "Accounts", + "Product_Categories", + "Products", + "Financial_Transactions", + "Order_Items", + "Invoice_Line_Items" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "客户ID" + ], + [ + 0, + "详细信息" + ], + [ + 1, + "员工ID" + ], + [ + 1, + "详细信息" + ], + [ + 2, + "保险ID" + ], + [ + 2, + "客户ID" + ], + [ + 2, + "保险类型" + ], + [ + 2, + "开始日期" + ], + [ + 2, + "结束日期" + ], + [ + 3, + "索赔标题ID" + ], + [ + 3, + "索赔状态" + ], + [ + 3, + "索赔类型" + ], + [ + 3, + "保险ID" + ], + [ + 3, + "索赔发起日期" + ], + [ + 3, + "结算日期" + ], + [ + 3, + "索赔金额" + ], + [ + 3, + "平均值" + ], + [ + 4, + "索赔ID" + ], + [ + 4, + "文件类型" + ], + [ + 4, + "撰写员工ID" + ], + [ + 4, + "创建日期" + ], + [ + 5, + "索赔状态ID" + ], + [ + 5, + "下一索赔状态ID" + ], + [ + 5, + "索赔状态" + ], + [ + 5, + "索赔状态描述" + ], + [ + 6, + "索赔过程ID" + ], + [ + 6, + "索赔ID" + ], + [ + 6, + "索赔结果" + ], + [ + 6, + "索赔状态ID" + ], + [ + 6, + "员工ID" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "Customer_ID" + ], + [ + 0, + "Customer_Details" + ], + [ + 1, + "Staff_ID" + ], + [ + 1, + "Staff_Details" + ], + [ + 2, + "Policy_ID" + ], + [ + 2, + "Customer_ID" + ], + [ + 2, + "Policy_Type_Code" + ], + [ + 2, + "Start_Date" + ], + [ + 2, + "End_Date" + ], + [ + 3, + "Claim_Header_ID" + ], + [ + 3, + "Claim_Status_Code" + ], + [ + 3, + "Claim_Type_Code" + ], + [ + 3, + "Policy_ID" + ], + [ + 3, + "Date_of_Claim" + ], + [ + 3, + "Date_of_Settlement" + ], + [ + 3, + "Amount_Claimed" + ], + [ + 3, + "Amount_Piad" + ], + [ + 4, + "Claim_ID" + ], + [ + 4, + "Document_Type_Code" + ], + [ + 4, + "Created_by_Staff_ID" + ], + [ + 4, + "Created_Date" + ], + [ + 5, + "Claim_Stage_ID" + ], + [ + 5, + "Next_Claim_Stage_ID" + ], + [ + 5, + "Claim_Status_Name" + ], + [ + 5, + "Claim_Status_Description" + ], + [ + 6, + "Claim_Processing_ID" + ], + [ + 6, + "Claim_ID" + ], + [ + 6, + "Claim_Outcome_Code" + ], + [ + 6, + "Claim_Stage_ID" + ], + [ + 6, + "Staff_ID" + ] + ], + "column_types": [ + "text", + "number", + "text", + "number", + "text", + "number", + "number", + "text", + "time", + "time", + "number", + "text", + "text", + "number", + "time", + "time", + "number", + "number", + "number", + "text", + "number", + "number", + "number", + "number", + "text", + "text", + "number", + "number", + "text", + "number", + "number" + ], + "db_id": "insurance_and_eClaims", + "foreign_keys": [ + [ + 6, + 1 + ], + [ + 13, + 5 + ], + [ + 20, + 3 + ], + [ + 18, + 10 + ], + [ + 30, + 3 + ], + [ + 27, + 10 + ] + ], + "primary_keys": [ + 1, + 3, + 5, + 10, + 18, + 22, + 26 + ], + "table_names": [ + "客户", + "员工", + "保险", + "索赔标题", + "索赔文件", + "索赔状态", + "索赔过程" + ], + "table_names_original": [ + "Customers", + "Staff", + "Policies", + "Claim_Headers", + "Claims_Documents", + "Claims_Processing_Stages", + "Claims_Processing" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "班级代码" + ], + [ + 0, + "课程代码" + ], + [ + 0, + "课程分区" + ], + [ + 0, + "上课时间" + ], + [ + 0, + "教室" + ], + [ + 0, + "教授编号" + ], + [ + 1, + "课程代码" + ], + [ + 1, + "系代码" + ], + [ + 1, + "课程信息" + ], + [ + 1, + "学分" + ], + [ + 2, + "系代码" + ], + [ + 2, + "系名称" + ], + [ + 2, + "学校代码" + ], + [ + 2, + "员工编号" + ], + [ + 2, + "系地址" + ], + [ + 2, + "系拓展" + ], + [ + 3, + "员工号" + ], + [ + 3, + "姓氏" + ], + [ + 3, + "名字" + ], + [ + 3, + "初始状态" + ], + [ + 3, + "职务" + ], + [ + 3, + "就职日期" + ], + [ + 3, + "生日" + ], + [ + 4, + "班级代码" + ], + [ + 4, + "学号" + ], + [ + 4, + "入学成绩" + ], + [ + 5, + "员工号" + ], + [ + 5, + "系代码" + ], + [ + 5, + "办公室" + ], + [ + 5, + "拓展信息" + ], + [ + 5, + "最高学位" + ], + [ + 6, + "数量" + ], + [ + 6, + "姓氏" + ], + [ + 6, + "名字" + ], + [ + 6, + "初始状态" + ], + [ + 6, + "生日" + ], + [ + 6, + "工作时长" + ], + [ + 6, + "班级" + ], + [ + 6, + "GPA" + ], + [ + 6, + "是否转专业" + ], + [ + 6, + "系代码" + ], + [ + 6, + "电话号码" + ], + [ + 6, + "教授手机号码" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "CLASS_CODE" + ], + [ + 0, + "CRS_CODE" + ], + [ + 0, + "CLASS_SECTION" + ], + [ + 0, + "CLASS_TIME" + ], + [ + 0, + "CLASS_ROOM" + ], + [ + 0, + "PROF_NUM" + ], + [ + 1, + "CRS_CODE" + ], + [ + 1, + "DEPT_CODE" + ], + [ + 1, + "CRS_DESCRIPTION" + ], + [ + 1, + "CRS_CREDIT" + ], + [ + 2, + "DEPT_CODE" + ], + [ + 2, + "DEPT_NAME" + ], + [ + 2, + "SCHOOL_CODE" + ], + [ + 2, + "EMP_NUM" + ], + [ + 2, + "DEPT_ADDRESS" + ], + [ + 2, + "DEPT_EXTENSION" + ], + [ + 3, + "EMP_NUM" + ], + [ + 3, + "EMP_LNAME" + ], + [ + 3, + "EMP_FNAME" + ], + [ + 3, + "EMP_INITIAL" + ], + [ + 3, + "EMP_JOBCODE" + ], + [ + 3, + "EMP_HIREDATE" + ], + [ + 3, + "EMP_DOB" + ], + [ + 4, + "CLASS_CODE" + ], + [ + 4, + "STU_NUM" + ], + [ + 4, + "ENROLL_GRADE" + ], + [ + 5, + "EMP_NUM" + ], + [ + 5, + "DEPT_CODE" + ], + [ + 5, + "PROF_OFFICE" + ], + [ + 5, + "PROF_EXTENSION" + ], + [ + 5, + "PROF_HIGH_DEGREE" + ], + [ + 6, + "STU_NUM" + ], + [ + 6, + "STU_LNAME" + ], + [ + 6, + "STU_FNAME" + ], + [ + 6, + "STU_INIT" + ], + [ + 6, + "STU_DOB" + ], + [ + 6, + "STU_HRS" + ], + [ + 6, + "STU_CLASS" + ], + [ + 6, + "STU_GPA" + ], + [ + 6, + "STU_TRANSFER" + ], + [ + 6, + "DEPT_CODE" + ], + [ + 6, + "STU_PHONE" + ], + [ + 6, + "PROF_NUM" + ] + ], + "column_types": [ + "text", + "text", + "text", + "text", + "text", + "text", + "number", + "text", + "text", + "text", + "number", + "text", + "text", + "text", + "number", + "text", + "text", + "number", + "text", + "text", + "text", + "text", + "time", + "time", + "text", + "number", + "text", + "number", + "text", + "text", + "text", + "text", + "number", + "text", + "text", + "text", + "time", + "number", + "text", + "number", + "number", + "text", + "text", + "number" + ], + "db_id": "college_1", + "foreign_keys": [ + [ + 6, + 17 + ], + [ + 2, + 7 + ], + [ + 8, + 11 + ], + [ + 14, + 17 + ], + [ + 25, + 32 + ], + [ + 24, + 1 + ], + [ + 28, + 11 + ], + [ + 27, + 17 + ], + [ + 41, + 11 + ] + ], + "primary_keys": [ + 1, + 7, + 11, + 17, + 32 + ], + "table_names": [ + "班级", + "课程", + "系", + "员工", + "注册学生", + "教授", + "学生" + ], + "table_names_original": [ + "CLASS", + "COURSE", + "DEPARTMENT", + "EMPLOYEE", + "ENROLL", + "PROFESSOR", + "STUDENT" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "客户主ID" + ], + [ + 0, + "详细信息" + ], + [ + 1, + "客户主交叉参照ID" + ], + [ + 1, + "客户主ID" + ], + [ + 1, + "源系统代码" + ], + [ + 2, + "市政税ID" + ], + [ + 2, + "客户主交叉参照ID" + ], + [ + 3, + "商业税率ID" + ], + [ + 3, + "客户主交叉参照ID" + ], + [ + 4, + "税号" + ], + [ + 4, + "客户主交叉参照ID" + ], + [ + 5, + "税号" + ], + [ + 5, + "客户主交叉参照ID" + ], + [ + 6, + "税号" + ], + [ + 6, + "客户主交叉参照ID" + ], + [ + 7, + "编号" + ], + [ + 7, + "客户主交叉参照ID" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "master_customer_id" + ], + [ + 0, + "cmi_details" + ], + [ + 1, + "cmi_cross_ref_id" + ], + [ + 1, + "master_customer_id" + ], + [ + 1, + "source_system_code" + ], + [ + 2, + "council_tax_id" + ], + [ + 2, + "cmi_cross_ref_id" + ], + [ + 3, + "business_rates_id" + ], + [ + 3, + "cmi_cross_ref_id" + ], + [ + 4, + "council_tax_id" + ], + [ + 4, + "cmi_cross_ref_id" + ], + [ + 5, + "council_tax_id" + ], + [ + 5, + "cmi_cross_ref_id" + ], + [ + 6, + "council_tax_id" + ], + [ + 6, + "cmi_cross_ref_id" + ], + [ + 7, + "electoral_register_id" + ], + [ + 7, + "cmi_cross_ref_id" + ] + ], + "column_types": [ + "text", + "number", + "text", + "number", + "number", + "text", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number" + ], + "db_id": "local_govt_mdm", + "foreign_keys": [ + [ + 4, + 1 + ], + [ + 7, + 3 + ], + [ + 9, + 3 + ], + [ + 11, + 3 + ], + [ + 13, + 3 + ], + [ + 15, + 3 + ], + [ + 17, + 3 + ] + ], + "primary_keys": [ + 1, + 3, + 6, + 8, + 10, + 12, + 14, + 16 + ], + "table_names": [ + "客户主索引", + "客户主索引交叉引用", + "市政税", + "商业税率", + "福利与超额支付", + "停车税", + "租赁区域", + "选民登记册" + ], + "table_names_original": [ + "Customer_Master_Index", + "CMI_Cross_References", + "Council_Tax", + "Business_Rates", + "Benefits_Overpayments", + "Parking_Fines", + "Rent_Arrears", + "Electoral_Register" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "出版ID" + ], + [ + 0, + "书籍ID" + ], + [ + 0, + "出版商" + ], + [ + 0, + "出版日期" + ], + [ + 0, + "价格" + ], + [ + 1, + "书籍ID" + ], + [ + 1, + "名称" + ], + [ + 1, + "发行数量" + ], + [ + 1, + "作者" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "Publication_ID" + ], + [ + 0, + "Book_ID" + ], + [ + 0, + "Publisher" + ], + [ + 0, + "Publication_Date" + ], + [ + 0, + "Price" + ], + [ + 1, + "Book_ID" + ], + [ + 1, + "Title" + ], + [ + 1, + "Issues" + ], + [ + 1, + "Writer" + ] + ], + "column_types": [ + "text", + "number", + "number", + "text", + "text", + "number", + "number", + "text", + "number", + "text" + ], + "db_id": "book_2", + "foreign_keys": [ + [ + 2, + 6 + ] + ], + "primary_keys": [ + 1, + 6 + ], + "table_names": [ + "出版物", + "书籍" + ], + "table_names_original": [ + "publication", + "book" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "地区ID" + ], + [ + 0, + "地区名称" + ], + [ + 1, + "国家ID" + ], + [ + 1, + "国家名称" + ], + [ + 1, + "地区ID" + ], + [ + 2, + "部门ID" + ], + [ + 2, + "部门名称" + ], + [ + 2, + "经理ID" + ], + [ + 2, + "位置ID" + ], + [ + 3, + "工作编号" + ], + [ + 3, + "职务名称" + ], + [ + 3, + "最低薪水" + ], + [ + 3, + "最高薪水" + ], + [ + 4, + "员工ID" + ], + [ + 4, + "名字" + ], + [ + 4, + "姓氏" + ], + [ + 4, + "电子邮件" + ], + [ + 4, + "电话号码" + ], + [ + 4, + "雇佣日期" + ], + [ + 4, + "工作ID" + ], + [ + 4, + "薪水" + ], + [ + 4, + "佣金" + ], + [ + 4, + "经理ID" + ], + [ + 4, + "部门ID" + ], + [ + 5, + "员工ID" + ], + [ + 5, + "开始时期" + ], + [ + 5, + "结束日期" + ], + [ + 5, + "工作ID" + ], + [ + 5, + "部门ID" + ], + [ + 6, + "位置ID" + ], + [ + 6, + "街道地址" + ], + [ + 6, + "邮政编码" + ], + [ + 6, + "城市" + ], + [ + 6, + "省份" + ], + [ + 6, + "国家ID" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "REGION_ID" + ], + [ + 0, + "REGION_NAME" + ], + [ + 1, + "COUNTRY_ID" + ], + [ + 1, + "COUNTRY_NAME" + ], + [ + 1, + "REGION_ID" + ], + [ + 2, + "DEPARTMENT_ID" + ], + [ + 2, + "DEPARTMENT_NAME" + ], + [ + 2, + "MANAGER_ID" + ], + [ + 2, + "LOCATION_ID" + ], + [ + 3, + "JOB_ID" + ], + [ + 3, + "JOB_TITLE" + ], + [ + 3, + "MIN_SALARY" + ], + [ + 3, + "MAX_SALARY" + ], + [ + 4, + "EMPLOYEE_ID" + ], + [ + 4, + "FIRST_NAME" + ], + [ + 4, + "LAST_NAME" + ], + [ + 4, + "EMAIL" + ], + [ + 4, + "PHONE_NUMBER" + ], + [ + 4, + "HIRE_DATE" + ], + [ + 4, + "JOB_ID" + ], + [ + 4, + "SALARY" + ], + [ + 4, + "COMMISSION_PCT" + ], + [ + 4, + "MANAGER_ID" + ], + [ + 4, + "DEPARTMENT_ID" + ], + [ + 5, + "EMPLOYEE_ID" + ], + [ + 5, + "START_DATE" + ], + [ + 5, + "END_DATE" + ], + [ + 5, + "JOB_ID" + ], + [ + 5, + "DEPARTMENT_ID" + ], + [ + 6, + "LOCATION_ID" + ], + [ + 6, + "STREET_ADDRESS" + ], + [ + 6, + "POSTAL_CODE" + ], + [ + 6, + "CITY" + ], + [ + 6, + "STATE_PROVINCE" + ], + [ + 6, + "COUNTRY_ID" + ] + ], + "column_types": [ + "text", + "number", + "text", + "text", + "text", + "number", + "number", + "text", + "number", + "number", + "text", + "text", + "number", + "number", + "number", + "text", + "text", + "text", + "text", + "time", + "text", + "number", + "number", + "number", + "number", + "number", + "time", + "time", + "text", + "number", + "number", + "text", + "text", + "text", + "text", + "text" + ], + "db_id": "hr_1", + "foreign_keys": [ + [ + 5, + 1 + ], + [ + 20, + 10 + ], + [ + 24, + 6 + ], + [ + 28, + 10 + ], + [ + 29, + 6 + ], + [ + 25, + 14 + ], + [ + 35, + 3 + ] + ], + "primary_keys": [ + 1, + 3, + 6, + 10, + 14, + 25, + 30 + ], + "table_names": [ + "地区", + "国家", + "部门", + "工作", + "员工", + "工作历史", + "位置" + ], + "table_names_original": [ + "regions", + "countries", + "departments", + "jobs", + "employees", + "job_history", + "locations" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "序号" + ], + [ + 0, + "世界杯球员ID" + ], + [ + 0, + "球员ID" + ], + [ + 0, + "日期" + ], + [ + 0, + "总评分" + ], + [ + 0, + "潜力" + ], + [ + 0, + "惯用脚" + ], + [ + 0, + "进攻效率" + ], + [ + 0, + "防守效率" + ], + [ + 0, + "传球" + ], + [ + 0, + "终结" + ], + [ + 0, + "头球准确率" + ], + [ + 0, + "短传准确率" + ], + [ + 0, + "凌空抽射能力" + ], + [ + 0, + "运球准确率" + ], + [ + 0, + "曲线球准确率" + ], + [ + 0, + "任意球准确率" + ], + [ + 0, + "长传准确率" + ], + [ + 0, + "控球率" + ], + [ + 0, + "加速度" + ], + [ + 0, + "冲刺速度" + ], + [ + 0, + "敏捷性" + ], + [ + 0, + "反应速度" + ], + [ + 0, + "平衡性" + ], + [ + 0, + "射门力量" + ], + [ + 0, + "跳起力量" + ], + [ + 0, + "耐力" + ], + [ + 0, + "力量" + ], + [ + 0, + "远射准确度" + ], + [ + 0, + "进攻能力" + ], + [ + 0, + "拦截能力" + ], + [ + 0, + "位置感" + ], + [ + 0, + "视觉能力" + ], + [ + 0, + "点球能力" + ], + [ + 0, + "接球能力" + ], + [ + 0, + "铲断能力" + ], + [ + 0, + "铲球能力" + ], + [ + 0, + "门将扑救能力" + ], + [ + 0, + "门将扑球脱手几率" + ], + [ + 0, + "门将远脚能力" + ], + [ + 0, + "门将位置感" + ], + [ + 0, + "门将反应能力" + ], + [ + 1, + "名称" + ], + [ + 1, + "序列" + ], + [ + 2, + "序号" + ], + [ + 2, + "球员ID" + ], + [ + 2, + "姓名" + ], + [ + 2, + "世界杯ID" + ], + [ + 2, + "生日" + ], + [ + 2, + "身高" + ], + [ + 2, + "体重" + ], + [ + 3, + "序号" + ], + [ + 3, + "国家ID" + ], + [ + 3, + "姓名" + ], + [ + 4, + "序号" + ], + [ + 4, + "名称" + ], + [ + 5, + "序号" + ], + [ + 5, + "球队ID" + ], + [ + 5, + "世界杯ID" + ], + [ + 5, + "完整名称" + ], + [ + 5, + "简写名称" + ], + [ + 6, + "序号" + ], + [ + 6, + "世界杯ID" + ], + [ + 6, + "球队ID" + ], + [ + 6, + "日期" + ], + [ + 6, + "速度能力" + ], + [ + 6, + "速度能力评级" + ], + [ + 6, + "运球能力" + ], + [ + 6, + "运球能力评级" + ], + [ + 6, + "传球能力" + ], + [ + 6, + "传球能力评级" + ], + [ + 6, + "位置感评级" + ], + [ + 6, + "有进球机会传球能力" + ], + [ + 6, + "有进球机会传球能力评级" + ], + [ + 6, + "有进球机会横穿能力" + ], + [ + 6, + "有进球机会横穿能力评级" + ], + [ + 6, + "有进球机会射门能力" + ], + [ + 6, + "有进球机会射门能力评级" + ], + [ + 6, + "有进球机会的卡位" + ], + [ + 6, + "防守压迫感" + ], + [ + 6, + "防守压迫感评级" + ], + [ + 6, + "防守活跃度" + ], + [ + 6, + "防守活跃度评级" + ], + [ + 6, + "防守战线宽度" + ], + [ + 6, + "防守战线宽度评级" + ], + [ + 6, + "防线评级" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "id" + ], + [ + 0, + "player_fifa_api_id" + ], + [ + 0, + "player_api_id" + ], + [ + 0, + "date" + ], + [ + 0, + "overall_rating" + ], + [ + 0, + "potential" + ], + [ + 0, + "preferred_foot" + ], + [ + 0, + "attacking_work_rate" + ], + [ + 0, + "defensive_work_rate" + ], + [ + 0, + "crossing" + ], + [ + 0, + "finishing" + ], + [ + 0, + "heading_accuracy" + ], + [ + 0, + "short_passing" + ], + [ + 0, + "volleys" + ], + [ + 0, + "dribbling" + ], + [ + 0, + "curve" + ], + [ + 0, + "free_kick_accuracy" + ], + [ + 0, + "long_passing" + ], + [ + 0, + "ball_control" + ], + [ + 0, + "acceleration" + ], + [ + 0, + "sprint_speed" + ], + [ + 0, + "agility" + ], + [ + 0, + "reactions" + ], + [ + 0, + "balance" + ], + [ + 0, + "shot_power" + ], + [ + 0, + "jumping" + ], + [ + 0, + "stamina" + ], + [ + 0, + "strength" + ], + [ + 0, + "long_shots" + ], + [ + 0, + "aggression" + ], + [ + 0, + "interceptions" + ], + [ + 0, + "positioning" + ], + [ + 0, + "vision" + ], + [ + 0, + "penalties" + ], + [ + 0, + "marking" + ], + [ + 0, + "standing_tackle" + ], + [ + 0, + "sliding_tackle" + ], + [ + 0, + "gk_diving" + ], + [ + 0, + "gk_handling" + ], + [ + 0, + "gk_kicking" + ], + [ + 0, + "gk_positioning" + ], + [ + 0, + "gk_reflexes" + ], + [ + 1, + "name" + ], + [ + 1, + "seq" + ], + [ + 2, + "id" + ], + [ + 2, + "player_api_id" + ], + [ + 2, + "player_name" + ], + [ + 2, + "player_fifa_api_id" + ], + [ + 2, + "birthday" + ], + [ + 2, + "height" + ], + [ + 2, + "weight" + ], + [ + 3, + "id" + ], + [ + 3, + "country_id" + ], + [ + 3, + "name" + ], + [ + 4, + "id" + ], + [ + 4, + "name" + ], + [ + 5, + "id" + ], + [ + 5, + "team_api_id" + ], + [ + 5, + "team_fifa_api_id" + ], + [ + 5, + "team_long_name" + ], + [ + 5, + "team_short_name" + ], + [ + 6, + "id" + ], + [ + 6, + "team_fifa_api_id" + ], + [ + 6, + "team_api_id" + ], + [ + 6, + "date" + ], + [ + 6, + "buildUpPlaySpeed" + ], + [ + 6, + "buildUpPlaySpeedClass" + ], + [ + 6, + "buildUpPlayDribbling" + ], + [ + 6, + "buildUpPlayDribblingClass" + ], + [ + 6, + "buildUpPlayPassing" + ], + [ + 6, + "buildUpPlayPassingClass" + ], + [ + 6, + "buildUpPlayPositioningClass" + ], + [ + 6, + "chanceCreationPassing" + ], + [ + 6, + "chanceCreationPassingClass" + ], + [ + 6, + "chanceCreationCrossing" + ], + [ + 6, + "chanceCreationCrossingClass" + ], + [ + 6, + "chanceCreationShooting" + ], + [ + 6, + "chanceCreationShootingClass" + ], + [ + 6, + "chanceCreationPositioningClass" + ], + [ + 6, + "defencePressure" + ], + [ + 6, + "defencePressureClass" + ], + [ + 6, + "defenceAggression" + ], + [ + 6, + "defenceAggressionClass" + ], + [ + 6, + "defenceTeamWidth" + ], + [ + 6, + "defenceTeamWidthClass" + ], + [ + 6, + "defenceDefenderLineClass" + ] + ], + "column_types": [ + "text", + "number", + "number", + "number", + "text", + "number", + "number", + "text", + "text", + "text", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "text", + "text", + "number", + "number", + "text", + "number", + "text", + "number", + "number", + "number", + "number", + "text", + "number", + "text", + "number", + "number", + "number", + "text", + "text", + "number", + "number", + "number", + "text", + "number", + "text", + "number", + "text", + "number", + "text", + "text", + "number", + "text", + "number", + "text", + "number", + "text", + "text", + "number", + "text", + "number", + "text", + "number", + "text", + "text" + ], + "db_id": "soccer_1", + "foreign_keys": [ + [ + 3, + 46 + ], + [ + 2, + 48 + ], + [ + 53, + 55 + ], + [ + 64, + 58 + ], + [ + 63, + 59 + ] + ], + "primary_keys": [ + 1, + 45, + 52, + 55, + 57, + 62 + ], + "table_names": [ + "球员能力", + "数据量序列", + "球员", + "联赛", + "国家", + "球队", + "球队属性" + ], + "table_names_original": [ + "Player_Attributes", + "sqlite_sequence", + "Player", + "League", + "Country", + "Team", + "Team_Attributes" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "演员ID" + ], + [ + 0, + "名字" + ], + [ + 0, + "姓氏" + ], + [ + 0, + "最近更新时间" + ], + [ + 1, + "地址ID" + ], + [ + 1, + "地址" + ], + [ + 1, + "地址2" + ], + [ + 1, + "地区" + ], + [ + 1, + "城市ID" + ], + [ + 1, + "邮政编码" + ], + [ + 1, + "电话号码" + ], + [ + 1, + "最近更新时间" + ], + [ + 2, + "类别ID" + ], + [ + 2, + "类型名称" + ], + [ + 2, + "最近更新时间" + ], + [ + 3, + "城市ID" + ], + [ + 3, + "城市" + ], + [ + 3, + "国家ID" + ], + [ + 3, + "最近更新时间" + ], + [ + 4, + "国家ID" + ], + [ + 4, + "国家" + ], + [ + 4, + "最近更新时间" + ], + [ + 5, + "顾客ID" + ], + [ + 5, + "商店ID" + ], + [ + 5, + "名字" + ], + [ + 5, + "姓氏" + ], + [ + 5, + "电子邮件" + ], + [ + 5, + "地址ID" + ], + [ + 5, + "是否活跃" + ], + [ + 5, + "创建日期" + ], + [ + 5, + "最��更新时间" + ], + [ + 6, + "电影ID" + ], + [ + 6, + "电影名称" + ], + [ + 6, + "描述" + ], + [ + 6, + "发行年份" + ], + [ + 6, + "语言ID" + ], + [ + 6, + "源语言ID" + ], + [ + 6, + "租期" + ], + [ + 6, + "租率" + ], + [ + 6, + "时长" + ], + [ + 6, + "更换成本" + ], + [ + 6, + "评级" + ], + [ + 6, + "特色" + ], + [ + 6, + "最近更新时间" + ], + [ + 7, + "演员ID" + ], + [ + 7, + "电影ID" + ], + [ + 7, + "最近更新时间" + ], + [ + 8, + "电影ID" + ], + [ + 8, + "类型ID" + ], + [ + 8, + "最近更新时间" + ], + [ + 9, + "电影ID" + ], + [ + 9, + "电影名称" + ], + [ + 9, + "描述" + ], + [ + 10, + "库存ID" + ], + [ + 10, + "电影ID" + ], + [ + 10, + "商店ID" + ], + [ + 10, + "最近更新时间" + ], + [ + 11, + "语言ID" + ], + [ + 11, + "语言名称" + ], + [ + 11, + "最近更新时间" + ], + [ + 12, + "付款ID" + ], + [ + 12, + "顾客ID" + ], + [ + 12, + "员工ID" + ], + [ + 12, + "租借ID" + ], + [ + 12, + "金额" + ], + [ + 12, + "付款日期" + ], + [ + 12, + "最近更新时间" + ], + [ + 13, + "租借ID" + ], + [ + 13, + "租借时间" + ], + [ + 13, + "库存ID" + ], + [ + 13, + "顾客ID" + ], + [ + 13, + "返还日期" + ], + [ + 13, + "员工ID" + ], + [ + 13, + "最近更新时间" + ], + [ + 14, + "员工ID" + ], + [ + 14, + "名字" + ], + [ + 14, + "姓氏" + ], + [ + 14, + "地址ID" + ], + [ + 14, + "图像" + ], + [ + 14, + "电子邮件" + ], + [ + 14, + "商店ID" + ], + [ + 14, + "是否活跃" + ], + [ + 14, + "用户名" + ], + [ + 14, + "密码" + ], + [ + 14, + "最近更新时间" + ], + [ + 15, + "商店ID" + ], + [ + 15, + "经理ID" + ], + [ + 15, + "地址ID" + ], + [ + 15, + "最近更新时间" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "actor_id" + ], + [ + 0, + "first_name" + ], + [ + 0, + "last_name" + ], + [ + 0, + "last_update" + ], + [ + 1, + "address_id" + ], + [ + 1, + "address" + ], + [ + 1, + "address2" + ], + [ + 1, + "district" + ], + [ + 1, + "city_id" + ], + [ + 1, + "postal_code" + ], + [ + 1, + "phone" + ], + [ + 1, + "last_update" + ], + [ + 2, + "category_id" + ], + [ + 2, + "name" + ], + [ + 2, + "last_update" + ], + [ + 3, + "city_id" + ], + [ + 3, + "city" + ], + [ + 3, + "country_id" + ], + [ + 3, + "last_update" + ], + [ + 4, + "country_id" + ], + [ + 4, + "country" + ], + [ + 4, + "last_update" + ], + [ + 5, + "customer_id" + ], + [ + 5, + "store_id" + ], + [ + 5, + "first_name" + ], + [ + 5, + "last_name" + ], + [ + 5, + "email" + ], + [ + 5, + "address_id" + ], + [ + 5, + "active" + ], + [ + 5, + "create_date" + ], + [ + 5, + "last_update" + ], + [ + 6, + "film_id" + ], + [ + 6, + "title" + ], + [ + 6, + "description" + ], + [ + 6, + "release_year" + ], + [ + 6, + "language_id" + ], + [ + 6, + "original_language_id" + ], + [ + 6, + "rental_duration" + ], + [ + 6, + "rental_rate" + ], + [ + 6, + "length" + ], + [ + 6, + "replacement_cost" + ], + [ + 6, + "rating" + ], + [ + 6, + "special_features" + ], + [ + 6, + "last_update" + ], + [ + 7, + "actor_id" + ], + [ + 7, + "film_id" + ], + [ + 7, + "last_update" + ], + [ + 8, + "film_id" + ], + [ + 8, + "category_id" + ], + [ + 8, + "last_update" + ], + [ + 9, + "film_id" + ], + [ + 9, + "title" + ], + [ + 9, + "description" + ], + [ + 10, + "inventory_id" + ], + [ + 10, + "film_id" + ], + [ + 10, + "store_id" + ], + [ + 10, + "last_update" + ], + [ + 11, + "language_id" + ], + [ + 11, + "name" + ], + [ + 11, + "last_update" + ], + [ + 12, + "payment_id" + ], + [ + 12, + "customer_id" + ], + [ + 12, + "staff_id" + ], + [ + 12, + "rental_id" + ], + [ + 12, + "amount" + ], + [ + 12, + "payment_date" + ], + [ + 12, + "last_update" + ], + [ + 13, + "rental_id" + ], + [ + 13, + "rental_date" + ], + [ + 13, + "inventory_id" + ], + [ + 13, + "customer_id" + ], + [ + 13, + "return_date" + ], + [ + 13, + "staff_id" + ], + [ + 13, + "last_update" + ], + [ + 14, + "staff_id" + ], + [ + 14, + "first_name" + ], + [ + 14, + "last_name" + ], + [ + 14, + "address_id" + ], + [ + 14, + "picture" + ], + [ + 14, + "email" + ], + [ + 14, + "store_id" + ], + [ + 14, + "active" + ], + [ + 14, + "username" + ], + [ + 14, + "password" + ], + [ + 14, + "last_update" + ], + [ + 15, + "store_id" + ], + [ + 15, + "manager_staff_id" + ], + [ + 15, + "address_id" + ], + [ + 15, + "last_update" + ] + ], + "column_types": [ + "text", + "number", + "text", + "text", + "time", + "number", + "text", + "text", + "text", + "number", + "text", + "text", + "time", + "number", + "text", + "time", + "number", + "text", + "number", + "time", + "number", + "text", + "time", + "number", + "number", + "text", + "text", + "text", + "number", + "boolean", + "time", + "time", + "number", + "text", + "text", + "time", + "number", + "number", + "number", + "number", + "number", + "number", + "text", + "text", + "time", + "number", + "number", + "time", + "number", + "number", + "time", + "number", + "text", + "text", + "number", + "number", + "number", + "time", + "number", + "text", + "time", + "number", + "number", + "number", + "number", + "number", + "time", + "time", + "number", + "time", + "number", + "number", + "time", + "number", + "time", + "number", + "text", + "text", + "number", + "others", + "text", + "number", + "boolean", + "text", + "text", + "time", + "number", + "number", + "number", + "time" + ], + "db_id": "sakila_1", + "foreign_keys": [ + [ + 9, + 16 + ], + [ + 18, + 20 + ], + [ + 24, + 86 + ], + [ + 28, + 5 + ], + [ + 37, + 58 + ], + [ + 36, + 58 + ], + [ + 46, + 32 + ], + [ + 45, + 1 + ], + [ + 49, + 13 + ], + [ + 48, + 32 + ], + [ + 55, + 32 + ], + [ + 56, + 86 + ], + [ + 63, + 75 + ], + [ + 62, + 23 + ], + [ + 64, + 68 + ], + [ + 71, + 23 + ], + [ + 70, + 54 + ], + [ + 73, + 75 + ], + [ + 78, + 5 + ], + [ + 88, + 5 + ], + [ + 87, + 75 + ] + ], + "primary_keys": [ + 1, + 5, + 13, + 16, + 20, + 23, + 32, + 45, + 48, + 51, + 54, + 58, + 61, + 68, + 75, + 86 + ], + "table_names": [ + "演员", + "地址", + "类型", + "城市", + "国家", + "顾客", + "电影", + "电影演员", + "电影类型", + "电影文本", + "库存", + "语言", + "付款", + "租借", + "员工", + "商店" + ], + "table_names_original": [ + "actor", + "address", + "category", + "city", + "country", + "customer", + "film", + "film_actor", + "film_category", + "film_text", + "inventory", + "language", + "payment", + "rental", + "staff", + "store" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "功能类型代码" + ], + [ + 0, + "功能类型名称" + ], + [ + 1, + "房产类型代码" + ], + [ + 1, + "房产类型说明" + ], + [ + 2, + "功能ID" + ], + [ + 2, + "功能类型代码" + ], + [ + 2, + "功能名称" + ], + [ + 2, + "功能描述" + ], + [ + 3, + "房产ID" + ], + [ + 3, + "房产类型代码" + ], + [ + 3, + "上市日期" + ], + [ + 3, + "出售日期" + ], + [ + 3, + "房产名称" + ], + [ + 3, + "房产地址" + ], + [ + 3, + "房间数目" + ], + [ + 3, + "供应商价格" + ], + [ + 3, + "买家提供价格" + ], + [ + 3, + "成交价格" + ], + [ + 3, + "常用功能1" + ], + [ + 3, + "常用功能2" + ], + [ + 3, + "常用功能3" + ], + [ + 3, + "野外功能1" + ], + [ + 3, + "野外功能2" + ], + [ + 3, + "野外功能3" + ], + [ + 3, + "安全功能1" + ], + [ + 3, + "安全功能2" + ], + [ + 3, + "安全功能3" + ], + [ + 3, + "其他功能1" + ], + [ + 3, + "其他功能2" + ], + [ + 3, + "其他功能3" + ], + [ + 3, + "购物功能1" + ], + [ + 3, + "购物功能2" + ], + [ + 3, + "购物功能3" + ], + [ + 3, + "其他房产信息" + ], + [ + 4, + "房产ID" + ], + [ + 4, + "功能ID" + ], + [ + 4, + "功能描述" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "feature_type_code" + ], + [ + 0, + "feature_type_name" + ], + [ + 1, + "property_type_code" + ], + [ + 1, + "property_type_description" + ], + [ + 2, + "feature_id" + ], + [ + 2, + "feature_type_code" + ], + [ + 2, + "feature_name" + ], + [ + 2, + "feature_description" + ], + [ + 3, + "property_id" + ], + [ + 3, + "property_type_code" + ], + [ + 3, + "date_on_market" + ], + [ + 3, + "date_sold" + ], + [ + 3, + "property_name" + ], + [ + 3, + "property_address" + ], + [ + 3, + "room_count" + ], + [ + 3, + "vendor_requested_price" + ], + [ + 3, + "buyer_offered_price" + ], + [ + 3, + "agreed_selling_price" + ], + [ + 3, + "apt_feature_1" + ], + [ + 3, + "apt_feature_2" + ], + [ + 3, + "apt_feature_3" + ], + [ + 3, + "fld_feature_1" + ], + [ + 3, + "fld_feature_2" + ], + [ + 3, + "fld_feature_3" + ], + [ + 3, + "hse_feature_1" + ], + [ + 3, + "hse_feature_2" + ], + [ + 3, + "hse_feature_3" + ], + [ + 3, + "oth_feature_1" + ], + [ + 3, + "oth_feature_2" + ], + [ + 3, + "oth_feature_3" + ], + [ + 3, + "shp_feature_1" + ], + [ + 3, + "shp_feature_2" + ], + [ + 3, + "shp_feature_3" + ], + [ + 3, + "other_property_details" + ], + [ + 4, + "property_id" + ], + [ + 4, + "feature_id" + ], + [ + 4, + "property_feature_description" + ] + ], + "column_types": [ + "text", + "text", + "text", + "text", + "text", + "number", + "text", + "text", + "text", + "number", + "text", + "time", + "time", + "text", + "text", + "number", + "number", + "number", + "number", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "number", + "number", + "text" + ], + "db_id": "real_estate_properties", + "foreign_keys": [ + [ + 6, + 1 + ], + [ + 10, + 3 + ], + [ + 35, + 9 + ], + [ + 36, + 5 + ] + ], + "primary_keys": [ + 1, + 3, + 5, + 9 + ], + "table_names": [ + "参考功能类型", + "参考房产类型", + "其他可用功能", + "房产", + "其他房产功能" + ], + "table_names_original": [ + "Ref_Feature_Types", + "Ref_Property_Types", + "Other_Available_Features", + "Properties", + "Other_Property_Features" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "学生ID" + ], + [ + 0, + "姓氏" + ], + [ + 0, + "名字" + ], + [ + 0, + "年龄" + ], + [ + 0, + "性别" + ], + [ + 0, + "专业" + ], + [ + 0, + "导师" + ], + [ + 0, + "城市代码" + ], + [ + 1, + "教师ID" + ], + [ + 1, + "姓" + ], + [ + 1, + "名" + ], + [ + 1, + "职称" + ], + [ + 1, + "性别" + ], + [ + 1, + "电话号码" + ], + [ + 1, + "房间" + ], + [ + 1, + "楼" + ], + [ + 2, + "系代码" + ], + [ + 2, + "分部" + ], + [ + 2, + "系名" + ], + [ + 2, + "办公室" + ], + [ + 2, + "楼" + ], + [ + 2, + "电话号码" + ], + [ + 3, + "教师ID" + ], + [ + 3, + "系代码" + ], + [ + 3, + "等级" + ], + [ + 4, + "课程ID" + ], + [ + 4, + "课程名称" + ], + [ + 4, + "学分" + ], + [ + 4, + "教授" + ], + [ + 4, + "周期" + ], + [ + 4, + "时长" + ], + [ + 4, + "楼代码" + ], + [ + 5, + "学生ID" + ], + [ + 5, + "系编号" + ], + [ + 6, + "学生ID" + ], + [ + 6, + "课程ID" + ], + [ + 6, + "等级" + ], + [ + 7, + "字母成绩" + ], + [ + 7, + "学分" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "StuID" + ], + [ + 0, + "LName" + ], + [ + 0, + "Fname" + ], + [ + 0, + "Age" + ], + [ + 0, + "Sex" + ], + [ + 0, + "Major" + ], + [ + 0, + "Advisor" + ], + [ + 0, + "city_code" + ], + [ + 1, + "FacID" + ], + [ + 1, + "Lname" + ], + [ + 1, + "Fname" + ], + [ + 1, + "Rank" + ], + [ + 1, + "Sex" + ], + [ + 1, + "Phone" + ], + [ + 1, + "Room" + ], + [ + 1, + "Building" + ], + [ + 2, + "DNO" + ], + [ + 2, + "Division" + ], + [ + 2, + "DName" + ], + [ + 2, + "Room" + ], + [ + 2, + "Building" + ], + [ + 2, + "DPhone" + ], + [ + 3, + "FacID" + ], + [ + 3, + "DNO" + ], + [ + 3, + "Appt_Type" + ], + [ + 4, + "CID" + ], + [ + 4, + "CName" + ], + [ + 4, + "Credits" + ], + [ + 4, + "Instructor" + ], + [ + 4, + "Days" + ], + [ + 4, + "Hours" + ], + [ + 4, + "DNO" + ], + [ + 5, + "StuID" + ], + [ + 5, + "DNO" + ], + [ + 6, + "StuID" + ], + [ + 6, + "CID" + ], + [ + 6, + "Grade" + ], + [ + 7, + "lettergrade" + ], + [ + 7, + "gradepoint" + ] + ], + "column_types": [ + "text", + "number", + "text", + "text", + "number", + "text", + "number", + "number", + "text", + "number", + "text", + "text", + "text", + "text", + "number", + "text", + "text", + "number", + "text", + "text", + "text", + "text", + "number", + "number", + "number", + "text", + "text", + "text", + "number", + "number", + "text", + "text", + "number", + "number", + "number", + "number", + "text", + "text", + "text", + "number" + ], + "db_id": "college_3", + "foreign_keys": [ + [ + 24, + 17 + ], + [ + 23, + 9 + ], + [ + 32, + 17 + ], + [ + 29, + 9 + ], + [ + 34, + 17 + ], + [ + 33, + 1 + ], + [ + 37, + 38 + ], + [ + 36, + 26 + ], + [ + 35, + 1 + ] + ], + "primary_keys": [ + 1, + 9, + 17, + 26, + 38 + ], + "table_names": [ + "学生", + "教师", + "系", + "成员", + "课程", + "辅修", + "注册学生", + "成绩" + ], + "table_names_original": [ + "Student", + "Faculty", + "Department", + "Member_of", + "Course", + "Minor_in", + "Enrolled_in", + "Gradeconversion" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "课程ID" + ], + [ + 0, + "开课日期" + ], + [ + 0, + "课程名称" + ], + [ + 1, + "老师ID" + ], + [ + 1, + "姓名" + ], + [ + 1, + "年龄" + ], + [ + 1, + "家乡" + ], + [ + 2, + "课程ID" + ], + [ + 2, + "老师ID" + ], + [ + 2, + "年级" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "Course_ID" + ], + [ + 0, + "Staring_Date" + ], + [ + 0, + "Course" + ], + [ + 1, + "Teacher_ID" + ], + [ + 1, + "Name" + ], + [ + 1, + "Age" + ], + [ + 1, + "Hometown" + ], + [ + 2, + "Course_ID" + ], + [ + 2, + "Teacher_ID" + ], + [ + 2, + "Grade" + ] + ], + "column_types": [ + "text", + "number", + "text", + "text", + "number", + "text", + "text", + "text", + "number", + "number", + "number" + ], + "db_id": "course_teach", + "foreign_keys": [ + [ + 9, + 4 + ], + [ + 8, + 1 + ] + ], + "primary_keys": [ + 1, + 4, + 8 + ], + "table_names": [ + "课程", + "老师", + "课程安排" + ], + "table_names_original": [ + "course", + "teacher", + "course_arrange" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "过山车ID" + ], + [ + 0, + "名称" + ], + [ + 0, + "公园" + ], + [ + 0, + "国家ID" + ], + [ + 0, + "长度" + ], + [ + 0, + "高度" + ], + [ + 0, + "速度" + ], + [ + 0, + "开业日期" + ], + [ + 0, + "状态" + ], + [ + 1, + "国家ID" + ], + [ + 1, + "名称" + ], + [ + 1, + "人口" + ], + [ + 1, + "地区" + ], + [ + 1, + "语言" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "Roller_Coaster_ID" + ], + [ + 0, + "Name" + ], + [ + 0, + "Park" + ], + [ + 0, + "Country_ID" + ], + [ + 0, + "Length" + ], + [ + 0, + "Height" + ], + [ + 0, + "Speed" + ], + [ + 0, + "Opened" + ], + [ + 0, + "Status" + ], + [ + 1, + "Country_ID" + ], + [ + 1, + "Name" + ], + [ + 1, + "Population" + ], + [ + 1, + "Area" + ], + [ + 1, + "Languages" + ] + ], + "column_types": [ + "text", + "number", + "text", + "text", + "number", + "number", + "number", + "text", + "text", + "text", + "number", + "text", + "number", + "number", + "text" + ], + "db_id": "roller_coaster", + "foreign_keys": [ + [ + 4, + 10 + ] + ], + "primary_keys": [ + 1, + 10 + ], + "table_names": [ + "过山车", + "国家" + ], + "table_names_original": [ + "roller_coaster", + "country" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "产品ID" + ], + [ + 0, + "产品名称" + ], + [ + 0, + "产品价格" + ], + [ + 0, + "产品描述" + ], + [ + 1, + "地址ID" + ], + [ + 1, + "地址详细信息" + ], + [ + 1, + "城市" + ], + [ + 1, + "邮政邮编" + ], + [ + 1, + "州或省" + ], + [ + 1, + "国家" + ], + [ + 2, + "客户ID" + ], + [ + 2, + "付款方式" + ], + [ + 2, + "客户名字" + ], + [ + 2, + "电话号码" + ], + [ + 2, + "客户邮件" + ], + [ + 2, + "客户注册日期" + ], + [ + 3, + "订单ID" + ], + [ + 3, + "分销商ID" + ], + [ + 4, + "计划订单ID" + ], + [ + 4, + "产品ID" + ], + [ + 5, + "实际订单ID" + ], + [ + 5, + "订单状态代码" + ], + [ + 5, + "计划订单ID" + ], + [ + 5, + "订单时间" + ], + [ + 6, + "实际订单ID" + ], + [ + 6, + "产品ID" + ], + [ + 7, + "客户ID" + ], + [ + 7, + "地址ID" + ], + [ + 7, + "发货日期" + ], + [ + 7, + "地址类型" + ], + [ + 7, + "收货日期" + ], + [ + 8, + "路线ID" + ], + [ + 8, + "路线名称" + ], + [ + 8, + "其他路线信息" + ], + [ + 9, + "地点编码" + ], + [ + 9, + "路线ID" + ], + [ + 9, + "地址ID" + ], + [ + 9, + "地点名称" + ], + [ + 10, + "卡车ID" + ], + [ + 10, + "卡车证件号" + ], + [ + 10, + "卡车详细信息" + ], + [ + 11, + "员工ID" + ], + [ + 11, + "员工地址ID" + ], + [ + 11, + "员工姓名" + ], + [ + 11, + "员工电话号码" + ], + [ + 12, + "地点编码" + ], + [ + 12, + "实际订单编号" + ], + [ + 12, + "发货状态代码" + ], + [ + 12, + "驾驶员ID" + ], + [ + 12, + "卡车ID" + ], + [ + 12, + "发货时间" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "product_id" + ], + [ + 0, + "product_name" + ], + [ + 0, + "product_price" + ], + [ + 0, + "product_description" + ], + [ + 1, + "address_id" + ], + [ + 1, + "address_details" + ], + [ + 1, + "city" + ], + [ + 1, + "zip_postcode" + ], + [ + 1, + "state_province_county" + ], + [ + 1, + "country" + ], + [ + 2, + "customer_id" + ], + [ + 2, + "payment_method" + ], + [ + 2, + "customer_name" + ], + [ + 2, + "customer_phone" + ], + [ + 2, + "customer_email" + ], + [ + 2, + "date_became_customer" + ], + [ + 3, + "regular_order_id" + ], + [ + 3, + "distributer_id" + ], + [ + 4, + "regular_order_id" + ], + [ + 4, + "product_id" + ], + [ + 5, + "actual_order_id" + ], + [ + 5, + "order_status_code" + ], + [ + 5, + "regular_order_id" + ], + [ + 5, + "actual_order_date" + ], + [ + 6, + "actual_order_id" + ], + [ + 6, + "product_id" + ], + [ + 7, + "customer_id" + ], + [ + 7, + "address_id" + ], + [ + 7, + "date_from" + ], + [ + 7, + "address_type" + ], + [ + 7, + "date_to" + ], + [ + 8, + "route_id" + ], + [ + 8, + "route_name" + ], + [ + 8, + "other_route_details" + ], + [ + 9, + "location_code" + ], + [ + 9, + "route_id" + ], + [ + 9, + "location_address_id" + ], + [ + 9, + "location_name" + ], + [ + 10, + "truck_id" + ], + [ + 10, + "truck_licence_number" + ], + [ + 10, + "truck_details" + ], + [ + 11, + "employee_id" + ], + [ + 11, + "employee_address_id" + ], + [ + 11, + "employee_name" + ], + [ + 11, + "employee_phone" + ], + [ + 12, + "location_code" + ], + [ + 12, + "actual_order_id" + ], + [ + 12, + "delivery_status_code" + ], + [ + 12, + "driver_employee_id" + ], + [ + 12, + "truck_id" + ], + [ + 12, + "delivery_date" + ] + ], + "column_types": [ + "text", + "number", + "text", + "number", + "text", + "number", + "text", + "text", + "text", + "text", + "text", + "number", + "text", + "text", + "text", + "text", + "time", + "number", + "number", + "number", + "number", + "number", + "text", + "number", + "time", + "number", + "number", + "number", + "number", + "time", + "text", + "time", + "number", + "text", + "text", + "text", + "number", + "number", + "text", + "number", + "text", + "text", + "number", + "number", + "text", + "text", + "text", + "number", + "text", + "number", + "number", + "time" + ], + "db_id": "customer_deliveries", + "foreign_keys": [ + [ + 18, + 11 + ], + [ + 19, + 17 + ], + [ + 20, + 1 + ], + [ + 23, + 17 + ], + [ + 25, + 21 + ], + [ + 26, + 1 + ], + [ + 28, + 5 + ], + [ + 27, + 11 + ], + [ + 36, + 32 + ], + [ + 37, + 5 + ], + [ + 43, + 5 + ], + [ + 49, + 42 + ], + [ + 46, + 35 + ], + [ + 47, + 21 + ], + [ + 50, + 39 + ] + ], + "primary_keys": [ + 1, + 5, + 11, + 17, + 21, + 32, + 35, + 39, + 42 + ], + "table_names": [ + "产品", + "地址", + "客户", + "计划订单", + "订单产品", + "实际订单", + "实际订单产品", + "客户地址", + "送货路线", + "交货地点", + "卡车", + "员工", + "发货订单" + ], + "table_names_original": [ + "Products", + "Addresses", + "Customers", + "Regular_Orders", + "Regular_Order_Products", + "Actual_Orders", + "Actual_Order_Products", + "Customer_Addresses", + "Delivery_Routes", + "Delivery_Route_Locations", + "Trucks", + "Employees", + "Order_Deliveries" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "体育场ID" + ], + [ + 0, + "名称" + ], + [ + 0, + "主场比赛" + ], + [ + 0, + "平均出勤率" + ], + [ + 0, + "总出勤率" + ], + [ + 0, + "容量百分比" + ], + [ + 1, + "体育场ID" + ], + [ + 1, + "比赛ID" + ], + [ + 1, + "赛季" + ], + [ + 1, + "日期" + ], + [ + 1, + "主场队伍" + ], + [ + 1, + "客场队伍" + ], + [ + 1, + "分数" + ], + [ + 1, + "比赛类型" + ], + [ + 2, + "比赛ID" + ], + [ + 2, + "事故ID" + ], + [ + 2, + "球员" + ], + [ + 2, + "受伤类型" + ], + [ + 2, + "历史对决次数" + ], + [ + 2, + "来源" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "id" + ], + [ + 0, + "name" + ], + [ + 0, + "Home_Games" + ], + [ + 0, + "Average_Attendance" + ], + [ + 0, + "Total_Attendance" + ], + [ + 0, + "Capacity_Percentage" + ], + [ + 1, + "stadium_id" + ], + [ + 1, + "id" + ], + [ + 1, + "Season" + ], + [ + 1, + "Date" + ], + [ + 1, + "Home_team" + ], + [ + 1, + "Away_team" + ], + [ + 1, + "Score" + ], + [ + 1, + "Competition" + ], + [ + 2, + "game_id" + ], + [ + 2, + "id" + ], + [ + 2, + "Player" + ], + [ + 2, + "Injury" + ], + [ + 2, + "Number_of_matches" + ], + [ + 2, + "Source" + ] + ], + "column_types": [ + "text", + "number", + "text", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "text", + "text", + "text", + "text", + "text", + "number", + "number", + "text", + "text", + "text", + "text" + ], + "db_id": "game_injury", + "foreign_keys": [ + [ + 7, + 1 + ], + [ + 15, + 8 + ] + ], + "primary_keys": [ + 1, + 8, + 16 + ], + "table_names": [ + "体育场", + "比赛", + "受伤事故" + ], + "table_names_original": [ + "stadium", + "game", + "injury_accident" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "学校ID" + ], + [ + 0, + "学校名称" + ], + [ + 0, + "位置" + ], + [ + 0, + "吉祥物" + ], + [ + 0, + "入学登记" + ], + [ + 0, + "IHSAA等级" + ], + [ + 0, + "IHSAA足球等级" + ], + [ + 0, + "县" + ], + [ + 1, + "学校ID" + ], + [ + 1, + "年份" + ], + [ + 1, + "已安排预算" + ], + [ + 1, + "预算总额百分比" + ], + [ + 1, + "投资" + ], + [ + 1, + "投资总额百分比" + ], + [ + 1, + "预算投资比例" + ], + [ + 2, + "捐赠ID" + ], + [ + 2, + "学校ID" + ], + [ + 2, + "捐赠者姓名" + ], + [ + 2, + "金额" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "School_id" + ], + [ + 0, + "School_name" + ], + [ + 0, + "Location" + ], + [ + 0, + "Mascot" + ], + [ + 0, + "Enrollment" + ], + [ + 0, + "IHSAA_Class" + ], + [ + 0, + "IHSAA_Football_Class" + ], + [ + 0, + "County" + ], + [ + 1, + "School_id" + ], + [ + 1, + "Year" + ], + [ + 1, + "Budgeted" + ], + [ + 1, + "total_budget_percent_budgeted" + ], + [ + 1, + "Invested" + ], + [ + 1, + "total_budget_percent_invested" + ], + [ + 1, + "Budget_invested_percent" + ], + [ + 2, + "endowment_id" + ], + [ + 2, + "School_id" + ], + [ + 2, + "donator_name" + ], + [ + 2, + "amount" + ] + ], + "column_types": [ + "text", + "text", + "text", + "text", + "text", + "number", + "text", + "text", + "text", + "number", + "number", + "number", + "number", + "number", + "number", + "text", + "number", + "number", + "text", + "number" + ], + "db_id": "school_finance", + "foreign_keys": [ + [ + 9, + 1 + ], + [ + 17, + 1 + ] + ], + "primary_keys": [ + 1, + 9, + 16 + ], + "table_names": [ + "学校", + "预算", + "捐赠" + ], + "table_names_original": [ + "School", + "budget", + "endowment" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "作者ID" + ], + [ + 0, + "作者姓名" + ], + [ + 1, + "论文ID" + ], + [ + 1, + "引用论文ID" + ], + [ + 2, + "数据集ID" + ], + [ + 2, + "数据集名称" + ], + [ + 3, + "期刊ID" + ], + [ + 3, + "期刊名称" + ], + [ + 4, + "关键字段ID" + ], + [ + 4, + "关键字段名称" + ], + [ + 5, + "论文ID" + ], + [ + 5, + "标题" + ], + [ + 5, + "会场ID" + ], + [ + 5, + "年份" + ], + [ + 5, + "引用数量" + ], + [ + 5, + "被引数量" + ], + [ + 5, + "期刊ID" + ], + [ + 6, + "论文ID" + ], + [ + 6, + "数据集ID" + ], + [ + 7, + "论文ID" + ], + [ + 7, + "关键字段ID" + ], + [ + 8, + "会场ID" + ], + [ + 8, + "会场名" + ], + [ + 9, + "论文ID" + ], + [ + 9, + "作者ID" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "venueId" + ], + [ + 0, + "venueName" + ], + [ + 1, + "authorId" + ], + [ + 1, + "authorName" + ], + [ + 2, + "datasetId" + ], + [ + 2, + "datasetName" + ], + [ + 3, + "journalId" + ], + [ + 3, + "journalName" + ], + [ + 4, + "keyphraseId" + ], + [ + 4, + "keyphraseName" + ], + [ + 5, + "paperId" + ], + [ + 5, + "title" + ], + [ + 5, + "venueId" + ], + [ + 5, + "year" + ], + [ + 5, + "numCiting" + ], + [ + 5, + "numCitedBy" + ], + [ + 5, + "journalId" + ], + [ + 6, + "citingPaperId" + ], + [ + 6, + "citedPaperId" + ], + [ + 7, + "paperId" + ], + [ + 7, + "datasetId" + ], + [ + 8, + "paperId" + ], + [ + 8, + "keyphraseId" + ], + [ + 9, + "paperId" + ], + [ + 9, + "authorId" + ] + ], + "column_types": [ + "text", + "number", + "text", + "number", + "text", + "number", + "text", + "number", + "text", + "number", + "text", + "number", + "text", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number" + ], + "db_id": "scholar", + "foreign_keys": [ + [ + 13, + 1 + ], + [ + 17, + 7 + ], + [ + 18, + 11 + ], + [ + 19, + 11 + ], + [ + 23, + 9 + ], + [ + 22, + 11 + ], + [ + 25, + 3 + ], + [ + 24, + 11 + ] + ], + "primary_keys": [ + 1, + 3, + 5, + 7, + 9, + 11, + 18, + 21, + 23, + 24 + ], + "table_names": [ + "作者", + "引用", + "数据集", + "期刊", + "关键字段", + "论文", + "论文数据集", + "论文关键字段", + "会场", + "创作" + ], + "table_names_original": [ + "venue", + "author", + "dataset", + "journal", + "keyphrase", + "paper", + "cite", + "paperDataset", + "paperKeyphrase", + "writes" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "地区编号" + ], + [ + 0, + "州" + ], + [ + 1, + "竞选者编号" + ], + [ + 1, + "竞选者姓名" + ], + [ + 2, + "选票ID" + ], + [ + 2, + "联系方式" + ], + [ + 2, + "州" + ], + [ + 2, + "竞选者编号" + ], + [ + 2, + "创建日期" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "area_code" + ], + [ + 0, + "state" + ], + [ + 1, + "contestant_number" + ], + [ + 1, + "contestant_name" + ], + [ + 2, + "vote_id" + ], + [ + 2, + "phone_number" + ], + [ + 2, + "state" + ], + [ + 2, + "contestant_number" + ], + [ + 2, + "created" + ] + ], + "column_types": [ + "text", + "number", + "text", + "number", + "text", + "number", + "number", + "text", + "number", + "time" + ], + "db_id": "voter_1", + "foreign_keys": [ + [ + 8, + 3 + ], + [ + 7, + 2 + ] + ], + "primary_keys": [ + 1, + 3, + 5 + ], + "table_names": [ + "地区信息", + "竞选者", + "选票" + ], + "table_names_original": [ + "AREA_CODE_STATE", + "CONTESTANTS", + "VOTES" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "国家ID" + ], + [ + 0, + "国家名称" + ], + [ + 0, + "首都" + ], + [ + 0, + "官方语言" + ], + [ + 1, + "球队ID" + ], + [ + 1, + "名称" + ], + [ + 2, + "赛季" + ], + [ + 2, + "球员姓名" + ], + [ + 2, + "位置" + ], + [ + 2, + "国家" + ], + [ + 2, + "球队" + ], + [ + 2, + "选秀数量" + ], + [ + 2, + "选秀批次" + ], + [ + 2, + "大学" + ], + [ + 3, + "球员ID" + ], + [ + 3, + "姓名" + ], + [ + 3, + "经验" + ], + [ + 3, + "总比分" + ], + [ + 3, + "单轮比分" + ], + [ + 3, + "多轮比分" + ], + [ + 3, + "球队" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "Country_id" + ], + [ + 0, + "Country_name" + ], + [ + 0, + "Capital" + ], + [ + 0, + "Official_native_language" + ], + [ + 1, + "Team_id" + ], + [ + 1, + "Name" + ], + [ + 2, + "Season" + ], + [ + 2, + "Player" + ], + [ + 2, + "Position" + ], + [ + 2, + "Country" + ], + [ + 2, + "Team" + ], + [ + 2, + "Draft_Pick_Number" + ], + [ + 2, + "Draft_Class" + ], + [ + 2, + "College" + ], + [ + 3, + "Player_ID" + ], + [ + 3, + "Player" + ], + [ + 3, + "Years_Played" + ], + [ + 3, + "Total_WL" + ], + [ + 3, + "Singles_WL" + ], + [ + 3, + "Doubles_WL" + ], + [ + 3, + "Team" + ] + ], + "column_types": [ + "text", + "number", + "text", + "text", + "text", + "number", + "text", + "number", + "text", + "text", + "number", + "number", + "number", + "text", + "text", + "number", + "text", + "text", + "text", + "text", + "text", + "number" + ], + "db_id": "match_season", + "foreign_keys": [ + [ + 11, + 5 + ], + [ + 10, + 1 + ], + [ + 21, + 5 + ] + ], + "primary_keys": [ + 1, + 5, + 7, + 15 + ], + "table_names": [ + "国家", + "球队", + "赛季选秀", + "球员" + ], + "table_names_original": [ + "country", + "team", + "match_season", + "player" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "帐户ID" + ], + [ + 0, + "名称" + ], + [ + 1, + "客户ID" + ], + [ + 1, + "余额" + ], + [ + 2, + "客户ID" + ], + [ + 2, + "余额" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "custid" + ], + [ + 0, + "name" + ], + [ + 1, + "custid" + ], + [ + 1, + "balance" + ], + [ + 2, + "custid" + ], + [ + 2, + "balance" + ] + ], + "column_types": [ + "text", + "number", + "text", + "number", + "number", + "number", + "number" + ], + "db_id": "small_bank_1", + "foreign_keys": [ + [ + 3, + 1 + ], + [ + 5, + 1 + ] + ], + "primary_keys": [ + 1, + 3, + 5 + ], + "table_names": [ + "帐户", + "储蓄", + "支票" + ], + "table_names_original": [ + "ACCOUNTS", + "SAVINGS", + "CHECKING" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "运动员ID" + ], + [ + 0, + "名字" + ], + [ + 0, + "姓氏" + ], + [ + 0, + "惯用手" + ], + [ + 0, + "出生日期" + ], + [ + 0, + "国家编码" + ], + [ + 1, + "最佳" + ], + [ + 1, + "大小" + ], + [ + 1, + "败者年龄" + ], + [ + 1, + "败者进入" + ], + [ + 1, + "败者惯用手" + ], + [ + 1, + "败者HT" + ], + [ + 1, + "败者ID" + ], + [ + 1, + "败者奥林匹克" + ], + [ + 1, + "败者名字" + ], + [ + 1, + "败者排名" + ], + [ + 1, + "败者排名积分" + ], + [ + 1, + "败者种子选手" + ], + [ + 1, + "历史对决次数" + ], + [ + 1, + "耗时" + ], + [ + 1, + "回合" + ], + [ + 1, + "得分" + ], + [ + 1, + "场地" + ], + [ + 1, + "锦标赛日期" + ], + [ + 1, + "锦标赛ID" + ], + [ + 1, + "锦标赛等级" + ], + [ + 1, + "锦标赛名称" + ], + [ + 1, + "胜者年龄" + ], + [ + 1, + "胜者进入" + ], + [ + 1, + "胜者惯用手" + ], + [ + 1, + "胜者HT" + ], + [ + 1, + "胜者ID" + ], + [ + 1, + "胜者奥林匹克" + ], + [ + 1, + "胜者名字" + ], + [ + 1, + "胜者排名" + ], + [ + 1, + "胜者排名积分" + ], + [ + 1, + "胜者种子选手" + ], + [ + 1, + "年份" + ], + [ + 2, + "排名日期" + ], + [ + 2, + "排名" + ], + [ + 2, + "运动员ID" + ], + [ + 2, + "排名积分" + ], + [ + 2, + "锦标赛次数" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "player_id" + ], + [ + 0, + "first_name" + ], + [ + 0, + "last_name" + ], + [ + 0, + "hand" + ], + [ + 0, + "birth_date" + ], + [ + 0, + "country_code" + ], + [ + 1, + "best_of" + ], + [ + 1, + "draw_size" + ], + [ + 1, + "loser_age" + ], + [ + 1, + "loser_entry" + ], + [ + 1, + "loser_hand" + ], + [ + 1, + "loser_ht" + ], + [ + 1, + "loser_id" + ], + [ + 1, + "loser_ioc" + ], + [ + 1, + "loser_name" + ], + [ + 1, + "loser_rank" + ], + [ + 1, + "loser_rank_points" + ], + [ + 1, + "loser_seed" + ], + [ + 1, + "match_num" + ], + [ + 1, + "minutes" + ], + [ + 1, + "round" + ], + [ + 1, + "score" + ], + [ + 1, + "surface" + ], + [ + 1, + "tourney_date" + ], + [ + 1, + "tourney_id" + ], + [ + 1, + "tourney_level" + ], + [ + 1, + "tourney_name" + ], + [ + 1, + "winner_age" + ], + [ + 1, + "winner_entry" + ], + [ + 1, + "winner_hand" + ], + [ + 1, + "winner_ht" + ], + [ + 1, + "winner_id" + ], + [ + 1, + "winner_ioc" + ], + [ + 1, + "winner_name" + ], + [ + 1, + "winner_rank" + ], + [ + 1, + "winner_rank_points" + ], + [ + 1, + "winner_seed" + ], + [ + 1, + "year" + ], + [ + 2, + "ranking_date" + ], + [ + 2, + "ranking" + ], + [ + 2, + "player_id" + ], + [ + 2, + "ranking_points" + ], + [ + 2, + "tours" + ] + ], + "column_types": [ + "text", + "number", + "text", + "text", + "text", + "time", + "text", + "number", + "number", + "number", + "text", + "text", + "number", + "number", + "text", + "text", + "number", + "number", + "number", + "number", + "number", + "text", + "text", + "text", + "time", + "text", + "text", + "text", + "number", + "text", + "text", + "number", + "number", + "text", + "text", + "number", + "number", + "number", + "number", + "time", + "number", + "number", + "number", + "number" + ], + "db_id": "wta_1", + "foreign_keys": [ + [ + 32, + 1 + ], + [ + 13, + 1 + ], + [ + 41, + 1 + ] + ], + "primary_keys": [ + 1 + ], + "table_names": [ + "运动员", + "比赛", + "排名" + ], + "table_names_original": [ + "players", + "matches", + "rankings" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "出价" + ], + [ + 0, + "交易ID" + ], + [ + 0, + "名称" + ], + [ + 0, + "详细地址" + ], + [ + 0, + "城市" + ], + [ + 0, + "纬度" + ], + [ + 0, + "经度" + ], + [ + 0, + "复审数量" + ], + [ + 0, + "是否公开" + ], + [ + 0, + "排名" + ], + [ + 0, + "状态" + ], + [ + 1, + "种类ID" + ], + [ + 1, + "交易ID" + ], + [ + 1, + "种类名称" + ], + [ + 2, + "用户ID" + ], + [ + 2, + "用户名" + ], + [ + 2, + "名称" + ], + [ + 3, + "检查ID" + ], + [ + 3, + "交易ID" + ], + [ + 3, + "数量" + ], + [ + 3, + "日期" + ], + [ + 4, + "邻居ID" + ], + [ + 4, + "交易ID" + ], + [ + 4, + "邻居名称" + ], + [ + 5, + "复审ID" + ], + [ + 5, + "交易ID" + ], + [ + 5, + "用户ID" + ], + [ + 5, + "排名" + ], + [ + 5, + "文本" + ], + [ + 5, + "年份" + ], + [ + 5, + "月份" + ], + [ + 6, + "小费ID" + ], + [ + 6, + "交易ID" + ], + [ + 6, + "文本" + ], + [ + 6, + "用户ID" + ], + [ + 6, + "点赞数量" + ], + [ + 6, + "年份" + ], + [ + 6, + "月份" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "bid" + ], + [ + 0, + "business_id" + ], + [ + 0, + "name" + ], + [ + 0, + "full_address" + ], + [ + 0, + "city" + ], + [ + 0, + "latitude" + ], + [ + 0, + "longitude" + ], + [ + 0, + "review_count" + ], + [ + 0, + "is_open" + ], + [ + 0, + "rating" + ], + [ + 0, + "state" + ], + [ + 1, + "id" + ], + [ + 1, + "business_id" + ], + [ + 1, + "category_name" + ], + [ + 2, + "uid" + ], + [ + 2, + "user_id" + ], + [ + 2, + "name" + ], + [ + 3, + "cid" + ], + [ + 3, + "business_id" + ], + [ + 3, + "count" + ], + [ + 3, + "day" + ], + [ + 4, + "id" + ], + [ + 4, + "business_id" + ], + [ + 4, + "neighbourhood_name" + ], + [ + 5, + "rid" + ], + [ + 5, + "business_id" + ], + [ + 5, + "user_id" + ], + [ + 5, + "rating" + ], + [ + 5, + "text" + ], + [ + 5, + "year" + ], + [ + 5, + "month" + ], + [ + 6, + "tip_id" + ], + [ + 6, + "business_id" + ], + [ + 6, + "text" + ], + [ + 6, + "user_id" + ], + [ + 6, + "likes" + ], + [ + 6, + "year" + ], + [ + 6, + "month" + ] + ], + "column_types": [ + "text", + "number", + "text", + "text", + "text", + "text", + "text", + "text", + "number", + "number", + "number", + "text", + "number", + "text", + "text", + "number", + "text", + "text", + "number", + "text", + "number", + "text", + "number", + "text", + "text", + "number", + "text", + "text", + "number", + "text", + "number", + "text", + "number", + "text", + "text", + "text", + "number", + "number", + "text" + ], + "db_id": "yelp", + "foreign_keys": [ + [ + 13, + 2 + ], + [ + 19, + 2 + ], + [ + 23, + 2 + ], + [ + 27, + 16 + ], + [ + 26, + 2 + ], + [ + 35, + 16 + ], + [ + 33, + 2 + ] + ], + "primary_keys": [ + 1, + 12, + 15, + 18, + 22, + 25, + 32 + ], + "table_names": [ + "交易", + "种类", + "用户", + "检查", + "邻居", + "复审", + "小费" + ], + "table_names_original": [ + "business", + "category", + "user", + "checkin", + "neighbourhood", + "review", + "tip" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "姓氏" + ], + [ + 0, + "名字" + ], + [ + 0, + "年级" + ], + [ + 0, + "班级" + ], + [ + 1, + "姓氏" + ], + [ + 1, + "名字" + ], + [ + 1, + "班级" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "LastName" + ], + [ + 0, + "FirstName" + ], + [ + 0, + "Grade" + ], + [ + 0, + "Classroom" + ], + [ + 1, + "LastName" + ], + [ + 1, + "FirstName" + ], + [ + 1, + "Classroom" + ] + ], + "column_types": [ + "text", + "text", + "text", + "number", + "number", + "text", + "text", + "number" + ], + "db_id": "student_1", + "foreign_keys": [], + "primary_keys": [ + 1, + 5 + ], + "table_names": [ + "学生", + "老师" + ], + "table_names_original": [ + "list", + "teachers" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "制造商ID" + ], + [ + 0, + "开业年份" + ], + [ + 0, + "名称" + ], + [ + 0, + "工厂数量" + ], + [ + 0, + "商店数量" + ], + [ + 1, + "家具ID" + ], + [ + 1, + "名称" + ], + [ + 1, + "组件数量" + ], + [ + 1, + "市场价格" + ], + [ + 2, + "制造商ID" + ], + [ + 2, + "家具ID" + ], + [ + 2, + "价格_美元" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "Manufacturer_ID" + ], + [ + 0, + "Open_Year" + ], + [ + 0, + "Name" + ], + [ + 0, + "Num_of_Factories" + ], + [ + 0, + "Num_of_Shops" + ], + [ + 1, + "Furniture_ID" + ], + [ + 1, + "Name" + ], + [ + 1, + "Num_of_Component" + ], + [ + 1, + "Market_Rate" + ], + [ + 2, + "Manufacturer_ID" + ], + [ + 2, + "Furniture_ID" + ], + [ + 2, + "Price_in_Dollar" + ] + ], + "column_types": [ + "text", + "number", + "number", + "text", + "number", + "number", + "number", + "text", + "number", + "number", + "number", + "number", + "number" + ], + "db_id": "manufacturer", + "foreign_keys": [ + [ + 11, + 6 + ], + [ + 10, + 1 + ] + ], + "primary_keys": [ + 1, + 6, + 10 + ], + "table_names": [ + "制造商", + "家具", + "家具生产商" + ], + "table_names_original": [ + "manufacturer", + "furniture", + "furniture_manufacte" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "歌手ID" + ], + [ + 0, + "姓名" + ], + [ + 1, + "名称" + ], + [ + 1, + "序列" + ], + [ + 2, + "专辑ID" + ], + [ + 2, + "名称" + ], + [ + 2, + "歌手ID" + ], + [ + 3, + "员工ID" + ], + [ + 3, + "姓氏" + ], + [ + 3, + "名字" + ], + [ + 3, + "职位" + ], + [ + 3, + "上级" + ], + [ + 3, + "出生日期" + ], + [ + 3, + "雇佣日期" + ], + [ + 3, + "地址" + ], + [ + 3, + "城市" + ], + [ + 3, + "州" + ], + [ + 3, + "国家" + ], + [ + 3, + "邮政编码" + ], + [ + 3, + "电话号码" + ], + [ + 3, + "传真" + ], + [ + 3, + "电子邮箱" + ], + [ + 4, + "顾客ID" + ], + [ + 4, + "名字" + ], + [ + 4, + "姓氏" + ], + [ + 4, + "公司" + ], + [ + 4, + "地址" + ], + [ + 4, + "城市" + ], + [ + 4, + "州" + ], + [ + 4, + "国家" + ], + [ + 4, + "邮政编码" + ], + [ + 4, + "电话号码" + ], + [ + 4, + "传真" + ], + [ + 4, + "邮箱" + ], + [ + 4, + "支持列表ID" + ], + [ + 5, + "流派ID" + ], + [ + 5, + "名称" + ], + [ + 6, + "发票ID" + ], + [ + 6, + "客户ID" + ], + [ + 6, + "日期" + ], + [ + 6, + "地址" + ], + [ + 6, + "城市" + ], + [ + 6, + "州" + ], + [ + 6, + "国家" + ], + [ + 6, + "邮政编码" + ], + [ + 6, + "总额" + ], + [ + 7, + "类型ID" + ], + [ + 7, + "名称" + ], + [ + 8, + "歌曲ID" + ], + [ + 8, + "名称" + ], + [ + 8, + "专辑ID" + ], + [ + 8, + "媒体类型ID" + ], + [ + 8, + "类型ID" + ], + [ + 8, + "作曲家" + ], + [ + 8, + "时间" + ], + [ + 8, + "字节数" + ], + [ + 8, + "价格" + ], + [ + 9, + "清单ID" + ], + [ + 9, + "发票" + ], + [ + 9, + "歌曲ID" + ], + [ + 9, + "单价" + ], + [ + 9, + "数量" + ], + [ + 10, + "歌单ID" + ], + [ + 10, + "名称" + ], + [ + 11, + "歌单歌曲ID" + ], + [ + 11, + "歌曲ID" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "id" + ], + [ + 0, + "name" + ], + [ + 1, + "name" + ], + [ + 1, + "seq" + ], + [ + 2, + "id" + ], + [ + 2, + "title" + ], + [ + 2, + "artist_id" + ], + [ + 3, + "id" + ], + [ + 3, + "last_name" + ], + [ + 3, + "first_name" + ], + [ + 3, + "title" + ], + [ + 3, + "reports_to" + ], + [ + 3, + "birth_date" + ], + [ + 3, + "hire_date" + ], + [ + 3, + "address" + ], + [ + 3, + "city" + ], + [ + 3, + "state" + ], + [ + 3, + "country" + ], + [ + 3, + "postal_code" + ], + [ + 3, + "phone" + ], + [ + 3, + "fax" + ], + [ + 3, + "email" + ], + [ + 4, + "id" + ], + [ + 4, + "first_name" + ], + [ + 4, + "last_name" + ], + [ + 4, + "company" + ], + [ + 4, + "address" + ], + [ + 4, + "city" + ], + [ + 4, + "state" + ], + [ + 4, + "country" + ], + [ + 4, + "postal_code" + ], + [ + 4, + "phone" + ], + [ + 4, + "fax" + ], + [ + 4, + "email" + ], + [ + 4, + "support_rep_id" + ], + [ + 5, + "id" + ], + [ + 5, + "name" + ], + [ + 6, + "id" + ], + [ + 6, + "customer_id" + ], + [ + 6, + "invoice_date" + ], + [ + 6, + "billing_address" + ], + [ + 6, + "billing_city" + ], + [ + 6, + "billing_state" + ], + [ + 6, + "billing_country" + ], + [ + 6, + "billing_postal_code" + ], + [ + 6, + "total" + ], + [ + 7, + "id" + ], + [ + 7, + "name" + ], + [ + 8, + "id" + ], + [ + 8, + "name" + ], + [ + 8, + "album_id" + ], + [ + 8, + "media_type_id" + ], + [ + 8, + "genre_id" + ], + [ + 8, + "composer" + ], + [ + 8, + "milliseconds" + ], + [ + 8, + "bytes" + ], + [ + 8, + "unit_price" + ], + [ + 9, + "id" + ], + [ + 9, + "invoice_id" + ], + [ + 9, + "track_id" + ], + [ + 9, + "unit_price" + ], + [ + 9, + "quantity" + ], + [ + 10, + "id" + ], + [ + 10, + "name" + ], + [ + 11, + "playlist_id" + ], + [ + 11, + "track_id" + ] + ], + "column_types": [ + "text", + "number", + "text", + "text", + "text", + "number", + "text", + "number", + "number", + "text", + "text", + "text", + "number", + "time", + "time", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "number", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "number", + "number", + "text", + "number", + "number", + "time", + "text", + "text", + "text", + "text", + "text", + "number", + "number", + "text", + "number", + "text", + "number", + "number", + "number", + "text", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "text", + "number", + "number" + ], + "db_id": "store_1", + "foreign_keys": [ + [ + 7, + 1 + ], + [ + 12, + 8 + ], + [ + 35, + 8 + ], + [ + 39, + 23 + ], + [ + 52, + 47 + ], + [ + 53, + 36 + ], + [ + 51, + 5 + ], + [ + 60, + 49 + ], + [ + 59, + 38 + ], + [ + 66, + 49 + ], + [ + 65, + 63 + ] + ], + "primary_keys": [ + 1, + 5, + 8, + 23, + 36, + 38, + 47, + 49, + 58, + 63, + 65 + ], + "table_names": [ + "歌手", + "数据库序列", + "专辑", + "员工", + "顾客", + "流派", + "发票", + "媒体类型", + "歌曲", + "发票清单", + "歌单", + "歌单歌曲" + ], + "table_names_original": [ + "artists", + "sqlite_sequence", + "albums", + "employees", + "customers", + "genres", + "invoices", + "media_types", + "tracks", + "invoice_lines", + "playlists", + "playlist_tracks" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "车站ID" + ], + [ + 0, + "车站名称" + ], + [ + 0, + "年进出量" + ], + [ + 0, + "年交换量" + ], + [ + 0, + "乘客总数" + ], + [ + 0, + "位置" + ], + [ + 0, + "主要服务" + ], + [ + 0, + "站台数量" + ], + [ + 1, + "火车ID" + ], + [ + 1, + "名称" + ], + [ + 1, + "出发时间" + ], + [ + 1, + "服务类型" + ], + [ + 2, + "火车ID" + ], + [ + 2, + "车站ID" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "Station_ID" + ], + [ + 0, + "Name" + ], + [ + 0, + "Annual_entry_exit" + ], + [ + 0, + "Annual_interchanges" + ], + [ + 0, + "Total_Passengers" + ], + [ + 0, + "Location" + ], + [ + 0, + "Main_Services" + ], + [ + 0, + "Number_of_Platforms" + ], + [ + 1, + "Train_ID" + ], + [ + 1, + "Name" + ], + [ + 1, + "Time" + ], + [ + 1, + "Service" + ], + [ + 2, + "Train_ID" + ], + [ + 2, + "Station_ID" + ] + ], + "column_types": [ + "text", + "number", + "text", + "number", + "number", + "number", + "text", + "text", + "number", + "number", + "text", + "text", + "text", + "number", + "number" + ], + "db_id": "train_station", + "foreign_keys": [ + [ + 14, + 1 + ], + [ + 13, + 9 + ] + ], + "primary_keys": [ + 1, + 9, + 13 + ], + "table_names": [ + "车站", + "火车", + "火车站" + ], + "table_names_original": [ + "station", + "train", + "train_station" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "角色编号" + ], + [ + 0, + "角色描述" + ], + [ + 1, + "用户ID" + ], + [ + 1, + "角色编号" + ], + [ + 1, + "用户名称" + ], + [ + 1, + "用户登录" + ], + [ + 1, + "密码" + ], + [ + 2, + "文件结构编号" + ], + [ + 2, + "当前文件结构编号" + ], + [ + 2, + "文件结构描述" + ], + [ + 3, + "功能区编号" + ], + [ + 3, + "当前功能区编号" + ], + [ + 3, + "功能区描述" + ], + [ + 4, + "图像ID" + ], + [ + 4, + "图像ALT属性" + ], + [ + 4, + "图像名称" + ], + [ + 4, + "图像URL" + ], + [ + 5, + "文件编号" + ], + [ + 5, + "文件结构" + ], + [ + 5, + "文件类型" + ], + [ + 5, + "访问总数" + ], + [ + 5, + "文件名称" + ], + [ + 6, + "文件编号" + ], + [ + 6, + "功能区编号" + ], + [ + 7, + "章节ID" + ], + [ + 7, + "文件编号" + ], + [ + 7, + "章节顺序" + ], + [ + 7, + "章节编号" + ], + [ + 7, + "章节标题" + ], + [ + 8, + "章节ID" + ], + [ + 8, + "图像ID" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "role_code" + ], + [ + 0, + "role_description" + ], + [ + 1, + "user_id" + ], + [ + 1, + "role_code" + ], + [ + 1, + "user_name" + ], + [ + 1, + "user_login" + ], + [ + 1, + "password" + ], + [ + 2, + "document_structure_code" + ], + [ + 2, + "parent_document_structure_code" + ], + [ + 2, + "document_structure_description" + ], + [ + 3, + "functional_area_code" + ], + [ + 3, + "parent_functional_area_code" + ], + [ + 3, + "functional_area_description" + ], + [ + 4, + "image_id" + ], + [ + 4, + "image_alt_text" + ], + [ + 4, + "image_name" + ], + [ + 4, + "image_url" + ], + [ + 5, + "document_code" + ], + [ + 5, + "document_structure_code" + ], + [ + 5, + "document_type_code" + ], + [ + 5, + "access_count" + ], + [ + 5, + "document_name" + ], + [ + 6, + "document_code" + ], + [ + 6, + "functional_area_code" + ], + [ + 7, + "section_id" + ], + [ + 7, + "document_code" + ], + [ + 7, + "section_sequence" + ], + [ + 7, + "section_code" + ], + [ + 7, + "section_title" + ], + [ + 8, + "section_id" + ], + [ + 8, + "image_id" + ] + ], + "column_types": [ + "text", + "text", + "text", + "number", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "number", + "text", + "text", + "text", + "text", + "text", + "text", + "number", + "text", + "text", + "text", + "number", + "text", + "number", + "text", + "text", + "number", + "number" + ], + "db_id": "document_management", + "foreign_keys": [ + [ + 4, + 1 + ], + [ + 19, + 8 + ], + [ + 24, + 11 + ], + [ + 23, + 18 + ], + [ + 26, + 18 + ], + [ + 31, + 14 + ], + [ + 30, + 25 + ] + ], + "primary_keys": [ + 1, + 3, + 8, + 11, + 14, + 18, + 25, + 30 + ], + "table_names": [ + "��色", + "用户", + "文件结构", + "功能区", + "图像", + "文件", + "文件功能区", + "文件章节", + "文件章节图像" + ], + "table_names_original": [ + "Roles", + "Users", + "Document_Structures", + "Functional_Areas", + "Images", + "Documents", + "Document_Functional_Areas", + "Document_Sections", + "Document_Sections_Images" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "巡回赛ID" + ], + [ + 0, + "赛道名称" + ], + [ + 0, + "名称" + ], + [ + 0, + "位置" + ], + [ + 0, + "国家" + ], + [ + 0, + "LAT" + ], + [ + 0, + "长度" + ], + [ + 0, + "ALT" + ], + [ + 0, + "链接" + ], + [ + 1, + "赛事ID" + ], + [ + 1, + "年份" + ], + [ + 1, + "圈" + ], + [ + 1, + "巡回赛ID" + ], + [ + 1, + "名称" + ], + [ + 1, + "日期" + ], + [ + 1, + "时长" + ], + [ + 1, + "链接" + ], + [ + 2, + "车手ID" + ], + [ + 2, + "参考信息" + ], + [ + 2, + "编号" + ], + [ + 2, + "代码" + ], + [ + 2, + "名字" + ], + [ + 2, + "姓氏" + ], + [ + 2, + "出生日期" + ], + [ + 2, + "国籍" + ], + [ + 2, + "链接" + ], + [ + 3, + "状态ID" + ], + [ + 3, + "状态" + ], + [ + 4, + "年份" + ], + [ + 4, + "链接" + ], + [ + 5, + "制造商ID" + ], + [ + 5, + "参考信息" + ], + [ + 5, + "名称" + ], + [ + 5, + "国籍" + ], + [ + 5, + "链接" + ], + [ + 6, + "排行榜ID" + ], + [ + 6, + "赛事ID" + ], + [ + 6, + "制造商ID" + ], + [ + 6, + "分数" + ], + [ + 6, + "位置" + ], + [ + 6, + "位置描述" + ], + [ + 6, + "胜场数量" + ], + [ + 7, + "结果ID" + ], + [ + 7, + "比赛ID" + ], + [ + 7, + "车手ID" + ], + [ + 7, + "制造商ID" + ], + [ + 7, + "车手号码" + ], + [ + 7, + "表格" + ], + [ + 7, + "位置" + ], + [ + 7, + "位置描述" + ], + [ + 7, + "顺位" + ], + [ + 7, + "得分" + ], + [ + 7, + "圈数" + ], + [ + 7, + "时间" + ], + [ + 7, + "毫秒时间" + ], + [ + 7, + "最快圈" + ], + [ + 7, + "排名" + ], + [ + 7, + "最快圈时间" + ], + [ + 7, + "最快圈速度" + ], + [ + 7, + "状态ID" + ], + [ + 8, + "车手排行榜ID" + ], + [ + 8, + "赛事ID" + ], + [ + 8, + "车手ID" + ], + [ + 8, + "分数" + ], + [ + 8, + "位置" + ], + [ + 8, + "位置描述" + ], + [ + 8, + "胜场" + ], + [ + 9, + "制造商结果ID" + ], + [ + 9, + "赛事ID" + ], + [ + 9, + "制造商ID" + ], + [ + 9, + "分数" + ], + [ + 9, + "状态" + ], + [ + 10, + "排位赛ID" + ], + [ + 10, + "赛事ID" + ], + [ + 10, + "车手ID" + ], + [ + 10, + "制造商ID" + ], + [ + 10, + "车手号码" + ], + [ + 10, + "位置" + ], + [ + 10, + "第一圈时间" + ], + [ + 10, + "第二圈时间" + ], + [ + 10, + "第三圈时间" + ], + [ + 11, + "赛事ID" + ], + [ + 11, + "车手ID" + ], + [ + 11, + "站号" + ], + [ + 11, + "圈数" + ], + [ + 11, + "进站时间" + ], + [ + 11, + "停站时间" + ], + [ + 11, + "毫秒时间" + ], + [ + 12, + "赛事ID" + ], + [ + 12, + "车手ID" + ], + [ + 12, + "圈数" + ], + [ + 12, + "排名" + ], + [ + 12, + "时间" + ], + [ + 12, + "毫秒时间" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "circuitId" + ], + [ + 0, + "circuitRef" + ], + [ + 0, + "name" + ], + [ + 0, + "location" + ], + [ + 0, + "country" + ], + [ + 0, + "lat" + ], + [ + 0, + "lng" + ], + [ + 0, + "alt" + ], + [ + 0, + "url" + ], + [ + 1, + "raceId" + ], + [ + 1, + "year" + ], + [ + 1, + "round" + ], + [ + 1, + "circuitId" + ], + [ + 1, + "name" + ], + [ + 1, + "date" + ], + [ + 1, + "time" + ], + [ + 1, + "url" + ], + [ + 2, + "driverId" + ], + [ + 2, + "driverRef" + ], + [ + 2, + "number" + ], + [ + 2, + "code" + ], + [ + 2, + "forename" + ], + [ + 2, + "surname" + ], + [ + 2, + "dob" + ], + [ + 2, + "nationality" + ], + [ + 2, + "url" + ], + [ + 3, + "statusId" + ], + [ + 3, + "status" + ], + [ + 4, + "year" + ], + [ + 4, + "url" + ], + [ + 5, + "constructorId" + ], + [ + 5, + "constructorRef" + ], + [ + 5, + "name" + ], + [ + 5, + "nationality" + ], + [ + 5, + "url" + ], + [ + 6, + "constructorStandingsId" + ], + [ + 6, + "raceId" + ], + [ + 6, + "constructorId" + ], + [ + 6, + "points" + ], + [ + 6, + "position" + ], + [ + 6, + "positionText" + ], + [ + 6, + "wins" + ], + [ + 7, + "resultId" + ], + [ + 7, + "raceId" + ], + [ + 7, + "driverId" + ], + [ + 7, + "constructorId" + ], + [ + 7, + "number" + ], + [ + 7, + "grid" + ], + [ + 7, + "position" + ], + [ + 7, + "positionText" + ], + [ + 7, + "positionOrder" + ], + [ + 7, + "points" + ], + [ + 7, + "laps" + ], + [ + 7, + "time" + ], + [ + 7, + "milliseconds" + ], + [ + 7, + "fastestLap" + ], + [ + 7, + "rank" + ], + [ + 7, + "fastestLapTime" + ], + [ + 7, + "fastestLapSpeed" + ], + [ + 7, + "statusId" + ], + [ + 8, + "driverStandingsId" + ], + [ + 8, + "raceId" + ], + [ + 8, + "driverId" + ], + [ + 8, + "points" + ], + [ + 8, + "position" + ], + [ + 8, + "positionText" + ], + [ + 8, + "wins" + ], + [ + 9, + "constructorResultsId" + ], + [ + 9, + "raceId" + ], + [ + 9, + "constructorId" + ], + [ + 9, + "points" + ], + [ + 9, + "status" + ], + [ + 10, + "qualifyId" + ], + [ + 10, + "raceId" + ], + [ + 10, + "driverId" + ], + [ + 10, + "constructorId" + ], + [ + 10, + "number" + ], + [ + 10, + "position" + ], + [ + 10, + "q1" + ], + [ + 10, + "q2" + ], + [ + 10, + "q3" + ], + [ + 11, + "raceId" + ], + [ + 11, + "driverId" + ], + [ + 11, + "stop" + ], + [ + 11, + "lap" + ], + [ + 11, + "time" + ], + [ + 11, + "duration" + ], + [ + 11, + "milliseconds" + ], + [ + 12, + "raceId" + ], + [ + 12, + "driverId" + ], + [ + 12, + "lap" + ], + [ + 12, + "position" + ], + [ + 12, + "time" + ], + [ + 12, + "milliseconds" + ] + ], + "column_types": [ + "text", + "number", + "text", + "text", + "text", + "text", + "number", + "number", + "number", + "text", + "number", + "number", + "number", + "number", + "text", + "text", + "text", + "text", + "number", + "text", + "number", + "text", + "text", + "text", + "text", + "text", + "text", + "number", + "text", + "number", + "text", + "number", + "text", + "text", + "text", + "text", + "number", + "number", + "number", + "number", + "number", + "text", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "text", + "number", + "number", + "number", + "text", + "number", + "number", + "number", + "text", + "text", + "number", + "number", + "number", + "number", + "number", + "number", + "text", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "text", + "text", + "text", + "number", + "number", + "number", + "number", + "text", + "text", + "number", + "number", + "number", + "number", + "number", + "text", + "number" + ], + "db_id": "formula_1", + "foreign_keys": [ + [ + 13, + 1 + ], + [ + 37, + 10 + ], + [ + 38, + 31 + ], + [ + 45, + 18 + ], + [ + 44, + 10 + ], + [ + 46, + 31 + ], + [ + 63, + 18 + ], + [ + 62, + 10 + ], + [ + 69, + 10 + ], + [ + 70, + 31 + ], + [ + 75, + 18 + ], + [ + 74, + 10 + ], + [ + 76, + 31 + ], + [ + 83, + 18 + ], + [ + 82, + 10 + ], + [ + 90, + 18 + ], + [ + 89, + 10 + ] + ], + "primary_keys": [ + 1, + 10, + 18, + 27, + 29, + 31, + 36, + 43, + 61, + 68, + 73, + 82, + 89 + ], + "table_names": [ + "巡回赛", + "赛事", + "赛车手", + "状态", + "赛季", + "制造商", + "制造商排行榜", + "结果", + "车手排行榜", + "制造商结果", + "排位赛", + "进站", + "圈时" + ], + "table_names_original": [ + "circuits", + "races", + "drivers", + "status", + "seasons", + "constructors", + "constructorStandings", + "results", + "driverStandings", + "constructorResults", + "qualifying", + "pitStops", + "lapTimes" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "学生ID" + ], + [ + 0, + "姓氏" + ], + [ + 0, + "名字" + ], + [ + 0, + "年龄" + ], + [ + 0, + "性别" + ], + [ + 0, + "专业" + ], + [ + 0, + "指导老师" + ], + [ + 0, + "城市代码" + ], + [ + 1, + "游戏编号" + ], + [ + 1, + "游戏名称" + ], + [ + 1, + "游戏类型" + ], + [ + 2, + "学生ID" + ], + [ + 2, + "游戏编号" + ], + [ + 2, + "玩游戏时长" + ], + [ + 3, + "学生ID" + ], + [ + 3, + "运动名称" + ], + [ + 3, + "每周运动时长" + ], + [ + 3, + "比赛数量" + ], + [ + 3, + "奖学金" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "StuID" + ], + [ + 0, + "LName" + ], + [ + 0, + "Fname" + ], + [ + 0, + "Age" + ], + [ + 0, + "Sex" + ], + [ + 0, + "Major" + ], + [ + 0, + "Advisor" + ], + [ + 0, + "city_code" + ], + [ + 1, + "GameID" + ], + [ + 1, + "GName" + ], + [ + 1, + "GType" + ], + [ + 2, + "StuID" + ], + [ + 2, + "GameID" + ], + [ + 2, + "Hours_Played" + ], + [ + 3, + "StuID" + ], + [ + 3, + "SportName" + ], + [ + 3, + "HoursPerWeek" + ], + [ + 3, + "GamesPlayed" + ], + [ + 3, + "OnScholarship" + ] + ], + "column_types": [ + "text", + "number", + "text", + "text", + "number", + "text", + "number", + "number", + "text", + "number", + "text", + "text", + "number", + "number", + "number", + "number", + "text", + "number", + "number", + "text" + ], + "db_id": "game_1", + "foreign_keys": [ + [ + 12, + 1 + ], + [ + 13, + 9 + ], + [ + 15, + 1 + ] + ], + "primary_keys": [ + 1, + 9 + ], + "table_names": [ + "学生", + "电子游戏", + "玩游戏", + "体育信息" + ], + "table_names_original": [ + "Student", + "Video_Games", + "Plays_Games", + "SportsInfo" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "分行ID" + ], + [ + 0, + "分行名称" + ], + [ + 0, + "最多" + ], + [ + 0, + "城市" + ], + [ + 0, + "州" + ], + [ + 1, + "客户ID" + ], + [ + 1, + "客户名字" + ], + [ + 1, + "账户类型" + ], + [ + 1, + "账户余额" + ], + [ + 1, + "贷款数量" + ], + [ + 1, + "信用评分" + ], + [ + 1, + "分行ID" + ], + [ + 1, + "州" + ], + [ + 2, + "贷款ID" + ], + [ + 2, + "贷款类型" + ], + [ + 2, + "客户ID" + ], + [ + 2, + "分行ID" + ], + [ + 2, + "总额" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "branch_ID" + ], + [ + 0, + "bname" + ], + [ + 0, + "no_of_customers" + ], + [ + 0, + "city" + ], + [ + 0, + "state" + ], + [ + 1, + "cust_ID" + ], + [ + 1, + "cust_name" + ], + [ + 1, + "acc_type" + ], + [ + 1, + "acc_bal" + ], + [ + 1, + "no_of_loans" + ], + [ + 1, + "credit_score" + ], + [ + 1, + "branch_ID" + ], + [ + 1, + "state" + ], + [ + 2, + "loan_ID" + ], + [ + 2, + "loan_type" + ], + [ + 2, + "cust_ID" + ], + [ + 2, + "branch_ID" + ], + [ + 2, + "amount" + ] + ], + "column_types": [ + "text", + "number", + "text", + "number", + "text", + "text", + "text", + "text", + "text", + "number", + "number", + "number", + "number", + "text", + "text", + "text", + "text", + "text", + "number" + ], + "db_id": "loan_1", + "foreign_keys": [ + [ + 12, + 1 + ], + [ + 17, + 1 + ] + ], + "primary_keys": [ + 1, + 6, + 14 + ], + "table_names": [ + "银行", + "客户", + "贷款" + ], + "table_names_original": [ + "bank", + "customer", + "loan" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "车站ID" + ], + [ + 0, + "名称" + ], + [ + 0, + "纬度" + ], + [ + 0, + "经度" + ], + [ + 0, + "停靠数量" + ], + [ + 0, + "城市" + ], + [ + 0, + "安装日期" + ], + [ + 1, + "车站ID" + ], + [ + 1, + "可用自行车" + ], + [ + 1, + "可用停靠点" + ], + [ + 1, + "时间" + ], + [ + 2, + "行程ID" + ], + [ + 2, + "持续时间" + ], + [ + 2, + "起始日期" + ], + [ + 2, + "起始车站名称" + ], + [ + 2, + "起始车站ID" + ], + [ + 2, + "终点日期" + ], + [ + 2, + "终点车站名称" + ], + [ + 2, + "终点车站ID" + ], + [ + 2, + "自行车ID" + ], + [ + 2, + "订阅类型" + ], + [ + 2, + "邮政编码" + ], + [ + 3, + "日期" + ], + [ + 3, + "最高温度" + ], + [ + 3, + "平均温度" + ], + [ + 3, + "最低温度" + ], + [ + 3, + "最高露点" + ], + [ + 3, + "平均露点" + ], + [ + 3, + "最低露点" + ], + [ + 3, + "最高湿度" + ], + [ + 3, + "平均湿度" + ], + [ + 3, + "最低湿度" + ], + [ + 3, + "最高海平面压力" + ], + [ + 3, + "平均海平面压力" + ], + [ + 3, + "最低海平面压力" + ], + [ + 3, + "最高能见度" + ], + [ + 3, + "平均能见度" + ], + [ + 3, + "最低能见度" + ], + [ + 3, + "最大风速" + ], + [ + 3, + "平均风速" + ], + [ + 3, + "最大阵风速度" + ], + [ + 3, + "降水量" + ], + [ + 3, + "云覆盖率" + ], + [ + 3, + "事件" + ], + [ + 3, + "风向角度" + ], + [ + 3, + "邮政编码" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "id" + ], + [ + 0, + "name" + ], + [ + 0, + "lat" + ], + [ + 0, + "long" + ], + [ + 0, + "dock_count" + ], + [ + 0, + "city" + ], + [ + 0, + "installation_date" + ], + [ + 1, + "station_id" + ], + [ + 1, + "bikes_available" + ], + [ + 1, + "docks_available" + ], + [ + 1, + "time" + ], + [ + 2, + "id" + ], + [ + 2, + "duration" + ], + [ + 2, + "start_date" + ], + [ + 2, + "start_station_name" + ], + [ + 2, + "start_station_id" + ], + [ + 2, + "end_date" + ], + [ + 2, + "end_station_name" + ], + [ + 2, + "end_station_id" + ], + [ + 2, + "bike_id" + ], + [ + 2, + "subscription_type" + ], + [ + 2, + "zip_code" + ], + [ + 3, + "date" + ], + [ + 3, + "max_temperature_f" + ], + [ + 3, + "mean_temperature_f" + ], + [ + 3, + "min_temperature_f" + ], + [ + 3, + "max_dew_point_f" + ], + [ + 3, + "mean_dew_point_f" + ], + [ + 3, + "min_dew_point_f" + ], + [ + 3, + "max_humidity" + ], + [ + 3, + "mean_humidity" + ], + [ + 3, + "min_humidity" + ], + [ + 3, + "max_sea_level_pressure_inches" + ], + [ + 3, + "mean_sea_level_pressure_inches" + ], + [ + 3, + "min_sea_level_pressure_inches" + ], + [ + 3, + "max_visibility_miles" + ], + [ + 3, + "mean_visibility_miles" + ], + [ + 3, + "min_visibility_miles" + ], + [ + 3, + "max_wind_Speed_mph" + ], + [ + 3, + "mean_wind_speed_mph" + ], + [ + 3, + "max_gust_speed_mph" + ], + [ + 3, + "precipitation_inches" + ], + [ + 3, + "cloud_cover" + ], + [ + 3, + "events" + ], + [ + 3, + "wind_dir_degrees" + ], + [ + 3, + "zip_code" + ] + ], + "column_types": [ + "text", + "number", + "text", + "number", + "number", + "number", + "text", + "text", + "number", + "number", + "number", + "text", + "number", + "number", + "text", + "text", + "number", + "text", + "text", + "number", + "number", + "text", + "number", + "text", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "text", + "number", + "number" + ], + "db_id": "bike_1", + "foreign_keys": [ + [ + 8, + 1 + ] + ], + "primary_keys": [ + 1, + 12 + ], + "table_names": [ + "车站", + "状态", + "行程", + "天气" + ], + "table_names_original": [ + "station", + "status", + "trip", + "weather" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "企业家ID" + ], + [ + 0, + "人员ID" + ], + [ + 0, + "公司" + ], + [ + 0, + "资金需求" + ], + [ + 0, + "投资者" + ], + [ + 1, + "人员ID" + ], + [ + 1, + "姓名" + ], + [ + 1, + "身高" + ], + [ + 1, + "体重" + ], + [ + 1, + "生日" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "Entrepreneur_ID" + ], + [ + 0, + "People_ID" + ], + [ + 0, + "Company" + ], + [ + 0, + "Money_Requested" + ], + [ + 0, + "Investor" + ], + [ + 1, + "People_ID" + ], + [ + 1, + "Name" + ], + [ + 1, + "Height" + ], + [ + 1, + "Weight" + ], + [ + 1, + "Date_of_Birth" + ] + ], + "column_types": [ + "text", + "number", + "number", + "text", + "number", + "text", + "number", + "text", + "number", + "number", + "text" + ], + "db_id": "entrepreneur", + "foreign_keys": [ + [ + 2, + 6 + ] + ], + "primary_keys": [ + 1, + 6 + ], + "table_names": [ + "企业家", + "人员" + ], + "table_names_original": [ + "entrepreneur", + "people" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "指挥ID" + ], + [ + 0, + "姓名" + ], + [ + 0, + "年龄" + ], + [ + 0, + "国籍" + ], + [ + 0, + "工作时长" + ], + [ + 1, + "管弦乐队ID" + ], + [ + 1, + "管弦乐队名" + ], + [ + 1, + "指挥ID" + ], + [ + 1, + "唱片公司" + ], + [ + 1, + "成立年份" + ], + [ + 1, + "唱片格式" + ], + [ + 2, + "表演ID" + ], + [ + 2, + "管弦乐队ID" + ], + [ + 2, + "类型" + ], + [ + 2, + "日期" + ], + [ + 2, + "官方评分" + ], + [ + 2, + "周排名" + ], + [ + 2, + "市场份额" + ], + [ + 3, + "演出ID" + ], + [ + 3, + "表演ID" + ], + [ + 3, + "是否首映" + ], + [ + 3, + "结果" + ], + [ + 3, + "出席人数" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "Conductor_ID" + ], + [ + 0, + "Name" + ], + [ + 0, + "Age" + ], + [ + 0, + "Nationality" + ], + [ + 0, + "Year_of_Work" + ], + [ + 1, + "Orchestra_ID" + ], + [ + 1, + "Orchestra" + ], + [ + 1, + "Conductor_ID" + ], + [ + 1, + "Record_Company" + ], + [ + 1, + "Year_of_Founded" + ], + [ + 1, + "Major_Record_Format" + ], + [ + 2, + "Performance_ID" + ], + [ + 2, + "Orchestra_ID" + ], + [ + 2, + "Type" + ], + [ + 2, + "Date" + ], + [ + 2, + "Official_ratings_(millions)" + ], + [ + 2, + "Weekly_rank" + ], + [ + 2, + "Share" + ], + [ + 3, + "Show_ID" + ], + [ + 3, + "Performance_ID" + ], + [ + 3, + "If_first_show" + ], + [ + 3, + "Result" + ], + [ + 3, + "Attendance" + ] + ], + "column_types": [ + "text", + "number", + "text", + "number", + "text", + "number", + "number", + "text", + "number", + "text", + "number", + "text", + "number", + "number", + "text", + "text", + "number", + "text", + "text", + "number", + "number", + "others", + "text", + "number" + ], + "db_id": "orchestra", + "foreign_keys": [ + [ + 8, + 1 + ], + [ + 13, + 6 + ], + [ + 20, + 12 + ] + ], + "primary_keys": [ + 1, + 6, + 12 + ], + "table_names": [ + "指挥", + "管弦乐队", + "表演", + "演出" + ], + "table_names_original": [ + "conductor", + "orchestra", + "performance", + "show" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "付款方式代码" + ], + [ + 0, + "付款方式详情" + ], + [ + 1, + "服务类型代码" + ], + [ + 1, + "父服务类型代码" + ], + [ + 1, + "服务类型详情" + ], + [ + 2, + "地址ID" + ], + [ + 2, + "地址行1" + ], + [ + 2, + "地址行2" + ], + [ + 2, + "所在城镇" + ], + [ + 2, + "所在州县" + ], + [ + 2, + "其他信息" + ], + [ + 3, + "产品ID" + ], + [ + 3, + "产品名称" + ], + [ + 3, + "产品价格" + ], + [ + 3, + "差评描述" + ], + [ + 3, + "其他产品服务信息" + ], + [ + 4, + "市场区域代码" + ], + [ + 4, + "市场区域名" + ], + [ + 4, + "市场区域描述" + ], + [ + 4, + "其他信息" + ], + [ + 5, + "客户ID" + ], + [ + 5, + "地址ID" + ], + [ + 5, + "顾客邮箱" + ], + [ + 5, + "顾客姓名" + ], + [ + 5, + "顾客号码" + ], + [ + 5, + "其他信息" + ], + [ + 6, + "工作室小组ID" + ], + [ + 6, + "地址ID" + ], + [ + 6, + "货币代码" + ], + [ + 6, + "市场区域代码" + ], + [ + 6, + "商店名称" + ], + [ + 6, + "商店号码" + ], + [ + 6, + "商店邮箱" + ], + [ + 6, + "其他信息" + ], + [ + 7, + "表演者ID" + ], + [ + 7, + "地址ID" + ], + [ + 7, + "顾客姓名" + ], + [ + 7, + "顾客号码" + ], + [ + 7, + "顾客邮箱" + ], + [ + 7, + "其他信息" + ], + [ + 8, + "顾客ID" + ], + [ + 8, + "地址ID" + ], + [ + 8, + "顾客姓名" + ], + [ + 8, + "顾客号码" + ], + [ + 8, + "顾客邮箱" + ], + [ + 8, + "其他信息" + ], + [ + 9, + "商店ID" + ], + [ + 9, + "地址ID" + ], + [ + 9, + "销售区域代码" + ], + [ + 9, + "商店名称" + ], + [ + 9, + "商店号码" + ], + [ + 9, + "商店邮箱" + ], + [ + 9, + "其他信息" + ], + [ + 10, + "订单ID" + ], + [ + 10, + "顾客ID" + ], + [ + 10, + "工作小组ID" + ], + [ + 10, + "状态码" + ], + [ + 10, + "商店ID" + ], + [ + 10, + "订货日期" + ], + [ + 10, + "计划交货日期" + ], + [ + 10, + "实际交货日期" + ], + [ + 10, + "其他订单信息" + ], + [ + 11, + "订单ID" + ], + [ + 11, + "表演者ID" + ], + [ + 12, + "订单ID" + ], + [ + 12, + "顾客ID" + ], + [ + 12, + "商店ID" + ], + [ + 12, + "订货日期" + ], + [ + 12, + "计划交货日期" + ], + [ + 12, + "实际交货日期" + ], + [ + 12, + "其他订单信息" + ], + [ + 13, + "订单物品ID" + ], + [ + 13, + "订单ID" + ], + [ + 13, + "产品ID" + ], + [ + 13, + "订购总量" + ], + [ + 13, + "其他物品详情" + ], + [ + 14, + "发票ID" + ], + [ + 14, + "订单ID" + ], + [ + 14, + "付款方式代码" + ], + [ + 14, + "产品ID" + ], + [ + 14, + "订购总量" + ], + [ + 14, + "其他物品详情" + ], + [ + 14, + "其他物品ID" + ], + [ + 15, + "服务ID" + ], + [ + 15, + "服务类型代码" + ], + [ + 15, + "工作室小组ID" + ], + [ + 15, + "产品描述" + ], + [ + 15, + "产品名称" + ], + [ + 15, + "产品价格" + ], + [ + 15, + "其他产品服务信息" + ], + [ + 16, + "订单ID" + ], + [ + 16, + "产品ID" + ], + [ + 17, + "发票物品ID" + ], + [ + 17, + "发票ID" + ], + [ + 17, + "订单ID" + ], + [ + 17, + "订单物品ID" + ], + [ + 17, + "产品ID" + ], + [ + 17, + "订购总量" + ], + [ + 17, + "其他物品信息" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "payment_method_code" + ], + [ + 0, + "payment_method_description" + ], + [ + 1, + "Service_Type_Code" + ], + [ + 1, + "Parent_Service_Type_Code" + ], + [ + 1, + "Service_Type_Description" + ], + [ + 2, + "Address_ID" + ], + [ + 2, + "Line_1" + ], + [ + 2, + "Line_2" + ], + [ + 2, + "City_Town" + ], + [ + 2, + "State_County" + ], + [ + 2, + "Other_Details" + ], + [ + 3, + "Product_ID" + ], + [ + 3, + "Product_Name" + ], + [ + 3, + "Product_Price" + ], + [ + 3, + "Product_Description" + ], + [ + 3, + "Other_Product_Service_Details" + ], + [ + 4, + "Marketing_Region_Code" + ], + [ + 4, + "Marketing_Region_Name" + ], + [ + 4, + "Marketing_Region_Descriptrion" + ], + [ + 4, + "Other_Details" + ], + [ + 5, + "Client_ID" + ], + [ + 5, + "Address_ID" + ], + [ + 5, + "Customer_Email_Address" + ], + [ + 5, + "Customer_Name" + ], + [ + 5, + "Customer_Phone" + ], + [ + 5, + "Other_Details" + ], + [ + 6, + "Workshop_Group_ID" + ], + [ + 6, + "Address_ID" + ], + [ + 6, + "Currency_Code" + ], + [ + 6, + "Marketing_Region_Code" + ], + [ + 6, + "Store_Name" + ], + [ + 6, + "Store_Phone" + ], + [ + 6, + "Store_Email_Address" + ], + [ + 6, + "Other_Details" + ], + [ + 7, + "Performer_ID" + ], + [ + 7, + "Address_ID" + ], + [ + 7, + "Customer_Name" + ], + [ + 7, + "Customer_Phone" + ], + [ + 7, + "Customer_Email_Address" + ], + [ + 7, + "Other_Details" + ], + [ + 8, + "Customer_ID" + ], + [ + 8, + "Address_ID" + ], + [ + 8, + "Customer_Name" + ], + [ + 8, + "Customer_Phone" + ], + [ + 8, + "Customer_Email_Address" + ], + [ + 8, + "Other_Details" + ], + [ + 9, + "Store_ID" + ], + [ + 9, + "Address_ID" + ], + [ + 9, + "Marketing_Region_Code" + ], + [ + 9, + "Store_Name" + ], + [ + 9, + "Store_Phone" + ], + [ + 9, + "Store_Email_Address" + ], + [ + 9, + "Other_Details" + ], + [ + 10, + "Booking_ID" + ], + [ + 10, + "Customer_ID" + ], + [ + 10, + "Workshop_Group_ID" + ], + [ + 10, + "Status_Code" + ], + [ + 10, + "Store_ID" + ], + [ + 10, + "Order_Date" + ], + [ + 10, + "Planned_Delivery_Date" + ], + [ + 10, + "Actual_Delivery_Date" + ], + [ + 10, + "Other_Order_Details" + ], + [ + 11, + "Order_ID" + ], + [ + 11, + "Performer_ID" + ], + [ + 12, + "Order_ID" + ], + [ + 12, + "Customer_ID" + ], + [ + 12, + "Store_ID" + ], + [ + 12, + "Order_Date" + ], + [ + 12, + "Planned_Delivery_Date" + ], + [ + 12, + "Actual_Delivery_Date" + ], + [ + 12, + "Other_Order_Details" + ], + [ + 13, + "Order_Item_ID" + ], + [ + 13, + "Order_ID" + ], + [ + 13, + "Product_ID" + ], + [ + 13, + "Order_Quantity" + ], + [ + 13, + "Other_Item_Details" + ], + [ + 14, + "Invoice_ID" + ], + [ + 14, + "Order_ID" + ], + [ + 14, + "payment_method_code" + ], + [ + 14, + "Product_ID" + ], + [ + 14, + "Order_Quantity" + ], + [ + 14, + "Other_Item_Details" + ], + [ + 14, + "Order_Item_ID" + ], + [ + 15, + "Service_ID" + ], + [ + 15, + "Service_Type_Code" + ], + [ + 15, + "Workshop_Group_ID" + ], + [ + 15, + "Product_Description" + ], + [ + 15, + "Product_Name" + ], + [ + 15, + "Product_Price" + ], + [ + 15, + "Other_Product_Service_Details" + ], + [ + 16, + "Order_ID" + ], + [ + 16, + "Product_ID" + ], + [ + 17, + "Invoice_Item_ID" + ], + [ + 17, + "Invoice_ID" + ], + [ + 17, + "Order_ID" + ], + [ + 17, + "Order_Item_ID" + ], + [ + 17, + "Product_ID" + ], + [ + 17, + "Order_Quantity" + ], + [ + 17, + "Other_Item_Details" + ] + ], + "column_types": [ + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "number", + "text", + "text", + "text", + "text", + "text", + "text", + "number", + "number", + "text", + "text", + "text", + "text", + "number", + "number", + "text", + "text", + "text", + "text", + "text", + "text", + "number", + "number", + "text", + "text", + "text", + "text", + "text", + "number", + "text", + "text", + "text", + "text", + "text", + "number", + "text", + "text", + "text", + "text", + "text", + "number", + "number", + "text", + "text", + "number", + "time", + "time", + "time", + "text", + "number", + "number", + "number", + "number", + "number", + "time", + "time", + "time", + "text", + "number", + "number", + "number", + "text", + "text", + "number", + "number", + "text", + "number", + "text", + "text", + "number", + "number", + "text", + "number", + "text", + "text", + "number", + "text", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "number", + "text" + ], + "db_id": "cre_Drama_Workshop_Groups", + "foreign_keys": [ + [ + 22, + 6 + ], + [ + 28, + 6 + ], + [ + 36, + 6 + ], + [ + 42, + 6 + ], + [ + 49, + 17 + ], + [ + 48, + 6 + ], + [ + 56, + 27 + ], + [ + 55, + 21 + ], + [ + 63, + 54 + ], + [ + 64, + 35 + ], + [ + 67, + 47 + ], + [ + 66, + 41 + ], + [ + 74, + 12 + ], + [ + 73, + 65 + ], + [ + 79, + 1 + ], + [ + 78, + 54 + ], + [ + 78, + 65 + ], + [ + 85, + 3 + ], + [ + 86, + 27 + ], + [ + 92, + 84 + ], + [ + 91, + 54 + ], + [ + 95, + 91 + ], + [ + 97, + 92 + ], + [ + 94, + 77 + ], + [ + 96, + 72 + ] + ], + "primary_keys": [ + 1, + 3, + 6, + 12, + 17, + 21, + 27, + 35, + 41, + 47, + 54, + 63, + 65, + 72, + 77, + 84, + 91, + 93 + ], + "table_names": [ + "付款方式", + "服务类型", + "地址", + "产品", + "市场区域", + "客户", + "戏剧工作室小组", + "表演者", + "顾客", + "商店", + "订单", + "预定演出者信息", + "顾客订单", + "订单详情", + "发票详情", + "服务", + "预定服务信息", + "发票物品信息" + ], + "table_names_original": [ + "Ref_Payment_Methods", + "Ref_Service_Types", + "Addresses", + "Products", + "Marketing_Regions", + "Clients", + "Drama_Workshop_Groups", + "Performers", + "Customers", + "Stores", + "Bookings", + "Performers_in_Bookings", + "Customer_Orders", + "Order_Items", + "Invoices", + "Services", + "Bookings_Services", + "Invoice_Items" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "大洲ID" + ], + [ + 0, + "大洲名字" + ], + [ + 1, + "国家ID" + ], + [ + 1, + "国家名字" + ], + [ + 1, + "所在大洲" + ], + [ + 2, + "ID" + ], + [ + 2, + "制造商缩写" + ], + [ + 2, + "制造商全称" + ], + [ + 2, + "所在国家" + ], + [ + 3, + "型号ID" + ], + [ + 3, + "制造商" + ], + [ + 3, + "型号" + ], + [ + 4, + "制造商ID" + ], + [ + 4, + "型号" + ], + [ + 4, + "品牌" + ], + [ + 5, + "ID" + ], + [ + 5, + "MPG" + ], + [ + 5, + "气缸数" + ], + [ + 5, + "edispl" + ], + [ + 5, + "马力" + ], + [ + 5, + "重量" + ], + [ + 5, + "加速度" + ], + [ + 5, + "生产年份" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "ContId" + ], + [ + 0, + "Continent" + ], + [ + 1, + "CountryId" + ], + [ + 1, + "CountryName" + ], + [ + 1, + "Continent" + ], + [ + 2, + "Id" + ], + [ + 2, + "Maker" + ], + [ + 2, + "FullName" + ], + [ + 2, + "Country" + ], + [ + 3, + "ModelId" + ], + [ + 3, + "Maker" + ], + [ + 3, + "Model" + ], + [ + 4, + "MakeId" + ], + [ + 4, + "Model" + ], + [ + 4, + "Make" + ], + [ + 5, + "Id" + ], + [ + 5, + "MPG" + ], + [ + 5, + "Cylinders" + ], + [ + 5, + "Edispl" + ], + [ + 5, + "Horsepower" + ], + [ + 5, + "Weight" + ], + [ + 5, + "Accelerate" + ], + [ + 5, + "Year" + ] + ], + "column_types": [ + "text", + "number", + "text", + "number", + "text", + "number", + "number", + "text", + "text", + "text", + "number", + "number", + "text", + "number", + "text", + "text", + "number", + "text", + "number", + "number", + "text", + "number", + "number", + "number" + ], + "db_id": "car_1", + "foreign_keys": [ + [ + 5, + 1 + ], + [ + 9, + 3 + ], + [ + 11, + 6 + ], + [ + 14, + 12 + ], + [ + 16, + 13 + ] + ], + "primary_keys": [ + 1, + 3, + 6, + 10, + 13, + 16 + ], + "table_names": [ + "大洲", + "国家", + "汽车制造商", + "型号清单", + "汽车名称", + "汽车信息" + ], + "table_names_original": [ + "continents", + "countries", + "car_makers", + "model_list", + "car_names", + "cars_data" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "州名称" + ], + [ + 0, + "人口" + ], + [ + 0, + "面积" + ], + [ + 0, + "国家" + ], + [ + 0, + "首都" + ], + [ + 0, + "人口密度" + ], + [ + 1, + "城市名称" + ], + [ + 1, + "人口" + ], + [ + 1, + "国家" + ], + [ + 1, + "州" + ], + [ + 2, + "州名称" + ], + [ + 2, + "边界" + ], + [ + 3, + "州" + ], + [ + 3, + "最大高程" + ], + [ + 3, + "最低点" + ], + [ + 3, + "最高点" + ], + [ + 3, + "最低高程" + ], + [ + 4, + "湖名称" + ], + [ + 4, + "面积" + ], + [ + 4, + "国家" + ], + [ + 4, + "州" + ], + [ + 5, + "山脉名称" + ], + [ + 5, + "高度" + ], + [ + 5, + "国家" + ], + [ + 5, + "州" + ], + [ + 6, + "河流名称" + ], + [ + 6, + "长度" + ], + [ + 6, + "国家" + ], + [ + 6, + "穿越区域" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "state_name" + ], + [ + 0, + "population" + ], + [ + 0, + "area" + ], + [ + 0, + "country_name" + ], + [ + 0, + "capital" + ], + [ + 0, + "density" + ], + [ + 1, + "city_name" + ], + [ + 1, + "population" + ], + [ + 1, + "country_name" + ], + [ + 1, + "state_name" + ], + [ + 2, + "state_name" + ], + [ + 2, + "border" + ], + [ + 3, + "state_name" + ], + [ + 3, + "highest_elevation" + ], + [ + 3, + "lowest_point" + ], + [ + 3, + "highest_point" + ], + [ + 3, + "lowest_elevation" + ], + [ + 4, + "lake_name" + ], + [ + 4, + "area" + ], + [ + 4, + "country_name" + ], + [ + 4, + "state_name" + ], + [ + 5, + "mountain_name" + ], + [ + 5, + "mountain_altitude" + ], + [ + 5, + "country_name" + ], + [ + 5, + "state_name" + ], + [ + 6, + "river_name" + ], + [ + 6, + "length" + ], + [ + 6, + "country_name" + ], + [ + 6, + "traverse" + ] + ], + "column_types": [ + "text", + "text", + "number", + "number", + "text", + "text", + "number", + "text", + "number", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "number", + "text", + "text", + "text", + "number", + "text", + "text", + "text", + "number", + "text", + "text" + ], + "db_id": "geo", + "foreign_keys": [ + [ + 10, + 1 + ], + [ + 12, + 1 + ], + [ + 11, + 1 + ], + [ + 13, + 1 + ], + [ + 25, + 1 + ], + [ + 29, + 1 + ] + ], + "primary_keys": [ + 1, + 7, + 12, + 13, + 22, + 26 + ], + "table_names": [ + "州", + "城市", + "边界信息", + "高低图", + "湖", + "山脉", + "河流" + ], + "table_names_original": [ + "state", + "city", + "border_info", + "highlow", + "lake", + "mountain", + "river" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "地址类型代码" + ], + [ + 0, + "地址类型描述" + ], + [ + 1, + "处罚类型代码" + ], + [ + 1, + "处罚类型描述" + ], + [ + 2, + "事件类型代码" + ], + [ + 2, + "事件类型描述" + ], + [ + 3, + "地址ID" + ], + [ + 3, + "地址行1" + ], + [ + 3, + "地址行2" + ], + [ + 3, + "地址行3" + ], + [ + 3, + "城市" + ], + [ + 3, + "邮政编码" + ], + [ + 3, + "所在州" + ], + [ + 3, + "所在国家" + ], + [ + 3, + "其他地址信息" + ], + [ + 4, + "学生ID" + ], + [ + 4, + "地址ID" + ], + [ + 4, + "名" + ], + [ + 4, + "中间名" + ], + [ + 4, + "姓" + ], + [ + 4, + "手机号码" + ], + [ + 4, + "电子邮箱" + ], + [ + 4, + "入学时间" + ], + [ + 4, + "离校时间" + ], + [ + 4, + "其他信息" + ], + [ + 5, + "老师ID" + ], + [ + 5, + "地址ID" + ], + [ + 5, + "名" + ], + [ + 5, + "中间名" + ], + [ + 5, + "姓" + ], + [ + 5, + "性别" + ], + [ + 5, + "手机号码" + ], + [ + 5, + "电子邮件" + ], + [ + 5, + "其他信息" + ], + [ + 6, + "笔记ID" + ], + [ + 6, + "学生ID" + ], + [ + 6, + "老师ID" + ], + [ + 6, + "笔记日期" + ], + [ + 6, + "笔记内容" + ], + [ + 6, + "其他信息" + ], + [ + 7, + "事件ID" + ], + [ + 7, + "事件类型代码" + ], + [ + 7, + "学生ID" + ], + [ + 7, + "时间开始时间" + ], + [ + 7, + "时间结束时间" + ], + [ + 7, + "时间简述" + ], + [ + 7, + "推荐解决方法" + ], + [ + 7, + "其他信息" + ], + [ + 8, + "处罚ID" + ], + [ + 8, + "处罚类型代码" + ], + [ + 8, + "老师ID" + ], + [ + 8, + "处罚开始时间" + ], + [ + 8, + "处罚结束时间" + ], + [ + 8, + "处罚小结" + ], + [ + 8, + "其他信息" + ], + [ + 9, + "学生ID" + ], + [ + 9, + "地址ID" + ], + [ + 9, + "开始时间" + ], + [ + 9, + "结束时间" + ], + [ + 9, + "月租金" + ], + [ + 9, + "其他信息" + ], + [ + 10, + "学生ID" + ], + [ + 10, + "处罚ID" + ], + [ + 10, + "事件ID" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "address_type_code" + ], + [ + 0, + "address_type_description" + ], + [ + 1, + "detention_type_code" + ], + [ + 1, + "detention_type_description" + ], + [ + 2, + "incident_type_code" + ], + [ + 2, + "incident_type_description" + ], + [ + 3, + "address_id" + ], + [ + 3, + "line_1" + ], + [ + 3, + "line_2" + ], + [ + 3, + "line_3" + ], + [ + 3, + "city" + ], + [ + 3, + "zip_postcode" + ], + [ + 3, + "state_province_county" + ], + [ + 3, + "country" + ], + [ + 3, + "other_address_details" + ], + [ + 4, + "student_id" + ], + [ + 4, + "address_id" + ], + [ + 4, + "first_name" + ], + [ + 4, + "middle_name" + ], + [ + 4, + "last_name" + ], + [ + 4, + "cell_mobile_number" + ], + [ + 4, + "email_address" + ], + [ + 4, + "date_first_rental" + ], + [ + 4, + "date_left_university" + ], + [ + 4, + "other_student_details" + ], + [ + 5, + "teacher_id" + ], + [ + 5, + "address_id" + ], + [ + 5, + "first_name" + ], + [ + 5, + "middle_name" + ], + [ + 5, + "last_name" + ], + [ + 5, + "gender" + ], + [ + 5, + "cell_mobile_number" + ], + [ + 5, + "email_address" + ], + [ + 5, + "other_details" + ], + [ + 6, + "notes_id" + ], + [ + 6, + "student_id" + ], + [ + 6, + "teacher_id" + ], + [ + 6, + "date_of_notes" + ], + [ + 6, + "text_of_notes" + ], + [ + 6, + "other_details" + ], + [ + 7, + "incident_id" + ], + [ + 7, + "incident_type_code" + ], + [ + 7, + "student_id" + ], + [ + 7, + "date_incident_start" + ], + [ + 7, + "date_incident_end" + ], + [ + 7, + "incident_summary" + ], + [ + 7, + "recommendations" + ], + [ + 7, + "other_details" + ], + [ + 8, + "detention_id" + ], + [ + 8, + "detention_type_code" + ], + [ + 8, + "teacher_id" + ], + [ + 8, + "datetime_detention_start" + ], + [ + 8, + "datetime_detention_end" + ], + [ + 8, + "detention_summary" + ], + [ + 8, + "other_details" + ], + [ + 9, + "student_id" + ], + [ + 9, + "address_id" + ], + [ + 9, + "date_address_from" + ], + [ + 9, + "date_address_to" + ], + [ + 9, + "monthly_rental" + ], + [ + 9, + "other_details" + ], + [ + 10, + "student_id" + ], + [ + 10, + "detention_id" + ], + [ + 10, + "incident_id" + ] + ], + "column_types": [ + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "number", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "number", + "number", + "text", + "text", + "text", + "text", + "text", + "time", + "time", + "text", + "number", + "number", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "number", + "number", + "number", + "time", + "text", + "text", + "number", + "text", + "number", + "time", + "time", + "text", + "text", + "text", + "number", + "text", + "number", + "time", + "time", + "text", + "text", + "number", + "number", + "time", + "time", + "number", + "text", + "number", + "number", + "number" + ], + "db_id": "behavior_monitoring", + "foreign_keys": [ + [ + 17, + 7 + ], + [ + 27, + 7 + ], + [ + 37, + 26 + ], + [ + 36, + 16 + ], + [ + 43, + 16 + ], + [ + 42, + 5 + ], + [ + 51, + 26 + ], + [ + 50, + 3 + ], + [ + 56, + 16 + ], + [ + 57, + 7 + ], + [ + 62, + 16 + ], + [ + 63, + 49 + ], + [ + 64, + 41 + ] + ], + "primary_keys": [ + 1, + 3, + 5, + 7, + 16, + 26, + 41, + 49 + ], + "table_names": [ + "参考地址类型", + "处罚类型", + "参考事件类型", + "地址", + "学生", + "老师", + "评估笔记", + "行为事件", + "处罚", + "学生住址", + "学生处罚名单" + ], + "table_names_original": [ + "Ref_Address_Types", + "Ref_Detention_Type", + "Ref_Incident_Type", + "Addresses", + "Students", + "Teachers", + "Assessment_Notes", + "Behavior_Incident", + "Detention", + "Student_Addresses", + "Students_in_Detention" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "文档类型代码" + ], + [ + 0, + "文档类型名" + ], + [ + 0, + "文档类型描述" + ], + [ + 1, + "时间" + ], + [ + 1, + "天数" + ], + [ + 2, + "位置代码" + ], + [ + 2, + "位置名称" + ], + [ + 2, + "位置描述" + ], + [ + 3, + "岗位代码" + ], + [ + 3, + "岗位名称" + ], + [ + 3, + "岗位描述" + ], + [ + 4, + "文档ID" + ], + [ + 4, + "存储日期" + ], + [ + 4, + "文档类型代码" + ], + [ + 4, + "文档名称" + ], + [ + 4, + "文档描述" + ], + [ + 4, + "其他信息" + ], + [ + 5, + "员工ID" + ], + [ + 5, + "岗位代码" + ], + [ + 5, + "员工姓名" + ], + [ + 5, + "性别" + ], + [ + 5, + "出生日期" + ], + [ + 5, + "其他信息" + ], + [ + 6, + "文档ID" + ], + [ + 6, + "位置代码" + ], + [ + 6, + "开始时间" + ], + [ + 6, + "结束时间" + ], + [ + 7, + "文档ID" + ], + [ + 7, + "授权员工的ID" + ], + [ + 7, + "员工ID" + ], + [ + 7, + "计划销毁时间" + ], + [ + 7, + "实际销毁时间" + ], + [ + 7, + "其他信息" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "Document_Type_Code" + ], + [ + 0, + "Document_Type_Name" + ], + [ + 0, + "Document_Type_Description" + ], + [ + 1, + "Calendar_Date" + ], + [ + 1, + "Day_Number" + ], + [ + 2, + "Location_Code" + ], + [ + 2, + "Location_Name" + ], + [ + 2, + "Location_Description" + ], + [ + 3, + "Role_Code" + ], + [ + 3, + "Role_Name" + ], + [ + 3, + "Role_Description" + ], + [ + 4, + "Document_ID" + ], + [ + 4, + "Date_Stored" + ], + [ + 4, + "Document_Type_Code" + ], + [ + 4, + "Document_Name" + ], + [ + 4, + "Document_Description" + ], + [ + 4, + "Other_Details" + ], + [ + 5, + "Employee_ID" + ], + [ + 5, + "Role_Code" + ], + [ + 5, + "Employee_Name" + ], + [ + 5, + "Gender_MFU" + ], + [ + 5, + "Date_of_Birth" + ], + [ + 5, + "Other_Details" + ], + [ + 6, + "Document_ID" + ], + [ + 6, + "Location_Code" + ], + [ + 6, + "Date_in_Location_From" + ], + [ + 6, + "Date_in_Locaton_To" + ], + [ + 7, + "Document_ID" + ], + [ + 7, + "Destruction_Authorised_by_Employee_ID" + ], + [ + 7, + "Destroyed_by_Employee_ID" + ], + [ + 7, + "Planned_Destruction_Date" + ], + [ + 7, + "Actual_Destruction_Date" + ], + [ + 7, + "Other_Details" + ] + ], + "column_types": [ + "text", + "text", + "text", + "text", + "time", + "number", + "text", + "text", + "text", + "text", + "text", + "text", + "number", + "time", + "text", + "text", + "text", + "text", + "number", + "text", + "text", + "text", + "time", + "text", + "number", + "text", + "time", + "time", + "number", + "number", + "number", + "time", + "time", + "text" + ], + "db_id": "cre_Doc_Tracking_DB", + "foreign_keys": [ + [ + 13, + 4 + ], + [ + 14, + 1 + ], + [ + 19, + 9 + ], + [ + 24, + 12 + ], + [ + 27, + 4 + ], + [ + 26, + 4 + ], + [ + 25, + 6 + ], + [ + 28, + 12 + ], + [ + 32, + 4 + ], + [ + 31, + 4 + ], + [ + 29, + 18 + ], + [ + 30, + 18 + ] + ], + "primary_keys": [ + 1, + 4, + 6, + 9, + 12, + 18, + 24, + 28 + ], + "table_names": [ + "参考文档类型", + "参考日历", + "位置", + "岗位", + "所有文档", + "员工的ID", + "文档位置", + "销毁文档" + ], + "table_names_original": [ + "Ref_Document_Types", + "Ref_Calendar", + "Ref_Locations", + "Roles", + "All_Documents", + "Employees", + "Document_Locations", + "Documents_to_be_Destroyed" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "球队id" + ], + [ + 0, + "大学id" + ], + [ + 0, + "球队名称" + ], + [ + 0, + "ACC常规赛结果" + ], + [ + 0, + "ACC胜率" + ], + [ + 0, + "ACC主场结果" + ], + [ + 0, + "ACC客场结果" + ], + [ + 0, + "所有比赛结果" + ], + [ + 0, + "所有比赛胜率" + ], + [ + 0, + "所有比赛主场结果" + ], + [ + 0, + "所有比赛客场结果" + ], + [ + 0, + "所有比赛中立场结果" + ], + [ + 1, + "大学id" + ], + [ + 1, + "大学名" + ], + [ + 1, + "位置" + ], + [ + 1, + "创立时间" + ], + [ + 1, + "类型" + ], + [ + 1, + "招生人数" + ], + [ + 1, + "学校别名" + ], + [ + 1, + "主要联盟" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "Team_ID" + ], + [ + 0, + "School_ID" + ], + [ + 0, + "Team_Name" + ], + [ + 0, + "ACC_Regular_Season" + ], + [ + 0, + "ACC_Percent" + ], + [ + 0, + "ACC_Home" + ], + [ + 0, + "ACC_Road" + ], + [ + 0, + "All_Games" + ], + [ + 0, + "All_Games_Percent" + ], + [ + 0, + "All_Home" + ], + [ + 0, + "All_Road" + ], + [ + 0, + "All_Neutral" + ], + [ + 1, + "School_ID" + ], + [ + 1, + "School" + ], + [ + 1, + "Location" + ], + [ + 1, + "Founded" + ], + [ + 1, + "Affiliation" + ], + [ + 1, + "Enrollment" + ], + [ + 1, + "Nickname" + ], + [ + 1, + "Primary_conference" + ] + ], + "column_types": [ + "text", + "number", + "number", + "text", + "text", + "text", + "text", + "text", + "text", + "number", + "text", + "text", + "text", + "number", + "text", + "text", + "number", + "text", + "number", + "text", + "text" + ], + "db_id": "university_basketball", + "foreign_keys": [ + [ + 2, + 13 + ] + ], + "primary_keys": [ + 1, + 13 + ], + "table_names": [ + "篮球比赛", + "大学" + ], + "table_names_original": [ + "basketball_match", + "university" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "学校名称" + ], + [ + 0, + "所在州" + ], + [ + 0, + "学生人数" + ], + [ + 1, + "运动员ID" + ], + [ + 1, + "运动员名字" + ], + [ + 1, + "录取卡" + ], + [ + 1, + "训练时间" + ], + [ + 2, + "运动员ID" + ], + [ + 2, + "学校名称" + ], + [ + 2, + "运动员负责位置" + ], + [ + 2, + "最终决定" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "cName" + ], + [ + 0, + "state" + ], + [ + 0, + "enr" + ], + [ + 1, + "pID" + ], + [ + 1, + "pName" + ], + [ + 1, + "yCard" + ], + [ + 1, + "HS" + ], + [ + 2, + "pID" + ], + [ + 2, + "cName" + ], + [ + 2, + "pPos" + ], + [ + 2, + "decision" + ] + ], + "column_types": [ + "text", + "text", + "text", + "number", + "number", + "text", + "text", + "number", + "number", + "text", + "text", + "text" + ], + "db_id": "soccer_2", + "foreign_keys": [ + [ + 9, + 1 + ], + [ + 8, + 4 + ] + ], + "primary_keys": [ + 1, + 4, + 8 + ], + "table_names": [ + "学校", + "运动员", + "选拔赛" + ], + "table_names_original": [ + "College", + "Player", + "Tryout" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "活动ID" + ], + [ + 0, + "活动名" + ], + [ + 1, + "学生id" + ], + [ + 1, + "活动ID" + ], + [ + 2, + "教职工ID" + ], + [ + 2, + "活动ID" + ], + [ + 3, + "学生ID" + ], + [ + 3, + "姓" + ], + [ + 3, + "名" + ], + [ + 3, + "年龄" + ], + [ + 3, + "性别" + ], + [ + 3, + "专业" + ], + [ + 3, + "导师" + ], + [ + 3, + "城市代码" + ], + [ + 4, + "教职工ID" + ], + [ + 4, + "姓" + ], + [ + 4, + "名" + ], + [ + 4, + "职称" + ], + [ + 4, + "性别" + ], + [ + 4, + "电话号码" + ], + [ + 4, + "房间号" + ], + [ + 4, + "办公楼" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "actid" + ], + [ + 0, + "activity_name" + ], + [ + 1, + "stuid" + ], + [ + 1, + "actid" + ], + [ + 2, + "FacID" + ], + [ + 2, + "actid" + ], + [ + 3, + "StuID" + ], + [ + 3, + "LName" + ], + [ + 3, + "Fname" + ], + [ + 3, + "Age" + ], + [ + 3, + "Sex" + ], + [ + 3, + "Major" + ], + [ + 3, + "Advisor" + ], + [ + 3, + "city_code" + ], + [ + 4, + "FacID" + ], + [ + 4, + "Lname" + ], + [ + 4, + "Fname" + ], + [ + 4, + "Rank" + ], + [ + 4, + "Sex" + ], + [ + 4, + "Phone" + ], + [ + 4, + "Room" + ], + [ + 4, + "Building" + ] + ], + "column_types": [ + "text", + "number", + "text", + "number", + "number", + "number", + "number", + "number", + "text", + "text", + "number", + "text", + "number", + "number", + "text", + "number", + "text", + "text", + "text", + "text", + "number", + "text", + "text" + ], + "db_id": "activity_1", + "foreign_keys": [ + [ + 4, + 1 + ], + [ + 3, + 7 + ], + [ + 6, + 1 + ], + [ + 5, + 15 + ] + ], + "primary_keys": [ + 1, + 7, + 15 + ], + "table_names": [ + "活动", + "学生参与名单", + "教职工参与名单", + "学生", + "教职工" + ], + "table_names_original": [ + "Activity", + "Participates_in", + "Faculty_Participates_in", + "Student", + "Faculty" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "星级评价" + ], + [ + 0, + "星级描述" + ], + [ + 1, + "地址ID" + ], + [ + 1, + "地址名称" + ], + [ + 1, + "地址" + ], + [ + 1, + "其他信息" + ], + [ + 2, + "景点类型代码" + ], + [ + 2, + "景点类型描述" + ], + [ + 3, + "游客ID" + ], + [ + 3, + "游客详情" + ], + [ + 4, + "项目ID" + ], + [ + 4, + "项目详情" + ], + [ + 5, + "酒店ID" + ], + [ + 5, + "星级评价" + ], + [ + 5, + "是否允许携带宠物" + ], + [ + 5, + "价格范围" + ], + [ + 5, + "其他信息" + ], + [ + 6, + "旅游景点ID" + ], + [ + 6, + "景点类型代码" + ], + [ + 6, + "地址ID" + ], + [ + 6, + "到达方式" + ], + [ + 6, + "名" + ], + [ + 6, + "景点描述" + ], + [ + 6, + "营业时间" + ], + [ + 6, + "其他信息" + ], + [ + 7, + "市场ID" + ], + [ + 7, + "市场详细信息" + ], + [ + 8, + "商店ID" + ], + [ + 8, + "商店详情" + ], + [ + 9, + "博物馆ID" + ], + [ + 9, + "博物馆详情" + ], + [ + 10, + "皇室家族ID" + ], + [ + 10, + "皇室家族详情" + ], + [ + 11, + "主题公园ID" + ], + [ + 11, + "主题公园详情" + ], + [ + 12, + "游览记录ID" + ], + [ + 12, + "旅游景点ID" + ], + [ + 12, + "游客ID" + ], + [ + 12, + "来访日期" + ], + [ + 12, + "游览记录详情" + ], + [ + 13, + "照片ID" + ], + [ + 13, + "旅游景点ID" + ], + [ + 13, + "名字" + ], + [ + 13, + "描述" + ], + [ + 13, + "文件名" + ], + [ + 13, + "其他信息" + ], + [ + 14, + "工作人员ID" + ], + [ + 14, + "旅游景点ID" + ], + [ + 14, + "名字" + ], + [ + 14, + "其他细节" + ], + [ + 15, + "旅游景点ID" + ], + [ + 15, + "项目ID" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "star_rating_code" + ], + [ + 0, + "star_rating_description" + ], + [ + 1, + "Location_ID" + ], + [ + 1, + "Location_Name" + ], + [ + 1, + "Address" + ], + [ + 1, + "Other_Details" + ], + [ + 2, + "Attraction_Type_Code" + ], + [ + 2, + "Attraction_Type_Description" + ], + [ + 3, + "Tourist_ID" + ], + [ + 3, + "Tourist_Details" + ], + [ + 4, + "Feature_ID" + ], + [ + 4, + "Feature_Details" + ], + [ + 5, + "hotel_id" + ], + [ + 5, + "star_rating_code" + ], + [ + 5, + "pets_allowed_yn" + ], + [ + 5, + "price_range" + ], + [ + 5, + "other_hotel_details" + ], + [ + 6, + "Tourist_Attraction_ID" + ], + [ + 6, + "Attraction_Type_Code" + ], + [ + 6, + "Location_ID" + ], + [ + 6, + "How_to_Get_There" + ], + [ + 6, + "Name" + ], + [ + 6, + "Description" + ], + [ + 6, + "Opening_Hours" + ], + [ + 6, + "Other_Details" + ], + [ + 7, + "Market_ID" + ], + [ + 7, + "Market_Details" + ], + [ + 8, + "Shop_ID" + ], + [ + 8, + "Shop_Details" + ], + [ + 9, + "Museum_ID" + ], + [ + 9, + "Museum_Details" + ], + [ + 10, + "Royal_Family_ID" + ], + [ + 10, + "Royal_Family_Details" + ], + [ + 11, + "Theme_Park_ID" + ], + [ + 11, + "Theme_Park_Details" + ], + [ + 12, + "Visit_ID" + ], + [ + 12, + "Tourist_Attraction_ID" + ], + [ + 12, + "Tourist_ID" + ], + [ + 12, + "Visit_Date" + ], + [ + 12, + "Visit_Details" + ], + [ + 13, + "Photo_ID" + ], + [ + 13, + "Tourist_Attraction_ID" + ], + [ + 13, + "Name" + ], + [ + 13, + "Description" + ], + [ + 13, + "Filename" + ], + [ + 13, + "Other_Details" + ], + [ + 14, + "Staff_ID" + ], + [ + 14, + "Tourist_Attraction_ID" + ], + [ + 14, + "Name" + ], + [ + 14, + "Other_Details" + ], + [ + 15, + "Tourist_Attraction_ID" + ], + [ + 15, + "Feature_ID" + ] + ], + "column_types": [ + "text", + "text", + "text", + "number", + "text", + "text", + "text", + "text", + "text", + "number", + "text", + "number", + "text", + "number", + "text", + "text", + "number", + "text", + "number", + "text", + "number", + "text", + "text", + "text", + "text", + "text", + "number", + "text", + "number", + "text", + "number", + "text", + "number", + "text", + "number", + "text", + "number", + "number", + "number", + "time", + "text", + "number", + "number", + "text", + "text", + "text", + "text", + "number", + "number", + "text", + "text", + "number", + "number" + ], + "db_id": "cre_Theme_park", + "foreign_keys": [ + [ + 14, + 1 + ], + [ + 19, + 7 + ], + [ + 20, + 3 + ], + [ + 26, + 18 + ], + [ + 28, + 18 + ], + [ + 30, + 18 + ], + [ + 32, + 18 + ], + [ + 34, + 18 + ], + [ + 38, + 9 + ], + [ + 37, + 18 + ], + [ + 42, + 18 + ], + [ + 48, + 18 + ], + [ + 52, + 11 + ], + [ + 51, + 18 + ] + ], + "primary_keys": [ + 1, + 3, + 7, + 9, + 11, + 13, + 18, + 26, + 28, + 30, + 32, + 34, + 36, + 41, + 47, + 51 + ], + "table_names": [ + "酒店星级评定", + "地址", + "景点类型", + "游客", + "特色项目", + "酒店", + "旅游景点", + "街道市场", + "商店", + "博物馆", + "皇室家族", + "主题公园", + "游览记录", + "照片", + "工作人员", + "旅游景点特色项目" + ], + "table_names_original": [ + "Ref_Hotel_Star_Ratings", + "Locations", + "Ref_Attraction_Types", + "Visitors", + "Features", + "Hotels", + "Tourist_Attractions", + "Street_Markets", + "Shops", + "Museums", + "Royal_Family", + "Theme_Parks", + "Visits", + "Photos", + "Staff", + "Tourist_Attraction_Features" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "用户ID" + ], + [ + 0, + "粉丝ID" + ], + [ + 1, + "ID" + ], + [ + 1, + "用户ID" + ], + [ + 1, + "内容" + ], + [ + 1, + "发布时间" + ], + [ + 2, + "用户ID" + ], + [ + 2, + "姓名" + ], + [ + 2, + "邮箱" + ], + [ + 2, + "分区ID" + ], + [ + 2, + "粉丝数" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "f1" + ], + [ + 0, + "f2" + ], + [ + 1, + "id" + ], + [ + 1, + "uid" + ], + [ + 1, + "text" + ], + [ + 1, + "createdate" + ], + [ + 2, + "uid" + ], + [ + 2, + "name" + ], + [ + 2, + "email" + ], + [ + 2, + "partitionid" + ], + [ + 2, + "followers" + ] + ], + "column_types": [ + "text", + "number", + "number", + "number", + "number", + "text", + "time", + "number", + "text", + "text", + "number", + "number" + ], + "db_id": "twitter_1", + "foreign_keys": [ + [ + 2, + 7 + ], + [ + 1, + 7 + ], + [ + 4, + 7 + ] + ], + "primary_keys": [ + 1, + 3, + 7 + ], + "table_names": [ + "粉丝", + "推文", + "用户个人简历" + ], + "table_names_original": [ + "follows", + "tweets", + "user_profiles" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "选举ID" + ], + [ + 0, + "候选人" + ], + [ + 0, + "日期" + ], + [ + 0, + "得票" + ], + [ + 0, + "得票率" + ], + [ + 0, + "席位" + ], + [ + 0, + "站点" + ], + [ + 1, + "候选人ID" + ], + [ + 1, + "候选人姓名" + ], + [ + 1, + "州" + ], + [ + 1, + "党派" + ], + [ + 1, + "任职期限" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "Election_ID" + ], + [ + 0, + "Representative_ID" + ], + [ + 0, + "Date" + ], + [ + 0, + "Votes" + ], + [ + 0, + "Vote_Percent" + ], + [ + 0, + "Seats" + ], + [ + 0, + "Place" + ], + [ + 1, + "Representative_ID" + ], + [ + 1, + "Name" + ], + [ + 1, + "State" + ], + [ + 1, + "Party" + ], + [ + 1, + "Lifespan" + ] + ], + "column_types": [ + "text", + "number", + "number", + "text", + "number", + "number", + "number", + "number", + "number", + "text", + "text", + "text", + "text" + ], + "db_id": "election_representative", + "foreign_keys": [ + [ + 2, + 8 + ] + ], + "primary_keys": [ + 1, + 8 + ], + "table_names": [ + "选举", + "候选人" + ], + "table_names_original": [ + "election", + "representative" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "学生ID" + ], + [ + 0, + "姓" + ], + [ + 0, + "名" + ], + [ + 0, + "年龄" + ], + [ + 0, + "性别" + ], + [ + 0, + "专业" + ], + [ + 0, + "指导老师" + ], + [ + 0, + "城市代码" + ], + [ + 1, + "学生ID" + ], + [ + 1, + "投票日期" + ], + [ + 1, + "选举周期" + ], + [ + 1, + "主席选票" + ], + [ + 1, + "副主席选票" + ], + [ + 1, + "部长选票" + ], + [ + 1, + "会计选票" + ], + [ + 1, + "班长选票" + ], + [ + 1, + "班议员选票" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "StuID" + ], + [ + 0, + "LName" + ], + [ + 0, + "Fname" + ], + [ + 0, + "Age" + ], + [ + 0, + "Sex" + ], + [ + 0, + "Major" + ], + [ + 0, + "Advisor" + ], + [ + 0, + "city_code" + ], + [ + 1, + "StuID" + ], + [ + 1, + "Registration_Date" + ], + [ + 1, + "Election_Cycle" + ], + [ + 1, + "President_Vote" + ], + [ + 1, + "Vice_President_Vote" + ], + [ + 1, + "Secretary_Vote" + ], + [ + 1, + "Treasurer_Vote" + ], + [ + 1, + "Class_President_Vote" + ], + [ + 1, + "Class_Senator_Vote" + ] + ], + "column_types": [ + "text", + "number", + "text", + "text", + "number", + "text", + "number", + "number", + "text", + "number", + "text", + "text", + "number", + "number", + "number", + "number", + "number", + "number" + ], + "db_id": "voter_2", + "foreign_keys": [ + [ + 17, + 1 + ], + [ + 16, + 1 + ], + [ + 15, + 1 + ], + [ + 14, + 1 + ], + [ + 13, + 1 + ], + [ + 12, + 1 + ], + [ + 9, + 1 + ] + ], + "primary_keys": [ + 1 + ], + "table_names": [ + "学生", + "投票记录" + ], + "table_names_original": [ + "Student", + "Voting_record" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "成员ID" + ], + [ + 0, + "姓名" + ], + [ + 0, + "国家" + ], + [ + 0, + "男性或女性" + ], + [ + 0, + "年龄" + ], + [ + 1, + "教堂ID" + ], + [ + 1, + "名字" + ], + [ + 1, + "创始人" + ], + [ + 1, + "开放日期" + ], + [ + 1, + "宗教" + ], + [ + 2, + "教堂ID" + ], + [ + 2, + "男性ID" + ], + [ + 2, + "女性ID" + ], + [ + 2, + "婚礼年份" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "People_ID" + ], + [ + 0, + "Name" + ], + [ + 0, + "Country" + ], + [ + 0, + "Is_Male" + ], + [ + 0, + "Age" + ], + [ + 1, + "Church_ID" + ], + [ + 1, + "Name" + ], + [ + 1, + "Organized_by" + ], + [ + 1, + "Open_Date" + ], + [ + 1, + "Continuation_of" + ], + [ + 2, + "Church_ID" + ], + [ + 2, + "Male_ID" + ], + [ + 2, + "Female_ID" + ], + [ + 2, + "Year" + ] + ], + "column_types": [ + "text", + "number", + "text", + "text", + "text", + "number", + "number", + "text", + "text", + "number", + "text", + "number", + "number", + "number", + "number" + ], + "db_id": "wedding", + "foreign_keys": [ + [ + 13, + 1 + ], + [ + 12, + 1 + ], + [ + 11, + 6 + ] + ], + "primary_keys": [ + 1, + 6, + 11 + ], + "table_names": [ + "成员", + "教堂", + "婚礼" + ], + "table_names_original": [ + "people", + "church", + "wedding" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "新闻ID" + ], + [ + 0, + "日期" + ], + [ + 0, + "场地" + ], + [ + 0, + "名称" + ], + [ + 0, + "出席人数" + ], + [ + 1, + "记者ID" + ], + [ + 1, + "姓名" + ], + [ + 1, + "国籍" + ], + [ + 1, + "年龄" + ], + [ + 1, + "工作时间" + ], + [ + 2, + "记者ID" + ], + [ + 2, + "新闻ID" + ], + [ + 2, + "工作类型" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "Event_ID" + ], + [ + 0, + "Date" + ], + [ + 0, + "Venue" + ], + [ + 0, + "Name" + ], + [ + 0, + "Event_Attendance" + ], + [ + 1, + "journalist_ID" + ], + [ + 1, + "Name" + ], + [ + 1, + "Nationality" + ], + [ + 1, + "Age" + ], + [ + 1, + "Years_working" + ], + [ + 2, + "journalist_ID" + ], + [ + 2, + "Event_ID" + ], + [ + 2, + "Work_Type" + ] + ], + "column_types": [ + "text", + "number", + "text", + "text", + "text", + "number", + "number", + "text", + "text", + "text", + "number", + "number", + "number", + "text" + ], + "db_id": "news_report", + "foreign_keys": [ + [ + 12, + 1 + ], + [ + 11, + 6 + ] + ], + "primary_keys": [ + 1, + 6, + 11 + ], + "table_names": [ + "新闻", + "记者", + "新闻报道" + ], + "table_names_original": [ + "event", + "journalist", + "news_report" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "ID" + ], + [ + 0, + "葡萄种类" + ], + [ + 0, + "颜色" + ], + [ + 1, + "编号" + ], + [ + 1, + "产地" + ], + [ + 1, + "县" + ], + [ + 1, + "州" + ], + [ + 1, + "地区" + ], + [ + 1, + "是否有AVA资质" + ], + [ + 2, + "编号" + ], + [ + 2, + "葡萄" + ], + [ + 2, + "酒庄" + ], + [ + 2, + "产地" + ], + [ + 2, + "州" + ], + [ + 2, + "名字" + ], + [ + 2, + "年份" + ], + [ + 2, + "价格" + ], + [ + 2, + "评分" + ], + [ + 2, + "箱数" + ], + [ + 2, + "饮用时间" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "ID" + ], + [ + 0, + "Grape" + ], + [ + 0, + "Color" + ], + [ + 1, + "No" + ], + [ + 1, + "Appelation" + ], + [ + 1, + "County" + ], + [ + 1, + "State" + ], + [ + 1, + "Area" + ], + [ + 1, + "isAVA" + ], + [ + 2, + "No" + ], + [ + 2, + "Grape" + ], + [ + 2, + "Winery" + ], + [ + 2, + "Appelation" + ], + [ + 2, + "State" + ], + [ + 2, + "Name" + ], + [ + 2, + "Year" + ], + [ + 2, + "Price" + ], + [ + 2, + "Score" + ], + [ + 2, + "Cases" + ], + [ + 2, + "Drink" + ] + ], + "column_types": [ + "text", + "number", + "text", + "text", + "number", + "text", + "text", + "text", + "text", + "text", + "number", + "text", + "text", + "text", + "text", + "text", + "number", + "number", + "number", + "number", + "text" + ], + "db_id": "wine_1", + "foreign_keys": [ + [ + 13, + 5 + ], + [ + 11, + 2 + ] + ], + "primary_keys": [ + 1, + 4 + ], + "table_names": [ + "葡萄", + "产地", + "葡萄酒" + ], + "table_names_original": [ + "grapes", + "appellations", + "wine" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "地址ID" + ], + [ + 0, + "地址详情" + ], + [ + 0, + "所在城市" + ], + [ + 0, + "邮政编码" + ], + [ + 0, + "州" + ], + [ + 0, + "国家" + ], + [ + 0, + "其他详细信息" + ], + [ + 1, + "产品ID" + ], + [ + 1, + "产品详细信息" + ], + [ + 2, + "顾客ID" + ], + [ + 2, + "付款方式" + ], + [ + 2, + "顾客姓名" + ], + [ + 2, + "首单时间" + ], + [ + 2, + "其他详细信息" + ], + [ + 3, + "顾客ID" + ], + [ + 3, + "地址ID" + ], + [ + 3, + "开始居住时间" + ], + [ + 3, + "地址类型" + ], + [ + 3, + "结束居住时间" + ], + [ + 4, + "顾客ID" + ], + [ + 4, + "联系方式代码" + ], + [ + 4, + "有效时间" + ], + [ + 4, + "有效期限" + ], + [ + 4, + "联系方式号码" + ], + [ + 5, + "订单ID" + ], + [ + 5, + "顾客ID" + ], + [ + 5, + "订单状态" + ], + [ + 5, + "订单日期" + ], + [ + 5, + "订单详情" + ], + [ + 6, + "订单ID" + ], + [ + 6, + "产品的ID" + ], + [ + 6, + "订购数量" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "address_id" + ], + [ + 0, + "address_content" + ], + [ + 0, + "city" + ], + [ + 0, + "zip_postcode" + ], + [ + 0, + "state_province_county" + ], + [ + 0, + "country" + ], + [ + 0, + "other_address_details" + ], + [ + 1, + "product_id" + ], + [ + 1, + "product_details" + ], + [ + 2, + "customer_id" + ], + [ + 2, + "payment_method" + ], + [ + 2, + "customer_name" + ], + [ + 2, + "date_became_customer" + ], + [ + 2, + "other_customer_details" + ], + [ + 3, + "customer_id" + ], + [ + 3, + "address_id" + ], + [ + 3, + "date_address_from" + ], + [ + 3, + "address_type" + ], + [ + 3, + "date_address_to" + ], + [ + 4, + "customer_id" + ], + [ + 4, + "channel_code" + ], + [ + 4, + "active_from_date" + ], + [ + 4, + "active_to_date" + ], + [ + 4, + "contact_number" + ], + [ + 5, + "order_id" + ], + [ + 5, + "customer_id" + ], + [ + 5, + "order_status" + ], + [ + 5, + "order_date" + ], + [ + 5, + "order_details" + ], + [ + 6, + "order_id" + ], + [ + 6, + "product_id" + ], + [ + 6, + "order_quantity" + ] + ], + "column_types": [ + "text", + "number", + "text", + "text", + "text", + "text", + "text", + "text", + "number", + "text", + "number", + "text", + "text", + "time", + "text", + "number", + "number", + "time", + "text", + "time", + "number", + "text", + "time", + "time", + "text", + "number", + "number", + "text", + "time", + "text", + "number", + "number", + "text" + ], + "db_id": "customers_and_addresses", + "foreign_keys": [ + [ + 15, + 10 + ], + [ + 16, + 1 + ], + [ + 20, + 10 + ], + [ + 26, + 10 + ], + [ + 30, + 25 + ], + [ + 31, + 8 + ] + ], + "primary_keys": [ + 1, + 8, + 10, + 25 + ], + "table_names": [ + "地址", + "产品", + "顾客", + "顾客地址", + "顾客联系方式", + "顾客订单", + "订单产品" + ], + "table_names_original": [ + "Addresses", + "Products", + "Customers", + "Customer_Addresses", + "Customer_Contact_Channels", + "Customer_Orders", + "Order_Items" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "建筑编号" + ], + [ + 0, + "名称" + ], + [ + 0, + "所在街道" + ], + [ + 0, + "维持最高建筑年份" + ], + [ + 0, + "高度" + ], + [ + 0, + "楼层数" + ], + [ + 1, + "机构ID" + ], + [ + 1, + "机构" + ], + [ + 1, + "位置" + ], + [ + 1, + "成立年份" + ], + [ + 1, + "类型" + ], + [ + 1, + "在职人数" + ], + [ + 1, + "团队" + ], + [ + 1, + "主要会议" + ], + [ + 1, + "建筑ID" + ], + [ + 2, + "通用名称" + ], + [ + 2, + "蛋白质名称" + ], + [ + 2, + "与人类蛋白质序列的差异度" + ], + [ + 2, + "蛋白质序列编号" + ], + [ + 2, + "序列长度" + ], + [ + 2, + "与人类蛋白质序列一致度" + ], + [ + 2, + "机构ID" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "building_id" + ], + [ + 0, + "Name" + ], + [ + 0, + "Street_address" + ], + [ + 0, + "Years_as_tallest" + ], + [ + 0, + "Height_feet" + ], + [ + 0, + "Floors" + ], + [ + 1, + "Institution_id" + ], + [ + 1, + "Institution" + ], + [ + 1, + "Location" + ], + [ + 1, + "Founded" + ], + [ + 1, + "Type" + ], + [ + 1, + "Enrollment" + ], + [ + 1, + "Team" + ], + [ + 1, + "Primary_Conference" + ], + [ + 1, + "building_id" + ], + [ + 2, + "common_name" + ], + [ + 2, + "protein_name" + ], + [ + 2, + "divergence_from_human_lineage" + ], + [ + 2, + "accession_number" + ], + [ + 2, + "sequence_length" + ], + [ + 2, + "sequence_identity_to_human_protein" + ], + [ + 2, + "Institution_id" + ] + ], + "column_types": [ + "text", + "text", + "text", + "text", + "text", + "number", + "number", + "text", + "text", + "text", + "number", + "text", + "number", + "text", + "text", + "text", + "text", + "text", + "number", + "text", + "number", + "text", + "text" + ], + "db_id": "protein_institute", + "foreign_keys": [ + [ + 15, + 1 + ], + [ + 22, + 7 + ] + ], + "primary_keys": [ + 1, + 7, + 16 + ], + "table_names": [ + "建筑", + "机构", + "蛋白质" + ], + "table_names_original": [ + "building", + "Institution", + "protein" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "学校ID" + ], + [ + 0, + "学校名称" + ], + [ + 0, + "地点" + ], + [ + 0, + "在校学生人数" + ], + [ + 0, + "成立年份" + ], + [ + 0, + "教派" + ], + [ + 0, + "男校或女校" + ], + [ + 0, + "寄宿制/非寄宿制" + ], + [ + 0, + "参加比赛年份" + ], + [ + 0, + "学校代表颜色" + ], + [ + 1, + "学校ID" + ], + [ + 1, + "昵称" + ], + [ + 1, + "颜色" + ], + [ + 1, + "联盟" + ], + [ + 1, + "组别" + ], + [ + 1, + "赛区" + ], + [ + 2, + "学校ID" + ], + [ + 2, + "年份" + ], + [ + 2, + "亚军" + ], + [ + 2, + "冠军" + ], + [ + 3, + "运动员ID" + ], + [ + 3, + "运动员" + ], + [ + 3, + "球队" + ], + [ + 3, + "年龄" + ], + [ + 3, + "球队职位" + ], + [ + 3, + "学校ID" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "School_ID" + ], + [ + 0, + "School" + ], + [ + 0, + "Location" + ], + [ + 0, + "Enrollment" + ], + [ + 0, + "Founded" + ], + [ + 0, + "Denomination" + ], + [ + 0, + "Boys_or_Girls" + ], + [ + 0, + "Day_or_Boarding" + ], + [ + 0, + "Year_Entered_Competition" + ], + [ + 0, + "School_Colors" + ], + [ + 1, + "School_ID" + ], + [ + 1, + "Nickname" + ], + [ + 1, + "Colors" + ], + [ + 1, + "League" + ], + [ + 1, + "Class" + ], + [ + 1, + "Division" + ], + [ + 2, + "School_Id" + ], + [ + 2, + "School_Year" + ], + [ + 2, + "Class_A" + ], + [ + 2, + "Class_AA" + ], + [ + 3, + "Player_ID" + ], + [ + 3, + "Player" + ], + [ + 3, + "Team" + ], + [ + 3, + "Age" + ], + [ + 3, + "Position" + ], + [ + 3, + "School_ID" + ] + ], + "column_types": [ + "text", + "number", + "text", + "text", + "number", + "number", + "text", + "text", + "text", + "number", + "text", + "number", + "text", + "text", + "text", + "text", + "text", + "number", + "text", + "text", + "text", + "number", + "text", + "text", + "number", + "text", + "number" + ], + "db_id": "school_player", + "foreign_keys": [ + [ + 11, + 1 + ], + [ + 17, + 1 + ], + [ + 26, + 1 + ] + ], + "primary_keys": [ + 1, + 11, + 17, + 21 + ], + "table_names": [ + "学校", + "学校详细信息", + "学校排行榜", + "运动员" + ], + "table_names_original": [ + "school", + "school_details", + "school_performance", + "player" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "型号名称" + ], + [ + 0, + "发布时间" + ], + [ + 0, + "RAM大小" + ], + [ + 0, + "ROM大小" + ], + [ + 0, + "插槽类型" + ], + [ + 0, + "WIFI" + ], + [ + 0, + "蓝牙" + ], + [ + 1, + "图形型号" + ], + [ + 1, + "字符单元" + ], + [ + 1, + "像素" + ], + [ + 1, + "硬件色彩" + ], + [ + 1, + "屏幕使用量(kb)" + ], + [ + 1, + "按键映射" + ], + [ + 1, + "类型" + ], + [ + 2, + "公司名称" + ], + [ + 2, + "硬件型号名称" + ], + [ + 2, + "认证类型" + ], + [ + 2, + "认证等级" + ], + [ + 2, + "认证状态" + ], + [ + 2, + "芯片型号" + ], + [ + 2, + "屏幕型号" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "Model_name" + ], + [ + 0, + "Launch_year" + ], + [ + 0, + "RAM_MiB" + ], + [ + 0, + "ROM_MiB" + ], + [ + 0, + "Slots" + ], + [ + 0, + "WiFi" + ], + [ + 0, + "Bluetooth" + ], + [ + 1, + "Graphics_mode" + ], + [ + 1, + "Char_cells" + ], + [ + 1, + "Pixels" + ], + [ + 1, + "Hardware_colours" + ], + [ + 1, + "used_kb" + ], + [ + 1, + "map" + ], + [ + 1, + "Type" + ], + [ + 2, + "Company_name" + ], + [ + 2, + "Hardware_Model_name" + ], + [ + 2, + "Accreditation_type" + ], + [ + 2, + "Accreditation_level" + ], + [ + 2, + "Date" + ], + [ + 2, + "chip_model" + ], + [ + 2, + "screen_mode" + ] + ], + "column_types": [ + "text", + "text", + "number", + "number", + "number", + "text", + "text", + "text", + "number", + "text", + "text", + "number", + "number", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text" + ], + "db_id": "phone_1", + "foreign_keys": [ + [ + 20, + 1 + ], + [ + 21, + 8 + ] + ], + "primary_keys": [ + 1, + 8, + 16 + ], + "table_names": [ + "芯片型号", + "屏幕型号", + "手机" + ], + "table_names_original": [ + "chip_model", + "screen_mode", + "phone" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "id" + ], + [ + 0, + "系列节目名称" + ], + [ + 0, + "国家" + ], + [ + 0, + "语言" + ], + [ + 0, + "内容" + ], + [ + 0, + "像素高宽比" + ], + [ + 0, + "是否需高清晰度" + ], + [ + 0, + "是否付费" + ], + [ + 0, + "套餐选项" + ], + [ + 1, + "id" + ], + [ + 1, + "剧集" + ], + [ + 1, + "开播日期" + ], + [ + 1, + "评分" + ], + [ + 1, + "市场份额" + ], + [ + 1, + "18_49评级份额" + ], + [ + 1, + "收视率" + ], + [ + 1, + "周排名" + ], + [ + 1, + "频道" + ], + [ + 2, + "id" + ], + [ + 2, + "片名" + ], + [ + 2, + "导演" + ], + [ + 2, + "编剧" + ], + [ + 2, + "开播日期" + ], + [ + 2, + "制作代码" + ], + [ + 2, + "频道" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "id" + ], + [ + 0, + "series_name" + ], + [ + 0, + "Country" + ], + [ + 0, + "Language" + ], + [ + 0, + "Content" + ], + [ + 0, + "Pixel_aspect_ratio_PAR" + ], + [ + 0, + "Hight_definition_TV" + ], + [ + 0, + "Pay_per_view_PPV" + ], + [ + 0, + "Package_Option" + ], + [ + 1, + "id" + ], + [ + 1, + "Episode" + ], + [ + 1, + "Air_Date" + ], + [ + 1, + "Rating" + ], + [ + 1, + "Share" + ], + [ + 1, + "18_49_Rating_Share" + ], + [ + 1, + "Viewers_m" + ], + [ + 1, + "Weekly_Rank" + ], + [ + 1, + "Channel" + ], + [ + 2, + "id" + ], + [ + 2, + "Title" + ], + [ + 2, + "Directed_by" + ], + [ + 2, + "Written_by" + ], + [ + 2, + "Original_air_date" + ], + [ + 2, + "Production_code" + ], + [ + 2, + "Channel" + ] + ], + "column_types": [ + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "number", + "text", + "text", + "text", + "number", + "text", + "text", + "number", + "text", + "number", + "text", + "text", + "text", + "text", + "number", + "text" + ], + "db_id": "tvshow", + "foreign_keys": [ + [ + 18, + 1 + ], + [ + 25, + 1 + ] + ], + "primary_keys": [ + 1, + 10, + 19 + ], + "table_names": [ + "电视频道", + "电视系列节目", + "动画片" + ], + "table_names_original": [ + "TV_Channel", + "TV_series", + "Cartoon" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "摔跤运动员ID" + ], + [ + 0, + "姓名" + ], + [ + 0, + "统治力" + ], + [ + 0, + "举办天数" + ], + [ + 0, + "地点" + ], + [ + 0, + "比赛项目" + ], + [ + 1, + "淘汰ID" + ], + [ + 1, + "摔跤运动员ID" + ], + [ + 1, + "队伍" + ], + [ + 1, + "胜者" + ], + [ + 1, + "淘汰动作" + ], + [ + 1, + "时间" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "Wrestler_ID" + ], + [ + 0, + "Name" + ], + [ + 0, + "Reign" + ], + [ + 0, + "Days_held" + ], + [ + 0, + "Location" + ], + [ + 0, + "Event" + ], + [ + 1, + "Elimination_ID" + ], + [ + 1, + "Wrestler_ID" + ], + [ + 1, + "Team" + ], + [ + 1, + "Eliminated_By" + ], + [ + 1, + "Elimination_Move" + ], + [ + 1, + "Time" + ] + ], + "column_types": [ + "text", + "number", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "text" + ], + "db_id": "wrestler", + "foreign_keys": [ + [ + 8, + 1 + ] + ], + "primary_keys": [ + 1, + 7 + ], + "table_names": [ + "摔跤运动员", + "淘汰" + ], + "table_names_original": [ + "wrestler", + "Elimination" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "工作人员ID" + ], + [ + 0, + "性别" + ], + [ + 0, + "名" + ], + [ + 0, + "姓" + ], + [ + 0, + "电子邮箱" + ], + [ + 0, + "电话号码" + ], + [ + 1, + "客户ID" + ], + [ + 1, + "客户类型代码" + ], + [ + 1, + "地址行1" + ], + [ + 1, + "地址行2" + ], + [ + 1, + "城市" + ], + [ + 1, + "州" + ], + [ + 1, + "电子邮箱" + ], + [ + 1, + "电话号码" + ], + [ + 2, + "产品ID" + ], + [ + 2, + "母公司产品ID" + ], + [ + 2, + "产品类型代码" + ], + [ + 2, + "产品上市时间" + ], + [ + 2, + "产品下市时间" + ], + [ + 2, + "产品名称" + ], + [ + 2, + "产品描述" + ], + [ + 2, + "产品价格" + ], + [ + 3, + "投诉ID" + ], + [ + 3, + "产品ID" + ], + [ + 3, + "客户ID" + ], + [ + 3, + "投诉结果代码" + ], + [ + 3, + "投诉状态代码" + ], + [ + 3, + "投诉类型代码" + ], + [ + 3, + "投诉提交时间" + ], + [ + 3, + "投诉解决时间" + ], + [ + 3, + "工作人员ID" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "staff_id" + ], + [ + 0, + "gender" + ], + [ + 0, + "first_name" + ], + [ + 0, + "last_name" + ], + [ + 0, + "email_address" + ], + [ + 0, + "phone_number" + ], + [ + 1, + "customer_id" + ], + [ + 1, + "customer_type_code" + ], + [ + 1, + "address_line_1" + ], + [ + 1, + "address_line_2" + ], + [ + 1, + "town_city" + ], + [ + 1, + "state" + ], + [ + 1, + "email_address" + ], + [ + 1, + "phone_number" + ], + [ + 2, + "product_id" + ], + [ + 2, + "parent_product_id" + ], + [ + 2, + "product_category_code" + ], + [ + 2, + "date_product_first_available" + ], + [ + 2, + "date_product_discontinued" + ], + [ + 2, + "product_name" + ], + [ + 2, + "product_description" + ], + [ + 2, + "product_price" + ], + [ + 3, + "complaint_id" + ], + [ + 3, + "product_id" + ], + [ + 3, + "customer_id" + ], + [ + 3, + "complaint_outcome_code" + ], + [ + 3, + "complaint_status_code" + ], + [ + 3, + "complaint_type_code" + ], + [ + 3, + "date_complaint_raised" + ], + [ + 3, + "date_complaint_closed" + ], + [ + 3, + "staff_id" + ] + ], + "column_types": [ + "text", + "number", + "text", + "text", + "text", + "text", + "text", + "number", + "text", + "text", + "text", + "text", + "text", + "text", + "text", + "number", + "number", + "text", + "time", + "time", + "text", + "text", + "number", + "number", + "number", + "number", + "text", + "text", + "text", + "time", + "time", + "number" + ], + "db_id": "customer_complaints", + "foreign_keys": [ + [ + 25, + 7 + ], + [ + 24, + 15 + ], + [ + 31, + 1 + ] + ], + "primary_keys": [ + 1, + 7, + 15 + ], + "table_names": [ + "工作人员", + "客户", + "产品", + "投诉" + ], + "table_names_original": [ + "Staff", + "Customers", + "Products", + "Complaints" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "部门ID" + ], + [ + 0, + "部门名称" + ], + [ + 0, + "创立年份" + ], + [ + 0, + "排名" + ], + [ + 0, + "预算" + ], + [ + 0, + "员工人数" + ], + [ + 1, + "主管ID" + ], + [ + 1, + "姓名" + ], + [ + 1, + "出生地" + ], + [ + 1, + "年龄" + ], + [ + 2, + "部门ID" + ], + [ + 2, + "主管ID" + ], + [ + 2, + "临时代理状态" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "Department_ID" + ], + [ + 0, + "Name" + ], + [ + 0, + "Creation" + ], + [ + 0, + "Ranking" + ], + [ + 0, + "Budget_in_Billions" + ], + [ + 0, + "Num_Employees" + ], + [ + 1, + "head_ID" + ], + [ + 1, + "name" + ], + [ + 1, + "born_state" + ], + [ + 1, + "age" + ], + [ + 2, + "department_ID" + ], + [ + 2, + "head_ID" + ], + [ + 2, + "temporary_acting" + ] + ], + "column_types": [ + "text", + "number", + "text", + "text", + "number", + "number", + "number", + "number", + "text", + "text", + "number", + "number", + "number", + "text" + ], + "db_id": "department_management", + "foreign_keys": [ + [ + 12, + 7 + ], + [ + 11, + 1 + ] + ], + "primary_keys": [ + 1, + 7, + 11 + ], + "table_names": [ + "部门", + "主管", + "管理" + ], + "table_names_original": [ + "department", + "head", + "management" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "地址ID" + ], + [ + 0, + "详细地址" + ], + [ + 0, + "城市" + ], + [ + 0, + "邮政编码" + ], + [ + 0, + "州" + ], + [ + 0, + "国家" + ], + [ + 1, + "产品ID" + ], + [ + 1, + "产品类型代码" + ], + [ + 1, + "产品名称" + ], + [ + 1, + "产品价格" + ], + [ + 2, + "顾客ID" + ], + [ + 2, + "付款方式代码" + ], + [ + 2, + "顾客编号" + ], + [ + 2, + "顾客姓名" + ], + [ + 2, + "顾客地址" + ], + [ + 2, + "顾客联系电话" + ], + [ + 2, + "顾客邮箱" + ], + [ + 3, + "联系人ID" + ], + [ + 3, + "顾客ID" + ], + [ + 3, + "性别" + ], + [ + 3, + "名" + ], + [ + 3, + "姓" + ], + [ + 3, + "联系电话" + ], + [ + 4, + "顾客ID" + ], + [ + 4, + "地址ID" + ], + [ + 4, + "起始日期" + ], + [ + 4, + "结束日期" + ], + [ + 5, + "订单ID" + ], + [ + 5, + "顾客ID" + ], + [ + 5, + "交易日期" + ], + [ + 5, + "交易状态码" + ], + [ + 6, + "订单物品ID" + ], + [ + 6, + "订单ID" + ], + [ + 6, + "产品ID" + ], + [ + 6, + "订单总产品数量" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "address_id" + ], + [ + 0, + "line_1_number_building" + ], + [ + 0, + "city" + ], + [ + 0, + "zip_postcode" + ], + [ + 0, + "state_province_county" + ], + [ + 0, + "country" + ], + [ + 1, + "product_id" + ], + [ + 1, + "product_type_code" + ], + [ + 1, + "product_name" + ], + [ + 1, + "product_price" + ], + [ + 2, + "customer_id" + ], + [ + 2, + "payment_method_code" + ], + [ + 2, + "customer_number" + ], + [ + 2, + "customer_name" + ], + [ + 2, + "customer_address" + ], + [ + 2, + "customer_phone" + ], + [ + 2, + "customer_email" + ], + [ + 3, + "contact_id" + ], + [ + 3, + "customer_id" + ], + [ + 3, + "gender" + ], + [ + 3, + "first_name" + ], + [ + 3, + "last_name" + ], + [ + 3, + "contact_phone" + ], + [ + 4, + "customer_id" + ], + [ + 4, + "address_id" + ], + [ + 4, + "date_from" + ], + [ + 4, + "date_to" + ], + [ + 5, + "order_id" + ], + [ + 5, + "customer_id" + ], + [ + 5, + "order_date" + ], + [ + 5, + "order_status_code" + ], + [ + 6, + "order_item_id" + ], + [ + 6, + "order_id" + ], + [ + 6, + "product_id" + ], + [ + 6, + "order_quantity" + ] + ], + "column_types": [ + "text", + "number", + "text", + "text", + "text", + "text", + "text", + "number", + "text", + "text", + "number", + "number", + "text", + "text", + "text", + "text", + "text", + "text", + "number", + "number", + "text", + "text", + "text", + "text", + "number", + "number", + "time", + "time", + "number", + "number", + "time", + "text", + "number", + "number", + "number", + "text" + ], + "db_id": "customers_and_products_contacts", + "foreign_keys": [ + [ + 25, + 1 + ], + [ + 24, + 11 + ], + [ + 29, + 11 + ], + [ + 33, + 28 + ], + [ + 34, + 7 + ] + ], + "primary_keys": [ + 1, + 7, + 11, + 18, + 28 + ], + "table_names": [ + "地址", + "产品", + "顾客", + "通讯录", + "顾客住址记录", + "顾客订单", + "订单数量" + ], + "table_names_original": [ + "Addresses", + "Products", + "Customers", + "Contacts", + "Customer_Address_History", + "Customer_Orders", + "Order_Items" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "工作人员编号" + ], + [ + 0, + "项目编号" + ], + [ + 0, + "工作时长" + ], + [ + 1, + "名" + ], + [ + 1, + "姓名缩写" + ], + [ + 1, + "姓" + ], + [ + 1, + "编号" + ], + [ + 1, + "生日" + ], + [ + 1, + "地址" + ], + [ + 1, + "性别" + ], + [ + 1, + "工资" + ], + [ + 1, + "上级编号" + ], + [ + 1, + "部门编号" + ], + [ + 2, + "部门名称" + ], + [ + 2, + "部门编号" + ], + [ + 2, + "经理编号" + ], + [ + 2, + "经理任职日期" + ], + [ + 3, + "项目名" + ], + [ + 3, + "项目编号" + ], + [ + 3, + "项目地点" + ], + [ + 3, + "部门编号" + ], + [ + 4, + "工作人员编号" + ], + [ + 4, + "被资助者姓名" + ], + [ + 4, + "性别" + ], + [ + 4, + "出生日期" + ], + [ + 4, + "关系" + ], + [ + 5, + "部门编号" + ], + [ + 5, + "部门地点" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "Essn" + ], + [ + 0, + "Pno" + ], + [ + 0, + "Hours" + ], + [ + 1, + "Fname" + ], + [ + 1, + "Minit" + ], + [ + 1, + "Lname" + ], + [ + 1, + "Ssn" + ], + [ + 1, + "Bdate" + ], + [ + 1, + "Address" + ], + [ + 1, + "Sex" + ], + [ + 1, + "Salary" + ], + [ + 1, + "Super_ssn" + ], + [ + 1, + "Dno" + ], + [ + 2, + "Dname" + ], + [ + 2, + "Dnumber" + ], + [ + 2, + "Mgr_ssn" + ], + [ + 2, + "Mgr_start_date" + ], + [ + 3, + "Pname" + ], + [ + 3, + "Pnumber" + ], + [ + 3, + "Plocation" + ], + [ + 3, + "Dnum" + ], + [ + 4, + "Essn" + ], + [ + 4, + "Dependent_name" + ], + [ + 4, + "Sex" + ], + [ + 4, + "Bdate" + ], + [ + 4, + "Relationship" + ], + [ + 5, + "Dnumber" + ], + [ + 5, + "Dlocation" + ] + ], + "column_types": [ + "text", + "number", + "number", + "number", + "text", + "text", + "text", + "number", + "text", + "text", + "text", + "number", + "number", + "number", + "text", + "number", + "number", + "text", + "text", + "number", + "text", + "number", + "number", + "text", + "text", + "text", + "text", + "number", + "text" + ], + "db_id": "company_1", + "foreign_keys": [], + "primary_keys": [ + 1, + 7, + 15, + 19, + 22, + 27 + ], + "table_names": [ + "工作时长", + "工作人员", + "部门", + "项目", + "资助关系", + "部门地点" + ], + "table_names_original": [ + "works_on", + "employee", + "department", + "project", + "dependent", + "dept_locations" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "研讨会ID" + ], + [ + 0, + "日期" + ], + [ + 0, + "地点" + ], + [ + 0, + "会议名" + ], + [ + 1, + "论文ID" + ], + [ + 1, + "得分" + ], + [ + 1, + "作者" + ], + [ + 1, + "大学" + ], + [ + 2, + "论文ID" + ], + [ + 2, + "研讨会ID" + ], + [ + 2, + "结果" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "Workshop_ID" + ], + [ + 0, + "Date" + ], + [ + 0, + "Venue" + ], + [ + 0, + "Name" + ], + [ + 1, + "Submission_ID" + ], + [ + 1, + "Scores" + ], + [ + 1, + "Author" + ], + [ + 1, + "College" + ], + [ + 2, + "Submission_ID" + ], + [ + 2, + "Workshop_ID" + ], + [ + 2, + "Result" + ] + ], + "column_types": [ + "text", + "number", + "text", + "text", + "text", + "number", + "number", + "text", + "text", + "number", + "number", + "text" + ], + "db_id": "workshop_paper", + "foreign_keys": [ + [ + 10, + 1 + ], + [ + 9, + 5 + ] + ], + "primary_keys": [ + 1, + 5, + 9 + ], + "table_names": [ + "研讨会", + "论文投稿", + "审稿状态" + ], + "table_names_original": [ + "workshop", + "submission", + "Acceptance" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "商品ID" + ], + [ + 0, + "商品名" + ], + [ + 1, + "评论ID" + ], + [ + 1, + "用户ID" + ], + [ + 1, + "商品ID" + ], + [ + 1, + "评分" + ], + [ + 1, + "评级" + ], + [ + 2, + "用户ID" + ], + [ + 2, + "用户名" + ], + [ + 3, + "评论用户ID" + ], + [ + 3, + "被评论用户ID" + ], + [ + 3, + "可信度" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "i_id" + ], + [ + 0, + "title" + ], + [ + 1, + "a_id" + ], + [ + 1, + "u_id" + ], + [ + 1, + "i_id" + ], + [ + 1, + "rating" + ], + [ + 1, + "rank" + ], + [ + 2, + "u_id" + ], + [ + 2, + "name" + ], + [ + 3, + "source_u_id" + ], + [ + 3, + "target_u_id" + ], + [ + 3, + "trust" + ] + ], + "column_types": [ + "text", + "number", + "text", + "number", + "number", + "number", + "number", + "number", + "number", + "text", + "number", + "number", + "number" + ], + "db_id": "epinions_1", + "foreign_keys": [ + [ + 5, + 1 + ], + [ + 4, + 8 + ], + [ + 11, + 8 + ], + [ + 10, + 8 + ] + ], + "primary_keys": [ + 1, + 3, + 8 + ], + "table_names": [ + "商品", + "评论", + "评论用户", + "可信度" + ], + "table_names_original": [ + "item", + "review", + "useracct", + "trust" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "派对" + ], + [ + 0, + "派对主题" + ], + [ + 0, + "地点" + ], + [ + 0, + "开始年份" + ], + [ + 0, + "结束年份" + ], + [ + 0, + "主办方数量" + ], + [ + 1, + "主办方ID" + ], + [ + 1, + "姓名" + ], + [ + 1, + "国籍" + ], + [ + 1, + "年龄" + ], + [ + 2, + "派对ID" + ], + [ + 2, + "主办方ID" + ], + [ + 2, + "是否为主要负责人" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "Party_ID" + ], + [ + 0, + "Party_Theme" + ], + [ + 0, + "Location" + ], + [ + 0, + "First_year" + ], + [ + 0, + "Last_year" + ], + [ + 0, + "Number_of_hosts" + ], + [ + 1, + "Host_ID" + ], + [ + 1, + "Name" + ], + [ + 1, + "Nationality" + ], + [ + 1, + "Age" + ], + [ + 2, + "Party_ID" + ], + [ + 2, + "Host_ID" + ], + [ + 2, + "Is_Main_in_Charge" + ] + ], + "column_types": [ + "text", + "number", + "text", + "text", + "text", + "text", + "number", + "number", + "text", + "text", + "text", + "number", + "number", + "others" + ], + "db_id": "party_host", + "foreign_keys": [ + [ + 11, + 1 + ], + [ + 12, + 7 + ] + ], + "primary_keys": [ + 1, + 7, + 11 + ], + "table_names": [ + "派对", + "主办方", + "派对主办方" + ], + "table_names_original": [ + "party", + "host", + "party_host" + ] + }, + { + "column_names": [ + [ + -1, + "*" + ], + [ + 0, + "属性ID" + ], + [ + 0, + "属性名" + ], + [ + 0, + "属性数据类型" + ], + [ + 1, + "目录ID" + ], + [ + 1, + "目录名" + ], + [ + 1, + "目录供应商" + ], + [ + 1, + "上市日期" + ], + [ + 1, + "修订日期" + ], + [ + 2, + "目录等级编号" + ], + [ + 2, + "目录ID" + ], + [ + 2, + "目录等级名" + ], + [ + 3, + "目录条目ID" + ], + [ + 3, + "目录等级编号" + ], + [ + 3, + "父条目ID" + ], + [ + 3, + "旧条目ID" + ], + [ + 3, + "新条目ID" + ], + [ + 3, + "目录条目名" + ], + [ + 3, + "产品库存编号" + ], + [ + 3, + "美元价格" + ], + [ + 3, + "欧元价格" + ], + [ + 3, + "英镑价格" + ], + [ + 3, + "库存量" + ], + [ + 3, + "长度" + ], + [ + 3, + "高度" + ], + [ + 3, + "宽度" + ], + [ + 4, + "目录条例ID" + ], + [ + 4, + "目录等级编号" + ], + [ + 4, + "属性ID" + ], + [ + 4, + "属性值" + ] + ], + "column_names_original": [ + [ + -1, + "*" + ], + [ + 0, + "attribute_id" + ], + [ + 0, + "attribute_name" + ], + [ + 0, + "attribute_data_type" + ], + [ + 1, + "catalog_id" + ], + [ + 1, + "catalog_name" + ], + [ + 1, + "catalog_publisher" + ], + [ + 1, + "date_of_publication" + ], + [ + 1, + "date_of_latest_revision" + ], + [ + 2, + "catalog_level_number" + ], + [ + 2, + "catalog_id" + ], + [ + 2, + "catalog_level_name" + ], + [ + 3, + "catalog_entry_id" + ], + [ + 3, + "catalog_level_number" + ], + [ + 3, + "parent_entry_id" + ], + [ + 3, + "previous_entry_id" + ], + [ + 3, + "next_entry_id" + ], + [ + 3, + "catalog_entry_name" + ], + [ + 3, + "product_stock_number" + ], + [ + 3, + "price_in_dollars" + ], + [ + 3, + "price_in_euros" + ], + [ + 3, + "price_in_pounds" + ], + [ + 3, + "capacity" + ], + [ + 3, + "length" + ], + [ + 3, + "height" + ], + [ + 3, + "width" + ], + [ + 4, + "catalog_entry_id" + ], + [ + 4, + "catalog_level_number" + ], + [ + 4, + "attribute_id" + ], + [ + 4, + "attribute_value" + ] + ], + "column_types": [ + "text", + "number", + "text", + "text", + "number", + "text", + "text", + "time", + "time", + "number", + "number", + "text", + "number", + "number", + "number", + "number", + "number", + "text", + "text", + "number", + "number", + "number", + "text", + "text", + "text", + "text", + "number", + "number", + "number", + "text" + ], + "db_id": "product_catalog", + "foreign_keys": [ + [ + 10, + 4 + ], + [ + 13, + 9 + ], + [ + 27, + 9 + ], + [ + 26, + 12 + ] + ], + "primary_keys": [ + 1, + 4, + 9, + 12 + ], + "table_names": [ + "属性定义", + "产品目录", + "目录结构", + "产品目录细则", + "目录产品附加属性" + ], + "table_names_original": [ + "Attribute_Definitions", + "Catalogs", + "Catalog_Structure", + "Catalog_Contents", + "Catalog_Contents_Additional_Attributes" + ] + } +] \ No newline at end of file