Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please complete the questions in the attached document and submit your document with answers for grading. Use APEX to write your SQL statements. note this

Please complete the questions in the attached document and submit your document with answers for grading. Use APEX to write your SQL statements.

note this is only one assigment; thank you

DBMS 130 Worksheet: Data Manipulation Language (DML) and Introduction to SQL Queries Topic 1: Briefly describe these 3 SQL commands explaining what they do and how they differ. DELETE TRUNCATE DROP Which one/s are DML? Which one/s are DDL? You may want to try these in APEX. BUT BE CAREFUL! If you use them, you WILL LOSE some data and have to repopulate those data. Topic 2: INSERT Write INSERT statements to add two countries to HOL_COUNTRIES. The countries are China and Kenya Write one INSERT statement with a column list and one without a column list. INSERT INTO HOL_COUNTRIES (Country_ID, Country_Name) VALUES ... INSERT INTO HOL_COUNTRIES VALUES ... Topic 3: INSERT and UPDATE Write an INSERT statement to create a new department named Data Analysis. Write an INSERT statement to create a new Job Title named Data Analyst with a Minimum salary of 5000.00 and a maximum salary of 10000.00. In one SQL statement, UPDATE all employees who are currently Programmers. Change their department to the new Data Analysis Department. Change their job title to the new Data Analyst Job. Change their current salary to 7500.00. Change their manager to Michael Hartstein. DO NOT modify any employee who is not a programmer.

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_2

Step: 3

blur-text-image_3

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

Filing And Computer Database Projects

Authors: Jeffrey Stewart

2nd Edition

007822781X, 9780078227813

More Books

Students also viewed these Databases questions