![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据库
iteye_16613
这个作者很懒,什么都没留下…
展开
-
mysql 表连接
首先有下面的数据库A 表id name1 hello2 world B 表aid book flag1 mysql 01 android 02 mysql 12 mysql 02 android 0 下面开始进行几种查询 1.inner join select * from a,b where a.id=b...2014-01-22 22:04:21 · 185 阅读 · 0 评论 -
[转载]sqlite3 命令行基本使用
转载:http://blog.sina.com.cn/s/blog_74dfa9f401017s3u.htmlhttp://blog.csdn.net/liuzhidong123/article/details/6821635 sqlite> .tablessqlite> ALTER TABLE Students RENAME TO Teachers;...原创 2014-03-26 10:24:27 · 86 阅读 · 0 评论 -
pymongo 使用简单使用
1.新建连接 from pymongo import MongoClientclient = MongoClient('localhost', 27017)#client = MongoClient('mongodb://localhost:27017/')db = client.test_database#db = client['test-database...2014-05-14 14:44:45 · 145 阅读 · 0 评论 -
pymongo 排序的使用
1.简单的使用: db.ss.find({"user": int(uid)}).sort("createTime",-1) 按照创建时间排序 2.多个条件 .sort([("field1",pymongo.ASCENDING), ("field2",pymongo.DESCENDING)]) ...2014-05-18 14:06:33 · 1438 阅读 · 0 评论