database
iteye_15479
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
sql 练习
有三个表: 学生表:student 字段:stuID,name,gender,scholarship 成绩表:grade 字段:graID,stuID,courceID,grade 课程表:cource 字段:courceID,courceName,credits 求:查询所有课程分数都在90分以上的学生的stuID,name select stuID, name ...2009-09-20 19:32:33 · 109 阅读 · 0 评论 -
SQL 左右连接
两个表: A(id,name) 数据:(1,张三)(2,李四)(3,王五) B(id,name) 数据:(1,学生)(2,老师)(4,校长) 左连接结果: select A.*,B.* from A left join B on A.id=B.id; 1 张三 1 学生 2 李四 2 老师 3 王五 NULL NULL 右链接结果: select A.*,...原创 2009-09-20 19:44:03 · 279 阅读 · 0 评论 -
sql where on
http://blog.youkuaiyun.com/qiqi860819/article/details/4586067原创 2011-07-29 09:17:20 · 108 阅读 · 0 评论 -
sybase 12.5 insert null values
It's weird that sybase will convert empty string into ' ' (note: not empty but just a whitespace). So if you want to insert a null into a row, you should do like this: insert tabe xxx values (.....原创 2012-02-28 12:54:28 · 287 阅读 · 0 评论
分享