Your SlideShare is downloading. ×
  • Like
DigiGirlz_SoCal_Databases
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Now you can save presentations on your phone or tablet

Available for both IPhone and Android

Text the download link to your phone

Standard text messaging rates apply

DigiGirlz_SoCal_Databases

  • 711 views
Published

DigiGirlz_SoCal_Databases

DigiGirlz_SoCal_Databases

Published in Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
711
On SlideShare
0
From Embeds
0
Number of Embeds
1

Actions

Shares
Downloads
4
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide
  • HI, MY NAME IS KIM SCHMIDT & I AM A MICROSOFT CERTIFIED APPLICATION DEVELOPER. YOU CAN ASK ME ANY QUESTIONS YOU’D LIKE TO KNOW ABOUT ME TOMORROW EITHER DURING THE COLLEGE PREP SESSION OR THE JOB SHADOWING SESSION. LOOKING AT THE SCREEN, WHAT DO YOU THINK THIS CLASS IS ABOUT? DATABASES!!! __________________________________________________________________________________________________________________________________________________________________________________ FIRST ROW: CHAD MICHEAL MURRAY “One Tree Hill, high school football star” LL COOL J “Singer, engaged to Beyonce” DAVID BECKHAM “Soccer Phemon, married to Posh Spice” JOE JONAS “The Jonas Brothers, singers” BRAD PITT “Actor, part of duo Bradgelina” SECOND ROW: JOHNNY DEPP “Actor…..” VIN DIESEL “Actor, XXX Movies” (not X-rated, movies entitled “Triple X”) MATTHEW CcCONAUGHEY “Actor” JAKE GYLLENHAAL “Actor, ‘Brokeback Mountain’” NICK JONAS “The Jonas Brothers, singers” DENZEL WASHINGTON “Actor” THIRD ROW: ZACH EFFRON “High School Musical” ANDY GARCIA “Oceans ‘whatever number’, Actor” P DIDDY “Singer” HOMER SIMPSON “TV & Movie Star” JOSHUA “Winner of ‘So You Can Dance’ LEONARDO DICAPRIO “Actor, Titanic & more” MARC ANTHONY “Singer, married to JLo”

Transcript

  • 1. I WANT ONE OF THESE FROM ONE OF THEM!
  • 2. Databases!!!
  • 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. Even though a database looks like this when you see one in real life…. Please allow me to introduce you to a DATABASE!!!
  • 8. REALITY CHECK! … this is a database without its “makeup”!
  • 9. Don’t be afraid by what you saw on the previous slide, because I totally make sense! So let’s get beyond my bad hair day & bloated appearance, & get to know the “real” me! Activity #1: Introducing Databases
  • 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
    • Because of the relationships between the tables , you can get information from multiple tables using 1 question (query)
    • Writing T-SQL statements QUERY the database tables (ask them questions)
    • If you wanted to ask the same question many times, you can create a “ View ”, which just saves your question so you don’t have to type it again. The next time you run the View, you get that same question answered WITH UPDATED DATA!
  • 16. Activity #2: Running a Query to Retrieve Specific Data , & Activity #3: Customizing a View Return to SQLEXPRESS, & in the same query window but on a blank line, type “SELECT * FROM WhoDatedWho WHERE GirlName = ‘Paris’ “ , then again press F5 to run the query
  • 17.  
  • 18. Now, to create a View: In the left column where the database objects are listed, scroll way down past the last table “WhoDatedWho” until you see a folder entitled “Views”. Right click, then select “New View”. In the “Add Table” dialogue box, select “WhoDatedWho”, click “Add”, then click “Close”
  • 19. You now have access to the “WhoDatedWho” table so you can select columns from it to make your View. Click the “GirlName” column, then finish the query so that it says “SELECT GirlName FROM dbo.WhoDatedWho WHERE (GirlName = ‘Paris’)
  • 20. Click the Menu Item “File”, then click “SavexxxxxxView#”. You will then be prompted to choose a name for the View. I named mine “HowManyMenHaveDatedParisHilton”, but you can name it whatever you please!
  • 21. You now have created a VIEW! You are now a coding hero! For YOU!!!!!!
  • 22. What we just learned:
  • 23. Why would I want to be a Database Developer?
    • Of all the types of programmers there are, database programmers make the most money!
    • That means more trips to the mall!
    • More vacations…
    How would I know if I’d like database programming?
    • If you like things organized, you will LOVE database programming!
    • If you like details, you’ll LOVE database programming!
  • 24. Resources for further database learning:
    • http://codeplex.com/SqlServerSamples
      • Microsoft SQL Server Community & Samples
    • http://www.microsoft.com/express/
      • Site to download free editions of software, including SQLEXPRESS
    • http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
      • SQL Server Books Online
    • http://msdn.microsoft.com/en-us/library/ms169620.aspx
      • SQL Tutorials
    • http://msdn.microsoft.com/en-us/library/ms143221.aspx
      • Downloading Northwind & Pubs Sample Databases
    • http://msdn.microsoft.com/en-us/library/ms166016.aspx
      • Getting SQL Server Assistance
  • 25. Kim Schmidt – k.i.m@1ocmcad.net Lynn Langit – http://blogs.msdn.com/SoCalDevGal Our contact information