select dbms_metadata.get_ddl('TABLE','TABLE_NAME') from dual;

TABLE_NAME是你要查询的表名,注意这个必须大写。