sql - Normalizing DBs - Can this be normalized further? -


i have mockup database creating. i'm wondering how can further normalize it, , far thoughts breaking out date it's own table. common practice?

database

the answer is: yes. without having exact definition of every field, i.e. mean in context of data model, it's hard give answer on this.

looking @ trips table, i'm seeing column zip_code looks out of place. zip_code field not directly related primary key of trip table (afaict anyway). zip code property of city. zip_code should stored in city table.

what aiming end in database normalized third normal form (3nf). should read on normalization , apply rules 3nf. go further entails duplicating numerous tutorials, courses , books. take this question on so starting point , try apply data model.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -