From 994e8bc1187c8780d6fba1b3285dbc3afbad3807 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E8=8E=B9=E8=8E=B9?= <11794328+liu-yingying11@user.noreply.gitee.com> Date: Sun, 10 Sep 2023 14:06:13 +0000 Subject: [PATCH] =?UTF-8?q?=E5=88=98=E8=8E=B9=E8=8E=B9=E7=9A=84=E4=BD=9C?= =?UTF-8?q?=E4=B8=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 刘莹莹 <11794328+liu-yingying11@user.noreply.gitee.com> --- ...46\225\260\346\215\256\345\272\2230908.md" | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 "36 \345\210\230\350\216\271\350\216\271/\345\233\276\344\271\246\351\246\206\346\225\260\346\215\256\345\272\2230908.md" diff --git "a/36 \345\210\230\350\216\271\350\216\271/\345\233\276\344\271\246\351\246\206\346\225\260\346\215\256\345\272\2230908.md" "b/36 \345\210\230\350\216\271\350\216\271/\345\233\276\344\271\246\351\246\206\346\225\260\346\215\256\345\272\2230908.md" new file mode 100644 index 0000000..b6f6154 --- /dev/null +++ "b/36 \345\210\230\350\216\271\350\216\271/\345\233\276\344\271\246\351\246\206\346\225\260\346\215\256\345\272\2230908.md" @@ -0,0 +1,42 @@ +```mysql +/*==============================================================*/ +/* Table: book */ +/*==============================================================*/ +create table book +( + b_id integer not null, + b_name varchar(10) not null, + author varchar(10) not null, + press varchar(20) not null, + constraint PK_BOOK primary key (b_id) +); + +/*==============================================================*/ +/* Table: reed */ +/*==============================================================*/ +create table reed +( + r_id integer not null, + b_id integer, + r_name varchar(10) not null, + r_sex char(1) not null, + r_tel integer not null, + r_xi varchar(10) not null, + constraint PK_REED primary key (r_id) +); + +/*==============================================================*/ +/* Table: administrators */ +/*==============================================================*/ +create table administrators +( + a_id integer, + a_name varchar(10), + a_sex char(1), + a_tel integer, + a_money decimal(6) +); + + +``` + -- Gitee