Our Services

Get 15% Discount on your First Order

[rank_math_breadcrumb]

sql

Class work


1. Create Customers

1. Create the following table

2. Please ensure that any previous table is dropped first to prevent any conflicts

3. Submit a screenshot of the table created as evidence of the customers table.

DROP TABLE CUSTOMERS;

CREATE TABLE CUSTOMERS

  CST_NUM             CHAR(4), 

  CST_NME_LST VARCHAR2(20), 

  CST_NME_FST VARCHAR2(20), 

  CST_EML      VARCHAR2(25), 

  CST_ADR      VARCHAR2(25), 

  CST_CTY   VARCHAR2(20), 

  CST_ST    CHAR(2), 

  CST_ZIP   CHAR(5), 

  CST_REF   NUMBER(4), 

  CST_REG   CHAR(2)  

);

2. Add Data to the Customers Table

1. Please add the following records to the customer table

2. Afterwards, submit a screenshot as evidence that the records have been populated to the table.

INSERT INTO CUSTOMERS (CST_NUM, CST_NME_LST, CST_NME_FST, CST_ADR, CST_CTY, CST_ST, CST_ZIP, CST_REF, CST_REG) 

   VALUES (‘1001′,’MORALES’,’BONITA’,’P.O.BOX 651′,’EASTPOINT’,’FL’,’32328′, NULL, ‘SE’);

INSERT INTO CUSTOMERS (CST_NUM, CST_NME_LST, CST_NME_FST, CST_ADR, CST_CTY, CST_ST, CST_ZIP, CST_REF, CST_REG) 

   VALUES (‘1002’, ‘THOMPSON’, ‘RYAN’, ‘P.O. BOX 9835’, ‘SANTA MONICA’, ‘CA’, ‘90404’, NULL, ‘W’);

INSERT INTO CUSTOMERS (CST_NUM, CST_NME_LST, CST_NME_FST, CST_ADR, CST_CTY, CST_ST, CST_ZIP, CST_REF, CST_REG) 

   VALUES (‘1003’, ‘SMITH’, ‘LEILA’, ‘P.O. BOX 66’, ‘TALLAHASSEE’, ‘FL’, ‘32306’, NULL, ‘SE’);

INSERT INTO CUSTOMERS (CST_NUM, CST_NME_LST, CST_NME_FST, CST_ADR, CST_CTY, CST_ST, CST_ZIP, CST_REF, CST_REG) 

   VALUES (‘1004’, ‘PIERSON’, ‘THOMAS’, ‘69821 SOUTH AVENUE’, ‘BOISE’, ‘ID’, ‘83707’, NULL, ‘NW’);

INSERT INTO CUSTOMERS (CST_NUM, CST_NME_LST, CST_NME_FST, CST_ADR, CST_CTY, CST_ST, CST_ZIP, CST_REF, CST_REG) 

   VALUES (‘1005’, ‘GIRARD’, ‘CINDY’, ‘P.O. BOX 851’, ‘SEATTLE’, ‘WA’, ‘98115’, NULL, ‘NW’);

INSERT INTO CUSTOMERS (CST_NUM, CST_NME_LST, CST_NME_FST, CST_ADR, CST_CTY, CST_ST, CST_ZIP, CST_REF, CST_REG) 

   VALUES (‘1006’, ‘CRUZ’, ‘MESHIA’, ’82 DIRT ROAD’, ‘ALBANY’, ‘NY’, ‘12211’, NULL, ‘NE’);

INSERT INTO CUSTOMERS (CST_NUM, CST_NME_LST, CST_NME_FST, CST_ADR, CST_CTY, CST_ST, CST_ZIP, CST_REF, CST_REG) 

   VALUES (‘1007’, ‘GIANA’, ‘TAMMY’, ‘9153 MAIN STREET’, ‘AUSTIN’, ‘TX’, ‘78710’, ‘1003’, ‘SW’);

INSERT INTO CUSTOMERS (CST_NUM, CST_NME_LST, CST_NME_FST, CST_ADR, CST_CTY, CST_ST, CST_ZIP, CST_REF, CST_REG) 

   VALUES (‘1008’, ‘JONES’, ‘KENNETH’, ‘P.O. BOX 137’, ‘CHEYENNE’, ‘WY’, ‘82003’, NULL, ‘N’);

INSERT INTO CUSTOMERS (CST_NUM, CST_NME_LST, CST_NME_FST, CST_ADR, CST_CTY, CST_ST, CST_ZIP, CST_REF, CST_REG) 

   VALUES (‘1009’, ‘PEREZ’, ‘JORGE’, ‘P.O. BOX 8564’, ‘BURBANK’, ‘CA’, ‘91510’, ‘1003’, ‘W’);

