#!/usr/bin/env ruby require 'sqlite3' db = SQLite3::Database.new("weather.db") db.execute("select * from rain") do |result| puts result.to_s end #db.execute("select * from wind") do |result| # puts result.to_s #end #db.execute("select * from temp") do |result| # puts result.to_s #end db.close