Thanks Please why is my last_analyzed query giving 0 rows selected. i just gather table stats. SQL> select last_analyzed from dba_tables where table_name='dept11' 2 ; no rows selected SQL> EXEC DBMS_STATS.gather_table_stats('ggtraining1', 'dept11') PL/SQL procedure successfully completed. SQL> select last_analyzed from dba_tables where table_name='dept11' 2 ; no rows selected