This is the query I have written: This is the output I am getting from the database: id versions 101 0.0 101 1.0 101 2.0 101 3.0 In my application, I am storing this result in but it gives an error saying “query did not return a unique result” How can I store this result? which data structure could I
Tag: hashmap
Index and hasmap
In order to ask my question I first need to explain my understanding of both concepts. Actually, my understanding is very vague, so stop me if I’m wrong. Index (btree in SQL): An index is helpful …
Java + Postgresql : How to store Parent and List of all children in a HashMap>
I have an sql table Children : | ParentName | ChildrenName | ——————————————————————————— | parent 1 | child 1 | | parent 1 | child 2 | | parent 2 | child 3 | | parent 1 | …