 ) r on concept_id_2=r.i_id 
 ;
 
-
 -- Translation between Dose Forms
 drop table qr_df purge;
 create table qr_df as

;
commit;

select distinct i_code from q_ing
minus
select qi_combo from x_ing;
select i_combo from q_combo
minus
select qi_combo from x_ing

/******************************
* 3. Collect atributes for r  *
******************************/
-- Create xxx-type codes for r ingredients, so we can add them
drop table ing_stage purge;
create table ing_stage as
select 'XXX'||xxx_seq.nextval as i_code, i_id from (
