ORACLE Training in Chennai

ORACLE Training in Chennai

Learn Oracle Training In Chennai At GREENS TECHNOLOGY – No 1 Best Oracle Training Institute in Chennai with Certification and Assured Job Placements. Call @ 89399 15577 For More Details. 

Register today and Try two Oracle FREE CLASS to see for yourself the quality of training.

Oracle Training In Chennai

Awarded as the Best Oracle Training Center in Chennai - We Guarantee Your Oracle Training Success in Chennai

Rated as No 1 Oracle training institute in Chennai for certification and Assured Placements. Our Job Oriented Oracle training in chennai courses are taught by experienced certified professionals with extensive real-world experience. All our Best Oracle training in Chennai focuses on practical than theory model.

Get Trained at GREENS TECHNOLOGY and become a ORACLE Certified Expert!

ORACLE TRAINING COURSE CONTENT

ABOUT ORACLE INSTRUCTOR

- Dinesh work as an Oracle Consultant & Instructor, He has over 11 years of Oracle Implementation experience and recognized expert in Oracle data warehouse technologies, advanced analytics and Oracle data mining. Mr. Dinesh specializes in Oracle Discoverer, Oracle OLAP and Oracle Data Warehouse Builder.

- He is also been as Senior Instructor of Oracle University and provided 120 Corporate trainings, trained 2500 corporate & fresher employees. He is an Oracle Certified Master (OCM). Expertised with RAC, Data Guard, ASM, Oracle Exadata, RMAN, Oracle Performance Tuning, Streams, Security & more.

- Dinesh work as an Oracle Consultant & Instructor, He has over 11 years of Oracle Implementation experience and recognized expert in Oracle data warehouse technologies, advanced analytics and Oracle data mining.  Mr. Dinesh specializes in Oracle Discoverer, Oracle OLAP and Oracle Data Warehouse Builder.

- He is also been as Senior Instructor of Oracle University and provided 120 Corporate trainings, trained 2500 corporate & fresher employees.
He is an Oracle Certified Master (OCM). Expertised with RAC, Data Guard, ASM, Oracle Exadata, RMAN, Oracle Performance Tuning, Streams, Security & more.

