SlideShare uma empresa Scribd logo
1 de 24
I WANT ONE OF THESE FROM ONE OF THEM!
Databases!!! Kim Schmidt, Gina Johnston, Lynn Langit August 2008  - Irvine, CA
Agenda
What is a database? Databases take the stress out of finding information!
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.
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
Please allow me to introduce you to a DATABASE!!!   Even though a database looks like this when you see one in real life….
…this is a databasewithout its“makeup”! REALITYCHECK!
Activity #1: Introducing Databases 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!
?
Walkthrough & Explanations
The previous slide showed the database design (tables & columns), now we will see the actual data contained in rows
What we just learned:
How to get the exact data you want to see wherever you want to see it ,[object Object]
 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!,[object Object]
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”
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’)
Click the Menu Item “File”, then click “Savexxxxxiew#”. You will then be prompted to choose a name for the View. I named mine “HowManyMenHaveDatedParisHilton”, but you can name it whatever you please!
You now have created a VIEW!  You are now a coding hero! For YOU!!!!!!
What we just learned:

Mais conteúdo relacionado

Semelhante a 1 Digi Girlz So Cal Databases Kims Final

Microsoft DigiGirlz, Teaching Teens About Databases (Trick!)
Microsoft DigiGirlz, Teaching Teens About Databases (Trick!)Microsoft DigiGirlz, Teaching Teens About Databases (Trick!)
Microsoft DigiGirlz, Teaching Teens About Databases (Trick!)DataLeader.io
 
Database and Access Power Point
Database and Access Power PointDatabase and Access Power Point
Database and Access Power PointAyee_Its_Bailey
 
Baileybatts bailey battsdatabasepowerpoint8
Baileybatts bailey battsdatabasepowerpoint8Baileybatts bailey battsdatabasepowerpoint8
Baileybatts bailey battsdatabasepowerpoint8Ayee_Its_Bailey
 
Database and Access Power Point
Database and Access Power PointDatabase and Access Power Point
Database and Access Power PointAyee_Its_Bailey
 
Database and Access Power Point
Database and Access Power PointDatabase and Access Power Point
Database and Access Power PointAyee_Its_Bailey
 
SQL Basic and conceptual Explained with Examples,Graphs, pictures etc
SQL Basic and conceptual Explained with Examples,Graphs, pictures etc SQL Basic and conceptual Explained with Examples,Graphs, pictures etc
SQL Basic and conceptual Explained with Examples,Graphs, pictures etc maheshpharale
 
Cleaning and sorting data
Cleaning and sorting dataCleaning and sorting data
Cleaning and sorting dataNina Sandlin
 
Style Intelligence Evaluation Documentation
Style Intelligence Evaluation DocumentationStyle Intelligence Evaluation Documentation
Style Intelligence Evaluation DocumentationArleneWatson
 
An introduction to jQuery
An introduction to jQueryAn introduction to jQuery
An introduction to jQueryJames Wragg
 
