troubleshooting Question

cartesian join

Avatar of sam2929
sam2929 asked on
Oracle Database
3 Comments1 Solution366 ViewsLast Modified:

i have table A

1    employee
5    terminated
9     inactive

Table B

11      hOURLY
12      PARTTIME
15      >6 MONTH

I want target_a_b to look like below

1    employee       11      hOURLY
1    employee       12      PARTTIME
1    employee       15      >6 MONTH
5    terminated       11      hOURLY
5    terminated       12      PARTTIME
5    terminated       15      >6 MONTH
9     inactive           11      hOURLY
9     inactive       12      PARTTIME
9     inactive       15      >6 MONTH

I did try FULL Outer join but not giving desire results

Select  *  From Table_ A a
FULL OUTER Join Table_B b
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 3 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros