use Xk go --拓展小练习:查询课程信息,报名人数占限选人数之比。要求查询结果按报名人数降序排序,(且只显示结果的前10行) select top 10 percent *,'报名人数占限选人数之比'=WillNum/LimitNum from Course order by WillNum... ...
分类:
数据库 时间:
2017-04-23 12:39:22
阅读次数:
298
做一个通过JNDI查找资源的小练习,Context = new InitialContext(),发现NamingException异常,eclipse编辑器只有catch的提示,没有throws的提示,强行在doGet()方法后throws NamingException会报"Exception ...
分类:
其他好文 时间:
2017-04-23 00:58:04
阅读次数:
236
做个小练习,抓取的是电影天堂里面最新电影的页面。链接地址:http://www.dytt8.net/html/gndy/dyzz/index.html 首先我们需要获取里面电影详情的网页地址: 抓取详情页中的电影数据 执行抓取 ...
分类:
编程语言 时间:
2017-04-17 10:01:32
阅读次数:
193
package jiekou3; public interface Vehicle { public void start(); public void stop(); } package jiekou3; public class Car implements Vehicle { public v... ...
分类:
其他好文 时间:
2017-04-16 20:14:32
阅读次数:
164
package ab2; public abstract class Vehicle { public abstract String nowheel(); } package ab2; public class Car extends Vehicle{ public String nowheel(... ...
分类:
其他好文 时间:
2017-04-14 19:44:13
阅读次数:
143
通过黑马课程的学习,在这里分享一个js Dom中节点操作的小练习 需求:使用js创建一个4*3的表格table. ...
分类:
Web程序 时间:
2017-04-13 14:41:32
阅读次数:
198
#include <iostream> int main(int argc, char** argv) { int i = 1; int *n ; n=&i;//*n=i 这样的赋值方式也能够 std::cout<<"i为:"<<i<<std::endl; std::cout<<"n为:"<<n<< ...
分类:
编程语言 时间:
2017-04-11 01:17:26
阅读次数:
128
将数字转换为LCD模式 代码如下: 1 # -*- coding:utf-8 -*- 2 ''' 3 Python 小练习-1 : 将数字转换为LCD显示 4 ''' 5 lt = [' __ ', '|__ ', '|__|', ' |', ' __|', '| |', ' '] 6 dt = { ...
分类:
编程语言 时间:
2017-03-23 20:08:21
阅读次数:
141
一:学习内容 字符串类型 字符串类型判断 字符串类型互转 字符串小练习 二:字符串类型 1. basestring 在python中和字符串相关的数据类型为:str和unicode,他们都是basestring的子类,可见str和unicode是两种不同类型的字符串对象 2. 字节字符串类型 byt ...
分类:
编程语言 时间:
2017-03-20 19:12:24
阅读次数:
170