Skip to content
Advertisement

Tag: error-handling

aiosqlite “Result” object has no attribue “execute”

I’m making a discord.py bot and I’m currently on the economy part, but I’m encountering a strange error that I’ve never ran into before and has most of the python discord help dumbfounded. The error is as follows: Command raised an exception: AttributeError: ‘Result’ has no attribute ‘execute’ I’m having trouble understanding the meaning of this error due to the

How to output total number of professions in SQL based on 4 tables

I have the following tables available through this link: tables. I’m trying to do a query where I list out the degrees (profession) and the counts associated with that profession. If the degree is listed more than twice, it should output ‘Popular Degree’. I coded: I get an output of this, which is wrong: My query result I am not

Advertisement