You can’t directly use SQL in MongoDB as MongoDB is a NoSQL database, meaning it doesn’t use the SQL language for querying.
However, MongoDB provides its own query language to work with. For instance, if you want to query all documents from a collection named `users` where the `age` field is 25, you would do:
```
db.users.find({ age: 25 })
```
MongoDB also provides an SQL to MongoDB Mapping Chart in their documentation where you can learn how to translate SQL queries into MongoDB’s query language: https://docs.mongodb.com/manual/reference/sql-comparison/
Moreover, MongoDB has a tool called ‘mongosql’, a BI Connector that allows applications that use JDBC to run queries against MongoDB using SQL. But remember, this is just a bridge for applications that primarily use SQL, for MongoDB you should use its own query language for all the features.
Lastly, third party tools like Apache Drill or Apache Nifi can help you to run SQL like queries in MongoDB but these also have limitations.
So, while there are possibilities to work MongoDB in a way similar to SQL, it is not recommended unless there’s a specific reason to do so. MongoDB is most efficient and effective when used with its own query language.