06 2016 档案

摘要:Insert title here 用户名: 密码: Insert title here Insert title here 阅读全文
posted @ 2016-06-28 19:11 凌零聆 阅读(821) 评论(1) 推荐(0)
摘要:Insert title here 登录: 爱好: Insert title here 提交成功 Insert title here "); out.print("爱好:"+aihao+""); %> 阅读全文
posted @ 2016-06-27 22:08 凌零聆 阅读(14780) 评论(0) 推荐(1)
摘要:Insert title here ID: 回复: Insert title here id: 留言: id:"+ id + " 留言:"+liuyan )... 阅读全文
posted @ 2016-06-26 17:00 凌零聆 阅读(680) 评论(1) 推荐(0)
摘要:Insert title here 登录: 密码: Insert title here cuowu 对不起,输入出错! 阅读全文
posted @ 2016-06-24 17:03 凌零聆 阅读(1017) 评论(0) 推荐(0)
摘要:<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 阅读全文
posted @ 2016-06-22 16:52 凌零聆 阅读(2026) 评论(0) 推荐(1)
摘要:<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 阅读全文
posted @ 2016-06-22 16:41 凌零聆 阅读(1415) 评论(0) 推荐(0)
摘要:<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 阅读全文
posted @ 2016-06-22 16:20 凌零聆 阅读(878) 评论(0) 推荐(0)
摘要:<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@ page import="java.util.*" %> <%@ page import="java.text.*" 阅读全文
posted @ 2016-06-22 16:03 凌零聆 阅读(693) 评论(0) 推荐(0)
摘要:在 eclipse 中建立 java 程序:输入身份证号或准考证号可以查询到学生的基本信息。 rs.close(); st.close(); conn.close(); 完成学生信息的删除功能 阅读全文
posted @ 2016-06-20 23:44 凌零聆 阅读(1316) 评论(0) 推荐(0)
摘要:SQL中的单记录函数 1.ASCII返回与指定的字符对应的十进制数; SQL>select ascii('A') A,ascii('a') a,ascii('0') zero,ascii(' ') space from dual; A A ZERO SPACE 65 97 48 32 2.CHR给出 阅读全文
posted @ 2016-06-16 21:06 凌零聆 阅读(179) 评论(0) 推荐(0)
摘要:一、 dual是一个虚拟表,用来构成select的语法规则,oracle保证dual里面永远只有一条记录。我们可以用它来做很多事情,如下: 1、查看当前用户,可以在 SQL Plus中执行下面语句 select user from dual; 2、用来调用系统函数 select to_char(sy 阅读全文
posted @ 2016-06-14 18:17 凌零聆 阅读(328) 评论(0) 推荐(0)
摘要:10.查询Score表中的最高分的学生学号和课程号。(子查询或者排序) 11、 查询每门课的平均成绩。 12、查询Score表中至少有5名学生选修的并以3开头的课程的平均分数。 13、查询分数大于70,小于90的Sno列。 14、查询所有学生的Sname、Cno和Degree列。 15、查询所有学生 阅读全文
posted @ 2016-06-14 18:08 凌零聆 阅读(375) 评论(0) 推荐(0)
摘要:5、 查询Score表中成绩为85,86或88的记录。 6、 查询Student表中“95031”班或性别为“女”的同学记录。 7、 以Class降序查询Student表的所有记录。 8、 以Cno升序、Degree降序查询Score表的所有记录。 9、 查询“95031”班的学生人数。 阅读全文
posted @ 2016-06-13 17:42 凌零聆 阅读(292) 评论(0) 推荐(0)
摘要:package C; public class Bisai { public static void main(String[] args) { String a="xyz",b="",c=""; for (int i = 0; i < 3; i++) { if(a.substring(i,i+1) 阅读全文
posted @ 2016-06-13 10:34 凌零聆 阅读(7545) 评论(0) 推荐(0)
摘要:package C; public class Wanquanpingfang { public static void main(String[] args) { for (long i = -2147483648; i <= 2147483647; i++) { if((long)Math.sq 阅读全文
posted @ 2016-06-13 09:07 凌零聆 阅读(242) 评论(0) 推荐(0)
摘要:package C; public class Sushu { public static void main(String[] args) { int sum=0; for (int i = 101; i < 201; i++) { for (int j = 2; j <=i; j++) { if 阅读全文
posted @ 2016-06-12 16:51 凌零聆 阅读(7057) 评论(1) 推荐(1)
摘要:1、 查询Student表中的所有记录的Sname、Ssex和Class列。 2、 查询教师所有的单位即不重复的Depart列。 3、 查询Student表的所有记录。 4、 查询Score表中成绩在60到80之间的所有记录。 阅读全文
posted @ 2016-06-12 16:16 凌零聆 阅读(4657) 评论(0) 推荐(0)
摘要:package C; import java.util.*; public class Jiangjin { public static void main(String[] args) { System.out.println("输入当月利润:"); Scanner a=new Scanner(S 阅读全文
posted @ 2016-06-12 14:10 凌零聆 阅读(636) 评论(0) 推荐(0)
摘要:package a; import java.util.*; public class Yueshubeishu { public static void main(String[] args) { System.out.println("输入两个正整数:"); Scanner a=new Scan 阅读全文
posted @ 2016-06-11 21:30 凌零聆 阅读(1380) 评论(0) 推荐(0)
摘要:package a; public class Wanshu { public static void main(String[] args) { for (int i = 1; i <= 1000; i++) { int sum=0; for (int j = 1; j < i; j++) { i 阅读全文
posted @ 2016-06-11 21:06 凌零聆 阅读(20090) 评论(2) 推荐(0)
摘要:package a; public class Tuzi { public static void main(String[] args) { int a=1,b=0,c=0,sum = 0;//a 幼兔对数,b 小兔对数,c 成兔对数,sum 总对数 for (int i = 1; i <=24; 阅读全文
posted @ 2016-06-11 20:52 凌零聆 阅读(1148) 评论(0) 推荐(0)
摘要:package a; import java.util.*; public class Fenjiezhiyinshu { public static void main(String[] args) { System.out.println("输入一个正整数:"); Scanner a=new Scanner(System.in); ... 阅读全文
posted @ 2016-06-11 20:39 凌零聆 阅读(395) 评论(0) 推荐(0)
摘要:表(一)Student (学生表) 表(一)Student中的数据 表(二)Course(课程表) 表(二)Course(课程表)中的数据 表(三)Score(成绩表) 表(三)Score(成绩表)中的数据 表(四)Teacher(教师表) 表(四)Teacher(教师表)中的数据 阅读全文
posted @ 2016-06-08 14:36 凌零聆 阅读(15719) 评论(0) 推荐(1)
摘要:1. Thread类 2.Runnable接口 XuanZeChengShi2 city1=new XuanZeChengShi2(); Thread t1 = new Thread(city1,"北京") ; t1.start(); XuanZeChengShi2 city2=new XuanZe 阅读全文
posted @ 2016-06-03 20:36 凌零聆 阅读(1504) 评论(0) 推荐(0)