No data sources are configured to run this SQL and provide advanced code assistance. Disable this inspection via problem menu
1、问题
No data sources are configured to run this SQL and provide advanced code assistance. Disable this inspection via problem menu (Alt+Enter).
SQL Dialects
2、原因
需正确配置DataBase
3、解决
配置方言
Settings -> Languages & Frameworks -> SQL Dialects 配置即可。
配置数据库
重要:Database一定要配置,会匹配数据库中的表。
问题解决。
OK,就这些吧。
有什么不对的还望指正,书写不易,觉得有帮助就点个赞吧!☺☺☺
参考链接:https://blog.csdn.net/weixin_42022756/article/details/127518007