SlideShare a Scribd company logo
1 of 24
Introduction to Database
Session #8
Presented Prepared by
Wagdy Mohamed
Aya Zakaria
Agenda
-What is database?
-Basic queries of database
-Connect your universal application with SQLite
-Let’s try
What is database?
Basic queries of database
-Create
-Insert
-Select
-Delete
-Update
-Drop
Create
CREATE TABLE table_name
(
Column_Name1 datatype (size),
Column_Name2 datatype (size),
.
.
.
.
Column_Name3 datatype (size)
);
Insert
INSERT INTO table_name
VALUES (value1,value2,….);
OR
INSERT INTO table_name
(column1,column2,column3,…)
VALUES(value1,value2,value3,…);
Select
SELECT column_name
FROM table_name
WHERE your_condition;
OR
SELECT *
FROM table_name
WHERE your_condition;
Operators
= Equal
< > Not equal
< Less than
> Greater than
>= Greater than or equal
<= Less than or equal
Like Search for pattern
Update
UPDATE table_name
SET column1=VALUE,coulmn2=VALUE
WHERE your_condition;
Drop and Delete
DELETE coulmn_name
FROM table_name
WHERE your_condition;
DROP table_name;
Connect your universal application with
SQLite
First press tools then open updates and extensions, make
sure that these 2 extensions are available
Connect your universal application with
SQLite
Then from solution explorer right click on References and
choose Add reference
Connect your universal application with
SQLite
Repeat the previous steps on the Windows phone 8.1 part
Connect your universal application with
SQLite
Connect your universal application with
SQLite
Connect your universal application with
SQLite
You will notice these warnings in windows and windows
phone
Connect your universal application with
SQLite
To solve this warnings open Configuration Manager from
Debug and choose x86
Connect your universal application with
SQLite
Right click on your project from solution explorer
and choose Manage nugget packages and install SQLite-net
Connect your universal application with
SQLite
To make sure that everything is going right you will notice appearance
of this 2 classes in windows and window phone part
How to create List in XAML
Contact us
wagdy.mohamed.95
wagdy.mohamed@outlook.sa
yoya.zakaria
ayazakaria@outlook.com

More Related Content

What's hot

Mysql Crud, Php Mysql, php, sql
Mysql Crud, Php Mysql, php, sqlMysql Crud, Php Mysql, php, sql
Mysql Crud, Php Mysql, php, sqlAimal Miakhel
 
BIS06 Physical Database Models
BIS06 Physical Database ModelsBIS06 Physical Database Models
BIS06 Physical Database ModelsPrithwis Mukerjee
 
Computing assignment 02 ms access (bilal maqbool 10) se-i
Computing assignment 02   ms access (bilal maqbool 10)          se-iComputing assignment 02   ms access (bilal maqbool 10)          se-i
Computing assignment 02 ms access (bilal maqbool 10) se-iBilal Maqbool ツ
 
1.4 data cleaning and manipulation in r and excel
1.4  data cleaning and manipulation in r and excel1.4  data cleaning and manipulation in r and excel
1.4 data cleaning and manipulation in r and excelSimple Research
 
SQL-Alter Table, SELECT DISTINCT & WHERE
SQL-Alter Table, SELECT DISTINCT & WHERESQL-Alter Table, SELECT DISTINCT & WHERE
SQL-Alter Table, SELECT DISTINCT & WHEREI L0V3 CODING DR
 
BP208 Fabulous Feats with @Formula
BP208 Fabulous Feats with @FormulaBP208 Fabulous Feats with @Formula
BP208 Fabulous Feats with @FormulaKathy Brown
 
Shared preferences
Shared preferencesShared preferences
Shared preferencesSourabh Sahu
 
SAS and R Code for Basic Statistics
SAS and R Code for Basic StatisticsSAS and R Code for Basic Statistics
SAS and R Code for Basic StatisticsAvjinder (Avi) Kaler
 
Project output of SIP
Project output of SIPProject output of SIP
Project output of SIPvinay gupta
 
3 descriptive statistics with R
3 descriptive statistics with R3 descriptive statistics with R
3 descriptive statistics with Rnaroranisha
 
Pa1 session 3_slides
Pa1 session 3_slidesPa1 session 3_slides
Pa1 session 3_slidesaiclub_slides
 

