This week's book giveaways are in the Cloud and AI/ML forums.
We're giving away four copies each of Cloud Native Patterns and Natural Language Processing and have the authors on-line!
See this thread and this one for details.
Win a copy of Cloud Native PatternsE this week in the Cloud forum
or Natural Language Processing in the AI/ML forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

3 beginners questions

 
Ranch Hand
Posts: 573
1
VI Editor Chrome Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm retired, the project I have in mind is for fun and I doubt anyone else will ever use it.

Some 20 years ago I was involved in a project that used a database, and learned both how hard it is and how important it is to define your, um, framework? correctly.  By that I mean the various tables and how they interact.  The 2 things I remember that you shouldn't store a datum in more than 1 table, and we ended up with 2-3 "invisible" tables that the user never saw but were needed to ensure each datum ended up in a single table.  My app will have 5-7 tables.

Where is a good place to learn how to design this?  And what is it called?

Second, my application (it's for a game) has 5 players, each playing 3 positions.  You do not know which player is playing which positions.  Each position has a name.  Say we have a, b, c, d, e, f, g, h, ....  I'm playing a, b, and c.  Fred could be playing d, g, and n.  But I don't know that, I have to deduce it.  How would you suggest I store this in a database?

Finally, this will run on a laptop.  Which database system should I use (donning asbestos underpants)?

Oh yeah, I'll be writing this in either Java or Kotlin.
 
Marshal
Posts: 64998
246
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Jim Venolia wrote:. . . Where is a good place to learn how to design this?

Any good undergraduates' database course or databases book.

And what is it called?

A schema. Or normalisation. I think.
 
Bartender
Posts: 1164
38
IBM DB2 Netbeans IDE Spring Java
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
With respect to your question about which database to use,  my favourite choice when I want to play with some technology is MySQL. It's also one of the most widely used in tutorials all over the web.
 
Sheriff
Posts: 24594
55
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Database normalization
 
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Where is a good place to learn how to design this?

Easy Learning MySQL SQL  Easy Learning JDBC + MySQL

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!