Ithis hands-on assignment you will be expected to learn

Assignment Help Database Management System
Reference no: EM13374997

In this hands-on assignment you will be expected to learn:

a. How to interactively query a database by using SQL statements and SQL*PLUS commands.

b. How to use SQL statement to implement relational operations such as SELECT, PROJECT, PRODUCT, UNION, INTERSECT, MINUS (Difference), DIVISIION, JOIN, OUTER JOIN(s), RECURSIVE QUERY, and others.

c. How to use an editor (either pico, vi, or others) within SQL*PLUS to edit query statements.

d. How to use spool command to save an interactive session within SQL*PLUS.

Before you start with your hands-on assignment, you may need to

1. Print and read the document, "INTRODUCTION TO ORACLE/SQL*PLUS," which is available from Blackboard:

From reading the document, you are expected

a. To get familiar with the syntax of the SQL statements, the relationship between the SQL statement syntax and the semantics, the correspondences between a query in English and a query in SQL.

b. To know the set of SQL commands (SQL commands and SQL statements are different).

c. To know how to spool a file.

2. Study the Instruction to Written Assignment #1, by going through the SCIS online orientation, you are expected to get familiar with the following:

a. How to use SSH from your local PC to get connected on SCIS Unix server in order to use the Oracle server. (You need to download SSH Client and install on your local PC before you connect to SCIS Unix, please revisit SCIS Online Orientation for the detail.)
b. How to use FTP to transfer files from SCIS Unix server to your local PC.
c. How to use a small set of commonly used Unix commands.

In order to complete the assignment:

1. Please do hands-on practice of all the SQL query examples (in SQL statements) in the document (from page 1 to 43). Again please read the tutorial document first before doing it.

3. After you go through all the examples of SQL statements in the document (Not the SQL*PLUS commands), you need to use the SQL*PLUS command spool to save all the session information into a file and submit the file on Blackboard.

4. To enter SQL*PLUS system, you need to do two following things:

a. login on scis

b. login on ORACLE SQL*PLUS by using the following command:

usercode@scis> oracle11g at the prompt, please enter the same usercode as the one you used for your SCIS Unix, NSU email, or Blackboard, and enter the password: mcis6301@oracle11g.

(Please see the document "INTRODUCTION TO ORACLE/SQL*PLUS.")

5. The spool command in SQL*PLUS keeps track of all the information during the session. Please make sure that you have gone through the tutorial successfully before you generate the script.

SQL> spool filename.lst (start the spooling process)

SQL> spool off (please make sure you quit spool)

SQL> exit (quit from ORACLE/SQL*PLUS)

a.) SQL> is the prompt of ORACLE/SQL*PLUS.

b.) All the query statements you enter during the session will be saved (spooled) in the file with the name filename.lst.

6. To change the password on SQL*PLUS, please type the command at the SQL> prompt:

password

7. To upload file from SCIS Unix to your desktop, for PC (MS Windows) users, select New File Transfer under Window menu in SSH, and drag the spooling file to your PC desktop;

8. Please note the difference between SQL statements and SQL commands.

Attachment:- database.zip

Reference no: EM13374997

Questions Cloud

Amalia alexia and ariane work together in a homework group : amalia alexia and ariane work together in a homework group on a problem set. each group member i 123 can exert effort
Godzilla and macrosoft produce software and operating : godzilla and macrosoft produce software and operating systems respectively both at marginal cost 10. each firm has
Consider a homogeneous product industry with inverse market : consider a homogeneous product industry with inverse market demand given by p 1100 - 2q there is currently one
1 given the total cost function tc 100010q where q units : 1. given the total cost function tc 100010q where q units of output.a determine the equations for tfc total xed cost
Ithis hands-on assignment you will be expected to learn : in this hands-on assignment you will be expected to learn a. how to interactively query a database by using sql
Consider a scenario of post mailbox there are two processes : consider a scenario of post mailbox there are two processes named sender s and receiver r. both processes can
Assume you and another member of the class are starting up : assume you and another member of the class are starting up a small company using investor capital and your own money.
Case study - grand wines you are an employee of grand wines : case study - grand wines you are an employee of grand wines ltd and project leader of a proposed project to equip each
Anbsp what is meant by the concept of a standard of livingb : anbsp what is meant by the concept of a standard of living?b what are the difficulties in measuring this within one

Reviews

Write a Review

Database Management System Questions & Answers

  Write a recursive sql query

MCIS 630 Database Systems: -  Write a recursive SQL query that outputs the names of all subparts of the part with part-id “P- 100”.

  List all the functional dependencies present in the relation

You must implement the entity relationship model provided in the model solution to Assignment 1. The model solution will be released on the course website approximately TWO (2) weeks after the Assignment 1 due date.

  Identify three potential users and design subschema for each

Identify three potential users and design a subschema for each. Justify your design by explaining why each user needs access to that data element.

  First - second or third normal form

How many entities are shown by this relation?

  Create a report that dumps the contents of a table

A screen shot of the first page of the contents of each table. Alternatively, you may create a report that dumps the contents of a table and submit a single page of that report.

  Write select statement which returns three columns

Write a SELECT statement which returns three columns: VendorName, InvoiceCount, and InvoiceSum. InvoiceCount is the count of the number of invoices, and InvoiceSum is the sum of the InvoiceTotal column.

  Identify all entities that have a direct bearing on database

Describe all the business rules that apply to this problem (relationship and constraint). Using the relationship business rules, establish the correct relationships (1:1, 1: M, M: N) between the entities.

  What is the functionality of the tool

What is the functionality of the tool and what is the actual running environment (software and hardware) of the tool - how will you evaluate the tool based on your own experience?

  Write an sql query

Write an SQL query to get the author of the book "The Alchemist"

  What rules have to be enforced based on entity type

What rules would have to be enforced based on entity type? Choose one entity type and discuss what enforcement is needed by the database or application.

  Create a state machine diagram

In addition, you will also need to create a state machine diagram for the RegistrationRecord class (the class that maintains the registration of a student in a class).

  Build an uml model in microsoft visio

Neatness of your diagram, please use the concepts of model, package, and sub-system well in the Visio model. Create both your diagrams under the static model from the model explorer in Visio.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd