Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2014
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. SELECT
  2. `value`
  3. FROM
  4. `customer_entity_varchar`
  5. WHERE
  6. `entity_id` = 10 AND
  7. `attribute_id` = (SELECT
  8. `e`.`attribute_id`
  9. FROM
  10. `eav_attribute` e
  11. LEFT JOIN
  12. `eav_entity_type` et
  13. ON `e`.`entity_type_id` = `et`.`entity_type_id`
  14. WHERE
  15. `e`.`attribute_code` = 'password_hash' AND
  16. `et`.`entity_type_code` = 'customer'
  17. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement