Skip to content

Instantly share code, notes, and snippets.

@prgTW
Created July 9, 2020 10:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save prgTW/707dd7ff4c139fd48b43b2ca9f2832cf to your computer and use it in GitHub Desktop.
Save prgTW/707dd7ff4c139fd48b43b2ca9f2832cf to your computer and use it in GitHub Desktop.
SELECT count(*) FROM product1 WHERE agreement_id = :id;
-- 77924
SELECT count(*) FROM product2 WHERE agreement_id = :id;
-- 1486
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment