From 7df6d6dd2a3b9d15aa76a9286eee23446b188da4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=BF=97=E6=A2=81?= <3373228950@qq.com> Date: Fri, 9 Sep 2022 10:08:00 +0000 Subject: [PATCH 1/9] =?UTF-8?q?20220901=E4=BD=9C=E4=B8=9A-=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E5=BA=93=E8=AE=BE=E8=AE=A1=E4=B8=8E=E8=A7=84=E8=8C=83?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 陈志梁 <3373228950@qq.com> --- ...6\350\247\204\350\214\203\345\214\226.sql" | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 "19\351\231\210\345\277\227\346\242\201/20220901\344\275\234\344\270\232-\346\225\260\346\215\256\345\272\223\350\256\276\350\256\241\344\270\216\350\247\204\350\214\203\345\214\226.sql" diff --git "a/19\351\231\210\345\277\227\346\242\201/20220901\344\275\234\344\270\232-\346\225\260\346\215\256\345\272\223\350\256\276\350\256\241\344\270\216\350\247\204\350\214\203\345\214\226.sql" "b/19\351\231\210\345\277\227\346\242\201/20220901\344\275\234\344\270\232-\346\225\260\346\215\256\345\272\223\350\256\276\350\256\241\344\270\216\350\247\204\350\214\203\345\214\226.sql" new file mode 100644 index 0000000..35433bf --- /dev/null +++ "b/19\351\231\210\345\277\227\346\242\201/20220901\344\275\234\344\270\232-\346\225\260\346\215\256\345\272\223\350\256\276\350\256\241\344\270\216\350\247\204\350\214\203\345\214\226.sql" @@ -0,0 +1,38 @@ +create database AdsStu +go +use AdsStu +go +create table Teacher( + TeaId int primary key identity(1,1), + TeaName varchar(50) not null, + TeaAge int not null, + TeaRank varchar(50) not null +) +--drop table Teacher +insert into Teacher values('',32,''); +go +create table StuDent( + StuId int primary key identity(1,1), + StuName varchar(50) not null, + StuAge int not null, + StuSex char(2) not null +) +insert into StuDent values('',21,''); +go +create table Class( + ClaId int primary key identity(1,1), + ClaName varchar(50) not null, + ClaTime int not null +) +insert into Class values('',1); +go +create table Room( + RoomId int primary key identity(1,1), + StuAddress varchar(50) not null +) +insert into Room values(''); + +select * from Teacher +select * from StuDent +select * from Class +select * from Room \ No newline at end of file -- Gitee From ed6961dde9a98e60e786bfbf6c39da248864236d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=BF=97=E6=A2=81?= <3373228950@qq.com> Date: Tue, 13 Sep 2022 14:25:39 +0000 Subject: [PATCH 2/9] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=96=87=E4=BB=B6=2019?= =?UTF-8?q?=E9=99=88=E5=BF=97=E6=A2=81/SQLQuery2.sql?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../SQLQuery2.sql" | 45 ------------------- 1 file changed, 45 deletions(-) delete mode 100644 "19\351\231\210\345\277\227\346\242\201/SQLQuery2.sql" diff --git "a/19\351\231\210\345\277\227\346\242\201/SQLQuery2.sql" "b/19\351\231\210\345\277\227\346\242\201/SQLQuery2.sql" deleted file mode 100644 index 34e643f..0000000 --- "a/19\351\231\210\345\277\227\346\242\201/SQLQuery2.sql" +++ /dev/null @@ -1,45 +0,0 @@ -create database Bank -go -use Bank -go - -create table CcountInfo( - CcId int primary key identity(1,1), - CcName nvarchar(50), - CcBalance float not null, - CcPassWord int not null -) -insert into CcountInfo values('',263.03,21354) -create table CcountCard( - CardId int primary key identity(1,1), - CardNumber int not null, - CardDraw float not null, - CardBalance float not null, - CardPassWord int not null -) -insert into CcountCard values(22262,25623.23,568,2156) -create table CcountTrad( - CcountId int primary key identity(1,1), - CardNumber int not null, - CcountDraw float not null, - CcountBalance float not null, - CcountPassWord int not null -) -insert into CcountTrad values(65451,23.03,956.00,123456) -create table CcountTrader( - CcountId int primary key identity(1,1), - CardNumber int not null, - CardTrader int not null, -) -insert into CcountTrader values(96215,23151) -create table CcountCheck( - CcountId int primary key identity(1,1), - CardNumber nvarchar(50) check(CardNumber = '' or CardNumber = 'ʧ' or CardNumber = '' or CardNumber = 'ע') - ) - insert into CcountCheck values('') - - select * from CcountInfo - select * from CcountCard - select * from CcountTrad - select * from CcountTrader - select * from CcountCheck \ No newline at end of file -- Gitee From a0af84cc8e3128cb810fb00c70fd124ebe6400d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=BF=97=E6=A2=81?= <3373228950@qq.com> Date: Tue, 13 Sep 2022 14:26:27 +0000 Subject: [PATCH 3/9] =?UTF-8?q?=E9=87=8D=E5=91=BD=E5=90=8D=2019=E9=99=88?= =?UTF-8?q?=E5=BF=97=E6=A2=81/=E7=AC=94=E8=AE=B0.md=20=E4=B8=BA=2019?= =?UTF-8?q?=E9=99=88=E5=BF=97=E6=A2=81/=E7=BB=83=E4=B9=A0=E7=AC=94?= =?UTF-8?q?=E8=AE=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../\347\273\203\344\271\240\347\254\224\350\256\260" | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename "19\351\231\210\345\277\227\346\242\201/\347\254\224\350\256\260.md" => "19\351\231\210\345\277\227\346\242\201/\347\273\203\344\271\240\347\254\224\350\256\260" (100%) diff --git "a/19\351\231\210\345\277\227\346\242\201/\347\254\224\350\256\260.md" "b/19\351\231\210\345\277\227\346\242\201/\347\273\203\344\271\240\347\254\224\350\256\260" similarity index 100% rename from "19\351\231\210\345\277\227\346\242\201/\347\254\224\350\256\260.md" rename to "19\351\231\210\345\277\227\346\242\201/\347\273\203\344\271\240\347\254\224\350\256\260" -- Gitee From fd6d1fb040bfdeadd3e08d0936ac2988f3bb1544 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=BF=97=E6=A2=81?= <3373228950@qq.com> Date: Tue, 13 Sep 2022 14:26:43 +0000 Subject: [PATCH 4/9] =?UTF-8?q?=E9=87=8D=E5=91=BD=E5=90=8D=2019=E9=99=88?= =?UTF-8?q?=E5=BF=97=E6=A2=81/20220901=E4=BD=9C=E4=B8=9A-=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E5=BA=93=E8=AE=BE=E8=AE=A1=E4=B8=8E=E8=A7=84=E8=8C=83?= =?UTF-8?q?=E5=8C=96.sql=20=E4=B8=BA=2019=E9=99=88=E5=BF=97=E6=A2=81/20220?= =?UTF-8?q?901=E7=BB=83=E4=B9=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../20220901\347\273\203\344\271\240" | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename "19\351\231\210\345\277\227\346\242\201/20220901\344\275\234\344\270\232-\346\225\260\346\215\256\345\272\223\350\256\276\350\256\241\344\270\216\350\247\204\350\214\203\345\214\226.sql" => "19\351\231\210\345\277\227\346\242\201/20220901\347\273\203\344\271\240" (100%) diff --git "a/19\351\231\210\345\277\227\346\242\201/20220901\344\275\234\344\270\232-\346\225\260\346\215\256\345\272\223\350\256\276\350\256\241\344\270\216\350\247\204\350\214\203\345\214\226.sql" "b/19\351\231\210\345\277\227\346\242\201/20220901\347\273\203\344\271\240" similarity index 100% rename from "19\351\231\210\345\277\227\346\242\201/20220901\344\275\234\344\270\232-\346\225\260\346\215\256\345\272\223\350\256\276\350\256\241\344\270\216\350\247\204\350\214\203\345\214\226.sql" rename to "19\351\231\210\345\277\227\346\242\201/20220901\347\273\203\344\271\240" -- Gitee From 937f3aa3a8af72f8eab03524b3eb59d976cb7677 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=BF=97=E6=A2=81?= <3373228950@qq.com> Date: Tue, 13 Sep 2022 14:27:05 +0000 Subject: [PATCH 5/9] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=96=87=E4=BB=B6=2019?= =?UTF-8?q?=E9=99=88=E5=BF=97=E6=A2=81/20220901=E7=BB=83=E4=B9=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../20220901\347\273\203\344\271\240" | 38 ------------------- 1 file changed, 38 deletions(-) delete mode 100644 "19\351\231\210\345\277\227\346\242\201/20220901\347\273\203\344\271\240" diff --git "a/19\351\231\210\345\277\227\346\242\201/20220901\347\273\203\344\271\240" "b/19\351\231\210\345\277\227\346\242\201/20220901\347\273\203\344\271\240" deleted file mode 100644 index 35433bf..0000000 --- "a/19\351\231\210\345\277\227\346\242\201/20220901\347\273\203\344\271\240" +++ /dev/null @@ -1,38 +0,0 @@ -create database AdsStu -go -use AdsStu -go -create table Teacher( - TeaId int primary key identity(1,1), - TeaName varchar(50) not null, - TeaAge int not null, - TeaRank varchar(50) not null -) ---drop table Teacher -insert into Teacher values('',32,''); -go -create table StuDent( - StuId int primary key identity(1,1), - StuName varchar(50) not null, - StuAge int not null, - StuSex char(2) not null -) -insert into StuDent values('',21,''); -go -create table Class( - ClaId int primary key identity(1,1), - ClaName varchar(50) not null, - ClaTime int not null -) -insert into Class values('',1); -go -create table Room( - RoomId int primary key identity(1,1), - StuAddress varchar(50) not null -) -insert into Room values(''); - -select * from Teacher -select * from StuDent -select * from Class -select * from Room \ No newline at end of file -- Gitee From d2cb96090d939e69c675f65581ad3e8b3afd840a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=BF=97=E6=A2=81?= <3373228950@qq.com> Date: Tue, 13 Sep 2022 14:27:15 +0000 Subject: [PATCH 6/9] =?UTF-8?q?=E9=87=8D=E5=91=BD=E5=90=8D=2019=E9=99=88?= =?UTF-8?q?=E5=BF=97=E6=A2=81/DBTEST.sql=20=E4=B8=BA=2019=E9=99=88?= =?UTF-8?q?=E5=BF=97=E6=A2=81/20220901=E7=BB=83=E4=B9=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../20220901\347\273\203\344\271\240" | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename "19\351\231\210\345\277\227\346\242\201/DBTEST.sql" => "19\351\231\210\345\277\227\346\242\201/20220901\347\273\203\344\271\240" (100%) diff --git "a/19\351\231\210\345\277\227\346\242\201/DBTEST.sql" "b/19\351\231\210\345\277\227\346\242\201/20220901\347\273\203\344\271\240" similarity index 100% rename from "19\351\231\210\345\277\227\346\242\201/DBTEST.sql" rename to "19\351\231\210\345\277\227\346\242\201/20220901\347\273\203\344\271\240" -- Gitee From 4de464abbfeb2dc1dda8445e26d35de90711c366 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=BF=97=E6=A2=81?= <3373228950@qq.com> Date: Tue, 13 Sep 2022 14:28:36 +0000 Subject: [PATCH 7/9] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=96=87=E4=BB=B6=20READ?= =?UTF-8?q?ME.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 39 --------------------------------------- 1 file changed, 39 deletions(-) delete mode 100644 README.md diff --git a/README.md b/README.md deleted file mode 100644 index 595b38d..0000000 --- a/README.md +++ /dev/null @@ -1,39 +0,0 @@ -# SQL进阶 - -#### 介绍 -{**以下是 Gitee 平台说明,您可以替换此简介** -Gitee 是 OSCHINA 推出的基于 Git 的代码托管平台(同时支持 SVN)。专为开发者提供稳定、高效、安全的云端软件开发协作平台 -无论是个人、团队、或是企业,都能够用 Gitee 实现代码托管、项目管理、协作开发。企业项目请看 [https://gitee.com/enterprises](https://gitee.com/enterprises)} - -#### 软件架构 -软件架构说明 - - -#### 安装教程 - -1. xxxx -2. xxxx -3. xxxx - -#### 使用说明 - -1. xxxx -2. xxxx -3. xxxx - -#### 参与贡献 - -1. Fork 本仓库 -2. 新建 Feat_xxx 分支 -3. 提交代码 -4. 新建 Pull Request - - -#### 特技 - -1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md -2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com) -3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目 -4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目 -5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) -6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) -- Gitee From 4845b2f1e122946883951c1ff8ef7ae32e853612 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=BF=97=E6=A2=81?= <3373228950@qq.com> Date: Tue, 13 Sep 2022 14:29:06 +0000 Subject: [PATCH 8/9] =?UTF-8?q?=E6=96=B0=E5=BB=BA=20=E7=AC=94=E8=AE=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- "\347\254\224\350\256\260/.keep" | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 "\347\254\224\350\256\260/.keep" diff --git "a/\347\254\224\350\256\260/.keep" "b/\347\254\224\350\256\260/.keep" new file mode 100644 index 0000000..e69de29 -- Gitee From f466d86eba50d107b2e49130562c7bebe0fdabfd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=BF=97=E6=A2=81?= <3373228950@qq.com> Date: Tue, 13 Sep 2022 14:29:20 +0000 Subject: [PATCH 9/9] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=96=87=E4=BB=B6=20?= =?UTF-8?q?=E7=AC=94=E8=AE=B0/.keep?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- "\347\254\224\350\256\260/.keep" | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 "\347\254\224\350\256\260/.keep" diff --git "a/\347\254\224\350\256\260/.keep" "b/\347\254\224\350\256\260/.keep" deleted file mode 100644 index e69de29..0000000 -- Gitee