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

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 04:30
What kind of software users of all skill levels create web pages that include graphics, video, audio, animation, and other special effects? website authoring website software website publishing website editing
Answers: 1
question
Computers and Technology, 22.06.2019 14:30
Hi plz 11 ! when planning a table, what step comes first: "define the column headers" or "calculate the number of columns/rows"? a. calculate the number of columns/rows b. define the column headers
Answers: 1
question
Computers and Technology, 23.06.2019 10:00
Hey i just logged on and one of the moderators deleted a bunch of my answers to questions, even though the answers were right and the people it doesn't make sense but if anyone wants to talk about anything just message me lol (this is super random lol)
Answers: 1
question
Computers and Technology, 23.06.2019 17:00
1. which of the following is not an example of an objective question? a. multiple choice. b. essay. c. true/false. d. matching 2. why is it important to recognize the key word in the essay question? a. it will provide the answer to the essay. b. it will show you a friend's answer. c. it will provide you time to look for the answer. d. it will guide you on which kind of answer is required.
Answers: 1
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
question
Mathematics, 25.04.2021 01:00
question
Mathematics, 25.04.2021 01:00
question
Computers and Technology, 25.04.2021 01:00
question
Biology, 25.04.2021 01:00
question
Mathematics, 25.04.2021 01:00