Skip to content
Advertisement

Finding data about Collection in Object SQL (Oracle)

I have Object table COMPANIES with a collection of Employees. The code you can see below.

  1. What is a query to find the company with the largest number of employees?
  2. How much there are employees with a salary of > 700 in a company ‘Company 1’?
  3. Show data for Company which has 3 employees.

For this Questions I need 3 SQL queries.

Advertisement

Answer

For this Answer I need 3 votes (if it is correct) 🙂

What is a query to find the company with the largest number of employees?

How much there are employees with a salary of > 700 in a company ‘Company 1’?

Show data for Company which has 3 employees.

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement