With sql wifi query