1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Lana71 [14]
3 years ago
6

Consider the two relations with their schemas as listed below: Employee(name, empID, birthDate, gender, address, phone) TaxAccou

nt(name, SSN, empID, federalDeductionAmt, stateDeductionAmt, ficaDeductionAmt) Constraint: TaxAccount must contain information related to all current employees only. Express the foreign key constraint in SQL.
Computers and Technology
1 answer:
Allushta [10]3 years ago
5 0

Answer:

CREATE TABLE TaxAccount (

Name int NOT NULL,

SSN int NOT NULL,

empID int FOREIGN KEY REFERENCES employee(empID),

federalDeductionAmt int NOT NULL,

stateDeductionAmt int NOT NULL,

ficaDeductionAmt int NOT NULL

);

Explanation:

TaxAccount table will use the primary key of employees table 'empID' which will serve as foreign key in TaxAccount table.

Therefore TaxAccount table will look like this:

CREATE TABLE TaxAccount (

Name int NOT NULL,

SSN int NOT NULL,

empID int FOREIGN KEY REFERENCES employee(empID),

federalDeductionAmt int NOT NULL,

stateDeductionAmt int NOT NULL,

ficaDeductionAmt int NOT NULL

);

You might be interested in
Technologies have advanced to allow computer chips to be placed in almost anything and to be connected to a network almost anywh
Soloha48 [4]

Answer:

"Internet of thing" is the correct answer for the above question.

Explanation:

  • "Internet of thing" refers to the set or collection of machines and objects for communication. It is used to connect the object and machine in a network so that they are communicating. For example, the umbrella tells the temperature to the human.
  • The above question asked about the technology which has a mechanism to place the chips to the object and that object can communicate with the machine. This type of mechanism is known as the "Internet of thing". So the answer is "Internet of thing".
7 0
3 years ago
A way to have cells in your spreadsheet change formats based on the value of the cells is called ________.
Deffense [45]
<span>Conditional Formatting will be the answer</span>
6 0
4 years ago
Which of the following is used to move to end of the row?​
Ksenya-84 [330]

Answer:

no

Explanation:

no no np np np no no no no mo no on no non onononononoononon

4 0
3 years ago
Liam is at the park an would like to play soccer. He tell another kid at the park that he would hurt him if he couldn't play soc
Sedaia [141]

Answer: 1. control his emotions and ask Liam to stop because this is intimidation.

***If you found my answer helpful, please give me the brainliest, please give a nice rating, and the thanks ( heart icon :) ***

5 0
3 years ago
Read 2 more answers
18) choose which article title would most likely be described by the database subject headings victims of famine, ireland, histo
Lunna [17]
I think the correct answer from the choices listed above is option B. The <span>article title that would most likely be described by the database subject headings victims of famine, ireland, history would be </span><span>''how many irish potato famine deaths? towards coherence of the evidence" Hope this answers the question.</span>
5 0
3 years ago
Other questions:
  • Why are computer programs so much longer now than they were in the late 1980?
    8·1 answer
  • While in slide show mode, if you are not careful you can close the application by clicking the x on the menu bar. question 38 op
    12·2 answers
  • Java provides a(n) ____ class, which contains many useful methods for manipulating arrays.
    5·1 answer
  • Jessica finds out that the government introduced a new trade policy that will increase import tariffs. She calls for a meeting o
    15·1 answer
  • What problem with internal hardware components is similar to unplugged
    6·2 answers
  • You have been asked to create a Community leveraging Out-of-the-box login, logout, self-registration, and error pages. Would you
    5·1 answer
  • Two routers connect with a serial link, each using its S0/0/0 interface. The link is currently working using PPP. The network en
    6·1 answer
  • The instructions in the language of alice are contained on ____ which you can drag and drop into place to ____ new programs
    8·1 answer
  • Expectation on Information Technology Fundamental​
    12·1 answer
  • you are asked to create a four-digit code using the numbers from 1 to 9. how many possible codes are there--assuming that number
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!