Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
image text in transcribed
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/Is/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)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Business Intelligence

Authors: Efraim Turban, Ramesh Sharda, ...more

2nd Edition

013610066X, 9780136100669

More Books

Students also viewed these General Management questions