1.更新,事务,索引,不支持,是全表扫描2.创建表的字段类型和java类型是对应的。不支持日期类型,提供转换为字符串类型的函数。3.查询语句中,不支持having,可写嵌套的select来解决;group
by后只能是表的定义列名,不能像mysql那样可以为查询语句为逻辑处理结果声明的别名,但可为逻...
分类:
其他好文 时间:
2014-05-19 19:04:30
阅读次数:
331
DropDownList则与TextBox等控件不同,它使用的是select标记。它需要两个值:在下拉框中显示的列表,和默认选项。而自动绑定一次只能绑定一个属性,因此你需要根据需要选择是绑定列表,还是默认选项。DropDownList扩展方法的各个重载版本“基本上”都会传递到这个方法上:代码publ...
分类:
其他好文 时间:
2014-05-19 18:53:34
阅读次数:
209
比较经典一个课程学分表C(cno, cname, ccredit)一个学生选课表SC(sno,
cno, grade)select sno from sc,c where sc.cno=c.sno and sc.grade>=60 group by
sno having sum(credit)>=3...
分类:
其他好文 时间:
2014-05-19 17:06:41
阅读次数:
218
select查询
mongodb使用find或者findOne来查询:
find批量查询。
findOne是查询一条记录。
find有两个参数: 第一个查询条件, 第二个查询返回的字段。
下面是mongodb与sql查询的对应关系表:...
分类:
数据库 时间:
2014-05-18 18:30:49
阅读次数:
311
例如:有表1,表2两张相,希望通过like进行关联查询
// mysql中使用concat连接字符串
select t1.id, t1.title, t2.keyword from t1 inner join t2 on t1.title like concat('%', t2.keyword, '%');
// oracle、postgres 使用||连接字符串,其它库使用...
分类:
其他好文 时间:
2014-05-18 15:57:36
阅读次数:
242
/**
* 封装ProecssDialog对话框
*
*/
public class LoadDialog extends ProgressDialog {
private String title = "进度对话框";
private String message = "加载数据中....";
public LoadDialog(Context context, int theme)...
分类:
移动开发 时间:
2014-05-18 15:42:07
阅读次数:
314
MainActivity如下:
package cc.cn;
import java.util.HashMap;
import org.json.JSONObject;
import android.app.Activity;
import android.content.Context;
import android.os.Bundle;
import com.android.volley....
分类:
移动开发 时间:
2014-05-18 15:18:31
阅读次数:
297
第一章 数据库概论
1.在数据库管理技术的发展过程中,数据库独立性最高的是“数据库系统”阶段
2.三大经典的数据结构模型是“关系,层次和网状模型”
3.单个用户使用的数据视图的描述,称为“外模式”,它是用户与DBS的接口
4.DB中,数据的逻辑独立性是指“概念模式改变,外模式与应用程序不变”
5.通过指针链表来表示实体间联系的模型是“网状和层次模型”
6.DB的体系结...
分类:
数据库 时间:
2014-05-18 14:00:29
阅读次数:
599
现有分类
新疆
云南
西藏
甘肃
宁夏
青海...
分类:
其他好文 时间:
2014-05-18 08:29:42
阅读次数:
201
MainActivity如下:
package cc.y;
import android.app.Activity;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.Bitmap.Config;
import android.os.Bundle;
import and...
分类:
移动开发 时间:
2014-05-18 03:54:44
阅读次数:
365