ALTER TABLE Q0201T00 ADD  CONSTRAINT FK_Q0276T00_03
 FOREIGN KEY (TH_ID_001) 
  REFERENCES Q0276T00 (TH_ID_076) ;

ALTER TABLE Q0201T00 ADD  CONSTRAINT FK_Q0277T00_03
 FOREIGN KEY (TH_ID_001, MUN_ID_001) 
  REFERENCES Q0277T00 (TH_ID_077, MUN_ID_077) ;

ALTER TABLE Q0201T00 ADD  CONSTRAINT FK_Q0292T00_01
 FOREIGN KEY (TIP_SIT_ID_001) 
  REFERENCES Q0292T00 (TIP_SIT_ID_092) ;

ALTER TABLE Q0201T00 ADD  CONSTRAINT FK_Q0293T00_01
 FOREIGN KEY (PATRI_ID_001) 
  REFERENCES Q0293T00 (PATRI_ID_093) ;

ALTER TABLE Q0201T00 ADD  CONSTRAINT FK_Q0294T00_01
 FOREIGN KEY (PLAN_ID_001) 
  REFERENCES Q0294T00 (PLAN_ID_094) ;

ALTER TABLE Q0201T00 ADD  CONSTRAINT FK_Q0295T00_01
 FOREIGN KEY (URBA_ID_001) 
  REFERENCES Q0295T00 (URBA_ID_095) ;

ALTER TABLE Q0202T00 ADD  CONSTRAINT FK_Q0201T00_02
 FOREIGN KEY (CC_MOD_002, CC_ID_002) 
  REFERENCES Q0201T00 (CC_MOD_001, CC_ID_001) ;

ALTER TABLE Q0202T00 ADD  CONSTRAINT FK_Q0282T00_01
 FOREIGN KEY (TELEM_ID_002) 
  REFERENCES Q0282T00 (TELEM_ID_082) ;

ALTER TABLE Q0202T00 ADD  CONSTRAINT FK_Q0283T00_03
 FOREIGN KEY (TIPR_OV_ID_002) 
  REFERENCES Q0283T00 (TIPR_OV_ID_083) ;

ALTER TABLE Q0202T00 ADD  CONSTRAINT FK_Q0285T00_03
 FOREIGN KEY (USO_ID_002) 
  REFERENCES Q0285T00 (USO_ID_085) ;

ALTER TABLE Q0204T00 ADD  CONSTRAINT FK_Q0201T00_01
 FOREIGN KEY (CC_MOD_004, CC_ID_004) 
  REFERENCES Q0201T00 (CC_MOD_001, CC_ID_001) ;

ALTER TABLE Q0204T00 ADD  CONSTRAINT FK_Q0276T00_02
 FOREIGN KEY (TH_ID_004) 
  REFERENCES Q0276T00 (TH_ID_076) ;

ALTER TABLE Q0204T00 ADD  CONSTRAINT FK_Q0277T00_02
 FOREIGN KEY (TH_ID_004, MUN_ID_004) 
  REFERENCES Q0277T00 (TH_ID_077, MUN_ID_077) ;

ALTER TABLE Q0204T00 ADD  CONSTRAINT FK_Q0278T00_02
 FOREIGN KEY (TH_ID_004, MUN_ID_004, ENT_ID_004) 
  REFERENCES Q0278T00 (TH_ID_078, MUN_ID_078, ENT_ID_078) ;

ALTER TABLE Q0205T00 ADD  CONSTRAINT FK_Q0204T00_01
 FOREIGN KEY (PREJ_ID_005) 
  REFERENCES Q0204T00 (PREJ_ID_004) ;

ALTER TABLE Q0205T00 ADD  CONSTRAINT FK_Q0279T00_02
 FOREIGN KEY (TIT_DNICIF_005) 
  REFERENCES Q0279T00 (TIT_DNICIF_079) ;

ALTER TABLE Q0205T00 ADD  CONSTRAINT FK_Q0286T00_01
 FOREIGN KEY (TPRO_ID_005) 
  REFERENCES Q0286T00 (TPRO_ID_086) ;

ALTER TABLE Q0206T00 ADD  CONSTRAINT FK_Q0204T00_02
 FOREIGN KEY (PREJ_ID_006) 
  REFERENCES Q0204T00 (PREJ_ID_004) ;

ALTER TABLE Q0207T00 ADD  CONSTRAINT FK_Q0269T00_01
 FOREIGN KEY (TP_ID_007) 
  REFERENCES Q0269T00 (TP_ID_069) ;


