摘要: SQL StatementMongo Query Language StatementCREATE TABLE USERS (a Number, b Number)implicit; can be doneexplicitlyINSERT INTO USERS VALUES(1,1)db.users.insert({a:1,b:1})SELECT a,b FROM usersdb.users.find({}, {a:1,b:1})SELECT * FROM usersdb.users.find()SELECT * FROM users WHERE age=33db.users.find({ag 阅读全文
posted @ 2011-01-12 11:46 麦飞 阅读(1041) 评论(1) 推荐(1) 编辑