Assalamualaikum and Hello Students;
Please download this file SQL EXERCISE 1
We will do this exercises during class.
Thank you
Madam Munirah Abdullah
Assalamualaikum and Hello Students;
Please download this file SQL EXERCISE 1
We will do this exercises during class.
Thank you
Madam Munirah Abdullah
Assalamualaikum & Hello
Dear students;
If you wanna know more about some the different of Microsoft SQL Server and Oracle. Do visit this website. <<Here>> This site really help you to find out the difference
Good Luck
Thank you
Madam Munirah Abdullah
Asssalamualaikum & Hello
|
Tables Name
|
Attributes Name
|
Data Types
|
PK/FK
|
FK refer to
|
|
STUDENT
|
StudID
|
VARCHAR(5)
|
PK
|
|
|
StudName
|
VARCHAR(20)
|
|||
|
StudAddress
|
VARCHAR(30)
|
|||
|
StudBirthDate
|
DATE
|
|||
|
CourseID
|
VARCHAR(5)
|
FK
|
COURSE
|
|
|
COURSE
|
CourseID
|
VARCHAR(5)
|
PK
|
|
|
CourseName
|
VARCHAR(10)
|
|||
|
LectID
|
VARCHAR(5)
|
FK
|
LECTURER
|
|
|
LECTURER
|
LectID
|
VARCHAR(5)
|
PK
|
|
|
LectName
|
VARCHAR(20)
|
|||
|
LectTelNo
|
NUMBER(10)
|
|||
|
DepartID
|
VARCHAR(5)
|
FK
|
DEPARTMENT
|
|
|
DEPARTMENT
|
DepartID
|
VARCHAR(5)
|
PK
|
|
|
DepartName
|
VARCHAR(30)
|
|||
|
SUBJECT
|
SubID
|
VARCHAR(5)
|
PK
|
|
|
SubName
|
VARCHAR(20)
|
|||
|
STUD_SUB
|
StudSubID
|
VARCHAR(5)
|
PK
|
|
|
StudID
|
VARCHAR(5)
|
FK
|
STUDENT
|
|
|
SubID
|
VARCHAR(5)
|
FK
|
SUBJECT
|
|
|
Mark
|
NUMBER(3)
|
|||
|
Grade
|
CHAR(2)
|
Course Outline for DIS 3A <<Download Here Course Outline_FP304_DISA >>
Course Outline for DIS 3B <<Download Here Course Outline_FP304_DISB >>
Data are actually stored as bits, or numbers and strings, but it is difficult to work with data at this level.
It is necessary to view data at different levels of abstraction.
Schema:
We will be concerned with three forms of schemas:
The physical schema describes details of how data is stored: files, indices, etc. on the random access disk system. It also typically describes the record layout of files and type of files (hash, b-tree, flat).
Early applications worked at this level – explicitly dealt with details.
E.g., minimizing physical distances between related data and organizing the data structures within the file (blocked records, linked lists of blocks, etc.)
Problem:
Also referred to as the Logical level
Hides details of the physical level.
The DBMS maps data access between the conceptual to physical schemas automatically.
In the relational model, the external schema also presents data as a set of relations. An external schema specifies a view of the data in terms of the conceptual level. It is tailored to the needs of a particular category of users. Portions of stored data should not be seen by some users and begins to implement a level of security and simplifies the view for these users
Examples:
Information that can be derived from stored data might be viewed as if it were stored.
Applications are written in terms of an external schema. The external view is computed when accessed. It is not stored. Different external schemas can be provided to different categories of users. Translation from external level to conceptual level is done automatically by DBMS at run time. The conceptual schema can be changed without changing application:
[SOURCES : 3 LEVEL DATABASE ARCHITECTURE]
<<DOWNLOAD EXTRA NOTES : lec.arch1.2up >>
<<DOWNLOAD EXTRA NOTES :L02>>
To new students welcome to PUO
To old students welcome back!!
All the best for this new semester 😀
Education is the best friend. An educated person is respected everywhere. Education beats the beauty and the youth.
Chanakya
The relational model for database management is a database model based on first-order predicate logic, first formulated and proposed in 1969 by Edgar F. Codd. In the relational model of a database, all data is represented in terms of tuples, grouped into relations. A database organized in terms of the relational model is a relational database. [Wikipedia source]
For more details on this topic please refer CHAPTER 2 NOTES
source :Relational Database
So, what you can do in Microsoft Word is what Bill Gates has decided. What you can do in Oracle Database is what Larry Ellison and his crew have decided.Ted Nelson