Bear with me I'm new at this. I'm having some trouble designing a table that ranks books read by a book club each month. Each reader would rank the assigned books (normally 3) in descending order, 3 being the best.The following output is the result I'm looking for.
Rank
Jim
Bob
3
A
B
2
C
D
1
B
A
This is the table design I came up with. I seems to be efficient:
key
Name
Rank 3
Rank 2
Rank 1
1
Bob
B
D
A
2
Jim
A
C
B
The above table will work for most months when we will be reading 3 books. But how about a month when we will only be reading 2 books, we would only be ranking only 2 books. With the above table design, there would be a null in the rank 3 row for that month. I would prefer not to have nulls. I thought about it and redesigned the table (below) to be more flexible so that we could read any number of books on any given month but it is not nearly as efficient, i.e. to much redundancy for each column. It takes 6 rows to convey the same amount of information as the above table of 2 rows. Is this a problem, and if so, what should I do? Please help. Thanks!!
Key
Name
Rank
Book
1
Bob
3
B
2
Jim
3
A
3
Bob
2
D
4
Jim
2
C
5
Bob
1
A
6
Jim
1
B