He is among few of the Oracle Certified Master (OCM's) in the World to achieve below certifications in his area of research.
- Oracle Certified Professional (OCP) 9i
- Oracle Certified Professional (OCP) 10g
- Oracle Certified Professional (OCP) 11g
- Oracle 10g Certified RAC Expert
- Oracle 10g Certified Master (OCM)
- Oracle 11g Exadata Certified Implementation Specialist

Conducting regularly online- training for US peoples in all time zones (PST,CST,EST,HST,MST) My training is 100% Money Back Guarantee (Tuition fee) for Passing Online Examination with cent percent and ready to go live with production system immediately. If my training does not satisfy you at any point of time, even during the training period, you need not pay the tuition fee.

100% practical training only. It is not a slide show training program / theory class program. At the end of this class, definitely you will refer your colleagues / friends / relatives for my training.

FREE Demo Session: Try two FREE CLASS to see for yourself the quality of training.

Free Materials Povided during Demo sessions

Talk to the Trainer @ +91-89399 15577

Oracle Training Course Content

  • 1. SQL and PL/SQL
  • 2. SQL Tuning for Developers
  • 3. Oracle DBA Training in Chennai
  • 4. Oracle RAC DBA Training in Chennai
  • 5. Oracle DBA Data Guard Training in Chennai
  • 6. Oracle Performance Tuning Training Classes
  • 7. Oracle 12c Training
  • 8. Oracle Apex Training in Chennai
  • 9. Oracle eBusiness Suite Training
  • 10. XML Developer

ORACLE Expert Training: Learn Oracle from the same team involved in Oracle product development.
We are the Leading Oracle real time training institute in Chennai. We offer best oracle training with real-time project scenarios. We can guarantee classes that makes you as a Oracle Certified Professional.

Oracle Certification Training in Chennai

Best OCA / OCP Training in Chennai with in-depth Oracle Exam preparation towards Oracle 10g, Oracle 11g, Oracle 12c Certification.

Oracle Developer Certification Training

  • 1Z0-061 Oracle Database 12c: SQL Fundamentals
  • 1Z0-047 Oracle Database SQL Expert
  • 1Z0-117 Oracle Database 11g Release 2: SQL Tuning
  • 1Z0-051 Oracle Database 11g: SQL Fundamentals I
  • 1Z0-147 Program with PL/SQL
  • 1Z0-144 Oracle Database 11g: Program with PL/SQL

Oracle Database Administrators Certification Training

  • 1Z0-062 Oracle Database 12c: Installation and Administration
  • 1Z0-063 Oracle Database 12c: Advanced Administration
  • 1Z0-051 Oracle Database 11g: SQL Fundamentals I
  • 1Z0-052 Oracle Database 11g: Administration I
  • 1Z0-053 Oracle Database 11g: Administration II

Oracle Database 10g: Real Application Clusters (RAC) Administrator Certified Expert Training

  • 1Z0-048 Oracle Database 10g R2: Real Application Clusters for Administrators

Oracle SQL Training Course Content :

Introduction

  • Describe the features of Oracle Database 12c
  • Describe the salient features of Oracle Cloud 12c
  • Explain the theoretical and physical aspects of a relational database
  • Describe Oracle servers implementation of RDBMS and object relational database management system (ORDBMS)

1. Basic DATABASE Concept and SQL

  • Basic history of database concept: DBMS, RDBMS, ORDBMS
  • Advantage of ORACLE database and version information
  • Interface tools usage: sqlplus, isqlplus, sqldeveloper, Toad
  • SQL Language overview : DQL, DML, DDL, DCL, TCL
  • What is the usage of ANSI standard.
  • SELECT Command - Column Alias Rules, String data,
  • Concatenations with various data
  • Null Value handling with number and characters,
  • Arithmetic Operator
  • Concatenation Operator,
  • Eliminating Duplicate Rows

2. Restricting and Sorting Data

  • WHERE Clause - Character Strings and Dates, number
  • General Comparison Conditions = > >= < <= <>
  • Other Comparison BETWEEN , IN , LIKE , NULL
  • Logical Conditions AND OR NOT
  • ORDER BY Clause, Sorting by Column Alias , Column Position, Multiple Columns

3. Single-Row Functions

  • Character Functions: UPPER, LOWER, INITCAP, LENGTH, SUBSTR, INSTR, LPAD, RPAD, CONCAT, LTRIM, RTRIM, TRIM, REPLACE, TRANSLATE, REVERSE
  • Number Functions: ROUND, TRUNC, MOD, POWER, CEIL , FLOOR, ABS
  • Dates Functions: SYSDATE, MONTHS_BETWEEN, NEXT_DAY, LAST_DAY, ADD_MONTHS, ROUND, TRUNC, Arithmetic on Date
  • Conversion Functions: Implicit Data-Type Conversion & Explicit Data-Type Conversion, TO_CHAR ,TO_NUMBER ,TO_DATE
  • General Functions: NVL , NVL2 , NULLIF, COALESCE
  • CASE Expression, DECODE
  • Nested function with real-time usage

4. JOINS

  • EQUI JOIN / SIMPLE JOIN / NORMAL JOIN
  • ANSI JOIN, LEFT OUTER, RIGHT OUTER, FULL OUTER
  • NATURAL JOIN, NATURAL OUTER JOINS
  • INNER JOIN, JOIN ... USING clause, JOIN ... ON clause,
  • CROSS JOIN, NON-EQUI JOIN, SELF JOIN
  • ORACLE STANDARD OUTER JOINS.
  • Multi table Joins, Complex Joins How to simplified complex joins.

5. Multi-row Functions

  • Group Functions Rules, SUM, MIN, MAX, COUNT, AVG
  • Creating Groups of Data: GROUP BY Clause
  • Filtering Group Results: The HAVING Clause

6. Sub-queries

  • Single-Row Subqueries- Rules, Operators : = > >= < <= <>
  • Null Values in a Subquery
  • Multi-Row Subqueries- Rules, Operators : IN, ANY , ALL

7. Reporting data using interface commands

  • pagesize, linesize , column heading , column format , colsep
  • tTitle , bTitle , break on column, spool , CSV file generation, Text file generation

8. Data Manipulation Language DML and Transaction Control Language TCL

  • DML : INSERT, UPDATE, DELETE, MERGE
  • TCL : COMMIT, ROLLBACK, SAVEPOINT

9. Data Definition Language - DDL

  • DDL : CREATE, ALTER, RENAME, DROP, TRUNCATE
  • DEFAULT OPTION.
  • Constrain table copy

10. Constraints

  • NOT NULL, UNIQUE, PRIMARY KEY, FOREIGN KEY, CHECK
  • Column Level Constraint, Table Level Constraint Naming constraints and usage
  • Adding a Constraint, Dropping a Constraint,
  • Disabling Constraints, Enabling Constraints
  • Validating Constraints

11. Views

  • Simple Views and Complex Views , Create, Drop, Source Code
  • Rules for Performing DML Operations on a View
  • WITH CHECK OPTION , WITH READ ONLY
  • Inline Views
  • Materialized View , Create, Refresh, Drop - Usage

12. Other Database Objects

  • Sequence- NEXTVAL and CURRVAL
  • Index - When to Create an Index, When Not to Create an Index.
  • Synonyms

13. DCL COMMANDS

  • Creating Users
  • Granting / Revoking Privileges
  • Creating and Granting Privileges to a Role

14. Dictionary Tables

  • Tables, Views, Synonyms, Index, Sequence, Constrains, Source and other Dictionary

15. SET Operators

  • UNION ,
  • UNION ALL ,
  • INTERSECT ,
  • MINUS

16. Advanced Date-time Functions

  • TIME ZONES ,
  • SYSDATE, SYSTIMESTAMP,
  • CURRENT_DATE , CURRENT_TIMESTAMP
  • SESSIONTIMEZONE ,
  • Storing time zone data in Table
  • EXTRACT ,
  • TO_YMINTERVAL

17. Advanced GROUP BY Clause

  • Group by with ROLLUP,
  • Group by with CUBE,
  • GROUPING SETS

18. Advanced Subqueries

  • Pairwise Comparison Subquery ,
  • Nonpairwise Comparison Subquery
  • Correlated Subqueries,
  • Correlated UPDATE,
  • Correlated DELETE
  • EXISTS , NOT EXISTS Operator

19. Hierarchical Retrieval

  • Walking the Tree: From the Bottom Up , From the Top Down
  • LEVEL Pseudo column,
  • Connect by prior,

20. Multi-table Insert

  • Unconditional INSERT ALL
  • Conditional INSERT ALL
  • Conditional FIRST INSERT

21. DATA LOADER

  • SQLLDR Loading CSV file / Flat file into ORACLE table.

22. Analytic Functions

  • WM_CONCAT, LAG, LEAD, RANK, DENSE_RANK
  • Query_by partition_clause with sum, min, max, avg, count,
  • order_by_clause with sum, min, max, avg, count,
  • Psudo column : Rownum, Rowid, - Elimination duplicate data
  • Connect by rownum , Connect by Level Generating random numbers, random dates,
  • Quote Operator syntax and usage

23. Backup

  • Export / Import SCHEMA

24. General discussion

  • What is migration?
  • Migration Estimating, Planning, Preparation Simple Scenario / Complex Scenario.

SQL and PL/SQL Certification

Become an Oracle Database SQL Certified Associate and demonstrate understanding of fundamental SQL concepts needed to undertake any database project.
Complete Oracle Database SQL 1Z0-071 and Oracle Database 11g: Program with PL/SQL 1Z0-144 to earn the Oracle Database SQL Certified Associate Certification and Oracle PL/SQL Developer Certified Associate Certification.

Oracle SQL Statement Tuning Training Course Content

Exploring the Oracle Database Architecture

  • Describe the major architectural components of Oracle Database server
  • Explain memory structures
  • Describe background processes
  • Correlate logical and physical storage structures

Introduction to SQL Tuning

  • Describe what attributes of a SQL statement can make it perform poorly
  • Describe the Oracle tools that can be used to tune SQL
  • Explain the tuning tasks

Introduction to the Optimizer

  • Describe the execution steps of a SQL statement
  • Explain the need for an optimizer
  • Explain the various phases of optimization
  • Control the behavior of the optimizer

Interpreting Execution Plans

  • Gather execution plans
  • Display execution plans, display xplan
  • Interpret execution plans

Application Tracing

  • Configure the SQL Trace facility to collect session statistics
  • Use the trcsess utility to consolidate SQL trace files
  • Format trace files using the tkprof utility
  • Interpret the output of the tkprof command

Optimizer Operations

  • Describe the SQL operations for tables and indexes
  • Describe the possible access paths for tables and indexes

Optimizer: Join Operations

  • Describe the SQL operations for joins
  • Describe the possible access paths for joins

Other Optimizer Operations

  • Describe Clusters, In-List, Sorts, Filters and Set Operations
  • Use Result Cache operations

Case Study: Star Transformation

  • Define a star schema, a star query plan without transformation and a star query plan after transformation

Optimizer Statistics

  • Gather optimizer statistics
  • Gather system statistics
  • Set statistic preferences
  • Use dynamic sampling
  • Manipulate optimizer statistics

Using Bind Variables

  • Explain the benefits of using bind variables
  • Use bind peeking
  • Use adaptive cursor sharing

SQL Tuning Advisor

  • Describe statement profiling
  • Use SQL Tuning Advisor

Using SQL Access Advisor

  • Use SQL Access Advisor

Automating SQL Tuning

  • Use Automatic SQL Tuning

SQL Plan Management

  • Manage SQL performance through changes
  • Set up SQL Plan Management
  • Set up various SQL Plan Management scenarios

Using Optimizer Hints

  • Use hints when appropriate
  • Specify hints for Optimizer mode, Query transformation, Access path, Join orders, Join methods and Views

Parallel Queries

Parallel Processing Concepts

  • Explain what parallel processing is and why is it useful

Basics of Parallel Execution

  • Describe operations that can be parallelized
  • Explain parallel execution theory
  • Understand impact of initiali zation parameter on parallel execution

Manual DOP Management

  • Understand an explain plan of a parallel query
  • Understand an explain plan of parallel DML and DDL

Simplified Auto DOP

  • Understand the new parameters of Auto DOP
  • Explain when to use Auto DOP
  • Use Auto DOP

Statement Queuing

  • Explain statement queuing, concurrency and DBRM

In-Memory Parallel execution

  • Use in-memory parallel execution

Data Warehouse Administration

Partitioning Concepts

  • Explain the available partitioning strategies
  • Explain partition pruning
  • Implement partition enhancements in star query optimization

Materialized Views

  • Use summaries to improve performance
  • Differentiate materialized view types

Oracle PlSQL Training Course Content

  COURSE SYLLABUS

Oracle DBA Training Course Content

  COURSE SYLLABUS

Oracle DBA Performance Tuning Training in Chennai

  COURSE SYLLABUS

Oracle DBA Data Guard Training Course Content

  COURSE SYLLABUS

You can contact us @ 89399 15577 or fill in the enquiry form to get detailed information about Oracle training in Chennai. Join Greens Technology for Best oracle training in Chennai.

STUDENTS TESTIMONIALS

ORACLE ASSIGNMENT QUESTIONS

Assignment Questions.

1. Write a query to find the number of employees Joined in each year?
2. Write a query to display the number of people with the same job.
play the highest, lowest, sum, and average salary of all employees. Label the columns Maximum, Minimum, Sum, and Average, respectively. Round your results to the nearest whole number.
4. display the minimum, maximum, sum, and average salary for each job type.
5. Display the manager number and the salary of the lowest paid employee for that manager. Exclude anyone whose manager is not known. Exclude any groups where the minimum salary is $6,000 or less. Sort the output in descending order of salary.
6. Write a query that displays the difference between the highest and lowest salaries. Label the column DIFFERENCE.
7. Determine the number of managers without listing them. Label the column Number of Managers. Hint: Use the MANAGER_ID column to determine the number of managers.
1. Add a table-level PRIMARY KEY constraint to the EMP table on the ID column. The constraint should be named at creation. Name the constraint my_emp_id_pk
2. Create a PRIMARY KEY constraint to the DEPT table using the ID column. The constraint should be named at creation. Name the constraint my_dept_id_pk.
3. Add a column DEPT_ID to the EMP table. Add a foreign key reference on the EMP table that ensures that the employee is not assigned to a nonexistent department. Name the constraint my_emp_dept_id_fk.
4. Confirm that the constraints were added by querying the USER_CONSTRAINTS view. Note the types and names of the constraints. Save your statement text in a file called lab10_4.sql.
5. Display the object names and types from the USER_OBJECTS data dictionary view for the EMP and DEPT tables. Notice that the new tables and a new index were created.
6. Modify the EMP table. Add a COMMISSION column of NUMBER data type, precision 2, scale 2. Add a constraint to the commission column that ensures that a commission value is greater than zero.

DCL

1. What privilege should a user be given to log on to the Oracle Server? Is this a system or an object privilege?
2. What privilege should a user be given to create tables?
3. If you create a table, who can pass along privileges to other users on your table?
4. You are the DBA. You are creating many users who require the same system privileges. What should you use to make your job easier?
5. What command do you use to change your password?
6. Grant another user access to your DEPARTMENTS table. Have the user grant you query access to his or her DEPARTMENTS table.
7. Query all the rows in your DEPARTMENTS table.
8. Add a new row to your DEPARTMENTS table. Team 1 should add Education as department number 500. Team 2 should add Human Resources department number 510. Query the other team’s table.
9. Create a synonym for the other team’s DEPARTMENTS table.
10. Query all the rows in the other team’s DEPARTMENTS table by using your synonym.
11. Query the USER_TABLES data dictionary to see information about the tables that you own.
12. Query the ALL_TABLES data dictionary view to see information about all the tables that you can access. Exclude tables that you own.
13. Revoke the SELECT privilege from the other team.
14. Remove the row you inserted into the DEPARTMENTS table in step 8 and save the changes.

DDL

1. Create the DEPT table based on the following table instance chart. Place the syntax in a script called lab9_1.sql, then execute the statement in the script to create the table. Confirm that the table is created.
2. Populate the DEPT table with data from the DEPARTMENTS table. Include only columns that you need.
3. Create the EMP table based on the following table instance chart. Place the syntax in a script called lab9_3.sql, and then execute the statement in the script to create the table. Confirm that the table is created.
4. Modify the EMP table to allow for longer employee last names. Confirm your modification.
5. Confirm that both the DEPT and EMP tables are stored in the data dictionary. (Hint: USER_TABLES)
6. Create the EMPLOYEES2 table based on the structure of the EMPLOYEES table. Include only the EMPLOYEE_ID, FIRST_NAME, LAST_NAME, SALARY, and DEPARTMENT_ID columns. Name the columns in your new table ID, FIRST_NAME, LAST_NAME, SALARY , and DEPT_ID, respectively.
7. Drop the EMP table.
8. Rename the EMPLOYEES2 table to EMP.
9. Add a comment to the DEPT and EMP table definitions describing the tables. Confirm your additions in the data dictionary. COMMENT ON TABLE emp IS ’Employee Information’; COMMENT ON TABLE dept IS ’Department Information’;
10. Drop the FIRST_NAME column from the EMP table. Confirm your modification by checking the description of the table.
11. In the EMP table, mark the DEPT_ID column in the EMP table as UNUSED. Confirm your modification by checking the description of the table.
12. Drop all the UNUSED columns from the EMP table. Confirm your modification by checking the description of the table.

DML

Insert data into the MY_EMPLOYEE table.


1. Run the statement in the lab8_1.sql script to build the MY_EMPLOYEE table that will be used for the lab.
2. Describe the structure of the MY_EMPLOYEE table to identify the column names.
3. Add the first row of data to the MY_EMPLOYEE table from the following sample data. Do not list the columns in the INSERT clause.
4. Populate the MY_EMPLOYEE table with the second row of sample data from the preceding list. This time, list the columns explicitly in the INSERT clause.
5. Confirm your addition to the table.
6. Write an insert statement in a text file named loademp.sql to load rows into the MY_EMPLOYEE table. Concatenate the first letter of the first name and the first seven characters of the last name to produce the userid.
7. Populate the table with the next two rows of sample data by running the insert statement in the script that you created.
8. Confirm your additions to the table.
9. Make the data additions permanent.
10. Change the last name of employee 3 to Drexler. UPDATE my_employee
11. Change the salary to 1000 for all employees with a salary less than 900.
12. Verify your changes to the table.
13. Delete Betty Dancs from the MY_EMPLOYEE table.
14. Confirm your changes to the table.
15. Commit all pending changes.
16. Populate the table with the last row of sample data by modifying the statements in the script that you created in step 6. Run the statements in the script.
17. Confirm your addition to the table.
18. Mark an intermediate point in the processing of the transaction.
19. Empty the entire table.
20. Confirm that the table is empty.
21. Discard the most recent DELETE operation without discarding the earlier INSERT operation.
22. Confirm that the new row is still intact.
23. Make the data addition permanent.
1. Write a query to display the following for those employees whose manager ID is less than 120:
  • Manager ID
  • Job ID and total salary for every job ID for employees who report to the same manager
  • Total salary of those managers
  • Total salary of those managers, irrespective of the job IDs
2. Observe the output from question 1. Write a query using the GROUPING function to determine whether the NULL values in the columns corresponding to the GROUP BY expressions are caused by the ROLLUP operation.

3. Write a query to display the following for those employees whose manager ID is less than 120 :
  • Manager ID
  • Job and total salaries for every job for employees who report to the same manager
  • Total salary of those managers
  • Cross-tabulation values to display the total salary for every job, irrespective of the manager
  • Total salary irrespective of all job titles
4. Observe the output from question 3. Write a query using the GROUPING function to determine whether the NULL values in the columns corresponding to the GROUP BY expressions are caused by the CUBE operation.

5. Using GROUPING SETS, write a query to display the following groupings :
  • department_id, manager_id, job_id
  • department_id, job_id
  • Manager_id, job_id
The query should calculate the sum of the salaries for each of these groups.
1. List the department IDs for departments that do not contain the job ID ST_CLERK, using SET operators.
2. Display the country ID and the name of the countries that have no departments located in them, using SET operators.
3. Produce a list of jobs for departments 10, 50, and 20, in that order. Display job ID and department ID, using SET operators.
4. List the employee IDs and job IDs of those employees who currently have the job title that they held before beginning their tenure with the company.
5. Write a compound query that lists the following: • Last names and department ID of all the employees from the EMPLOYEES table, regardless of whether or not they belong to any department • Department ID and department name of all the departments from the DEPARTMENTS table, regardless of whether or not they have employees working in them
1. Write a query to display the last name, department number, and salary of any employee whose department number and salary both match the department number and salary of any employee who earns a commission.
2. Display the last name, department name, and salary of any employee whose salary and commission match the salary and commission of any employee located in location ID1700.
3. Create a query to display the last name, hire date, and salary for all employees who have the same salary and commission as Kochhar. Note: Do not display Kochhar in the result set.
4. Create a query to display the employees who earn a salary that is higher than the salary of all of the sales managers (JOB_ID = ’SA_MAN’). Sort the results on salary from highest to lowest.
5. Display the details of the employee ID, last name, and department ID of those employees who live in cities whose name begins with T.
6. Write a query to find all employees who earn more than the average salary in their departments. Display last name, salary, department ID, and the average salary for the department. Sort by average salary. Use aliases for the columns retrieved by the query as shown in the sample output.
7. Find all employees who are not supervisors. a. First do this by using the NOT EXISTS operator. b. Can this be done by using the NOT IN operator? How, or why not?
8. Write a query to display the last names of the employees who earn less than the average salary in their departments.
9. Write a query to display the last names of employees who have one or more coworkers in their departments with later hire dates but higher salaries.
10. Write a query to display the employee ID, last names, and department names of all employees. Note: Use a scalar subquery to retrieve the department name in the SELECT statement.
11. Write a query to display the department names of those departments whose total salary cost is above one-eighth (1/8) of the total salary cost of the whole company. Use the WITH clause to write this query. Name the query SUMMARY.
1. Write a query to display the last name, department number, and department name for all employees.
2. Create a unique listing of all jobs that are in department 80. Include the location of the department in the output.
3. Write a query to display the employee last name, department name, location ID, and city of all employees who earn a commission.
4. Display the employee last name and department name for all employees who have an a (lowercase) in their last names. Place your SQL statement in a text file named test4.sql.
5. Write a query to display the last name, job, department number, and department name for all employees who work in Toronto.
6. Display the employee last name and employee number along with their manager’s last name and manager number. Label the columns Employee , Emp#, Manager, Mgr#, respectively. Place your SQL statement in a text file named test6.sql.
7. Modify test6.sql to display all employees including King, who has no manager. Place your SQL statement in a text file named test7.sql. Run the query in lab4_7.sql
8. Create a query that displays employee last names, department numbers, and all the employees who work in the same department as a given employee. Give each column an appropriate label.
9. Show the structure of the JOB_GRADES table. Create a query that displays the name, job, department name, salary, and grade for all employees.
10. Create a query to display the name and hire date of any employee hired after employee Davies.
11. Display the names and hire dates for all employees who were hired before their managers, along with their manager’s names and hire dates. Label the columns Employee, Emp Hired, Manager, and Mgr Hired, respectively.
1. For each employee, display the employee’s last name, and calculate the number of months between today and the date the employee was hired. Label the column MONTHS_WORKED. Order your results by the number of months employed. Round the number of months up to the closest whole number.
2. Write a query that produces the following for each employee: earns monthly but wants <3 times salary>. Label the column Dream Salaries.
3. Create a query to display the last name and salary for all employees. Format the salary to be 15 characters long, left-padded with $. Label the column SALARY.
4. Display each employee’s last name, hire date, and salary review date, which is the first Monday after six months of service. Label the column REVIEW. Format the dates to appear in the format similar to “Monday, the Thirty-First of July, 2000.”
5. Display the last name, hire date, and day of the week on which the employee started. Label the column DAY. Order the results by the day of the week starting with Monday.
6. Create a query that displays the employees’ last names and commission amounts. If an employee does not earn commission, put “No Commission.” Label the column COMM.
7. Create a query that displays the employees’ last names and indicates the amounts of their annual salaries with asterisks. Each asterisk signifies a thousand dollars. Sort the data in descending order of salary. Label the column EMPLOYEES_AND_THEIR_SALARIES.

Determine whether the following statements are true or false:

1. The following statement is correct: DEFINE & p_val = 100
2. The DEFINE command is a SQL command.
3. Write a script to display the employee last name, job, and hire date for all employees who started between a given range. Concatenate the name and job together, separated by a space and comma, and label the column Employees. In a separate SQL script file, use the DEFINE command to provide the two ranges. Use the format MM/DD/YYYY. Save the script files as lab7_3a.sql and lab7_3b.sql.
4. Write a script to display the employee last name, job, and department name for a given location. The search condition should allow for case-insensitive searches of the department location. Save the script file as lab7_4.sql.
5. Modify the code in lab7_4.sql to create a report containing the department name, employee last name, hire date, salary, and each employee’s annual salary for all employees in a given location. Label the columns DEPARTMENT NAME, EMPLOYEE NAME, START DATE, SALARY, and ANNUAL SALARY, placing the labels on multiple lines. Resave the script as lab7_5.sql and execute the commands in the script.
1. Write a query to display the last name and hire date of any employee in the same department as Zlotkey. Exclude Zlotkey.
2. Create a query to display the employee numbers and last names of all employees who earn more than the average salary. Sort the results in ascending order of salary.
3. Write a query that displays the employee numbers and last names of all employees who work in a department with any employee whose last name contains a u. Place your SQL statement in a text file named lab6_3.sql. Run your query.
4. Display the last name, department number, and job ID of all employees whose department location ID is 1700.
5. Display the last name and salary of every employee who reports to King.
6. Display the department number, last name, and job ID for every employee in the Executive department.
7. Modify the query in lab6_3.sql to display the employee numbers, last names, and salaries of all employees who earn more than the average salary and who work in a department with any employee with a u in their name. Resave lab6_3.sql to lab6_7.sql. Run the statement in lab6_7.sql.
1. Create a view called EMPLOYEES_VU based on the employee numbers, employee names, and department numbers from the EMPLOYEES table. Change the heading for the employee name to EMPLOYEE.
2. Display the contents of the EMPLOYEES_VU view.
3. Select the view name and text from the USER_VIEWS data dictionary view. Note: Another view already exists. The EMP_DETAILS_VIEW was created as part of your schema. Note: To see more contents of a LONG column, use the iSQL*Plus command SET LONG n, where n is the value of the number of characters of the LONG column that you want to see.
4. Using your EMPLOYEES_VU view, enter a query to display all employee names and department numbers.
5. Create a view named DEPT50 that contains the employee numbers, employee last names, and department numbers for all employees in department 50. Label the view columns EMPNO, EMPLOYEE, and DEPTNO. Do not allow an employee to be reassigned to another department through the view.
6. Display the structure and contents of the DEPT50 view.
7. Attempt to reassign Matos to department 80.
8. Create a view called SALARY_VU based on the employee last names, department names, salaries, and salary grades for all employees. Use the EMPLOYEES, DEPARTMENTS, and JOB_GRADES tables. Label the columns Employee, Department, Salary, and Grade, respectively.
1. Create a sequence to be used with the primary key column of the DEPT table. The sequence should start at 200 and have a maximum value of 1000. Have your sequence increment by ten numbers. Name the sequence DEPT_ID_SEQ.
2. Write a query in a script to display the following information about your sequences: sequence name, maximum value, increment size, and last number. Name the script lab12_2.sql. Run the statement in your script.
3. Write a script to insert two rows into the DEPT table. Name your script lab12_3.sql. Be sure to use the sequence that you created for the ID column. Add two departments named Education and Administration. Confirm your additions. Run the commands in your script.
4. Create a nonunique index on the foreign key column (DEPT_ID) in the EMP table.
5. Display the indexes and uniqueness that exist in the data dictionary for the EMP table. Save the statement into a script named lab12_5.sql.

Oracle Interview Question

About Instructor




For Chennai Branches
Adyar
+91- 89399 15577
OMR
+91- 89399 25577
Velachery
+91- 89399 15577
Tambaram
+91- 75501 66012

Quick Enquiry



Recently Placed Students




Prakash
Seya Soft Technologies
Android Developer

Siva Kumar
CTS
JAVA Developer

Manish
Pointel
Dot Net Developer

Aishwarya
BNP Paribas
Dot Net Developer

Nithish
Wipro
Java Developer

Copyright © 2018 Greens Technology. All rights reserved.

We are conveniently located in several areas around Chennai. If you are staying or looking Software training in any of these areas, Please get in touch with our career counselors to find your nearest branch. Areas in Chennai which are nearer to us are Adambakkam, Adyar, Alandur, Arumbakkam, Ashok Nagar, Besant Nagar, Chengalpet, Chitlapakkam, Choolaimedu, Chromepet, Ekkaduthangal, Guindy, Jafferkhanpet, K.K. Nagar, Kodambakkam, Kottivakkam, Koyambedu, Madipakkam, Mandaveli, Medavakkam, Mylapore, Nandambakkam, Nandanam, Nanganallur, Neelangarai, Nungambakkam, Palavakkam, Palavanthangal, Pallavaram, Pallikaranai, Pammal, Perungalathur, Perungudi, Poonamallee, Porur, Pozhichalur, Saidapet, Santhome, Selaiyur, Sholinganallur, Singaperumalkoil, St. Thomas Mount, T. Nagar, Tambaram, Teynampet, Thiruvanmiyur, Thoraipakkam, Urapakkam, Vadapalani, Valasaravakkam, Vandalur, Velachery, Virugambakkam, West Mambalam.