select examples work for sqlite, mysql, and pgsql using PDO driver