2. Databases!!!
Kim Schmidt, Gina Johnston, Lynn Langit
August 2008 - Irvine, CA
3. Agenda
4. What is a database?
Databases take the stress out of finding information!
5. Why do we need them?
An Excel Spreadsheet is a flat file, meaning it has a bunch of
information over & over again, with no way to customize what
you see or avoiding duplicate information.
6. How are they used?
A relational database is a single database spread across multiple
tables. Think of a database as a file cabinet and each drawer of
the file cabinet as a table within the database
7. Please allow me to introduce you to a DATABASE!!!
Even though a database looks like this when you see one in real
life.
8. this is a databasewithout itsmakeup!
REALITYCHECK!
9. Activity #1: Introducing Databases
Dont be afraid by what you saw on the previous slide, because I
totally make sense! So lets get beyond my bad hair day &
bloated appearance, & get to know the real me!
10. ?
11. Walkthrough & Explanations
12. The previous slide showed the database design (tables &
columns), now we will see the actual data contained in
rows
13.
14. What we just learned:
15. How to get the exact data you want to see wherever you want
to see it
SELECT * FROM Boyfriends = T-SQL (Language). You can ask for
very specific information this way
16. Because of the relationships between the tables, you can
get information from multiple tables using 1 question (query)
17. Writing T-SQL statements QUERY the database tables (ask
them questions)
18. If you wanted to ask the same question many times, you can
create a View, which just saves your question so you dont have to
type it again. The next time you run the View, you get that same
question answered WITH UPDATED DATA!