Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Work with Data Manipulation Language (DML) using MySQL. You will create the database, multiple tables, insert data and retrieve information based on the questions given

Work with Data Manipulation Language (DML) using MySQL. You will 

create the database, multiple tables, insert data and retrieve information based on the 

questions given below.


data base.png


 

1. Show all the records of employees who are managers and salesmen. Use the IN operator. Employee ID 21912 Emp Name Sarimah Ibrahim Emp Branch Gender Id F 1 Emp Emp Salary Commission 5000.00 1300.00 Emp Emp Position Salesman Contact 019-6548254 21913 Phuah Weng M 2 5500.00 1500.00 Salesman 019-7778525 Chun 21914 Muthu Samy M 2 12000.00 8000.00 Manager 012-3335588 21915 Azrul Ali M 1 13000.00 8800.00 Manager 017-8889997 21917 Kamal Hassan M 4 5150.00 2000.00 Salesman 017-2878888 2. List all the employees' details where name starts with "kam". Employee ID Emp Name Emp Branch Emp Gender Id Salary 21917 Kamal Hassan M 4 5150.00 Emp Commission 2000.00 Emp Position Salesman Emp Contact 017-2878888 21918 Kamal Ahmad M 4 6000.00 2000.00 017-2585220 3. List all the employees details' where the name ends with "san". Asst. Manager Employee ID 21917 Emp Name Emp Gender Branch Id Kamal Hassan M 4 Emp Salary 5150.00 Emp Commission 2000.00 Emp Position Salesman Emp Contact 017-2878888

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

Concepts of Database Management

Authors: Philip J. Pratt, Mary Z. Last

8th edition

1285427106, 978-1285427102

More Books

Students also viewed these Databases questions

Question

Evaluate the derivatives of the following functions. (z) = cot -1 z

Answered: 1 week ago

Question

6 Explain how populations and variables differ.

Answered: 1 week ago

Question

Prove that if Σ an is absolutely convergent, then a. an

Answered: 1 week ago

Question

What is a fact table in a data warehouse?

Answered: 1 week ago

Question

How do you sort data in an Access query?

Answered: 1 week ago