diff --git a/README.md b/README.md index 65bd9ab..1932882 100644 --- a/README.md +++ b/README.md @@ -7,179 +7,179 @@ | No. | Questions | |---- | --------- |1 | [What is a database? ]( ) | -|1 | [What is DBMS? ]( ) | -|1 | [ What is SQL? ]( ) | -|1 | [ What is PL/SQL? ]( ) | -|1 | [ What is the difference between SQL and PL/SQL? ]( ) | -|1 | [What is RDBMS? ]( ) | -|1 | [What is a database table? ]( ) | -|1 | [ What is a query? ]( ) | -|1 | [ What is subquery? ]( ) | -|1 | [ What are the types of subquery? ]( ) | -|1 | [ How to create a table in SQL? ]( ) | -|1 | [What are tables and Fields? ]( ) | -|1 | [ How to delete a table in SQL Server? ]( ) | -|1 | [ How to update a database table using SQL? ]( ) | -|1 | [ What is a database relationship? ]( ) | -|1 | [ What is a primary key of a database? ]( ) | -|1 | [What is a unique key? ]( ) | -|1 | [What is a foreign key of a database? ]( ) | -|1 | [What is database normalization? ]( ) | -|1 | [What are database normalization forms? ]( ) | -|1 | [ What is Denormalization. ]( ) | -|1 | [What is a stored procedure? ]( ) | -|1 | [Why we use Stored Procedure? ]( ) | -|1 | [How to create a Stored Procedure? ]( ) | -|1 | [What is a function in SQL Server? ]( ) | -|1 | [What are the different types of functions in SQL Server? ]( ) | -|1 | [What is a trigger in SQL Server? ]( ) | -|1 | [Why do we need triggers? ]( ) | -|1 | [What are the different types of triggers? ]( ) | -|1 | [What is a view in the database? ]( ) | -|1 | [Why do I need views in a database? ]( ) | -|1 | [What is the difference between Primary key and unique key? ]( ) | -|1 | [How can you increase SQL performance? ]( ) | -|1 | [What is the use of OLAP? ]( ) | -|1 | [What is a measure in OLAP? ]( ) | -|1 | [What are dimensions in OLAP? ]( ) | -|1 | [What are levels in dimensions? ]( ) | -|1 | [What are fact tables and dimension tables in OLAP? ]( ) | -|1 | [What is DTS? ]( ) | -|1 | [What is fill factor? or When does page split occurs? ]( ) | -|1 | [What is RAID and how does it work? ]( ) | -|1 | [SQL Server Difference between @@IDENTITY, SCOPE_IDENTITY () and IDENT_CURRENT ]( ) | -|1 | [Difference between char varchar and nvarchar in SQL Server ]( ) | -|1 | [What is the difference between DELETE TABLE and TRUNCATE TABLE commands? ]( ) | -|1 | [If locking is not implemented, what issues can occur? ]( ) | -|1 | [What are different transaction levels in SQL SERVER? ]( ) | -|1 | [What are the different locks in SQL SERVER? ]( ) | -|1 | [Can we suggest locking hints to SQL SERVER? ]( ) | -|1 | [What is LOCK escalation? ]( ) | -|1 | [What are the different ways of moving data between databases in SQL Server? ]( ) | -|1 | [What is the difference between a HAVING CLAUSE and a WHERE CLAUSE? ]( ) | -|1 | [What is the difference between UNION and UNION ALL SQL syntax? ]( ) | -|1 | [What are the different types of triggers in SQL SERVER? ]( ) | -|1 | [if we have multiple AFTER Triggers on table how can we define the sequence od the triggers? ]( ) | -|1 | [What is SQL injection? ]( ) | -|1 | [What is the difference between Stored Procedure (SP) and User Defined Function (UDF)? ]( ) | -|1 | [How can you raise custom errors from stored procedure? ]( ) | -|1 | [What is DBCC? ]( ) | -|1 | [What is the purpose of Replication? ]( ) | -|1 | [What are the different types of replication supported by SQL SERVER? ]( ) | -|1 | [What is BCP utility in SQL SERVER? ]( ) | -|1 | [What is a Cursor? ]( ) | -|1 | [What are local and global variables and their differences? ]( ) | -|1 | [What is an index? ]( ) | -|1 | [Why do I need an index in a database? ]( ) | -|1 | [What is a query in a database? ]( ) | -|1 | [What are query types in a database? ]( ) | -|1 | [What is a join in SQL Server? ]( ) | -|1 | [What are different types of joins in SQL Server? ]( ) | -|1 | [What is Self-Join? ]( ) | -|1 | [What is Cross-Join? ]( ) | -|1 | [What is user defined functions? ]( ) | -|1 | [What are all types of user defined functions? ]( ) | -|1 | [What is collation? ]( ) | -|1 | [What are all different types of collation sensitivity? ]( ) | -|1 | [Advantages and Disadvantages of Stored Procedure? ]( ) | -|1 | [What is Online Transaction Processing (OLTP)? ]( ) | -|1 | [What is CLAUSE? ]( ) | -|1 | [What is recursive stored procedure? ]( ) | -|1 | [What is Union, minus and Interact commands? ]( ) | -|1 | [What is an ALIAS command? ]( ) | -|1 | [What is the difference between TRUNCATE and DROP statements? ]( ) | -|1 | [What are aggregate and scalar functions? ]( ) | -|1 | [What is an inner join in SQL? ]( ) | -|1 | [What is an outer join in SQL? ]( ) | -|1 | [What is full join in SQL? ]( ) | -|1 | [What is left join in SQL Server? ]( ) | -|1 | [What is a right join in SQL Server? ]( ) | -|1 | [What is database engine in SQL Server? ]( ) | -|1 | [What are the Analysis Services in SQL Server? ]( ) | -|1 | [What are the integration services in SQL Server? ]( ) | -|1 | [What are the data quality services in SQL Server? ]( ) | -|1 | [What are the reporting services in SQL Server? ]( ) | -|1 | [What are the master data services in SQL Server? ]( ) | -|1 | [What is replication in SQL Server? ]( ) | -|1 | [How to I select data from an SQL Server table? ]( ) | -|1 | [What is a check in SQL? ]( ) | -|1 | [What is a default in SQL? ]( ) | -|1 | [How to create a database using SQL? ]( ) | -|1 | [What is a constraint in SQL? ]( ) | -|1 | [What is data Integrity? ]( ) | -|1 | [What is Auto Increment? ]( ) | -|1 | [ What is the difference between Cluster and Non-Cluster Index? ]( ) | -|1 | [ What is Datawarehouse? ]( ) | -|1 | [How do I define constraints in SQL? ]( ) | -|1 | [What is the meaning of Not Null in SQL? ]( ) | -|1 | [How to alter a table schema in SQL Server? ]( ) | -|1 | [How to create index in SQL Server? ]( ) | -|1 | [How to get unique records in SQL? ]( ) | -|1 | [How to create a date column in SQL Server? ]( ) | -|1 | [What is ACID fundamental? What are transactions in SQL SERVER? ]( ) | -|1 | [What is a candidate key? ]( ) | -|1 | [How do GROUP and ORDER BY Differ? ]( ) | -|1 | [Compare SQL & PL/SQL? ]( ) | -|1 | [What is BCP? When is it used? ]( ) | -|1 | [When is the UPDATE_STATISTICS command used? ]( ) | -|1 | [Explain the steps needed to Create the scheduled job? ]( ) | -|1 | [When are we going to use truncate and delete? ]( ) | -|1 | [Explain correlated query work? ]( ) | -|1 | [When is the Explicit Cursor Used? ]( ) | -|1 | [Find What is Wrong in this Query? ]( ) | -|1 | [Write the Syntax for STUFF function in an SQL server? ]( ) | -|1 | [What are the three ways that Dynamic SQL can be executed? ]( ) | -|1 | [In what version of SQL Server were synonyms released? How do synonyms work and explain its use cases? Synonyms were released with SQL Server 2005? ]( ) | -|1 | [If you are a SQL Developer, how can you delete duplicate records in a table with no primary key? ]( ) | -|1 | [Is it possible to import data directly from T-SQL commands without using SQL Server Integration Services? If so, what are the commands? ]( ) | -|1 | [What is the native system stored procedure to execute a command against all databases? ]( ) | -|1 | [How can a SQL Developer prevent T-SQL code from running on a production SQL Server? ]( ) | -|1 | [How do you maintain database integrity where deletions from one table will automatically cause deletions in another table? ]( ) | -|1 | [What port does SQL server run on? ]( ) | -|1 | [What is the SQL CASE statement used for? Explain with an example? ]( ) | -|1 | [What are the risks of storing a hibernate-managed object in cache? How do you overcome the problems? ]( ) | -|1 | [When is the use of UPDATE_STATISTICS command? ]( ) | -|1 | [What is SQL Profiler? ]( ) | -|1 | [What command using Query Analyzer will give you the version of SQL server and operating system? ]( ) | -|1 | [What does it mean to have QUOTED_IDENTIFIER ON? What are the implications of having it OFF? ]( ) | -|1 | [What is the STUFF function and how does it differ from the REPLACE function in SQL? ]( ) | -|1 | [How to get @@ERROR and @@ROWCOUNT at the same time? ]( ) | -|1 | [What is de-normalization in SQL database administration? Give examples ? ]( ) | -|1 | [Can you explain about buffer cash and log Cache in SQL Server? ]( ) | -|1 | [Describe how to use Linked Server? ]( ) | -|1 | [Explain how to send email from SQL database? ]( ) | -|1 | [How to make remote connection in database? ]( ) | -|1 | [What is the purpose of OPENXML clause SQL server stored procedure? ]( ) | -|1 | [How to store pdf file in SQL Server? ]( ) | -|1 | [Explain the use of keyword WITH ENCRYPTION. Create a Store Procedure with Encryption? ]( ) | -|1 | [What is lock escalation? ]( ) | -|1 | [What is Failover clustering overview? ]( ) | -|1 | [What is Builtin/Administrator? ]( ) | -|1 | [What XML support does the SQL server extend? ]( ) | -|1 | [Difference between Primary Key and Foreign Key ? ]( ) | -|1 | [SQL Query to find second highest salary of Employee? ]( ) | -|1 | [SQL Query to find Max Salary from each department? ]( ) | -|1 | [Write SQL Query to display the current date? ]( ) | -|1 | [Write an SQL Query to check whether date passed to Query is the date of given format or not? ]( ) | -|1 | [ Write an SQL Query to print the name of the distinct employee whose DOB is between 01/01/1960 to 31/12/1975? ]( ) | -|1 | [Write an SQL Query find number of employees according to gender whose DOB is between 01/01/1960 to 31/12/1975? ]( ) | -|1 | [Write an SQL Query to find an employee whose Salary is equal or greater than 10000? ]( ) | -|1 | [ Write an SQL Query to find name of employee whose name Start with ‘M’? ]( ) | -|1 | [find all Employee records containing the word "Joe", regardless of whether it was stored as JOE, Joe, or joe.? ]( ) | -|1 | [ Write an SQL Query to find the year from date? ]( ) | -|1 | [How can you create an empty table from an existing table? ]( ) | -|1 | [How to fetch common records from two tables? ]( ) | -|1 | [How to fetch alternate records from a table? ]( ) | -|1 | [How to select unique records from a table? ]( ) | -|1 | [What is the command used to fetch first 5 characters of the string? ]( ) | -|1 | [Which operator is used in query for pattern matching? ]( ) | -|1 | [Write SQL Query to find duplicate rows in a database? and then write SQL query to delete them? ]( ) | -|1 | [There is a table which contains two column Student and Marks, you need to find all the students, whose marks are greater than average marks i.e. list of above average students. ]( ) | -|1 | [ How do you find all employees which are also manager? ]( ) | -|1 | [You have a composite index of three columns, and you only provide the value of two columns in WHERE clause of a select query? Will Index be used for this operation? ]( ) | -|1 | [What is the default join in SQL? Give an example query? ]( ) | -|1 | [Describe all the joins with examples in SQL? ]( ) | -|1 | [What is Union and Union All ? Explain the differences? ]( ) | +|2 | [What is DBMS? ]( ) | +|3 | [ What is SQL? ]( ) | +|4 | [ What is PL/SQL? ]( ) | +|5 | [ What is the difference between SQL and PL/SQL? ]( ) | +|6 | [What is RDBMS? ]( ) | +|7 | [What is a database table? ]( ) | +|8 | [ What is a query? ]( ) | +|9 | [ What is subquery? ]( ) | +|10 | [ What are the types of subquery? ]( ) | +|11 | [ How to create a table in SQL? ]( ) | +|12 | [What are tables and Fields? ]( ) | +|13 | [ How to delete a table in SQL Server? ]( ) | +|14 | [ How to update a database table using SQL? ]( ) | +|15 | [ What is a database relationship? ]( ) | +|16 | [ What is a primary key of a database? ]( ) | +|17 | [What is a unique key? ]( ) | +|18 | [What is a foreign key of a database? ]( ) | +|19 | [What is database normalization? ]( ) | +|20 | [What are database normalization forms? ]( ) | +|21 | [ What is Denormalization. ]( ) | +|22 | [What is a stored procedure? ]( ) | +|23 | [Why we use Stored Procedure? ]( ) | +|24 | [How to create a Stored Procedure? ]( ) | +|25 | [What is a function in SQL Server? ]( ) | +|26 | [What are the different types of functions in SQL Server? ]( ) | +|27 | [What is a trigger in SQL Server? ]( ) | +|28 | [Why do we need triggers? ]( ) | +|29 | [What are the different types of triggers? ]( ) | +|30 | [What is a view in the database? ]( ) | +|31 | [Why do I need views in a database? ]( ) | +|32 | [What is the difference between Primary key and unique key? ]( ) | +|33 | [How can you increase SQL performance? ]( ) | +|34 | [What is the use of OLAP? ]( ) | +|35 | [What is a measure in OLAP? ]( ) | +|36 | [What are dimensions in OLAP? ]( ) | +|37 | [What are levels in dimensions? ]( ) | +|38 | [What are fact tables and dimension tables in OLAP? ]( ) | +|39 | [What is DTS? ]( ) | +|40 | [What is fill factor? or When does page split occurs? ]( ) | +|41 | [What is RAID and how does it work? ]( ) | +|42 | [SQL Server Difference between @@IDENTITY, SCOPE_IDENTITY () and IDENT_CURRENT ]( ) | +|43 | [Difference between char varchar and nvarchar in SQL Server ]( ) | +|44 | [What is the difference between DELETE TABLE and TRUNCATE TABLE commands? ]( ) | +|45 | [If locking is not implemented, what issues can occur? ]( ) | +|46 | [What are different transaction levels in SQL SERVER? ]( ) | +|47 | [What are the different locks in SQL SERVER? ]( ) | +|48 | [Can we suggest locking hints to SQL SERVER? ]( ) | +|49 | [What is LOCK escalation? ]( ) | +|50 | [What are the different ways of moving data between databases in SQL Server? ]( ) | +|51 | [What is the difference between a HAVING CLAUSE and a WHERE CLAUSE? ]( ) | +|52 | [What is the difference between UNION and UNION ALL SQL syntax? ]( ) | +|53 | [What are the different types of triggers in SQL SERVER? ]( ) | +|54 | [if we have multiple AFTER Triggers on table how can we define the sequence od the triggers? ]( ) | +|55 | [What is SQL injection? ]( ) | +|56 | [What is the difference between Stored Procedure (SP) and User Defined Function (UDF)? ]( ) | +|57 | [How can you raise custom errors from stored procedure? ]( ) | +|58 | [What is DBCC? ]( ) | +|59 | [What is the purpose of Replication? ]( ) | +|60 | [What are the different types of replication supported by SQL SERVER? ]( ) | +|61 | [What is BCP utility in SQL SERVER? ]( ) | +|62 | [What is a Cursor? ]( ) | +|63 | [What are local and global variables and their differences? ]( ) | +|64 | [What is an index? ]( ) | +|65 | [Why do I need an index in a database? ]( ) | +|66 | [What is a query in a database? ]( ) | +|67 | [What are query types in a database? ]( ) | +|68 | [What is a join in SQL Server? ]( ) | +|69 | [What are different types of joins in SQL Server? ]( ) | +|70 | [What is Self-Join? ]( ) | +|71 | [What is Cross-Join? ]( ) | +|72 | [What is user defined functions? ]( ) | +|73 | [What are all types of user defined functions? ]( ) | +|74 | [What is collation? ]( ) | +|75 | [What are all different types of collation sensitivity? ]( ) | +|76 | [Advantages and Disadvantages of Stored Procedure? ]( ) | +|77 | [What is Online Transaction Processing (OLTP)? ]( ) | +|78 | [What is CLAUSE? ]( ) | +|79 | [What is recursive stored procedure? ]( ) | +|80 | [What is Union, minus and Interact commands? ]( ) | +|81 | [What is an ALIAS command? ]( ) | +|82 | [What is the difference between TRUNCATE and DROP statements? ]( ) | +|83 | [What are aggregate and scalar functions? ]( ) | +|84 | [What is an inner join in SQL? ]( ) | +|85 | [What is an outer join in SQL? ]( ) | +|86 | [What is full join in SQL? ]( ) | +|87 | [What is left join in SQL Server? ]( ) | +|88 | [What is a right join in SQL Server? ]( ) | +|89 | [What is database engine in SQL Server? ]( ) | +|90 | [What are the Analysis Services in SQL Server? ]( ) | +|91 | [What are the integration services in SQL Server? ]( ) | +|92 | [What are the data quality services in SQL Server? ]( ) | +|93 | [What are the reporting services in SQL Server? ]( ) | +|94 | [What are the master data services in SQL Server? ]( ) | +|95 | [What is replication in SQL Server? ]( ) | +|96 | [How to I select data from an SQL Server table? ]( ) | +|97 | [What is a check in SQL? ]( ) | +|98 | [What is a default in SQL? ]( ) | +|99 | [How to create a database using SQL? ]( ) | +|100 | [What is a constraint in SQL? ]( ) | +|101 | [What is data Integrity? ]( ) | +|102 | [What is Auto Increment? ]( ) | +|103 | [ What is the difference between Cluster and Non-Cluster Index? ]( ) | +|104 | [ What is Datawarehouse? ]( ) | +|105 | [How do I define constraints in SQL? ]( ) | +|106 | [What is the meaning of Not Null in SQL? ]( ) | +|107 | [How to alter a table schema in SQL Server? ]( ) | +|108 | [How to create index in SQL Server? ]( ) | +|109 | [How to get unique records in SQL? ]( ) | +|110 | [How to create a date column in SQL Server? ]( ) | +|111 | [What is ACID fundamental? What are transactions in SQL SERVER? ]( ) | +|112 | [What is a candidate key? ]( ) | +|113 | [How do GROUP and ORDER BY Differ? ]( ) | +|114 | [Compare SQL & PL/SQL? ]( ) | +|115 | [What is BCP? When is it used? ]( ) | +|116 | [When is the UPDATE_STATISTICS command used? ]( ) | +|117 | [Explain the steps needed to Create the scheduled job? ]( ) | +|118 | [When are we going to use truncate and delete? ]( ) | +|129 | [Explain correlated query work? ]( ) | +|120 | [When is the Explicit Cursor Used? ]( ) | +|121 | [Find What is Wrong in this Query? ]( ) | +|122 | [Write the Syntax for STUFF function in an SQL server? ]( ) | +|123 | [What are the three ways that Dynamic SQL can be executed? ]( ) | +|124 | [In what version of SQL Server were synonyms released? How do synonyms work and explain its use cases? Synonyms were released with SQL Server 2005? ]( ) | +|125 | [If you are a SQL Developer, how can you delete duplicate records in a table with no primary key? ]( ) | +|126 | [Is it possible to import data directly from T-SQL commands without using SQL Server Integration Services? If so, what are the commands? ]( ) | +|127 | [What is the native system stored procedure to execute a command against all databases? ]( ) | +|128 | [How can a SQL Developer prevent T-SQL code from running on a production SQL Server? ]( ) | +|129 | [How do you maintain database integrity where deletions from one table will automatically cause deletions in another table? ]( ) | +|130 | [What port does SQL server run on? ]( ) | +|131 | [What is the SQL CASE statement used for? Explain with an example? ]( ) | +|132 | [What are the risks of storing a hibernate-managed object in cache? How do you overcome the problems? ]( ) | +|133 | [When is the use of UPDATE_STATISTICS command? ]( ) | +|134 | [What is SQL Profiler? ]( ) | +|135 | [What command using Query Analyzer will give you the version of SQL server and operating system? ]( ) | +|136 | [What does it mean to have QUOTED_IDENTIFIER ON? What are the implications of having it OFF? ]( ) | +|137 | [What is the STUFF function and how does it differ from the REPLACE function in SQL? ]( ) | +|138 | [How to get @@ERROR and @@ROWCOUNT at the same time? ]( ) | +|139 | [What is de-normalization in SQL database administration? Give examples ? ]( ) | +|140 | [Can you explain about buffer cash and log Cache in SQL Server? ]( ) | +|141 | [Describe how to use Linked Server? ]( ) | +|142 | [Explain how to send email from SQL database? ]( ) | +|143 | [How to make remote connection in database? ]( ) | +|144 | [What is the purpose of OPENXML clause SQL server stored procedure? ]( ) | +|145 | [How to store pdf file in SQL Server? ]( ) | +|146 | [Explain the use of keyword WITH ENCRYPTION. Create a Store Procedure with Encryption? ]( ) | +|147 | [What is lock escalation? ]( ) | +|148 | [What is Failover clustering overview? ]( ) | +|149 | [What is Builtin/Administrator? ]( ) | +|150 | [What XML support does the SQL server extend? ]( ) | +|151 | [Difference between Primary Key and Foreign Key ? ]( ) | +|152 | [SQL Query to find second highest salary of Employee? ]( ) | +|153 | [SQL Query to find Max Salary from each department? ]( ) | +|154 | [Write SQL Query to display the current date? ]( ) | +|155 | [Write an SQL Query to check whether date passed to Query is the date of given format or not? ]( ) | +|156 | [ Write an SQL Query to print the name of the distinct employee whose DOB is between 01/01/1960 to 31/12/1975? ]( ) | +|157 | [Write an SQL Query find number of employees according to gender whose DOB is between 01/01/1960 to 31/12/1975? ]( ) | +|158 | [Write an SQL Query to find an employee whose Salary is equal or greater than 10000? ]( ) | +|159 | [ Write an SQL Query to find name of employee whose name Start with ‘M’? ]( ) | +|160 | [find all Employee records containing the word "Joe", regardless of whether it was stored as JOE, Joe, or joe.? ]( ) | +|161 | [ Write an SQL Query to find the year from date? ]( ) | +|162 | [How can you create an empty table from an existing table? ]( ) | +|163 | [How to fetch common records from two tables? ]( ) | +|164 | [How to fetch alternate records from a table? ]( ) | +|165 | [How to select unique records from a table? ]( ) | +|166 | [What is the command used to fetch first 5 characters of the string? ]( ) | +|167 | [Which operator is used in query for pattern matching? ]( ) | +|168 | [Write SQL Query to find duplicate rows in a database? and then write SQL query to delete them? ]( ) | +|169 | [There is a table which contains two column Student and Marks, you need to find all the students, whose marks are greater than average marks i.e. list of above average students. ]( ) | +|170 | [ How do you find all employees which are also manager? ]( ) | +|171 | [You have a composite index of three columns, and you only provide the value of two columns in WHERE clause of a select query? Will Index be used for this operation? ]( ) | +|172 | [What is the default join in SQL? Give an example query? ]( ) | +|173 | [Describe all the joins with examples in SQL? ]( ) | +|174 | [What is Union and Union All ? Explain the differences? ]( ) |