How can I add characters and chain two db queries in the puts statement of Ruby? I'm using sqlite 3
The desired output I want is
Sam - 32
I imagine the code would look something like this:
puts $db.execute(SELECT first_name FROM info) + " - " + $db.execute(SELECT age FROM info)
I know that there is an issue with converting the string to an array. Any help would be appreciated!