What's hot (15)

Mysql cheatsheet
Mysql cheatsheetMysql cheatsheet
Mysql cheatsheet
 
Mysql Crud, Php Mysql, php, sql
Mysql Crud, Php Mysql, php, sqlMysql Crud, Php Mysql, php, sql
Mysql Crud, Php Mysql, php, sql
 
BIS06 Physical Database Models
BIS06 Physical Database ModelsBIS06 Physical Database Models
BIS06 Physical Database Models
 
Computing assignment 02 ms access (bilal maqbool 10) se-i
Computing assignment 02   ms access (bilal maqbool 10)          se-iComputing assignment 02   ms access (bilal maqbool 10)          se-i
Computing assignment 02 ms access (bilal maqbool 10) se-i
 
1.4 data cleaning and manipulation in r and excel
1.4  data cleaning and manipulation in r and excel1.4  data cleaning and manipulation in r and excel
1.4 data cleaning and manipulation in r and excel
 
SQL-Alter Table, SELECT DISTINCT & WHERE
SQL-Alter Table, SELECT DISTINCT & WHERESQL-Alter Table, SELECT DISTINCT & WHERE
SQL-Alter Table, SELECT DISTINCT & WHERE
 
Sql
SqlSql
Sql
 
Php + MySql Optimization
Php + MySql OptimizationPhp + MySql Optimization
Php + MySql Optimization
 
BP208 Fabulous Feats with @Formula
BP208 Fabulous Feats with @FormulaBP208 Fabulous Feats with @Formula
BP208 Fabulous Feats with @Formula
 
Hira
HiraHira
Hira
 
Shared preferences
Shared preferencesShared preferences
Shared preferences
 
SAS and R Code for Basic Statistics
SAS and R Code for Basic StatisticsSAS and R Code for Basic Statistics
SAS and R Code for Basic Statistics
 
Project output of SIP
Project output of SIPProject output of SIP
Project output of SIP
 
3 descriptive statistics with R
3 descriptive statistics with R3 descriptive statistics with R
3 descriptive statistics with R
 
Pa1 session 3_slides
Pa1 session 3_slidesPa1 session 3_slides
Pa1 session 3_slides
 

Viewers also liked

Microsoft Tech Club Cairo University "MSTC'16 Builders and Developers " Sessi...
Microsoft Tech Club Cairo University "MSTC'16 Builders and Developers " Sessi...Microsoft Tech Club Cairo University "MSTC'16 Builders and Developers " Sessi...
Microsoft Tech Club Cairo University "MSTC'16 Builders and Developers " Sessi...Wagdy Mohamed
 
Microsoft Tech Club Cairo University "MSTC'16 Builders and Developers and Int...
Microsoft Tech Club Cairo University "MSTC'16 Builders and Developers and Int...Microsoft Tech Club Cairo University "MSTC'16 Builders and Developers and Int...
Microsoft Tech Club Cairo University "MSTC'16 Builders and Developers and Int...Wagdy Mohamed
 
Microsoft Tech Club Cairo University "MSTC'16 Builders and Developers " Third...
Microsoft Tech Club Cairo University "MSTC'16 Builders and Developers " Third...Microsoft Tech Club Cairo University "MSTC'16 Builders and Developers " Third...
Microsoft Tech Club Cairo University "MSTC'16 Builders and Developers " Third...Wagdy Mohamed
 
Microsoft Tech Club Cairo University "MSTC'16 Builders and Developers " Fifth...
Microsoft Tech Club Cairo University "MSTC'16 Builders and Developers " Fifth...Microsoft Tech Club Cairo University "MSTC'16 Builders and Developers " Fifth...
Microsoft Tech Club Cairo University "MSTC'16 Builders and Developers " Fifth...Wagdy Mohamed
 
Microsoft Tech Club Cairo University "MSTC'16 Builders and Developers " Secon...
Microsoft Tech Club Cairo University "MSTC'16 Builders and Developers " Secon...Microsoft Tech Club Cairo University "MSTC'16 Builders and Developers " Secon...
Microsoft Tech Club Cairo University "MSTC'16 Builders and Developers " Secon...Wagdy Mohamed
 
