摘要:
2022-09-08 分组函数 1、按照某个字段分组并查询(group by) 以"students"表(id,name,age,gender,is_del,height)为例: select gender from students group by gender; 说明:格式:select 字段 阅读全文
摘要:
2022-09-07 1、Mysql中的清屏: system clear 一般的清屏命令:clear 聚合函数 2、查询某个表中某个字段的值的个数(使用count) 以“students”表(字段有id,name,age,gender,height)为例: select count(id) from 阅读全文
摘要:
2022-09-06 1、为某个字段设置别名(as关键字) 以“students”为例: students表的字段有:id,name,age,gender,is_del select name as n,age as a from students; 说明:select 属性名 as 新名称,属性名 阅读全文
摘要:
2022-09-05 MySQL常用的命令语句 表的操作语句 1、查询某个表的内容 select * from xxx(表名); 2、向某个表内添加数据 以“students”表为例: students表的属性有:id,name,age,sex insert into students values 阅读全文
摘要:
2022-09-04 MySQL常用的命令: 1、进入MySQL的命令: mysql -uroot -p; 说明:-uroot是指以root方式进行登陆MySQL。之后输入设置的SQL密码。 2、查询当前的时间 select now(); 3、退出的命令三种操作 (1)方式一,输入命令 exit; 阅读全文
摘要:
2022-09-02 构建模型的类型有: 1、瀑布模型 瀑布模型是像一个下台阶的形式。有过渡阶段。包括需求分析,设计,开发,集成,测试等方面。 图1-1 瀑布模型图 2、快速原型模型 快速原型模型,是根据用户描述的所面临的问题进行需求分析,设计。 图1-2 快速原型模型图 3、增量模型 增量模型,是 阅读全文