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 05:30
The total revenues for a company are $150,223 and the total expenses were 125,766. if you are calculating the net income, which of these spreadsheets would you use? insert a spreadsheet with $150,223 in cell b2 and 125, 766 in cell b3. enter a formula =b2-b3. the formula should be showing in the formula bar. insert a spreadsheet with $150,223 in cell b2 and 125, 766 in cell b3. enter a formula =b2+b3. the formula should be showing in the formula bar. insert a spreadsheet with $150,223 in cell b2 and 125, 766 in cell b3. enter a formula =b2/b3. the formula should be showing in the formula bar. insert a spreadsheet with $150,223 in cell b2 and 125, 766 in cell b3. enter a formula =b2*b3. the formula should be showing in the formula bar.
Answers: 3
question
Computers and Technology, 22.06.2019 19:00
Which parts of a presentation should be the most general? a. introduction and conclusion b. introduction and outline c. outline and conclusion d. outline and body
Answers: 1
question
Computers and Technology, 23.06.2019 04:10
2pointswho was mikhail gorbachev? oa. a russian leader who opposed a coupob. a polish leader who founded the labor union "solidarityoc. a soviet leader who called for a closer relationship with the unitedstates, economic reform, and a more open societyd. a soviet leader who called for more oppression in the soviet union
Answers: 3
question
Computers and Technology, 23.06.2019 13:30
Font size, font style, and are all aspects of character formatting.
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
question
English, 08.01.2021 20:00
question
Mathematics, 08.01.2021 20:00
question
Mathematics, 08.01.2021 20:00
question
Business, 08.01.2021 20:00
Questions on the website: 13722367