SQL MCQ Questions and Answers pdf in Hindi, SQL Questions and Answers for Interview, SQL Interview Questions and Answers for Freshers

SQL MCQ Questions and Answers pdf in English Hindi

Hello aspirant in this article you can find your query related to SQL MCQ Questions and Answers pdf in Hindi English, SQL Interview Questions and Answers for Freshers, SQL Questions and Answers for Interview, SQL interview questions pdf, SQL questions for interview, SQL questions for practice

SQL Interview Questions and Answers for Freshers

SQL questions and answers for interview, SQL questions and answers for practice, SQL interview questions for experienced, SQL interview questions for business analyst, SQL interview questions for testers, SQL MCQ Questions and Answers pdf

SQL MCQ Questions and Answers pdf in Hindi English
SQL MCQ Questions and Answers pdf in Hindi English

SQL Questions and Answers for Interview

1. What does UCASE() function do?

UCASE () फ़ंक्शन क्या करता है?

  1. Converts database field to uppercase
  2. Converts database field to lowercase
  3. Returns the length of the text field
  4. Returns the current date and time

 

2. Which function returns the correct date and time?

कौन सा फ़ंक्शन सही दिनांक और समय देता है?

  1. DATE()
  2. NOW()
  3. TIME()
  4. DATETIME()

 

3. ____ function extract characters from the text field.

____ फंक्शन टेक्स्ट फील्ड से कैरेक्टर एक्सट्रेक्ट करता है।

  1. LEN()
  2. NOW()
  3. MID()
  4. FORMAT()

 

4. We can use literal in the CONCAT function. What does literal refer to?

हम CONCAT फ़ंक्शन में शाब्दिक उपयोग कर सकते हैं। शाब्दिक क्या संदर्भित करता है?

  1. Number
  2. Character
  3. Date
  4. All of the above

 

5. In order to merge two or more strings, which string function is used?

दो या दो से अधिक स्ट्रिंग्स को मर्ज करने के लिए किस स्ट्रिंग फ़ंक्शन का उपयोग किया जाता है?

  1. CHAR
  2. ALTER
  3. CONCAT
  4. MERGE

 

6. What is the symbol of Concatenation Operator?

कॉन्सटेनेशन ऑपरेटर का प्रतीक क्या है?

  1. |
  2. ||
  3. //
  4. \\

 

7. Which clause is needed in CTE SQL syntax?

CTE SQL सिंटैक्स में किस क्लॉज की आवश्यकता है?

  1. FOR
  2. AS
  3. WITH
  4. TO

 

8. What is the full form of CTE in SQL?

SQL में CTE का पूर्ण रूप क्या है?

  1. Character Table Expressions
  2. Character Table Evaluator
  3. Common Table Evaluator
  4. Common Table Expressions

 

9. In case of ____ data, recursive CTE is used?

____ डेटा के मामले में, पुनरावर्ती CTE का उपयोग किया जाता है?

  1. Round
  2. Hierarchal
  3. Linear
  4. None of the above

 

10. In case to prevent the endless loop in CTE, ____ is added.

सीटीई में अंतहीन लूप को रोकने के लिए ________ जोड़ा जाता है।

  1. MAXLINEAR
  2. MAXROUND
  3. MAXRECURSION
  4. None of the above

 

SQL MCQ Questions and Answers pdf in Hindi

11. In case the CTE is wrong, it goes into _________.

यदि सीटीई गलत है, तो यह _______ में जाता है।

  1. Infinite Loop
  2. Null State
  3. False State
  4. True State

 

12. Which of the following statement is TRUE about DISTINCT Clause?

DISTINCT क्लॉज के बारे में निम्नलिखित में से कौन सा कथन सत्य है?

  1. Returns only Distinct values.
  2. Only on the single column, it operates.
  3. It can be used with the aggregates such as COUNT, AVG, etc.
  4. All of the above

 

13. From the set of results, in order to remove the duplicate columns, ____ Clause is used.

