码迷,mamicode.com
首页 >  
搜索关键字:@age    ( 7165个结果)
Oracle使用order by排序关于null值处理
在Oracle中使用order by进行查询排序时,如果排序字段中有空值(null),排序结果可能会达不到我们想要的结果。如:select * from test order by age desc; 按照age字段降序排序,结果如下:将sql语句改为select * from test order by age desc nulls last;即可将null值排到最后。”nulls last”将...
分类:数据库   时间:2015-05-05 00:06:39    阅读次数:178
Newtonsoft.Json 序列化反序列化
public class People { public string name { get; set; } public string age { get; set; } public string sex { get; set; } }Li...
分类:Web程序   时间:2015-05-04 17:20:19    阅读次数:110
jsp页面中获取session中的值
JSTL标签获取Session: session.setAttribute("age","123"); ${ sessionScope.age} 在页面上显示的就是123了 sessionScope指的是session的范围,类似还有requestScope,pageScope,contextScope 然后后面的age表示的是set属性时的key值 Jsp中获取Session: s...
分类:Web程序   时间:2015-05-04 01:18:37    阅读次数:169
五月第一周周记
写在前面It was the best of times, it was the worst of times, it was the age of wisdom, it was the age of foolishness, it was the epoch of belief, it was t...
分类:其他好文   时间:2015-05-03 23:29:01    阅读次数:177
MongoDB命令
一/MongoDB查询对应的SQL db.users.find() select*fromusersdb.users.find({"age":27}) select*fromuserswhereage=27db.users.find({"username":"joe","age":27}) sele...
分类:数据库   时间:2015-05-03 18:48:06    阅读次数:114
Oracle Data Integrator 12c - Creating a Standalone Agent
This tutorial walks you through the steps that are needed to use Oracle Data Integrator Studio (ODI Studio) graphical tools to create a standalone age...
分类:数据库   时间:2015-05-02 11:02:59    阅读次数:220
Java 面向对象之继承从哪来,为什么用,怎么用?
首先看一张图片: 现在有两个类,Student和Worker,为了提高复用性、只建立一份代码,让一个类和另一个类产生关系就可以了,这种关系就是:继承。 但我们发现这两个类没有继承关系,但是它们有共性的内容,我们可以找到它们的共享类型,→无论是学生还是工人,都是Person,Person都具备着name和age。即: 在代码中通过关键字 继承(extends),让学生和工人与Per...
分类:编程语言   时间:2015-05-02 09:50:38    阅读次数:151
python 5 条件判断和循环
#!/usr/bin/env python # -*- coding: utf-8 -*- age = 3 if age >= 18: print 'adult' elif age >= 6: print 'teenager' else: print 'kid' print '----------------------' names = ['jie', 'bob', 'trcy'] f...
分类:编程语言   时间:2015-05-02 01:07:38    阅读次数:171
java克隆测试
1.person类 1 //clone方法必须实现Cloneable接口 2 public class Person implements Cloneable { 3 private String name; 4 private int age; 5 public Calen...
分类:编程语言   时间:2015-05-02 01:03:58    阅读次数:205
sql 语句 二
选单列数据 select name from totoro; 选两列数据 select id,name from totoro; 选单列中不重复的数据 select distinct name from totoro; 选出name列中名字是pangpang3的数据 select * from totoro where name='pangpang3'; 选出age>3的数...
分类:数据库   时间:2015-05-01 17:24:13    阅读次数:137
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!