From df4270f703c15d2ac7b26cb34ccabdb4f34cd041 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9E=97=E4=BF=8A=E4=BC=9F?= <2421084001@qq.com> Date: Tue, 12 Sep 2023 20:12:50 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E4=BD=9C=E4=B8=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...00\346\254\241\347\254\224\350\256\260.md" | 5 + ...65\345\275\261\344\275\234\344\270\232.md" | 211 ++++++++++++++++++ 2 files changed, 216 insertions(+) create mode 100644 "12\346\236\227\344\277\212\344\274\237/0905\347\254\254\344\270\200\346\254\241\347\254\224\350\256\260.md" create mode 100644 "12\346\236\227\344\277\212\344\274\237/0912\347\224\265\345\275\261\344\275\234\344\270\232.md" diff --git "a/12\346\236\227\344\277\212\344\274\237/0905\347\254\254\344\270\200\346\254\241\347\254\224\350\256\260.md" "b/12\346\236\227\344\277\212\344\274\237/0905\347\254\254\344\270\200\346\254\241\347\254\224\350\256\260.md" new file mode 100644 index 0000000..fae05c4 --- /dev/null +++ "b/12\346\236\227\344\277\212\344\274\237/0905\347\254\254\344\270\200\346\254\241\347\254\224\350\256\260.md" @@ -0,0 +1,5 @@ +分析大二如何规划时间和学习,多余时间应该怎么用。 + +多关注招聘网和计算机网络 + +加强学习 \ No newline at end of file diff --git "a/12\346\236\227\344\277\212\344\274\237/0912\347\224\265\345\275\261\344\275\234\344\270\232.md" "b/12\346\236\227\344\277\212\344\274\237/0912\347\224\265\345\275\261\344\275\234\344\270\232.md" new file mode 100644 index 0000000..c178105 --- /dev/null +++ "b/12\346\236\227\344\277\212\344\274\237/0912\347\224\265\345\275\261\344\275\234\344\270\232.md" @@ -0,0 +1,211 @@ +/*==============================================================*/ +/* DBMS name: MySQL 5.0 */ +/* Created on: 2023/9/12 19:57:54 */ +/*==============================================================*/ + + +drop table if exists actor; + +drop table if exists castprofile; + +drop table if exists cj; + +drop table if exists freely; + +drop table if exists movie; + +drop table if exists moviereviews; + +drop table if exists official; + +drop table if exists people; + +drop table if exists recommend; + +drop table if exists shortcomment; + +drop table if exists window; + +drop table if exists 倾向于演员的评价; + +/*==============================================================*/ +/* Table: actor */ +/*==============================================================*/ +create table actor +( + yy_bj varchar(11) not null, + yy_zy varchar(11) not null, + yy_dy varchar(11) not null, + yy_cydy varchar(11) not null, + movie_idd varchar(11) not null, + primary key (yy_cydy) +); + +/*==============================================================*/ +/* Table: castprofile */ +/*==============================================================*/ +create table castprofile +( + actor_name varchar(11) not null, + people_sex varchar(11) not null, + imdb_id varchar(11) not null, + yy_cydy varchar(11) not null, + borth varchar(222) not null, + primary key (imdb_id) +); + +/*==============================================================*/ +/* Table: cj */ +/*==============================================================*/ +create table cj +( + window_id varchar(11) not null, + yy_cydy varchar(11) not null, + primary key (window_id, yy_cydy) +); + +/*==============================================================*/ +/* Table: freely */ +/*==============================================================*/ +create table freely +( + short_id int not null, + people_name varchar(11) not null, + primary key (short_id, people_name) +); + +/*==============================================================*/ +/* Table: movie */ +/*==============================================================*/ +create table movie +( + movie_type int not null, + movie_time time not null, + movie_country varchar(20) not null, + movie_language varchar(20) not null, + movie_datetime datetime not null, + movie_name varchar(10) not null, + movie_idd varchar(11) not null, + primary key (movie_idd) +); + +/*==============================================================*/ +/* Table: moviereviews */ +/*==============================================================*/ +create table moviereviews +( + yp_yp varchar(255) not null, + yp_xj varchar(5) not null, + y[_ybh varchar(11) not null, + yp_jl varchar(255) not null, + primary key (y[_ybh) +); + +/*==============================================================*/ +/* Table: official */ +/*==============================================================*/ +create table official +( + gf_name varchar(11) not null, + gf_level varchar(11) not null, + gf_id varchar(11) not null, + movie_idd varchar(11) not null, + primary key (gf_id) +); + +/*==============================================================*/ +/* Table: people */ +/*==============================================================*/ +create table people +( + people_age int not null, + people_name varchar(11) not null, + window_id varchar(11) not null, + 性别 varchar(11) not null, + primary key (people_name) +); + +/*==============================================================*/ +/* Table: recommend */ +/*==============================================================*/ +create table recommend +( + people_name varchar(11) not null, + y[_ybh varchar(11) not null, + primary key (people_name, y[_ybh) +); + +/*==============================================================*/ +/* Table: shortcomment */ +/*==============================================================*/ +create table shortcomment +( + short_hot varchar(11) not null, + short_new varchar(11) not null, + short_id int not null, + short_good varchar(11) not null, + short_tl varchar(255) not null, + primary key (short_id) +); + +/*==============================================================*/ +/* Table: window */ +/*==============================================================*/ +create table window +( + window_actor varchar(11) not null, + window_people varchar(11) not null, + window_id varchar(11) not null, + movie_idd varchar(11) not null, + primary key (window_id) +); + +/*==============================================================*/ +/* Table: 倾向于演员的评价 */ +/*==============================================================*/ +create table 倾向于演员的评价 +( + short_id int not null, + yy_cydy varchar(11) not null, + primary key (short_id, yy_cydy) +); + +alter table actor add constraint FK_cyry foreign key (movie_idd) + references movie (movie_idd) on delete restrict on update restrict; + +alter table castprofile add constraint FK_introduce foreign key (yy_cydy) + references actor (yy_cydy) on delete restrict on update restrict; + +alter table cj add constraint FK_cj foreign key (window_id) + references window (window_id) on delete restrict on update restrict; + +alter table cj add constraint FK_cj2 foreign key (yy_cydy) + references actor (yy_cydy) on delete restrict on update restrict; + +alter table freely add constraint FK_freely foreign key (short_id) + references shortcomment (short_id) on delete restrict on update restrict; + +alter table freely add constraint FK_freely2 foreign key (people_name) + references people (people_name) on delete restrict on update restrict; + +alter table official add constraint FK_gfpj foreign key (movie_idd) + references movie (movie_idd) on delete restrict on update restrict; + +alter table people add constraint FK_jr foreign key (window_id) + references window (window_id) on delete restrict on update restrict; + +alter table recommend add constraint FK_recommend foreign key (people_name) + references people (people_name) on delete restrict on update restrict; + +alter table recommend add constraint FK_recommend2 foreign key (y[_ybh) + references moviereviews (y[_ybh) on delete restrict on update restrict; + +alter table window add constraint FK_hot foreign key (movie_idd) + references movie (movie_idd) on delete restrict on update restrict; + +alter table 倾向于演员的评价 add constraint FK_倾向于演员的评价 foreign key (short_id) + references shortcomment (short_id) on delete restrict on update restrict; + +alter table 倾向于演员的评价 add constraint FK_倾向于演员的评价2 foreign key (yy_cydy) + references actor (yy_cydy) on delete restrict on update restrict; + -- Gitee From c170d6297e70a39889a82dc4c65c683aaf1af37b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9E=97=E4=BF=8A=E4=BC=9F?= <2421084001@qq.com> Date: Tue, 12 Sep 2023 20:17:18 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E4=BD=9C=E4=B8=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../0912\347\224\265\345\275\261\344\275\234\344\270\232.md" | 2 ++ 1 file changed, 2 insertions(+) diff --git "a/12\346\236\227\344\277\212\344\274\237/0912\347\224\265\345\275\261\344\275\234\344\270\232.md" "b/12\346\236\227\344\277\212\344\274\237/0912\347\224\265\345\275\261\344\275\234\344\270\232.md" index c178105..dec82b6 100644 --- "a/12\346\236\227\344\277\212\344\274\237/0912\347\224\265\345\275\261\344\275\234\344\270\232.md" +++ "b/12\346\236\227\344\277\212\344\274\237/0912\347\224\265\345\275\261\344\275\234\344\270\232.md" @@ -1,3 +1,5 @@ + + /*==============================================================*/ /* DBMS name: MySQL 5.0 */ /* Created on: 2023/9/12 19:57:54 */ -- Gitee From d75f313444dd3ceb90fd92a6aba9e0e48713dc3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9E=97=E4=BF=8A=E4=BC=9F?= <2421084001@qq.com> Date: Tue, 12 Sep 2023 20:23:34 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E4=BD=9C=E4=B8=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../0912\347\224\265\345\275\261\344\275\234\344\270\232.md" | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git "a/12\346\236\227\344\277\212\344\274\237/0912\347\224\265\345\275\261\344\275\234\344\270\232.md" "b/12\346\236\227\344\277\212\344\274\237/0912\347\224\265\345\275\261\344\275\234\344\270\232.md" index dec82b6..616082a 100644 --- "a/12\346\236\227\344\277\212\344\274\237/0912\347\224\265\345\275\261\344\275\234\344\270\232.md" +++ "b/12\346\236\227\344\277\212\344\274\237/0912\347\224\265\345\275\261\344\275\234\344\270\232.md" @@ -1,6 +1,6 @@ - +. -/*==============================================================*/ +/*==============================================================*/. /* DBMS name: MySQL 5.0 */ /* Created on: 2023/9/12 19:57:54 */ /*==============================================================*/ -- Gitee