परिणामों के सेट से, डुप्लिकेट कॉलम को हटाने के लिए, ____ क्लॉज का उपयोग किया जाता है।

  1. DUPLICATE
  2. DISTINCT
  3. REMOVE
  4. DROP

 

14. Which of the following statement is TRUE about DISTINCT Clause?

DISTINCT क्लॉज के बारे में निम्नलिखित में से कौन सा कथन सत्य है?

  1. It cannot ignore the NULL values
  2. It can ignore the NULL values
  3. Its query can return multiple values
  4. None of the above

 

15. ____ are the columns for the retrieval purpose.

____ पुनर्प्राप्ति उद्देश्य के लिए कॉलम हैं।

  1. Tables
  2. WHERE Conditions
  3. Expressions
  4. None of the above

 

16. In order to join N tables, minimum number of join statements required is _____.

N टेबल्स में शामिल होने के लिए, आवश्यक जॉइन स्टेटमेंट की न्यूनतम संख्या _____ है।

  1. N
  2. N-1
  3. N-2
  4. N+1

 

17. The Web SQL API is supported by _______.

Web SQL API _______ द्वारा समर्थित है।

  1. Opera
  2. Google Chrome
  3. Android Browsers
  4. All of the above

 

18. ____ Clause is used in Parent-child relationship in order to join two or more tables.

दो या दो से अधिक Tables को जोड़ने के लिए Parent-Child संबंध में ______ क्लॉज का उपयोग किया जाता है।

  1. FROM
  2. TO
  3. WHERE
  4. IN

 

19. Which of the following statement is TRUE?

निम्नलिखित में से कौन सा कथन सत्य है?

  1. Web API is the part of HTML5
  2. Web API is not the part of HTML5
  3. Web API is the part of HTML
  4. Web API is the part of XHTML

 

20. In order to manage or store the data in the database, WEB SQL Database is used which is a _______.

डेटाबेस में डेटा को मैनेज या स्टोर करने के लिए, WEB SQL डेटाबेस का उपयोग किया जाता है जो एक _____ है।

  1. Web site
  2. Web page
  3. Web browser
  4. None of the above

 

SQL MCQ Questions and Answers pdf in English

21. In order to execute a query in Web SQL, which function is used?

वेब SQL में किसी क्वेरी को निष्पादित करने के लिए किस फ़ंक्शन का उपयोग किया जाता है?

  1. open()
  2. translate()
  3. transaction()
  4. execute()

 

22. Select the correct method of Web SQL?

Web SQL की सही विधि का चयन करें?

  1. Execute SQL
  2. Transaction
  3. Open Database
  4. All of the above

 

23. Transaction is able to control the following ________.

Transaction निम्नलिखित ________ को नियंत्रित करने में सक्षम है।

  1. Transaction
  2. Commit
  3. Rollback
  4. All of the above

 

24. Name of the operators in SET Operators is __________.

SET ऑपरेटरों में ऑपरेटरों का नाम __________ है।

  1. UNION
  2. INTERSECT
  3. MINUS
  4. All of the above

 

25. SET Operators are used to _________.

SET ऑपरेटरों का उपयोग _________ के लिए किया जाता है।

  1. Compile the results from two queries
  2. Compile the results from three queries
  3. Compile the results from four queries
  4. Compile the results from five queries

Also Read: SQL Questions and Answers for Interview pdf

26. Rules that are needed to be followed in SET Operators in SQL are _______.

SQL में SET ऑपरेटर्स में जिन नियमों का पालन करने की आवश्यकता होती है, वे _______ हैं।

  1. All columns must be identical in number and order.
  2. There must be compatibility between data types.
  3. Both A) and B)
  4. None of the above

 

27. What is TRUE about UNION ALL Operator?

UNION ALL ऑपरेटर के बारे में क्या सच है?

  1. The results of both queries are combined with this operator.
  2. After performing the UNION ALL operation, duplicate rows will not be removed.
  3. Both A) and B)
  4. None of the above

 

28. Combining the results of ___ select statements will be done using UNION.

___चयनित कथनों के परिणामों का संयोजन UNION का उपयोग करके किया जाएगा।

  1. One
  2. Two
  3. Three
  4. Four

 

29. A SELECT statement is intersected to use it as a join, but it only returns the records that are ________ between both statements.

एक सेलेक्ट स्टेटमेंट को एक जॉइन के रूप में उपयोग करने के लिए इंटरसेक्ट किया जाता है, लेकिन यह केवल उन रिकॉर्ड्स को लौटाता है जो दोनों स्टेटमेंट्स के बीच ________ हैं।

  1. Distinct
  2. Common
  3. Shared
  4. Both B) and C)

 

30. What is the difference between UNION & UNION ALL operators?

UNION और UNION ALL ऑपरेटरों के बीच क्या अंतर है?

  1. Combining the results of two select statements will be done using UNION whereas combined records from both queries are returned by UNION ALL operator.
  2. Combining the results of two select statements will be done using UNION ALL whereas combined records from both queries are returned by UNION operator.
  3. After performing the UNION operation, duplicate rows will not be removed whereas after performing the UNION ALL operation, duplicate rows will be removed.
  4. None of the above

 

SQL MCQ Questions and Answers pdf in Hindi

31. MINUS Operator displays the rows which are ________.

MINUS ऑपरेटर उन पंक्तियों को प्रदर्शित करता है जो ________ हैं।

  1. Detected in the second query, absent in the first query, and there are no duplications.
  2. Detected in the first query, absent in the second query, and there are no duplications.
  3. Detected in the first query, absent in the second query, and there are duplications.
  4. Detected in the second query, absent in the first query, and there are duplications.

 

32. SQL indexes speed up the execution time of which statement(s)?

SQL इंडेक्स किस स्टेटमेंट के एक्जीक्यूशन टाइम को तेज करता है?

  1. SELECT
  2. WHERE
  3. Both A) and B)
  4. None of the above

 

33. SQL Indexes slows the execution time of which statement(s)?

SQL इंडेक्स किस स्टेटमेंट के निष्पादन समय को धीमा कर देता है?

  1. UPDATE
  2. INSERT
  3. SELECT
  4. Both A) and B)

 

34. Why index is important in SQL?

SQL में इंडेक्स क्यों महत्वपूर्ण है?

  1. The large database can be searched quickly with SQL Indexes.
  2. The concept below is a quick way to include different values in those columns.
  3. A smaller table may not recognize the performance of an index when used with an index.
  4. All of the above

 

35. Unique Index is similar to _______.

Unique Index _______ के समान है।

  1. Primary Key
  2. Foreign Key
  3. Composite Key
  4. Alternate Key

 

36. In order to create the Index, we need to use which command?

इंडेक्स बनाने के लिए हमें किस कमांड का उपयोग करना होगा?

  1. ALTER
  2. UPDATE
  3. CREATE
  4. ADD

 

37. To rename the Index, we need to use which command?

इंडेक्स का नाम बदलने के लिए, हमें किस कमांड का उपयोग करना होगा?

  1. RENAME
  2. ALTER
  3. UPDATE
  4. ADD

 

38. Which statement is correct to remove an Index from MySQL Database?

MySQL डेटाबेस से इंडेक्स को हटाने के लिए कौन सा कथन सही है?

  1. DROP INDEX Index_Name;
  2. ALTER TABLE Table_Name DROP INDEX Index_Name;
  3. DROP INDEX Index_Name ON Table_Name;
  4. DROP INDEX Table_Name.Index_Name;

 

39. In order to remove an index, we need to use which command?

किसी इंडेक्स को हटाने के लिए हमें किस कमांड का उपयोग करना होगा?

  1. REMOVE
  2. DELETE
  3. DROP
  4. DEL

 

40. Which of the following states the correct situation in which Indexes should not be used in SQL?

निम्नलिखित में से कौन सही स्थिति बताता है जिसमें SQL में इंडेक्स का उपयोग नहीं किया जाना चाहिए?

  1. When the table is small, it is possible to avoid using SQL indexes.
  2. Updates need to be made frequently to the table.
  3. When there are a lot of NULL values in a column, indexed should not be used.
  4. All of the above

 

SQL MCQ Questions and Answers pdf in English

41. In the relational database, in order to modify index, we need to use which command?

रिलेशनल डेटाबेस में, इंडेक्स को संशोधित करने के लिए, हमें किस कमांड का उपयोग करने की आवश्यकता है?

  1. ALTER
  2. MODIFY
  3. UPDATE
  4. ADD

 

42. In how many parts are the SQL functions are divided into?

SQL फंक्शन को कितने भागों में बांटा गया है?

  1. 1
  2. 2
  3. 3
  4. 4

 

43. Select the Aggregate function(s) among the following.

निम्नलिखित में से एग्रीगेट फ़ंक्शन का चयन करें।

  1. AVG()
  2. FIRST()
  3. LAST()
  4. All of the above

 

44. ____ value is returned by the SQL Aggregate functions?

SQL एग्रीगेट फ़ंक्शन द्वारा ____ मान वापस किया जाता है?

  1. Single
  2. Twice
  3. NULL
  4. Infinite

 

45. What does AVG() function returns?

AVG () फ़ंक्शन क्या लौटाता है?

  1. First value of the column
  2. Last value of the column
  3. Sum of rows of the table
  4. Average value of the column

 

46. What does COUNT() function returns?

COUNT () फ़ंक्शन क्या लौटाता है?

  1. Average value
  2. Largest value
  3. Smallest value
  4. Number of rows

 

47. Which function returns the largest value of the column?

कौन सा फ़ंक्शन कॉलम का सबसे बड़ा मान देता है?

  1. MIN()
  2. MAX()
  3. LARGE()
  4. AVG()

 

48. Select the function which is not the Scalar Function(s)?

उस फ़ंक्शन का चयन करें जो स्केलर फ़ंक्शन नहीं है?

  1. UCASE()
  2. LEN()
  3. SUM()
  4. NOW()

 

49. Comments whose starting and ending lines are different are known as ______.

वे टिप्पणियाँ जिनकी आरंभ और समाप्ति रेखाएँ भिन्न-भिन्न होती हैं, ______ कहलाती हैं।

  1. Inline Comments
  2. Multi-line Comments
  3. Single Line Comments
  4. Varied line Comments

 

50. In order to convert the expression from one to another data type, which SQL Function is used?

एक्सप्रेशन को एक से दूसरे डेटा टाइप में बदलने के लिए कौन सा SQL फंक्शन प्रयोग किया जाता है?

  1. CONVERT
  2. CHANGE
  3. CAST
  4. TRANSIT

 

SQL MCQ Questions and Answers pdf in Hindi

So friend I hope you enjoy this article related to SQL MCQ Questions and Answers pdf in English, SQL Questions and Answers for Interview, SQL Interview Questions and Answers for Freshers, SQL questions and answers for interview

SQL MCQ Questions and Answers pdf Download

File Name SQL MCQ Questions and Answers pdf in Hindi English
File Size 630 KB
No of Pages 11
Language Hindi and English
Download Click Here

 

Related Searches: SQL MCQ questions and answers pdf download, SQL interview questions for experienced, SQL interview questions and answers for freshers, SQL interview questions for business analyst, SQL interview questions for testers, SQL interview questions pdf, SQL questions for interview, SQL questions for practice, SQL questions and answers for interview, SQL questions and answers for practice

3 Comments

  1. Student Services Departmentsays:

    Somebody essentially help to make significantly posts I would state.
    That is the very first time I frequented your website
    page and so far? I surprised with the analysis you made to create this
    particular put up extraordinary. Great job!

  2. I don’t even know how I ended up here, but I thought this post was good.

    I do not know who you are but definitely you are going to a famous blogger if you aren’t
    already 😉 Cheers!

Leave a Reply

Your email address will not be published. Required fields are marked *