Presentation Skills MSTC_CU'15
Presentation Skills MSTC_CU'15Presentation Skills MSTC_CU'15
Presentation Skills MSTC_CU'15Radwa Mohamed
 
emotionalintelligence
emotionalintelligenceemotionalintelligence
emotionalintelligenceMina Magdy
 
Microsoft Tech Club Cairo University "MSTC'16 Builders and Developers " First...
Microsoft Tech Club Cairo University "MSTC'16 Builders and Developers " First...Microsoft Tech Club Cairo University "MSTC'16 Builders and Developers " First...
Microsoft Tech Club Cairo University "MSTC'16 Builders and Developers " First...Wagdy Mohamed
 
First Session:Introduction of Soft Skills,MSTC-CU'15
First Session:Introduction of Soft Skills,MSTC-CU'15First Session:Introduction of Soft Skills,MSTC-CU'15
First Session:Introduction of Soft Skills,MSTC-CU'15Ahmed Saeed
 
Session 2 : Communication skills,MSTC-CU'15
Session 2 : Communication skills,MSTC-CU'15Session 2 : Communication skills,MSTC-CU'15
Session 2 : Communication skills,MSTC-CU'15Ahmed Saeed
 
Session 8: Teamwork MSTC'15_CU
Session 8: Teamwork MSTC'15_CUSession 8: Teamwork MSTC'15_CU
Session 8: Teamwork MSTC'15_CURadwa Mohamed
 
Session5- Microsoft Tech Club'15 - presentation skills
Session5- Microsoft Tech Club'15 - presentation skillsSession5- Microsoft Tech Club'15 - presentation skills
Session5- Microsoft Tech Club'15 - presentation skillsAhmed Saeed
 
Session 3 :Stress and Time management ,MSTC-CU'15
Session 3 :Stress and Time management ,MSTC-CU'15Session 3 :Stress and Time management ,MSTC-CU'15
Session 3 :Stress and Time management ,MSTC-CU'15Ahmed Saeed
 
Problem solving
Problem solvingProblem solving
Problem solvingMina Magdy
 
session 9: Negotiation Skills & Ethics MSTC-CU'15
session 9: Negotiation Skills & Ethics MSTC-CU'15session 9: Negotiation Skills & Ethics MSTC-CU'15
session 9: Negotiation Skills & Ethics MSTC-CU'15Radwa Mohamed
 
Self Confidence Presentation for BBA students
Self Confidence Presentation for BBA studentsSelf Confidence Presentation for BBA students
Self Confidence Presentation for BBA studentsBilal Khan
 
Session 4: Interviewing Skills,MSTC_CU'15
Session 4: Interviewing Skills,MSTC_CU'15Session 4: Interviewing Skills,MSTC_CU'15
Session 4: Interviewing Skills,MSTC_CU'15Radwa Mohamed
 

Viewers also liked (20)

Microsoft Tech Club Cairo University "MSTC'16 Builders and Developers " Sessi...
Microsoft Tech Club Cairo University "MSTC'16 Builders and Developers " Sessi...Microsoft Tech Club Cairo University "MSTC'16 Builders and Developers " Sessi...
Microsoft Tech Club Cairo University "MSTC'16 Builders and Developers " Sessi...
 
Microsoft Tech Club Cairo University "MSTC'16 Builders and Developers and Int...
Microsoft Tech Club Cairo University "MSTC'16 Builders and Developers and Int...Microsoft Tech Club Cairo University "MSTC'16 Builders and Developers and Int...
Microsoft Tech Club Cairo University "MSTC'16 Builders and Developers and Int...
 
Microsoft Tech Club Cairo University "MSTC'16 Builders and Developers " Third...
Microsoft Tech Club Cairo University "MSTC'16 Builders and Developers " Third...Microsoft Tech Club Cairo University "MSTC'16 Builders and Developers " Third...
Microsoft Tech Club Cairo University "MSTC'16 Builders and Developers " Third...
 
Microsoft Tech Club Cairo University "MSTC'16 Builders and Developers " Fifth...
Microsoft Tech Club Cairo University "MSTC'16 Builders and Developers " Fifth...Microsoft Tech Club Cairo University "MSTC'16 Builders and Developers " Fifth...
Microsoft Tech Club Cairo University "MSTC'16 Builders and Developers " Fifth...
 
