|
-
Mar 9th, 2008, 08:15 AM
#9
Re: [RESOLVED] Sorting from multiple tables
Yeah positive and negative values are fine. My suggestion only referred to the transaction type as in how the deposit or withdrawal was made.
It's perfectly okay to have more than one transaction with the same user ID. But your old set-up could have yielded a transaction with the same account, user ID, amount, date and ID thereby producing a duplicate record.
I used normalization to demonstrate why it was a problem because it is usually a good idea to check that your database conforms to BC normal form and if not weather changing it so it does solves the problem.
Last edited by visualAd; Mar 9th, 2008 at 08:18 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|