I have a database that has different financial article tables for each article type. For example:
fa_meds_01
with the ID column name FA_MED_ID
,
fa_uniforms_02
with the ID column name FA_U_ID
,
fa_trips_03
with the ID column name FA_T_ID
,
fa_experts_04
with the ID column name FA_E_ID
.
These IDs are going to be named differently like MED1
, U1
, T1
, etc..
I want to store all of these in to a single table called t_fin_articles
with the ID column named A_ID
which is going to be referenced to a general expenses journal with all the other details.
So expected result should be the table t_fin_articles
showing under A_ID
IDs those financial article tables.
How would one go about doing such a task? Or maybe those different tables could be referenced to the general expenses journal directed?