Question

BTM210- Assignment 2- 12.5% Objectives: Install a NoSQL database (MongoDB) Create and Drop a MongoDB database...

BTM210- Assignment 2- 12.5%

Objectives:

  • Install a NoSQL database (MongoDB)
  • Create and Drop a MongoDB database
  • Create and drop a collection
  • Insert, update and delete a MongoDB document

Requirements:

  • For each Video, follow the same steps in the tutorial, take a screenshot of each step you do.
  • Paste you screen shots in a word document that includes a separate section for each video.
  • The following is a sample structure of your submitted file:
    • Section 1: Install MongoDB
    • Section 2: Create a MongoDB database (user your LastName as the DB name)
    • Section 3: Drop a MongoDB database.
    • Section 4: Create and drop a collection
    • Section 5: Insert, update and delete a MongoDB document

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Install MongoDB for Windows

x MongoDB 4.0.0 2008R2Plus SSL (64 bit) Service Customization Service Configuration Specify optional settings to configure Mo

Create DB in MongoDB

X C. Administrator: Command Prompt - mongo > use beginnersbook switched to db beginnersbook

Drop a MongoDB Database

db.dropDatabase();

Create and drop a collection

db.createCollection("Employee");

db.Employee.drop();

Insert, update and delete a MongoDB document\

db.Employee.insert({ "name" : "Ram", "empId": 2323443, "email": "[email protected]" });

db.Employee.update({empId: 2323443}, { $set: {"email": "[email protected]"}});

db.Employee.remove({empId: 2323443});

Add a comment
Know the answer?
Add Answer to:
BTM210- Assignment 2- 12.5% Objectives: Install a NoSQL database (MongoDB) Create and Drop a MongoDB database...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • need help Create or edit the SQL statements required to accomplish the following tasks. All columns...

    need help Create or edit the SQL statements required to accomplish the following tasks. All columns should have a column name, feel free to create appropriate aliases Use screen shots to ca evidence that each task is completed; include the SQL records before and after statements are executed, as appropriate. Include all work, even if you get errors. Paste your screen shots into a single PowerPoint file pture statements output from the statements, and views of the object explorer when...

  • DROP TABLE EMPLOYEE; DROP TABLE JOB; DROP TABLE EMP; DROP TABLE EMP_1; DROP TABLE EMP_2; CREATE...

    DROP TABLE EMPLOYEE; DROP TABLE JOB; DROP TABLE EMP; DROP TABLE EMP_1; DROP TABLE EMP_2; CREATE TABLE JOB(JOB_CODE CHAR (3) PRIMARY KEY, JOB_DESCRIPTION VARCHAR (20) NOT NULL,JOB_CHG_HOUR NUMBER (5,2) NOT NULL,JOB_LAST_UPDATE DATE NOT NULL); INSERT INTO JOB VALUES('500','Programmer','35.75','20-Nov-2017'); INSERT INTO JOB VALUES('501','System Analyst','96.75','20-Nov-2017'); INSERT INTO JOB VALUES('502','Database Designer','125.00','24-Mar-2018'); CREATE TABLE EMPLOYEE(EMP_NUM CHAR (3) PRIMARY KEY,EMP_LNAME VARCHAR (15) NOT NULL,EMP_FNAME VARCHAR (15) NOT NULL, EMP_INITIAL CHAR (1),EMP_HIREDATE DATE NOT NULL,JOB_CODE CHAR (3), EMP_YEARS NUMBER (2),FOREIGN KEY (JOB_CODE) REFERENCES JOB (JOB_CODE)); INSERT...

  • Learning Objectives: Learn to define constraints on tables Lean to define primary keys and foreign keys...

    Learning Objectives: Learn to define constraints on tables Lean to define primary keys and foreign keys Exercise                                                                                In Lab 09, we will continue the practice of creating tables. You will need to write SQL statements for the tasks specified below. After you complete them, submit your SQL script (in one *.sql file) to Blackboard by 11:59pm Nov. 16 (Friday). Include your name as a comment in the SQL script submitted. The creation statement for each table is worth one point,...

  • Overview: Database management plays an integral role in nearly every area of business. Databases house customer, accoun...

    Overview: Database management plays an integral role in nearly every area of business. Databases house customer, accounting, and employee data, and these different data sets must all be efficiently managed in order to make the data accessible. Companies rely on database engineers to ensure that their records are accurate, updated, and tracked in real time. This course covers structured query language (SQL) and how it can be used to manage database schemas, manipulate data, and analyze data. For your final...

  • Excel Assignment #2: Multiple Regression The Food Truck Case Study Overview and Objectives This a...

    Gross Sales Distance to Neighborhood MedianNeighborhood NeighborhoodNumber Businesses Median Age Parking Dummy Variable Free Parking Nearby Location Day) University (mi) Residential Population within 5 mi 3 5 0 1 2 2 NeighborhoodNumber Businesses Parking Dummy Variable Free Parking Nearby Location(1 Day) University (mi) Residential Population within 5 mi 10400 9 1 Excel Assignment #2: Multiple Regression The Food Truck Case Study Overview and Objectives This assignment examines the case of a new food truck and the role that location plays...

  • Rationale The focus of the project is to develop your database programming skills. This project will...

    Rationale The focus of the project is to develop your database programming skills. This project will help you get a fair idea of the sales and distribution system in any organization that has a chain of Carrying and Forwarding Agents (CFAs) or super stockists and stockists. You will be able to implement database programming concepts of ADO.NET in VB.NET and ASP.NET to create a real-life, web-based database application. (VB stands for Visual Basic.) Scenario Smooth Pen, Inc., a pen manufacturing...

  • Write the following SQL statements in Microsoft Access by using the Books database from Week 2...

    Write the following SQL statements in Microsoft Access by using the Books database from Week 2 Assignment 2. Once complete, copy and paste the SQL statements in a Microsoft Word document: Write SQL statements: To update the publisher name from READ WITH US to READ FOR US To verify the updated name field for the publisher with ID 6 To make the following updates to the Publisher table (be careful with WHERE): Make Contact="John Travolta" for publisher with ID number...

  • Assignment 4 provides practice with applying the ERD notation to narrative problem descriptions. This assignment involves...

    Assignment 4 provides practice with applying the ERD notation to narrative problem descriptions. This assignment involves problems 20, 33, 34, 35, and 36 on Page 224 in the textbook (Chapter 6). Plan to use the drawing tool of your choice to create the ERD then copy and paste each ERD into a Word document. Label the problems in your Word document to match the problem in the textbook. Problems 33 to 36 are worth 15% each. Problem 20 is worth...

  • For this course project, you will use various database management and programming techniques to design and...

    For this course project, you will use various database management and programming techniques to design and develop an online sales and distribution system for a fictitious organization. There are two phases—you will complete the first phase this week and the second phase in W5 Assignment 2. Rationale The focus of the project is to develop your database programming skills. This project will help you get a fair idea of the sales and distribution system in any organization that has a...

  • CSC151 JAVA PROGRAMMING LAB #7 OBJECTIVES . . . In this lab assignment, students will learn:...

    CSC151 JAVA PROGRAMMING LAB #7 OBJECTIVES . . . In this lab assignment, students will learn: To get an overview of exceptions and exception handling • To explore the advantages of using exception handling • To declare exceptions in a method header • To throw exceptions in a method • To write a try-catch block to handle exceptions To develop applications with exception handling To use the finally clause in a try-catch block To write data to a file using...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT