Add SetupSQLStatements
Summary:
This is a backport of core#19077 [10/26]
https://github.com/bitcoin/bitcoin/pull/19077/commits/7aa45620e2f2178145a2eca58ccbab3cecff08fb
Depends on D10552
Test Plan:
With clang-tidy:
ninja
Reviewers: #bitcoin_abc, Fabien
Reviewed By: #bitcoin_abc, Fabien
Differential Revision: https://reviews.bitcoinabc.org/D10553