1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
MakcuM [25]
3 years ago
14

Consider the database table structure shown in the figure. (a) Write a SELECT statement statement (compatible with an Oracle RDB

MS) that returns one column from the vendors table named full_name. Create this result column from the vendor_contact_first_name and vendor_contact_last_name columns, and format it like this: last name – comma – space - first name (for example, "Doe, John"). Next, add code words to this statement so that the result set would be sorted by last name and then first name. In addition, add code words so that the result set is filtered for contacts whose last name begins with the letter A or E. (b) Then write two rows of sample data that might be retrieved by the query. What is actually retrieved depends on what is in the table. The data you write does not have to match any data that is actually in our sample tables

Engineering
1 answer:
Delicious77 [7]3 years ago
6 0

Answer:

The table is attached as a picture.

a)

Select VENDOR_CONTACT_LAST_NAME || ', ' || VENDOR_CONTACT_FIRST_NAME "full_name" from VENDORS where VENDOR_CONTACT_LAST_NAME like 'A%' or VENDOR_CONTACT_LAST_NAME like 'E%' order by VENDOR_CONTACT_LAST_NAME,VENDOR_CONTACT_FIRST_NAME;

concatenation operator || is used . Also LIKE is used for pattern matching. full_name is alias for the concatenated column

b) As sample data is not given ,Please test the query for the data given in table

Explanation:

You might be interested in
What happens if you leave your car on while pumping gas
Natali5045456 [20]

Answer:

the air you pumped would be off

5 0
3 years ago
An offshore oil rig will drill into the ocean floor which is located 1 mile below the water surface. Determine the pressure at t
Luden [163]

Answer:

15.65 MPa 150 times of human body internal pressure

Explanation:

Given:

- Depth of the ocean for offshore drilling d = 1 mile

Find:

Determine the pressure at that location

What would happen to an unprotected, exposed person at that depth?

Solution:

- The pressure at a certain depth of a fluid can be calculated with:

                                       P = p_w*g*d

Where, P is the pressure , p_w is the density of water ( 997 kg / m^3 ).

- Hence @ d = 1.0 mile = 1.6 km = 1600 m:

                                       P = 997*9.81*1600

                                       P = 15.65 MPa

- Whereas the pressure inside a human body is 101 KPa, Pressure under ocean @  1 mile of depth is 150 times in magnitude, enough to crush the human body!

4 0
3 years ago
“In a trusting relationship, confidential information is kept confidential.” Explain what the limits to confidentiality are and
Sliva [168]
The limits are dangerous situation. Ex. Suicidal actions/thoughts, anything that may put yourself, the individual, or anyone else at risk.
7 0
3 years ago
In the formula shown, k is a correction factor for nonideal mixing. In the worst case, k is usually estimated to be:_______. Cpp
LuckyWell [14K]

Answer:

d. 1.0

Explanation:

Correlation identifies the relationship between two variables. In the given scenario there is strong relation between non ideal mixing. The correction factor can be between -1 to 1 depending on the intensity of the relationship and dependency. The non ideal mixing efficiency is highly dependent on the factors that govern it this means there is high intensity relation so the k is estimated to be nearly 1.

3 0
3 years ago
For a refrigerator, COP<1 a) True b) False
WINSTONCH [101]

Answer:

False

Explanation:

COP is Coeficient of performance, it relates useful heat moved with work consumed, it is used in refrigerators and heat pumps.

For refrigerators the useful heat is the one extracted from the cold reservoir. Therefore:

COP = \frac{Tcold}{T.hot - Tcold}

This often exceeds 1.

4 0
3 years ago
Other questions:
  • This is a new technology meant to reduce vehicle roll-overs A. Lane-departure warning B. Anti-lock brakes C. Inspection reports
    7·1 answer
  • A particle is moving along a straight line with an initial velocity of 6 m/s when it is subjected to a deceleration of a- (-1.5v
    8·1 answer
  • What is the relative % change in P if we double the absolute temperature of an ideal gas keeping mass and volume constant?
    14·1 answer
  • What sub-discipline of Mechanical Engineering focuses
    10·1 answer
  • A cartridge electrical heater is shaped as a cylinder of length L=200mm and outer diameter D=20 mm. Under normal operating condi
    5·1 answer
  • Whats a person who enters the electrical trade
    7·2 answers
  • Forcing a solid piece of heated aluminum through a die forms:
    15·2 answers
  • What type of siege engines were used by Saladin to capture Jerusalem in 1187?
    8·1 answer
  • Pointttttttttttttssssssssssss
    12·1 answer
  • FOR DARKEND1<br><br>÷<br><br><br>try copy and paste​
    5·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!