Advertisement
Maks140888

Untitled

Jun 2nd, 2022
1,145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MySQL 0.30 KB | None | 0 0
  1. select /*query1*/ b.dname, count(a.ename) as counts from new_emp a, new_dept b
  2. where a.deptno = b.deptno
  3. GROUP BY b.dname
  4. having count(a.ename) = 0;
  5.  
  6. select sql_id, child_number from v$sql where sql_text like '%query1%';
  7.  
  8. SELECT * FROM table(DBMS_XPLAN.DISPLAY_CURSOR('bhkpcfp6bkr6a',0));
  9.  
  10.  
  11.  
  12.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement