
sub consultas sql en un sp
Publicado por javier (2 intervenciones) el 16/12/2015 20:59:07
estoy queriendo realizar un sub select en un procedimiento almacenado pero al momento de correrlo me sale el error
Only one expression can be specified in the select list when the subquery is not introduced with EXISTS
(select Matricula,correo,telefonoDirecto,celular from unidadResponsables where tipo=(select(tipo)from unidadResponsables where tipo=1))
Only one expression can be specified in the select list when the subquery is not introduced with EXISTS
(select Matricula,correo,telefonoDirecto,celular from unidadResponsables where tipo=(select(tipo)from unidadResponsables where tipo=1))
Valora esta pregunta


0