Computers and Technology

Write a script that adds rows to the database that you created in exercise 2. add two rows to the users and products tables. add three rows to the downloads table: one row for user 1 and product 2; one row for user 2 and product 1; and one row for user 2 and product 2. use the sysdate function to insert the current date into the download_date column. use the sequences created in the previous exercise to get the values for the user_id, download_id, and product_id columns. write a select statement that joins the three tables and retrieves the data from these tables like this: sort the results by the email address in descending sequence and the product name in ascending sequence. 4. write an alter table statement that adds two new columns to the products table created in exercise 2. add one column for product price that provides for three digits to the left of the decimal point and two to the right. this column should have a default value of 9.99. add one column for the date and time that the product was added to the database. 5. write an alter table statement that modifies the users table created in exercise 2 so the first_name column can store null values and can store a maximum of 20 characters. code an update statement that inserts a null value into this column. it should work since this column now allows null values. code another update statement that attempts to insert a first name that’s longer than 20 characters. it should fail due to the length of the column.

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 16:00, sdonachy7
You have inserted new slides based on a word outline. how do you format these new slides to match the powerpoint presentation formatting? a. select all slides in the presentation and click format on the home tab. b. select the new slides and click reset on the home tab. c. select all slides in the presentation and click reset on the home tab. d. select the new slides and click format on the home tab.
Answers: 3
image
Computers and Technology, 24.06.2019 00:30, louie8656
Match the sentence fragment in the first column with the appropriate ending in the second column. a little per favore?
Answers: 1
image
Computers and Technology, 24.06.2019 02:10, trint5952
Aspeed limit sign that says "night" indicates the legal speed between sunset and sunrise.
Answers: 2
image
Computers and Technology, 24.06.2019 08:30, trashellyoung
Why might you choose to create a functional resume
Answers: 1
Do you know the correct answer?
Write a script that adds rows to the database that you created in exercise 2. add two rows to the us...

Questions in other subjects: