select * from tbl

この1行を実行できるRubyのコードを書いてください