|
[x]
Posted via EE Mobile
|
|
| Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again. |
|
|
|
|
Asked by samir25 in Oracle 11.x Database, PL / SQL, SQL Query Syntax
hi
i have two table a,b with these structures
FND_ID NUMBER(38)
ITEM_ID NUMBER(38)
OPERATION_ID NUMBER(38)
RECIPE_ID NUMBER(38)
SPEC_ID NUMBER(38)
CREATION_DATE DATE
LAST_UPDATE_DATE DATE
i want to pull out all those rows where (recipe_name and spec_name and operation_name) are different in the 2 tables. meaning where all 3 are same i dont want to know whereas where they are not same i would like to know.
these ids are foreign keys here. they are coming from table c,d,e with stuctures like
TABLE C
RECIPE_ID NOT NULL NUMBER(38)
RECIPE_NAME VARCHAR2(100)
TABLE D
SPEC_ID NOT NULL NUMBER(38)
SPEC_NAME VARCHAR2(100)
how to form the query.
20091111-EE-VQP-92 - Hierarchy / EE_QW_3_20080625