https://sqlundercover.com/2018/12/18/quickly-compare-data-in...
Also, checksum/ checksum_agg do not seem like SQL standard functions. referring https://www.postgresql.org/docs/current/features.html and https://en.wikipedia.org/wiki/SQL:2023#New_features.
And by “remember” I mean I wrote it down here so that I wouldn’t have to - https://til.secretgeek.net/sql_server/bulk_comparison_with_h...
https://sqlundercover.com/2018/12/18/quickly-compare-data-in...