Microsoft Tech Club Cairo University "MSTC'16 Builders and Developers " Secon...
Microsoft Tech Club Cairo University "MSTC'16 Builders and Developers " Secon...Microsoft Tech Club Cairo University "MSTC'16 Builders and Developers " Secon...
Microsoft Tech Club Cairo University "MSTC'16 Builders and Developers " Secon...
 
XAML Data Binding in UWP
XAML Data Binding in UWPXAML Data Binding in UWP
XAML Data Binding in UWP
 
Sucess
SucessSucess
Sucess
 
Presentation Skills MSTC_CU'15
Presentation Skills MSTC_CU'15Presentation Skills MSTC_CU'15
Presentation Skills MSTC_CU'15
 
emotionalintelligence
emotionalintelligenceemotionalintelligence
emotionalintelligence
 
Microsoft Tech Club Cairo University "MSTC'16 Builders and Developers " First...
Microsoft Tech Club Cairo University "MSTC'16 Builders and Developers " First...Microsoft Tech Club Cairo University "MSTC'16 Builders and Developers " First...
Microsoft Tech Club Cairo University "MSTC'16 Builders and Developers " First...
 
First Session:Introduction of Soft Skills,MSTC-CU'15
First Session:Introduction of Soft Skills,MSTC-CU'15First Session:Introduction of Soft Skills,MSTC-CU'15
First Session:Introduction of Soft Skills,MSTC-CU'15
 
Session 2 : Communication skills,MSTC-CU'15
Session 2 : Communication skills,MSTC-CU'15Session 2 : Communication skills,MSTC-CU'15
Session 2 : Communication skills,MSTC-CU'15
 
Session 8: Teamwork MSTC'15_CU
Session 8: Teamwork MSTC'15_CUSession 8: Teamwork MSTC'15_CU
Session 8: Teamwork MSTC'15_CU
 
Session5- Microsoft Tech Club'15 - presentation skills
Session5- Microsoft Tech Club'15 - presentation skillsSession5- Microsoft Tech Club'15 - presentation skills
Session5- Microsoft Tech Club'15 - presentation skills
 
Session 3 :Stress and Time management ,MSTC-CU'15
Session 3 :Stress and Time management ,MSTC-CU'15Session 3 :Stress and Time management ,MSTC-CU'15
Session 3 :Stress and Time management ,MSTC-CU'15
 
Problem solving
Problem solvingProblem solving
Problem solving
 
session 9: Negotiation Skills & Ethics MSTC-CU'15
session 9: Negotiation Skills & Ethics MSTC-CU'15session 9: Negotiation Skills & Ethics MSTC-CU'15
session 9: Negotiation Skills & Ethics MSTC-CU'15
 
Self Confidence
Self ConfidenceSelf Confidence
Self Confidence
 
Self Confidence Presentation for BBA students
Self Confidence Presentation for BBA studentsSelf Confidence Presentation for BBA students
Self Confidence Presentation for BBA students
 
Session 4: Interviewing Skills,MSTC_CU'15
Session 4: Interviewing Skills,MSTC_CU'15Session 4: Interviewing Skills,MSTC_CU'15
Session 4: Interviewing Skills,MSTC_CU'15
 

Similar to Microsoft Tech Club Cairo University "MSTC'16 Builders and Developers " Session #8

MySQL.pptx comuterscience from kvsbbsrs.
MySQL.pptx comuterscience from kvsbbsrs.MySQL.pptx comuterscience from kvsbbsrs.
MySQL.pptx comuterscience from kvsbbsrs.sudhasuryasnata06
 
Database Architecture and Basic Concepts
Database Architecture and Basic ConceptsDatabase Architecture and Basic Concepts
Database Architecture and Basic ConceptsTony Wong
 
Chapter – 6 SQL Lab Tutorial.pdf
Chapter – 6 SQL Lab Tutorial.pdfChapter – 6 SQL Lab Tutorial.pdf
Chapter – 6 SQL Lab Tutorial.pdfTamiratDejene1
 
mySQL and Relational Databases
mySQL and Relational DatabasesmySQL and Relational Databases
mySQL and Relational Databaseswebhostingguy
 
