TAILIEUCHUNG - Oracle PL/SQL by Example- P13

Tham khảo tài liệu 'oracle pl/sql by example- p13', công nghệ thông tin, cơ sở dữ liệu phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | LAB 572 Lab Exercises Explained. SQL SELECT FROM TABLE PLAN_TABLE_OUTPUT I Id Operation Name I Rows I Bytes I Cost CPU I Time I I 0 SELECT STATEMENT I 78 I 4368 I 9 34 I 00 00 01 I I 1 HASH JOIN I 78 I 4368 I 9 34 I 00 00 01 I I 2 HASH JOIN I 78 I 2574 I 6 34 I 00 00 01 I I 3 TABLE ACCESS FULL INSTRUCTOR I 10 I 140 I 3 34 I 00 00 01 I I 4 TABLE ACCESS FULL SECTION I 78 I 1482 I 3 34 I 00 00 01 I I 5 TABLE ACCESS FULL COURSE I 30 I 690 I 3 34 I 00 00 01 I Predicate Information identified by operation id 1 - access S . COURSE_NO C . COURSE_NO 2 - access S . INSTRUCTOR_ID I . INSTRUCTOR_ID 17 rows selected. LAB EXERCISES This section provides exercises and suggested answers with discussion related to how those answers most important thing to realize is whether your answer should figure out the implications of the answers and what the effects are of any different answers you may come up with. Generate an Explain Plan with DBMS_XPLAN Complete the following tasks A Find out if your schema has a table named PLAN_TABLE that matches the DDL in the plan table script . If it does not use the script to create the PLAN_TABLE. ANSWER Describe this does not match the values in run the script. B Compute statistics on all tables in your schema using a single SQL statement to generate the command. ANSWER SQL Spool SQL set pagesize 500 SQL select Analyze table table_name compute statistics from user_tables Please purchase PDF Split-Merge on to remove this watermark. LAB 573 Lab Exercises SQL Spool off SQL @ C The following SQL statement generates a list of the open sections in courses that the student with an ID of 214 is not enrolled in. Many different SQL statements would produce the same result. Because various inline views are required it is important to examine

TỪ KHÓA LIÊN QUAN
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.