Network setup SQL