Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

DATABASE SYSTEMs, SQL Consider the following relational model: Employee(employeeID, firstname, lastname, country) Project(projectID, name, country) Worked(employeeID, projectID, date) For the following exercises, use your docker

DATABASE SYSTEMs, SQL
Consider the following relational model:
Employee(employeeID, firstname, lastname, country)
Project(projectID, name, country)
Worked(employeeID, projectID, date)
For the following exercises, use your docker container.
Discussion: 20.01.2021
a) (0points)Createanewdatabasenamedprojectsandchoosethisdatabaseforthefollowing exercises.
b)Create all tables by formulating all necessary DDL statements. Assume corre- sponding data types, define all primary and foreign keys properly and use automatically com- puted values for the IDs.
c) Fill the tables Employee and Project with meaningful test data using DML state- ments. Insert at least 3 tuples per table, whereby one employee should have the name Donald Duck, and one project should have the name DB exercises.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Intelligent Databases Technologies And Applications

Authors: Zongmin Ma

1st Edition

1599041219, 978-1599041216

More Books

Students also viewed these Databases questions

Question

Question What integration level should an employer choose?

Answered: 1 week ago