CUSTOMER PK CUS_CODE CUST_FNAME CUST_LNAME CUS STREET_No CUS STREEET_NAME CUS CITY CUS ZIP CUS_BALANCE places INVOICE ITEM INVOICE PK ITEM_ID PK INV NUM FK INV_NUM FK CUS CODE FK PRODUCT ID INV DATE...



  1. Write a query to display the first name, last name, phone number, title, and department number of employees who work in department 123 and have the title “Assistant.”




  1. Write a query to display the employee number, last name, first name, salary “from” date, salary end date, and salary amount for employees 99675, 53845, and 44035. Sort the output by employee number and salary “from” date.


CUSTOMER<br>PK CUS_CODE<br>CUST_FNAME<br>CUST_LNAME<br>CUS STREET_No<br>CUS STREEET_NAME<br>CUS CITY<br>CUS ZIP<br>CUS_BALANCE<br>places<br>INVOICE ITEM<br>INVOICE<br>PK ITEM_ID<br>PK INV NUM<br>FK INV_NUM<br>FK CUS CODE<br>FK PRODUCT ID<br>INV DATE<br>has<br>PROD_PRICE<br>INV_TOTAL<br>PRODUCT_NAME<br>FK EMP NUM<br>contains<br>completes<br>EMPLOYEE<br>PRODU CT<br>PK EMP_NUM<br>PK PRODUCT_ID<br>EMP_FNAME<br>PRODUCT_DESCRIPTION<br>EMP LNAME<br>PROD_TYPE<br>EMP EMAIL<br>PROD_BASE<br>EMP_PHONE<br>PROD_CATEGORY<br>EMP H IREDATE<br>FK BRAND_ID<br>EMP TITLE<br>EMP_COMMIS ION<br>belongsto<br>SAL_AMOUNT<br>BRAND<br>FK DEPT_NUM<br>PK BRAND ID<br>employs<br>BRAND NAME<br>DEPARTMENT<br>BRAND TYPE<br>PK DEPT NUM<br>DEPT_NAME<br>provided by<br>DEPT ADDRESS<br>DEPT PHONE<br>VENDOR STOCK<br>PK STOCK ID<br>VENDOR<br>FK VEND ID<br>PK VEND ID<br>FK PRODUCT_ ID<br>VEND NAME<br>PROD_QTY_ON HAND<br>VEND STREET NO<br>%23<br>has<br>VEND STREET_NAME<br>VEND CTY<br>VEND STATE<br>VEND ZIP<br>

Extracted text: CUSTOMER PK CUS_CODE CUST_FNAME CUST_LNAME CUS STREET_No CUS STREEET_NAME CUS CITY CUS ZIP CUS_BALANCE places INVOICE ITEM INVOICE PK ITEM_ID PK INV NUM FK INV_NUM FK CUS CODE FK PRODUCT ID INV DATE has PROD_PRICE INV_TOTAL PRODUCT_NAME FK EMP NUM contains completes EMPLOYEE PRODU CT PK EMP_NUM PK PRODUCT_ID EMP_FNAME PRODUCT_DESCRIPTION EMP LNAME PROD_TYPE EMP EMAIL PROD_BASE EMP_PHONE PROD_CATEGORY EMP H IREDATE FK BRAND_ID EMP TITLE EMP_COMMIS ION belongsto SAL_AMOUNT BRAND FK DEPT_NUM PK BRAND ID employs BRAND NAME DEPARTMENT BRAND TYPE PK DEPT NUM DEPT_NAME provided by DEPT ADDRESS DEPT PHONE VENDOR STOCK PK STOCK ID VENDOR FK VEND ID PK VEND ID FK PRODUCT_ ID VEND NAME PROD_QTY_ON HAND VEND STREET NO %23 has VEND STREET_NAME VEND CTY VEND STATE VEND ZIP

Jun 11, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here