Skip to content

Instantly share code, notes, and snippets.

@tschifftner
Created April 5, 2018 14:13
Show Gist options
  • Save tschifftner/539397630a7913b3bf2a6c961edb5085 to your computer and use it in GitHub Desktop.
Save tschifftner/539397630a7913b3bf2a6c961edb5085 to your computer and use it in GitHub Desktop.
Get products not updated by ho_import recently
SELECT cpe.sku, hie.profile, hie.updated_at FROM ho_import_entity as hie
LEFT JOIN catalog_product_entity as cpe ON cpe.entity_id = hie.entity_id
WHERE hie.updated_at < NOW() - INTERVAL 2 MONTH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment