Top 101 Most Frequently Asked Interview Questions and Answers of SQL for Freshers and Experienced
Objective of the post Top 101 Most Frequently Asked Interview Questions and Answers of SQL for Freshers and Experienced is to provide beginners as well as professionals a ready reckon er of SQL. What are Top 101 Most Frequently Asked Interview Questions and Answers of SQL for Freshers and Experienced? We have tried to enlist here Top 101 Most Frequently Asked Interview Questions and Answers of SQL for Freshers and Experienced.
101 Frequently Asked Questions of SQL
- Define SQL?
- Why SQL is known as non procedural language?
- What are the components of SQL?
- Name any two data types of SQL?
- Which data type in SQL is used for date data type.?
- Which data type in SQL is used float or Real Numbers?
- What is main difference between char and varchar2 data type in SQL?
- Which command of SQL is used to create a table in SQL?
- Which command of SQL is used to delete structure of a table in SQL?
- Which command of SQL is used to alter the structure of a table in SQL?
- Write the syntax of Update command in SQL?
- Write the syntax of Insert command in SQL?
- Write the syntax of Delete command in SQL?
- Define Primary key Constraint in SQL?
- What is the purpose of Check Constraint in SQL?
- Define sub query?
- What is used in SQL to query?
- Define self join ?
- If where is compulsory in select clause ?
- How many rows can be appended in a table with a single insert command ?
- What is command to give rights to users in SQL?
- What is the purpose of revoke command ?
- Which clause of SQL is used to arrange the records of a table in ascending order.
- What is the purpose of Group by command
- Name any two methods for multiple table retrieval in SQL
- Define Views
- What is the significance of using Views in SQL
- What is the other name of Views in SQL
- What are the types of Views in SQL
- What is the limitations on Views in SQL
- Define Sequences
- What is the significance of using Sequences in SQL
- Define Pseudo Columns in SQL
- Define Synonyms
- Name any two character functions of SQL
- Name any two number functions of SQL
- Name any two date functions of SQL
- Name any one conversion function of SQL
- Name any two Group functions of SQL
- What is the purpose of SUM function in SQL
- What is the purpose of Count Function in SQL
- Name the character function for concatenating two strings in SQL
- Name the function to find string length in SQL
- Name the function for find the number of days between two dates
- Name the function to find square root of a number
- Define database triggers
- What are the types of triggers in SQL
- Define locking
- What is the use of where clause
- Define Indexes
- What are the types of Indexes in SQL
- Difference between inner and outer join in SQL
- What is the purpose of LIKE in SQL
- What is Range searching
- What is Pattern matching
- Name the function for extracting one string from other string in SQL
- Name the function to capitalize initial letter of a string in SQL
- Which command is used to undo transactions in SQL
- What is the purpose of savepoints in SQL
- What is the full form of PL/SQL
- If PL/SQL is non procedural language ?
- State one difference between SQL and PL/SQL?
- Name any two data types of PL/SQL ?
- What is the use of “%found” in PL/SQL ?
- What is the use of “%notfound” in PL/SQL ?
- What is the use of “%isopen” in PL/SQL ?
- What is the use of “%rowcount” in PL/SQL ?
- What is the use of “%type” in PL/SQL ?
- What is the use of “%rowtype” in PL/SQL ?
- Name any two loops of PL/SQL ?
- What is conditional control statement of PL/SQL ?
- Define exceptions ?
- Name any in built two exceptions of PL/SQL ?
- When “Too many rows” exception is raised ?
- When “No rows found” exception is raised ?
- When “Divide By Zero” exception is raised ?
- When “Invalid Cursor” exception is raised ?
- Define Procedures ?
- Define Functions ?
- Define Cursors ?
- What are the types of Cursors ?
- Name any two Explicit Cursor attributes ?
- Name any two Implicit Cursor attributes ?
- When “before delete trigger” get fired ?
- When “before update trigger” get fired ?
- When “after update trigger” get fired ?
- When “after update trigger” get fired ?
- What is the use of “sql %found” in PL/SQL ?
- What is the use of “sql%notfound” in PL/SQL ?
- What is the use of “sql%isopen” in PL/SQL ?
- What is the use of “sql%rowcount” in PL/SQL ?
- Define Packages ?
- Define Snapshots ?
- Any two advantages of Packages ?
- Any five reserve words of PL/SQL?
- What is the use of “set server output on” in PL/SQL ?
- What is the use of “dbms_output.put_line” in PL/SQL ?
- Name the command to delete a database trigger in PL/SQL ?
- What is the purpose of LPAD function in SQL ?
- What is the purpose of LTRIM function in SQL ?
- What are bind variables ?