SQL Query related

I’m unable to have StudioX run SQL queries, Anybody knows the fix for this?