摘要: /bin:bin是Binary的缩写, 这个目录存放着最经常使用的命令。 /boot:这里存放的是启动Linux时使用的一些核心文件,包括一些连接文件以及镜像文件。 /dev :dev是Device(设备)的缩写, 该目录下存放的是Linux的外部设备,在Linux中访问设备的方式和访问文件的方式是 阅读全文
posted @ 2020-03-27 13:40 lishudong 阅读(820) 评论(0) 推荐(0)
摘要: MySQL 循环1.while循环delimiter $$ // 定义结束符为 $$drop procedure if exists wk; // 删除 已有的 存储过程create procedure wk() // 创建新的存储过程begindeclare i int; // 变量声明set i 阅读全文
posted @ 2020-03-10 20:32 lishudong 阅读(1190) 评论(0) 推荐(0)
摘要: //for循环打印九九乘法表 for ($i = 1; $i <= 9; $i++) { for ($j = 1; $j <= $i; $j++) { echo "$j*$i=&nbsp;".$i*$j."&nbsp;&nbsp;&nbsp;&nbsp;"; } echo '<hr>'; } //w 阅读全文
posted @ 2020-01-11 20:48 lishudong 阅读(426) 评论(0) 推荐(0)
摘要: 新建库: create database 库名;删除库: drop database 库名;使用数据库: use 库名;展示所有库: show databases;查看当前库名: select database(); 创建表格: create table显示数据库下所有数据表:show tables 阅读全文
posted @ 2019-11-15 15:23 lishudong 阅读(1344) 评论(0) 推荐(1)