- 博客(7)
- 收藏
- 关注
原创 恩JSP的学习
String path = request.getContextPath();String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";%> "> My JSP 'loding.jsp
2017-08-24 17:39:38 153
原创 jsp响应
/* jsp隐式对象 request *//* request是可以直接使用的,而不需要new出来 *//* 设置请求的编码格式 */request.setCharacterEncoding("utf-8");/* 通过请求获取到页面提交的参数 *//* 该方法的参数填要获取的参数的名称 *//* request中有一个Map用来存放所有提交到后台的参数以及
2017-08-24 17:36:14 274
原创 数据库查询实例 附带表格文件
1,查询销量最好的商品是哪一个要求展示该商品的销售总数量,商品名称SELECT*FROM(SELECTSUM(quantity) s1,productidFROM`order details`GROUP BYproductid) a,(SELECTMAX(s1) s1FROM(SELECTSUM(quantity)
2017-08-15 19:06:26 321
原创 数据库-内容的查询 二
-- > any 比最小的值要高select * from products where unitprice > any (select unitprice from products where categoryid = 2) order by unitprice asc select min(unitprice) from products
2017-08-15 19:01:53 178
原创 数据库—内容的查询语句
--and 代表的是与,意思是左右两边的判断需要同时满足select * from products where unitPrice > 20 and categoryID=1--orselect * from products where unitPrice>50 or categoryID=8--not 不等于select * from products
2017-08-14 19:07:41 298
原创 数据库-表格操作
--添加字段alter table student add parentName varchar(20)--删除字段alter table student drop column parentName--修改字段名称alter table student add parentName varchar(20)alter table studen
2017-08-11 18:43:00 183
原创 数据库的学习-主表操作
--create tablespace [表空间的名字]--datafile '[数据文件的路径]'--size nM 大小--autoextend on next nM 满了后选着扩充的大小创建用户 web 密码123456 对应表空间webcreate user web identfied by 123456 default tablespace web
2017-08-11 10:19:45 185
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人