In the previous section, we gained a basic understanding of the differences between a relational database and Cassandra. The most important difference is that a relational database models data by relationships whereas Cassandra models data by query. Now let us start with a simple example to look into what modeling by query means.
The following figure shows a simple relational data model of a stock quote application:
stock_symbol table is an entity representing the stock master information such as the symbol of a stock, the description ...