• + 0 comments

    The question is a bit confusing, there are two case scenarios.

    Case 1 - If we just look at the data, Booknames are not repeated anywhere. And we don't have to think about the test case since we just have to consider this particular data, also in test case it is written that no test cases are there in this question.

    Case 2 - If we start considering the test cases, bookname and author will be composite key and can we consider them as primary key. But the people who are not from the book publishing industry might not know that, two books can't have the same name since there is a copyright issue. So, the bookname is the primary key.