Database management is not something you'll do in C2 since databases are server side (like mysql) and so completely out of scope of C2.
For list controls, check the manual entry for the list plugin.
As far as data management/manipulation goes, the logic of inventories/arrays/dictionaries is all you need, look into the tutorials/manual articles already mentioned before, as well as the item listed in the "how do I FAQ".
C2 is a game making tool before all. It's maybe not fit for what you want to do.
You may like a car very much, and despite all your love and efforts, it will never make a good space ship, since it's never been designed/intended to be in the first place.