SlideShare a Scribd company logo
Pg. 03
Question Two
1
Introduction to Databases
IT403
College of Computing and Informatics
Question One
1.25 Marks
Learning Outcome(s):
LO3
Create Entity-Relationship model, Relational model, and write
SQL queries
Consider the following database schema for student game,
where each team is led by a student of the team and each game
is between two teams (Host and Guest):
Students
Student_Id
Student_Name
Address
Team_Id
Team_Name
Rank
Team_Leader
Teams
Student_id
Team_Id
Game_id
Score
Date
Host_Team
Guest_Team
Membership
Games
Your task is to show all the primary and foreign keys in
Schema.
Question Two
1.75 Marks
Learning Outcome(s):
LO3
Create Entity-Relationship model, Relational model, and write
SQL queries.
Consider the following schema:
Suppliers (sid, sname, city)
Parts (pid, pname, color)
Catalog (sid, pid, price)
Write relational algebra expressions for the following queries:
a. Find the sids of suppliers and names who are located in
Riyadh.
b. Find the name of suppliers who are located in Riyadh and
Jeddah.
c. Find the names of supplier who supply part name “fog light”.
d. Find the sids of suppliers who supply every part.Question
Three
2 Marks
Learning Outcome(s):
LO3
Create Entity-Relationship model, Relational model, and write
SQL queries.
Create an Entity Relationship diagram that captures the
information about the UPS system? Be certain to indicate
identifiers and cardinality constraints.
UPS prides itself on having up-to-date information on the
processing and current location of each shipped item. To do
this, UPS relies on a company-wide information system.
Shipped items are the heart of the UPS product tracking
information system. Shipped items can be characterized by item
number (unique), weight, dimensions, insurance amount,
destination, and final delivery date. Shipped items are received
into the UPS system at a single retail center. Retail centers are
characterized by their type, uniqueID, and address. Shipped
items make their way to their destination via one or more
standard UPS transportation events (i.e., flights, truck
deliveries). These transportation events are characterized by a
unique scheduleNumber, a type (e.g, flight, truck), and a
deliveryRoute.

More Related Content

What's hot

08. Object Oriented Database in DBMS
08. Object Oriented Database in DBMS08. Object Oriented Database in DBMS
08. Object Oriented Database in DBMS
koolkampus
 
D I T211 Chapter 3
D I T211    Chapter 3D I T211    Chapter 3
D I T211 Chapter 3
askme
 
Data modelingpresentation
Data modelingpresentationData modelingpresentation
Data modelingpresentation
fikirabc
 
Blood bank E-R diagram by Foysal
Blood bank E-R diagram by FoysalBlood bank E-R diagram by Foysal
Blood bank E-R diagram by Foysal
Foysal Mahmud
 
Fundamental of C Programming (Data Types)
Fundamental of C Programming (Data Types)Fundamental of C Programming (Data Types)
Fundamental of C Programming (Data Types)
jimmy majumder
 
Entity relationship diagram_KSMS_BCA_2nd Sem_Saborni Pal_20th March 2020
Entity relationship diagram_KSMS_BCA_2nd Sem_Saborni Pal_20th March 2020Entity relationship diagram_KSMS_BCA_2nd Sem_Saborni Pal_20th March 2020
Entity relationship diagram_KSMS_BCA_2nd Sem_Saborni Pal_20th March 2020
PriyankaBhattacharya28
 
Object database standards, languages and design
Object database standards, languages and designObject database standards, languages and design
Object database standards, languages and design
Dabbal Singh Mahara
 
Data Models
Data ModelsData Models
Data Models
Megha Sharma
 
Module 5 oodb systems semantic db systems
Module 5 oodb systems  semantic db systemsModule 5 oodb systems  semantic db systems
Module 5 oodb systems semantic db systems
Taher Barodawala
 
Object oriented databases
Object oriented databasesObject oriented databases
Object oriented databases
Sajith Ekanayaka
 
Chapt 1 odbms
Chapt 1 odbmsChapt 1 odbms
Chapt 1 odbms
Sushil Kulkarni
 
Overview of Object-Oriented Concepts Characteristics by vikas jagtap
Overview of Object-Oriented Concepts Characteristics by vikas jagtapOverview of Object-Oriented Concepts Characteristics by vikas jagtap
Overview of Object-Oriented Concepts Characteristics by vikas jagtap
Vikas Jagtap
 
Object Oriented Dbms
Object Oriented DbmsObject Oriented Dbms
Object Oriented Dbms
maryeem
 
Oodbms ch 20
Oodbms ch 20Oodbms ch 20
Oodbms ch 20
saurabhshertukde
 
Lecture04 abap on line
Lecture04 abap on lineLecture04 abap on line
Lecture04 abap on line
Milind Patil
 
DBMS CS 4-5
DBMS CS 4-5DBMS CS 4-5
cs8251 unit 1 ppt
cs8251 unit 1 pptcs8251 unit 1 ppt
cs8251 unit 1 ppt
praveenaprakasam
 
New open document text (2)
New open document text (2)New open document text (2)
New open document text (2)
Samron Samantha
 
Erd examples
Erd examplesErd examples
Erd examples
Pramod Redekar
 
9. Object Relational Databases in DBMS
9. Object Relational Databases in DBMS9. Object Relational Databases in DBMS
9. Object Relational Databases in DBMS
koolkampus
 

What's hot (20)

08. Object Oriented Database in DBMS
08. Object Oriented Database in DBMS08. Object Oriented Database in DBMS
08. Object Oriented Database in DBMS
 
D I T211 Chapter 3
D I T211    Chapter 3D I T211    Chapter 3
D I T211 Chapter 3
 
Data modelingpresentation
Data modelingpresentationData modelingpresentation
Data modelingpresentation
 
Blood bank E-R diagram by Foysal
Blood bank E-R diagram by FoysalBlood bank E-R diagram by Foysal
Blood bank E-R diagram by Foysal
 
Fundamental of C Programming (Data Types)
Fundamental of C Programming (Data Types)Fundamental of C Programming (Data Types)
Fundamental of C Programming (Data Types)
 
Entity relationship diagram_KSMS_BCA_2nd Sem_Saborni Pal_20th March 2020
Entity relationship diagram_KSMS_BCA_2nd Sem_Saborni Pal_20th March 2020Entity relationship diagram_KSMS_BCA_2nd Sem_Saborni Pal_20th March 2020
Entity relationship diagram_KSMS_BCA_2nd Sem_Saborni Pal_20th March 2020
 
Object database standards, languages and design
Object database standards, languages and designObject database standards, languages and design
Object database standards, languages and design
 
Data Models
Data ModelsData Models
Data Models
 
Module 5 oodb systems semantic db systems
Module 5 oodb systems  semantic db systemsModule 5 oodb systems  semantic db systems
Module 5 oodb systems semantic db systems
 
Object oriented databases
Object oriented databasesObject oriented databases
Object oriented databases
 
Chapt 1 odbms
Chapt 1 odbmsChapt 1 odbms
Chapt 1 odbms
 
Overview of Object-Oriented Concepts Characteristics by vikas jagtap
Overview of Object-Oriented Concepts Characteristics by vikas jagtapOverview of Object-Oriented Concepts Characteristics by vikas jagtap
Overview of Object-Oriented Concepts Characteristics by vikas jagtap
 
Object Oriented Dbms
Object Oriented DbmsObject Oriented Dbms
Object Oriented Dbms
 
Oodbms ch 20
Oodbms ch 20Oodbms ch 20
Oodbms ch 20
 
Lecture04 abap on line
Lecture04 abap on lineLecture04 abap on line
Lecture04 abap on line
 
DBMS CS 4-5
DBMS CS 4-5DBMS CS 4-5
DBMS CS 4-5
 
