以下是引用片段: create sequence tmp_id increment by 1 start with 1 maxvalue 9999999 nocycle nocache; |
以下是引用片段: create table tmp_1 as select tmp_id.nextval as id, email,mobileno from 表名 where 条件; |
以下是引用片段: execute dbms_random.seed(12345678); 或者 execute dbms_random.seed (TO_CHAR(SYSDATE,'MM-DD-YYYY HH24:MI:SS')); |
以下是引用片段: create table tmp_2 as select trunc (dbms_random.value(1,5000)) as id from tmp_1 where rownum<201; |
以下是引用片段: create table tmp_2 as select trunc(dbms_random.value(1,5000)) as id from tmp_3 where rownum<201; ] |
以下是引用片段: select t1.mobileno,t1.email from tmp_1 t1, tmp_2 t2 where t1.id=t2.id; |
以下是引用片段: set pagesize 300; spool /tmp/200.txt; select t1.mobileno,t1.email from tmp_1 t1, tmp_2 t2 where t1.id=t2.id order by t1.mobileno; spool off; |
新闻热点
疑难解答