https://github.com/amsa2002/mongodbquery
MongoDB Query and Answers
https://github.com/amsa2002/mongodbquery
mongodb
Last synced: 11 months ago
JSON representation
MongoDB Query and Answers
- Host: GitHub
- URL: https://github.com/amsa2002/mongodbquery
- Owner: amsa2002
- Created: 2024-01-30T07:24:39.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-30T07:37:47.000Z (over 2 years ago)
- Last Synced: 2025-08-02T12:52:21.271Z (about 1 year ago)
- Topics: mongodb
- Homepage:
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
MongoDB Queries for Product Data
This repository contains MongoDB queries for interacting with a collection of products. The product data is stored in a MongoDB database.
Product JSON
The product data is stored in a JSON file. You can find the product JSON file [here](https://github.com/rvsp/database/blob/master/mongodb/product.json).
MongoDB Queries
1.Find all the information about each products
2.Find the product price which are between 400 to 800
3.Find the product price which are not between 400 to 600
4.List the four product which are grater than 500 in price
5.Find the product name and product material of each products
6.Find the product with a row id of 10
7.Find only the product name and product material
8.Find all products which contain the value of soft in product material
9.Find products which contain product color indigo and product price 492.00
10.Delete the products which product price value are same