$ ./guess_the_languageSQL & Databases
SQL & Databases · easy · #57

What does this MongoDB query return?

db.users.find({ age: { $gt: 30 } })
  1. Users younger than 30
  2. Users older than 30
  3. Users aged 30 or more
  4. The first 30 users
$gt means strictly greater than; $gte would include 30.
Play SQL & Databases ▸