Tools and Tips: From Accidental to Efficient Data Warehouse Developer (SQLSat...
Tools and Tips: From Accidental to Efficient Data Warehouse Developer (SQLSat...Tools and Tips: From Accidental to Efficient Data Warehouse Developer (SQLSat...
Tools and Tips: From Accidental to Efficient Data Warehouse Developer (SQLSat...Cathrine Wilhelmsen
 
INTRODUCTION TO ACCESSOBJECTIVESDefine th.docx
INTRODUCTION TO ACCESSOBJECTIVESDefine th.docxINTRODUCTION TO ACCESSOBJECTIVESDefine th.docx
INTRODUCTION TO ACCESSOBJECTIVESDefine th.docxmariuse18nolet
 
Sql database terms
Sql database termsSql database terms
Sql database termsJoe Robles
 
Best Practices for Database Schema Design
Best Practices for Database Schema DesignBest Practices for Database Schema Design
Best Practices for Database Schema DesignIron Speed
 
Best Practices for Database Schema Design
Best Practices for Database Schema DesignBest Practices for Database Schema Design
Best Practices for Database Schema DesignIron Speed
 
Building a CRM Application
Building a CRM ApplicationBuilding a CRM Application
Building a CRM ApplicationIron Speed
 

Semelhante a 1 Digi Girlz So Cal Databases Kims Final (20)

Microsoft DigiGirlz, Teaching Teens About Databases (Trick!)
Microsoft DigiGirlz, Teaching Teens About Databases (Trick!)Microsoft DigiGirlz, Teaching Teens About Databases (Trick!)
Microsoft DigiGirlz, Teaching Teens About Databases (Trick!)
 
Database and Access Power Point
Database and Access Power PointDatabase and Access Power Point
Database and Access Power Point
 
Baileybatts bailey battsdatabasepowerpoint8
Baileybatts bailey battsdatabasepowerpoint8Baileybatts bailey battsdatabasepowerpoint8
Baileybatts bailey battsdatabasepowerpoint8
 
Database and Access Power Point
Database and Access Power PointDatabase and Access Power Point
Database and Access Power Point
 
Database and Access Power Point
Database and Access Power PointDatabase and Access Power Point
Database and Access Power Point
 
SQL Basic and conceptual Explained with Examples,Graphs, pictures etc
SQL Basic and conceptual Explained with Examples,Graphs, pictures etc SQL Basic and conceptual Explained with Examples,Graphs, pictures etc
SQL Basic and conceptual Explained with Examples,Graphs, pictures etc
 
Cleaning and sorting data
Cleaning and sorting dataCleaning and sorting data
Cleaning and sorting data
 
Net database
Net databaseNet database
Net database
 
Style Intelligence Evaluation Documentation
Style Intelligence Evaluation DocumentationStyle Intelligence Evaluation Documentation
Style Intelligence Evaluation Documentation
 
Semantic Web - Introduction
Semantic Web - IntroductionSemantic Web - Introduction
Semantic Web - Introduction
 
An introduction to jQuery
An introduction to jQueryAn introduction to jQuery
An introduction to jQuery
 
Tools and Tips: From Accidental to Efficient Data Warehouse Developer (SQLSat...
Tools and Tips: From Accidental to Efficient Data Warehouse Developer (SQLSat...Tools and Tips: From Accidental to Efficient Data Warehouse Developer (SQLSat...
Tools and Tips: From Accidental to Efficient Data Warehouse Developer (SQLSat...
 
INTRODUCTION TO ACCESSOBJECTIVESDefine th.docx
INTRODUCTION TO ACCESSOBJECTIVESDefine th.docxINTRODUCTION TO ACCESSOBJECTIVESDefine th.docx
INTRODUCTION TO ACCESSOBJECTIVESDefine th.docx
 
Access tutorial2
Access tutorial2Access tutorial2
Access tutorial2
 
Databasell
DatabasellDatabasell
Databasell
 
Sql database terms
Sql database termsSql database terms
Sql database terms
 
Best Practices for Database Schema Design
Best Practices for Database Schema DesignBest Practices for Database Schema Design
Best Practices for Database Schema Design
 
Best Practices for Database Schema Design
Best Practices for Database Schema DesignBest Practices for Database Schema Design
Best Practices for Database Schema Design
 
Access
AccessAccess
Access
 
Building a CRM Application
Building a CRM ApplicationBuilding a CRM Application
Building a CRM Application
 

Mais de llangit

3 App Compat Win7
3 App Compat Win73 App Compat Win7
3 App Compat Win7llangit
 
2 Win7 For Devs Ux Touch Sensors
2 Win7 For Devs Ux Touch Sensors2 Win7 For Devs Ux Touch Sensors
2 Win7 For Devs Ux Touch Sensorsllangit
 
1 Win7 For Devs Fund Search
1 Win7 For Devs Fund Search1 Win7 For Devs Fund Search
1 Win7 For Devs Fund Searchllangit
 
5 Digigirlz Xna
5 Digigirlz Xna5 Digigirlz Xna
5 Digigirlz Xnallangit
 
4 Making Movies
4 Making Movies4 Making Movies
4 Making Moviesllangit
 
2 Digi Girlz Small Basic
2 Digi Girlz Small Basic2 Digi Girlz Small Basic
2 Digi Girlz Small Basicllangit
 
SQL Server 2008 Data Mining
SQL Server 2008 Data MiningSQL Server 2008 Data Mining
SQL Server 2008 Data Miningllangit
 
SQL Server 2008 for Developers
SQL Server 2008 for DevelopersSQL Server 2008 for Developers
SQL Server 2008 for Developersllangit
 
SQL Server 2008 for .NET Developers
SQL Server 2008 for .NET DevelopersSQL Server 2008 for .NET Developers
SQL Server 2008 for .NET Developersllangit
 
Tech Days09 Sqldev
Tech Days09 SqldevTech Days09 Sqldev
Tech Days09 Sqldevllangit
 
Windows Azure for .NET Developers
Windows Azure for .NET DevelopersWindows Azure for .NET Developers
Windows Azure for .NET Developersllangit
 
Introduction To Sql Services
Introduction To Sql ServicesIntroduction To Sql Services
Introduction To Sql Servicesllangit
 
Making of GirlGamer
Making of GirlGamerMaking of GirlGamer
Making of GirlGamerllangit
 
DigiGirlzSmallBasic
DigiGirlzSmallBasicDigiGirlzSmallBasic
DigiGirlzSmallBasicllangit
 
Bi2008 Plus Cloud Preview
Bi2008 Plus Cloud PreviewBi2008 Plus Cloud Preview
Bi2008 Plus Cloud Previewllangit
 
The Role Of An Architect
The Role Of An ArchitectThe Role Of An Architect
The Role Of An Architectllangit
 
SQL Server 2008 for Developers
SQL Server 2008 for DevelopersSQL Server 2008 for Developers
SQL Server 2008 for Developersllangit
 
Parallel Programming and F#
Parallel Programming and F#Parallel Programming and F#
Parallel Programming and F#llangit
 

Mais de llangit (20)

3 App Compat Win7
3 App Compat Win73 App Compat Win7
3 App Compat Win7
 
2 Win7 For Devs Ux Touch Sensors
2 Win7 For Devs Ux Touch Sensors2 Win7 For Devs Ux Touch Sensors
2 Win7 For Devs Ux Touch Sensors
 
1 Win7 For Devs Fund Search
1 Win7 For Devs Fund Search1 Win7 For Devs Fund Search
1 Win7 For Devs Fund Search
 
3 Kodu
3 Kodu3 Kodu
3 Kodu
 
5 Digigirlz Xna
5 Digigirlz Xna5 Digigirlz Xna
5 Digigirlz Xna
 
4 Making Movies
4 Making Movies4 Making Movies
4 Making Movies
 
2 Digi Girlz Small Basic
2 Digi Girlz Small Basic2 Digi Girlz Small Basic
2 Digi Girlz Small Basic
 
SQL Server 2008 Data Mining
SQL Server 2008 Data MiningSQL Server 2008 Data Mining
SQL Server 2008 Data Mining
 
SQL Server 2008 for Developers
SQL Server 2008 for DevelopersSQL Server 2008 for Developers
SQL Server 2008 for Developers
 
SQL Server 2008 for .NET Developers
SQL Server 2008 for .NET DevelopersSQL Server 2008 for .NET Developers
SQL Server 2008 for .NET Developers
 
Tech Days09 Sqldev
Tech Days09 SqldevTech Days09 Sqldev
Tech Days09 Sqldev
 
Windows Azure for .NET Developers
Windows Azure for .NET DevelopersWindows Azure for .NET Developers
Windows Azure for .NET Developers
 
Introduction To Sql Services
Introduction To Sql ServicesIntroduction To Sql Services
Introduction To Sql Services
 
Making of GirlGamer
Making of GirlGamerMaking of GirlGamer
Making of GirlGamer
 
Kodu
KoduKodu
Kodu
 
DigiGirlzSmallBasic
DigiGirlzSmallBasicDigiGirlzSmallBasic
DigiGirlzSmallBasic
 
Bi2008 Plus Cloud Preview
Bi2008 Plus Cloud PreviewBi2008 Plus Cloud Preview
Bi2008 Plus Cloud Preview
 
The Role Of An Architect
The Role Of An ArchitectThe Role Of An Architect
The Role Of An Architect
 
SQL Server 2008 for Developers
SQL Server 2008 for DevelopersSQL Server 2008 for Developers
SQL Server 2008 for Developers
 
Parallel Programming and F#
Parallel Programming and F#Parallel Programming and F#
Parallel Programming and F#
 

Último

Sonagachi ( Call Girls ) Kolkata ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Rea...
Sonagachi ( Call Girls ) Kolkata ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Rea...Sonagachi ( Call Girls ) Kolkata ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Rea...
Sonagachi ( Call Girls ) Kolkata ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Rea...rahim quresi
 
𓀤Call On 6297143586 𓀤 Sonagachi Call Girls In All Kolkata 24/7 Provide Call W...
𓀤Call On 6297143586 𓀤 Sonagachi Call Girls In All Kolkata 24/7 Provide Call W...𓀤Call On 6297143586 𓀤 Sonagachi Call Girls In All Kolkata 24/7 Provide Call W...
𓀤Call On 6297143586 𓀤 Sonagachi Call Girls In All Kolkata 24/7 Provide Call W...rahim quresi
 
Hotel And Home Service Available Kolkata Call Girls Sonagachi ✔ 6297143586 ✔C...
Hotel And Home Service Available Kolkata Call Girls Sonagachi ✔ 6297143586 ✔C...Hotel And Home Service Available Kolkata Call Girls Sonagachi ✔ 6297143586 ✔C...
Hotel And Home Service Available Kolkata Call Girls Sonagachi ✔ 6297143586 ✔C...ritikasharma
 
Science City Kolkata ( Call Girls ) Kolkata ✔ 6297143586 ✔ Hot Model With Sex...
Science City Kolkata ( Call Girls ) Kolkata ✔ 6297143586 ✔ Hot Model With Sex...Science City Kolkata ( Call Girls ) Kolkata ✔ 6297143586 ✔ Hot Model With Sex...
Science City Kolkata ( Call Girls ) Kolkata ✔ 6297143586 ✔ Hot Model With Sex...rahim quresi
 
Independent Garulia Escorts ✔ 9332606886✔ Full Night With Room Online Booking...
Independent Garulia Escorts ✔ 9332606886✔ Full Night With Room Online Booking...Independent Garulia Escorts ✔ 9332606886✔ Full Night With Room Online Booking...
Independent Garulia Escorts ✔ 9332606886✔ Full Night With Room Online Booking...Riya Pathan
 
Model Call Girls In Pazhavanthangal WhatsApp Booking 7427069034 call girl ser...
Model Call Girls In Pazhavanthangal WhatsApp Booking 7427069034 call girl ser...Model Call Girls In Pazhavanthangal WhatsApp Booking 7427069034 call girl ser...
Model Call Girls In Pazhavanthangal WhatsApp Booking 7427069034 call girl ser... Shivani Pandey
 
Almora call girls 📞 8617697112 At Low Cost Cash Payment Booking
Almora call girls 📞 8617697112 At Low Cost Cash Payment BookingAlmora call girls 📞 8617697112 At Low Cost Cash Payment Booking
Almora call girls 📞 8617697112 At Low Cost Cash Payment BookingNitya salvi
 
Top Rated Pune Call Girls Pimpri Chinchwad ⟟ 6297143586 ⟟ Call Me For Genuin...
Top Rated  Pune Call Girls Pimpri Chinchwad ⟟ 6297143586 ⟟ Call Me For Genuin...Top Rated  Pune Call Girls Pimpri Chinchwad ⟟ 6297143586 ⟟ Call Me For Genuin...
Top Rated Pune Call Girls Pimpri Chinchwad ⟟ 6297143586 ⟟ Call Me For Genuin...Call Girls in Nagpur High Profile
 
Book Paid Sonagachi Call Girls Kolkata 𖠋 8250192130 𖠋Low Budget Full Independ...
Book Paid Sonagachi Call Girls Kolkata 𖠋 8250192130 𖠋Low Budget Full Independ...Book Paid Sonagachi Call Girls Kolkata 𖠋 8250192130 𖠋Low Budget Full Independ...
Book Paid Sonagachi Call Girls Kolkata 𖠋 8250192130 𖠋Low Budget Full Independ...noor ahmed
 
Borum Call Girls Service ☎ ️93326-06886 ❤️‍🔥 Enjoy 24/7 Escort Service
Borum Call Girls Service ☎ ️93326-06886 ❤️‍🔥 Enjoy 24/7 Escort ServiceBorum Call Girls Service ☎ ️93326-06886 ❤️‍🔥 Enjoy 24/7 Escort Service
Borum Call Girls Service ☎ ️93326-06886 ❤️‍🔥 Enjoy 24/7 Escort ServiceDamini Dixit
 
Book Sex Workers Available Kolkata Call Girls Service Airport Kolkata ✔ 62971...
Book Sex Workers Available Kolkata Call Girls Service Airport Kolkata ✔ 62971...Book Sex Workers Available Kolkata Call Girls Service Airport Kolkata ✔ 62971...
Book Sex Workers Available Kolkata Call Girls Service Airport Kolkata ✔ 62971...ritikasharma
 
Beautiful 😋 Call girls in Lahore 03210033448
Beautiful 😋 Call girls in Lahore 03210033448Beautiful 😋 Call girls in Lahore 03210033448
Beautiful 😋 Call girls in Lahore 03210033448ont65320
 
↑Top Model (Kolkata) Call Girls Behala ⟟ 8250192130 ⟟ High Class Call Girl In...
↑Top Model (Kolkata) Call Girls Behala ⟟ 8250192130 ⟟ High Class Call Girl In...↑Top Model (Kolkata) Call Girls Behala ⟟ 8250192130 ⟟ High Class Call Girl In...
↑Top Model (Kolkata) Call Girls Behala ⟟ 8250192130 ⟟ High Class Call Girl In...noor ahmed
 
Model Call Girls In Ariyalur WhatsApp Booking 7427069034 call girl service 24...
Model Call Girls In Ariyalur WhatsApp Booking 7427069034 call girl service 24...Model Call Girls In Ariyalur WhatsApp Booking 7427069034 call girl service 24...
Model Call Girls In Ariyalur WhatsApp Booking 7427069034 call girl service 24... Shivani Pandey
 
↑Top Model (Kolkata) Call Girls Sonagachi ⟟ 8250192130 ⟟ High Class Call Girl...
↑Top Model (Kolkata) Call Girls Sonagachi ⟟ 8250192130 ⟟ High Class Call Girl...↑Top Model (Kolkata) Call Girls Sonagachi ⟟ 8250192130 ⟟ High Class Call Girl...
↑Top Model (Kolkata) Call Girls Sonagachi ⟟ 8250192130 ⟟ High Class Call Girl...noor ahmed
 
Call Girls in Barasat | 7001035870 At Low Cost Cash Payment Booking
Call Girls in Barasat | 7001035870 At Low Cost Cash Payment BookingCall Girls in Barasat | 7001035870 At Low Cost Cash Payment Booking
Call Girls in Barasat | 7001035870 At Low Cost Cash Payment Bookingnoor ahmed
 
College Call Girls Pune 8617697112 Short 1500 Night 6000 Best call girls Service
College Call Girls Pune 8617697112 Short 1500 Night 6000 Best call girls ServiceCollege Call Girls Pune 8617697112 Short 1500 Night 6000 Best call girls Service
College Call Girls Pune 8617697112 Short 1500 Night 6000 Best call girls ServiceNitya salvi
 
📞 Contact Number 8617697112 VIP Ganderbal Call Girls
📞 Contact Number 8617697112 VIP Ganderbal Call Girls📞 Contact Number 8617697112 VIP Ganderbal Call Girls
📞 Contact Number 8617697112 VIP Ganderbal Call GirlsNitya salvi
 

Último (20)

Sonagachi ( Call Girls ) Kolkata ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Rea...
Sonagachi ( Call Girls ) Kolkata ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Rea...Sonagachi ( Call Girls ) Kolkata ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Rea...
Sonagachi ( Call Girls ) Kolkata ✔ 6297143586 ✔ Hot Model With Sexy Bhabi Rea...
 
𓀤Call On 6297143586 𓀤 Sonagachi Call Girls In All Kolkata 24/7 Provide Call W...
𓀤Call On 6297143586 𓀤 Sonagachi Call Girls In All Kolkata 24/7 Provide Call W...𓀤Call On 6297143586 𓀤 Sonagachi Call Girls In All Kolkata 24/7 Provide Call W...
𓀤Call On 6297143586 𓀤 Sonagachi Call Girls In All Kolkata 24/7 Provide Call W...
 
Goa Call "Girls Service 9316020077 Call "Girls in Goa
Goa Call "Girls  Service   9316020077 Call "Girls in GoaGoa Call "Girls  Service   9316020077 Call "Girls in Goa
Goa Call "Girls Service 9316020077 Call "Girls in Goa
 
Hotel And Home Service Available Kolkata Call Girls Sonagachi ✔ 6297143586 ✔C...
Hotel And Home Service Available Kolkata Call Girls Sonagachi ✔ 6297143586 ✔C...Hotel And Home Service Available Kolkata Call Girls Sonagachi ✔ 6297143586 ✔C...
Hotel And Home Service Available Kolkata Call Girls Sonagachi ✔ 6297143586 ✔C...
 
Science City Kolkata ( Call Girls ) Kolkata ✔ 6297143586 ✔ Hot Model With Sex...
Science City Kolkata ( Call Girls ) Kolkata ✔ 6297143586 ✔ Hot Model With Sex...Science City Kolkata ( Call Girls ) Kolkata ✔ 6297143586 ✔ Hot Model With Sex...
Science City Kolkata ( Call Girls ) Kolkata ✔ 6297143586 ✔ Hot Model With Sex...
 
Independent Garulia Escorts ✔ 9332606886✔ Full Night With Room Online Booking...
Independent Garulia Escorts ✔ 9332606886✔ Full Night With Room Online Booking...Independent Garulia Escorts ✔ 9332606886✔ Full Night With Room Online Booking...
Independent Garulia Escorts ✔ 9332606886✔ Full Night With Room Online Booking...
 
Model Call Girls In Pazhavanthangal WhatsApp Booking 7427069034 call girl ser...
Model Call Girls In Pazhavanthangal WhatsApp Booking 7427069034 call girl ser...Model Call Girls In Pazhavanthangal WhatsApp Booking 7427069034 call girl ser...
Model Call Girls In Pazhavanthangal WhatsApp Booking 7427069034 call girl ser...
 
Almora call girls 📞 8617697112 At Low Cost Cash Payment Booking
Almora call girls 📞 8617697112 At Low Cost Cash Payment BookingAlmora call girls 📞 8617697112 At Low Cost Cash Payment Booking
Almora call girls 📞 8617697112 At Low Cost Cash Payment Booking
 
Top Rated Pune Call Girls Pimpri Chinchwad ⟟ 6297143586 ⟟ Call Me For Genuin...
Top Rated  Pune Call Girls Pimpri Chinchwad ⟟ 6297143586 ⟟ Call Me For Genuin...Top Rated  Pune Call Girls Pimpri Chinchwad ⟟ 6297143586 ⟟ Call Me For Genuin...
Top Rated Pune Call Girls Pimpri Chinchwad ⟟ 6297143586 ⟟ Call Me For Genuin...
 
Book Paid Sonagachi Call Girls Kolkata 𖠋 8250192130 𖠋Low Budget Full Independ...
Book Paid Sonagachi Call Girls Kolkata 𖠋 8250192130 𖠋Low Budget Full Independ...Book Paid Sonagachi Call Girls Kolkata 𖠋 8250192130 𖠋Low Budget Full Independ...
Book Paid Sonagachi Call Girls Kolkata 𖠋 8250192130 𖠋Low Budget Full Independ...
 
Borum Call Girls Service ☎ ️93326-06886 ❤️‍🔥 Enjoy 24/7 Escort Service
Borum Call Girls Service ☎ ️93326-06886 ❤️‍🔥 Enjoy 24/7 Escort ServiceBorum Call Girls Service ☎ ️93326-06886 ❤️‍🔥 Enjoy 24/7 Escort Service
Borum Call Girls Service ☎ ️93326-06886 ❤️‍🔥 Enjoy 24/7 Escort Service
 
Book Sex Workers Available Kolkata Call Girls Service Airport Kolkata ✔ 62971...
Book Sex Workers Available Kolkata Call Girls Service Airport Kolkata ✔ 62971...Book Sex Workers Available Kolkata Call Girls Service Airport Kolkata ✔ 62971...
Book Sex Workers Available Kolkata Call Girls Service Airport Kolkata ✔ 62971...
 
Beautiful 😋 Call girls in Lahore 03210033448
Beautiful 😋 Call girls in Lahore 03210033448Beautiful 😋 Call girls in Lahore 03210033448
Beautiful 😋 Call girls in Lahore 03210033448
 
↑Top Model (Kolkata) Call Girls Behala ⟟ 8250192130 ⟟ High Class Call Girl In...
↑Top Model (Kolkata) Call Girls Behala ⟟ 8250192130 ⟟ High Class Call Girl In...↑Top Model (Kolkata) Call Girls Behala ⟟ 8250192130 ⟟ High Class Call Girl In...
↑Top Model (Kolkata) Call Girls Behala ⟟ 8250192130 ⟟ High Class Call Girl In...
 
Model Call Girls In Ariyalur WhatsApp Booking 7427069034 call girl service 24...
Model Call Girls In Ariyalur WhatsApp Booking 7427069034 call girl service 24...Model Call Girls In Ariyalur WhatsApp Booking 7427069034 call girl service 24...
Model Call Girls In Ariyalur WhatsApp Booking 7427069034 call girl service 24...
 
↑Top Model (Kolkata) Call Girls Sonagachi ⟟ 8250192130 ⟟ High Class Call Girl...
↑Top Model (Kolkata) Call Girls Sonagachi ⟟ 8250192130 ⟟ High Class Call Girl...↑Top Model (Kolkata) Call Girls Sonagachi ⟟ 8250192130 ⟟ High Class Call Girl...
↑Top Model (Kolkata) Call Girls Sonagachi ⟟ 8250192130 ⟟ High Class Call Girl...
 
Desi Bhabhi Call Girls In Goa 💃 730 02 72 001💃desi Bhabhi Escort Goa
Desi Bhabhi Call Girls  In Goa  💃 730 02 72 001💃desi Bhabhi Escort GoaDesi Bhabhi Call Girls  In Goa  💃 730 02 72 001💃desi Bhabhi Escort Goa
Desi Bhabhi Call Girls In Goa 💃 730 02 72 001💃desi Bhabhi Escort Goa
 
Call Girls in Barasat | 7001035870 At Low Cost Cash Payment Booking
Call Girls in Barasat | 7001035870 At Low Cost Cash Payment BookingCall Girls in Barasat | 7001035870 At Low Cost Cash Payment Booking
Call Girls in Barasat | 7001035870 At Low Cost Cash Payment Booking
 
College Call Girls Pune 8617697112 Short 1500 Night 6000 Best call girls Service
College Call Girls Pune 8617697112 Short 1500 Night 6000 Best call girls ServiceCollege Call Girls Pune 8617697112 Short 1500 Night 6000 Best call girls Service
College Call Girls Pune 8617697112 Short 1500 Night 6000 Best call girls Service
 
📞 Contact Number 8617697112 VIP Ganderbal Call Girls
📞 Contact Number 8617697112 VIP Ganderbal Call Girls📞 Contact Number 8617697112 VIP Ganderbal Call Girls
📞 Contact Number 8617697112 VIP Ganderbal Call Girls
 

1 Digi Girlz So Cal Databases Kims Final

  • 1. I WANT ONE OF THESE FROM ONE OF THEM!
  • 2. Databases!!! Kim Schmidt, Gina Johnston, Lynn Langit August 2008 - Irvine, CA
  • 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 its“makeup”! REALITYCHECK!
  • 9. Activity #1: Introducing Databases 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!
  • 10. ?
  • 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.
  • 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.
  • 19.
  • 20. 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”
  • 21. 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’)
  • 22. Click the Menu Item “File”, then click “Savexxxxxiew#”. You will then be prompted to choose a name for the View. I named mine “HowManyMenHaveDatedParisHilton”, but you can name it whatever you please!
  • 23. You now have created a VIEW! You are now a coding hero! For YOU!!!!!!
  • 24. What we just learned:
  • 25.
  • 26. That means more trips to the mall!
  • 28. If you like things organized, you will LOVE database programming!
  • 29.

Notas do Editor

  1. 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”
  2. Here,you’re looking at a photo of a person dressed as Microsoft SQL Server Girl! If you haven’t noticed, (wherever she is mounted), is a real-sized Source Force Superhero, SQL Server Gal! These action heroes are Developer Superheroes who fight software problems just as normal Superheroes fight the bad guys! What I LOVE ABOUT SQL SERVER GAL IS SHE IS FEMALE!!! Now, when you leave this class today, you might not quite be a Database Superhero, but you will be empowered with the knowledge of what databases are, what they do & affect in everyday life, & realize that our world wouldn’t be the same without them.__________________________________________________________________________________________________________________________________________________
  3. On the screen, you’ll see the topics we’re going to cover in this session:What is a database, why we need them, & how to use them Seeing a database as they really exist behind all the nice, pretty displays of the data Writing a simple T_SQL statement to see only what we want to see from anywhere Seeing a “real life” database on a website “in action”And if we have time, we’ll create a question that asks for the same information all the time, called a “View”
  4. WHAT IS A DATABASE?A database takes the stress out of finding out information! How? Well, let’s look at a comparison.
  5. WHY DO WE NEED THEM?This slide shows an Excel Spreadsheet, that contains a “bunch of information over & over again”…….why couldn’t we just store our information in one of these? The information is laid out in vertical COLUMNS & horizontal ROWS. COLUMN TITLES define WHAT TOPICS can be held in the COLUMNS. Each ROW contains the information for ONE ENTITY…described later___________________________________________________________________________________________________________________________________________?????SHOW EXCEL SPREADSHEET TO SHOW HOW FLAT IT IS, & HOW DIFFICULT IT IS TO FIND DATA, & IF YOU HAD ANOTHER SPREADSHEET, HOW COULD THE DATA BE CONNECTED?(Sorry, Gina, no time to create new spreadsheet with a bunch of tables, plus I’d have to research how to do that)…hopefully this will have somewhat of the effect you wanted….____________________________________________________________________________________________________________________________________________Imagine having a few of these spreadsheets. How could you get the information from 2 columns in one spreadsheet combined with 2 columns in another spreadsheet? You couldn’t.
  6. A relational database, however, contains many separate things like spreadsheets, called “TABLES”, ALL CONTAINED WITHIN ONE BIG CONTAINER, CALLED THE “DATABASE”. Explain cabinet/drawer analogy, & how they are all connected together by being contained within the same thing This makes connecting the information easier ULTIMATELY THE INFORMATION IN A DATABASE IS USED TO PRESENT YOU WITH INFORMATION IN AN EYE-PLEASING WAY__________________________________________________________________________________________________________________________________
  7. Here you are looking at a lot of information coming from a database….I bet you never realized that! So even though this is what a database looks like when you see it’s information displayed so pretty…__________________________________________________________________________________________________
  8. This is a database without its makeup… Now, this isn’t the actual database, but a “DATABASE DIAGRAM”, which we are now ready to look at___________________________________________________________________________________________________________ If the room has laptops, follow the steps in the following slides, if not, switch to SQL Server & demo _______________________________________________________________________________________________________________
  9. In our first activity, we are going to get familiar with the database environment SQL EXPRESS Double click on the desktop icon “SQL Management Studio Express”, which will look something like the green icon on the screen When you see the “Connect to Server” box, just press “Connect” You are now in the environment where you build & test databases! Keep clicking the “+” signs until you see the database SQL EXPRESS Find the “Boyfriend” database within it IS EVERYBODY THERE?______________________________________________________________________________________________
  10. DO WE HAVE TO WALK THEM THROUGH ATTACHING THE DATABASE???
  11. We are now going to continue to click on the “+” signs until the left side looks like the slide without the color, & the right slide looks like the slide because you have “dbo.TheDatingGame” selected under the DATABASE DIAGRAM folder______________________________________________________________________________________________________________________ Is everyone there? Let’s talk about what we’re looking at.______________________________________________________________________________________________________________________ Now, at the very top of my slide, you will see the database “Boyfriends” highlighted in yellow (the “file cabinet” we saw before) Notice it has a “cylinder” next to its name….databases are always represented as cylinders, because they “store information” The other 3 yellow-highlighted items on the screen are the “TABLES” within the BOYFRIENDS DATABASE (the “file cabinet drawers” we saw before) On my screen highlighted in green, are the COLUMNS of the table (= vertical information ). COLUMNS define what kind of information can be put into them On my screen highlighted in blue, are the INDIVIDUAL COLUMN NAMES OF THE TABLE. Notice some of the individual column descriptions contain the word NULL…(we will explain that further on) On my screen highlighted in orange, are the things that make up the DATABASE DIAGRAM that you see on the right side of my screen Highlighted in pink in the diagram are the RELATIONSHIPS that exist between the tables that allow you to get any amount of information out of each table & display that in another table together.
  12. Now, let’s have some fun & see what is in the tables we saw in the previous screen! Make sure you have the BOYFRIEND database selected in the DATABASE DROPDOWN LISTClick on the New Query Button, within the pink rectangle. A “query” is asking the database for information. This opens the New Query Window Type in “Select * from Boyfriends”, ( * = All ) then press the F5 button on your computer to see what we get__________________________________________________________________________________________ Have you all done this?________________________________________________________________________________________
  13. What you are looking at is the Boyfriend table returning all it’s content for you to see Before, we were looking at the DATABASE, IT’S TABLES, & THE COLUMNS (Database Design) Here we are looking at the ROWS, (=horizontal rows) Each ROW represents 1 “ENTITY” of the table, & in the case of a BOYFRIEND TABLE, we are looking at all the boyfriend rows in that table Notice the word NULL that I mentioned before….that means you do not HAVE to enter anything for those columns. If a column is not marked with NULL, you DO HAVE to put information there
  14. Answers:A database stores data, restricts your data to the types of columns, and provides an easy way to retrieve data from it.Tables & columnsRowsSqlExpress, a free version of a SQL Server Database Engine.
  15. T-SQL is the “language” you use when using a database, just as “LOL” or “BRB” is a “language” used when instant messagingRelationships enable you to prevent duplicate information from being entered, and links the tables together through “keys” so that one table can access the data in another tableIf you wanted to ask the same question many times, you can create a “VIEW” = a saved question that you can ask at any time in the future & will give you UPDATED ANSWERS each time
  16. In our next activity, we will ask a database table for very specific information from a table Then if time permits, in the third activity, we will create a View____________________________________________________________________________________ Back in the New Query window, on a new line, type “Select * from WhoDatedWho where GirlName = ‘Paris’, then press F5 to run the query________________________________________________________________________________________ Everybody there?________________________________________________________________________________________ Next slide close up
  17. The information returned only contains the rows in the WhoDatedWho table where the value of the column of GirlName was Paris___________________________________________________________________________________________________________ DO WE HAVE TIME TO CREATE THE VIEW? (Must have about 15-20 minutes to finish it all, if so. If not, they can follow the exercise on the slides on their usb drives______________________________________________________________________________________________________________________ If NO TIME, SKIP TO SLIDE # 21 (the coding hero) OR SLIDE # 22 (the recap questions), DEPENDING ON TIME
  18. In the left column, scroll way down past the last table “WhoDatedWho” until you see a folder named “Views”. Right-click, “New View” In the window that appears, click on the “WhoDatedWho” table, then click “Add”, then click “Close”
  19. Click the checkboxnext to the column name “GirlName” In the bottom area, finish the query to read “Select GirlName from dbo.WhoDatedWho where (GirlName=‘Paris’)
  20. Click the menu item “File”, then “SaveXXXXXXView#” In the box that appears, choose a name for your View, then click OK
  21. You now have a saved question, called a view, that you can ask the database anytime, & you will get UPDATED information for the question returned to you!
  22. QueryYou can get as specific as you can ever imagine!View“Data” 
  23. Now, why would you 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, & much more! 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 will LOVE database programming!
  24. These are wonderful links that I suggest you investigate to further learn about the wonders of databases!
  25. Our contact information – don’t be shy, we like to talk to you!