Recently, the most used databases are relational and NoSQL databases. However, in relational databases there is no inheritance, which is important when we want to use this database with the object-oriented application. Furthermore, NoSQL databases are less consistent and unsecure than relational databases. In this article, we present the flexible database (FDB) concept. This concept makes it possible to improve the relational database model with inheritance and make more flexible changes to the structure of the database while using it. Furthermore, some primary commands from the FDB dictionary are defined. It is shown that these commands are translatable to the sql commands used in relational databases. In this way, the flexible database can be created and works with any relational database management system (RDBMS), so there is no need to create separate tools to manage the FDB database.