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

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

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