proofreading of sql thing