Consider the following relations for a database that keeps track of student enrollment in courses and the books adopted for each course:
STUDENT (SSN, Name, Major, Bdate)
COURSE (Course#, Quarter, Grade)
ENROLL (SSN, Course#, Quarter, Grade)
BOOK_ADOPTION (Course#, Quarter, Book_ISBN)
TEXT (Book_ISBN, Book_Title, Publisher, Author)
Specify the foreign keys for this schema, stating any assumptions you make.
The schema of this question has the following four foreign keys:
3. the attribute SSN of relation ENROLL that references relation STUDENT,
4. the attribute Course# in relation ENROLL that references relation COURSE,
5. the attribute Course# in relation BOOK_ADOPTION that references relation COURSE, and
6. the attribute Book_ISBN of relation BOOK_ADOPTION that references relation TEXT.
We now give the queries in relational algebra:
You might also like to view...
Analyze the following code:
```
double[] array = {1, 2, 3};
ArrayList
Which of the following can you not save separately?
A) Custom theme B) Custom colors C) Custom fonts D) Custom theme effects
Unlike the default format for text in a text box, the default alignment for shapes with text in them is _____ text.
A. left-aligned B. right-aligned C. center-aligned D. top-aligned
Which acronym refers to the file structure database that Microsoft originally designed for floppy disks?
a. NTFS b. FAT32 c. VFAT d. FAT