ALTER TABLE Q0207T00 ADD  CONSTRAINT FK_Q0282T00_02
 FOREIGN KEY (TELEM_ID_007) 
  REFERENCES Q0282T00 (TELEM_ID_082) ;

ALTER TABLE Q0207T00 ADD  CONSTRAINT FK_Q0283T00_02
 FOREIGN KEY (TIPR_OV_ID_007) 
  REFERENCES Q0283T00 (TIPR_OV_ID_083) ;

ALTER TABLE Q0207T00 ADD  CONSTRAINT FK_Q0285T00_02
 FOREIGN KEY (USO_ID_007) 
  REFERENCES Q0285T00 (USO_ID_085) ;

ALTER TABLE Q0208T00 ADD  CONSTRAINT FK_Q0206T00_01
 FOREIGN KEY (PREJ_ID_008, PRPO_ID_008) 
  REFERENCES Q0206T00 (PREJ_ID_006, PRPO_ID_006) ;

ALTER TABLE Q0208T00 ADD  CONSTRAINT FK_Q0276T00_01
 FOREIGN KEY (TH_ID_008) 
  REFERENCES Q0276T00 (TH_ID_076) ;

ALTER TABLE Q0208T00 ADD  CONSTRAINT FK_Q0277T00_01
 FOREIGN KEY (TH_ID_008, MUN_ID_008) 
  REFERENCES Q0277T00 (TH_ID_077, MUN_ID_077) ;

ALTER TABLE Q0208T00 ADD  CONSTRAINT FK_Q0278T00_01
 FOREIGN KEY (TH_ID_008, MUN_ID_008, ENT_ID_008) 
  REFERENCES Q0278T00 (TH_ID_078, MUN_ID_078, ENT_ID_078) ;

ALTER TABLE Q0208T00 ADD  CONSTRAINT FK_Q0283T00_01
 FOREIGN KEY (TIPR_OV_ID_008) 
  REFERENCES Q0283T00 (TIPR_OV_ID_083) ;

ALTER TABLE Q0208T00 ADD  CONSTRAINT FK_Q0285T00_01
 FOREIGN KEY (USO_ID_008) 
  REFERENCES Q0285T00 (USO_ID_085) ;

ALTER TABLE Q0208T00 ADD  CONSTRAINT FK_Q0287T00_01
 FOREIGN KEY (EDIF_ID_008) 
  REFERENCES Q0287T00 (EDIF_ID_087) ;

ALTER TABLE Q0208T00 ADD  CONSTRAINT FK_Q0288T00_01
 FOREIGN KEY (ESEX_ID_008) 
  REFERENCES Q0288T00 (ESEX_ID_088) ;

ALTER TABLE Q0208T00 ADD  CONSTRAINT FK_Q0289T00_01
 FOREIGN KEY (DENS_ID_008) 
  REFERENCES Q0289T00 (DENS_ID_089) ;

ALTER TABLE Q0209T00 ADD  CONSTRAINT FK_Q0208T00_01
 FOREIGN KEY (PR_ID_009) 
  REFERENCES Q0208T00 (PR_ID_008) ;

ALTER TABLE Q0209T00 ADD  CONSTRAINT FK_Q0285T00_06
 FOREIGN KEY (USO_ID_009) 
  REFERENCES Q0285T00 (USO_ID_085) ;

ALTER TABLE Q0210T00 ADD  CONSTRAINT FK_Q0263T00_01
 FOREIGN KEY (TH_ID_010, MUN_ID_010, CALL_ID_010) 
  REFERENCES Q0263T00 (CAL_PROV, CAL_MUNI, CAL_CALL) ;

ALTER TABLE Q0210T00 ADD  CONSTRAINT FK_Q0208T00_02
 FOREIGN KEY (PR_ID_010) 
  REFERENCES Q0208T00 (PR_ID_008) ;

ALTER TABLE Q0210T00 ADD  CONSTRAINT FK_Q0276T00_04
 FOREIGN KEY (TH_ID_010) 
  REFERENCES Q0276T00 (TH_ID_076) ;

ALTER TABLE Q0210T00 ADD  CONSTRAINT FK_Q0277T00_10
 FOREIGN KEY (TH_ID_010, MUN_ID_010) 
  REFERENCES Q0277T00 (TH_ID_077, MUN_ID_077) ;

