A Choose Your Own Adventure Lecture By Mr. Matzen
Once upon a time, Mr. Matzen had a part time job working at… A Bank A Music Store
At that music store Mr. Matzen… Worked diligently everyday Worked diligently everyday Had a lot of free time to think Had a lot of free time to think Played FreeCell and listened to music Played FreeCell and listened to music
As the employee of the year competition approached Mr. Matzen… Began looking for a way to win Began looking for a way to win Gave up immediately and quit Gave up immediately and quit Starting sabotaging the work of other employees Starting sabotaging the work of other employees
The first thing Mr. Matzen tried… Was forging timecards to overstate the hours of other employees Was drawing silly pictures of the boss on the counter and blaming others
Without a job Mr. Matzen was hired as a bank teller. On his first day of work he wore… Appropriate business attire A warrior outfit
Mr. Matzen spent his time thinking about… Whether Cheetos were snacks or chips How to make his job easier
The customers kept interrupting FreeCell so Mr. Matzen… Put out the closed sign an hour early Decided to work on making his job easier, so he could play
After several long winded debates Mr. Matzen started… Writing a letter to Frito Lay Yelling at customers to get their opinions
Unfortunately the boss showed up unexpectedly and Mr. Matzen was fired on the spot. Let’s try a different career.
Mr. Matzen decided that the best way to win the competition was… Working lots of overtime Creating a better way to sort the merchandise PLAN APLAN B
The hours of overtime took a toll on Mr. Matzen’s grades so he had to reconsider his decision. PLAN B
At that time the store did not use a computer to monitor inventory. The store paid $3 for each CD and $5 for each DVD. The sales price was decided by the clerk. All CDs and DVDs were placed alphabetically in the store.
What were some of the problems with this system? Don’t know what was in inventory. Don’t know the quantity in inventory. Paid the same for Eminem and Paula Abdul Inconsistent pricing of identical items. All styles of music are mixed together, making it more difficult to sort and more difficult to find items.
What could Mr. Matzen do to fix these problems? 1. Create a table with Microsoft WordCreate a table with Microsoft Word 2. Create a table with Excel Create a table with Excel 3. Create a table with AccessCreate a table with Access
There is a better answer.
A database is correct but why? A table in a database appears similar to a table in spreadsheet, but the function is different. A spreadsheet is used to do mathematic calculations on the data assembled. A database is used to do easy searches (queries) of the data assembled.
Knowing he needed to use a database Mr. Matzen… Researched databases carefully Dove in head first to Access
During the research he read about 4 database components. TableTable – a collection of related information organized in columns and rows Table Query – an instruction to do a job, such as locating records with certain characteristics Form – a database object you can use to enter, edit, view, and print database info. Report – a database object that presents database information in an accessible way
Mr. Matzen opened Access and became frustrated so he… Sang Karaoke to let off steam Decided to research databases
Boo him off stage. Applaud loudly.
Fine. You don’t like my singing? Then take some notes over… Databases
The fame quickly went to Mr. Matzen’s head and he… Tried a comedy routine Tried his hand at acting
Quit your job. A star is born. Get back to databases.
Quit your job. A star is born. Get back to databases.
After quitting his job Mr. Matzen realized he had no talent and… Looked for another job Began the database research
Creating a table was the first step. The rows are Records (all the data for an individual item) The columns are Fields (the different types of data we want to know) Record Field
What fields need to be included in the CD/DVD database? ArtistAlbum Price Buy Used Price Buy New Price Sell Used Price Sell New Number of Copies Number of Copies Desired Trade Value CD or DVD Style
Mr. Matzen entered all of this information into a database and Everything worked perfectly He forgot one little thing
Mr. Matzen started bragging about this system to everyone. Soon he ate his words. He even held a press conference.
At this press conference, a reporter asked Mr. Matzen… What about special editions? Why are you so tall?
Now tell us about the Special Editions. I’m so confused. Give us more notes please.
What about Special Editions or Remakes? How do you differentiate between two items with the same name? Give us a hint. No idea. Give us the answer.
Should we add a field or change a field we already have? ChangeAdd
Should we add a word or a number? WordNumber
What number should we add? Create a number Barcode
The barcode is the key. An item is specifically identified by that number. It is unique to each version or edition of an item. So why do we care? What is a barcode?
Here is a barcode. Please lecture about Wal-Mart and barcodes Let’s get back to databases
The story of Wal-Mart Now on to database
Why do you care about barcodes? So we can understand… Primary Keys Wal-Mart’s Success
A primary key is the part of a database unique to one item. When connecting two databases the primary key is needed as a reference to match items. Enough talk. Let’s get on the computers. How about another example.
At that time the bank tracked accounts by social security number. Last name, first name, social security number, and address were the only information stored on the computer.
What were some of the problems with this system? No room for multiple account owners. Does not differentiate between account types. Does not specify the account.
What could Mr. Matzen do to fix these problems? 1. Alter a table with Microsoft WordAlter a table with Microsoft Word 2. Alter a table with Excel Alter a table with Excel 3. Alter a table with AccessAlter a table with Access
There is a better answer.
A database is correct but why? A table in a database appears similar to a table in spreadsheet, but the function is different. A spreadsheet is used to do mathematic calculations on the data assembled. A database is used to do easy searches (queries) of the data assembled.
Knowing he needed to use a database Mr. Matzen… Researched databases carefully Dove in head first to Access
During the research he read about 4 database components. TableTable – a collection of related information organized in columns and rows Table Query – an instruction to do a job, such as locating records with certain characteristics Form – a database object you can use to enter, edit, view, and print database info. Report – a database object that presents database information in an accessible way
Mr. Matzen opened Access and became frustrated so he… Took a trip to Graceland Decided to research databases
All Shook Up At The King’s Grave. Heartbreak Hotel With Joshua Jackson.
Suspicious Minds. Get back to databases.
Don’t Be Cruel. Get back to databases.
Creating a table was the first step. The rows are Records (all the data for an individual item) The columns are Fields (the different types of data we want to know) Record Field
What fields need to be included in the bank account database? Account number Primary Owner 1 Primary Owner 2 Secondary Owner 1 Secondary Owner 2 Account type Social Security Number Address Phone Number
The account number is used to identify the record instead of the social security number. In Access it can be the primary key. Primary Key? Access?
Yes Access. You must have known that was what all this run around was leading to. Right, so what is a primary key. I thought it was leading to a free day.
Listen! Just drop the whole free day thing and get on with it. Primary Key Primary Key I’m tired of giving you choices.
Why would you wear this to work? Just a joke. We can be serious now. I see nothing wrong with this outfit.
Nothing wrong. You just are wasting time now. On to a banking scenario.