上一页 1 ··· 4 5 6 7 8 9 10 下一页
摘要: -- 新建学生表 CREATE TABLE student( sno VARCHAR(20), sname VARCHAR(10), ssex VARCHAR(10), sbirthday DATETIME, class VARCHAR(20) ) INSERT INTO student VALUES (108,'曾华','男',19770901,95033); INSERT INTO stud... 阅读全文
posted @ 2019-05-04 18:47 zhansen521 阅读(169) 评论(0) 推荐(0) 编辑
摘要: 聚合查询:函数sum()求和 、avg() 平均数、max()最大值、min()最小值、count()记录数 格式:select 聚合函数 (字段) from 表名; 注:聚合不能与其他字段一起用 SELECT COUNT(*) FROM score; COUNT(*) 取每一列的取最大值 NULL 阅读全文
posted @ 2019-04-30 10:10 zhansen521 阅读(628) 评论(0) 推荐(0) 编辑
摘要: am: 表的增减改查 desc tablename;查看表结构 drop table name;删除表 字段增改删:格式 alter table tablename add column name varchar(20); alter table tablename modify column na 阅读全文
posted @ 2019-04-29 10:09 zhansen521 阅读(325) 评论(0) 推荐(0) 编辑
摘要: 初步认识MySQL 安装 练习增减改 1、什么是数据库软件: 数据库,俗称数据的仓库。方便管理数据的软件(或程序) 市面上数据库软件: Oracle:甲骨文公司产品。当前最流行应用最广泛数据库软件。和java语言兼容非常好,适合中大型,中大应用。 SQL Server:微软公司的产品。windows 阅读全文
posted @ 2019-04-28 18:22 zhansen521 阅读(152) 评论(0) 推荐(0) 编辑
摘要: 自动轮播 和 鼠标事件var arr = ["images/d.jpg", "images/q.jpg", "images/c.jpg", "images/b.jpg"]; //定义一个下标 var p = -1; //自动轮播 setInterval(function () { p++; if (p >= arr.leng... 阅读全文
posted @ 2019-04-26 15:41 zhansen521 阅读(143) 评论(0) 推荐(0) 编辑
摘要: about:config new:browser.cache.disk.parent_directory (disk.cache) new:browser.cache.offline.parent_directory (离线cache) x:temp or x:\Temporary Internet 阅读全文
posted @ 2019-04-25 09:52 zhansen521 阅读(205) 评论(0) 推荐(0) 编辑
摘要: Bootstrap需要引的三个文件 <link rel="stylesheet" href="css/bootstrap.css"> 表格元素的样式 <script type="text/jscript" src="js/bootstrap.js"></script> bootstrap动画 <sc 阅读全文
posted @ 2019-04-23 19:29 zhansen521 阅读(239) 评论(0) 推荐(0) 编辑
摘要: 把葵花宝典剩下的知识讲完了 又学习了bootstrap <link rel="stylesheet" href="css/bootstrap.css"><script type="text/javascript" src="js/bootstrap.js"></script><script type 阅读全文
posted @ 2019-04-19 18:22 zhansen521 阅读(168) 评论(0) 推荐(0) 编辑
摘要: am:通用事件 a链接事件阻止默认行为 return false HTML元素大都包含了自己的默认行为,例如:超链接、提交按钮等。我们可以通过在绑定事件中加上return false来阻止它的默认行为。 通用性的事件监听方法1.绑定HTML元素属性<input type="button" value 阅读全文
posted @ 2019-04-17 23:23 zhansen521 阅读(353) 评论(0) 推荐(0) 编辑
摘要: today学习了del列表框内容和一次性清空列表框 千万记住 document.getElementById(); 先获取元素 逐步找对象 sel.options[i]=op; } //将select元素添加到body标签中 bo.appendChild(sel); } function del() 阅读全文
posted @ 2019-04-16 17:50 zhansen521 阅读(264) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 下一页