- 1.forEach
Night_LION
varcolors=["red","blue","green"];//ES5遍历数组方法for(vari=0;i//console.log(colors[i]);}//ES6forEachcolors.forEach(function(color){//console.log(color);});//练习:遍历数组中的值,并计算总和varnumbers=[1,2,3,4,5];varsum=0;f
- Python——俄罗斯方块
星和月
pythonpygame开发语言
俄罗斯方块游戏是一款经典的益智游戏,通常使用编程语言Python来实现。下面是一个简单的俄罗斯方块游戏的示例代码:importpygameimportrandom#定义颜色BLACK=(0,0,0)WHITE=(255,255,255)RED=(255,0,0)GREEN=(0,255,0)BLUE=(0,0,255)CYAN=(0,255,255)MAGENTA=(255,0,255)YELLO
- Python——画射击标靶
星和月
python爬虫开发语言
importturtle#设置画布和画笔window=turtle.Screen()window.title("射击标靶")window.bgcolor("white")pen=turtle.Turtle()pen.speed(0)#绘制标靶的环colors=["red","blue","yellow","green","black"]foriinrange(5):pen.color(colors
- CloudCompare操作(某一指定要素按照PointSourceID分类)
喵喵不爱吃鱼
工具使用
CloudCompare操作(指定强度值点云按照PointSourceID分类)以实标线为例:强度值31、首先将点云按照Intensity显示Properties->Active:IntensityCurrent:Blue->Green…2、截取实标线菜单栏:Edit->Scalarfields->FilterByValue:3-43、截取的实标线点云按照PointSourceID显示,再使用Po
- shell 控制台显示彩色文字的方法
tekin
运维服务器linux前端运维shellcolorshell文字颜色
在shell脚本中,如果我们希望在控制台能显示带颜色的文字,那就需要使用shell中的色彩专用变量代码来进行.shell中的各种颜色代码定义#颜色定义BLACK="\033[0;30m"DARK_GRAY="\033[1;30m"BLUE="\033[0;34m"LIGHT_BLUE="\033[1;34m"GREEN="\033[0;32m"LIGHT_GREEN="\033[1;32m"CYA
- 《兰花草》
Green枫叶
文/Green枫叶拍摄/Green枫叶每日必经的花坛里,兰花草盛开着花朵,花姿优雅,花色大方。盛夏时节,开花的植物不多见,兰花草恰在这时节,开出如此惹眼的花朵,算是弥补了盛夏时节少见开花植物给视觉带来的空白档吧!依稀记得有首歌曲《兰花草》,我从山中来,带着兰花草,种在校园中,希望花开早。兰花草属于热带植物,花期长,适应性强,在南方的户外花坛里,就能看到,不必如那歌词里,移花入暖房,一日看三回,看得
- 如何用C#写一个实现像股票行情的波动曲线图
senbar
.NET王国gis开发c#floatgdi+数据库c
有一个数据库A(价格,日期)该表每天都会向里面新增数据,如何用C#实现用横坐标表示时间,纵坐标表示价格的曲线图GDI+看看我大一的时候的课程设计诸如这样的代码就可以啦:for(intcounter=0;counter<=24;counter++){Penmypen=newPen(Color.Green,3);GraphicsmyGraphics=this.tabPage3.CreateGraphi
- css导入样式三种方式
Future728
css前端
1.内部样式和内嵌样式测试css样式Stylesheets(这是内部样式表)你好世界!这是内嵌样式表2.导入外部样式有两种方式先创建自己的样式存在css文件内p{color:green;font-family:Impact}h1{color:red;font-family:Impact}①下面写入html文件的head标签内,地址为下面括号内下面是完整代码Title-->Stylesheets(外
- css基础学习总结(一)
晚睡早起₍˄·͈༝·͈˄*₎◞ ̑̑
前端css学习前端
文章目录一.选择器1.标签选择器2.类选择器3.ID选择器4.分组选择器5.派生与子元素选择器6.属性选择器7.伪类选择器8.伪对象选择器9.选择器的优先级别css优先级的6大分类一.选择器1.标签选择器选择器例子描述elementp/div/span选择所有含有指定标签的元素Documentdiv{color:red;}span{color:blue;}p{color:green;}HelloW
- 如何实现两栏布局,三栏布局,水平/垂直居中
An ape
css
两栏布局先写一下样式左右使用float+margin方式实现div{height:200px;color:red;}.left{float:left;width:300px;background-color:green;}.right{width:100%;margin-left:300px;background-color:black;}还可以使用position实现div{height:200
- 基于pygame的雷电战机小游戏
莫听穿林打叶生
pygamepython雷电小游戏
importpygameimportsysimportrandom#初始化Pygamepygame.init()#设置窗口尺寸WIDTH,HEIGHT=800,600screen=pygame.display.set_mode((WIDTH,HEIGHT))pygame.display.set_caption("雷电战机")#设置颜色BLACK=(0,0,0)RED=(255,0,0)GREEN=
- html5在线俄罗斯方块,HTML5+JS实现俄罗斯方块
俯卧撑菜鸟
html5在线俄罗斯方块
HTML俄罗斯方块@font-face{font-family:tmb;src:url("DS-DIGIB.TTF")format("TrueType");}body>div{font-size:13pt;padding-bottom:8px;}span{font-family:tmb;font-size:20pt;color:green;}俄罗斯方块速度:当前积分:最高积分:jsconstTET
- 关于handle.post(Runnable r)方法的理解
真的见不到了码
java
前言:看了很多,大家都有自己的理解,但是距离我想要的本质还很远。1.形式:newhandler().post(newRunnable(){publicvoidrun(){view.setTextColor(Color.Green);}});handler使用在线程间通信,它的工作原理是,线程1建立handler对象,线程2建立Messagemes对象,往mes中填充数据中,handler.send
- CSS常用选择器介绍
奥利奥MILK
css选择器css类选择器派生选择器ID选择器
希望这篇文章对一些刚入门的新手有所帮助。CSS样式设置,常用的几类选择器例://ID选择器#test{color:red;}//元素选择器h1{weidth:100px;}//类选择器.help{background-color:green;}hi,boy!1、ID选择器首先在元素标签内定义一个属性id,并设置属性值为test。CSS样式的定义,如果是id选择器,则是#接对应元素标签内的id属性值
- 2018-02-16 神经网络基础(一)
瑶瑶_2930
二分分类(BinaryClassfication)用途:结果是离散值,如0和1例子:输入图像(x),判断是否为猫图像是如何储存在计算机里的?-RGB(red,green,blue)分别对应三个矩阵,矩阵大小同像素-色彩亮度值组成特征向量,如图屏幕快照2018-02-16下午8.34.47.png屏幕快照2018-02-16下午8.34.56.png标记(Notation)(x,y),x是n维列向量
- 用python画一些有趣的图案(001)
__lost
Python编程和应用实现python开发语言几何学
1、python画迪斯科灯importturtleimportmathimportrandom#color=['green','red','blue','yellow','orange','pink']pen=turtle.Turtle()turtle.colormode(255)rr=3theta=0pi=3.1415926pen.pensize(5)pen.speed(0)pen.left(9
- 【shell】Shell学习后篇
GaoJamie
SHELL脚本bash
Linux常用Shell文章目录Linux常用ShellBanner设置字体颜色设置提示操作系统操作系统版本号系统处理器架构关闭防火墙和SELinux系统操作防火墙相关获取当前目录判断文件是否存在判断目录是否存在后台挂起静默执行判断之前的命令是否成功Banner设置字体颜色RED='\033[31m'GREEN='\033[32m'YELLOW='\033[33m'BLUE='\033[34m'B
- 不定宽高的盒子水平垂直居中的方法?
Tz1314
方法1:div绝对定位水平垂直居中【margin负间距】这或许是当前最流行的使用方法。div{width:200px;height:200px;background:green;position:absolute;left:50%;top:50%;margin-left:-100px;margin-top:-100px;}方法2:div绝对定位水平垂直居中【margin:auto实现绝对定位元素的
- PHP常用的函数
小白的程序猿
PHP常用的函数整理1.array_unique()函数用于移除数组中重复的值。如果两个或更多个数组值相同,只保留第一个值,其他的值被移除。"red","b"=>"green","c"=>"red");print_r(array_unique($a));?>//结果://Array([a]=>red[b]=>green)2.array_merge()函数用于把一个或多个数组合并为一个数组。注释:如
- 前端笔记(2)
rtrhhthth
一.代码:(1)css样式cssp{color:green;font-size:30px;}-->先天下之忧而忧后天下之乐而乐-->先天下之忧而忧,后天下之乐而乐(2)css语法CSS语法/*CSS的注释,作用和HTML注释类似,只不过它必须编写在style标签中,或者是CSS文件中CSS的语法:选择器声明块选择器:-通过选择器可以选中页面中指定的元素,并且将声明块中的样式应用到选择器对应的元素上
- JavaEE02_css
xiaosi852
JavaEEcss
JavaEE02_css1、使用导入方式h1{color:green;}我是标题@importurl("css/style.css");优先级:就近原则,谁离要显示的近就是谁的颜色基本选择器标签选择器:/*标签选择器,会选择到页面上所有这个标签的元素,这里是标签*/h1{color:red;background:#b8faab;border-radius:24px;}p{font-size:80p
- javaEE 初阶 — CSS 选择器
与大师约会
javaEE从入门到进阶css前端java-eehtml
文章目录CSS选择器1.标签选择器2.类选择器3.ID选择器4.后代选择器5.子选择器6.并集选择器7.伪类选择器(复合选择器的特殊用法)CSS选择器1.标签选择器标签选择器是在大括号的前面写上标签的名字,此时意味着会选中当前页面中的所有指定标签。我真帅div{font-size:30px;color:green;}这是一个div这是一个div这是一个div2.类选择器标签选择器只能针对所有的指定
- 美国插画师Rebecca Green的作品欣赏
布丁辰儿
美国插画师RebeccaGreen的作品~作品创意清新和谐,配色十分沉稳漂亮,画技精湛、严谨、细腻、成熟。描绘出少女及家人的快乐生活,观后对其生动的快乐生活十分想往!美国自由插画家RebeccaGreen目前居住在田纳西州纳什维尔市。Rebecca擅长儿童插画,喜欢给儿童及青少年读物绘制插图。作品大多数是以水粉,丙烯、彩铅为主。娴熟的线条不安分却又很完美地贴合在其中,感染力十足。色彩雅致,带些女性
- css实现左边自适应右边固定
Melantha_CHEN
本文主要使用css实现左边自适应右边固定,右边固定左边自适应的问题。左边自适应右边固定1.主要使用float和margin值左边固定右边自适应.wrap{width:100%;height:100px;margin-bottom:20px;}.left_L1{width:200px;height:100px;background:green;float:left;}.right_L1{margin
- 18.JS红绿灯
叫我阿东就行
前端面试JS手写篇javascript前端
循环打印红黄绿,这是一道非常经典的场景应用题。通过这个问题来对比几种异步编程方法:红灯3s亮一次,绿灯1s亮一次,黄灯2s亮一次;如何让三个灯不断交替重复亮灯?三个亮灯函数:functionred(){console.log('red');}functiongreen(){console.log('green');}functionyellow(){console.log('yellow');}这
- C++ “美中不足” --->强枚举类型
4399.9855
C++新特性c++开发语言
本篇文章来讲一下C++强枚举类型传统枚举类型的弊端:大家先来看以下代码:#includeenumColor{RED,GREEN,BLUE};intmain(){Colorcolor1=RED;Colorcolor2=BLUE;if(color1==color2){std::coutusingnamespacestd;enumE{e1=1,e2=1,e3=0x132};intmain(intargc
- android 动态更新文本颜色的设置、转换
全球顶尖伪极客
参考文章:https://www.jianshu.com/p/3c1fe10aed4f介绍Android中的颜色值通常遵循RGB/ARGB标准,使用时通常以“#”字符开头的8位16进制表示。其中ARGB依次代表透明度(Alpha)、红色(Red)、绿色(Green)、蓝色(Blue),取值范围为0~255(即16进制的0x00~0xff)。A从0x00到0xff表示从透明到不透明,RGB从0x00
- Android GreenDao配置以及使用
阿祖_
GreenDao配置步骤Project下的build.gradle文件加入buildscript{repositories{google()jcenter()mavenCentral()//添加代码仓库步骤1}dependencies{classpath"com.android.tools.build:gradle:4.0.1"//步骤2classpath'org.greenrobot:green
- 观鸟笔记(22)绿旋蜜雀 Green Honeycreeper
Pamir2
摄于哥斯达黎加分布范围:分布于中美洲(地处北美与南美之间,包括危地马拉、伯里兹、洪都拉斯、萨尔瓦多、尼加拉瓜、哥斯达黎加、巴拿马、巴哈马、古巴、海地、牙买加、多米尼加、安提瓜和巴布达、圣文森特和格林纳丁斯、圣卢西亚、巴巴多斯、格林纳达、特立尼达与多巴哥等国家和地区),南美洲(包括哥伦比亚、委内瑞拉、圭亚那、苏里南、厄瓜多尔、秘鲁、玻利维亚、巴拉圭、巴西、智利、阿根廷、乌拉圭以及马尔维纳斯群岛(也称
- 《游湖听音》
Green枫叶
文/Green枫叶谁在湖光山色中,轻抚琴,弹奏一曲,悦耳动听。清风徐来,水波不兴,闻声,漫步找寻。恰遇一画舫,徐徐前行,微风卷珠帘,邂逅一婀娜倩影。轻抚琴,纤纤玉指,轻细弹。湖光山色空蒙雨亦奇,胜似闲庭信步,误入瑶池仙境。
- jQuery 跨域访问的三种方式 No 'Access-Control-Allow-Origin' header is present on the reque
qiaolevip
每天进步一点点学习永无止境跨域众观千象
XMLHttpRequest cannot load http://v.xxx.com. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:63342' is therefore not allowed access. test.html:1
- mysql 分区查询优化
annan211
java分区优化mysql
分区查询优化
引入分区可以给查询带来一定的优势,但同时也会引入一些bug.
分区最大的优点就是优化器可以根据分区函数来过滤掉一些分区,通过分区过滤可以让查询扫描更少的数据。
所以,对于访问分区表来说,很重要的一点是要在where 条件中带入分区,让优化器过滤掉无需访问的分区。
可以通过查看explain执行计划,是否携带 partitions
- MYSQL存储过程中使用游标
chicony
Mysql存储过程
DELIMITER $$
DROP PROCEDURE IF EXISTS getUserInfo $$
CREATE PROCEDURE getUserInfo(in date_day datetime)-- -- 实例-- 存储过程名为:getUserInfo-- 参数为:date_day日期格式:2008-03-08-- BEGINdecla
- mysql 和 sqlite 区别
Array_06
sqlite
转载:
http://www.cnblogs.com/ygm900/p/3460663.html
mysql 和 sqlite 区别
SQLITE是单机数据库。功能简约,小型化,追求最大磁盘效率
MYSQL是完善的服务器数据库。功能全面,综合化,追求最大并发效率
MYSQL、Sybase、Oracle等这些都是试用于服务器数据量大功能多需要安装,例如网站访问量比较大的。而sq
- pinyin4j使用
oloz
pinyin4j
首先需要pinyin4j的jar包支持;jar包已上传至附件内
方法一:把汉字转换为拼音;例如:编程转换后则为biancheng
/**
* 将汉字转换为全拼
* @param src 你的需要转换的汉字
* @param isUPPERCASE 是否转换为大写的拼音; true:转换为大写;fal
- 微博发送私信
随意而生
微博
在前面文章中说了如和获取登陆时候所需要的cookie,现在只要拿到最后登陆所需要的cookie,然后抓包分析一下微博私信发送界面
http://weibo.com/message/history?uid=****&name=****
可以发现其发送提交的Post请求和其中的数据,
让后用程序模拟发送POST请求中的数据,带着cookie发送到私信的接入口,就可以实现发私信的功能了。
- jsp
香水浓
jsp
JSP初始化
容器载入JSP文件后,它会在为请求提供任何服务前调用jspInit()方法。如果您需要执行自定义的JSP初始化任务,复写jspInit()方法就行了
JSP执行
这一阶段描述了JSP生命周期中一切与请求相关的交互行为,直到被销毁。
当JSP网页完成初始化后
- 在 Windows 上安装 SVN Subversion 服务端
AdyZhang
SVN
在 Windows 上安装 SVN Subversion 服务端2009-09-16高宏伟哈尔滨市道里区通达街291号
最佳阅读效果请访问原地址:http://blog.donews.com/dukejoe/archive/2009/09/16/1560917.aspx
现在的Subversion已经足够稳定,而且已经进入了它的黄金时段。我们看到大量的项目都在使
- android开发中如何使用 alertDialog从listView中删除数据?
aijuans
android
我现在使用listView展示了很多的配置信息,我现在想在点击其中一条的时候填出 alertDialog,点击确认后就删除该条数据,( ArrayAdapter ,ArrayList,listView 全部删除),我知道在 下面的onItemLongClick 方法中 参数 arg2 是选中的序号,但是我不知道如何继续处理下去 1 2 3
- jdk-6u26-linux-x64.bin 安装
baalwolf
linux
1.上传安装文件(jdk-6u26-linux-x64.bin)
2.修改权限
[root@localhost ~]# ls -l /usr/local/jdk-6u26-linux-x64.bin
3.执行安装文件
[root@localhost ~]# cd /usr/local
[root@localhost local]# ./jdk-6u26-linux-x64.bin&nbs
- MongoDB经典面试题集锦
BigBird2012
mongodb
1.什么是NoSQL数据库?NoSQL和RDBMS有什么区别?在哪些情况下使用和不使用NoSQL数据库?
NoSQL是非关系型数据库,NoSQL = Not Only SQL。
关系型数据库采用的结构化的数据,NoSQL采用的是键值对的方式存储数据。
在处理非结构化/半结构化的大数据时;在水平方向上进行扩展时;随时应对动态增加的数据项时可以优先考虑使用NoSQL数据库。
在考虑数据库的成熟
- JavaScript异步编程Promise模式的6个特性
bijian1013
JavaScriptPromise
Promise是一个非常有价值的构造器,能够帮助你避免使用镶套匿名方法,而使用更具有可读性的方式组装异步代码。这里我们将介绍6个最简单的特性。
在我们开始正式介绍之前,我们想看看Javascript Promise的样子:
var p = new Promise(function(r
- [Zookeeper学习笔记之八]Zookeeper源代码分析之Zookeeper.ZKWatchManager
bit1129
zookeeper
ClientWatchManager接口
//接口的唯一方法materialize用于确定那些Watcher需要被通知
//确定Watcher需要三方面的因素1.事件状态 2.事件类型 3.znode的path
public interface ClientWatchManager {
/**
* Return a set of watchers that should
- 【Scala十五】Scala核心九:隐式转换之二
bit1129
scala
隐式转换存在的必要性,
在Java Swing中,按钮点击事件的处理,转换为Scala的的写法如下:
val button = new JButton
button.addActionListener(
new ActionListener {
def actionPerformed(event: ActionEvent) {
- Android JSON数据的解析与封装小Demo
ronin47
转自:http://www.open-open.com/lib/view/open1420529336406.html
package com.example.jsondemo;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
impor
- [设计]字体创意设计方法谈
brotherlamp
UIui自学ui视频ui教程ui资料
从古至今,文字在我们的生活中是必不可少的事物,我们不能想象没有文字的世界将会是怎样。在平面设计中,UI设计师在文字上所花的心思和功夫最多,因为文字能直观地表达UI设计师所的意念。在文字上的创造设计,直接反映出平面作品的主题。
如设计一幅戴尔笔记本电脑的广告海报,假设海报上没有出现“戴尔”两个文字,即使放上所有戴尔笔记本电脑的图片都不能让人们得知这些电脑是什么品牌。只要写上“戴尔笔
- 单调队列-用一个长度为k的窗在整数数列上移动,求窗里面所包含的数的最大值
bylijinnan
java算法面试题
import java.util.LinkedList;
/*
单调队列 滑动窗口
单调队列是这样的一个队列:队列里面的元素是有序的,是递增或者递减
题目:给定一个长度为N的整数数列a(i),i=0,1,...,N-1和窗长度k.
要求:f(i) = max{a(i-k+1),a(i-k+2),..., a(i)},i = 0,1,...,N-1
问题的另一种描述就
- struts2处理一个form多个submit
chiangfai
struts2
web应用中,为完成不同工作,一个jsp的form标签可能有多个submit。如下代码:
<s:form action="submit" method="post" namespace="/my">
<s:textfield name="msg" label="叙述:">
- shell查找上个月,陷阱及野路子
chenchao051
shell
date -d "-1 month" +%F
以上这段代码,假如在2012/10/31执行,结果并不会出现你预计的9月份,而是会出现八月份,原因是10月份有31天,9月份30天,所以-1 month在10月份看来要减去31天,所以直接到了8月31日这天,这不靠谱。
野路子解决:假设当天日期大于15号
- mysql导出数据中文乱码问题
daizj
mysql中文乱码导数据
解决mysql导入导出数据乱码问题方法:
1、进入mysql,通过如下命令查看数据库编码方式:
mysql> show variables like 'character_set_%';
+--------------------------+----------------------------------------+
| Variable_name&nbs
- SAE部署Smarty出现:Uncaught exception 'SmartyException' with message 'unable to write
dcj3sjt126com
PHPsmartysae
对于SAE出现的问题:Uncaught exception 'SmartyException' with message 'unable to write file...。
官方给出了详细的FAQ:http://sae.sina.com.cn/?m=faqs&catId=11#show_213
解决方案为:
01
$path
- 《教父》系列台词
dcj3sjt126com
Your love is also your weak point.
你的所爱同时也是你的弱点。
If anything in this life is certain, if history has taught us anything, it is
that you can kill anyone.
不顾家的人永远不可能成为一个真正的男人。 &
- mongodb安装与使用
dyy_gusi
mongo
一.MongoDB安装和启动,widndows和linux基本相同
1.下载数据库,
linux:mongodb-linux-x86_64-ubuntu1404-3.0.3.tgz
2.解压文件,并且放置到合适的位置
tar -vxf mongodb-linux-x86_64-ubun
- Git排除目录
geeksun
git
在Git的版本控制中,可能有些文件是不需要加入控制的,那我们在提交代码时就需要忽略这些文件,下面讲讲应该怎么给Git配置一些忽略规则。
有三种方法可以忽略掉这些文件,这三种方法都能达到目的,只不过适用情景不一样。
1. 针对单一工程排除文件
这种方式会让这个工程的所有修改者在克隆代码的同时,也能克隆到过滤规则,而不用自己再写一份,这就能保证所有修改者应用的都是同一
- Ubuntu 创建开机自启动脚本的方法
hongtoushizi
ubuntu
转载自: http://rongjih.blog.163.com/blog/static/33574461201111504843245/
Ubuntu 创建开机自启动脚本的步骤如下:
1) 将你的启动脚本复制到 /etc/init.d目录下 以下假设你的脚本文件名为 test。
2) 设置脚本文件的权限 $ sudo chmod 755
- 第八章 流量复制/AB测试/协程
jinnianshilongnian
nginxluacoroutine
流量复制
在实际开发中经常涉及到项目的升级,而该升级不能简单的上线就完事了,需要验证该升级是否兼容老的上线,因此可能需要并行运行两个项目一段时间进行数据比对和校验,待没问题后再进行上线。这其实就需要进行流量复制,把流量复制到其他服务器上,一种方式是使用如tcpcopy引流;另外我们还可以使用nginx的HttpLuaModule模块中的ngx.location.capture_multi进行并发
- 电商系统商品表设计
lkl
DROP TABLE IF EXISTS `category`; -- 类目表
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `category` (
`id` int(11) NOT NUL
- 修改phpMyAdmin导入SQL文件的大小限制
pda158
sqlmysql
用phpMyAdmin导入mysql数据库时,我的10M的
数据库不能导入,提示mysql数据库最大只能导入2M。
phpMyAdmin数据库导入出错: You probably tried to upload too large file. Please refer to documentation for ways to workaround this limit.
- Tomcat性能调优方案
Sobfist
apachejvmtomcat应用服务器
一、操作系统调优
对于操作系统优化来说,是尽可能的增大可使用的内存容量、提高CPU的频率,保证文件系统的读写速率等。经过压力测试验证,在并发连接很多的情况下,CPU的处理能力越强,系统运行速度越快。。
【适用场景】 任何项目。
二、Java虚拟机调优
应该选择SUN的JVM,在满足项目需要的前提下,尽量选用版本较高的JVM,一般来说高版本产品在速度和效率上比低版本会有改进。
J
- SQLServer学习笔记
vipbooks
数据结构xml
1、create database school 创建数据库school
2、drop database school 删除数据库school
3、use school 连接到school数据库,使其成为当前数据库
4、create table class(classID int primary key identity not null)
创建一个名为class的表,其有一