Partitioning Tables and Indexing Them --- ArticleHemant K Chitale
This is the Article (White Paper) that accompanied my Presentation "Partitioning Tables and Indexing Them" (which, too, is on slideshare) for AIOUG Sangam 11
Partitioning Tables and Indexing Them --- ArticleHemant K Chitale
This is the Article (White Paper) that accompanied my Presentation "Partitioning Tables and Indexing Them" (which, too, is on slideshare) for AIOUG Sangam 11
a) More SQL: Aggregates - Write queries in SQL using aggregates, grouping and ordering.
b) Nested sub queries and SQL updates: Write queries in SQL using concept of nested sub
queries and SQL update commands.
After completing this lesson, you should be able to do the following:
Describe the main database objects
Create tables
Describe the datatypes that can be used when specifying column definition
Alter table definitions
Drop, rename, and truncate tables
After completing this lesson, you should be able
to do the following:
Describe a view
Create, alter the definition of, and drop a view
Retrieve data through a view
Insert, update, and delete data througha view
Create and use an inline view
Perform “Top-N” analysis
http://phpexecutor.com
After completing this lesson, you should be able to do the following:
Describe a view
Create a view
Retrieve data through a view
Alter the definition of a view
Insert, update, and delete data through a view
Drop a view
After completing this lesson, you should be able to do the following:
Describe some database objects and their uses
Create, maintain, and use sequences
Create and maintain indexes
Create private and public synonyms
Single-Row Functions in orcale Data baseSalman Memon
After completing this lesson, you should be able to
do the following:
Describe various types of functions availablein SQL
Use character, number, and date functions in SELECT statements
Describe the use of conversion functions
http://phpexecutor.com
Page 8 of 8Delete this text and type your name here This fil.docxalfred4lewis58146
Page 8 of 8
Delete this text and type your name here
This file will become rather large due to your screen shots. Pleasecompress this file (zip) before submitting it.
Lab 3: 40Total Points Possible
You will need to log into Apex at https://iacademy.oracle.com in order to complete this assignment.
Sections 1-2 Programming with SQL
Section 1 Objectives:Using Character, Number and Date Functions
Create and execute single-row functions that perform case conversion and/or character manipulationCreate and execute single-row number functions ROUND and TRUNCCreate and execute single-row functions ADD_MONTHS and NEXT_DAY that operate on date data
Vocabulary:
Directions: Identify the vocabulary word(s) for each definition below. (1 Point each)
1. Dummy table used to view results from functions and calculations.
Answer:
2. Replaces a sequence of characters in a string with another set of characters.
Answer:
Try it/Solve it:
Log into Apex and execute the following from the SQL Workshop:
1. Using the words "Longview" and "College", use the CONCAT command to produce the following output. Use a column alias for "The Best School".
Provide the select statement you used: (2Points)
Your Answer below:
Using your print screen option (PrntScr button across top of keyboard), provide a screen shot of your results below.It is necessary that I see your 'entire' screen. Your workspace/username MUST appear in the results to earn credit.(1 Point)
Your Screenshot below:
2. Display the order date and the order total from the Global Fast Foods F_ORDERS table. Name the order total as TOTAL (using column alias) and fill in the empty spaces to the left of the order total with $ (using the LPAD character manipulation function). The F_ORDERS table data is located in the Oracle Student Tables spreadsheet located under the Video and Resources button in Blackboard. Results will appear as shown below:
Provide the select statement you used: (2 Points)
Your Answer below:
Using your print screen option (PrntScr button across top of keyboard), provide a screen shot of your results below.It is necessary that I see your 'entire' screen. Your workspace/username MUST appear in the results to earn credit.(1 Point)
Your Screenshot below:
3. Display the last name and birth date of staff members from the Global Fast Foods F_STAFFS table. Use character case-manipulation function UPPER so the last name displays in uppercase. Use a column alias so the last name displays as 'User Name'. Use a column alias so the birth date displays as 'Birthday'. Results should appear as shown below:
Provide the select statement you used: (2 Points)
Your Answer below:
Using your print screen option (PrntScr button across top of keyboard), provide a screen shot of your results below.It is necessary that I see 'entire' screen. Your workspace/username MUST appear in the results to earn credit.(1 Point)
Your Screenshot below:
Number Functions
Vocabulary:
Direct.
Page 3 of 11Delete this text and type your name here This .docxalfred4lewis58146
Page 3 of 11
Delete this text and type your name here
This file will become rather large due to your screen shots. I encourage you to compress this file (zip) before submitting it.
Lab 4: 40 Total Points Possible
You will need to log into Apex at https://iacademy.oracle.comin order to complete this assignment.
Sections 3-4 Programming with SQL
Section 3 Objectives: Executing Database Joins
Create and execute database joinsUse table aliases in SQL statements
Vocabulary:
Directions: Identify the vocabulary word for each definition below. (1 Point each)
1. A join that returns the unmatched rows as well as matched rows.
Answer:
2. Performs a join on two tables, retrieves all the rows in the left table even if there is no match in the right table.
Answer:
3. A join of two or more tables that return only matched rows.
Answer:
Try It / Solve It:
In order to be successful with this lab, you must review the ‘Oracle Student Tables’ file located under ‘Videos and Resources’ (multiple tabs across bottom of worksheet). This file will help you to understand the data that is being manipulated in the SQL statements.
I amproviding a ‘copy’ (first 20 rows) of the ‘Results from Apex’ for each question.Hopefully, this will help you see if you are on track with your results. At the top of your SQL window, you MUST increase the number of rows displayed to 20 so that I am able to see the first 20 rows of your results.You will need to provide the SQL statement you used to produce your results.
DBMS Output
11141129549203
11143605700225
1. Create a query using a LEFT OUTER JOIN that will display the first name, last name, and department name for all employees including those employees not assigned to a department. You will be using the Employees and Departments tables. Use a table alias in your SQL statement. Execute the query in Oracle Application Express (Apex). (2 Points)
Select Statement You Used:
My example of correct results from Apex (copy):
Using your print screen option (PrntScr button across top of keyboard), provide a screen shot of your results below. It is necessary that I see your 'entire' screen. Your workspace/username MUST appear in the results to earn credit. (1 Point)
Your Screenshot below:
DBMS Output
2. Create a query using a RIGHT OUTER JOIN that will display the first name, last name, and department id for all employees including those departments that do not have an employee assigned to them. You will be gathering data from the Employees and Departments tables. Use a table alias in your SQL statement. Execute the query in Oracle Application Express (Apex). (2 Points)
Select StatementYou Used:
My example of correct results from Apex (copy):
DBMS Output
DBMS Output
DBMS Output
Using your print screen option (PrntScr button across top of keyboard), provide a screen shot of your results below. It is necessary that I see your 'entire' screen. Your workspace/username MUST appear in the results to ear.
a) More SQL: Aggregates - Write queries in SQL using aggregates, grouping and ordering.
b) Nested sub queries and SQL updates: Write queries in SQL using concept of nested sub
queries and SQL update commands.
After completing this lesson, you should be able to do the following:
Describe the main database objects
Create tables
Describe the datatypes that can be used when specifying column definition
Alter table definitions
Drop, rename, and truncate tables
After completing this lesson, you should be able
to do the following:
Describe a view
Create, alter the definition of, and drop a view
Retrieve data through a view
Insert, update, and delete data througha view
Create and use an inline view
Perform “Top-N” analysis
http://phpexecutor.com
After completing this lesson, you should be able to do the following:
Describe a view
Create a view
Retrieve data through a view
Alter the definition of a view
Insert, update, and delete data through a view
Drop a view
After completing this lesson, you should be able to do the following:
Describe some database objects and their uses
Create, maintain, and use sequences
Create and maintain indexes
Create private and public synonyms
Single-Row Functions in orcale Data baseSalman Memon
After completing this lesson, you should be able to
do the following:
Describe various types of functions availablein SQL
Use character, number, and date functions in SELECT statements
Describe the use of conversion functions
http://phpexecutor.com
Page 8 of 8Delete this text and type your name here This fil.docxalfred4lewis58146
Page 8 of 8
Delete this text and type your name here
This file will become rather large due to your screen shots. Pleasecompress this file (zip) before submitting it.
Lab 3: 40Total Points Possible
You will need to log into Apex at https://iacademy.oracle.com in order to complete this assignment.
Sections 1-2 Programming with SQL
Section 1 Objectives:Using Character, Number and Date Functions
Create and execute single-row functions that perform case conversion and/or character manipulationCreate and execute single-row number functions ROUND and TRUNCCreate and execute single-row functions ADD_MONTHS and NEXT_DAY that operate on date data
Vocabulary:
Directions: Identify the vocabulary word(s) for each definition below. (1 Point each)
1. Dummy table used to view results from functions and calculations.
Answer:
2. Replaces a sequence of characters in a string with another set of characters.
Answer:
Try it/Solve it:
Log into Apex and execute the following from the SQL Workshop:
1. Using the words "Longview" and "College", use the CONCAT command to produce the following output. Use a column alias for "The Best School".
Provide the select statement you used: (2Points)
Your Answer below:
Using your print screen option (PrntScr button across top of keyboard), provide a screen shot of your results below.It is necessary that I see your 'entire' screen. Your workspace/username MUST appear in the results to earn credit.(1 Point)
Your Screenshot below:
2. Display the order date and the order total from the Global Fast Foods F_ORDERS table. Name the order total as TOTAL (using column alias) and fill in the empty spaces to the left of the order total with $ (using the LPAD character manipulation function). The F_ORDERS table data is located in the Oracle Student Tables spreadsheet located under the Video and Resources button in Blackboard. Results will appear as shown below:
Provide the select statement you used: (2 Points)
Your Answer below:
Using your print screen option (PrntScr button across top of keyboard), provide a screen shot of your results below.It is necessary that I see your 'entire' screen. Your workspace/username MUST appear in the results to earn credit.(1 Point)
Your Screenshot below:
3. Display the last name and birth date of staff members from the Global Fast Foods F_STAFFS table. Use character case-manipulation function UPPER so the last name displays in uppercase. Use a column alias so the last name displays as 'User Name'. Use a column alias so the birth date displays as 'Birthday'. Results should appear as shown below:
Provide the select statement you used: (2 Points)
Your Answer below:
Using your print screen option (PrntScr button across top of keyboard), provide a screen shot of your results below.It is necessary that I see 'entire' screen. Your workspace/username MUST appear in the results to earn credit.(1 Point)
Your Screenshot below:
Number Functions
Vocabulary:
Direct.
Page 3 of 11Delete this text and type your name here This .docxalfred4lewis58146
Page 3 of 11
Delete this text and type your name here
This file will become rather large due to your screen shots. I encourage you to compress this file (zip) before submitting it.
Lab 4: 40 Total Points Possible
You will need to log into Apex at https://iacademy.oracle.comin order to complete this assignment.
Sections 3-4 Programming with SQL
Section 3 Objectives: Executing Database Joins
Create and execute database joinsUse table aliases in SQL statements
Vocabulary:
Directions: Identify the vocabulary word for each definition below. (1 Point each)
1. A join that returns the unmatched rows as well as matched rows.
Answer:
2. Performs a join on two tables, retrieves all the rows in the left table even if there is no match in the right table.
Answer:
3. A join of two or more tables that return only matched rows.
Answer:
Try It / Solve It:
In order to be successful with this lab, you must review the ‘Oracle Student Tables’ file located under ‘Videos and Resources’ (multiple tabs across bottom of worksheet). This file will help you to understand the data that is being manipulated in the SQL statements.
I amproviding a ‘copy’ (first 20 rows) of the ‘Results from Apex’ for each question.Hopefully, this will help you see if you are on track with your results. At the top of your SQL window, you MUST increase the number of rows displayed to 20 so that I am able to see the first 20 rows of your results.You will need to provide the SQL statement you used to produce your results.
DBMS Output
11141129549203
11143605700225
1. Create a query using a LEFT OUTER JOIN that will display the first name, last name, and department name for all employees including those employees not assigned to a department. You will be using the Employees and Departments tables. Use a table alias in your SQL statement. Execute the query in Oracle Application Express (Apex). (2 Points)
Select Statement You Used:
My example of correct results from Apex (copy):
Using your print screen option (PrntScr button across top of keyboard), provide a screen shot of your results below. It is necessary that I see your 'entire' screen. Your workspace/username MUST appear in the results to earn credit. (1 Point)
Your Screenshot below:
DBMS Output
2. Create a query using a RIGHT OUTER JOIN that will display the first name, last name, and department id for all employees including those departments that do not have an employee assigned to them. You will be gathering data from the Employees and Departments tables. Use a table alias in your SQL statement. Execute the query in Oracle Application Express (Apex). (2 Points)
Select StatementYou Used:
My example of correct results from Apex (copy):
DBMS Output
DBMS Output
DBMS Output
Using your print screen option (PrntScr button across top of keyboard), provide a screen shot of your results below. It is necessary that I see your 'entire' screen. Your workspace/username MUST appear in the results to ear.
Page 5 of 7Delete this text and type your name hereThis fi.docxalfred4lewis58146
Page 5 of 7
Delete this text and type your name here
This file will become rather large due to your screen shots. I encourage you to compress this file (zip) before submitting it.
Lab 6: 40 Total Points Possible
You will need to log into Apex at https://iacademy.oracle.com" https://iacademy.oracle.com in order to complete this assignment.
Sections 7-8--Programming with SQL
Section 7-8 Objectives: Working with DML and DDL Statements
Creating and Modifying TablesUsing Data Types
Vocabulary:
Directions: Identify the vocabulary word(s) for each definition below. (1 Point each)
1. Command used to make a new table.
Answer:
2. A collection of objects that are the logical structures that directly refer to the data in the database. Answer:
3. Specifies a preset value if a value is omitted in the INSERT statement.
Answer:
4. Stores data; basic unit of storage composed of rows and columns.
Answer:
5. Created and maintained by the Oracle Server and contains information about the database.
Answer:
Try It / Solve It:
Log into Apex. Execute the following CREATE TABLE SQL statement:
CREATE TABLE grad_candidates
(student_id NUMBER(6),
last_name VARCHAR2(15),
first_name VARCHAR2(15),
credits NUMBER (3),
graduation_date DATE);
After executing the above SQL statement, you should receive a ‘Table Created ‘message.
1. Create an SQL statement that will describe the structure of the table object called grad_candidates. Provide a screen shot of your table properties as shown below. (2 Points):
Select Statement You Used:
My example of table structure results from Apex (copy): YOU MUST DELETE MY SCREEN SHOT BELOW AND INSERT YOUR OWN. YOUR SCREEN SHOW MUST SHOW YOUR WORSPACE IN ORDER TO RECEIVE CREDIT. (1 Point)
2. Create a new table using a subquery. Name the new table your last name – e.g., herbert_table. Using a subquery, copy grad_candidates into herbert_table. Provide a screen shot of the table structure. (2 Points)
Select Statement You Used:
My example of table structure results from Apex (copy): YOU MUST DELETE MY SCREEN SHOT BELOW AND INSERT YOUR OWN. YOUR SCREEN SHOW MUST SHOW YOUR WORSPACE IN ORDER TO RECEIVE CREDIT. (1 Point)
3. Insert your personal information into the HERBERT_TABLE (or whatever name you gave it). Hint: DATE and VARCHAR2 data type values need to have an apostrophe surrounding each value ('). (2 Points)
Select Statement You Used:
My example of table content results from Apex (copy): YOU MUST DELETE MY SCREEN SHOT BELOW AND INSERT YOUR OWN. (1 Point)
3. Create an SQL statement using the ALTER TABLE command. Alter the HERBERT_TABLE (or whatever name you gave it) and insert a new column called e_mail_address with a VARCHAR2 data type that will hold 80 characters. (2 Points)
Select Statement You Used:
4. Create an SQL statement that will describe the structure of the table object you just inserted the e_mail_address column into. Provide a screen shot of the table structure. (2 Point)
Select Statement You Used:
My ex.
ECET 450 Laboratory 2Lab 2 involves two parts.Part A involv.docxjenkinsmandie
ECET 450: Laboratory 2
Lab 2 involves two parts.
Part A
involves normalizing a small part of a DB. The steps to complete this exercise include getting the data items into 1NF, 2NF, and 3NF. The final step is to generate the ERD for the table or tables that are in the dependency diagram in 3NF.
Part B
provides practice in the creation of realistic tables and their relationships using Oracle SQL*Plus and introduces writing SQL*Plus script files. This laboratory exercise creates a relatively simple invoice system using SQL statements. This DB schema is used throughout the next several weeks of laboratory exercises. The final product is an SQL script that makes it possible to initially create and re-create, if need be, the DB schema in order to do to the later laboratory exercises.
Part A:
Purpose:
This exercise involves normalizing a small part of a DB. The steps to complete this exercise include getting the data items into 1NF, 2NF, and 3NF. The final step is to generate the ERD for the table or tables that are in the dependency diagram in 3NF.
Discussion:
Some small business wants to keep track of office furniture, computers, printers, etc. A sample of the ITEM records is shown below:
ATTRIBUTE NAME
SAMPLE VALUE
SAMPLE VALUE
SAMPLE VALUE
ITEM_ID
D1342245
D1453356
D1365779
ITEM_DESCRIPTION
IQ Deskjet 683P
IQ Toner
DT Photocopier
ROOM_NUMBER
227
227
342
BLDG_CODE
SC
SC
ET
BLDG_NAME
Science
Science
Electronics Technology
BLDG_MANAGER
A. B. Jones
A. B. Jones
R. S. Smith
Draw the dependency diagram using the data in the table. Make sure to label the transitive and partial dependencies.
Using the dependency diagram developed in step 1, create a set of dependency diagrams that meet 3
rd
Normal Form requirements. Rename attributes to meet the naming conventions. Create new entities and attributes as necessary.
Draw the crow’s foot ERD with the VISIO drawing tool using the results of step 2.
Part B:
Purpose:
This laboratory provides practice in the creation of realistic tables and their relationships using Oracle SQL*Plus and introduces writing SQL*Plus script files. This laboratory exercise creates a relatively simple invoice system using SQL statements. This DB schema is used throughout the next several weeks of laboratory exercises. The final product is an SQL script that makes it possible to initially create and re-create, if need be, the DB schema in order to do to the later laboratory exercises.
Procedure:
Using your assigned user name, password, and host string, log in to Oracle SQL*Plus. Record your dialog with a spool file.
Following the four requirements below, create the 5 tables shown later in this laboratory exercise, and enter all data as shown. Be sure to record your interactions with SQL*Plus using the spool command.
Use table names, attribute names, and data exactly as shown. The one exception is that you will omit the dollar sign and comma separators in the money amounts. Accurately enter the data as you will .
ECET 450: Laboratory 2
Part B:
Purpose:
This laboratory provides practice in the creation of realistic tables and their relationships using Oracle SQL*Plus and introduces writing SQL*Plus script files. This laboratory exercise creates a relatively simple invoice system using SQL statements. This DB schema is used throughout the next several weeks of laboratory exercises. The final product is an SQL script that makes it possible to initially create and re-create, if need be, the DB schema in order to do to the later laboratory exercises.
Procedure:
Using your assigned user name, password, and host string, log in to Oracle SQL*Plus. Record your dialog with a spool file.
Following the four requirements below, create the 5 tables shown later in this laboratory exercise, and enter all data as shown. Be sure to record your interactions with SQL*Plus using the spool command.
1. Use table names, attribute names, and data exactly as shown. The one exception is that you will omit the dollar sign and comma separators in the money amounts. Accurately enter the data as you will need these tables in future laboratory assignments.
2. Save all of your commands in a single script file for printing and submission. This file should each contain a minimum of your name and the date in comments at the beginning of the file, and any other comments you feel add to the understanding of the script file. Copy and edit your spool file to create the load_tablesXXX.sql file where XXX are your initials. The only items that should be in this load_tablesXXX.sql file are your comments and the SQL statements that drop tables, create tables, insert data values, and display table. Be sure to remove all incorrect commands and the Oracle responses to the correct commands from the file. Save this file for the future in case you have to rebuild these tables. Be sure to include a printout of this file in your report.
3. The second submission requirement is a printout of each of the 5 tables completely loaded with the specified data. Use the SET LINESIZE command to avoid line wrap around of your table data. Print your list file in landscape mode.
4. All primary key and foreign key constraints should be named according to the method presented in the classroom. If you have any questions about which attributes are primary and/or foreign keys, please ask about them.
5. The ultimate test is the execution of this SQL script file in the following form: @ <path_name>/load_tablesXXX.sql
<First Page of tables>
REP Table
REP_ID
REP_LNAME
REP_FNAME
REP_STREET
REP_CITY
REP_STATE
REP_ZIP
REP_COMM
REP_RATE
223
Roma
Theresa
735 First
Leonard
GA
25742
$21,756.50
0.06
237
Miller
Fred
643 High
Sheldon
GA
25753
$38,612.00
0.08
268
Rodriguez
Miguel
2737 Tyler
Springfield
GA
25758
$19,774.00
0.06
CUSTOMER Table
CUST_ID
CUST_NAME
CUST_STREET
CUST_CITY
CUST_STATE
CUST_ZIP
CUST_BALANCE
CUST_LIMIT
REP_ID
1159
Charles Appliance and Sport
3948 Brown
Leonard
GA
257 ...
DashboardUMUC DATA 620Assignment 3.1Your NameProfessorDateProbl.docxsimonithomas47935
DashboardUMUC DATA 620Assignment 3.1Your Name:Professor:Date:ProblemYour ScorePoints AvailableSubmission notes1025Paste a screenshot of your ERD in this document; also attach the .erd file to submission in LEO2010SQL goes in the SQL template; screenshots go in this Excel file305SQL goes in the SQL template; screenshots go in this Excel file405SQL goes in the SQL template; screenshots go in this Excel file5010SQL goes in the SQL template; screenshots go in this Excel file6015SQL goes in the SQL template; screenshots go in this Excel file705SQL goes in the SQL template; screenshots go in this Excel file8025SQL goes in the SQL template; screenshots go in this Excel file9025SQL goes in the SQL template; screenshots go in this Excel file10075Memo goes directly in this Excel fileTOTAL0200Percentage0%
ReadmeThis Assignment in where you prove your skills in data management and SQL. It is worth a substantial portion of your grade, so you are encouraged to work accordingly.Make sure you put your name in cell C4 on the Dashboard. This way we can ensure you get credit for your good work.There is an SQL template in the following worksheet. Use it as your base for SQL submissions.There is the airlines sql script attached to this document. Use the Setup tab to get the script running properly.For the problems which require SQL code, 1. Put your SQL code in the proper place in the SQL template 2. Paste screen shot(s) of execution in this document. Make sure your results are easily visible.When you have completed your assignment, you will submit 1. The SQL template, containing your SQL code 2. This spreadsheet, which will include screen shots 3. Any additional attachments, such as the .erd file from Problem 1, which you deem usefulYou are encouraged to review the SQL rubric for how to write good SQL code from Week 1.Background/Set up: You will need to log into the VDA and run the script on the "Setup" tab to create your "airlines" database. It should have tables in it for aircraft, airports, and other entities. Once you have created and activated the database, complete the problems on the following sheets.Make sure you complete the problems in order, so if a record is added in an earlier problem, it remains added throughout your work.
SQL templateThis is the template for your SQL submission. Use this as your base. Construct a separate .sql file (using Notepad or another tool),and submit the .sql file as a separate attachment. You are encouraged to copy and paste this directly.# DATA 620 Assignment 3.1 # Written by <Your name here># Semester <Your semester here># Professor <Your professor's name here>## When you submit this, rename it to "XXX-Assignment 3.1.sql"# where XXX is your initials or your name# # You will submit the SQL for all the programming problems in this single file## Problem 1 does not require SQL#USE airlines;# Problem 2# < Your SQL for problem 2 goes here ># Problem 3# < Your SQL for problem 3 goes here >… etc …
SetupHere a.
Hw8Excel - Exercise 8 Mail Merge-2.docINFS 3250In Class Pro.docxadampcarr67227
Hw8/Excel - Exercise 8 Mail Merge-2.doc
INFS 3250
In Class Project – Exercise 8
Mail MergeName: ____________________________
Points: ______ / 15
Due: See Blackboard Date
(1.5 pts deduction for each class period late)
This assignment asks you to demonstrate your ability to create and work with a Word mail merge.
1. (3 pts.)Create a word document and write a generic letter that you could send to a list of friends and family updating them on how your semester is going, your plans for a semester in which you will study abroad and a request for money to support you in this worthwhile effort. Be creative – have fun with this!
2. (3 pts.)Create a new Excel Workbook and enter a list of friends and family names and addresses that you will send your letter to. Be sure to use column headings and enter at least 10 people into your data lists. Possible column headings include: first name, last name, relationship, address, city, state, zip, amount of money that you are asking for, whether you are asking for a loan or a gift, and some shared memory that you want to use to remind them of how much they love you.
3. (3 pts.)Turn your created Word document into a mail merge document by connecting the Word doc to the Excel file and inserting the fields from your Excel worksheet.
4. (3 pts.)Merge your Word document to your Excel data to a new document.
5. (1 pts.)Print one letter from your merged documents.
6. (1 pts.)Print the Mail Merge document – without a preview – so that your merge fields are visible.
7. (1 pts.)Print your Excel data.
Save your Excel file, your merge file and your merged letters and upload the (3) files to the Blackboard site. Attach your printed reports to this document. Write your name on the top of this form and turn it in as a vehicle to communicate your graded project.
Formatting Numeric Data:
Numeric Data loses any formatting when merged from an Excel or Access data source. You can force the formatting by entering a format mask on a merged field.
After setting up your merge fields – select the numeric field that you want to format, press and hold the ALT key and press the F9 key at the same time. This displays the actual code that Word uses to insert the data. It will look something like:
{MERGEFIELD GPA} (Where GPA is the name of a column of Excel Data to insert.)
If you wanted to force the GPA data to display with a single decimal of precision – you would change it to look like: {MERGEFIELD "GPA"\# 0.0# } Press the ALT key and F9 – to return the display to only the field names.
Hw8/My name is Bader Alsallum.docx
First Name
Last Name
Address
City
Country or state
Amount of money
Mohammed
Algannam
Alsloom st
Riyadh
Saudi Arabia
$9,000
Faraj
Alsahali
King Fahad
Riyadh
Saudi Arabia
$7,000
Ahmad
Albelihed
Secor Rd
Toledo
Ohio
$5,000
Fahad
Albelihed
Raleigh Dr
Toledo
Ohio
$4,000
Raed
Alsanad
Dorr St
Toledo
Ohio
$2,000
Abduallh
Alhazzani
Secor Rd
Toledo
Ohio
$1,000
Mohammed
Alsa.
Here is a mock assessment test for the 1Z0-146 certification exam which can be your final warm up game before you appear for the real exam. Questions follow similar pattern but also test your basic understanding on a concept. For answer key – comment on the post with your email id and I shall send across to you the same.
I hope the readers of my book will find the mock paper quite handy while the rest of you will discover the areas to dive in further.
Assignment # 2PreliminariesImportant Points· Evidence of acad.docxjane3dyson92312
Assignment # 2Preliminaries
Important Points
· Evidence of academic misconduct (e.g., plagiarism, collaboration/collusion among students) will be taken seriously and University regulations strictly followed.
· You are expected to produce a word-processed answer to this assignment. Please use Arial font and a font size of 12. For SQL code and output, you can use courier new, which preserves SQL format and layout.
· You are required to use the Harvard Style of referencing and citation. The “Cite them right” guide is recommended for referencing and citation (Pears and Shields, 2008) which should be followed throughout your answer especially Part 3.
· Late submissions will be given zero marks unless prior permission is gained from the school office/programme leader.
Module Learning Outcomes (MLOs) assessed:
Knowledge & Understanding:
2. Key concepts of data warehousing.
Intellectual / Professional skills & abilities:
3. Conceptual data modelling, relational database design and implementation in SQL & PL/SQL, and object-based databases.
4. Design and Implementation of a data warehouse using Oracle database system.
Tasks of the Assignment
Part 1 (50 marks) Scenario: Mechanical Production Factories (MPF) Database System
MPF is a company that produces customised mechanical products within Europe. The company produces a rang of mechanical products at several factories. Information about which work force are assigned to which production orders and kept in the force usage register.
In order to access information quickly and to ensure that all past records are available for audit purposes, the company developed a database. Figure 1 shows a UML class diagram, which provides a conceptual model of the database. Relational Design for MPF Database System
A conceptual model of a database may be implemented using any database system (e.g. relational, object-relational, object-oriented). However, to start with, we have mapped the MPF’s conceptual model onto a relational logical model. Figure 2 details the relations for an implementation of the database using a relational database system. Note that Figure 2 uses shorthand / abbreviated notation for data types / domains for describing various attributes of the relations involved in the database.
Figure 1: UML Class Diagram for the MPF Database
Domains/Data Types: ID = Number(6) LTXT = Varchar(50)
STXT = Varchar(30) DEC = Number(8, 2) INT = Number(6)
Factory (FactoryId: ID, Location: LTXT, Country: LTXT)
Product (ProdId: ID, Description: LTXT, CostPerItem: DEC, LabCostPerItem: DEC)
FactoryProduct (FactoryId: ID *: ID, ProdId*: ID)
Workforce (wfId: ID, wfName: STXT, yearlyIncome: DEC, yearlyTax: DEC, taxCode: INT, factoryId*: ID)
Production (prodOrderId: ID, quantity: INT, itemPrice: DEC,orderDate: Date, promiseDate: Date, completionDate: Date, shipmentDate: Date, status: CHAR, prodID*: ID)
ForceUsage (wfId*:ID, prodOrderId*:I.
Ass2-Descriptor.docx1 Problem DescriptionThe objective of .docxfredharris32
Ass2-Descriptor.docx
1 Problem Description
The objective of this assignment is to:
(1) Enhance your understanding of Relational Database Design & Implementation, and
(2) Understand & practice with PL/SQL in particular database interaction, functions & procedures, check constraints, triggers and packages.
The assignment will consist of four (4) tasks.
Task one will involve the extension of the relational model from assignment 1 and the development of the code for maintaining the consistency of the database.
Task two will involve the development of several functions and procedures which will be encapsulated in a package with a separate specification (header) and a body (implementation).
Task three will involve developing a database trigger.
Task four will involve testing the code developed as part of tasks one to three. You may want to insert a sufficient number of rows into the tables so that you can demonstrate the workings of all the code components.
Methodology
Using your solutions to assignments 1 & 2, create the DDL/SQL script file to create the tables and attributes (dropping them all beforehand of course).
Write the code for Task one in a separate SQL script and test it to check for errors.
Write the package specification and the package body in two separate SQL scripts.
Write the SQL script file to insert the records (at least five records per table) into the relevant tables so that you can test the functions and procedures provided in the package above.
** Refer to the Oracle 11g documentation files when necessary.
Compile all the separate SQL scripts together into a single script (Assignment2.sql).
Place the test results into your report (Assignment2.doc).
The EER diagram for Task One from the Diagnostic Assignment:
Note: conductTest is a relationship among Airplane, Technician, Senior_Technician and Testinfo with attributes: data, score, and hours. And service is a relationship among Flight, Technician, and Senior_ Technician with attribute date and time.
2 Task Specifications
Task 1
You are required to add another attribute called NoofPassengers to each flight to record the number of passengers booked on that flight. You are also required to ensure the consistency requirement that NoofPassengers does not exceed the capacity of the airplane that serves that flight.
Discuss how you could maintain the consistency of the database. This discussion should go in the report. Then revise your DDL script from assignment 1 to add NoofPassengers to the relevant flight table as well as implementing the necessary SQL and/or PL/SQL code to maintain the consistency of the database. Place the revised DDL statements and the code in your SQL script.
Task 2
Write the package body for the following package specification. Place the package specification and the package body in your SQL script. The marks for each procedure are of equal value.
create or replace package assignment2
is
procedure ...
Capstone project task what to do capstonearnitaetsitty
capstone project Task WHAT TO DO/capstone
Click Link Below To Buy:
https://hwaid.com/shop/capstone-project-task-what-to-docapstone/
Contact Us:
hwaidservices@gmail.com
Soci4730 first assignment global social change soci 4730arnitaetsitty
SOCI4730 First-Assignment Global Social Change/SOCI 4730
Click Link Below To Buy:
https://hwaid.com/shop/soci4730-first-assignment-global-social-changesoci-4730/
Contact Us:
hwaidservices@gmail.com
Mgt 500 assignment 2 management at a company mgt500arnitaetsitty
MGT 500 Assignment 2 Management at a Company/MGT500
Click Link Below To Buy:
https://hwaid.com/shop/mgt-500-assignment-2-management-at-a-companymgt500/
Contact Us:
hwaidservices@gmail.com
ACE 427 Homework 1/ACE427
Click Link Below To Buy:
https://hwaid.com/shop/ace-427-homework-1ace427/
Contact Us:
hwaidservices@gmail.com
ACE 427 Homework 1
Spring 2016
Homework 1
The purpose of this homework is to introduce you to one of the most important concepts in
commodity price analysis—the random walk model. To obtain the data for the homework, go to
the farmdoc website and collect the US monthly average price received for hogs from January
1960 – November 2015. A downloadable Excel file with the data can be found at this link:
http://www.farmdoc.illinois.edu/manage/uspricehistory/us_price_history.html. The link for the
price data is at the bottom of the purple area of the tool.
1. Produce a line plot of the entire data series on one page. Do your best to format the chart
in a useful manner.
2. Produce a scatter plot where x is the previous month hog price and y is the current month
hog price. Note you will lose one observation when you construct the series for this plot.
In other words, generate a second price column which is the original data lagged by one
month, e.g. row #1 Feb 60 Jan 60; row #2 Mar 60 Feb 60, and so on. Show the
regression of y on x on the chart along with the equation and R2.
3. Generate the monthly change in hog prices. Simply subtract last month’s price from this
month’s price.
4. Produce a scatter plot where x is the previous change in the monthly hog price and y is
the current change in the monthly hog price. Note you will lose two observations when
you construct the series for this plot. Show the regression of y on x on the chart along
with the equation and R2.
5. Discussion:
a. What does the plot in #2 suggest about the predictability of monthly hog prices?
b. What does the plot in #4 suggest about the predictability of monthly hog prices?
c. How can the two predictability results be reconciled? Do some digging on the
random walk model. One well written paragraph is sufficient.
PSYC 354 Homework 5/PSYC354
Click Link Below To Buy:
https://hwaid.com/shop/psyc-354-homework-5psyc354/
Contact Us:
hwaidservices@gmail.com
PSYC 354 Homework 5
Z-Scores
Questions 1–9
Part I: Concepts
These questions are based on the Nolan and Heinzen reading and end-of-chapter questions.
What are always the mean and standard deviation of the z-distribution? (2 pts)
2) Define the central limit theorem. (1 pt)
3)
Fill in the blanks (1 pt): A z-score is based on a distribution of equally likely events, while a z- statistic is based on a distribution of sample percentage or average.
Part I: Questions 4-8
Module 5 Lesson 21 Exercise File 1
Part II: SPSS Analysis
Open the “Lesson 21 Exercise File 1” document (found in the course’s Assignment Instructions folder) in order to complete these exercises.
Personal budget exercise – ms excel personalarnitaetsitty
Personal Budget Exercise – MS Excel/Personal
Click Link Below To Buy:
https://hwaid.com/shop/personal-budget-exercise-ms-excelpersonal/
Contact Us:
hwaidservices@gmail.com
CIS 339 Complete Class iLabs/CIS339
Click Link Below To Buy:
https://hwaid.com/shop/cis-339-complete-class-ilabscis339/
Contact Us:
hwaidservices@gmail.com
NUR504 All Assignments latest/NUR 504
Click Link Below To Buy:
https://hwaid.com/shop/nur504-assignments-latestnur-504/
Contact Us:
hwaidservices@gmail.com
Wa 6 final report research based report wa6arnitaetsitty
WA 6 Final Report Research-Based Report/WA6
Click Link Below To Buy:
https://hwaid.com/shop/wa-6-final-report-research-based-reportwa6/
Contact Us:
hwaidservices@gmail.com
Personal budget exercise – ms excel personalarnitaetsitty
Personal Budget Exercise – MS Excel/Personal
Click Link Below To Buy:
https://hwaid.com/shop/personal-budget-exercise-ms-excelpersonal/
Contact Us:
hwaidservices@gmail.com
CIS 339 Complete Class iLabs/CIS339
Click Link Below To Buy:
https://hwaid.com/shop/cis-339-complete-class-ilabscis339/
Contact Us:
hwaidservices@gmail.com
Personal Brand Statement:
As an Army veteran dedicated to lifelong learning, I bring a disciplined, strategic mindset to my pursuits. I am constantly expanding my knowledge to innovate and lead effectively. My journey is driven by a commitment to excellence, and to make a meaningful impact in the world.
"𝑩𝑬𝑮𝑼𝑵 𝑾𝑰𝑻𝑯 𝑻𝑱 𝑰𝑺 𝑯𝑨𝑳𝑭 𝑫𝑶𝑵𝑬"
𝐓𝐉 𝐂𝐨𝐦𝐬 (𝐓𝐉 𝐂𝐨𝐦𝐦𝐮𝐧𝐢𝐜𝐚𝐭𝐢𝐨𝐧𝐬) is a professional event agency that includes experts in the event-organizing market in Vietnam, Korea, and ASEAN countries. We provide unlimited types of events from Music concerts, Fan meetings, and Culture festivals to Corporate events, Internal company events, Golf tournaments, MICE events, and Exhibitions.
𝐓𝐉 𝐂𝐨𝐦𝐬 provides unlimited package services including such as Event organizing, Event planning, Event production, Manpower, PR marketing, Design 2D/3D, VIP protocols, Interpreter agency, etc.
Sports events - Golf competitions/billiards competitions/company sports events: dynamic and challenging
⭐ 𝐅𝐞𝐚𝐭𝐮𝐫𝐞𝐝 𝐩𝐫𝐨𝐣𝐞𝐜𝐭𝐬:
➢ 2024 BAEKHYUN [Lonsdaleite] IN HO CHI MINH
➢ SUPER JUNIOR-L.S.S. THE SHOW : Th3ee Guys in HO CHI MINH
➢FreenBecky 1st Fan Meeting in Vietnam
➢CHILDREN ART EXHIBITION 2024: BEYOND BARRIERS
➢ WOW K-Music Festival 2023
➢ Winner [CROSS] Tour in HCM
➢ Super Show 9 in HCM with Super Junior
➢ HCMC - Gyeongsangbuk-do Culture and Tourism Festival
➢ Korean Vietnam Partnership - Fair with LG
➢ Korean President visits Samsung Electronics R&D Center
➢ Vietnam Food Expo with Lotte Wellfood
"𝐄𝐯𝐞𝐫𝐲 𝐞𝐯𝐞𝐧𝐭 𝐢𝐬 𝐚 𝐬𝐭𝐨𝐫𝐲, 𝐚 𝐬𝐩𝐞𝐜𝐢𝐚𝐥 𝐣𝐨𝐮𝐫𝐧𝐞𝐲. 𝐖𝐞 𝐚𝐥𝐰𝐚𝐲𝐬 𝐛𝐞𝐥𝐢𝐞𝐯𝐞 𝐭𝐡𝐚𝐭 𝐬𝐡𝐨𝐫𝐭𝐥𝐲 𝐲𝐨𝐮 𝐰𝐢𝐥𝐥 𝐛𝐞 𝐚 𝐩𝐚𝐫𝐭 𝐨𝐟 𝐨𝐮𝐫 𝐬𝐭𝐨𝐫𝐢𝐞𝐬."
RMD24 | Retail media: hoe zet je dit in als je geen AH of Unilever bent? Heid...BBPMedia1
Grote partijen zijn al een tijdje onderweg met retail media. Ondertussen worden in dit domein ook de kansen zichtbaar voor andere spelers in de markt. Maar met die kansen ontstaan ook vragen: Zelf retail media worden of erop adverteren? In welke fase van de funnel past het en hoe integreer je het in een mediaplan? Wat is nu precies het verschil met marketplaces en Programmatic ads? In dit half uur beslechten we de dilemma's en krijg je antwoorden op wanneer het voor jou tijd is om de volgende stap te zetten.
Improving profitability for small businessBen Wann
In this comprehensive presentation, we will explore strategies and practical tips for enhancing profitability in small businesses. Tailored to meet the unique challenges faced by small enterprises, this session covers various aspects that directly impact the bottom line. Attendees will learn how to optimize operational efficiency, manage expenses, and increase revenue through innovative marketing and customer engagement techniques.
Putting the SPARK into Virtual Training.pptxCynthia Clay
This 60-minute webinar, sponsored by Adobe, was delivered for the Training Mag Network. It explored the five elements of SPARK: Storytelling, Purpose, Action, Relationships, and Kudos. Knowing how to tell a well-structured story is key to building long-term memory. Stating a clear purpose that doesn't take away from the discovery learning process is critical. Ensuring that people move from theory to practical application is imperative. Creating strong social learning is the key to commitment and engagement. Validating and affirming participants' comments is the way to create a positive learning environment.
Attending a job Interview for B1 and B2 Englsih learnersErika906060
It is a sample of an interview for a business english class for pre-intermediate and intermediate english students with emphasis on the speking ability.
Buy Verified PayPal Account | Buy Google 5 Star Reviewsusawebmarket
Buy Verified PayPal Account
Looking to buy verified PayPal accounts? Discover 7 expert tips for safely purchasing a verified PayPal account in 2024. Ensure security and reliability for your transactions.
PayPal Services Features-
🟢 Email Access
🟢 Bank Added
🟢 Card Verified
🟢 Full SSN Provided
🟢 Phone Number Access
🟢 Driving License Copy
🟢 Fasted Delivery
Client Satisfaction is Our First priority. Our services is very appropriate to buy. We assume that the first-rate way to purchase our offerings is to order on the website. If you have any worry in our cooperation usually You can order us on Skype or Telegram.
24/7 Hours Reply/Please Contact
usawebmarketEmail: support@usawebmarket.com
Skype: usawebmarket
Telegram: @usawebmarket
WhatsApp: +1(218) 203-5951
USA WEB MARKET is the Best Verified PayPal, Payoneer, Cash App, Skrill, Neteller, Stripe Account and SEO, SMM Service provider.100%Satisfection granted.100% replacement Granted.
Affordable Stationery Printing Services in Jaipur | Navpack n PrintNavpack & Print
Looking for professional printing services in Jaipur? Navpack n Print offers high-quality and affordable stationery printing for all your business needs. Stand out with custom stationery designs and fast turnaround times. Contact us today for a quote!
Premium MEAN Stack Development Solutions for Modern BusinessesSynapseIndia
Stay ahead of the curve with our premium MEAN Stack Development Solutions. Our expert developers utilize MongoDB, Express.js, AngularJS, and Node.js to create modern and responsive web applications. Trust us for cutting-edge solutions that drive your business growth and success.
Know more: https://www.synapseindia.com/technology/mean-stack-development-company.html
Remote sensing and monitoring are changing the mining industry for the better. These are providing innovative solutions to long-standing challenges. Those related to exploration, extraction, and overall environmental management by mining technology companies Odisha. These technologies make use of satellite imaging, aerial photography and sensors to collect data that might be inaccessible or from hazardous locations. With the use of this technology, mining operations are becoming increasingly efficient. Let us gain more insight into the key aspects associated with remote sensing and monitoring when it comes to mining.
The world of search engine optimization (SEO) is buzzing with discussions after Google confirmed that around 2,500 leaked internal documents related to its Search feature are indeed authentic. The revelation has sparked significant concerns within the SEO community. The leaked documents were initially reported by SEO experts Rand Fishkin and Mike King, igniting widespread analysis and discourse. For More Info:- https://news.arihantwebtech.com/search-disrupted-googles-leaked-documents-rock-the-seo-world/
Search Disrupted Google’s Leaked Documents Rock the SEO World.pdf
Oracle sql scripting homework
1. Oracle SQL scripting homework
Click Link Below To Buy:
https://hwaid.com/shop/oracle-sql-scripting-homework/
Contact Us:
hwaidservices@gmail.com
Oracle SQL scripting homework
Unit 2 Assignment1:String Manipulation & Calculated Fields
Part 1
After reviewing and completing the Unit1 Guided Practice 2, I suggestthatyou review all tables using the Object
Browser area of the SQL Workshop associated with the scenarios below,as well as field data types and data (case
sensitivity) before constructing your SQL statements.
After logging into Oracle Application Express,perform these steps to get started:
To access the SQL command area,click on SQL Workshop and then on the SQL command icon.
Your screen should resemble the following:
Directions:For all of the scenarios below,compose SQL syntax to retrieve data, click the Run button, and then review
the resulting setin the bottom pane. Save all scenarios,SQL syntax, and the screenshots for the resulting data sets
in a Microsoft Word documentto upload for review and grading.
Scenarios
Displayall bowlers firstand lastnames in one column resultset,renaming the columnBowler’s Name.
Displaya listof all bowlers and addresses formatted suitabilityfor a mailing list,sorted by zipcode.
What was the pointspread between a bowler’s handicap and raw score for each game played in match 10?
Rename the pointspread field in the data resultsetas PointDifference and sorton the match field.
Displaythe 3rd, 4th, and 5th letters of each tournamentlocation dis playing the resulting data setasLocation
Letters.
Using a string function,displaythe tournamentlocation ofthe tournamentthat occurred on 12/04/2012 in
uppercase letters.
Show the lastname of each bowler that lives in Seattle, WA in lowercase letters . Rename the column in the
datasetbowler.
Displayeach bowler’s lastname,first,name and middle initial all in lowercase in one resultcolumn. Be sure that
you include spaces between each piece ofdata. Also, rename the field asFull Name.
For the bowler named David Cunningham,displayonly the world Old that is located in his address. Rename the
field in your resultPartial Address.
Displaythe team name MintJuleps asMintJuleps,naming the new resulting column NewName.
2. Note: Here you will use string and concatenation functions/clauses to take apartand piece back together the
new string that contains a space.
Part 2
Directions: After reviewing and completing the Unit2 Guided Practice 1, create six scenarios using the following SQL
syntax, clauses,and keywords.
Each scenario mustinclude a selectclause.
You need to include the where clause in at least3 scenarios.
You need to use at leasttwo of the following string functions: LOWER(), UPPER(), CONCAT(), and SUBSTR().
You need to create two scenarios thatcontain mathematical expressions.
Lastly, you will need to rename one resulting field in your resultdata set using the AS keyword.**Feel free to
include any string function that you have learned in the guided practice exercises to expand your learning
experience.
You may use any of the Bowling League tables or the Demo_CUSTOMERS/ORDERS/PRODUCTS tables in your
Oracle account. Be sure to listthe scenario,include the SQL syntax that retrieves the data, and include a screenshot
of your resultdata sets.
Unit 2 Assignment2:Date/Time & Formatting Functions
Part 1
After reviewing and completing the Unit1 Guided Practice 2, I suggestthatyou review all tables using the Object
Browser area of the SQL Workshop associated with the scenarios below,as well as field data types and data (case
sensitivity) before constructing your SQL statements.
After logging into Oracle Application Express,perform these steps to get started:
To access the SQL command area,click on SQL Workshop and then on the SQL command icon.
Your screen should resemble the following:
Directions:For all of the scenarios below,compose SQL syntax to retrieve data, click the Run button, and then review
the resulting setin the bottom pane. Save all scenarios,SQL syntax, and the screenshots for the resulting data sets
in a Microsoft Word documentto upload for review and grading.
Scenarios
Displayall of the tournamentlocations thathosted tournaments in the year 2012. Sort the results on the tourney
date field in descending order.
Displaythe month using formatting techniques ofall tournaments thatwere held at Imperial Lanes. Rename the
data column resultasMonth ofTournament.
Displayall tournamentdates oftournaments played atBolero Lanes in the following fashion: Full written
month/day/year (i.e., SEPTEMBER/28/10). Rename the resultcolumn asLong Date.
Provide an SQL statementthat will return the current date and time. Rename the resultcolumn asCurrentTime.
Please note that you will need to use a dual table for this scenario.
Provide an SQL statementthat will return the day that you were born. You will need to use both a formatting and
date function as well as a dual table to complete this task. Please pay attention to how to return a day of a date
via formatting functionality. Rename the resulting column asMy Birth Day.
Use the months_between() SQL function to find the value between the dates 02/13/2004 and 06/28/2003. Here
you will also be using a dual table. Feel free to rename the resultcolumn. Also if you would like to round the
decimal place to two places,you can use the ROUND() function.
Find all of the distinctmonths and years of all tournamentlocations thathave been involved in the bowling league
since its start. The results will look like this:SEPT12 OCT 12 NOV 12 Etc.
3. Part 2
Directions:After reviewing and completing the Unit2 Guided Practice 2, create five scenarios using the following SQL
syntax, clauses,and keywords.
Each scenario mustinclude a selectclause.
You need to include the where clause in at least2 scenarios.
You need to use at 3 of the following date/time or formatting functions: to_char(),to_date(), DATE(), TIME(),
NOW(), SYSDATE()
Feel free to use a dual table if you are returning values that are not contained in the databas e tables.
Lastly, you will need to rename at leastone resulting field in your resultdata set using the AS keyword.**Feel free
to include any other functions that you have learned in the guided practice exercises or previous SQL
syntax to expand your learning experience.
You may use any of the Bowling League tables or the Demo_CUSTOMERS/ORDERS/PRODUCTS tables in your
Oracle account. Be sure to listthe scenario,include the SQL syntax that retrieves the data, and include a screenshot
of your resultdata sets.
**********************************
Unit 3 Assignment1:Aggregate Functions
Part 1
After reviewing and completing the Unit1 Guided Practice 2, I suggestthatyou review all tables using the Object
Browser area of the SQL Workshop associated with the scenarios below,as well as field data types and data (case
sensitivity) before constructing your SQL statements.
After logging into Oracle Application Express,perform these steps to get started:
To access the SQL command area,click on SQL Workshop and then on the SQL command icon.
Your screen should resemble the following:
Directions:For all of the scenarios below,compose SQL syntax to retrieve data, click the Run button, and then review
the resulting setin the bottom pane. Save all scenarios,SQL syntax, and the screenshots for the resulting data sets
in a Microsoft Word documentto upload for review and grading.
Scenarios
Show the total number of bowlers thatlive in Bethell,WA.
Displaythe number ofgames won in match 14, game 2. Rename the resulting data columnWINNERS.
Show the number of games thatthe bowler with bowlerID 8 has won thus far.
What is the total raw scores ofall bowlers who played in match 13, game 3?
Displaythe total handicap scores ofthe bowler that has a BowlerID of 18 for all matches and games. Rename the
resultcolumnTotal Handicap.
Show the average of all raw scores of games lostin match 19. Note: the WonGame field is a Boolean value,
therefore 0 represents a lostgame,and 1 represents a game thatwas won.
Displaythe largesthandicap score ofgames won in match 20,game 2. Note: the WonGame field is a Boolean
value, therefore 0 represents a lostgame,and 1 represents a game thatwas won.
Show the mostrecenttournamentdate in the bowling league schedule. Rename the resulting columnLast
TournamentDate.
4. Displaythe raw scores ofthe games thatare less than the average of all raw scores ofgames lostin match 20,
game 1. Note: the WonGame field is a Boolean value,therefore 0 represents a lostgame,and 1 repres ents a
game that was won. You will use a subqueryto retrieve this data. See p. 434 in your textbook.
Displayhow many tournaments have been played at Sports World Lanes. Rename the resultcolumnNumber of
Tournaments.
Part 2
Directions:After reviewing and completing the Unit3 Guided Practice 1, create five scenarios using the following SQL
syntax, clauses,and keywords.
Each scenario mustinclude a selectclause.
You need to include the where clause in at leasttwo scenarios.
You need to use at leastthree of the following aggregate functions: COUNT(), SUM(), AVG(), MIN(), MAX()
You also need to include one scenario thatincludes using aggregate function using filters as described on p.432
in the textbook.
Lastly, you will need to rename at leastone resulting field in your resultdata set using the AS keyword.**Feel free
to include any other functions that you have learned in the guided practice exercises or previous SQL
syntax to expand your learning experience.
You may use any of the Bowling League tables or the Demo_CUSTOMERS/ORDERS/PRODUCTS tables in your
Oracle account. Be sure to listthe scenario,include the SQL syntax that retrieves the data, and include a screenshot
of your resultdata sets.
Unit 3 Assignment2:Grouping Data & Summarizing Grouped Data
Part 1
After reviewing and completing the Unit1 Guided Practice 2, I suggestthatyou review all tables using the Object
Browser area of the SQL Workshop associated with the scenarios below,as well as field data types and data (case
sensitivity) before constructing your SQL statements.
After logging into Oracle Application Express,perform these steps to get started:
To access the SQL command area,click on SQL Workshop and then on the SQL command icon.
Your screen should resemble the following:
Directions:For all of the scenarios below,compose SQL syntax to retrieve data, click the Run button, and then review
the resulting setin the bottom pane. Save all scenarios,SQL syntax, and the screenshots for the resulting data sets
in a Microsoft Word documentto upload for review and grading.
Scenarios
Displaythe bowler’s lastname and the average of every bowler’s raw score for each bowler. Hint: You will JOIN
the Bowlers table on the Bowler_Score table using the AVG() function and a Group By clause. To remove all of
the decimal places within the AVG() results,you can use the ROUND() function.
Calculate the current total raw score and games bowled for each bowler. Displaythe bowlers ID, lastname,and
first name in the resultset. Rename the total raw score asTotal Pins and the total number of games
bowled Bowled Games.Hint: Here you will JOIN the Bowlers table on the Bowler_Scores table using the SUM()
and COUNT() functions as well as a Group By clause.
Displaythe highestraw score for each bowler. Displaythe bowler’s lastand firstname in the resulting data set.
Hint: Here you will JOIN the Bowlers table on the Bowler_Scores table using the MAX() function. You can also
use a subqueryto return the same data set.
Listthe lastname of every bowler whose average raw score is less than or equal to the overall average score.
Displayboth the bowlers’ lastand firstnames in the resulting set. Hint: Here you will JOIN the Bowlers table with
5. the Bowler_Scores table using the HAVING clause and a subqueryto compare the averages AVG(). You will use
the Group By clause to accurately displaythe data. To remove all of the decimal places within the AVG() results,
you can use the ROUND() function.
Displaythe team ID, bowler ID, and bowler’s lastname for every bowler as well as their highestbowling score.
Hint: You will JOIN the Teams table,Bowlers table,and the Bowlers_Score table using the MAX() function and a
Group By clause. Rename the highestbowling scores in the resulting data setMax Raw Score.
Displayfor each bowler the bowler lastname and the average of the bowler’s raw games scores for the bowlers
whose average is greater than 160. Hint: You will JOIN the Bowlers table with the Bowlers_Scores table using
the AVG() function,Group By, and a HAVING clause. To remove all of the decimal places within the AVG()
results,you can use the ROUND() function.
Show the bowler ID, and bowler’s lastname and firstname for every bowler as well as their lowestbowling score.
Hint: You will JOIN the Bowlers table with the Bowlers_Score table using the MIN() function and a Group By
clause. Rename the lowestbowling scores in the resulting data setLowestRawScore.
Part 2
Directions:After reviewing and completing the Unit3 Guided Practice 2, create three scenarios using the following
SQL syntax, clauses,and keywords.
One scenario mustinclude a subquery.
You need to include the GROUP By clause in at leasttwo scenarios.
You need to use at leasttwo of the following aggregate functions: COUNT(),SUM(), AVG(), MIN(), MAX()
You also need to include one scenario thatutilizes the Having clause.
Lastly, you will need to rename at leastone resulting field in your resultdata set using the AS keyword.**Feel free
to include any other functions that you have learned in the guided practice exercises or previous SQL
syntax to expand your learning experience.
You may use any of the Bowling League tables or the Demo_CUSTOMERS/ORDERS/PRODUCTS tables in your
Oracle account. Be sure to listthe scenario,include the SQL syntax that retrieves the data, and include a screenshot
of your resultdata sets.
After you are finished,please submitthe Microsoft Word file that contains Part1 and Part 2 of your assignment.Your
documentshould be named U3_Assignment2_Lastname.docx.Submityour file using the Upload Instructions
below.
**********************************
Unit 4 Assignment1:Subqueries
Part 1
After reviewing and completing the Unit1 Guided Practice 2, I suggestthatyou review all tables using the Object
Browser area of the SQL Workshop associated with the scenarios below,as well as field data types and data (case
sensitivity) before constructing your SQL statements.
After logging into Oracle Application Express,perform these steps to get started:
To access the SQL command area,click on SQL Workshop and then on the SQL command icon.
Your screen should resemble the following:
Directions:For all of the scenarios below,compose SQL syntax to retrieve data, click the Run button, and then review
the resulting setin the bottom pane. Save all scenarios,SQL syntax, and the screenshots for the resulting data sets
in a Microsoft Word documentto upload for review and grading.
6. Scenarios
Listthe bowler’s firstand lastnames ofall players on the Marlins Team. Hint: You will use a subqueryto join the
Bowlers and Team tables using the TeamID field.
Displaythe number ofgames each bowler has played. Show the bowler’s firstand lastname in the resultdata
set. Hint: You will create a subqueryusing the bowler ID field to join the Bowler and Bowler Scores tables. You
will also need to utilize the COUNT() function.
Listthelast tournamentdate that the bowling team Swordfish played. Hint: Here you will create a subqueryusing
the Teams and Tournaments tables connecting the TourneyID with the TeamsID fields using the MAX() function.
Displaythe captain’s firstand lastname ofthe Manatees. Hint: Here you will use a subquerywith the Bowlers
and Teams tables.
Listthe names ofall teams that have played on odd numbered lanes. Hint: Here you will use a subquerywith the
Teams and Tourney_Matches tables. Because this querywill return multiple rows,you will need to use the IN or
ALL keywords.
Displaythe names ofall bowlers thathave a handicap score greater than 200. Displaythe lastname and
handicap scores in the results. Here you will use a subquerywith the Bowlers and Bowlers_Scores tables.
Because this querywill return multiple rows,you will need to use the IN or ALL keywords.
Part 2
Directions:After reviewing and completing the Unit4 Guided Practice 1, create four scenarios using the following
SQL syntax, clauses,and keywords.
Each scenario mustinclude a subqueryusing data from multiple tables.
You need to include the where clause in at leastthree scenarios.
You need to use at leasttwo of the following aggregate functions: COUNT(),SUM(), AVG(), MIN(), MAX()
Lastly, you will need to rename at leastone resulting field in your resultdata set using the AS keyword.**Feel free
to include any other functions that you have learned in the guided practice exercises or previous SQL
syntax to expand your learning experience.
You may use any of the Bowling League tables or the Demo_CUSTOMERS/ORDERS/PRODUCTS tables in your
Oracle account. Be sure to listthe scenario,include the SQL syntax that retrieves the data, and include a screenshot
of your resultdata sets.
Unit 4 Assignment2:JOINs
Part 1
After reviewing and completing the Unit1 Guided Practice 2, I suggestthatyou review all tables using the Object
Browser area of the SQL Workshop associated with the scenarios below,as well as field data types and data (case
sensitivity) before constructing your SQL statements.
After logging into Oracle Application Express,perform these steps to get started:
To access the SQL command area,click on SQL Workshop and then on the SQL command icon.
Your screen should resemble the following:
Directions:For all of the scenarios below,compose SQL syntax to retrieve data, click the Run button, and then review
the resulting setin the bottom pane. Save all scenarios,SQL syntax, and the screenshots for the resulting data sets
in a Microsoft Word documentto upload for review and grading.
Scenarios
7. Displaythe bowling teams and the name ofeach captain. Be sure that you include both the first and lastname in
the same column,renaming the column,and using concatenation techniques. Hint: You should use JOIN
notation with the Teams and Bowlers tables.
Displaya listof bowling teams and all team members along with the game scores. Hint: You will use a JOIN
statementwith the Teams,Bowlers,and Bowler_Scores tables.
Find the bowlers thatlive in the same zip code. Hint: You should join the bowlers table to itself creating an alias
comparing equal zip codes AND non-matching BowlerIDs. Name the resulting columns like so: First
Bowler, Bowler Zip, and Second Bowler. To include both the first and lastname in the same column,you will
need to use concatenation techniques.
Displayall of the good bowlers who have played at Thunderbird Lanes. Note: A good player has a raw score
>=170. Hint: Here you will JOIN the Bowlers,Tourney_Matches,and the Tournaments tables.
Displayall game scores greater than 180. Hint: Here you will JOIN Bowler_Scores,Tourney_Matches,and
Tournaments together.
Show a listof all tournaments thathave not yet been played. Hint: You will JOIN the Tournaments table with the
Tourney_Matches table. Remember you are checking if the MatchID field is NULL. Displaythe Tournaments ID,
Date, and Location in the resultdata set.
Show all tournamentmatches thathave been played thus far. Hint: You will JOIN the Teams table with the
Tourney_Matches table. Remember you need to consider matches played on both even and odd lanes. Display
the match ID, TournamentID,Team Names ofteams that played on even lanes,and team name of the teams that
played on odd lanes in the resultdata set. Sort the results by the match ID field.
Part 2
Directions:After reviewing and completing the Unit4 Guided Practice 2, create three scenarios using the following
SQL syntax, clauses,and keywords.
Each scenario mustinclude JOIN notation to extract data from multiple tables.
You need to use alias notation as needed to join key fields.
You need to use at leastone of the following aggregate functions: COUNT(),SUM(), AVG(), MIN(), MAX()
Lastly, you will need to rename at leastone resulting field in your resultdata set using the AS keyword.**Feel free
to include any other functions that you have learned in the guided practice exercises or previous SQL
syntax to expand your learning experience.
You may use any of the Bowling League tables or the Demo_CUSTOMERS/ORDERS/PRODUCTS tables in your
Oracle account. Be sure to listthe scenario,include the SQL syntax that retrieves the data, and include a screenshot
of your resultdata sets.
**********************************
Unit 5 Assignment:SetLogic and Unions
Part 1
After reviewing and completing the Unit1 Guided Practice 2, I suggest thatyou review all tables using the Object
Browser area of the SQL Workshop associated with the scenarios below,as well as field data types and data (case
sensitivity) before constructing your SQL statements.
After logging into Oracle Application Express,perform these steps to get started:
To access the SQL command area,click on SQL Workshop and then on the SQL command icon.
Your screen should resemble the following:
8. Directions:For all of the scenarios below,compose SQL syntax to retrieve data, click the Run button, and then review
the resulting setin the bottom pane. Save all scenarios,SQL syntax, and the screenshots for the resulting data sets
in a Microsoft Word documentto upload for review and grading.
Scenarios
Listall names from the Teams and Bowlers tables. Hint: Use a Union clause.
Listall of the tournaments thatare not scheduled for tournamentmatches. Hint: Here you will use the MINUS
clause with the Tournaments and Tourney_Matches tables.
Find the bowlers who had a raw score of 165 or better at Thunderbird Lanes combined with bowlers who had a
raw score of 150 or better at Bolero Lanes. Hint: You will use Join notation and a Union to retrieve the data in the
Bowlers,Tournaments,Tournament_Matches,and Bowlers_Scores tables.
Listthe tourney matches,team names,and team captains for teams starting on the odd lane together with the
tourney matches,team names,and team captains for teams starting on the even lane. Sort by tournamentdate
and match number. Hint: Here you will Join Tournaments,Tourney_Matches,and the Teams tables. You will
also use the UNION ALL clause. Your resulting data setshould resemble the screen shotbelow.
Part 2
Directions:After reviewing and completing the Unit5 Guided Practice, create three s cenarios using the following SQL
syntax, clauses,and keywords.
Each scenario mustinclude multiple tables.
You need to use alias notation as needed to join key fields.
You need to use one of the following clauses in each scenario: UNION,INTERSECT, MINUS
Lastly, you will need to rename at leastone resulting field in your resultdata set using the AS keyword.**Feel free
to include any other functions that you have learned in the guided practice exercises or previous SQL
syntax to expand your learning experience.
You may use any of the Bowling League tables or the Demo_CUSTOMERS/ORDERS/PRODUCTS tables in your
Oracle account. Be sure to listthe scenario,include the SQL syntax that retrieves the data, and include a screenshot
of your resultdata sets.