Question: Question 4 1 SELECT _ ( please fill in this blank ) FROM Agent A , Branch B WHERE A . Branch _ ID =

Question 41
SELECT _(please fill in this blank)
FROM Agent A, Branch B
WHERE A.Branch_ID =B.Branch_ID
Agent_LName, Agent_HireDate, IF(Branch_State='PA','Yankee!', IF(Branch_State='MD','Southerner!')) as 'location'
Agent_LName, Agent_HireDate, 'Yankee!'
FROM Agent A, Branch B
WHERE A.Branch_ID=B.Branch_ID
UNION
SELECT Agent_LName, Agent_HireDate, 'Southerner!' as 'location'
Agent_LName, Agent_HireDate, IF(Branch_State='PA",Yankee!','Southerner!') as 'location'
Agent_LName, Agent_HireDate, 'Yankee!'
FROM Agent A, Branch B
WHERE A.Branch_ID =B.Branch_ID
AND Branch_State='PA'
UNION
SELECT Agent_LName, Agent_HireDate, 'Southerner!' as 'location'
Agent_LName, Agent_HireDate, IF(Branch_State='PA','Yankee!'), IF(Branch_State='MD',Southerner!')
 Question 41 SELECT _(please fill in this blank) FROM Agent A,

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related General Management Questions!