Question

d) For each of the relationships listed below, indicate if the relationship is on one, one-to-many, or many-to-many. Justify your answer i i. Student-course ii. Actor-movie iii. Mother-child a) In the context of relational databases i) Explain what is meant by the statement: SQL is a non-procedural language

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

Answer to PART 1:

Student- Course: The relationship that exist between Student and course is many to many.

Reason: A student can have many courses that he/she studies and also a course that exist in a school/college can have many Students who study them. A student can study courses like Physics, Chemistry, Maths, English. A subject like English can be studied by many Students.

Actor- Movie: The relationship that exist between Actor and Movie is many to many.

Reason: An Actor can perform in several movies and a movie can have several actors performing in it.

Mother- Child: The relationship that exist between Mother- Child is One to Many.

Reason: A Mother can have several children but a Child can have only one mother that has given birth to him/her.

Answer to PART 2:

SQL is known as non-procedural language because this language determines what should be done and gives no info regarding how it should be carried out. Procedural languages generally require deep knowledge and procedure of the operations that needs to be performed. The lower level operations and procedures are abstracted from the user and hence, SQL implements only the higher level operations. Thus, it is known as Non-procedural language.

Add a comment
Know the answer?
Add Answer to:
For each of the relationships listed below, indicate if the relationship is on one, one-to-many, or...
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
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