DBMS Interview Questions
Important DBMS Interview Questions are available here now !!! Database Management Systems is a field in which many computer science candidates want to build up their career. There are many companies in which the vacancies related to DBMS are available. At the time of appearing in interview sometimes candidates prepare for the theoretical part and forget about the practical / technical part or vice versa. But it is important to have a proper knowledge regarding both the topics. The information given below is prepared Only for those Freshers who are going to appear in the Database Management Systems Technical Interview and want to know about the DBMS Technical Interview Questions and Answers. Candidates can avail both DBMS and SQL Interview questions from the below section of this page.
At the time of appearing in interview it is must for candidates to have an idea that what the interviewer is going to ask. But sometimes this does not happen and candidates answers wrong. Today every question needs a well designed answer and RDBMS Interview Questions are also one of those topics whose answers must be well designed and prepared. Keeping the whole point in mind, we the team members of resultinbox.com have given some DBMS Interview Questions here in the below section so that Freshers can prepare for their DBMS Interview well.
DBMS Interview Questions
Theory Based DBMS Interview Questions
Here in the below section we are going to provide the Interview Questions On DBMS theory part first, with the help of the DBMS Interview Questions And Answers, candidates will not need to download the DBMS Interview Questions And Answers PDF.
Ques: What is database?
Ans: A information may be a logically coherent assortment of information with some inherent that means, representing some facet of globe and that is meant, designed and inhabited with information for a selected purpose.
Ques: What is DBMS?
Ans: It is a set of programs that permits user to form and maintain a info. In alternative words its general computer code that has the users with the processes of shaping, constructing and manipulating the info for numerous applications.
Ques: What is a Database system?
Ans: The database and DBMS software together is called as Database system.
Ques: What are the advantages of DBMS?
- Redundancy is controlled.
- Unauthorized access is restricted.
- Providing multiple user interfaces.
- Enforcing integrity constraints.
- Providing backup and recovery.
Ques: What are the disadvantages in File Processing System?
- Data redundancy and inconsistency.
- Difficult in accessing data.
- Data isolation.
- Data integrity.
- Concurrent access is not possible.
- Security Problems.
Also Get Here: Last Minute Interview Tips for the First Timers
Ques: Describe the three levels of data abstraction?
Ans: There are three levels of abstraction:
- Physical level: The lowest level of abstraction describes how data are stored.
- Logical level: The next higher level of abstraction, describes what data are stored in database and what relationship among those data.
- View level: The highest level of abstraction describes only part of entire database.
Ques: Define the “integrity rules”?
Ans: There are two Integrity rules.
- Entity Integrity: States that “Primary key cannot have NULL value”
- Referential Integrity: States that “Foreign Key can be either a NULL value or should be Primary Key value of other relation.
Ques: What is extension and intension?
- Extension: It is the number of tuples present in a table at any instance. This is time dependent.
- Intension: It is a constant value that gives the name, structure of table and the constraints laid on it.
Ques: What is System R? What are its two major subsystems?
Ans: System R was designed and developed over a period of 1974-79 at IBM San Jose Research Center. It is a prototype and its purpose was to demonstrate that it is possible to build a Relational System that can be used in a real life environment to solve real life problems, with performance at least comparable to that of existing system.
Its two subsystems are:
- Research Storage
- System Relational Data System.
Ques: How is the data structure of System R different from the relational structure?
Ans: Unlike Relational systems in System R:
- Domains are not supported
- Enforcement of candidate key uniqueness is optional
- Enforcement of entity integrity is optional
- Referential integrity is not enforced
After going through the theoretical part, it is must to get knowledge regarding the DBMS Technical Interview Questions with Answers. Now we are providing some Technical DBMS Interview Questions with Answers for Freshers.
Read Out: Best Interview Questions and Answers
DBMS Interview Questions For Freshers
DBMS Technical Interview Questions:
Ques: What is Join?
Ans: An SQL Join is used to combine data from two or more tables, based on a common field between them. For example, consider the following two tables.
Student Course Table
Following is join query that shows names of students enrolled in different courseIDs.
SELECT StudentCourse.CourseID, Student.StudentName
INNER JOIN Customers
ON StudentCourse.EnrollNo = Student.EnrollNo
ORDER BY StudentCourse.CourseID;
The above query would produce following result.
Ques: What is a view in SQL? How to create one
Ans: A view is a virtual table based on the result-set of an SQL statement. We can create using create view syntax.
CREATE VIEW view_name AS
Ques. There is a table where only one row is fully repeated. Write a Query to find the repeated row
In the above table, we can find duplicate row using below query.
SELECT name, section FROM tbl
GROUP BY name, section
HAVING COUNT(*) > 1
Ques. What is the Query to find 2nd highest salary of an employee?
SELECT max(salary) FROM EMPLOYEES WHERE salary IN
(SELECT salary FROM EMPLOYEEs MINUS SELECT max(salary)
SELECT max(salary) FROM EMPLOYEES WHERE
salary <> (SELECT max(salary) FROM EMPLOYEES);
Ques. Get employee details from employee table whose first name ends with ‘n’ and name contains 4 letters
Ans: Select * from EMPLOYEE where FIRST_NAME like ‘___n’ (Underscores)
Ques. Get employee details from employee table whose first name starts with ‘J’ and name contains 4 letters
Ans: Select * from EMPLOYEE where FIRST_NAME like ‘J___’ (Underscores)
Ques. Get employee details from employee table whose Salary greater than 600000
Ans: Select * from EMPLOYEE where Salary >600000
Ques. Get employee details from employee table whose Salary less than 800000
Ans: Select * from EMPLOYEE where Salary <800000
Ques. Get employee details from employee table whose Salary between 500000 and 800000
Ans: Select * from EMPLOYEE where Salary between 500000 and 800000
Get Best Ways: Tips to Crack Interview
Get here DBMS Interview Questions With Answers PDF Free Download >>
Most of the times candidates search for DBMS Interview Questions and Answers PDF Free Download, so that they can get the answers from free of cost and also learn in a better and advanced way. There are many Interview Questions on DBMS with Answers PDF are available online. Even there are various DBMS Interview Questions Tutorial point through which candidates get coaching / training regarding the Interview Questions On DBMS And SQL. Mostly candidates search for the DBMS Interview Questions In TCS and also download the DBMS Interview Questions PDF for TCS mainly. Here in the above section also we have given a link through which aspirants can get the DBMS Interview Questions and Answers for Freshers in TCS in PDF Format.
Here in the above section of this page we have given separate theory and technical questions. With the help of these questions candidates will get an idea regarding the type of questions that are asked in the interview.
Aspirants who are interested in information given here on this page and are willing to keep it safe may bookmark it by using CTRL+D tab. And if aspirants want to ask any question in this regard they may mention their comment in below given comment box.
You May Like To Check This Section:
|Latest Jobs in Government Sector||Upcoming Private Openings|
|Main Reasons Behind Your Unemployment||Secret Ways To Get Your Dream Job|
|10 Things You STOP Doing On Your CV|