0% found this document useful (0 votes)
19 views

Department of Education: Republic of The Philippines

Performance Task in Computer Programming (Oracle Database) NC-III for Grade 11

Uploaded by

razee_
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views

Department of Education: Republic of The Philippines

Performance Task in Computer Programming (Oracle Database) NC-III for Grade 11

Uploaded by

razee_
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Republic of the Philippines

Department of Education
REGION I
SCHOOLS DIVISION OF CANDON CITY
Candon City, Ilocos Sur

PERFORMANCE TASK 4
Computer Programming (Oracle Database) 11

Name:
Grade & Section: Date: Score:

Goal Your goal is to write queries for the sales and inventory system being developed by your company.
Role You are a database programmer.
Audience Your client is the First Provincial Indigenous People Festival organizers.
Situation Candon City will host the First Provincial Indigenous People Festival. The festival organizers hired
your company, Bytes, Inc. to provide the sales and inventory system for all businesses participating
in the festival that will be used for both physical and online stores. As the company’s database
programmer, you are in-charge to write the required SQL statements to be used in querying the
database.
Performance You need to create SQL statements or queries for the sales and inventory system using the products
table. A copy of the table is shown below.
Standards Each query will be evaluated as follows:

Points Description
5 The SQL statement is correct and complete. There are no syntax errors. Naming
convention is followed in all clauses. Query structure follows guidelines.
4 The SQL statement is mostly correct. The script executes without any syntax errors
but has 1 or 2 missing components Naming convention is followed in most of the
clauses. Query structure follows guidelines.
3 The SQL statement has 1 or 2 syntax errors but contains most of the required
components. Naming convention is followed in some clauses. Query structure needs
work.
2 The SQL statement is incorrect. Naming convention is not followed in all clauses.
Queries are in long lines, new lines aren't used properly (e.g., SELECT queries are not
broken by SELECT, FROM, WHERE etc.)
1 The SQL statement does not execute, or student has no answer.

Products
PRODUCT PRODUCT_NAME RETAIL_PRICE MIN_PRICE STORE
ID
101 Tapey_SM 150.99 145.99 Palacapac Wines
102 Tapey_LG 250.49 200.99 Palacapac Wines
203 Itneg Sleeveless Top – Cream, 1499.95 1450.99 Abra Weavers
S
205 Itneg Sleeveless Top – Cream, 1349.99 1300 Abra Weavers
S
301 Brewed Coffee (Arabica) 250g 345 300 Sigay Coffee
Growers

Below are the descriptions of each report.


1. Show the product name and the retail price without any centavo values. Do not round off. Name the second
column Price.

2. Display all columns of all products. Round off the minimum price to a whole number.
3. Display the product name and store of all products which has a remainder of 5 and above after dividing the retail
price to 12.

You might also like