Se me ocurre: select * from tabla_valores where camp1 in(select val1 from tabla_ datos) or camp1 in(select val2 from tabla_ datos) or ... ... Pero me gusta mas la forma en que lo hiciste con union
Guillermo Villanueva
Se me ocurre: select * from tabla_valores where camp1 in(select val1 from tabla_ datos) or camp1 in(select val2 from tabla_ datos) or ... ... Pero me gusta mas la forma en que lo hiciste con union
Guillermo Villanueva