Use SQL to answer the following questionsPart 1: Open the mydb database we created earlier and create a new department table with two fields: documentid (as an integer field) Jsondocument (as a JSON field) And add around 3 departments and each with 2 or 3 employees. See example on slide #39-41 of the JSONDataType PowerPoint. And you may use the online JSON validator at this link to validate your JSON documents: https://jsonformatter.curiousconcept.com/# Part 2: Use SQL to answer the following questions: Q1: Select all the records in the table. Q2: List the department names with their phones. Q3: A query to show the deptName and number of employees of the department. Q4: A query to show all the employees of a department of your choice using deptName as criteria Part 3 This relationship is modeled as a Department JSON object as: Department: deptID deptName deptRoom deptPhones:[phonenumber] employees: [{empID empNameempPhoneempEmails:[email]}] Create a MongoDB Atlas database with a Department collection and add around 3 departments and each with 2 or 3 employees. You may copy the documents from Assignment 8 to MongoDB. Use MongoDB Compass query and answer the following questions. Q1: Select all the documents in the collection and sorted by deptName. Q2: List the department names with their phones. Q3: A query to show the deptName and employees of the department. Q4: A query to show all the employees of a department of your choice using deptName as criteria. Submit the query screenshots.

Place your order
(550 words)

Approximate price: $22

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
$26
The price is based on these factors:
Academic level
Number of pages
Urgency
Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Read more

Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

Read more

Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.

Read more

Privacy policy

Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.

Read more

Fair-cooperation guarantee

By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.

Read more

Order your essay today and save 30% with the discount code HAPPY