MySQL Forums
Forum List  »  Newbie

Re: Database structure for a small Time and Attendance application
Posted by: Peter Brawley
Date: April 30, 2016 07:24PM

> I will have to store these raw logs in the databas

Obviously the table for raw data needs columns matching the .csv.

> how to store information once computed

That's called designing a database. Have you read up on that subject? If not, do so, then follow a logical method, eg http://www.artfulsoftware.com/dbdesignbasics.html

The .csv input you show doesn't distinquish loggin in from logging out, so it seems for this problem you will need to take the first success as in, the next success as out etc. When you're working in the real world, one hopes your designs will leave less to such guessing.

Options: ReplyQuote


Subject
Written By
Posted
Re: Database structure for a small Time and Attendance application
April 30, 2016 07:24PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.