logo

Database Development and Management - SQL

   

Added on  2022-08-13

15 Pages1517 Words24 Views
Running head: DATABASE DEVELOPMENT AND MANAGEMENT
DATABASE DEVELOPMENT AND MANAGEMENT
Name of the Student
Name of the University
Author Note
Database Development and Management - SQL_1
DATABASE DEVELOPMENT AND MANAGEMENT
1
Table of Contents
Relational algebra:.....................................................................................................................2
SQL queries:...............................................................................................................................3
Further SQL...............................................................................................................................8
Normalization:..........................................................................................................................10
Database Development and Management - SQL_2
DATABASE DEVELOPMENT AND MANAGEMENT
2
Relational algebra:
a.
LecturerName, UniversityName (LECTURER)
b.
LectureName Topic = ‘Biological Diversity’ (LECTURE))
c.
StudentName Topic = ‘Biological Diversity’ or Topic = ‘Bugs and Bubs’ (UNIVERSITY * U.UniversityName =
S.UniversityName STUDENT) * (U.UniversityName = LC.UniversityName LECTURER) * LC.LecturerName = L. LecturerName
LECTURE)))
d.
StudentName Country = ‘Malaysia’ (UNIVERSITY * U.UniversityName = S.UniversityName STUDENT)*
U.UniversityName = L.UniversityName LECTURER)
e.
StudentName UniversityName = ‘Murdoch University’, AND country = ‘Italy’ AND Topic = ‘Biological Diversity’
(UNIVERSITY * U.UniversityName = S.UniversityName STUDENT) * (U.UniversityName = LC.UniversityName
LECTURE) * LC.LecturerName = L. LecturerName LECTURE)))
f.
LectureName, LectureNo, Topic, StudentName (UNIVERSITY * U.UniversityName = S.UniversityName STUDENT)
* (UNIVERSITY U.UniversityName = LC.UniversityName LECTURER) * LECTURER LC.LecturerName = L.
LecturerName LECTURE)))
g.
Database Development and Management - SQL_3
DATABASE DEVELOPMENT AND MANAGEMENT
3
StudentName LectureName = ‘Introduction to Biology’ AND LectureName = ‘Darwin 101’ (UNIVERSITY *
U.UniversityName = S.UniversityName STUDENT) * (UNIVERSITY U.UniversityName = LC.UniversityName
LECTURER) * LECTURER LC.LecturerName = L. LecturerName LECTURE)))
h.
LecturerName, Biography, UniversityName Country = ‘Greece’ (UNIVERSITY * U. UniversityName = LC.
UniversityName LECTURER))
i.
StudentName (STUDENT) MINUS ( StudentName LectureName = ‘Grassland Cultivation Masterclass’
(UNIVERSITY * U.UniversityName = S.UniversityName STUDENT) * (UNIVERSITY U.UniversityName =
LC.UniversityName LECTURER) * LECTURER LC.LecturerName = L. LecturerName LECTURE))))
j.
StudentName (STUDENT S.StudentNo = P.StudentNo PARTICIAPANT)
SQL queries:
A. select w.workid, w.title,w.copy,w.medium, w.description, w.artistid, (FIRSTNAME ||
' ' || LASTNAME) AS ARTISTNAME from dtoohey.work w
JOIN DTOOHEY.artist a on w.artistid =a.artistid WHERE w.description LIKE
'%Surrealist%';
B. select w.workid, w.title, w.copy, w.description, (FIRSTNAME || ' ' || LASTNAME)
AS ARTISTNAME ,
t.AcquisitionPrice,t.AskingPrice from dtoohey.work w
Database Development and Management - SQL_4

End of preview

Want to access all the pages? Upload your documents or become a member.

Related Documents
ICT 285 Database Murdoch | SQL
|17
|1539
|46

RELATIONAL ALGEBRA DATABASES
|13
|1651
|23

Report on Relational Database Principles and Designing Of SQL
|24
|2063
|47

Database Management System
|11
|1413
|497

Database for Desklib - Entities, Attributes, ER Diagram, Tables, Queries
|15
|1371
|262

SQL Server Management Studio | Report
|8
|925
|12