select (viviendas/ (select num_vivi from fraccionamientos WHERE id=1) )*100 as total from ingre_men, fecha_fin WHERE fecha_fin= fecha_fin.fecha and id_fracc=1
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!