SlideShare a Scribd company logo
• Mahmoud Abdallah Mahmoud
• Head of Developer Vertical
• Microsoft Tech Club Sohag University
• Faculty of Engineering
Databases & Microsoft SQL Server
• Database & DBMS
• Relational Database Features
• Structured Query Language
• Microsoft SQL Server
• DEMO
• How to start
• Microsoft Certifications
Objectives
What are Databases?
First, What is the problem? You have some data!!!!!
Text Files & Spreadsheets
• Size
• Ease of updating
• Accuracy
• Security
• Redundancy
• Importance
Having Data is not the problem, The problem is what comes next :
This is the true power of Database:
( It’s Invisible ) It’s the thing you can’t see
Microsoft's Vision for Data
• The database is your data & your rules about that data.
• DBMS: Software  Surround, Manage & Make sure your rules are applied.
Database Database
DBMS
Software
Other
DBMS
Database & DBMS
_ Amazon.com, eBay, Google, Bing, MVA, ….  The business is the information +
Great programming + Nice front end.
_ It could be a website or an phone application.
Databases & Microsoft SQL Server
Relational Database Features
• Database is constructed of one or more, usually more tables
• All your data goes into a table.
Table
Table
Table
Database
Databases & Microsoft SQL Server
Unique Values & Primary Keys
• Unique & Not Unique
• Primary Key
_ It’s the one piece of data, that will identify one, and only one row in this table .
_ Connect your different tables together.
Defining Table Relationships
1- One To Many
1- One To Many ( Cont. )
2- Many To Many
_ You can’t express it directly.
AuthorID 2
446
Databases & Microsoft SQL Server
__________________________
3- One To One
4- None
1- One To Many “very common”.
2- Many To Many “occasionally required”.
3- One To One “not common at all”.
4- None “exist”.
Recap
SQL
“ Structured Query Language ”
Introduction to SQL “ Structured Query Language ”
• SQL is the common language, that lies in the heart of every RDMS.
• SQL is the language “ very focused language ”.
• SQL is a declarative query language not a procedural language,
what it means that you use SQL to describe what you want
and let the RDMS handle how that actually done.
Example “ Books Table ”
# Which books have a ListPrice more than 40$ ???
In Pseudo Code
In SQL
• You describe what you want
_ In English :
“ I want all books more than 40$ ”
_ In SQL :
SELECT * FROM Books WHERE ListPrice > 40
• SQL can be used to :
Create
Read
Update
Delete
• Define the databases themselves.
• Creating Queries in SQL
• It’s not for general programming, it’s
a language focused on working with
databases.
• Query: We use it to ask the database
a question, and we expect a reply.
SELECT
Create
Read
Update
Delete
• Define the databases themselves.
Example
Microsoft
SQL Server
Why Microsoft SQL Server ???
• A MATURE Product
_ It is been around for more than twenty years.
• MICROSOFT SQL Server
_ It’s very common in a Microsoft oriented shop.
• INTEGRATION
_ The integration is great with other Microsoft products things like SharePoint, ASP.NET, Silverlight or the office products like Excel.
• HOSTED SOLUTIONS
_ Many web hosting companies will allow you rent and create a SQL server databases and often inexpensively when it still quite rare to find other enterprise level databases like ORACLE or IBM
DB2 on offer.
• ADVANCED FEATURES
_ Reporting Services
_ BIDS & Data Analysis
_ Integration services
…
It’s a collection of different Components
SQL
Server
SQL Server
Management
Studio
Reporting
Services
SQL Server
Profiler
Business
Intelligence
Development
Studio
Integration
Services
Configuration
Manager
Analysis
Services
Books
Online
DEMO
NASDAQNASDAQ is an American/Canadian stock exchange. It is the second-largest exchange in the
world by market capitalization, behind only the New York Stock Exchange.
NASDAQ Manages over 1 Petabyte of Data with the Microsoft Platform
How to Start ???
Database Development
Data Pros ( DBA )
Databases & Microsoft SQL Server
Microsoft SQL Server Certifications
Databases & Microsoft SQL Server
Contact Me
eg.linkedin.com/in/mahmoudabdallah01
mahmoud.abd.allah@hotmail.com
Contact Me
eg.linkedin.com/in/mahmoudabdallah01
mahmoud.abd.allah@hotmail.com

More Related Content

Databases & Microsoft SQL Server

  • 1. • Mahmoud Abdallah Mahmoud • Head of Developer Vertical • Microsoft Tech Club Sohag University • Faculty of Engineering
  • 3. • Database & DBMS • Relational Database Features • Structured Query Language • Microsoft SQL Server • DEMO • How to start • Microsoft Certifications Objectives
  • 4. What are Databases? First, What is the problem? You have some data!!!!!
  • 5. Text Files & Spreadsheets
  • 6. • Size • Ease of updating • Accuracy • Security • Redundancy • Importance Having Data is not the problem, The problem is what comes next :
  • 7. This is the true power of Database: ( It’s Invisible ) It’s the thing you can’t see
  • 9. • The database is your data & your rules about that data. • DBMS: Software  Surround, Manage & Make sure your rules are applied. Database Database DBMS Software Other DBMS Database & DBMS _ Amazon.com, eBay, Google, Bing, MVA, ….  The business is the information + Great programming + Nice front end. _ It could be a website or an phone application.
  • 11. Relational Database Features • Database is constructed of one or more, usually more tables • All your data goes into a table. Table Table Table Database
  • 13. Unique Values & Primary Keys • Unique & Not Unique
  • 14. • Primary Key _ It’s the one piece of data, that will identify one, and only one row in this table . _ Connect your different tables together.
  • 16. 1- One To Many
  • 17. 1- One To Many ( Cont. )
  • 18. 2- Many To Many _ You can’t express it directly.
  • 22. 1- One To Many “very common”. 2- Many To Many “occasionally required”. 3- One To One “not common at all”. 4- None “exist”. Recap
  • 23. SQL “ Structured Query Language ”
  • 24. Introduction to SQL “ Structured Query Language ” • SQL is the common language, that lies in the heart of every RDMS. • SQL is the language “ very focused language ”. • SQL is a declarative query language not a procedural language, what it means that you use SQL to describe what you want and let the RDMS handle how that actually done.
  • 25. Example “ Books Table ” # Which books have a ListPrice more than 40$ ???
  • 27. In SQL • You describe what you want _ In English : “ I want all books more than 40$ ” _ In SQL : SELECT * FROM Books WHERE ListPrice > 40
  • 28. • SQL can be used to : Create Read Update Delete • Define the databases themselves.
  • 29. • Creating Queries in SQL • It’s not for general programming, it’s a language focused on working with databases. • Query: We use it to ask the database a question, and we expect a reply.
  • 30. SELECT Create Read Update Delete • Define the databases themselves. Example
  • 32. Why Microsoft SQL Server ??? • A MATURE Product _ It is been around for more than twenty years. • MICROSOFT SQL Server _ It’s very common in a Microsoft oriented shop. • INTEGRATION _ The integration is great with other Microsoft products things like SharePoint, ASP.NET, Silverlight or the office products like Excel. • HOSTED SOLUTIONS _ Many web hosting companies will allow you rent and create a SQL server databases and often inexpensively when it still quite rare to find other enterprise level databases like ORACLE or IBM DB2 on offer. • ADVANCED FEATURES _ Reporting Services _ BIDS & Data Analysis _ Integration services …
  • 33. It’s a collection of different Components SQL Server SQL Server Management Studio Reporting Services SQL Server Profiler Business Intelligence Development Studio Integration Services Configuration Manager Analysis Services Books Online
  • 34. DEMO
  • 35. NASDAQNASDAQ is an American/Canadian stock exchange. It is the second-largest exchange in the world by market capitalization, behind only the New York Stock Exchange.
  • 36. NASDAQ Manages over 1 Petabyte of Data with the Microsoft Platform
  • 39. Data Pros ( DBA )
  • 41. Microsoft SQL Server Certifications