Sqlite a relational database?

Started by Andrzej, March 05, 2015, 08:37:50 AM

Previous topic - Next topic

Martin

Hi, I'd like to ask you a little problem, sqlite a relational database Please answer me please it's urgent.

Sonny


SQLite has support for FOREIGN KEYS, so you should model your tables as follows.

RaceId from the Race table is a FOREIGN KEY in Citizen table, if 1 Citizen can have only 1 Major Race in your application use case.