Create a MYSQL Database. (10 marks)
Create two/three Tables under the database; ensure there is one-to-many or many-to-many relationship in between tables. (15marks)
Write node code to insert data to all the tables. Create a generic function which will take the table name, query as parameter to insert data into the tables. (10 mark)
Write node code to get data from the tables. Create least 5 different queries to find data from database (the find queries must have combination of and/or/gt/ls/like commands available to retrieve data). Use table joins when you retrieving the data.(30 marks)
Write node code to update data into the table(20 marks)
Write node code to delete data from table. When you delete data ensure that related data in the other table also get deleted. (15mark)
How to submit the database:
1. Upload your node file.2. Create a screenshot of the output of read, insert, delete, and update functions
2
Select your paper details and see how much our professional writing services will cost.
Our custom human-written papers from top essay writers are always free from plagiarism.
Your data and payment info stay secured every time you get our help from an essay writer.
Your money is safe with us. If your plans change, you can get it sent back to your card.
We offer more than just hand-crafted papers customized for you. Here are more of our greatest perks.
Get instant answers to the questions that students ask most often.
See full FAQ