hjkjlboiupoiuuouoiuoiuoiuoiuoiuoippt.pptx
hjkjlboiupoiuuouoiuoiuoiuoiuoiuoippt.pptxhjkjlboiupoiuuouoiuoiuoiuoiuoiuoippt.pptx
hjkjlboiupoiuuouoiuoiuoiuoiuoiuoippt.pptxEliasPetros
 
DDL(Data defination Language ) Using Oracle
DDL(Data defination Language ) Using OracleDDL(Data defination Language ) Using Oracle
DDL(Data defination Language ) Using OracleFarhan Aslam
 
Avinash database
Avinash databaseAvinash database
Avinash databaseavibmas
 
database-querry-student-note
database-querry-student-notedatabase-querry-student-note
database-querry-student-noteLeerpiny Makouach
 
COMPUTERS SQL
COMPUTERS SQL COMPUTERS SQL
COMPUTERS SQL Rc Os
 
PostgreSQL Database Slides
PostgreSQL Database SlidesPostgreSQL Database Slides
PostgreSQL Database Slidesmetsarin
 
Introducing ms sql_server_updated
Introducing ms sql_server_updatedIntroducing ms sql_server_updated
Introducing ms sql_server_updatedleetinhf
 
SQL - DML and DDL Commands
SQL - DML and DDL CommandsSQL - DML and DDL Commands
SQL - DML and DDL CommandsShrija Madhu
 

Similar to Microsoft Tech Club Cairo University "MSTC'16 Builders and Developers " Session #8 (20)

chapter 8 SQL.ppt
chapter 8 SQL.pptchapter 8 SQL.ppt
chapter 8 SQL.ppt
 
MySQL.pptx comuterscience from kvsbbsrs.
MySQL.pptx comuterscience from kvsbbsrs.MySQL.pptx comuterscience from kvsbbsrs.
MySQL.pptx comuterscience from kvsbbsrs.
 
Mysql Ppt
Mysql PptMysql Ppt
Mysql Ppt
 
Database Architecture and Basic Concepts
Database Architecture and Basic ConceptsDatabase Architecture and Basic Concepts
Database Architecture and Basic Concepts
 
Chapter – 6 SQL Lab Tutorial.pdf
Chapter – 6 SQL Lab Tutorial.pdfChapter – 6 SQL Lab Tutorial.pdf
Chapter – 6 SQL Lab Tutorial.pdf
 
Sqlharshal
SqlharshalSqlharshal
Sqlharshal
 
mySQL and Relational Databases
mySQL and Relational DatabasesmySQL and Relational Databases
mySQL and Relational Databases
 
hjkjlboiupoiuuouoiuoiuoiuoiuoiuoippt.pptx
hjkjlboiupoiuuouoiuoiuoiuoiuoiuoippt.pptxhjkjlboiupoiuuouoiuoiuoiuoiuoiuoippt.pptx
hjkjlboiupoiuuouoiuoiuoiuoiuoiuoippt.pptx
 
DDL(Data defination Language ) Using Oracle
DDL(Data defination Language ) Using OracleDDL(Data defination Language ) Using Oracle
DDL(Data defination Language ) Using Oracle
 
Avinash database
Avinash databaseAvinash database
Avinash database
 
database-querry-student-note
database-querry-student-notedatabase-querry-student-note
database-querry-student-note
 
sql.pptx
sql.pptxsql.pptx
sql.pptx
 
Sql
SqlSql
Sql
 
SQL Sort Notes
SQL Sort NotesSQL Sort Notes
SQL Sort Notes
 
COMPUTERS SQL
COMPUTERS SQL COMPUTERS SQL
COMPUTERS SQL
 
Lab2 ddl commands
Lab2 ddl commandsLab2 ddl commands
Lab2 ddl commands
 
PostgreSQL Database Slides
PostgreSQL Database SlidesPostgreSQL Database Slides
PostgreSQL Database Slides
 
Introducing ms sql_server_updated
Introducing ms sql_server_updatedIntroducing ms sql_server_updated
Introducing ms sql_server_updated
 
SQL - DML and DDL Commands
SQL - DML and DDL CommandsSQL - DML and DDL Commands
SQL - DML and DDL Commands
 
SQL
SQLSQL
SQL
 

Microsoft Tech Club Cairo University "MSTC'16 Builders and Developers " Session #8