www.studyandupdates.com : SQL
Showing posts with label SQL. Show all posts
Showing posts with label SQL. Show all posts

Saturday

Explain SQL Having statement?

Q 50. Explain SQL Having statement? Ans : HAVING is used to specify a condition for a group or an aggregate  function used in the sele...
Read More

Define SQL Order by the statement?

Q 49. Define SQL Order by the statement? Ans : The ORDER BY statement in SQL is used to sort the fetched data in  either ascending or ...
Read More

What are ACID properties?

Q 48. What are ACID properties? Ans : A transaction is a single logical unit of work that accesses and possibly modifies the contents ...
Read More

What is the need for group functions in SQL?

Q 47. What is the need for group functions in SQL? Ans : In database management, group functions, also known as aggregate functions, ...
Read More

Are NULL values the same as zero or a blank space?

Q 46. Are NULL values the same as zero or a blank space? Ans : In SQL, zero or blank space can be compared with another zero or blank...
Read More

How can you fetch common records from two tables?

Q 45. How can you fetch common records from two tables? Ans : The below statement could be used to get data from multiple tables, so, ...
Read More

How to find the available constraint information in the table?

Q 44. How to find the available constraint information in the table? Ans : In SQL Server the data dictionary is a set of database tabl...
Read More

What are Nested Triggers?

Q 44. What are Nested Triggers? Ans : A trigger can also contain INSERT, UPDATE, and DELETE logic within itself, so when the trigger i...
Read More

What is ETL in SQL?

Q 43. What is ETL in SQL? Ans : ETL is a process in Data Warehousing. It stands for Extract, Transform, and Load. It is a process in w...
Read More

What is the SQL query to display the current date?

Q 42. What is the SQL query to display the current date? Ans : CURRENT_DATE returns to the current date. This function returns the sam...
Read More

How to find the available constraint information in the table?

Q 41. How to find the available constraint information in the table? Ans : In SQL Server the data dictionary is a set of database tabl...
Read More

How to copy tables in SQL?

Q 40. How to copy tables in SQL? Ans : Sometimes, in SQL, we need to create an exact copy of an already defined (or created) table. My...
Read More

What is a Live Lock?

Q 39. What is a Live Lock ? Ans : Livelock occurs when two or more processes continually repeat the same interaction in response to ch...
Read More

How do we avoid getting duplicate entries in a query without using the distinct keyword ?

Q 38. How do we avoid getting duplicate entries in a query without using the distinct keyword ? Ans : DISTINCT is useful in certain ci...
Read More

The difference between NVL and NVL2 functions?

Q 37. The difference between NVL and NVL2 functions ? Ans : These functions work with any data type and pertain to the use of null val...
Read More

Wednesday

What is Case WHEN in SQL?

Q 36. What is Case WHEN in SQL? Control statements form an important part of most languages since they control the execution of other ...
Read More

What is the difference between COALESCE() & ISNULL()?

Q 35. What is the difference between COALESCE() & ISNULL()? Ans : COALESCE(): COALESCE function in SQL returns the first non-NULL...
Read More

Name the operator which is used in the query for appending two strings?

Q 34. Name the operator which is used in the query for appending two strings ? Ans : In SQL for appending two strings, the ” Concentra...
Read More

Can we disable a trigger? If yes, how?

Q 33. Can we disable a trigger? If yes, how? Ans : Yes, we can disable a trigger in PL/SQL. If consider temporarily disabling a trigge...
Read More

What is SQL injection?

Q 32. What is SQL injection? Ans : SQL injection is a technique used to exploit user data through web page inputs by injecting SQL com...
Read More

Popular Posts