Oracle-SQL/PLSQL MCQ with Answers SET - 4
1. The … is a process of retrieving data from two or more than two tables and display the combine result
Explain:- In Oracle you can retrieve data from two or more than two tables using join clause and display the combine result
2. The ... keyword is used to to perform Inner Join
Explain:- In Oracle to perform the Inner Join the keyword Inner Join is used
3. The …. Join in Oracle help th retrieve all the rows from multiple tables and display as a combine result.
Explain:- In Oracle Natural Join is used to retrieve all the rows from multiple tables using * character and display as a combine result
4. The …. Has to be passed in Using clase parenthesis.
Explain:- In Oracle when you use Using clause then in parenthesis of this clause you must pass Common column to perform the join
5. The left join returns ….. and ….
Explain:- When you apply Left Join on two or more tables then query will return all the rows from Left table and Only matching rows from right table
6. To perform the Inner Join … is required in both the tables
Explain:- When you will perform Inner Join,The joined tables must have the commom columns
7. The …. Functions are used to make calculations on columns
Explain:- In Oracle the Aggregate functions are used to perform the calculations on columns
8. The …. Query is used to get list of all tables in a database
Explain:- In Oracle the query Select * From Tab; returns list of Tables in your current database
9. What will the following query return: Select * From Dual;
Explain:- In Oracle Select * from dual; query will return the current system date
10. What will the given query return: Select * from Departments Where department = ‘Sales’;
Explain:- Select * from Department where Department=’Sales’; will return Retrieve all the rows of Department Table whose Department is Sales
11. What will the given query return: Select * from Departments Where salary >=75000;
Explain:- Select * from Department where Salary >=75000; Retrieve all the rows of Department Table whose Salary is greater than or equal to 75000
12. What will the given query return: Select * from Departments Where Name Like ‘MA%’;
Explain:- Select * from Department where Name Like ‘MA%’; Retrieve all the rows from Department table whose Name starts from MA alphabet
13. select * from student where name like '_____sh'; What will be the output of given query
Explain:- Select * From Student Where Name Like ‘____sh’; This query will retrieve all the rows whose Name ends on sh
14. What will be the output of given query: Select AVG(Salary)From Employee;
Explain:- The query will return Average salary of employee
15. Select correct query for given question: Retrieve all the students whose Address is Pune, Mumbai , Madras
Explain:- Both the options 1 and 2 are correct
16. The .. is the statement used to retrieve the data from database
Explain:- Query is a statement used to retrieve the data from the database
17. Which Aggregate function you can use to get total number of rows in a table
Explain:- The Aggregate function Count() is used to get total count
18. The … Function is used to get total sum of the Numerical column
Explain:- The Aggregate function Sum() is used to get total Sum of numerical column
19. The … and .. Functions are used to get Minimum and Maximum values of Numerical columns
Explain:- The Aggregate functions min and max are used to get Minimum and Maximum value of numerical column
20. The … in Oracle is used a specific type of value in a table for a column
Explain:- The Data Type in Oracle is used to store a specific type of value in a table for a column
0 टिप्पण्या
कृपया तुमच्या प्रियजनांना लेख शेअर करा आणि तुमचा अभिप्राय जरूर नोंदवा. 🙏 🙏