subject

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.

ansver
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 21.06.2019 22:00, luisanavarrogarcia
Which of the following statements correctly identifies a problem with sanitization methods? a. methods are not available to remove data ensuring that unauthorized personnel cannot retrieve data. b. even fully incinerated media can offer extractable data. c. personnel can perform sanitization steps improperly. d. stored data is physically etched into the media.
Answers: 1
image
Computers and Technology, 22.06.2019 23:30, TheBurntToast
What is the digital revolution and how did it change society? what are the benefits of digital media?
Answers: 1
image
Computers and Technology, 23.06.2019 08:00, leleee10
Which argument is not a valid filter? does not equal this quarter filter by cell color all of these are valid filter arguments.
Answers: 2
image
Computers and Technology, 24.06.2019 10:30, brandon1748
You're programming an infinite loop. what must you include in your code to prevent crashes? in roblox
Answers: 2
You know the right 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:

Konu
Social Studies, 23.11.2020 18:50
Konu
Biology, 23.11.2020 18:50