cs8251 unit 1 ppt
cs8251 unit 1 pptcs8251 unit 1 ppt
cs8251 unit 1 ppt
 
New open document text (2)
New open document text (2)New open document text (2)
New open document text (2)
 
Erd examples
Erd examplesErd examples
Erd examples
 
9. Object Relational Databases in DBMS
9. Object Relational Databases in DBMS9. Object Relational Databases in DBMS
9. Object Relational Databases in DBMS
 

Similar to Pg. 03 question two 1introduction to databasesi

Chap7-Multidimensional data modeling.pptx
Chap7-Multidimensional data modeling.pptxChap7-Multidimensional data modeling.pptx
Chap7-Multidimensional data modeling.pptx
MOHDAIMANFARHANBINMO
 
Auto- Repair Service Software Design and Analysis
Auto- Repair Service Software Design and AnalysisAuto- Repair Service Software Design and Analysis
Auto- Repair Service Software Design and Analysis
Hinal Patel
 
CoverPage_Resume V2
CoverPage_Resume V2CoverPage_Resume V2
CoverPage_Resume V2
Gary Lewis
 
Building analytics applications with streaming expressions in apache solr
Building analytics applications with streaming expressions in apache solrBuilding analytics applications with streaming expressions in apache solr
Building analytics applications with streaming expressions in apache solr
Amrit Sarkar
 
Data Modelling..pptx
Data Modelling..pptxData Modelling..pptx
Data Modelling..pptx
DhanshreeKondkar1
 
Cognitive Database: An Apache Spark-Based AI-Enabled Relational Database Syst...
Cognitive Database: An Apache Spark-Based AI-Enabled Relational Database Syst...Cognitive Database: An Apache Spark-Based AI-Enabled Relational Database Syst...
Cognitive Database: An Apache Spark-Based AI-Enabled Relational Database Syst...
Databricks
 
ADBMS ASSIGNMENT
ADBMS ASSIGNMENTADBMS ASSIGNMENT
ADBMS ASSIGNMENT
Lori Moore
 
SA Chapter 10
SA Chapter 10SA Chapter 10
SA Chapter 10
Nuth Otanasap
 
Applied python for correlation on churn and stocks datasets
Applied python for correlation on churn and stocks datasetsApplied python for correlation on churn and stocks datasets
Applied python for correlation on churn and stocks datasets
Mahmoud Fouad
 
Workshop on requirements and modeling at HAE 2015
Workshop on requirements and modeling at HAE 2015Workshop on requirements and modeling at HAE 2015
Workshop on requirements and modeling at HAE 2015
Olivier Béghain
 
Multi-Model Data Query Languages and Processing Paradigms
Multi-Model Data Query Languages and Processing ParadigmsMulti-Model Data Query Languages and Processing Paradigms
Multi-Model Data Query Languages and Processing Paradigms
Jiaheng Lu
 
Hands-On with Digital Collections Worksheet
Hands-On with Digital Collections WorksheetHands-On with Digital Collections Worksheet
Hands-On with Digital Collections Worksheet
Arden Kirkland
 
Snowplow: evolve your analytics stack with your business
Snowplow: evolve your analytics stack with your businessSnowplow: evolve your analytics stack with your business
Snowplow: evolve your analytics stack with your business
yalisassoon
 
Data Warehousing
Data WarehousingData Warehousing
Serving Information Needs of Knowledge Workers
Serving Information Needs of Knowledge WorkersServing Information Needs of Knowledge Workers
Serving Information Needs of Knowledge Workers
Debdoot Mukherjee
 
UPS prides itself on having uptodate information on the pr.pdf
UPS prides itself on having uptodate information on the pr.pdfUPS prides itself on having uptodate information on the pr.pdf
UPS prides itself on having uptodate information on the pr.pdf
adityacommunications2
 
Lesson 2 data preprocessing
Lesson 2   data preprocessingLesson 2   data preprocessing
Lesson 2 data preprocessing
AbdurRazzaqe1
 
CIS 515 Enhance teaching / snaptutorial.com
CIS 515 Enhance teaching / snaptutorial.com CIS 515 Enhance teaching / snaptutorial.com
CIS 515 Enhance teaching / snaptutorial.com
donaldzs56
 
Overview of business intelligence
Overview of business intelligenceOverview of business intelligence
Overview of business intelligence
Ahsan Kabir
 
Database Management System
Database Management System Database Management System
Database Management System
FellowBuddy.com
 

Similar to Pg. 03 question two 1introduction to databasesi (20)

Chap7-Multidimensional data modeling.pptx
Chap7-Multidimensional data modeling.pptxChap7-Multidimensional data modeling.pptx
Chap7-Multidimensional data modeling.pptx
 
Auto- Repair Service Software Design and Analysis
Auto- Repair Service Software Design and AnalysisAuto- Repair Service Software Design and Analysis
Auto- Repair Service Software Design and Analysis
 
CoverPage_Resume V2
CoverPage_Resume V2CoverPage_Resume V2
CoverPage_Resume V2
 
Building analytics applications with streaming expressions in apache solr
Building analytics applications with streaming expressions in apache solrBuilding analytics applications with streaming expressions in apache solr
Building analytics applications with streaming expressions in apache solr
 
Data Modelling..pptx
Data Modelling..pptxData Modelling..pptx
Data Modelling..pptx
 
Cognitive Database: An Apache Spark-Based AI-Enabled Relational Database Syst...
Cognitive Database: An Apache Spark-Based AI-Enabled Relational Database Syst...Cognitive Database: An Apache Spark-Based AI-Enabled Relational Database Syst...
Cognitive Database: An Apache Spark-Based AI-Enabled Relational Database Syst...
 
ADBMS ASSIGNMENT
ADBMS ASSIGNMENTADBMS ASSIGNMENT
ADBMS ASSIGNMENT
 
SA Chapter 10
SA Chapter 10SA Chapter 10
SA Chapter 10
 
Applied python for correlation on churn and stocks datasets
Applied python for correlation on churn and stocks datasetsApplied python for correlation on churn and stocks datasets
Applied python for correlation on churn and stocks datasets
 
Workshop on requirements and modeling at HAE 2015
Workshop on requirements and modeling at HAE 2015Workshop on requirements and modeling at HAE 2015
Workshop on requirements and modeling at HAE 2015
 
Multi-Model Data Query Languages and Processing Paradigms
Multi-Model Data Query Languages and Processing ParadigmsMulti-Model Data Query Languages and Processing Paradigms
Multi-Model Data Query Languages and Processing Paradigms
 
Hands-On with Digital Collections Worksheet
Hands-On with Digital Collections WorksheetHands-On with Digital Collections Worksheet
Hands-On with Digital Collections Worksheet
 
Snowplow: evolve your analytics stack with your business
Snowplow: evolve your analytics stack with your businessSnowplow: evolve your analytics stack with your business
Snowplow: evolve your analytics stack with your business
 
Data Warehousing
Data WarehousingData Warehousing
Data Warehousing
 
Serving Information Needs of Knowledge Workers
Serving Information Needs of Knowledge WorkersServing Information Needs of Knowledge Workers
Serving Information Needs of Knowledge Workers
 
UPS prides itself on having uptodate information on the pr.pdf
UPS prides itself on having uptodate information on the pr.pdfUPS prides itself on having uptodate information on the pr.pdf
UPS prides itself on having uptodate information on the pr.pdf
 
Lesson 2 data preprocessing
Lesson 2   data preprocessingLesson 2   data preprocessing
Lesson 2 data preprocessing
 
CIS 515 Enhance teaching / snaptutorial.com
CIS 515 Enhance teaching / snaptutorial.com CIS 515 Enhance teaching / snaptutorial.com
CIS 515 Enhance teaching / snaptutorial.com
 
