Added db:query command

Allows the user to execute an SQL query. If the query wasn't provided as an argument, the user will be prompted for the query.