SQL clean
WIP