I have a query in Django that is resulting in unique rows but some contain common values in various fields. I want to consolidate those rows with the common values.
Example:
Assume each row returns an id, library, book title, author, and publication date.
I only want to know only about the book title, author and publication date. Additionally, I would like to know about 1 and only one library where it can be found. How so using Django?
I have a query in Django that is resulting in unique rows but some
Share
Could you try this: