Moved SQL details to inc/