Your SlideShare is downloading. ×
0
4 summary
4 summary
4 summary
4 summary
4 summary
4 summary
4 summary
4 summary
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

4 summary

148

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
148
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
2
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

Transcript

  • 1. WEEK 4 Introduction to SQL: summary Real-life example  Concept of SQL:  SQL Data Types: String types/ Numeric types/ Date-Time types  Characteristic of DDL:  Characteristic of DML :  Characteristic of DCL : quiz
  • 2. WEEK 4 Introduction to SQL: summary Real-life example CREATE TABLE Dvd ( DVDId int NOT NULL, Title varchar(100) NOT NULL, YearPublished int NOT NULL PRIMARY KEY (DVDId) ); CREATE TABLE Customer ( CustomerId int NOT NULL, LastName varchar(25), FirstName varchar(25), Address varchar(50), PhoneNo varchar(10) PRIMARY KEY (CustomerId) ); quiz
  • 3. WEEK 4 Introduction to SQL: summary CREATE TABLE Director ( DirectorId int NOT NULL, LastName varchar(25), FirstName varchar(25), Address varchar(50), PhoneNo varchar(10) PRIMARY KEY (DirectorId ) ); CREATE TABLE Actor ( ActorId int NOT NULL, LastName varchar(25), FirstName varchar(25), Address varchar(50), PhoneNo varchar(10) PRIMARY KEY (ActorId ) ); Real-life example quiz
  • 4. WEEK 4 Introduction to SQL: summary Real-life example CREATE TABLE Requests ( DVDId int NOT NULL, CustomerId int NOT NULL, DateRequest datetime NOT NULL ); CREATE TABLE Directed ( DVDId int NOT NULL, DiretorId int NOT NULL, YearDirected int NOT NULL ); CREATE TABLE PlaysIn ( DVDId int NOT NULL, ActorId int NOT NULL, YearPlaysIn int NOT NULL ); quiz
  • 5. WEEK 4 Introduction to SQL: summary Real-life example quiz 1. SQL stands for? : A. Static Query language B. Simplified query language C. Standard Query Language D. Structured Query Language E. Simplex Query Language 2. The company that created SQzL is: A. Microsoft B. Oracle C. IBM D. Informix E. Borland Enter answer,,,.
  • 6. WEEK 4 Introduction to SQL: summary Real-life example quiz 1. SQL stands for? : A. Static Query language B. Simplified query language C. Standard Query Language D. Structured Query Language E. Simplex Query Language 2. The company that created SQzL is: A. Microsoft B. Oracle C. IBM D. Informix E. Borland answer is: 1. D 2. C
  • 7. WEEK 3 Relational Data Model Concepts: summary Real-life example quiz 3. Which of the following is not a SQL database manipulation statement? A. CREATE TABLE B. UPDATE C. DELETE D. INSERT 4. The WHERE clause is used to extract only those records that fulfill a specified criterion: A. True B. False 5. The ORDER BY keyword is used to retrieve records for specified columns: A. True B. False Enter answer,,,.
  • 8. WEEK 3 Relational Data Model Concepts: summary Real-life example quiz 3. Which of the following is not a SQL database manipulation statement? A. CREATE TABLE B. UPDATE C. DELETE D. INSERT 4. The WHERE clause is used to extract only those records that fulfill a specified criterion: A. True B. False 5. The ORDER BY keyword is used to retrieve records for specified columns: A. True B. False answer is: 3. A 4. A 5. B

×