1、打开一个IntelliJ IDEA的界面中
2、点击左上角中的 file 菜单
3、点击了file菜单之后,弹出了下拉菜单选中为 settings 选项
4、进入到了settings界面中,点击左侧中的 code completion 选项
5、点击左侧中的 code completion 选项之后,勾选上 automatically add aliases when completing table names 选项
6、勾选上 automatically add aliases when completing table names 选项之后,点击 ok