Track of business trips of salespersons

Assignment Help Basic Computer Science
Reference no: EM13956525

Consider the following relations for a database that keeps track of business trips of salespersons in a sales office:

SALESPERSON(SSN, Name, Start_Year, Dept_No)

TRIP(SSN, From_City, To_City, Departure_Date, Return_Date, Trip_ID)

EXPENSE(Trip_ID, Account#, Amount)

Specify the foreign keys for the above schema, stating any assumptions you make. Then specify the following queries in relational algebra:

a. Give the details (all attributes of TRIP relation) for trips that exceeded $2000 in expenses.

b. Print the SSN of salesman who took trips to ‘Honolulu'.

c. Print the total trip expenses incurred by the salesman with SSN = ‘234-56-7890'

Reference no: EM13956525

Questions Cloud

Leadership and organizational behavior journal : My professor is looking for an article on leadership from a business, management, or organizational behavior journal. should make recommendations and include conclusion. Kindly refer some articles on leadership and organizational behavior journal.
Find the probability for the given data : Assuming that the two events are independent , the probability that cost is kept within budget and the campaign sales is:
For a reversible liquid phase reaction a-r the conversion is : For a reversible liquid phase reaction A-^R, the conversion is 33.3% after 8 minutes and equilibrium conversion is 66.7%. Find the rate equation for the reaction.
What degree can nurses substitute for doctors : The delivery of healthcare services is dependent on the availability of skilled professionals who can provide needed care and supporting services. List and explain two factors that determine the supply of doctors and nurses. Also, to what degree can ..
Track of business trips of salespersons : Consider the following relations for a database that keeps track of business trips of salespersons in a sales office:
Fire safety procedures for new complex shopping malls : Describe fire scenarios, reasonable process to keep an eye on might be precised taking into concern overall conceivable fire scenarios - Describing enterprise fire scenarios resembling the subsystems of the most possible and tiring possible scenarios
Use both positive and negative reinforcement : If you, as a manager, had to help change an employee’s behavior to make him or her more productive, what course of action would you take? How might you use both positive and negative reinforcement?
Improve the delinquency prevention capabilities of schools : Should disobedient youths be suspended from school? Does this solution hurt or help? What can be done to improve the delinquency prevention capabilities of schools? Is school failure responsible for delinquency, or are delinquents simply school failu..
Demand and supply affect equilibrium price : How will each of the following changes in demand and/or supply affect equilibrium price and equilibrium quantity in a competitive market? That is, will the equilibrium price Rise, Fall, or is the change Indeterminate because this depends on the ma..

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Write a program that asks a user for a file name and prints

Write a program that asks a user for a file name and prints the number of characters, words, and lines in that file.

  Quality assurance process of reviewing written code

Also I need a separate document that explains why the factors were chosen and how I feel they would be important to the quality assurance process of reviewing a programmers written code/ program.

  What are the benefits and risks of cloud computing

What are the benefits and risks of cloud computing? Do you use a cloud to store any of your files or photographs? Does your employer use a cloud to store files or sensitive documents? Responses need to be in essay format with an introductory paragrap..

  Design and test using logic works a dual-output function

Design and test using Logic Works a dual-output function to implement a full-adder in Sum-of-Products form. Show the transistor count on your schematic. For bonus points optimize the circuit to minimize transistor count

  Compare and contrast the mmorpg interaction environment

Describe cognitive social phenomena that occur specifically to the context of the MMORPG that wouldn't happen in a face-to-face chess game. Compare and contrast the MMORPG interaction environment and a face-to-face environment where chess is being..

  Design an algorithm using pseudocode representation

Design an algorithm using pseudocode representation that will prompt a terminal operator for three characters, except those characters as input, sort them into ascending sequence and output them to the screen.

  How would you communicate the design of method to developer

How would you communicate the design of method to a developer that must implement a complex algorithm and ensure that they implement correctly when provided good inputs as well as handle bad input and no input scenarios?

  Explain how company wants corporation-s business

The company is willing to pay $30,000 for the hardware and the software together and wants the complete software product in 4 weeks. What do you tell him? Bear in mind that your company wants his corporation's business, no matter how unreasona..

  Provide a critical review of the current market

Your task is to provide a critical review of the current market for online education as well as providing an overview and definition of what online education is and how it works.

  Convert hand-drawn diagram to a fully labeled visio diagram

1.Using the IP addresses provided by your instructor, hand-draw a network diagram of your network configuration. (This will include at least two Windows Servers and one Workstation.)2.Convert the hand-drawn diagram to a fully labeled Visio diagram.

  Describe the efforts underway in the miniaturization

Describe the efforts underway in the miniaturization of integrated circuits when moving from the micrometer scale to the nanometer scale using nanotechnology.

  Information system to support the business

As a part of the final project for this course you will be doing research for a medium size (approximately 200 employees) widget manufacturing company to do a complete evaluation of their computer needs and make recommendations to them about an in..

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