Write a query that displays all of the rows in the vehicle

Assignment Help PL-SQL Programming
Reference no: EM131272123

Assignment

SQL Developer:

Open script in the Editor and press F5 to run the script:

In SQL*Plus:

First open a SQL*Plus session. You can do this by opening a command prompt. Then type sqlplus <username>/<password> to connect to the database (I'm assuming you have created a user in your database prior to working with this script):

If you don't have a user, logon with the sysdba or system account and create one:
CREATE USER <username> IDENTIFIED BY <password>;
GRANT DBA TO <username>;
GRANT CREATE SESSION TO <username>;
GRANT RESOURCE TO <username>;
Then type the following command to run your script from the directory where you saved it:

Build a working sample of Huffman Trucking's fleet truck maintenance database.

Use the CREATE table statement to create a table for each entity for Huffman Trucking's fleet truck maintenance database.

Use the INSERT statement to populate the tables with realistic sample data, demonstrating each relationship in your entity relationship diagram. Include at least two entries for each table.

Use the SELECT statement to create the following queries:

• Create a simple query for each table that returns all of the columns and all of the rows for each table.

• Write a query that displays each part that has been purchased by Huffman Trucking Company. For each part, also retrieve its parts catalog information from the parts catalog table and vendor information from the vendor table.

• Write a query that displays all of the rows in the vehicle maintenance table. For each vehicle maintenance row, join the corresponding information from the maintenance descriptions table and vehicles table.

• Write a query that displays each row in the maintenance work order table. For each row in the maintenance work order table, join the corresponding information from the maintenance description table.

• Write a query that counts the number of maintenance work orders for each vehicle in the maintenance work order table. Display the vehicle column and the corresponding count of work orders for each vehicle.

Use Reporting Services to design and create a report on the parts purchasing history for Huffman Trucking Company. The report should display all parts purchasing history including manufacturer and vendor information, parts catalog information, and associated parts inventory issues, and all parts inventory purchases.

Format the report to present to senior management at Huffman Trucking.

Reference no: EM131272123

Questions Cloud

Difference between system software and application software : Why a Learning Curve Analysis is used for project management? Also,  the necessary components of a Learning Curve Analysis? What is the difference between system software and application software.  Why is it necessary to plan? How is most planning co..
Professional-academic smart goal for yourself : You are assigned the task of improving employee motivation at your place of business, the online campus of a higher education institution.  Write a professional/academic SMART goal for yourself, and a short description of how your goal meets the S..
New york and barcelona employing to run : 1. What technologies are New York and Barcelona employing to run their more efficiencttly and improve citizens quality of life? 2. What are the managemnet, organization, and technology issues that should be addressed by "smart city" initiatives?
Create a implementation file containing the member function : Create a specification file containing the declaration of the VerifyDate class. Create a implementation file containing the member function definitions for VerifyDate.
Write a query that displays all of the rows in the vehicle : Write a query that displays all of the rows in the vehicle maintenance table. For each vehicle maintenance row, join the corresponding information from the maintenance descriptions table and vehicles table.
Constructive dismissal have to do with employment contract : Distinguish between the Universalist and Contingency approaches to HR Strategy philosophies. Provide examples of each. What does it mean to “lead by price” or “lead by differentiation”? Provide examples of each. Define constructive dismissal. What do..
Does the branding appeal to the market : Select an existing health care related product or service: What is the target market of the product or service selected? What images or thoughts do you relate to that brand? Does the branding appeal to the market? Do those images influence consumers’..
Formulate linear programming model within your word report : The production manager at Old-Time Boats must determine how many Party Pontoons to produce over the next 6 months. The beginning inventory of Party Pontoons is 400 units. Formulate the linear programming model within your Word Report: Define the deci..
Considers value creation and support processes : Create a decision map that considers value creation and support processes in your map. Include in your decision map the choices for each of your satisfiers and dissatisfies from the previous project. Not catching fish or targeted species, low volume ..

Reviews

Write a Review

PL-SQL Programming Questions & Answers

  Populate the tables with test data

Credit will be given to queries that are not trivial, for example, "SELECT * FROM Tablename" is unlikely to gain more than one mark. SQL Developer can be used to produce the queries and populate the tables.

  Describe the meaning of keyword exists and not exists

Describe the meaning of the keyword EXISTS. Describe how any and all relate to EXISTS and NOT EXISTS. Write a query which will display names of any customers who are interested in all artists.

  Write a iterative function that returns the summation

Write and test functions that return summation of all the numbers (items) in the list. Write a recursive function that returns the summation of all the numbers in the list.

  Write sql statement to display first-last name of students

Write a SQL statement to display the First and Last name of students who have the Status greater than 1 and less than 10. Use BETWEEN.

  Sql statement to display student first and last name

1. Write a SQL statement to display Student's First and Last Name.  2. Write a SQL statement to display the Major of the STUDENT with no duplications. Do not display student names. 3. Write a SQL statement to display the First and Last Name of studen..

  Find the specified value for primary key

The project consists of 2 main tasks. I the first task, you are going to implement a main memory Index-Organized Table (IOT) witch is based on B+-tree indexing structure including the following functions (or methods): Lookup(int value): find the s..

  Write an application for the events

Closing the application. Close your running application by clicking its close box.

  Write sql statements that will retrieve the data

Write SQL statements that will retrieve the following data from a database, using Subqueries and Joins. Using the Northwind database, write a SQL SELECT statement that will retrieve the data for the following questions

  What types of users would typically use a dml statement

You must begin by understanding the different types of SQL statements. Adhere to the following deliverables for this Discussion Board.

  Question 1 write a query to display the last name

question 1 write a query to display the last name department number and salary of any employee whose department number

  Write a select statement that returns these columns

Write a SELECT statement that returns these columns from the Products table: The date_added column A column that uses the CAST function to return the date_added column with its date only (year, month, and day)

  Sql queries for this assignment use the following database

for this assignment use the following database schema ltbrgt ltbrgt1 patientpatientid name dob ltbrgt ltbrgt2

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