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

  Assistance in creating an entity relationship design

Assistance in creating an entity relationship design that captures/tracks information of researchers within all universities in a given state. Information of interest includes researcher name, title, position; university name, location, enroll..

  Which of the following command removes a job at the at queue

Which of the following command removes a job at the at queue? (Select two. Each answer is an independent solution) a. atq b. atrm c. at -d d. at -f e. at -l

  For the first one i used the substitution method

For the first one I used the substitution method which gave me n^2 but wasn't right and the second one I used Masters Theorem and got nlog^4(n) which also wasn't right. A thorough explanation would be helpful.

  Is hci a term to describe any interaction with digital

Is HCI a term to describe any interaction with digital technology? Suggest a more appropriate phase to describe this. Also, explain your answer. Whom or what are you interacting with, when you use a smart phone, a tablet, and a laptop? Google Glass o..

  Java code to reverse a string

java code to reverse a String

  Wuld you make any changes to the services why or why not

answer each questions in 2 paragraphs and label the questions by the numbers.not an essay include at least one

  How can one implement a queue based using a single stack

How can one implement a queue based using a single stack?

  Consider a memory system with a level

Consider a memory system with a level 1 cache of 32 KB and DRAM of 512 MB with the processor operating at 1 GHz. The latency to L1 cache is one cycle and the latency to DRAM is 100 cycles.

  The solution is some real number

Let P be a problem. For any instance x ∈ P, the solution is some real number f(x). Let A be a randomized algorithm for P, such that it gives a solution A(x) that lies in [1/2f(x), 2f(x)] with probability 2/3.

  Explain which learning experiences facilitated

For this Discussion, reflect on all the material covered in this module. Share with your colleagues your thoughts on what you feel you learned and achieved over these eight weeks.

  Compare and contrast intel 975x and amd amd580x chipsets

Compare and contrast INTEL 975X and AMD AMD580X chipsets

  Explain delimiter marks only beginning of comment

Delimiter marks only the beginning of the comment (for one line comments). Write the advantages and disadvantages of each of these with respect to our criteria.

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