The document discusses designing a database for an exhibition services company. It includes:
1. Creating an entity relationship diagram that is normalized to 3rd normal form to eliminate data redundancy. Primary and foreign keys are identified.
2. A data dictionary is produced showing attributes and data types for each table.
3. SQL scripts are written to create tables based on the design. Data is entered for exhibitions, customers, staff and their assignments.
4. Queries are written to select, update, count and delete data as specified in the tasks.
The tasks demonstrate how to design a database according to requirements, normalize data to eliminate redundancy, and enter and manipulate data using SQL.
Network Security and Cryptography module. I started with Risk assessment in Task 1, explaining Risk Control in Task 2, Task 3 is a Network Diagram and Maintaining Security in Task 4 as well as Reflective commentary in Task 5.
[Question Paper] Linux Administration (75:25 Pattern) [November / 2014]Mumbai B.Sc.IT Study
This is a Question Papers of Mumbai University for B.Sc.IT Student of Semester - V [Linux Administration] (75:25 Pattern). [Year - November / 2014] . . . Solution Set of this Paper is Coming soon . . .
Fundamentals of Database Systems questions and answers with explanation for fresher's and experienced for interview, competitive examination and entrance test.
Network Security and Cryptography module. I started with Risk assessment in Task 1, explaining Risk Control in Task 2, Task 3 is a Network Diagram and Maintaining Security in Task 4 as well as Reflective commentary in Task 5.
[Question Paper] Linux Administration (75:25 Pattern) [November / 2014]Mumbai B.Sc.IT Study
This is a Question Papers of Mumbai University for B.Sc.IT Student of Semester - V [Linux Administration] (75:25 Pattern). [Year - November / 2014] . . . Solution Set of this Paper is Coming soon . . .
Fundamentals of Database Systems questions and answers with explanation for fresher's and experienced for interview, competitive examination and entrance test.
AB Database Assignment 1 –FOR STUDENTS TO COMPLETEFirst create .docxbartholomeocoombs
AB Database Assignment 1 –FOR STUDENTS TO COMPLETE
First: create the initial database:
1. Follow the instructions in the walkthrough beginning in section 1.6 through 1.9 of the AB Database Materials Part 1 and create the first three tables of the Adventure Bikes sales database described there. You will work on this database again for assignment 2, so don’t lose it.
When you open your database ‘Enable Content’ when asked so that you can complete your work.
Your table and attribute names should apply the ‘Database Rules to Remember’ from the walkthrough, e.g.,
a. Consistency
b. no spaces in object names
c. upper and lower case characters
d. meaningful names
Then add new components:
2. Create an EmployeeClassifications table with a primary key field and a description field (both fields are attributes of employee classification). Now switch to datasheet view and enter rows (or records) for Salaried, Hourly, and Contracted employee categories, using the first letter of the category name as the primary key value, e.g., use ‘H’ as the key value for ‘Hourly’. Confused? Read the walk through, and especially section 1.7 where we created the table for categorizing term codes.
3. Create an Employees table to the database with an AutoNumber EmployeeID as the primary key plus first and last name fields. Also add a field for the employee type using the same data type as the primary key of your employee classification table.
4. Enter at least five sample employees using names of your choice. To help illustrate the system’s functionality, assign at least one employee to each of the three employee categories.
5. Add a foreign key constraint (relationship) so that the database’s referential integrity functions will enforce mutually exclusive employee classifications. Confused? Review how TermsCode worked in the walk through.
6. In the SalesInvoices table, add a new field to hold a foreign key to reference the Employees table. Add a foreign key constraint (relationship) to connect the SalesInvoices table to the Employees table. This applies the Object and Transaction design pattern, recording which employee entered each invoice. In datasheet view, make the first two invoices entered by the same employee, and the third by a different employee.
Then: document your work – this is what you will turn in
Make a word document for your database assignment submission. For Database Assignment Part 1 include the following:
1. Provide illuminating examples explaining which of the tables you added is an Object table and which is a Category table - that’s two paragraphs. Remember that an illuminating example includes a definition of the concept (what is a category table in one paragraph and what is an object in the other) a specific example (what is your table name) and a sentence or two connecting your example to the definition. These all should be in paragraph form. If you are not clear on what is being asked of you here go back and reread sections 1.1 and 1.2.
Scraping, Transforming, and Enriching Bibliographic Data with Google SheetsMichael P. Williams
Michael Williams, Coordinator of Area Studies Technical Services at the Penn Libraries, presents about his experiments with batch querying, web scraping, and data processing using Google Sheets. Mike focuses on his case of harvesting bibliographic data for use in library acquisitions work, but the techniques are applicable to a variety of tasks and disciplines.
From usability to performance, analytics to architecture; as report developers, the user experience design (UX) of your data model is quickly becoming more important than the pretty pictures that sit on top of it. This session will concentrate on the design decisions needed to increase the usage of your reports.
Assignment # 2PreliminariesImportant Points· Evidence of acad.docxjane3dyson92312
Assignment # 2Preliminaries
Important Points
· Evidence of academic misconduct (e.g., plagiarism, collaboration/collusion among students) will be taken seriously and University regulations strictly followed.
· You are expected to produce a word-processed answer to this assignment. Please use Arial font and a font size of 12. For SQL code and output, you can use courier new, which preserves SQL format and layout.
· You are required to use the Harvard Style of referencing and citation. The “Cite them right” guide is recommended for referencing and citation (Pears and Shields, 2008) which should be followed throughout your answer especially Part 3.
· Late submissions will be given zero marks unless prior permission is gained from the school office/programme leader.
Module Learning Outcomes (MLOs) assessed:
Knowledge & Understanding:
2. Key concepts of data warehousing.
Intellectual / Professional skills & abilities:
3. Conceptual data modelling, relational database design and implementation in SQL & PL/SQL, and object-based databases.
4. Design and Implementation of a data warehouse using Oracle database system.
Tasks of the Assignment
Part 1 (50 marks) Scenario: Mechanical Production Factories (MPF) Database System
MPF is a company that produces customised mechanical products within Europe. The company produces a rang of mechanical products at several factories. Information about which work force are assigned to which production orders and kept in the force usage register.
In order to access information quickly and to ensure that all past records are available for audit purposes, the company developed a database. Figure 1 shows a UML class diagram, which provides a conceptual model of the database. Relational Design for MPF Database System
A conceptual model of a database may be implemented using any database system (e.g. relational, object-relational, object-oriented). However, to start with, we have mapped the MPF’s conceptual model onto a relational logical model. Figure 2 details the relations for an implementation of the database using a relational database system. Note that Figure 2 uses shorthand / abbreviated notation for data types / domains for describing various attributes of the relations involved in the database.
Figure 1: UML Class Diagram for the MPF Database
Domains/Data Types: ID = Number(6) LTXT = Varchar(50)
STXT = Varchar(30) DEC = Number(8, 2) INT = Number(6)
Factory (FactoryId: ID, Location: LTXT, Country: LTXT)
Product (ProdId: ID, Description: LTXT, CostPerItem: DEC, LabCostPerItem: DEC)
FactoryProduct (FactoryId: ID *: ID, ProdId*: ID)
Workforce (wfId: ID, wfName: STXT, yearlyIncome: DEC, yearlyTax: DEC, taxCode: INT, factoryId*: ID)
Production (prodOrderId: ID, quantity: INT, itemPrice: DEC,orderDate: Date, promiseDate: Date, completionDate: Date, shipmentDate: Date, status: CHAR, prodID*: ID)
ForceUsage (wfId*:ID, prodOrderId*:I.
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Albert Hoitingh
In this session I delve into the encryption technology used in Microsoft 365 and Microsoft Purview. Including the concepts of Customer Key and Double Key Encryption.
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...UiPathCommunity
💥 Speed, accuracy, and scaling – discover the superpowers of GenAI in action with UiPath Document Understanding and Communications Mining™:
See how to accelerate model training and optimize model performance with active learning
Learn about the latest enhancements to out-of-the-box document processing – with little to no training required
Get an exclusive demo of the new family of UiPath LLMs – GenAI models specialized for processing different types of documents and messages
This is a hands-on session specifically designed for automation developers and AI enthusiasts seeking to enhance their knowledge in leveraging the latest intelligent document processing capabilities offered by UiPath.
Speakers:
👨🏫 Andras Palfi, Senior Product Manager, UiPath
👩🏫 Lenka Dulovicova, Product Program Manager, UiPath
Key Trends Shaping the Future of Infrastructure.pdfCheryl Hung
Keynote at DIGIT West Expo, Glasgow on 29 May 2024.
Cheryl Hung, ochery.com
Sr Director, Infrastructure Ecosystem, Arm.
The key trends across hardware, cloud and open-source; exploring how these areas are likely to mature and develop over the short and long-term, and then considering how organisations can position themselves to adapt and thrive.
Accelerate your Kubernetes clusters with Varnish CachingThijs Feryn
A presentation about the usage and availability of Varnish on Kubernetes. This talk explores the capabilities of Varnish caching and shows how to use the Varnish Helm chart to deploy it to Kubernetes.
This presentation was delivered at K8SUG Singapore. See https://feryn.eu/presentations/accelerate-your-kubernetes-clusters-with-varnish-caching-k8sug-singapore-28-2024 for more details.
Essentials of Automations: Optimizing FME Workflows with ParametersSafe Software
Are you looking to streamline your workflows and boost your projects’ efficiency? Do you find yourself searching for ways to add flexibility and control over your FME workflows? If so, you’re in the right place.
Join us for an insightful dive into the world of FME parameters, a critical element in optimizing workflow efficiency. This webinar marks the beginning of our three-part “Essentials of Automation” series. This first webinar is designed to equip you with the knowledge and skills to utilize parameters effectively: enhancing the flexibility, maintainability, and user control of your FME projects.
Here’s what you’ll gain:
- Essentials of FME Parameters: Understand the pivotal role of parameters, including Reader/Writer, Transformer, User, and FME Flow categories. Discover how they are the key to unlocking automation and optimization within your workflows.
- Practical Applications in FME Form: Delve into key user parameter types including choice, connections, and file URLs. Allow users to control how a workflow runs, making your workflows more reusable. Learn to import values and deliver the best user experience for your workflows while enhancing accuracy.
- Optimization Strategies in FME Flow: Explore the creation and strategic deployment of parameters in FME Flow, including the use of deployment and geometry parameters, to maximize workflow efficiency.
- Pro Tips for Success: Gain insights on parameterizing connections and leveraging new features like Conditional Visibility for clarity and simplicity.
We’ll wrap up with a glimpse into future webinars, followed by a Q&A session to address your specific questions surrounding this topic.
Don’t miss this opportunity to elevate your FME expertise and drive your projects to new heights of efficiency.
Elevating Tactical DDD Patterns Through Object CalisthenicsDorra BARTAGUIZ
After immersing yourself in the blue book and its red counterpart, attending DDD-focused conferences, and applying tactical patterns, you're left with a crucial question: How do I ensure my design is effective? Tactical patterns within Domain-Driven Design (DDD) serve as guiding principles for creating clear and manageable domain models. However, achieving success with these patterns requires additional guidance. Interestingly, we've observed that a set of constraints initially designed for training purposes remarkably aligns with effective pattern implementation, offering a more ‘mechanical’ approach. Let's explore together how Object Calisthenics can elevate the design of your tactical DDD patterns, offering concrete help for those venturing into DDD for the first time!
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...James Anderson
Effective Application Security in Software Delivery lifecycle using Deployment Firewall and DBOM
The modern software delivery process (or the CI/CD process) includes many tools, distributed teams, open-source code, and cloud platforms. Constant focus on speed to release software to market, along with the traditional slow and manual security checks has caused gaps in continuous security as an important piece in the software supply chain. Today organizations feel more susceptible to external and internal cyber threats due to the vast attack surface in their applications supply chain and the lack of end-to-end governance and risk management.
The software team must secure its software delivery process to avoid vulnerability and security breaches. This needs to be achieved with existing tool chains and without extensive rework of the delivery processes. This talk will present strategies and techniques for providing visibility into the true risk of the existing vulnerabilities, preventing the introduction of security issues in the software, resolving vulnerabilities in production environments quickly, and capturing the deployment bill of materials (DBOM).
Speakers:
Bob Boule
Robert Boule is a technology enthusiast with PASSION for technology and making things work along with a knack for helping others understand how things work. He comes with around 20 years of solution engineering experience in application security, software continuous delivery, and SaaS platforms. He is known for his dynamic presentations in CI/CD and application security integrated in software delivery lifecycle.
Gopinath Rebala
Gopinath Rebala is the CTO of OpsMx, where he has overall responsibility for the machine learning and data processing architectures for Secure Software Delivery. Gopi also has a strong connection with our customers, leading design and architecture for strategic implementations. Gopi is a frequent speaker and well-known leader in continuous delivery and integrating security into software delivery.
Epistemic Interaction - tuning interfaces to provide information for AI supportAlan Dix
Paper presented at SYNERGY workshop at AVI 2024, Genoa, Italy. 3rd June 2024
https://alandix.com/academic/papers/synergy2024-epistemic/
As machine learning integrates deeper into human-computer interactions, the concept of epistemic interaction emerges, aiming to refine these interactions to enhance system adaptability. This approach encourages minor, intentional adjustments in user behaviour to enrich the data available for system learning. This paper introduces epistemic interaction within the context of human-system communication, illustrating how deliberate interaction design can improve system understanding and adaptation. Through concrete examples, we demonstrate the potential of epistemic interaction to significantly advance human-computer interaction by leveraging intuitive human communication strategies to inform system design and functionality, offering a novel pathway for enriching user-system engagements.
Transcript: Selling digital books in 2024: Insights from industry leaders - T...BookNet Canada
The publishing industry has been selling digital audiobooks and ebooks for over a decade and has found its groove. What’s changed? What has stayed the same? Where do we go from here? Join a group of leading sales peers from across the industry for a conversation about the lessons learned since the popularization of digital books, best practices, digital book supply chain management, and more.
Link to video recording: https://bnctechforum.ca/sessions/selling-digital-books-in-2024-insights-from-industry-leaders/
Presented by BookNet Canada on May 28, 2024, with support from the Department of Canadian Heritage.
PHP Frameworks: I want to break free (IPC Berlin 2024)Ralf Eggert
In this presentation, we examine the challenges and limitations of relying too heavily on PHP frameworks in web development. We discuss the history of PHP and its frameworks to understand how this dependence has evolved. The focus will be on providing concrete tips and strategies to reduce reliance on these frameworks, based on real-world examples and practical considerations. The goal is to equip developers with the skills and knowledge to create more flexible and future-proof web applications. We'll explore the importance of maintaining autonomy in a rapidly changing tech landscape and how to make informed decisions in PHP development.
This talk is aimed at encouraging a more independent approach to using PHP frameworks, moving towards a more flexible and future-proof approach to PHP development.
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Database
1. Rupesh Chaulagain 160409 DB
1
Table of Contents
Task 1 – Design..........................................................................................................................................3
a) Produce an entity relationship model for the proposed database system for ..........................3
Synergy Exhibition Services. This should be a fully normalized model to 3rd .............................3
normal form.............................................................................................................................................3
b) Discuss how you have identified primary and foreign keys for your entity...............................3
relationship model. You could mention data integrity, referential integrity and ............................3
functional dependence in your discussion. ........................................................................................3
c) Produce a data dictionary for the entity relationship model showing all attributes, with data
types and identifying primary and foreign keys. ................................................................................4
Task 2 – Data Entry and Data Manipulation ..........................................................................................7
a) Create all the tables using SQL. Show your create table scripts and the finished..................7
tables........................................................................................................................................................7
b) Enter data on all the exhibitions shown in the assignment. ......................................................11
c) Enter data for all the customers and associate them with exhibitions. Note that a customer
might have more than one exhibition associated with them..........................................................12
d) Enter data on staff and exhibitions they are working at taken from the..................................13
assignment. Give a listing of this information. .................................................................................13
e) Write a query that selects all the exhibitions for the Travel Association of Great..................15
Britain.....................................................................................................................................................15
f) Write a query that selects the staff that work in software support. ...........................................15
g) Write a query that selects all the exhibition details for exhibitions at Olympia.......................15
h) Write a query that counts all the trade exhibitions. ....................................................................16
i) Write a query that shows the staff working at stamp exhibitions...............................................16
j) Update the item table so that Sharon Smith has changed jobs to Software ...........................16
Project Manager...................................................................................................................................16
k) Update the staff table so that Pauline West is now known as Pauline Yardley.....................17
l) Update the lesson title of the exhibition ‘Stampex’ to ‘Stampex 2017’.....................................18
m) Update any exhibitions that involve Sandy Niles so that now they have Diana ...................18
West assigned to them........................................................................................................................18
n) Delete the staff record for Sandy Niles. .......................................................................................19
Task 3 – Assessment ..........................................................................................................................19
3. Rupesh Chaulagain 160409 DB
3
Task 1 – Design
a) Produce an entity relationship model for the proposed database system
for
Synergy Exhibition Services. This should be a fully normalized model to 3rd
normal form. (NCC uploads)
Normalization is removing repeating groups and making relation between the data. We must
normalize any given data to make a reliable database. There are certain steps performed during
normalization. Most used normal form are: 1NF, 2NF, 3NF.
ER model is the pictorial representation of data which contains table and entities inside each
and table are related to each other. The main components of ER model are entity set and
relation set. I have used CROWS FEET to make ER diagram in Visual paradigm.
The required ER model which is in 3rd
normal form is:
Screenshot: Fully normalized ER diagram
b) Discuss how you have identified primary and foreign keys for your entity
relationship model. You could mention data integrity, referential integrity
and
functional dependence in your discussion. (NCC uploads)
Primary key:
It is a column in a table which uniquely defines every entity of a table. It must not be null. It must
be index and unique. From using primary key we can retrieve all the other data from the table.
There is always one primary key in every table but cannot be more than one. To choose a
primary key we look for all the column which can uniquely define other column and from those
columns we select the suitable one, For example, in table Rupesh31_Exhibition there are two
4. Rupesh Chaulagain 160409 DB
4
possible primary key there Exhibition_id, Exhibition_name are the possible primary key
because from these columns we can retrieve all the other data. But, Exhibition_name can
occur twice in the table thus Exhibition_id is suitable for primary key.
Foreign key:
Foreign key is a column which relates a table to another. Usually primary key of one table
becomes foreign key in another table. When we relate the table the table with many relation
holds foreign key. Foreign key can be identified by looking relationship between two tables. The
foreign key is formed in the table with many relation. For example, in three tables
Rupesh31_Exhibition, Rupesh31_Customer, Rupesh31_Exhibition type, the relation
between Rupesh31_Exhibition and Rupesh31_Customer the relation is many to one
respectively. So, the foreign key is Rupesh31_Exhibition. In table Rupesh31_Exhibition and
Rupesh31_Exhibition_type the relation is many to one respectively. So, foreign key lies in
Rupesh31_Exhibition. To create foreign key, it must be primary key is previously created
table. There can be one or more foreign keys in a single table.
Data integrity:
It means the precision and reliability of data. We should maintain the data integrity to guarantee
recoverability and to relate data between each other.
Relational integrity:
This integrity is used to make relation between two tables. When we make foreign key in a table
then it must be primary key in another table which must be created first. It also defines that the
primary key and foreign of two related tables must be same. For example, in tables
Rupesh31_Exhibition_type and Rupesh31_Exhibition Exhibition_type_id is primary key
and foreign key in respected table. Here, we must create the table Rupesh31_Exhibition_type
first then only we can create Rupesh31_Exhibition. Due to relational integrity, we cannot
delete or update Exhibition_type_id in Rupesh31_Exhibition table. Hence, we maintained
relational integrity while making primary key and foreign key.
Functional dependency:
The elements of a table are functionally dependent if one column of a table can define another
column of table. In other words, it is constraints which describes relation between attributes. It is
important to maintain functional dependency during normalization. Here, for Exhibition Summary
Sheet Exhibition_id can define Exhibition_name, Exhibition_address and Exhibition_dates
so one table is formed having Exhibition_id as primary key. Similarly, Customer_no defines
customer_name and forms table with Customer_no as primary key and Exhibition_type_id
defines Exhibition_type and forms another table with Exhibition_type_id as primary key.
Hence, the functional dependency is maintaining and also helps to find out primary key.
c) Produce a data dictionary for the entity relationship model showing all
attributes, with data types and identifying primary and foreign keys. (NCC
uploads)
A place where metadata (data of data) is stored is data dictionary. This is mostly behind
the scenes data. It defines the data type of any data. It also contains length, range,
formatting and any other data about this data.
5. Rupesh Chaulagain 160409 DB
5
For table Rupesh31_Staff_roll
DD for Rupesh31_Staff_roll
For table Rupesh31_Customer
DD for Rupesh31_Customer
For table Rupesh31_Exhibition_type
DD for Rupesh31_Exhibition_type
For table Rupesh31_Exhibition
DD for Rupesh31_Exhibition
For table Rupesh31_Staff
6. Rupesh Chaulagain 160409 DB
6
DD for Rupesh31_Staff
For table Rupesh31_Exhibition_Staff
DD for Rupesh31_Exhibition_Staff
For table Rupesh31_Software_type
DD for Rupesh31_Software_type
For table Rupesh31_Installation_type
DD for Rupesh31_Installation_type
7. Rupesh Chaulagain 160409 DB
7
Task 2 – Data Entry and Data Manipulation
a) Create all the tables using SQL. Show your create table scripts and the
finished
tables. (NCC uploads)
• Creating all table
To create Rupesh31_Staff_roll
Create Rupesh31_Staff_roll
To create Rupesh31_Customer
Create Rupesh31_Customer
To create Rupesh31_Exhibition_type
Create Rupesh31_Exhibition_type
To create Rupesh31_Exhibition
8. Rupesh Chaulagain 160409 DB
8
Create Rupesh31_Exhibition
To create Rupesh31_Staff
Create Rupesh31_Staff
To create Rupesh31_Exhibition_Staff
Create Rupesh31_Exhibition_Staff
To create Rupesh31_Software_type
Create Rupesh31_Software_type
To create Rupesh31_Installation_type
9. Rupesh Chaulagain 160409 DB
9
Create Rupesh31_Installation_type
• All created table
Desc Rupesh31_Staff_roll
Showing Rupesh31_Staff_roll created table
Desc Rupesh31_Customer
Showing Rupesh31_Customer created table
Desc Rupesh31_Exhibition_type
Showing Rupesh31_Exhibition_type created table
Desc Rupesh31_Exhibition
10. Rupesh Chaulagain 160409 DB
10
Showing Rupesh31_Exhibition created table
Desc Rupesh31_Staff
Showing Rupesh31_Staff created table
Desc Rupesh31_Exhibition_Staff
Showing Rupesh31_Exhibition_Staff created table
Desc Rupesh31_Software_type
11. Rupesh Chaulagain 160409 DB
11
Showing Rupesh31_Software_type created table
Desc Rupesh31_Installation_type
Showing Rupesh31_Installlation_type created table
b) Enter data on all the exhibitions shown in the assignment. (NCC
uploads)
Entering data to table Rupesh31_Exhibition
Entering data to table Rupesh31_Exhibition_type
Data entered in table Rupesh31_Exhibition
12. Rupesh Chaulagain 160409 DB
12
Data entered in Rupesh31_Exhibition_type
c) Enter data for all the customers and associate them with exhibitions.
Note that a customer might have more than one exhibition associated with
them. (NCC uploads)
Entering data to Rupesh31_Customer
Entering data to Rupesh31_Software_type
13. Rupesh Chaulagain 160409 DB
13
Entering data to Rupesh31_Installation_type
Data entered in Rupesh31_Customer
Data entered in Rupesh31_Software_type
Data entered in Rupesh31_Installation_type
d) Enter data on staff and exhibitions they are working at taken from the
assignment. Give a listing of this information. (NCC uploads)
Entering data to table Rupesh31_Staff
14. Rupesh Chaulagain 160409 DB
14
Entering data to Rupesh31_Exhibition_Staff
Entering data to Rupesh31_Staff_roll
Data entered in Rupesh31_Staff
Data entered in Rupesh31_Exhibition_Staff
Data entered in Rupesh31_Staff_roll
15. Rupesh Chaulagain 160409 DB
15
e) Write a query that selects all the exhibitions for the Travel Association of
Great
Britain. (NCC uploads)
Query needed is:
Screenshot: Query to select required data
Result:
Screenshot: data selected
f) Write a query that selects the staff that work in software support. (NCC
uploads)
Query needed is:
Screenshot: Query to select required data
Result:
Screenshot: data selected
g) Write a query that selects all the exhibition details for exhibitions at
Olympia. (NCC uploads)
Query needed is:
16. Rupesh Chaulagain 160409 DB
16
Screenshot: Query to select required data
Result:
Screenshot: data selected
h) Write a query that counts all the trade exhibitions. (NCC uploads)
Query needed is:
Screenshot: Query to count required data
Result:
Screenshot: data counted
i) Write a query that shows the staff working at stamp exhibitions. (NCC
uploads)
Query needed is:
Screenshot: Query to select required data
Screenshot: selected data
j) Update the item table so that Sharon Smith has changed jobs to
Software
Project Manager. (NCC uploads)
Query needed is:
17. Rupesh Chaulagain 160409 DB
17
Screenshot: Query to update required data
Updated table:
select SR.Staff_roll,S.Staff_name from Rupesh31_Staff_roll SR , Rupesh31_Staff S
where SR.Staff_roll_id=S.Staff_roll_id;
Screenshot: updated table
k) Update the staff table so that Pauline West is now known as Pauline
Yardley. (NCC uploads)
Query needed is:
Screenshot: Query to update required data
Updated table:
select Staff_id,Staff_name from Rupesh31_Staff;
18. Rupesh Chaulagain 160409 DB
18
Screenshot: updated table
l) Update the lesson title of the exhibition ‘Stampex’ to ‘Stampex 2017’.
(NCC uploads)
Query needed is:
Screenshot: Query to delete required data
Updated table:
select Exhibition_id,Exhibition_name from Rupesh31_Exhibition;
Screenshot: updated table
m) Update any exhibitions that involve Sandy Niles so that now they have
Diana
West assigned to them. (NCC uploads)
Query needed is:
Screenshot: Query to update required data
19. Rupesh Chaulagain 160409 DB
19
Updated table:
select o.Staff_id, o.Staff_name, b.Exhibition_name
from Rupesh31_staff o, Rupesh31_exhibition_type et, Rupesh31_exhibition b,
Rupesh31_exhibition_staff es
where o.staff_id = es.staff_id
and b.exhibition_type_id = et.exhibition_type_id
and b.exhibition_id = es.exhibition_id
and s.staff_name = 'Diana West';
Screenshot: updated table
n) Delete the staff record for Sandy Niles. (NCC uploads)
Query needed is:
Screenshot : Query to delete required data.
Table after deleting:
select* from Rupesh31_staff;
Screenshot: deleted table
Task 3 – Assessment (NCC uploads)
A company called Synergy Exhibition Services which provides facilities for putting on displays
and demonstrations at exhibitions for promotions purposes. Public hires them to conduct
exhibitions and a customer is provided with an exhibition only. This company has given me a job
20. Rupesh Chaulagain 160409 DB
20
to prepare a database which meets all the needs to its data. So, here I must design a database
which can be useful and effective to this company. To make the database we should have good
knowledge in Normalization, should know how make ER and then we should know to create
table and insert values in tables using SQL.
Understanding of requirements:
First of all, we must understand all the essential components to carry out this task. Here, I must
understand the scenario that I have been provided. Then, all the given tables given table should
to normalized to 3rd
normal form by removing functional dependency, partial dependency and
non-keys dependency. This is compulsory to remove data replication and to maintain data
integrity. The all the tables which are formed during normalization should be combine to form a
relation by looking the relationship between those data.
How the initial design attempted to meet the requirements:
Here, I have collected all the ideas and I am about to make a suitable database. The given data
is repeated and random. I must manage all the data properly and make different tables by the
concept of normalization. Normalization helps us to remove repeating data separates
functionally, partially dependent data. At last I have separated the non-keys values to make a
separate table. Here I have separated those types of data and formed many tables. Then, I
have related all the tables to each other by looking the data in the table. Also, I have made a ER
diagram in Visual paradigm using CROWS FEET. These diagram gives us the clear relation
between tables or data. Then, I have made data dictionary (table holding all the properties if
entity). From dictionary, we can know the nature of data. I have created the tables
Rupesh31_Staff_roll, Rupesh31_Customer, Rupesh31_Exhibition_type,
Rupesh31_Exhibition, Rupesh31_Staff, Rupesh31_Exhibition_Satff,
Rupesh31_Software_type, Rupesh31_Installation_type and inserted the all the data we are
provided with. Then I have selected and update some data. Here, my work is finished. Since,
this my first time to design a database I had tried my best for its completion. But there can be
some errors.
Conclusion:
By the process of normalization and making ER diagrams I could make an excellent data base
to the company. I could remove all the replication of data. From the database, I have made we
can easily retrieve, modify data. Here I have made relation between data. The work to make a
data base for Synergy Exhibition Services company is completed. Therefore, from this task we
can conclude that we can make data base for any one by using Normalization process, making
ER diagram and implementing it in SQL developer.
21. Rupesh Chaulagain 160409 DB
21
References
1. Anon, (2017). [online] Available at: https://connect.nccedu.com/NCCEdu/upload [Accessed 22
Apr. 2017].