Let's practice some SQL
CREATE DATABASES based on the following Classes
# create a db called middle_earth_db
class Hobbit
attr_accessor :name, age, :is_couragous
end
# create a db called amazon_db and a table called books
class Product
def initialize(price, description)
@price = price
@description = description
end
end
class Book < Product
attr_accessor :title, :author, :published_on
end