sql for swipes, more test data