I'm developing an application which has very specific/odd database requirements.
I need to store collections of strings. If it helps, one string per collection is designated as "canonical", and the others are "alternatives". The list of collections needs to be ordered, so that I can easily get e.g. the 8th string collection in the list. Finally, I need to be able to insert arbitrary amounts of collections into any point in the list.
Obviously a relational database with a simple incremental id
column would be great for this except for the fact that you have to be able to insert collections into any point in the list. Then you'd have to update every single item after the inserted one, which isn't ideal.
I'm new to databases. I barely know how to use relational databases, much less anything else. Should I use SQL for this, or should I ditch relational databases for a NoSQL approach? I'm lost.