Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider the database for an organization. Write the queries for the following 1. Create the database 2. Select the current database 3. Create the following

Consider the database for an organization. Write the queries for the following

1. Create the database

2. Select the current database

3. Create the following tables.

 

a. employee (emp_no,emp_name,DOB, address, doj, mobile_no, dept_no, salary).

b. department (dept_no, dept_name, location).

 

4. Include necessary constraints.

5. List all the tables in the current database

6. Display the structure of the employee table

7. Add a new column Designation to the employee table

8.Drop the column location from Dept table

9. Drop the tables

10.Delete the database

Step by Step Solution

3.46 Rating (153 Votes )

There are 3 Steps involved in it

Step: 1

query to create database create database helloexperts query to use database use helloexperts query t... 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

Document Format ( 2 attachments)

PDF file Icon
63613c2bd1e34_234678.pdf

180 KBs PDF File

Word file Icon
63613c2bd1e34_234678.docx

120 KBs Word File

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

Using Excel & Access for Accounting 2010

Authors: Glenn Owen

3rd edition

1111532672, 978-1111532673

More Books

Students also viewed these Databases questions