- Impact
- 26
Hey everyone I posted in the break room about a opp. My boss presented me with and it involves learning SQL. I have been reading for a few days and its starting to sink in somewhat. But I have a few questions . Lets start by telling you what he wants me to do.... and he told me yesterday i should be able to do it by tommorow (monday)
Accounting system
Set up a database on local comp.
Set up acual database
Select/insert/Update/Delete with joins
Transaction
TransactionID
AccountID
EntityID
TypeID
ClassificationID
Amount
DateWritten
DateCleared
CheckNumber
Account
AccountID
Name
StartDate
StartAmount
AccountStatement
AccountID
DateStart
DateEnd
Deposits
Withdrawals
Entity
EntityID
Name
Classification-For if it's and expense example"Expense-Employee" or "Deposit-MErchant Account"
ClassificationID
NAme
Type-Check/Credit Card
TypeID
Name
I have no problem setting up the Database in Enterprise manager. The tables are easy. were I am having problems in desiding what is a primary key and such. If I am reading correct a primary key is to distinguish unique info? Also I can figure out what the best way to join this all together.
Is there anyone out there that can help me on this one? Here is what I have so far.
Accounting system
Set up a database on local comp.
Set up acual database
Select/insert/Update/Delete with joins
Transaction
TransactionID
AccountID
EntityID
TypeID
ClassificationID
Amount
DateWritten
DateCleared
CheckNumber
Account
AccountID
Name
StartDate
StartAmount
AccountStatement
AccountID
DateStart
DateEnd
Deposits
Withdrawals
Entity
EntityID
Name
Classification-For if it's and expense example"Expense-Employee" or "Deposit-MErchant Account"
ClassificationID
NAme
Type-Check/Credit Card
TypeID
Name
I have no problem setting up the Database in Enterprise manager. The tables are easy. were I am having problems in desiding what is a primary key and such. If I am reading correct a primary key is to distinguish unique info? Also I can figure out what the best way to join this all together.
Is there anyone out there that can help me on this one? Here is what I have so far.







