SQL reads from console