Repo for some sql queries for the CounterPoint point of sale system