Add SQL query
windows stuff