SELECT Productos.*, Categorias.Nombre AS Ncategoria FROM Productos LEFT JOIN Categorias ON Productos.Cat2 = Categorias.Cod WHERE Productos.cod=64 and productos.mostrar=true and categorias.mostrar=true