相关文章推荐
苦闷的骆驼  ·  Python Qt ...·  1 年前    · 
打盹的泡面  ·  matlab ...·  1 年前    · 
selectthis_.idasid25_1_,this_.BL_CODEasBL2_25_1_,this_.RECEIVERasRECEIVER25_1_,this_.... select this_.id as id25_1_,
this_.BL_CODE as BL2_25_1_,
this_.RECEIVER as RECEIVER25_1_,
this_.HANDLER as HANDLER25_1_,
this_.BL_DATE as BL5_25_1_,
this_.TOTAL as TOTAL25_1_,
this_.REMARKS as REMARKS25_1_,
this_.STATE as STATE25_1_,
this_.INVENTORY_DATE as INVENTORY9_25_1_,
this_.LLRID as LLRID25_1_,
this_.CONFIRM_STATE as CONFIRM11_25_1_,
this_.CREATER as CREATER25_1_,
this_.RECEIVE_ORG_ID as RECEIVE13_25_1_,
this_.BL_ID as BL14_25_1_,
this_.ORGAN_ID as ORGAN15_25_1_,
bndusertab2_.USERID as USERID9_0_,
bndusertab2_.LOGINNAME as LOGINNAME9_0_,
bndusertab2_.USERNAME as USERNAME9_0_,
bndusertab2_.PASSWORD as PASSWORD9_0_,
bndusertab2_.REDATE as REDATE9_0_,
bndusertab2_.PHONE as PHONE9_0_,
bndusertab2_.STATE as STATE9_0_,
bndusertab2_.EMAIL as EMAIL9_0_,
bndusertab2_.CORECODE as CORECODE9_0_,
bndusertab2_.ROLES as ROLES9_0_,
bndusertab2_.STAFFID as STAFFID9_0_
from BND_STORAGE_BL this_
left outer join BND_USER_TAB bndusertab2_ on this_.CREATER =
bndusertab2_.USERID
where BL20130401342

oracle错误:ORA-00920: 无效的关系运算符是运算符使用错误造成的,解决方法为:

1、双击plsql developer软件,进行连接数据库。

2、在命令窗口中先进行简单查询,并不进行限定查询,如下图。

3、限定查询其实就是where子句, 逻辑运算符 就是and or not,在查询的时候对输出结果进行定制查询,因为当表的数据量非常大的时候,直接使用简单查询有效率会非常的低,特别在是查询大表数据的时候,如下图查看sh用户下其中一张表的数据。

4、因为数据量非常的大所以在查询的时候非常有必要进行限定查询,在限定查询的时候条件尽量要精确,如下图因为条件不太精确导致查询的时候也非常的长。

5、同时在进行限定查询的时候可以使用and or not等运算符,如下图可以看到在使用了逻辑运算符之后查询数据更加精确,效率也更高效,在使用and的时候要求两边的条件都必须满足才可以。

6、在使用逻辑运算符or的时候,只要两边的条件有一个满足就可以进行相应的查询,如下图。