100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

Test: Final Exam - Database Programming with SQL

Rating
-
Sold
-
Pages
43
Grade
A+
Uploaded on
15-09-2023
Written in
2023/2024

Test: Final Exam - Database Programming with SQL Review your answers, feedback, and question scores below. An asterisk (*) indicates a correct answer. Section 8 Lesson 1 1. You are creating the EMPLOYEES table. This table should contain the COMMISSION_PCT column and use a value of 10 percent if no commission value is provided when a record is inserted. Which line should you include in the CREATE TABLE statement to accomplish this task? Mark for Review (1) Points commission_pct NUMBER(4,2) DEFAULT 0.10 (*) commission_pct NUMBER(4,2) DEFAULT = 0.10 commission_pct NUMBER(4,2) DEFAULT (0.10) commission_pct NUMBER(4,2) (DEFAULT, 0.10) Correct 2. Evaluate this CREATE TABLE statement: 1. CREATE TABLE customer#1 ( 2. cust_1 NUMBER(9), 3. sales$ NUMBER(9), 4. 2date DATE DEFAULT SYSDATE); Which line of this statement will cause an error? Mark for Review (1) Points 1 2 3 4 (*) Incorrect. Refer to Section 8 3. Which of the following SQL statements will create a table called Birthdays with three columns for storing employee number, name and birthdate? Mark for Review (1) Points CREATE table BIRTHDAYS (EMPNO, EMPNAME, BIRTHDATE); CREATE table BIRTHDAYS (employee number, name, date of birth); CREATE TABLE Birthdays (Empno NUMBER, Empname CHAR(20), Birthdate DATE); (*) CREATE TABLE Birthdays (Empno NUMBER, Empname CHAR(20), Date of Birth DATE); Correct 4. Which column name is valid? Mark for Review (1) Points 1NUMBER NUMBER NUMBER_1$ (*) 1_NUMBER# Correct 5. Evaluate this CREATE TABLE statement: CREATE TABLE line_item ( line_item_id NUMBER(9), order_id NUMBER(9), product_id NUMBER(9)); You are a member of the SYSDBA role, but are not logged in as SYSDBA. You issue this CREATE TABLE statement. Which statement is true? CONTINUES...

Show more Read less
Institution
Database Programming With SQL
Course
Database Programming with SQL











Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Database Programming with SQL
Course
Database Programming with SQL

Document information

Uploaded on
September 15, 2023
Number of pages
43
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Accurate Chamberlain College Of Nursing
View profile
Follow You need to be logged in order to follow users or courses
Sold
463
Member since
3 year
Number of followers
267
Documents
10541
Last sold
2 days ago
Accurate Solutions

Discover high-quality study materials crafted for students across various subjects, including Nursing, Mathematics, Psychology, and Biology. Our resources feature comprehensive guides, updated exam solutions, and reliable notes designed to enhance your learning experience. Achieve your academic goals with materials that inspire confidence. #Don't Forget To Leave A Great Review!

4.1

67 reviews

5
38
4
12
3
8
2
2
1
7

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions