The first requirement: Using the SQL language, transform the following entity model into tables in the database.

Oracle 12c: SQL
3rd Edition
ISBN:9781305251038
Author:Joan Casteel
Publisher:Joan Casteel
Chapter1: Overview Of Database Concepts
Section: Chapter Questions
Problem 14MC: A unique identifier for a data row that consists of more than one field is commonly called...
icon
Related questions
Question

https://sqliteonline.com/ : Program link


The first requirement: Using the SQL language, transform the following entity model into tables in the database.

        Entity Manger contains:

  • M-name The name of the manager.
  • M-ID and manager number.The department entity contains:
  • D-name The name of the department.
  • D-ID and department number.

    Create constraint master key name of the manager when creating the Manger table.
    Creating the foreign key constraint The name of the manager when creating the Department table.

The second requirement: After creating the tables and specifying the primary and foreign key, do the following:

* Add a column D_loc to the Department table, specifying the type of column.
* Remove the column named M_name from the Manger table
* Change the name of the department table to Dep

 

Please::

*******  ATTACH A PICTURE OF THE CODES USED AND PICTURE OF THE PROGRAM SCREEN *******

D_name
D_ID
M_ID
M_name
1
1
Department
Manger
MANGE
Transcribed Image Text:D_name D_ID M_ID M_name 1 1 Department Manger MANGE
Expert Solution
steps

Step by step

Solved in 2 steps with 6 images

Blurred answer
Knowledge Booster
Enhanced ER Model
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Oracle 12c: SQL
Oracle 12c: SQL
Computer Science
ISBN:
9781305251038
Author:
Joan Casteel
Publisher:
Cengage Learning
Enhanced Discovering Computers 2017 (Shelly Cashm…
Enhanced Discovering Computers 2017 (Shelly Cashm…
Computer Science
ISBN:
9781305657458
Author:
Misty E. Vermaat, Susan L. Sebok, Steven M. Freund, Mark Frydenberg, Jennifer T. Campbell
Publisher:
Cengage Learning
New Perspectives on HTML5, CSS3, and JavaScript
New Perspectives on HTML5, CSS3, and JavaScript
Computer Science
ISBN:
9781305503922
Author:
Patrick M. Carey
Publisher:
Cengage Learning
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
A Guide to SQL
A Guide to SQL
Computer Science
ISBN:
9781111527273
Author:
Philip J. Pratt
Publisher:
Course Technology Ptr