staging some sql for sniffing schema