Question

BITS Corporation Exercises 14-16 14. Create a new table named Sept21 to contain the columns OrderNum,...

BITS Corporation Exercises 14-16

14. Create a new table named Sept21 to contain the columns OrderNum, TaskID, Description, ScheduleDate, QuotePrice for all rows on which the ScheduledDate is 9/21/2018

15. In the Sept 21 table, change the description of TaskID PI54 to “Misc. Printing”

16. In the Sept21 table, add a new order. The order number is 69123. The TaskID is OT99. The scheduled date is 9/21/2018. The quoted price is $99. The description is Other work.

Homework Answers

Answer #1

//Incase the table needs to be created for the first time

14. CREATE TABLE Sept21(

OrderNum NUMBER(10),

TaskID NUMBER(4),

Description VARCHAR(100),

ScheduleDate DATE,

QuotePrice NUMBER(7,2) );

//incase the table is created using the "select" statement from the existing table say "ORDERS"

14. CREATE TABLE Sept21

AS

SELECT OrderNum, TaskID, Description, ScheduleDate, QuotePrice FROM ORDERS

WHERE ScheduleDate = TO_DATE('21-SEP-18", "DD-MON-YY");

15. UPDATE Sept21

SET DESCRIPTION = "Misc. Printing"

WHERE TaskID="PI54";

16. INSERT INTO Sept21

( 69123 , OT99 , "Other Work", "21-SEP-18", 99 );

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
EMPLOYEE Field Name EMP_ID EMP_LNAME EMP_MI EMP_FNAME EMP_SEX EMP_AGE EMP_SALARY EMP_HIREDATE DEPT_CODE Table: DEPARTMENT DEPT_CODE BIOL...
EMPLOYEE Field Name EMP_ID EMP_LNAME EMP_MI EMP_FNAME EMP_SEX EMP_AGE EMP_SALARY EMP_HIREDATE DEPT_CODE Table: DEPARTMENT DEPT_CODE BIOL CPTR HIST MATH RELB Data Type Text Text Text Text Text Number Currency Date/Time Text DEPT_TITLE Biology Computer Science History Mathematics Religion    Field Name DEPT_CODE DEPT_TITLE Data Type Text Text INSTRUCTIONS Use SQL commands to create the tables and enter the data shown above using MS Access. Write the following SQL statement given below: 1. 2. 3. 4. 5. 6. 7. 8. 9....
Create two new columns that separate the analytic GRE scores into males and females ID Gender...
Create two new columns that separate the analytic GRE scores into males and females ID Gender Ethnicity Age Science Type Student Status Verbal GRE Quantitative GRE Analytic GRE College GPA Graduate GPA 1 Female White 24 Social Full Time 450 500 550 3.14 3.42 2 Female White 25 Social Full Time 480 580 450 3.11 3.34 3 Female White 30 Social Full Time 610 650 680 3.62 3.79 4 Female White 30 Social Full Time 540 550 560 3.15 3.46...
In this assignment you will analyze the performance of actual company divisions. FASB ASC 280 (formerly...
In this assignment you will analyze the performance of actual company divisions. FASB ASC 280 (formerly SFAS 131) requires publicly traded companies to disclose segment information in the notes to the financial statements. You will use Excel to create visually appealing data tables and bar charts to analyze division performance, and then comment on the results.    Due Date: Tuesday, May 1, 2018.   Submit as an attachment in Blackboard in the Module 24 Assignment. SECTION I The link is to...
On June 5, 2016, Javier Sanchez purchased and placed in service a new 7-year class asset...
On June 5, 2016, Javier Sanchez purchased and placed in service a new 7-year class asset costing $550,000 for use in his landscaping business, which he operates as a single member LLC (Sanchez Landscaping LLC). During 2016, his business generated a net income of $945,780 before any § 179 immediate expense election. Determine the maximum deductions (including first year additional depreciation) that Javier Sanchez can claim with respect to this asset in 2016 and 2017. If required round your intermediate...
What is a Capital Asset?, Holding Period, Calculation of Gain or Loss, Net Capital Losses (LO...
What is a Capital Asset?, Holding Period, Calculation of Gain or Loss, Net Capital Losses (LO 8.1, 8.2, 8.3, 8.5) Charu Khanna received a Form 1099-B showing the following stock transactions and basis during 2016: Stock Date Purchased Date Sold Sales Price Cost Basis 4,000 shares Green Co. 06/04/05 08/05/16 $12,000 $3,000 500 shares Gold Co. 02/12/16 09/05/16 54,000 62,000 5,000 shares Blue Co. 02/04/06 10/08/16 18,000 22,000 100 shares Orange Co. 11/15/15 07/12/16 19,000 18,000 None of the stock...
Total utility can be objectively measured in numbers that indicate usefulness or benefit to the consumer....
Total utility can be objectively measured in numbers that indicate usefulness or benefit to the consumer. ____ 2. Consumers should purchase quantities of a good to the point where MU > P. ____ 3. Voluntary exchange requires that there must be mutual gain. ____ 4. Points along a budget line represent the maximum combinations of two commodities that a consumer can afford. ____ 5. The budget line represents a consumer's preferences for a commodity. ____ 6. A change in consumer...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT