如何 select 具有来自 user_tables 的特定度数的表

How to select tables with specific degree from user_tables

select * from user_tables where degree = '1';

这是给 null 但是当我们这样做时

select * from user_tables 

然后它确实显示了 1 度的表格

几年前我遇到过类似的问题,Degree 列是 varchar2(10) 因此你应该使用下面的查询

SELECT * FROM USER_TABLES WHERE TRIM(DEGREE) = '6';