The only really urgent thing here is you need to read sql docs