Overview of business intelligence
Overview of business intelligenceOverview of business intelligence
Overview of business intelligence
 
Database Management System
Database Management System Database Management System
Database Management System
 

More from JUST36

Plan of WorkGloria is employed at Jones University, through .docx
Plan of WorkGloria is employed at Jones University, through .docxPlan of WorkGloria is employed at Jones University, through .docx
Plan of WorkGloria is employed at Jones University, through .docx
JUST36
 
Planning, Implementation, and Evaluation Evaluate the importa.docx
Planning, Implementation, and Evaluation Evaluate the importa.docxPlanning, Implementation, and Evaluation Evaluate the importa.docx
Planning, Implementation, and Evaluation Evaluate the importa.docx
JUST36
 
Planet of the Apes (1974) (Race relations and slavery—turnabout is .docx
Planet of the Apes (1974) (Race relations and slavery—turnabout is .docxPlanet of the Apes (1974) (Race relations and slavery—turnabout is .docx
Planet of the Apes (1974) (Race relations and slavery—turnabout is .docx
JUST36
 
Planning effective English language arts lessons many times incl.docx
Planning effective English language arts lessons many times incl.docxPlanning effective English language arts lessons many times incl.docx
Planning effective English language arts lessons many times incl.docx
JUST36
 
PKI Submission RequirementsFormat Microsoft WordFon.docx
PKI Submission RequirementsFormat Microsoft WordFon.docxPKI Submission RequirementsFormat Microsoft WordFon.docx
PKI Submission RequirementsFormat Microsoft WordFon.docx
JUST36
 
PLAGIARISM SCAN REPORTDate 2020-04-12Words 161Char.docx
PLAGIARISM SCAN REPORTDate 2020-04-12Words 161Char.docxPLAGIARISM SCAN REPORTDate 2020-04-12Words 161Char.docx
PLAGIARISM SCAN REPORTDate 2020-04-12Words 161Char.docx
JUST36
 
Plato’s Apology The Trial of SocratesSocrates in the trial .docx
Plato’s Apology The Trial of SocratesSocrates in the trial .docxPlato’s Apology The Trial of SocratesSocrates in the trial .docx
Plato’s Apology The Trial of SocratesSocrates in the trial .docx
JUST36
 
Pine tree tops” by Gary SnyderIn the blue night frost haze,.docx
Pine tree tops” by Gary SnyderIn the blue night frost haze,.docxPine tree tops” by Gary SnyderIn the blue night frost haze,.docx
Pine tree tops” by Gary SnyderIn the blue night frost haze,.docx
JUST36
 
Platform as a Service (PaaS) and Infrastructure as a Service (I.docx
Platform as a Service (PaaS) and Infrastructure as a Service (I.docxPlatform as a Service (PaaS) and Infrastructure as a Service (I.docx
Platform as a Service (PaaS) and Infrastructure as a Service (I.docx
JUST36
 
plan for your client Eliza. Since the initial treatment plan, severa.docx
plan for your client Eliza. Since the initial treatment plan, severa.docxplan for your client Eliza. Since the initial treatment plan, severa.docx
plan for your client Eliza. Since the initial treatment plan, severa.docx
JUST36
 
Plan a geographic inquiry to investigate the question. In the pl.docx
Plan a geographic inquiry to investigate the question. In the pl.docxPlan a geographic inquiry to investigate the question. In the pl.docx
Plan a geographic inquiry to investigate the question. In the pl.docx
JUST36
 
PLAGIARISMWhat is it Whose Responsibility is It Wha.docx
PLAGIARISMWhat is it Whose Responsibility is It Wha.docxPLAGIARISMWhat is it Whose Responsibility is It Wha.docx
PLAGIARISMWhat is it Whose Responsibility is It Wha.docx
JUST36
 
PKI and Encryption at WorkLearning Objectives and Outcomes· De.docx
PKI and Encryption at WorkLearning Objectives and Outcomes· De.docxPKI and Encryption at WorkLearning Objectives and Outcomes· De.docx
PKI and Encryption at WorkLearning Objectives and Outcomes· De.docx
JUST36
 
Pine Valley Furniture wants to use Internet systems to provide value.docx
Pine Valley Furniture wants to use Internet systems to provide value.docxPine Valley Furniture wants to use Internet systems to provide value.docx
Pine Valley Furniture wants to use Internet systems to provide value.docx
JUST36
 
Pick the form of cultural expression most important to you. It could.docx
Pick the form of cultural expression most important to you. It could.docxPick the form of cultural expression most important to you. It could.docx
Pick the form of cultural expression most important to you. It could.docx
JUST36
 
Pick two diseases from each of the following systems HEENT .docx
Pick two diseases from each of the following systems HEENT  .docxPick two diseases from each of the following systems HEENT  .docx
Pick two diseases from each of the following systems HEENT .docx
JUST36
 
Pick only one topic!!!!!!!!!!You will need to choose one topic f.docx
Pick only one topic!!!!!!!!!!You will need to choose one topic f.docxPick only one topic!!!!!!!!!!You will need to choose one topic f.docx
Pick only one topic!!!!!!!!!!You will need to choose one topic f.docx
JUST36
 
Pick one organized religion to research. First, describe the religio.docx
Pick one organized religion to research. First, describe the religio.docxPick one organized religion to research. First, describe the religio.docx
Pick one organized religion to research. First, describe the religio.docx
JUST36
 
Pick one of the 2 (Buddhist Syllogism or Meditation)...The B.docx
Pick one of the 2 (Buddhist Syllogism or Meditation)...The B.docxPick one of the 2 (Buddhist Syllogism or Meditation)...The B.docx
Pick one of the 2 (Buddhist Syllogism or Meditation)...The B.docx
JUST36
 
Pick one of the following terms for your research Moral philosophy,.docx
Pick one of the following terms for your research Moral philosophy,.docxPick one of the following terms for your research Moral philosophy,.docx
Pick one of the following terms for your research Moral philosophy,.docx
JUST36
 

More from JUST36 (20)

Plan of WorkGloria is employed at Jones University, through .docx
Plan of WorkGloria is employed at Jones University, through .docxPlan of WorkGloria is employed at Jones University, through .docx
Plan of WorkGloria is employed at Jones University, through .docx
 
Planning, Implementation, and Evaluation Evaluate the importa.docx
Planning, Implementation, and Evaluation Evaluate the importa.docxPlanning, Implementation, and Evaluation Evaluate the importa.docx
Planning, Implementation, and Evaluation Evaluate the importa.docx
 
Planet of the Apes (1974) (Race relations and slavery—turnabout is .docx
Planet of the Apes (1974) (Race relations and slavery—turnabout is .docxPlanet of the Apes (1974) (Race relations and slavery—turnabout is .docx
Planet of the Apes (1974) (Race relations and slavery—turnabout is .docx
 
Planning effective English language arts lessons many times incl.docx
Planning effective English language arts lessons many times incl.docxPlanning effective English language arts lessons many times incl.docx
Planning effective English language arts lessons many times incl.docx
 
PKI Submission RequirementsFormat Microsoft WordFon.docx
PKI Submission RequirementsFormat Microsoft WordFon.docxPKI Submission RequirementsFormat Microsoft WordFon.docx
PKI Submission RequirementsFormat Microsoft WordFon.docx
 
PLAGIARISM SCAN REPORTDate 2020-04-12Words 161Char.docx
PLAGIARISM SCAN REPORTDate 2020-04-12Words 161Char.docxPLAGIARISM SCAN REPORTDate 2020-04-12Words 161Char.docx
PLAGIARISM SCAN REPORTDate 2020-04-12Words 161Char.docx
 
Plato’s Apology The Trial of SocratesSocrates in the trial .docx
Plato’s Apology The Trial of SocratesSocrates in the trial .docxPlato’s Apology The Trial of SocratesSocrates in the trial .docx
Plato’s Apology The Trial of SocratesSocrates in the trial .docx
 
Pine tree tops” by Gary SnyderIn the blue night frost haze,.docx
Pine tree tops” by Gary SnyderIn the blue night frost haze,.docxPine tree tops” by Gary SnyderIn the blue night frost haze,.docx
Pine tree tops” by Gary SnyderIn the blue night frost haze,.docx
 
Platform as a Service (PaaS) and Infrastructure as a Service (I.docx
Platform as a Service (PaaS) and Infrastructure as a Service (I.docxPlatform as a Service (PaaS) and Infrastructure as a Service (I.docx
Platform as a Service (PaaS) and Infrastructure as a Service (I.docx
 
plan for your client Eliza. Since the initial treatment plan, severa.docx
plan for your client Eliza. Since the initial treatment plan, severa.docxplan for your client Eliza. Since the initial treatment plan, severa.docx
plan for your client Eliza. Since the initial treatment plan, severa.docx
 
Plan a geographic inquiry to investigate the question. In the pl.docx
Plan a geographic inquiry to investigate the question. In the pl.docxPlan a geographic inquiry to investigate the question. In the pl.docx
Plan a geographic inquiry to investigate the question. In the pl.docx
 
PLAGIARISMWhat is it Whose Responsibility is It Wha.docx
PLAGIARISMWhat is it Whose Responsibility is It Wha.docxPLAGIARISMWhat is it Whose Responsibility is It Wha.docx
PLAGIARISMWhat is it Whose Responsibility is It Wha.docx
 
PKI and Encryption at WorkLearning Objectives and Outcomes· De.docx
PKI and Encryption at WorkLearning Objectives and Outcomes· De.docxPKI and Encryption at WorkLearning Objectives and Outcomes· De.docx
PKI and Encryption at WorkLearning Objectives and Outcomes· De.docx
 
Pine Valley Furniture wants to use Internet systems to provide value.docx
Pine Valley Furniture wants to use Internet systems to provide value.docxPine Valley Furniture wants to use Internet systems to provide value.docx
Pine Valley Furniture wants to use Internet systems to provide value.docx
 
Pick the form of cultural expression most important to you. It could.docx
Pick the form of cultural expression most important to you. It could.docxPick the form of cultural expression most important to you. It could.docx
Pick the form of cultural expression most important to you. It could.docx
 
Pick two diseases from each of the following systems HEENT .docx
Pick two diseases from each of the following systems HEENT  .docxPick two diseases from each of the following systems HEENT  .docx
Pick two diseases from each of the following systems HEENT .docx
 
Pick only one topic!!!!!!!!!!You will need to choose one topic f.docx
Pick only one topic!!!!!!!!!!You will need to choose one topic f.docxPick only one topic!!!!!!!!!!You will need to choose one topic f.docx
Pick only one topic!!!!!!!!!!You will need to choose one topic f.docx
 
Pick one organized religion to research. First, describe the religio.docx
Pick one organized religion to research. First, describe the religio.docxPick one organized religion to research. First, describe the religio.docx
Pick one organized religion to research. First, describe the religio.docx
 
Pick one of the 2 (Buddhist Syllogism or Meditation)...The B.docx
Pick one of the 2 (Buddhist Syllogism or Meditation)...The B.docxPick one of the 2 (Buddhist Syllogism or Meditation)...The B.docx
Pick one of the 2 (Buddhist Syllogism or Meditation)...The B.docx
 
Pick one of the following terms for your research Moral philosophy,.docx
Pick one of the following terms for your research Moral philosophy,.docxPick one of the following terms for your research Moral philosophy,.docx
Pick one of the following terms for your research Moral philosophy,.docx
 

Recently uploaded

Community pharmacy- Social and preventive pharmacy UNIT 5
Community pharmacy- Social and preventive pharmacy UNIT 5Community pharmacy- Social and preventive pharmacy UNIT 5
Community pharmacy- Social and preventive pharmacy UNIT 5
sayalidalavi006
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
National Information Standards Organization (NISO)
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
Celine George
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
Colégio Santa Teresinha
 
How to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 InventoryHow to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 Inventory
Celine George
 
BBR 2024 Summer Sessions Interview Training
BBR  2024 Summer Sessions Interview TrainingBBR  2024 Summer Sessions Interview Training
BBR 2024 Summer Sessions Interview Training
Katrina Pritchard
 
Smart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICTSmart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICT
simonomuemu
 
Cognitive Development Adolescence Psychology
Cognitive Development Adolescence PsychologyCognitive Development Adolescence Psychology
Cognitive Development Adolescence Psychology
paigestewart1632
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
adhitya5119
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
Scholarhat
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
adhitya5119
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
heathfieldcps1
 
How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
Celine George
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
taiba qazi
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
mulvey2
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
Dr. Mulla Adam Ali
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
PECB
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
Nicholas Montgomery
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
AyyanKhan40
 

Recently uploaded (20)

Community pharmacy- Social and preventive pharmacy UNIT 5
Community pharmacy- Social and preventive pharmacy UNIT 5Community pharmacy- Social and preventive pharmacy UNIT 5
Community pharmacy- Social and preventive pharmacy UNIT 5
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
 
How to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 InventoryHow to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 Inventory
 
BBR 2024 Summer Sessions Interview Training
BBR  2024 Summer Sessions Interview TrainingBBR  2024 Summer Sessions Interview Training
BBR 2024 Summer Sessions Interview Training
 
Smart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICTSmart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICT
 
Cognitive Development Adolescence Psychology
Cognitive Development Adolescence PsychologyCognitive Development Adolescence Psychology
Cognitive Development Adolescence Psychology
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
 
How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
 

Pg. 03 question two 1introduction to databasesi

  • 1. Pg. 03 Question Two 1 Introduction to Databases IT403 College of Computing and Informatics Question One 1.25 Marks Learning Outcome(s): LO3 Create Entity-Relationship model, Relational model, and write SQL queries
  • 2. Consider the following database schema for student game, where each team is led by a student of the team and each game is between two teams (Host and Guest): Students Student_Id Student_Name Address Team_Id Team_Name Rank Team_Leader Teams Student_id Team_Id Game_id Score Date Host_Team Guest_Team Membership Games Your task is to show all the primary and foreign keys in Schema. Question Two 1.75 Marks Learning Outcome(s): LO3 Create Entity-Relationship model, Relational model, and write SQL queries.
  • 3. Consider the following schema: Suppliers (sid, sname, city) Parts (pid, pname, color) Catalog (sid, pid, price) Write relational algebra expressions for the following queries: a. Find the sids of suppliers and names who are located in Riyadh. b. Find the name of suppliers who are located in Riyadh and Jeddah. c. Find the names of supplier who supply part name “fog light”. d. Find the sids of suppliers who supply every part.Question Three 2 Marks Learning Outcome(s): LO3 Create Entity-Relationship model, Relational model, and write SQL queries. Create an Entity Relationship diagram that captures the information about the UPS system? Be certain to indicate identifiers and cardinality constraints.
  • 4. UPS prides itself on having up-to-date information on the processing and current location of each shipped item. To do this, UPS relies on a company-wide information system. Shipped items are the heart of the UPS product tracking information system. Shipped items can be characterized by item number (unique), weight, dimensions, insurance amount, destination, and final delivery date. Shipped items are received into the UPS system at a single retail center. Retail centers are characterized by their type, uniqueID, and address. Shipped items make their way to their destination via one or more standard UPS transportation events (i.e., flights, truck deliveries). These transportation events are characterized by a unique scheduleNumber, a type (e.g, flight, truck), and a deliveryRoute.