Answered step by step
Verified Expert Solution
Question
1 Approved Answer
for you to use in this course. Write and execute DDL to create database tables in MariaDB to support a simplified version of bank accounts
for you to use in this course.
Write and execute DDL to create database tables in MariaDB to support a simplified version of bank accounts and transactions on those accounts.
The only types of transactions supported are deposits and withdrawals. Each deposit is designated as such using a transaction type code value of while the transaction type code for withdrawals is Your database should record the fact that transaction type code is associated with the transaction type name 'Deposit', and is associated with Withdrawal".
Each transaction is assigned a unique integer transaction id Assign to the first transaction you create, to the next, to the next, and so on
The date and time of each transaction is captured.
The amount of each deposit and each withdrawal is stored as a positive value. YYou can assume that any soffware using these data values will know to add deposit amounts to an account baiance and to subtract withdrawal amounts. You do not need to perform any of those calculations as part of this assignment Use the data type discussed in the instructional video for storing currency amounts, and include the keyword that instructs the database to allow only positive values. You can assume all transaction amounts will be less than one bilition dollars, which means a maximum of nine digits to the left of the decimal point, plus of course two digits to the right of the decimal point for the pennies.
Each deposit or withdrawal transaction affects a single bank account, each of which is identified by a unique account number. We also know the dato each account was opened and the name of the person who owns the account. Each account has only one owner:
To keop things simple, just include a person's name as part of each account record. Do not store any additional information about bank clients. You can assume a name will be at most characters. The owner name for an account is the only field in this database that can sometimes be null
Part of your task is to decide what tabies you need to defire. Remember the guidelines mertioned in the instructional videos:
Each tatile shoud store a list of something
When you have a situation where "For each mere are multiple then you should consider soparate taties io list instances of and
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started