Write one or more sql statements

Assignment Help Basic Computer Science
Reference no: EM13808369

Need assistance answering this: Write one or more SQL statements that modify the table STUDENT such that the attribute PHONE is an array of phone_obj.Below is the first query i created and added to the STUDENT TABLE

CREATE TABLE STUDENT
(STUDENT_ID NUMBER(8,0) 
,SALUTATION VARCHAR2(5)
,FIRST_NAME VARCHAR2(25)
,LAST_NAME VARCHAR2(25) 
,STREET_ADDRESS VARCHAR2(50)
,ZIP VARCHAR2(5) 
,PHONE VARCHAR2(15)
,EMPLOYER VARCHAR2(50)
,REGISTRATION_DATE DATE 
,CREATED_BY VARCHAR2(30) 
,CREATED_DATE DATE 
,MODIFIED_BY VARCHAR2(30) 
,MODIFIED_DATE DATE 
)
/

ALTER TABLE Student
ADD (Phone_Obj VARCHAR (30));

CREATE OR REPLACE TYPE phone_obj AS OBJECT (
COUNTRY_Code varchar(2),
AREA_CODE varchar(3),
PHONE_NUMBER varchar(10)
);

 

 

Reference no: EM13808369

Questions Cloud

As a financial analyst you are asked to advise a mnc about : Applying the Euro: Euro against U.S. dollar As a financial analyst, you are asked to advise a MNC about its one-year investment plan next year in Germany. Because the investment is denominated in euros, you are asked to forecast how the euro's value ..
What classes categories of needs does keynes say there are : What two classes (categories) of needs does Keynes say there are? Explain each one. Do you think his ideas about this are correct? Why, or why not?
Develop an understanding about the life cycle : This assignment will help you develop an understanding about the life cycle of supply chains including the models that are aligned with it and the cost it bears. In addition, you will develop an awareness of the elements of the supply chain that s..
Write one or more sql statements : Need assistance answering this: Write one or more SQL statements that modify the table STUDENT such that the attribute PHONE is an array of phone_obj.Below is the first query i created and added to the STUDENT TABLE
Perform established products in mainstream markets : While these may under perform established products in mainstream markets, they often offer features or capabilities appreciated by some fringe customer group.
Assuming an annual inflation : You purchased a machine for $750,000 (installed), and you depreciated it using a 7 year MACRS. This machine generates $300,000 in revenue. In the prior problem, assume that you have a 12% MARR, What is your NPW and IRR? NPW? You think that you need $..
As you educate the security staff on cryptographic concepts : As you educate the security staff on cryptographic concepts, you also will soon make recommendations on the tools that will be appropriate for this company. You will address the topic of digital signatures with the staff. Present the concepts of digi..
Assignment on utilitarianism on pornography : Utilitarianism on Pornography

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Technologies dependent on the use of cryptography

How are biometric technologies dependent on the use of cryptography?

  Who are the stakeholders

Probe into resulting consequence between stakeholders and management as a result of security incidents. Who are the stakeholders?

  Advantage to process the data

You can write your program to next the loops in either direction, that is, process row by row or column by column. Explain which way you would choose to process the data. What is the advantage?

  Write the code to compute s on the basis of these values

In physics, a common useful equation for finding the position s of a body in linear motion at a given time t, based on its initial position s0, initial velocity v0, and rate of acceleration a, is the following:

  Convert the decimal integer

Convert the decimal integer -24 to 16 bit and 32 bit two's complement hexadecimal representation. show your calculations.

  Discuss the impact of the roles on health care organization

Discuss the impact of the roles on the health care organizations. Create a diagram with the career choice as the focal point and identifying the work roles within one of the services or product you identify.

  Describe what each of the two-dimensional characters

Describe what each of the two-dimensional characters might represent and the data that would be held in the array. Also, provide an example array declaration.

  Provide an explanation of hashtables

In your comparison, be sure to include an explanation of one way hashtables are similar to your selected data structure and one way in which they are different.

  Analysis paper on virtual team

For a variety of reasons, organizations are relying on virtual teams for product development. Take some time to research the use of virtual teams for new product development and technological innovation.

  Write select statement determines paymentdate column invoice

Write a Select statement that determines whether the PaymentDate column of The Invoices table has any invalid values.

  Paper is a proposal for leonard cooper charter school

Paper is a proposal for Leonard Cooper Charter School for improving their network. The stakeholders of the system are facing a number of problems, especially since a new addition to the building was added. This proposal addresses each of the stakehol..

  What kind of trend model should be used

What kind of trend model should be used in each of the following cases?a) The variable is increasing by a constant rate.b) The variable is increasing by a constant rate until it reaches saturation and levels out.c) The variable is increasing by a con..

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd