SELECT * FROM table;
db.table.find();
SELECT foo, bar FROM table;
db.table.find( {}, { 'foo' : 1, 'bar' : 1 } );
SELECT * FROM table WHERE a = 42;
db.table.find( { 'a' : 42 } );
SELECT * FROM table WHERE a = 'whisky' AND b > 18;
db.table.find( { 'a' : 'whisky', 'b' : { '$gt' : 18 } } );
SELECT * FROM table1 LEFT JOIN table2 ON (table1.a = table2.b);
???