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

  Design complete system of timer using 8086 and peripherals

Real-time systems often require precise timing for data sampling and control operations. This is usually achieved through the use of a programmable timer circuit that periodically interrupts the main processor at precise times.

  How to use the input validation

Requirement Determine if a word is a palindrome Using a cloulread in a word chaster by character Store each character in its own node.

  Copy and paste the code

Copy and paste the code below in a filename LastFirst_lab43.cpp (e.g. DoeJoe_lab43.cpp) and save it in Lab 4 folder. Bring in the LastFirst_lab43.cpp program from the Lab 3 folder.

  What are the modes

What are the modes, the conceptual models of transfer, the advantages, and the disadvantages of pass-by-value, pass-by-result, pass-by-value result, and pass-by-reference parameter-passing methods?

  Display the lowest number of moves

Display the lowest number of moves it took for the mole to escape and how many times did the mole escape in that fewest number of moves?

  Explain kind of system real-time statistics

Permits customers to see real-time statistics like views and click-throughs about their current banner ads. Which kind of system will most efficiently give a solution.

  Take two numbers as input, a width and height

Using for loops: Take two numbers as input, a width and height. Create a square where there are WIDTH numbers on each line, and HEIGHT rows. Remember, print(someString, end="") prints without a line break.

  Documentation sheet author-purpose

Data imported from SalesData.csv text file located in Course Project Materials in DocSharing. Professional formatting follows the formatting guidelines. Documentation sheet added to provide author, purpose, and date and provide information about e..

  Uml state diagram situations in chess game

You are required to draw a UML state diagram to represent the following situations in Chess game.

  How spki be augmented to support policy

Consider a policy that, for reasons of separation of duties, does not allow an entity to exercise the rights it may grant (delegate) to others. How could SPKI be augmented to support such a policy?

  Write some code that swaps their values

Given two int variables, firstPlaceWinner and secondPlaceWinner , write some code that swaps their values. Declare any additional variables as necessary.

  Two concepts - persistence and being stateless

5. The text mentions two concepts - persistence and being stateless. At first glance, the notion that computer systems do not usually remember where you have been or what you have been doing seems counter-intuitive. What advantages can you see in hav..

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