INSERT INTO CUSTOMERS (CST_NUM, CST_NME_LST, CST_NME_FST, CST_ADR, CST_CTY, CST_ST, CST_ZIP, CST_REF, CST_REG) 

   VALUES (‘1010’, ‘LUCAS’, ‘JAKE’, ‘114 EAST SAVANNAH’, ‘ATLANTA’, ‘GA’, ‘30314’, NULL, ‘SE’);

INSERT INTO CUSTOMERS (CST_NUM, CST_NME_LST, CST_NME_FST, CST_ADR, CST_CTY, CST_ST, CST_ZIP, CST_REF, CST_REG) 

   VALUES (‘1011’, ‘MCGOVERN’, ‘REESE’, ‘P.O. BOX 18’, ‘CHICAGO’, ‘IL’, ‘60606’, NULL, ‘N’);

INSERT INTO CUSTOMERS (CST_NUM, CST_NME_LST, CST_NME_FST, CST_ADR, CST_CTY, CST_ST, CST_ZIP, CST_REF, CST_REG) 

   VALUES (‘1012’, ‘MCKENZIE’, ‘WILLIAM’, ‘P.O. BOX 971’, ‘BOSTON’, ‘MA’, ‘02110’, NULL, ‘NE’);

INSERT INTO CUSTOMERS (CST_NUM, CST_NME_LST, CST_NME_FST, CST_ADR, CST_CTY, CST_ST, CST_ZIP, CST_REF, CST_REG) 

   VALUES (‘1013’, ‘NGUYEN’, ‘NICHOLAS’, ‘357 WHITE EAGLE AVE.’, ‘CLERMONT’, ‘FL’, ‘34711’, ‘1006’, ‘SE’);

INSERT INTO CUSTOMERS (CST_NUM, CST_NME_LST, CST_NME_FST, CST_ADR, CST_CTY, CST_ST, CST_ZIP, CST_REF, CST_REG) 

   VALUES (‘1014’, ‘LEE’, ‘JASMINE’, ‘P.O. BOX 2947’, ‘CODY’, ‘WY’, ‘82414’, NULL, ‘N’);

INSERT INTO CUSTOMERS (CST_NUM, CST_NME_LST, CST_NME_FST, CST_ADR, CST_CTY, CST_ST, CST_ZIP, CST_REF, CST_REG) 

   VALUES (‘1015’, ‘SCHELL’, ‘STEVE’, ‘P.O. BOX 677’, ‘MIAMI’, ‘FL’, ‘33111’, NULL, ‘SE’);

INSERT INTO CUSTOMERS (CST_NUM, CST_NME_LST, CST_NME_FST, CST_ADR, CST_CTY, CST_ST, CST_ZIP, CST_REF, CST_REG) 

   VALUES (‘1016’, ‘DAUM’, ‘MICHELL’, ‘9851231 LONG ROAD’, ‘BURBANK’, ‘CA’, ‘91508’, ‘1010’, ‘W’);

INSERT INTO CUSTOMERS (CST_NUM, CST_NME_LST, CST_NME_FST, CST_ADR, CST_CTY, CST_ST, CST_ZIP, CST_REF, CST_REG) 

   VALUES (‘1017’, ‘NELSON’, ‘BECCA’, ‘P.O. BOX 563’, ‘KALMAZOO’, ‘MI’, ‘49006’, NULL, ‘N’);

INSERT INTO CUSTOMERS (CST_NUM, CST_NME_LST, CST_NME_FST, CST_ADR, CST_CTY, CST_ST, CST_ZIP, CST_REF, CST_REG) 

   VALUES (‘1018’, ‘MONTIASA’, ‘GREG’, ‘1008 GRAND AVENUE’, ‘MACON’, ‘GA’, ‘31206’, NULL, ‘SE’);

INSERT INTO CUSTOMERS (CST_NUM, CST_NME_LST, CST_NME_FST, CST_ADR, CST_CTY, CST_ST, CST_ZIP, CST_REF, CST_REG) 

   VALUES (‘1019’, ‘SMITH’, ‘JENNIFER’, ‘P.O. BOX 1151’, ‘MORRISTOWN’, ‘NJ’, ‘07962’, ‘1003’, ‘NE’);

INSERT INTO CUSTOMERS (CST_NUM, CST_NME_LST, CST_NME_FST, CST_ADR, CST_CTY, CST_ST, CST_ZIP, CST_REF, CST_REG) 

   VALUES (‘1020’, ‘FALAH’, ‘KENNETH’, ‘P.O. BOX 335’, ‘TRENTON’, ‘NJ’, ‘08607’, NULL, ‘NE’);

3. Display the following Queries

1. 1.All records from the customer table.

2. 2.List of all customers in the state of Florida

3. 3.All customers that reside in zip code 82003

4. 4.All customers with the last name Smith

5. 5. List all customers who live in Miami

Share This Post

Email
WhatsApp
Facebook
Twitter
LinkedIn
Pinterest
Reddit

Order a Similar Paper and get 15% Discount on your First Order

Related Questions

computering part 7

The goal of this project is to integrate your various components into polished, professional products. Follow the instructions below to ensure a successful submission: Apply Feedback: Review and incorporate all feedback received from previous submissions (Parts 2-6). Enhance and Improve: Refine any of the three required items (cover letter with

Discussion and Replies

Please see attachment for instructions     Discussion   In 250 words total, answer the questions below with 4 evidence base scholarly articles. APA format. Based on the readings this week, 1. Discuss some common strategies and pitfalls you have seen with business continuity. 2. Discuss some common strategies and

sociology

The goal of this project is to integrate your various components into polished, professional products. Follow the instructions below to ensure a successful submission: Apply Feedback: Review and incorporate all feedback received from previous submissions (Parts 2-6). Enhance and Improve: Refine any of the three required items (cover letter with

Python

  Instructions Create a simple Python application (Save as w5_firstname_lastname.py) . Create a Python script that takes two parameters to do the following:- 1) List all files names, size, date created in the given folder 2) Parameter1 = Root Folder name Parameter2= File size >>> to filter file size (

Python

  Instructions:  Describe methods for securing Python code. Pick at least ONE of the methods for securing node and deep dive into what it means and how it is used to secure code.   

Discussion 8 of 459

Follow the attach instruction to complete the work. 1. What is one specific technology you found the most intriguing throughout the course? 2. If you were to be a hacker, which building block vector would you choose to attack your selected technology and why?

WK 4 Discussion and Replies

Please see attachment for instructions     Discussion   In 250 words total, answer the questions below with 4 evidence base scholarly articles. APA format. Discussion on access control and physical security. These areas found to be one or more points of weakness in audit 1. Discuss some common points of

Node.js

  Instructions Create a simple Node.js server (Save as w4_firstname_lastname.js) . Create a restful application similar to the one in lesson 4 (ReSTFul Web Services). Document the routing table, and the application you created. Submit your week 4 work in w4_firstname_lastname.txt (Please save the file as a text file and

Computer Science- Python Gurobi assignment

I need the output following these steps: Put all of these files into the same folder, Open the python file, If there is any error, check if any file is missing, It has 105 counties and 4 districts, so it will take a while to finish running. I need it

Research Project

Please follow the instructions attached below:  I have choose the topic from the list is:   PROJECT TITLE Firm RTOS – Balancing Real-Time Performance and Flexibility Please check the abstract from my file and write the research project. 

provide me java based interview question.

Core Java Interview Questions (Basic Level) 1. What is Java? Java is a high-level, object-oriented, platform-independent programming language developed by Sun Microsystems. 2. What are the features of Java?  Object-Oriented  Platform Independent (via JVM)  Secure and Robust  Multithreaded  Architecture Neutral  High Performance (via JIT

Dynamons world Mod APK

 What are the best tips for playing RPG games like Dynamons World? I recently found a great resource at that offers a lot of insights and even MOD APKs for Dynamons World, but I’d love to hear personal strategies and gameplay advice from the community too! ???????? 

459 w7

Follow the attach instructions to complete this work. Questions: 1. What is Generative AI and how is it similar/different to Traditional AI? 2. Do you believe that work created by Generative AI (e.g. ChatGPT) is comparable in quality to human created content?  What challenges and opportunities  does Generative AI pose

Computer Science WK3 Assignment

Please see attachment for instructions ISSC680 Week 3 Homework Assignment Instructions: Please provide a one-page response to the following topic utilizing supporting documentation obtained from the attach books and the Internet. APA format and reference. Topic: Differentiate between the different types of cryptographic algorithms.

Discussion and Replies

Please see attachment for instructions     Discussion   In 250 words total, answer the questions below with 4 evidence base scholarly articles. APA format. Based on this weeks readings, 1. Discuss some effective strategies for Security Awareness in your organization or 2. What you would like to see implemented