Hola foro:
si tengo una tabla con un gran numero de registros necesito validar por un dato particular q puede ser, digamos, 1 ó 2
es conveniente hacer
select * from tabla where tipo_dato=1 and xxx;
select * from tabla where tipo_dato=2 and xxx;
o hacer
select * from tabla where xxx ;
y luego validar el tipo_dato con php
que es mas rápido y conveniente?
gacias!