ALTER TABLE Q0210T00 ADD  CONSTRAINT FK_Q0278T00_06
 FOREIGN KEY (TH_ID_010, MUN_ID_010, ENT_ID_010) 
  REFERENCES Q0278T00 (TH_ID_078, MUN_ID_078, ENT_ID_078) ;

ALTER TABLE Q0211T00 ADD  CONSTRAINT FK_Q0209T00_01
 FOREIGN KEY (PR_ID_011, CALI_ID_011, CALI_MOD_011) 
  REFERENCES Q0209T00 (PR_ID_009, CALI_ID_009, CALI_MOD_009) ;

ALTER TABLE Q0211T00 ADD  CONSTRAINT FK_Q0210T00_01
 FOREIGN KEY (PR_ID_011, UBIC_ID_011) 
  REFERENCES Q0210T00 (PR_ID_010, UBIC_ID_010) ;

ALTER TABLE Q0211T00 ADD  CONSTRAINT FK_Q0282T00_03
 FOREIGN KEY (TELEM_ID_011) 
  REFERENCES Q0282T00 (TELEM_ID_082) ;

ALTER TABLE Q0211T00 ADD  CONSTRAINT FK_Q0283T00_04
 FOREIGN KEY (TIPR_OV_ID_011) 
  REFERENCES Q0283T00 (TIPR_OV_ID_083) ;

ALTER TABLE Q0211T00 ADD  CONSTRAINT FK_Q0285T00_04
 FOREIGN KEY (USO_ID_011) 
  REFERENCES Q0285T00 (USO_ID_085) ;

ALTER TABLE Q0212T00 ADD  CONSTRAINT FK_Q0208T00_03
 FOREIGN KEY (PR_ID_012) 
  REFERENCES Q0208T00 (PR_ID_008) ;

ALTER TABLE Q0212T00 ADD  CONSTRAINT FK_Q0291T00_01
 FOREIGN KEY (INCI_ID_012) 
  REFERENCES Q0291T00 (INCI_ID_091) ;

ALTER TABLE Q0213T00 ADD  CONSTRAINT FK_Q0276T00_08
 FOREIGN KEY (TH_ID_013) 
  REFERENCES Q0276T00 (TH_ID_076) ;

ALTER TABLE Q0213T00 ADD  CONSTRAINT FK_Q0277T00_11
 FOREIGN KEY (TH_ID_013, MUN_ID_013) 
  REFERENCES Q0277T00 (TH_ID_077, MUN_ID_077) ;

ALTER TABLE Q0213T00 ADD  CONSTRAINT FK_Q0278T00_07
 FOREIGN KEY (TH_ID_013, MUN_ID_013, ENT_ID_013) 
  REFERENCES Q0278T00 (TH_ID_078, MUN_ID_078, ENT_ID_078) ;

ALTER TABLE Q0214T00 ADD  CONSTRAINT FK_Q0228T00_04
 FOREIGN KEY (AGRUP_ID_014) 
  REFERENCES Q0228T00 (AGRUP_ID_028) ;

ALTER TABLE Q0214T00 ADD  CONSTRAINT FK_Q0274T00_01
 FOREIGN KEY (CUPO_ID_014) 
  REFERENCES Q0274T00 (CUPO_ID_074) ;

ALTER TABLE Q0217T00 ADD  CONSTRAINT FK_Q0215T00_01
 FOREIGN KEY (FM_ID_017) 
  REFERENCES Q0215T00 (FM_ID_015) ;

ALTER TABLE Q0217T00 ADD  CONSTRAINT FK_Q0216T00_01
 FOREIGN KEY (CONCEP_ID_017) 
  REFERENCES Q0216T00 (CONCEP_ID_016) ;

ALTER TABLE Q0218T00 ADD  CONSTRAINT FK_Q0276T00_05
 FOREIGN KEY (TH_ID_018) 
  REFERENCES Q0276T00 (TH_ID_076) ;

ALTER TABLE Q0218T00 ADD  CONSTRAINT FK_Q0277T00_05
 FOREIGN KEY (TH_ID_018, MUN_ID_018) 
  REFERENCES Q0277T00 (TH_ID_077, MUN_ID_077) ;

ALTER TABLE Q0218T00 ADD  CONSTRAINT FK_Q0278T00_04
 FOREIGN KEY (TH_ID_018, MUN_ID_018, ENT_ID_018) 
  REFERENCES Q0278T00 (TH_ID_078, MUN_ID_078, ENT_ID_078) ;

ALTER TABLE Q0219T00 ADD  CONSTRAINT FK_Q0228T00_03
 FOREIGN KEY (AGRUP_ID_019) 
  REFERENCES Q0228T00 (AGRUP_ID_028) ;

ALTER TABLE Q0219T00 ADD  CONSTRAINT FK_Q0285T00_05
 FOREIGN KEY (USO_ID_019) 
  REFERENCES Q0285T00 (USO_ID_085) ;

ALTER TABLE Q0220T00 ADD  CONSTRAINT FK_Q0220T00_01
 FOREIGN KEY (ARB_NODPAD_020) 
  REFERENCES Q0220T00 (ARB_ID_020) ;

ALTER TABLE Q0222T00 ADD  CONSTRAINT FK_Q0220T00_02
 FOREIGN KEY (ARB_ID_022) 
  REFERENCES Q0220T00 (ARB_ID_020) ;


ALTER TABLE Q0222T00 ADD  CONSTRAINT FK_Q0221T00_01
 FOREIGN KEY (DOC_ID_022) 
  REFERENCES Q0221T00 (DOC_ID_021) ;


ALTER TABLE Q0223T00 ADD  CONSTRAINT FK_Q0276T00_09
 FOREIGN KEY (TH_ID_023) 
  REFERENCES Q0276T00 (TH_ID_076) ;

ALTER TABLE Q0223T00 ADD  CONSTRAINT FK_Q0277T00_12
 FOREIGN KEY (TH_ID_023, MUN_ID_023) 
  REFERENCES Q0277T00 (TH_ID_077, MUN_ID_077) ;

ALTER TABLE Q0223T00 ADD  CONSTRAINT FK_Q0278T00_08
 FOREIGN KEY (TH_ID_023, MUN_ID_023, ENT_ID_023) 
  REFERENCES Q0278T00 (TH_ID_078, MUN_ID_078, ENT_ID_078) ;

ALTER TABLE Q0223T00 ADD  CONSTRAINT FK_Q0259T00_01
FOREIGN KEY (GRUPO_ID_023) 
REFERENCES Q0259T00 (GRUPO_ID_059) ;

ALTER TABLE Q0225T00 ADD  CONSTRAINT FK_Q0224T00_01
 FOREIGN KEY (EJER_ID_025) 
  REFERENCES Q0224T00 (EJER_ID_024) ;

ALTER TABLE Q0226T00 ADD  CONSTRAINT FK_Q0225T00_01
 FOREIGN KEY (VICE_ID_026, EJER_ID_026) 
  REFERENCES Q0225T00 (VICE_ID_025, EJER_ID_025) ;

ALTER TABLE Q0227T00 ADD  CONSTRAINT FK_Q0220T00_03
 FOREIGN KEY (ARB_ID_027) 
  REFERENCES Q0220T00 (ARB_ID_020) ;

ALTER TABLE Q0227T00 ADD  CONSTRAINT FK_Q0223T00_01
 FOREIGN KEY (DIRE_ID_027) 
  REFERENCES Q0223T00 (DIRE_ID_023) ;

ALTER TABLE Q0229T00 ADD  CONSTRAINT FK_Q0213T00_01
 FOREIGN KEY (ORAD_ID_029) 
  REFERENCES Q0213T00 (ORAD_ID_013) ;

ALTER TABLE Q0230T00 ADD  CONSTRAINT FK_Q0208T00_04
 FOREIGN KEY (PR_ID_030) 
  REFERENCES Q0208T00 (PR_ID_008) ;

ALTER TABLE Q0230T00 ADD  CONSTRAINT FK_Q0228T00_01
 FOREIGN KEY (AGRUP_ID_ACCUSO_030) 
  REFERENCES Q0228T00 (AGRUP_ID_028) ;

ALTER TABLE Q0230T00 ADD  CONSTRAINT FK_Q0228T00_02
 FOREIGN KEY (AGRUP_ID_CUPO_030) 
  REFERENCES Q0228T00 (AGRUP_ID_028) ;

ALTER TABLE Q0230T00 ADD  CONSTRAINT FK_Q0229T00_01
 FOREIGN KEY (ORDEN_ID_030) 
  REFERENCES Q0229T00 (ORDEN_ID_029) ;

ALTER TABLE Q0232T00 ADD  CONSTRAINT FK_Q0231T00_01
 FOREIGN KEY (AREA_ID_032) 
  REFERENCES Q0231T00 (AREA_ID_031) ;

ALTER TABLE Q0232T00 ADD  CONSTRAINT FK_Q0277T00_06
 FOREIGN KEY (TH_ID_032, MUN_ID_032) 
  REFERENCES Q0277T00 (TH_ID_077, MUN_ID_077) ;

ALTER TABLE Q0232T00 ADD  CONSTRAINT FK_Q0276T00_12
 FOREIGN KEY (TH_ID_032) 
  REFERENCES Q0276T00 (TH_ID_076) ;

ALTER TABLE Q0234T00 ADD  CONSTRAINT FK_Q0266T00_01
 FOREIGN KEY (RESUL_ID_034) 
  REFERENCES Q0266T00 (RESUL_ID_066) ;

ALTER TABLE Q0234T00 ADD  CONSTRAINT FK_Q0267T00_01
 FOREIGN KEY (ESTEDI_ID_034) 
  REFERENCES Q0267T00 (ESTEDI_ID_067) ;

ALTER TABLE Q0235T00 ADD  CONSTRAINT FK_Q0231T00_02
 FOREIGN KEY (AREA_ID_035) 
  REFERENCES Q0231T00 (AREA_ID_031) ;

ALTER TABLE Q0235T00 ADD  CONSTRAINT FK_Q0234T00_01
 FOREIGN KEY (ESTAD_ID_035) 
  REFERENCES Q0234T00 (ESTAD_ID_034) ;

ALTER TABLE Q0235T00 ADD  CONSTRAINT FK_Q0265T00_01
 FOREIGN KEY (AGR_ID_035) 
  REFERENCES Q0265T00 (AGR_ID_065) ;

ALTER TABLE Q0235T00 ADD  CONSTRAINT FK_Q0276T00_06
 FOREIGN KEY (TH_ID_035) 
  REFERENCES Q0276T00 (TH_ID_076) ;

ALTER TABLE Q0235T00 ADD  CONSTRAINT FK_Q0277T00_08
 FOREIGN KEY (TH_ID_035, MUN_ID_035) 
  REFERENCES Q0277T00 (TH_ID_077, MUN_ID_077) ;

ALTER TABLE Q0236T00 ADD  CONSTRAINT FK_Q0235T00_01
 FOREIGN KEY (CABEC_ID_036) 
  REFERENCES Q0235T00 (CABEC_ID_035) ;

ALTER TABLE Q0237T00 ADD  CONSTRAINT FK_Q0235T00_02
 FOREIGN KEY (CABEC_ID_037) 
  REFERENCES Q0235T00 (CABEC_ID_035) ;

ALTER TABLE Q0238T00 ADD  CONSTRAINT FK_Q0235T00_03
 FOREIGN KEY (CABEC_ID_038) 
  REFERENCES Q0235T00 (CABEC_ID_035) ;

ALTER TABLE Q0239T00 ADD  CONSTRAINT FK_Q0235T00_04
 FOREIGN KEY (CABEC_ID_039) 
  REFERENCES Q0235T00 (CABEC_ID_035) ;

ALTER TABLE Q0239T00 ADD  CONSTRAINT FK_Q0261T00_01
 FOREIGN KEY (COINM_ID_039) 
  REFERENCES Q0261T00 (COINM_ID_061) ;
  
ALTER TABLE Q0240T00 ADD  CONSTRAINT FK_Q0235T00_05
 FOREIGN KEY (CABEC_ID_040) 
  REFERENCES Q0235T00 (CABEC_ID_035) ;

ALTER TABLE Q0240T00 ADD  CONSTRAINT FK_Q0262T00_01
 FOREIGN KEY (IND_ID_040) 
  REFERENCES Q0262T00 (IND_ID_062) ;
  

ALTER TABLE Q0241T00 ADD  CONSTRAINT FK_Q0234T00_02
 FOREIGN KEY (ESTAD_ID_041) 
  REFERENCES Q0234T00 (ESTAD_ID_034) ;

ALTER TABLE Q0241T00 ADD  CONSTRAINT FK_Q0264T00_01
 FOREIGN KEY (EXP_ID_041) 
  REFERENCES Q0264T00 (EXP_ID_064) ;

ALTER TABLE Q0241T00 ADD  CONSTRAINT FK_Q0276T00_07
 FOREIGN KEY (TH_ID_041) 
  REFERENCES Q0276T00 (TH_ID_076) ;

ALTER TABLE Q0241T00 ADD  CONSTRAINT FK_Q0277T00_09
 FOREIGN KEY (TH_ID_041, MUN_ID_041) 
  REFERENCES Q0277T00 (TH_ID_077, MUN_ID_077) ;

ALTER TABLE Q0242T00 ADD  CONSTRAINT FK_Q0208T00_05
 FOREIGN KEY (PR_ID_042) 
  REFERENCES Q0208T00 (PR_ID_008) ;

ALTER TABLE Q0243T00 ADD  CONSTRAINT FK_Q0242T00_01
 FOREIGN KEY (PR_ID_043, ADJ_ID_043) 
  REFERENCES Q0242T00 (PR_ID_042, ADJ_ID_042) ;

ALTER TABLE Q0243T00 ADD  CONSTRAINT FK_Q0290T00_02
 FOREIGN KEY (ADJUD_SEXO_043) 
  REFERENCES Q0290T00 (SEXO_ID_090) ;

ALTER TABLE Q0244T00 ADD  CONSTRAINT FK_Q0235T00_06
 FOREIGN KEY (CABEC_ID_044) 
  REFERENCES Q0235T00 (CABEC_ID_035) ;

ALTER TABLE Q0244T00 ADD  CONSTRAINT FK_Q0260T00_01
 FOREIGN KEY (CNECDEM_ID_044) 
  REFERENCES Q0260T00 (CNECDEM_ID_060) ;

ALTER TABLE Q0263T00 ADD  CONSTRAINT FK_Q0276T00_14
 FOREIGN KEY (CAL_PROV) 
  REFERENCES Q0276T00 (TH_ID_076) ;

ALTER TABLE Q0263T00 ADD  CONSTRAINT FK_Q0277T00_04
 FOREIGN KEY (CAL_PROV, CAL_MUNI) 
  REFERENCES Q0277T00 (TH_ID_077, MUN_ID_077) ;

ALTER TABLE Q0263T00 ADD  CONSTRAINT FK_Q0281T00_01
 FOREIGN KEY (CAL_TVIA) 
  REFERENCES Q0281T00 (VIAL_ID_081) ;

ALTER TABLE Q0271T00 ADD  CONSTRAINT FK_Q0272T00_01
 FOREIGN KEY (TTIT_ID_071) 
  REFERENCES Q0272T00 (TTIT_ID_072) ;
  
ALTER TABLE Q0271T00 ADD  CONSTRAINT FK_Q0279T00_01
FOREIGN KEY (TIT_DNICIF_071) 
REFERENCES Q0279T00 (TIT_DNICIF_079) ;

ALTER TABLE Q0277T00 ADD  CONSTRAINT FK_Q0276T00_13
 FOREIGN KEY (TH_ID_077) 
  REFERENCES Q0276T00 (TH_ID_076) ;

ALTER TABLE Q0278T00 ADD  CONSTRAINT FK_Q0277T00_07
 FOREIGN KEY (TH_ID_078, MUN_ID_078) 
  REFERENCES Q0277T00 (TH_ID_077, MUN_ID_077) ;

ALTER TABLE Q0279T00 ADD  CONSTRAINT FK_Q0276T00_10
 FOREIGN KEY (TH_ID_079) 
  REFERENCES Q0276T00 (TH_ID_076) ;

ALTER TABLE Q0279T00 ADD  CONSTRAINT FK_Q0277T00_13
 FOREIGN KEY (TH_ID_079, MUN_ID_079) 
  REFERENCES Q0277T00 (TH_ID_077, MUN_ID_077) ;

ALTER TABLE Q0279T00 ADD  CONSTRAINT FK_Q0278T00_09
 FOREIGN KEY (TH_ID_079, MUN_ID_079, ENT_ID_079) 
  REFERENCES Q0278T00 (TH_ID_078, MUN_ID_078, ENT_ID_078) ;
  
  
 ALTER TABLE Q0279T00 ADD  CONSTRAINT FK_Q0263T00_02
 FOREIGN KEY (TH_ID_079, MUN_ID_079, CALL_ID_079) 
  REFERENCES Q0263T00 (CAL_PROV, CAL_MUNI, CAL_CALL); 

ALTER TABLE Q0279T00 ADD  CONSTRAINT FK_Q0270T00_01
 FOREIGN KEY (TIT_TIP_079) 
  REFERENCES Q0270T00 (TD_ID_070) ;