对表中数据的操作
2015-08-19 21:25
218 查看
--向表中添加数据 insert into Table_1(电话,成绩) values(2000101,12) --修改表中的数据 update Table_1 set 电话=12138 where 电话=2000101 --删除表中的数据 delete from Table_1 where 电话=12138 --删除表中所有数据 truncate table Table_1 --查询语句 select select_list from table_list where search_conditions group by group_by_list having search_conditions order by order_list --选择所有列 select*from Table_1 --特定列 select xh,xm from Table_1 --top子句 select top 2* from Table_1 -- 查询stu里前2行数据 限制返回到结果集中的行数 --使用表别名 --表名 as 表别名 --where 子句(查询条件查询内容的属性)
相关文章推荐
- 算生日相同的概率
- JQuery validate验证规则
- Google放出Android6.0最后一个预览版以及API23
- Nginx原理和部署
- hdu 1869 六度分离(SPFA算法)
- HBase Default Configuration
- cvc-complex-type.2.4.a错误解决方法
- hdu2833(Floyd)
- NotePad++中JSLint的使用
- 字符串hash函数
- 归并排序 自顶向下实现
- [转]使用 Vagrant 打造跨平台开发环境
- HDU 1264 Counting Squares(哈希表||离散化)
- hdoj 1969 Pie
- 小比赛(CodeForces 560A,UVA 11040,CodeForces 550B,HDU 1856,UVA 1644,CodeForces 560B,HDU 3405,UVA 10820)
- java 设计类时考虑多线程安全
- Myeclipse 10 破解说明
- 使用VS2010连接MySQL
- 数据持久化 将数据写入到本地 文件管理
- USB引脚定义以及导线的颜色定义