sketch rough sql thing