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
ivann1987 [24]
3 years ago
5

Write an ALTER TABLE statement that adds two new columns to the Products table: one column for product price that provides for t

hree digits to the left of the decimal point and two to the right. This column should have a default value of 9.99; and one column for the date and time that the product was added to the database.
Computers and Technology
1 answer:
matrenka [14]3 years ago
8 0

Answer:

ALTER TABLE Products

ADD Products_price float(5,2) DEFAULT 9.99,

ADD Adding_time datetime;

Explanation:

So at first we need to use ALTER TABLE statement, when we use this statement we also need to provide the table name. In this case, i assume it is 'Products'.

Then, as per question, we need to add two columns.

The first one is 'product_price' and it contains decimal points. So, we need to use ADD statement and give a column name like 'Prodcuts_price' and its datatype 'float' because it contains decimal or floating points. so, for 3 digits on the left and 2 digits on the right, it makes a total of 5 digits. So, we need to declare it like this. (5,2) it means a total of 5 digits and 2 after the decimal point. after that, we need to set our Default value using the DEFALUT statement. so DEFAULT 9.99. it will set the default value to 9.99 for existing products.

And for our next column, we give its a name like 'Adding_time' then it's datatype 'datetime' because it will contain date and times.

You might be interested in
Self-contained sequences of actions to be performed are: (1 point)
beks73 [17]
These are functions.
6 0
3 years ago
Read 2 more answers
When was the very first computer made??
marshall27 [118]

1936

First programmable computer. The Z1 was created by German Konrad Zuse in his parents' living room between 1936 and 1938. It is considered to be the first electromechanical binary programmable computer, and the first really functional modern computer.

8 0
3 years ago
___ a Word object in an Excel worksheet to activate the Word features. A. Ctrl-click. B. Shift-click C. Double-click D. Click
givi [52]
D.....................
8 0
3 years ago
Read 2 more answers
When a range of ip addresses is set aside for client devices, and one of these ips is issued to these devices when they request
snow_lady [41]

When a range of ip addresses stands set aside for client devices, and one of these ips stands issued to these devices when they request one, this exists known as Dynamic Allocation.

<h3>What is an IP address?</h3>

IP address stands for “Internet Protocol address.” The Internet Protocol exists as a set of rules for communication over the internet, such as sending mail, streaming video, or connecting to a website. An IP address specifies a network or device on the internet.

An IP address stands for a unique address that identifies a device on the internet or a local network. IP stands for "Internet Protocol," which exists as the set of rules controlling the format of data sent via the internet or local network.

A 'Client Device' may direct to any computer with access to data from another computer. In this sense, a server may sustain a network composed of numerous client devices in the form of desktop PCs, laptops, smartphones, and tablets.

Hence, When a range of ip addresses stands set aside for client devices, and one of these ips stands issued to these devices when they request one, this exists known as Dynamic Allocation.

To learn more about Dynamic Allocation refers to:

brainly.com/question/24688176

#SPJ4

8 0
2 years ago
The residual volume can be measured directly with: Select an answer and submit. For keyboard navigation, use the up/down arrow k
TEA [102]

The residual volume can not be measured directly.

<h3>How is residual volume measured?</h3>

Residual volume is known to be measured by what we call a gas dilution test.

Note that this test often  measures how the concentration of the gases in the container changes.

<h3>What is residual volume?</h3>

This is known to be the Volume of air that is left over after a FORCED EXPIRATION. Note that it is one that cannot be measured by a spirometer.

Hence, The residual volume can not be measured directly.

Learn more about residual volume from

brainly.com/question/12897209

#SPJ1

6 0
2 years ago
Other questions:
  • Write a program that reads a 4-bit binary number from the keyboard as a string and then converts it into decimal. For example, i
    11·1 answer
  • Which of the following correctly pairs a financing option with its description?
    14·2 answers
  • You turn your computer on and the computer will not boot up where is something you should do to diagnose the problem?
    12·1 answer
  • You are a high school counselor with 9 students who applied for 3 different summer jobs: Job A, Job B, and Job C. Each of the su
    5·1 answer
  • Hey hope you are having a great day. Please subscribe to me on You tube at (Resurgentz). :)
    13·1 answer
  • An object is suspended in a wind tunnel and the force measured for various levels of wind velocity: v (m/s) 10 20 30 40 50 60 70
    10·1 answer
  • What is considered to be the core of the Unix operating system ?
    14·1 answer
  • What is a functional organisation? and how it functions​?
    12·1 answer
  • Convert 1/32 GB into MB​
    14·1 answer
  • Taran wants to work in the technology field but is unsure of which career to pursue. He has been told he has strong people skill
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!