Advertisement
Guest User

Untitled

a guest
Jan 20th, 2017
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #Credenciado (Found 1)
  2. mmp10=> select count(*) from mmp_pre_dossie as d left join res_partner as p on d.credenciado_id=p.id where p.name='';
  3.  count
  4. -------
  5.      1
  6. (1 registro)
  7.  
  8. #Autor (Found 4)
  9. mmp10=> select count(*) from mmp_pre_dossie as d left join res_partner as p on d.autor_id=p.id where p.name='';
  10.  count
  11. -------
  12.      4
  13. (1 registro)
  14.  
  15. #Contato (Found 153)
  16. mmp10=> select count(*) from mmp_pre_dossie as d left join res_partner as p on d.contato_id=p.id where p.name='';
  17.  count
  18. -------
  19.    153
  20. (1 registro)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement