Moved sql to root