select queries now work, and print tabular output.