100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
INF3707 Assignment 3 (COMPLETE ANSWERS) 2024 (620712) - DUE 2 August 2024 ; 100% TRUSTED Complete, trusted solutions and explanations. Ensure your success with us... R46,57   Add to cart

Exam (elaborations)

INF3707 Assignment 3 (COMPLETE ANSWERS) 2024 (620712) - DUE 2 August 2024 ; 100% TRUSTED Complete, trusted solutions and explanations. Ensure your success with us...

 13 views  0 purchase

INF3707 Assignment 3 (COMPLETE ANSWERS) 2024 (620712) - DUE 2 August 2024 ; 100% TRUSTED Complete, trusted solutions and explanations. Ensure your success with us...

Preview 3 out of 17  pages

  • August 3, 2024
  • 17
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
book image

Book Title:

Author(s):

  • Edition:
  • ISBN:
  • Edition:
All documents for this subject (6)
avatar-seller
tabithamwendwa73
[TYPE THE COMPANY NAME]




INF3707
Assignment 3
(COMPLETE
ANSWERS)
2024

, (620712) -
DUE 2 August
2024
[Type the document subtitle]
tabbymwesh59@gmail.com
[Pick the date]




[Type the abstract of the document here. The abstract is typically a short summary of the contents of
the document. Type the abstract of the document here. The abstract is typically a short summary of
the contents of the document.]

, Institution

 University Of South Africa (Unisa)
 Book
 Database Design and Implementation

INF3707 Assignment 3 (COMPLETE ANSWERS) 2024 (620712) - DUE 2
August 2024 ; 100% TRUSTED Complete, trusted solutions and explanations.
Ensure your success with us...

Question 1: Chapter 6 To perform the following assignments, refer to the
tables in the JustLee books database. 1.1 Create a sequence for populating
the Custeomer# column of the CUSTOMERS table. When setting the start
and the increment values, beer in mind that data already exist in the table.
Hence, you need to know the last customer number stored in the database.
The options should be set not to cycle the values and not to cache any values.
No minimum or maximum values should be declared. (2 marks) 1.2 Add a
new customer row by using the sequence created in Question 1.1. the only
data currently available for the customer is as follows: last name = Shoulders,
first_name = Frank, and zip = 23567. (3 marks)



1.1 Creating a Sequence for the CUSTOMER# Column

To create a sequence for populating the CUSTOMER# column of the CUSTOMERS table, we need to
determine the last customer number stored in the database and set the starting value of the
sequence accordingly. Here are the steps to achieve this:

1. Determine the Last Customer Number:

sql
Copy code
SELECT MAX(CUSTOMER#) FROM CUSTOMERS;

This query will return the highest value in the CUSTOMER# column, which we'll use to set
the starting value for our sequence.

2. Create the Sequence:

Suppose the highest customer number obtained from the previous query is 1000, we will
create a sequence starting from 1001:

sql
Copy code

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through EFT, credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying this summary from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller tabithamwendwa73. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy this summary for R46,57. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

73918 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy summaries for 14 years now

Start selling
R46,57
  • (0)
  Buy now