Ver originalSELECT L1.* FROM lloc L1 INNER JOIN lloc L2 ON L1.id_lloc=L2id_llocWHERE L1.n_tarea = 1 and L2.id_lloc = 2);