Cassandra consistency levels are a tricky concept, until you familiarise with them. They're based on a simple consideration: not all data and not all queries require the same level of correctness.
MariaDB supports several ways to compose strings dynamically. Some of them might be well-known, others aren't familiar to you. This article covers all the ways to compose strings.
Vettabase specialises in expert consulting and automation for your database infrastructure. We offer professional services and training for MySQL, MariaDB, PostgreSQL and Cassandra.