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

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

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