I am getting different output for count(*) in sqlplus and in sqldeveloper. The Database is Oracle 11G.
SQL Developer
Select count(*) from table1 where web_ck_d = to_char(sysdate-1,'DD-MON-YY'); Count(*) 1083171
Sqlplus
SQL> Select count(*) from table1 where web_ck_d = to_char(sysdate-1,'DD-MON-YY');
COUNT(*)
0
The table has NUM_ROWS-357238869, BLOCKS-14978755, PARTITIONED-YES in all_tables.
Not understanding why sqlplus is resulting 0. Please help.