Database
 sql >> डेटाबेस >  >> RDS >> Database

शीर्ष 115 SQL साक्षात्कार प्रश्न जो आपको 2022 में तैयार करने चाहिए

RDBMS अब तक का सबसे अधिक उपयोग किया जाने वाला डेटाबेस है, और इसलिए SQL कौशल अधिकांश नौकरी भूमिकाओं में अपरिहार्य हैं। इस SQL ​​​​साक्षात्कार प्रश्न लेख में, मैं आपको SQL (संरचित क्वेरी भाषा) पर अक्सर पूछे जाने वाले प्रश्नों से परिचित कराऊंगा। यह लेख आपके लिए SQL, Oracle, MS SQL Server और MySQL डेटाबेस से संबंधित सभी अवधारणाओं को सीखने के लिए एकदम सही मार्गदर्शिका है। हमारा शीर्ष 65 SQL साक्षात्कार प्रश्न लेख एक-स्टॉप संसाधन . है जहां से आप अपने इंटरव्यू की तैयारी को बढ़ावा दे सकते हैं।

अपने करियर में आगे बढ़ने के लिए खुद को अपस्किल करना चाहते हैं? शीर्ष रुझान वाली तकनीकें देखें .

आइए शुरू करें!

एसक्यूएल साक्षात्कार प्रश्न

  1. SQL और MySQL में क्या अंतर है?
  2. SQL के विभिन्न उपसमुच्चय क्या हैं?
  3. DBMS से आप क्या समझते हैं? इसके विभिन्न प्रकार क्या हैं?
  4. SQL में टेबल और फील्ड से आप क्या समझते हैं?
  5. SQL में जॉइन क्या होते हैं?
  6. SQL में CHAR और VARCHAR2 डेटाटाइप में क्या अंतर है?
  7. प्राथमिक कुंजी क्या है?
  8. प्रतिबंध क्या हैं?
  9. DELETE और TRUNCATE कथनों में क्या अंतर है?
  10. अद्वितीय कुंजी क्या है?

Q1. SQL और MySQL में क्या अंतर है?

SQL बनाम MySQL

SQL MySQL
SQL एक मानक भाषा है, जो निम्नलिखित पर आधारित संरचित क्वेरी भाषा के लिए है। अंग्रेजी भाषा MySQL एक डेटाबेस प्रबंधन प्रणाली है।
SQL रिलेशनल डेटाबेस का मूल है जिसका उपयोग डेटाबेस तक पहुँचने और प्रबंधन के लिए किया जाता है

MySQL एक RDMS (रिलेशनल डेटाबेस मैनेजमेंट सिस्टम) है जैसे SQL सर्वर, Informix आदि.

Q2. SQL के विभिन्न उपसमुच्चय क्या हैं?

  • डेटा डेफिनिशन लैंग्वेज (DDL) - यह आपको डेटाबेस पर विभिन्न ऑपरेशन जैसे CREATE, ALTER, और DELETE ऑब्जेक्ट्स को निष्पादित करने की अनुमति देता है।
  • डेटा हेरफेर भाषा (डीएमएल) - यह आपको डेटा तक पहुंचने और हेरफेर करने की अनुमति देता है। यह आपको डेटाबेस से डेटा डालने, अपडेट करने, हटाने और पुनर्प्राप्त करने में मदद करता है।
  • डेटा नियंत्रण भाषा (डीसीएल) - यह आपको डेटाबेस तक पहुंच को नियंत्रित करने की अनुमति देता है। उदाहरण - अनुदान दें, पहुंच अनुमतियां निरस्त करें।

Q3. डीबीएमएस से आप क्या समझते हैं ? इसके विभिन्न प्रकार क्या हैं?

एक डेटाबेस प्रबंधन प्रणाली (डीबीएमएस ) एक सॉफ्टवेयर एप्लिकेशन है जो डेटा को कैप्चर और विश्लेषण करने के लिए उपयोगकर्ता, एप्लिकेशन और डेटाबेस के साथ इंटरैक्ट करता है। एक डेटाबेस डेटा का एक संरचित संग्रह है।

DBMS उपयोगकर्ता को डेटाबेस के साथ इंटरैक्ट करने की अनुमति देता है। डेटाबेस में संग्रहीत डेटा को संशोधित, पुनर्प्राप्त और हटाया जा सकता है और यह किसी भी प्रकार का हो सकता है जैसे स्ट्रिंग्स, नंबर, इमेज इत्यादि।

DBMS दो प्रकार के होते हैं:

  • रिलेशनल डेटाबेस मैनेजमेंट सिस्टम :डेटा को संबंधों (तालिकाओं) में संग्रहीत किया जाता है। उदाहरण - MySQL।
  • गैर-संबंधपरक डेटाबेस प्रबंधन प्रणाली :संबंधों, टुपल्स और विशेषताओं की कोई अवधारणा नहीं है। उदाहरण - मोंगोडीबी

आइए इस SQL ​​​​साक्षात्कार प्रश्न में अगले प्रश्न पर चलते हैं।

Q4. आरडीबीएमएस क्या है? यह डीबीएमएस से किस प्रकार भिन्न है?

एक रिलेशनल डेटाबेस मैनेजमेंट सिस्टम (RDBMS) अनुप्रयोगों और सुविधाओं का एक सेट है जो आईटी पेशेवरों और अन्य लोगों को रिलेशनल डेटाबेस के साथ विकसित, संपादित, प्रशासन और बातचीत करने की अनुमति देता है। अधिकांश व्यावसायिक संबंधपरक डेटाबेस प्रबंधन प्रणालियाँ डेटाबेस तक पहुँचने के लिए संरचित क्वेरी भाषा (SQL) का उपयोग करती हैं, जिसे तालिकाओं के रूप में संग्रहीत किया जाता है।
RDBMS दुनिया भर के व्यवसायों में सबसे व्यापक रूप से उपयोग किया जाने वाला डेटाबेस सिस्टम है। यह बड़ी मात्रा में डेटा संग्रहीत करने और पुनर्प्राप्त करने का एक स्थिर साधन प्रदान करता है।

डेटाबेस, सामान्य रूप से, डेटा का संग्रह रखता है जिसे एक्सेस किया जा सकता है और अन्य अनुप्रयोगों में उपयोग किया जा सकता है। डेटाबेस प्लेटफ़ॉर्म का विकास, प्रशासन और उपयोग सभी एक डेटाबेस प्रबंधन प्रणाली द्वारा समर्थित हैं।

एक रिलेशनल डेटाबेस मैनेजमेंट सिस्टम (RDBMS) एक प्रकार का डेटाबेस मैनेजमेंट सिस्टम (DBMS) है जो डेटा को एक पंक्ति-आधारित तालिका संरचना में संग्रहीत करता है जो संबंधित डेटा घटकों को जोड़ता है। RDBMS में ऐसे कार्य होते हैं जो डेटा की सुरक्षा, सटीकता, अखंडता और स्थिरता सुनिश्चित करते हैं। यह डेटाबेस प्रबंधन प्रणाली द्वारा उपयोग किए जाने वाले फ़ाइल संग्रहण के समान नहीं है।

डेटाबेस प्रबंधन प्रणालियों और संबंधपरक डेटाबेस प्रबंधन प्रणालियों के बीच कुछ और अंतर निम्नलिखित हैं:

उन उपयोगकर्ताओं की संख्या जिन्हें सिस्टम का उपयोग करने की अनुमति है
एक डीबीएमएस एक समय में केवल एक उपयोगकर्ता को संभाल सकता है, जबकि एक आरडीबीएमएस कई उपयोगकर्ताओं को संभाल सकता है।
हार्डवेयर और सॉफ़्टवेयर विनिर्देश
RDBMS की तुलना में, DBMS को कम सॉफ्टवेयर और हार्डवेयर की आवश्यकता होती है।
जानकारी की मात्रा
आरडीबीएमएस छोटे से लेकर बड़े तक किसी भी मात्रा में डेटा को संभाल सकते हैं, जबकि डीबीएमएस छोटी मात्रा तक सीमित हैं।
डेटाबेस की संरचना
डेटा एक डीबीएमएस में एक पदानुक्रमित प्रारूप में संग्रहीत किया जाता है, जबकि एक आरडीबीएमएस हेडर के साथ एक तालिका का उपयोग करता है जो कॉलम नाम और पंक्तियों के रूप में कार्य करता है जो संबंधित मूल्यों को धारण करते हैं।
एसिड सिद्धांत का कार्यान्वयन
डेटा भंडारण के लिए DBMS द्वारा परमाणुता, स्थिरता, अलगाव और स्थायित्व (ACID) अवधारणा का उपयोग नहीं किया जाता है। दूसरी ओर, RDBMS अपने डेटा को व्यवस्थित करने और निरंतरता सुनिश्चित करने के लिए ACID मॉडल का उपयोग करते हैं।
डेटाबेस जो वितरित किए जाते हैं
एक DBMS वितरित डेटाबेस के लिए पूर्ण समर्थन प्रदान नहीं करेगा, जबकि एक RDBMS करेगा।
प्रबंधित कार्यक्रम
एक DBMS उन डेटाबेस को रखने पर ध्यान केंद्रित करता है जो कंप्यूटर नेटवर्क और सिस्टम हार्ड डिस्क के भीतर मौजूद होते हैं, जबकि एक RDBMS डेटा की सम्मिलित तालिकाओं के बीच संबंधों को प्रबंधित करने में मदद करता है।
डेटाबेस का सामान्यीकरण समर्थित है
RDBMS को सामान्यीकृत किया जा सकता है, लेकिन DBMS को सामान्यीकृत नहीं किया जा सकता है।

Q5. सेल्फ़-जॉइन क्या है?

एक स्व-जुड़ना एक प्रकार का जुड़ाव है जिसका उपयोग दो तालिकाओं को जोड़ने के लिए किया जा सकता है। नतीजतन, यह एक एकल संबंध है। तालिका की प्रत्येक पंक्ति स्वयं से जुड़ी होती है और उसी तालिका की अन्य सभी पंक्तियों को सेल्फ-जॉइन में जोड़ा जाता है। नतीजतन, एक सेल्फ-जॉइन का इस्तेमाल ज्यादातर एक ही डेटाबेस टेबल से पंक्तियों को मिलाने और तुलना करने के लिए किया जाता है।

Q6. सेलेक्ट स्टेटमेंट क्या है?

एक सेलेक्ट कमांड को एक या अधिक डेटाबेस टेबल या व्यू से शून्य या अधिक पंक्तियाँ मिलती हैं। अधिकांश अनुप्रयोगों में सबसे लगातार डेटा हेरफेर भाषा (डीएमएल) कमांड चयन है। SELECT क्वेरीज़ एक परिणाम सेट को परिभाषित करती हैं, लेकिन इसकी गणना कैसे करें, यह नहीं, क्योंकि SQL एक डिक्लेरेटिव प्रोग्रामिंग लैंग्वेज है।

Q7. SQL में सेलेक्ट क्वेरी के साथ उपयोग किए जाने वाले कुछ सामान्य क्लॉज क्या हैं? <बी>

SELECT क्वेरी के साथ संयोजन में उपयोग किए जाने वाले कुछ नियमित SQL क्लॉज निम्नलिखित हैं:

कहां क्लॉज:SQL में, WHERE क्लॉज का उपयोग कुछ मानदंडों के आधार पर आवश्यक रिकॉर्ड को फ़िल्टर करने के लिए किया जाता है।
आदेश दें क्लॉज:SQL में ORDER BY क्लॉज का उपयोग डेटा को आरोही (ASC) या अवरोही (DESC) क्रम में निर्दिष्ट फ़ील्ड (ओं) (DESC) के आधार पर सॉर्ट करने के लिए किया जाता है।
समूह द्वारा क्लॉज:SQL में ग्रुप बाय क्लॉज का उपयोग समान डेटा वाली प्रविष्टियों को समूहबद्ध करने के लिए किया जाता है और सारांशित डेटाबेस परिणाम प्राप्त करने के लिए एकत्रीकरण विधियों के साथ उपयोग किया जा सकता है।
हो रहा है SQL में क्लॉज का उपयोग ग्रुप बाय क्लॉज के संयोजन में रिकॉर्ड्स को फ़िल्टर करने के लिए किया जाता है। यह WHERE से अलग है, क्योंकि WHERE क्लॉज समेकित रिकॉर्ड्स को फ़िल्टर नहीं कर सकता है।

Q8. यूनियन, माइनस और इंटरसेक्ट कमांड क्या हैं?

डुप्लिकेट प्रविष्टियों को हटाते समय दो तालिकाओं के परिणामों को संयोजित करने के लिए UNION ऑपरेटर का उपयोग किया जाता है।
पहली क्वेरी से पंक्तियों को वापस करने के लिए MINUS ऑपरेटर का उपयोग किया जाता है, लेकिन दूसरी क्वेरी से नहीं।
INTERSECT ऑपरेटर का उपयोग दोनों प्रश्नों के परिणामों को एक पंक्ति में संयोजित करने के लिए किया जाता है।
उपरोक्त SQL कथनों में से किसी एक को चलाने से पहले, कुछ आवश्यकताओं को पूरा किया जाना चाहिए -
क्लॉज के भीतर, प्रत्येक SELECT क्वेरी में समान मात्रा में कॉलम होने चाहिए।
कॉलम में डेटा प्रकार भी तुलनीय होना चाहिए।
प्रत्येक SELECT स्टेटमेंट में, कॉलम एक ही क्रम में होने चाहिए।

Q9. कर्सर क्या है? कर्सर का उपयोग कैसे करें?

किसी भी परिवर्तनशील घोषणा के बाद, एक कर्सर घोषित करें। एक सेलेक्ट स्टेटमेंट को हमेशा कर्सर की परिभाषा के साथ जोड़ा जाना चाहिए।

परिणाम सेट शुरू करने के लिए, इसके ऊपर कर्सर ले जाएँ। परिणाम सेट से पंक्तियाँ प्राप्त करने से पहले, OPEN कथन निष्पादित किया जाना चाहिए।

पुनः प्राप्त करने और परिणाम सेट में अगली पंक्ति पर जाने के लिए, FETCH कमांड का उपयोग करें।

कर्सर को निष्क्रिय करने के लिए, CLOSE कमांड का उपयोग करें।

अंत में, कर्सर परिभाषा को हटाने और इससे जुड़े संसाधनों को मुक्त करने के लिए DEALLOCATE कमांड का उपयोग करें।

Q10. SQL में विभिन्न प्रकार के संबंधों की सूची बनाएं।

डेटाबेस में विभिन्न प्रकार के संबंध हैं:

एक-से-एक - यह दो तालिकाओं के बीच एक कनेक्शन है जिसमें एक तालिका में प्रत्येक रिकॉर्ड दूसरे में अधिकतम एक रिकॉर्ड से मेल खाता है।

एक-से-अनेक और अनेक-से-एक - यह सबसे लगातार कनेक्शन है, जिसमें एक टेबल में एक रिकॉर्ड दूसरे में कई रिकॉर्ड से जुड़ा होता है।

अनेक-से-अनेक - इसका उपयोग किसी रिश्ते को परिभाषित करते समय किया जाता है जिसके लिए प्रत्येक पक्ष पर कई उदाहरणों की आवश्यकता होती है।

स्व-संदर्भित संबंध - जब किसी तालिका को स्वयं के साथ संबंध घोषित करना होता है, तो यह नियोजित करने का तरीका है।

Q12. OLTP क्या है?

OLTP, या ऑनलाइन ट्रांजेक्शनल प्रोसेसिंग, लोगों के विशाल समूहों को वास्तविक समय में, आमतौर पर इंटरनेट के माध्यम से भारी मात्रा में डेटाबेस लेनदेन निष्पादित करने की अनुमति देता है। डेटाबेस लेन-देन तब होता है जब डेटाबेस में डेटा को बदला जाता है, डाला जाता है, हटाया जाता है या पूछताछ की जाती है।

Q13. OLTP और OLAP में क्या अंतर हैं?

OLTP का अर्थ ऑनलाइन लेनदेन प्रसंस्करण है, जबकि OLAP का अर्थ ऑनलाइन विश्लेषणात्मक प्रसंस्करण है। OLTP एक ऑनलाइन डेटाबेस संशोधन प्रणाली है, जबकि OLAP एक ऑनलाइन डेटाबेस क्वेरी प्रतिक्रिया प्रणाली है।

Q14. किसी अन्य तालिका के समान संरचना वाली खाली तालिकाएँ कैसे बनाएँ?

खाली टेबल बनाने के लिए:
सभी प्रविष्टियों के लिए WHERE क्लॉज को गलत पर सेट करते समय एक तालिका के रिकॉर्ड को एक नई तालिका में लाने के लिए INTO ऑपरेटर का उपयोग करके, समान संरचना के साथ खाली तालिकाएँ बनाना संभव है। परिणामस्वरूप, SQL प्राप्त प्रविष्टियों को स्वीकार करने के लिए डुप्लिकेट संरचना के साथ एक नई तालिका बनाता है, लेकिन WHERE क्लॉज़ सक्रिय होने के बाद से नई तालिका में कुछ भी संग्रहीत नहीं किया जाता है।

Q15. PostgreSQL क्या है?

1986 में, कंप्यूटर साइंस के प्रोफेसर माइकल स्टोनब्रेकर के नेतृत्व में एक टीम ने Postgres नाम से PostgreSQL बनाया। इसे सिस्टम में डेटा अखंडता और दोष सहिष्णुता सुनिश्चित करके उद्यम-स्तर के अनुप्रयोगों के विकास में डेवलपर्स की सहायता के लिए बनाया गया था। PostgreSQL एक एंटरप्राइज़-स्तरीय, बहुमुखी, लचीला, ओपन-सोर्स, ऑब्जेक्ट-रिलेशनल डेटाबेस मैनेजमेंट सिस्टम है जो वैरिएबल वर्कलोड और समवर्ती उपयोगकर्ताओं का समर्थन करता है। अंतरराष्ट्रीय डेवलपर समुदाय ने लगातार इसका समर्थन किया है। PostgreSQL ने अपनी दोष-सहिष्णु विशेषताओं के कारण डेवलपर्स के बीच महत्वपूर्ण अपील हासिल की है।
यह एक बहुत ही विश्वसनीय डेटाबेस प्रबंधन प्रणाली है, जिसमें दो दशकों से अधिक का सामुदायिक कार्य इसके उच्च स्तर के लचीलेपन, अखंडता और सटीकता के लिए धन्यवाद देना है। कई ऑनलाइन, मोबाइल, भू-स्थानिक और विश्लेषिकी एप्लिकेशन PostgreSQL का उपयोग अपने प्राथमिक डेटा संग्रहण या डेटा वेयरहाउस के रूप में करते हैं।

Q16. SQL टिप्पणियाँ क्या हैं?

SQL टिप्पणियों का उपयोग SQL कथनों के कुछ हिस्सों को स्पष्ट करने और SQL कथनों को निष्पादित होने से रोकने के लिए किया जाता है। कई प्रोग्रामिंग भाषाओं में टिप्पणियाँ काफी महत्वपूर्ण हैं। टिप्पणियाँ Microsoft Access डेटाबेस द्वारा समर्थित नहीं हैं। परिणामस्वरूप, Microsoft Access डेटाबेस का उपयोग Mozilla Firefox और Microsoft Edge के उदाहरणों में किया जाता है।
सिंगल लाइन टिप्पणियाँ:यह लगातार दो हाइफ़न (-) से शुरू होती है।
बहु-पंक्ति टिप्पणियाँ:यह /* से शुरू होती है और */ पर समाप्त होती है।

Q17. NVL () फ़ंक्शन का उपयोग क्या है?

आप शून्य मानों को डिफ़ॉल्ट मान से बदलने के लिए NVL फ़ंक्शन का उपयोग कर सकते हैं। यदि पहला पैरामीटर शून्य है, तो फ़ंक्शन दूसरे पैरामीटर का मान लौटाता है। यदि पहला पैरामीटर शून्य के अलावा कुछ भी है, तो उसे अकेला छोड़ दिया जाता है।

यह फ़ंक्शन Oracle में उपयोग किया जाता है, SQL और MySQL में नहीं। NVL () फ़ंक्शन के बजाय, MySQL में IFNULL () है और SQL सर्वर में ISNULL () फ़ंक्शन है।

आइए इस SQL ​​​​साक्षात्कार प्रश्न में अगले प्रश्न पर चलते हैं।

Q18. कैरेक्टर मैनिपुलेशन फंक्शन समझाइए? SQL में इसके विभिन्न प्रकारों की व्याख्या करता है।

कैरेक्टर मैनिपुलेशन रूटीन का उपयोग करके कैरेक्टर स्ट्रिंग को बदलें, एक्सट्रेक्ट करें और एडिट करें। फ़ंक्शन इनपुट स्ट्रिंग्स पर अपनी कार्रवाई करेगा और एक या अधिक वर्णों और शब्दों की आपूर्ति किए जाने पर परिणाम लौटाएगा।

SQL में कैरेक्टर मैनिपुलेशन फंक्शन इस प्रकार हैं:

ए) CONCAT (दो या दो से अधिक मानों को जोड़ना):इस फ़ंक्शन का उपयोग दो या दो से अधिक मानों को एक साथ जोड़ने के लिए किया जाता है। दूसरी स्ट्रिंग को हमेशा पहली स्ट्रिंग के अंत में जोड़ा जाता है।

B) SUBSTR:यह फ़ंक्शन किसी दिए गए प्रारंभ बिंदु से किसी दिए गए समापन बिंदु तक एक स्ट्रिंग का एक खंड लौटाता है।

C) LENGTH:यह फ़ंक्शन रिक्त स्थान सहित स्ट्रिंग की लंबाई को संख्यात्मक रूप में लौटाता है।

D) INSTR:यह फ़ंक्शन एक स्ट्रिंग में किसी वर्ण या शब्द के सटीक संख्यात्मक स्थान की गणना करता है।

ई) एलपीएडी:राइट-जस्टिफाइड वैल्यूज के लिए, यह लेफ्ट-साइड कैरेक्टर वैल्यू की पैडिंग लौटाता है।

एफ) आरपीएडी:लेफ्ट-जस्टिफाइड वैल्यू के लिए, यह राइट-साइड कैरेक्टर वैल्यू की पैडिंग लौटाता है।

G) TRIM:यह फ़ंक्शन एक स्ट्रिंग के आरंभ, अंत या दोनों सिरों से सभी परिभाषित वर्णों को हटा देता है। इसने व्यर्थ स्थान की मात्रा को भी कम किया।

एच) रिप्लेस:यह फ़ंक्शन किसी शब्द या स्ट्रिंग के एक सेक्शन (सबस्ट्रिंग) के सभी इंस्टेंस को निर्दिष्ट अन्य स्ट्रिंग मान के साथ बदल देता है।

Q19. कर्मचारी नाम की तालिका से कर्मचारी का तीसरा अधिकतम वेतन पाने के लिए SQL क्वेरी लिखें।

कर्मचारी तालिका

कर्मचारी_नाम वेतन
24000
सी 34000
डी 55000
75000
F 21000
जी 40000
एच 50000

चुनें * से (

चुनें कर्मचारी_नाम, वेतन, DENSE_RANK()

ओवर (वेतन डीईएससी द्वारा आदेश) कर्मचारी से आर)

जहां r=&n;

तीसरा उच्चतम वेतन सेट खोजने के लिए n =3

Q20. RANK() और DENSE_RANK() फ़ंक्शंस में क्या अंतर है?

परिणाम सेट में रैंक () फ़ंक्शन आपके आदेशित विभाजन के भीतर प्रत्येक पंक्ति के रैंक को परिभाषित करता है। यदि दोनों पंक्तियों में समान रैंक है, तो रैंकिंग में अगला नंबर पिछली रैंक और कई डुप्लिकेट होंगे। उदाहरण के लिए, यदि हमारे पास रैंक 4 पर तीन रिकॉर्ड हैं, तो अगला स्तर 7 इंगित किया गया है।

DENSE_RANK() फ़ंक्शन बिना किसी अंतराल के प्रदान किए गए कॉलम मान के आधार पर विभाजन के भीतर प्रत्येक पंक्ति को एक अलग रैंक प्रदान करता है। यह हमेशा वरीयता के क्रम में एक रैंकिंग को इंगित करता है। यह फ़ंक्शन दो पंक्तियों को समान रैंक प्रदान करेगा यदि उनके पास समान रैंक है, अगली रैंक अगली लगातार संख्या होगी। उदाहरण के लिए, यदि हमारे पास रैंक 4 पर तीन रिकॉर्ड हैं, तो अगले स्तर का संकेत 5 है।

<मजबूत>क्यू21. टेबल और फील्ड क्या हैं?

एक तालिका एक रिलेशनल डेटाबेस में पंक्तियों और स्तंभों में व्यवस्थित डेटा घटकों का एक संग्रह है। एक तालिका को संबंधों के उपयोगी प्रतिनिधित्व के रूप में भी माना जा सकता है। डेटा संग्रहण का सबसे बुनियादी रूप तालिका है। कर्मचारी तालिका का एक उदाहरण नीचे दिखाया गया है।

आईडी नाम विभाग वेतन
1 राहुल बिक्री 24000
2 रोहिणी विपणन 34000
3 शीलेश बिक्री 24000
4 तरुण एनालिटिक्स 30000

एक रिकॉर्ड या पंक्ति एक तालिका में एक एकल प्रविष्टि है। एक तालिका में, एक रिकॉर्ड कनेक्टेड डेटा के संग्रह का प्रतिनिधित्व करता है। उदाहरण के लिए, कर्मचारी तालिका में चार रिकॉर्ड होते हैं।

एक तालिका कई अभिलेखों (पंक्तियों) से बनी होती है, जिनमें से प्रत्येक को फ़ील्ड्स (कॉलम) नामक छोटी इकाइयों में विभाजित किया जा सकता है। उपरोक्त कर्मचारी तालिका में आईडी, नाम, विभाग और वेतन चार क्षेत्र हैं।

Q22. एक अद्वितीय बाधा क्या है?

UNIQUE बाधा कॉलम में समान मानों को दो रिकॉर्ड में प्रदर्शित होने से रोकती है। UNIQUE बाधा इस बात की गारंटी देती है कि कॉलम में प्रत्येक मान अद्वितीय है।

Q23. सेल्फ़-जॉइन क्या है?

एक स्व-जुड़ना एक प्रकार का जुड़ाव है जिसका उपयोग दो तालिकाओं को जोड़ने के लिए किया जा सकता है। नतीजतन, यह एक एकल संबंध है। तालिका की प्रत्येक पंक्ति स्वयं से जुड़ी होती है और उसी तालिका की अन्य सभी पंक्तियों को सेल्फ-जॉइन में जोड़ा जाता है। नतीजतन, एक सेल्फ-जॉइन का इस्तेमाल ज्यादातर एक ही डेटाबेस टेबल से पंक्तियों को मिलाने और तुलना करने के लिए किया जाता है।

Q24. सेलेक्ट स्टेटमेंट क्या है?

एक सेलेक्ट कमांड को एक या अधिक डेटाबेस टेबल या व्यू से शून्य या अधिक पंक्तियाँ मिलती हैं। अधिकांश अनुप्रयोगों में सबसे लगातार डेटा हेरफेर भाषा (डीएमएल) कमांड चयन है। SELECT क्वेरीज़ एक परिणाम सेट को परिभाषित करती हैं, लेकिन इसकी गणना कैसे करें, यह नहीं, क्योंकि SQL एक डिक्लेरेटिव प्रोग्रामिंग लैंग्वेज है।

Q25. SQL में सेलेक्ट क्वेरी के साथ उपयोग किए जाने वाले कुछ सामान्य क्लॉज क्या हैं?

SELECT क्वेरी के साथ संयोजन में उपयोग किए जाने वाले कुछ नियमित SQL क्लॉज निम्नलिखित हैं:

WHERE क्लॉज:SQL में, WHERE क्लॉज का उपयोग कुछ मानदंडों के आधार पर आवश्यक रिकॉर्ड को फ़िल्टर करने के लिए किया जाता है।
क्लॉज द्वारा ऑर्डर:एसक्यूएल में ऑर्डर द्वारा क्लॉज का उपयोग निर्दिष्ट फ़ील्ड (डीईएससी) के आधार पर आरोही (एएससी) या अवरोही (डीईएससी) क्रम में डेटा को सॉर्ट करने के लिए किया जाता है।
ग्रुप बाय क्लॉज:एसक्यूएल में ग्रुप बाय क्लॉज का उपयोग समान डेटा वाली प्रविष्टियों को समूहबद्ध करने के लिए किया जाता है और सारांशित डेटाबेस परिणाम प्राप्त करने के लिए एकत्रीकरण विधियों के साथ उपयोग किया जा सकता है।
SQL में HAVING क्लॉज का उपयोग GROUP BY क्लॉज के संयोजन में रिकॉर्ड्स को फ़िल्टर करने के लिए किया जाता है। यह WHERE से अलग है, क्योंकि WHERE क्लॉज समेकित रिकॉर्ड्स को फ़िल्टर नहीं कर सकता है।

Q26. यूनियन, माइनस और इंटरसेक्ट कमांड क्या हैं?

यूनियन ऑपरेटर का उपयोग दो तालिकाओं के परिणामों को संयोजित करने के साथ-साथ डुप्लिकेट प्रविष्टियों को हटाने के लिए भी किया जाता है।

पहली क्वेरी से पंक्तियों को वापस करने के लिए MINUS ऑपरेटर का उपयोग किया जाता है, लेकिन दूसरी क्वेरी से नहीं।

INTERSECT ऑपरेटर का उपयोग दोनों प्रश्नों के परिणामों को एक पंक्ति में संयोजित करने के लिए किया जाता है।
उपरोक्त SQL कथनों में से किसी एक को चलाने से पहले, कुछ आवश्यकताओं को पूरा किया जाना चाहिए -

क्लॉज के भीतर, प्रत्येक SELECT क्वेरी में समान मात्रा में कॉलम होने चाहिए।

कॉलम में डेटा प्रकार भी तुलनीय होने चाहिए।

प्रत्येक SELECT स्टेटमेंट में, कॉलम एक ही क्रम में होने चाहिए।

आइए इस SQL ​​​​साक्षात्कार प्रश्न में अगले प्रश्न पर चलते हैं।

Q27. कर्सर क्या है? कर्सर का उपयोग कैसे करें?

किसी भी परिवर्तनशील घोषणा के बाद, एक कर्सर घोषित करें। एक सेलेक्ट स्टेटमेंट को हमेशा कर्सर की परिभाषा के साथ जोड़ा जाना चाहिए।

परिणाम सेट शुरू करने के लिए, इसके ऊपर कर्सर ले जाएँ। परिणाम सेट से पंक्तियाँ प्राप्त करने से पहले, OPEN कथन निष्पादित किया जाना चाहिए।

पुनः प्राप्त करने और परिणाम सेट में अगली पंक्ति पर जाने के लिए, FETCH कमांड का उपयोग करें।

कर्सर को निष्क्रिय करने के लिए, CLOSE कमांड का उपयोग करें।

अंत में, कर्सर परिभाषा को हटाने और इससे जुड़े संसाधनों को मुक्त करने के लिए DEALLOCATE कमांड का उपयोग करें।

Q28. SQL में विभिन्न प्रकार के संबंधों की सूची बनाएं।

डेटाबेस में विभिन्न प्रकार के संबंध हैं:
एक-से-एक - यह दो तालिकाओं के बीच एक कनेक्शन है जिसमें एक तालिका में प्रत्येक रिकॉर्ड दूसरे में अधिकतम एक रिकॉर्ड से मेल खाता है।
एक-से-कई और अनेक-से-एक - यह सबसे लगातार कनेक्शन है, जिसमें एक तालिका में एक रिकॉर्ड दूसरे में कई रिकॉर्ड से जुड़ा होता है।
कई-से-अनेक - इसका उपयोग किसी रिश्ते को परिभाषित करते समय किया जाता है जिसके लिए प्रत्येक पक्ष पर कई उदाहरणों की आवश्यकता होती है।
स्व-संदर्भित संबंध - जब किसी तालिका को स्वयं के साथ संबंध घोषित करना होता है, तो यह नियोजित करने का तरीका है।

Q29. SQL उदाहरण क्या है?

SQL एक डेटाबेस क्वेरी भाषा है जो आपको डेटाबेस से डेटा को संपादित करने, हटाने और अनुरोध करने की अनुमति देती है। निम्नलिखित कथन SQL कथनों के कुछ उदाहरण हैं:

  • चुनें
  • INSERT
  • अपडेट करें
  • हटाएं
  • डेटाबेस बनाएं
  • डेटा बदलें

Q30. बुनियादी SQL कौशल क्या हैं?

SQL कौशल डेटा विश्लेषकों को संबंधपरक डेटाबेस से डेटा के निर्माण, रखरखाव और पुनर्प्राप्ति में सहायता करते हैं, जो डेटा को कॉलम और पंक्तियों में विभाजित करते हैं। यह उपयोगकर्ताओं को डेटा को कुशलतापूर्वक पुनर्प्राप्त करने, अपडेट करने, हेरफेर करने, डालने और बदलने में सक्षम बनाता है।

एक SQL विशेषज्ञ के पास सबसे बुनियादी योग्यताएँ होनी चाहिए:

  1. डेटाबेस प्रबंधन
  2. डेटाबेस की संरचना करना
  3. SQL खंड और कथन बनाना
  4. SQL सिस्टम कौशल जैसे MYSQL, PostgreSQL
  5. PHP विशेषज्ञता उपयोगी है।
  6. SQL डेटा का विश्लेषण करें
  7. डेटाबेस बनाने के लिए SQL के साथ WAMP का उपयोग करना
  8. OLAP कौशल

Q31. SQL सर्वर में स्कीमा क्या है?

एक स्कीमा डेटाबेस का एक दृश्य प्रतिनिधित्व है जो तार्किक है। यह डेटाबेस की कई संस्थाओं के बीच संबंध बनाता है और निर्दिष्ट करता है। यह कई प्रकार की बाधाओं को संदर्भित करता है जिन्हें डेटाबेस पर लागू किया जा सकता है। यह विभिन्न डेटा प्रकारों का भी वर्णन करता है। इसका उपयोग टेबल्स और दृश्यों पर भी किया जा सकता है।

स्कीमा विभिन्न आकारों और आकारों में आते हैं। स्टार स्कीमा और स्नोफ्लेक स्कीमा दो सबसे लोकप्रिय हैं। एक स्टार स्कीमा में संस्थाओं को एक स्टार रूप में दर्शाया जाता है, जबकि एक स्नोफ्लेक स्कीमा में एक स्नोफ्लेक आकार में दिखाया जाता है।
कोई भी डेटाबेस आर्किटेक्चर स्कीमा के आधार पर बनाया जाता है।


Q32. SQL सर्वर में एक अस्थायी तालिका कैसे बनाएं?

TempDB में अस्थायी तालिकाएँ बनाई जाती हैं और अंतिम कनेक्शन बंद होने के बाद स्वचालित रूप से मिट जाती हैं। हम अंतरिम परिणामों को संग्रहीत और संसाधित करने के लिए अस्थायी तालिकाओं का उपयोग कर सकते हैं। जब हमें अस्थायी डेटा संग्रहीत करने की आवश्यकता होती है, तो अस्थायी तालिकाएँ काम आती हैं।

एक अस्थायी तालिका बनाने के लिए वाक्य रचना निम्नलिखित है:

तालिका बनाएं #कर्मचारी (आईडी INT, नाम VARCHAR(25))
#कर्मचारी मूल्यों में सम्मिलित करें (01, 'आशीष'), (02, 'अतुल')

आइए इस SQL ​​​​साक्षात्कार प्रश्न में अगले प्रश्न पर चलते हैं।


Q33. विंडोज 11 में SQL सर्वर कैसे स्थापित करें?

Windows 11 में SQL सर्वर प्रबंधन स्टूडियो स्थापित करें

चरण 1: SSMS पर क्लिक करें, जो आपको SQL सर्वर मैनेजमेंट स्टूडियो पेज पर ले जाएगा।

चरण 2: इसके अलावा, SQL सर्वर प्रबंधन स्टूडियो लिंक पर क्लिक करें और फ़ाइल सहेजें पर टैप करें।

चरण 3: इस फ़ाइल को अपने स्थानीय ड्राइव में सहेजें और फ़ोल्डर में जाएँ।

चरण 4: सेटअप विंडो दिखाई देगी, और यहां आप वह स्थान चुन सकते हैं जहां आप फ़ाइल को सहेजना चाहते हैं।
चरण 5: इंस्टॉल पर क्लिक करें।
चरण 6: स्थापना पूर्ण होने के बाद विंडो बंद करें।
चरण 7: इसके अलावा, अपने प्रारंभ मेनू पर वापस जाएं और SQL सर्वर प्रबंधन स्टूडियो खोजें।

चरण 8: इसके अलावा, उस पर डबल-क्लिक करें, और एक बार यह दिखाई देने पर लॉगिन पेज दिखाई देगा।

चरण 9: आपको अपना सर्वर नाम देखने में सक्षम होना चाहिए। हालांकि, अगर वह दिखाई नहीं दे रहा है, तो सर्वर पर ड्रॉप-डाउन तीर पर क्लिक करें और ब्राउज़ करें पर टैप करें।

चरण 10: अपना SQL सर्वर चुनें और Connect पर क्लिक करें।

उसके बाद, SQL सर्वर कनेक्ट हो जाएगा, और Windows 11 अच्छा चलेगा।

Q34. SQL सर्वर में क्या होता है?

CASE स्टेटमेंट का उपयोग लॉजिक बनाने के लिए किया जाता है जिसमें एक कॉलम का मान दूसरे कॉलम के मानों से निर्धारित होता है।

WHEN और THEN कमांड का कम से कम एक सेट SQL सर्वर केस स्टेटमेंट बनाता है। परीक्षण की जाने वाली शर्त WHEN स्टेटमेंट द्वारा निर्दिष्ट की जाती है। अगर WHEN कंडीशन TRUE लौटाती है, तो THEN वाक्य बताता है कि क्या करना है।

जब WHEN में से कोई भी शर्त सही नहीं होती है, तो ELSE स्टेटमेंट निष्पादित होता है। END कीवर्ड CASE स्टेटमेंट को बंद कर देता है।

CASEWHEN condition1 फिर result1WHEN condition2 फिर result2WHEN conditionN फिर resultNELSE resultEND;

<बी>क्यू35. नोएसक्यूएल बनाम एसक्यूएल

संक्षेप में, SQL और NoSQL के बीच पाँच प्रमुख अंतर निम्नलिखित हैं:

रिलेशनल डेटाबेस SQL ​​हैं, जबकि नॉन-रिलेशनल डेटाबेस NoSQL हैं।

SQL डेटाबेस में एक निर्दिष्ट स्कीमा होता है और संरचित क्वेरी भाषा को नियोजित करता है। असंरचित डेटा के लिए, NoSQL डेटाबेस डायनेमिक स्कीमा का उपयोग करते हैं।

SQL डेटाबेस लंबवत रूप से स्केल करते हैं, लेकिन NoSQL डेटाबेस क्षैतिज रूप से स्केल करते हैं।

NoSQL डेटाबेस दस्तावेज़, की-वैल्यू, ग्राफ़ या वाइड-कॉलम स्टोर होते हैं, जबकि SQL डेटाबेस टेबल-आधारित होते हैं।

SQL डेटाबेस बहु-पंक्ति लेनदेन में उत्कृष्टता प्राप्त करते हैं, जबकि NoSQL असंरचित डेटा जैसे दस्तावेज़ और JSON में उत्कृष्टता प्राप्त करता है।

Q36. Now() और CURRENT_DATE() में क्या अंतर है?
Now() एक स्थिर समय देता है जो उस समय को इंगित करता है जिस पर कथन निष्पादित होना शुरू हुआ। (एक संग्रहीत फ़ंक्शन या ट्रिगर के भीतर, अब () वह समय देता है जिस पर फ़ंक्शन या ट्रिगरिंग स्टेटमेंट निष्पादित करना शुरू होता है।
नाउ () और CURRENT_DATE () के बीच साधारण अंतर यह है कि अब () वर्तमान दिनांक और समय दोनों को 'YYYY-MM_DD HH:MM:SS' प्रारूप में प्राप्त करेगा, जबकि CURRENT_DATE () वर्तमान दिन 'YYYY' की तारीख लाएगा। -एमएम_डीडी'।

आइए इस SQL ​​​​साक्षात्कार प्रश्न में अगले प्रश्न पर चलते हैं।

<बी>क्यू37. MySQL में BLOB और TEXT क्या है?

BLOB का मतलब बाइनरी विशाल ऑब्जेक्ट्स है और इसका उपयोग बाइनरी डेटा को स्टोर करने के लिए किया जा सकता है, जबकि टेक्स्ट का उपयोग बड़ी संख्या में स्ट्रिंग्स को स्टोर करने के लिए किया जा सकता है। BLOB का उपयोग बाइनरी डेटा को स्टोर करने के लिए किया जा सकता है, जिसमें इमेज, मूवी, ऑडियो और एप्लिकेशन शामिल हैं।
BLOB मान बाइट स्ट्रिंग्स के समान कार्य करते हैं, और उनमें वर्ण सेट की कमी होती है। नतीजतन, बाइट्स के संख्यात्मक मान पूरी तरह से तुलना और छँटाई पर निर्भर हैं।
टेक्स्ट मान वर्ण स्ट्रिंग या गैर-बाइनरी स्ट्रिंग के समान व्यवहार करते हैं। TEXT की तुलना/छँटाई पूरी तरह से वर्ण सेट संग्रह पर निर्भर है।

Q38. SQL में डुप्लीकेट पंक्तियों को कैसे निकालें?

यदि SQL तालिका में डुप्लिकेट पंक्तियाँ हैं, तो डुप्लिकेट पंक्तियों को हटा दिया जाना चाहिए।

आइए निम्न तालिका को हमारे डेटासेट के रूप में मान लें:

आईडी नाम आयु
1 21
2 बी 23
2 बी 23
4 डी 22
5 25
6 जी 26
5 25

निम्न SQL क्वेरी तालिका से डुप्लिकेट आईडी निकालती है:

उस तालिका से हटाएं जहां आईडी है (
चुनते हैं
आईडी, COUNT(आईडी)
तालिका से
आईडी द्वारा समूह:
होना
COUNT (आईडी)> 1);

<बी>क्यू39. SQL सर्वर का उपयोग करके एक संग्रहीत कार्यविधि कैसे बनाएं?

एक संग्रहित प्रक्रिया तैयार SQL कोड का एक टुकड़ा है जिसे आप बार-बार सहेज और पुन:उपयोग कर सकते हैं।
इसलिए, यदि आपके पास एक SQL क्वेरी है जिसे आप अक्सर बनाते हैं, तो इसे एक संग्रहीत कार्यविधि के रूप में सहेजें और फिर इसे चलाने के लिए कॉल करें।
आप किसी संग्रहीत कार्यविधि को पैरामीटर भी प्रदान कर सकते हैं ताकि वह दिए गए पैरामीटर के मान (मानों) के आधार पर कार्य कर सके।

संग्रहित प्रक्रिया सिंटैक्स

प्रक्रिया प्रक्रिया_नाम बनाएं

एएस

sql_statement

जाओ;

एक संग्रहित प्रक्रिया निष्पादित करें

EXEC प्रक्रिया_नाम;


<बी>क्यू40. डेटाबेस ब्लैक बॉक्स टेस्टिंग क्या है?

ब्लैक बॉक्स टेस्टिंग एक सॉफ्टवेयर परीक्षण दृष्टिकोण है जिसमें आंतरिक कोड संरचना, कार्यान्वयन विवरण या आंतरिक मार्गों को जाने बिना सॉफ्टवेयर अनुप्रयोगों के कार्यों का परीक्षण करना शामिल है। ब्लैक बॉक्स टेस्टिंग एक प्रकार का सॉफ्टवेयर परीक्षण है जो सॉफ्टवेयर अनुप्रयोगों के इनपुट और आउटपुट पर केंद्रित होता है और पूरी तरह से सॉफ्टवेयर आवश्यकताओं और विनिर्देशों द्वारा संचालित होता है। व्यवहार परीक्षण इसका दूसरा नाम है।


<बी>क्यू41. SQL सैंडबॉक्स के विभिन्न प्रकार क्या हैं?

SQL सैंडबॉक्स SQL ​​सर्वर के भीतर एक सुरक्षित वातावरण है जहाँ अविश्वसनीय प्रोग्राम चलाए जा सकते हैं। SQL सैंडबॉक्स तीन अलग-अलग प्रकार के होते हैं:

सुरक्षित पहुंच सैंडबॉक्स:इस वातावरण में, उपयोगकर्ता SQL गतिविधियों को निष्पादित कर सकता है जैसे संग्रहीत कार्यविधियाँ बनाना, ट्रिगर करना आदि, लेकिन वे मेमोरी तक नहीं पहुँच सकते या फ़ाइलें नहीं बना सकते।

बाहरी पहुंच के लिए सैंडबॉक्स:उपयोगकर्ता स्मृति आवंटन को बदलने की क्षमता के बिना फ़ाइलों तक पहुंच सकते हैं।

असुरक्षित एक्सेस सैंडबॉक्स:इसमें अविश्वसनीय कोड होता है जो उपयोगकर्ता को मेमोरी तक पहुंचने की अनुमति देता है।

आइए इस SQL ​​​​साक्षात्कार प्रश्न में अगले प्रश्न पर चलते हैं।

<बी>क्यू42. MyISAM तालिका कहाँ संग्रहीत है?

दिसंबर 2009 में MySQL 5.5 की शुरुआत से पहले, MyISAM MySQL रिलेशनल डेटाबेस मैनेजमेंट सिस्टम संस्करणों के लिए डिफ़ॉल्ट स्टोरेज इंजन था। यह पुराने ISAM कोड पर आधारित है, लेकिन यह कई अतिरिक्त सुविधाओं के साथ आता है। प्रत्येक MyISAM तालिका डिस्क पर तीन फाइलों में विभाजित है (यदि यह विभाजित नहीं है)। फ़ाइल नाम तालिका के नाम से शुरू होते हैं और एक एक्सटेंशन के साथ समाप्त होते हैं जो फ़ाइल प्रकार को इंगित करता है। तालिका परिभाषा को a.frm फ़ाइल में संग्रहीत किया जाता है, हालाँकि यह फ़ाइल MyISAM इंजन का हिस्सा नहीं है; इसके बजाय, यह सर्वर का हिस्सा है। डेटा फ़ाइल का प्रत्यय है। MYD (MYData)। अनुक्रमणिका फ़ाइल का विस्तार है। MYI (MYIndex)। यदि आप अपनी अनुक्रमणिका फ़ाइल खो देते हैं, तो आप अनुक्रमणिका बनाकर इसे हमेशा पुनर्स्थापित कर सकते हैं।

Q43. SQL में nवां उच्चतम वेतन कैसे प्राप्त करें?
सबसे विशिष्ट साक्षात्कार प्रश्न एक तालिका में वां उच्चतम वेतन ज्ञात करना है। यह कार्य सघन रैंक () फ़ंक्शन का उपयोग करके पूरा किया जा सकता है।
कर्मचारी तालिका

कर्मचारी_नाम वेतन
24000
सी 34000
डी 55000
75000
F 21000
जी 40000
एच 50000

चुनें * से (

चुनें कर्मचारी_नाम, वेतन, DENSE_RANK()

ओवर (वेतन डीईएससी द्वारा आदेश) कर्मचारी से आर)

जहां r=&n;

दूसरे उच्चतम वेतन सेट को खोजने के लिए n =2

तीसरा उच्चतम वेतन सेट n =3 और इसी तरह खोजने के लिए।

Q44. SQL में टेबल और फील्ड से आप क्या समझते हैं?

एक तालिका पंक्तियों और स्तंभों के रूप में व्यवस्थित तरीके से डेटा के संग्रह को संदर्भित करती है। फ़ील्ड एक तालिका में स्तंभों की संख्या को संदर्भित करता है। उदाहरण के लिए:

तालिका :छात्र जानकारी
फ़ील्ड :स्टू आईडी, स्टू नाम, स्टू मार्क्स

Q45. SQL में जॉइन क्या होते हैं?

एक JOIN क्लॉज का उपयोग दो या दो से अधिक तालिकाओं की पंक्तियों को उनके बीच संबंधित कॉलम के आधार पर संयोजित करने के लिए किया जाता है। इसका उपयोग दो तालिकाओं को मर्ज करने या वहां से डेटा पुनर्प्राप्त करने के लिए किया जाता है। जॉइन 4 प्रकार के होते हैं, जैसा कि आप नीचे देख सकते हैं:

  • आंतरिक जुड़ाव: SQL में इनर जॉइन सबसे सामान्य प्रकार का जॉइन है। It is used to return all the rows from multiple tables where the join condition is satisfied.
  • Left Join: Left Join in SQL is used to return all the rows from the left table but only the matching rows from the right table where the join condition is fulfilled.

  • Right Join: Right Join in SQL is used to return all the rows from the right table but only the matching rows from the left table where the join condition is fulfilled.

  • Full Join: Full join returns all the records when there is a match in any of the tables. Therefore, it returns all the rows from the left-hand side table and all the rows from the right-hand side table.

Let’s move to the next question in this SQL Interview Questions.

Q46. What is the difference between CHAR and VARCHAR2 datatype in SQL?

Both Char and Varchar2 are used for characters datatype but varchar2 is used for character strings of variable length whereas Char is used for strings of fixed length. For example, char(10) can only store 10 characters and will not be able to store a string of any other length whereas varchar2(10) can store any length i.e 6,8,2 in this variable.

Q47. What is a Primary key?

  • A Primary key in SQL is a column (or collection of columns) or a set of columns that uniquely identifies each row in the table.
  • Uniquely identifies a single row in the table
  • Null values not allowed

Example- In the Student table, Stu_ID is the primary key.

Q48. What are Constraints?

Constraints in SQL are used to specify the limit on the data type of the table. It can be specified while creating or altering the table statement. The sample of constraints are:

  • NOT NULL
  • CHECK
  • DEFAULT
  • UNIQUE
  • PRIMARY KEY
  • FOREIGN KEY

Q49. What is the difference between DELETE and TRUNCATE statements?

DELETE vs TRUNCATE

DELETE TRUNCATE
Delete command is used to delete a row in a table. Truncate is used to delete all the rows from a table.
You can rollback data after using delete statement. You cannot rollback data.
It is a DML command. It is a DDL command.
It is slower than truncate statement. It is faster.

Q50. What is a Unique key?

  • Uniquely identifies a single row in the table.
  • Multiple values allowed per table.
  • Null values allowed.

Apart from this SQL Interview Questions blog, if you want to get trained from professionals on this technology, you can opt for structured training from edureka!

Q51. What is a Foreign key in SQL?

  • Foreign key maintains referential integrity by enforcing a link between the data in two tables.
  • The foreign key in the child table references the primary key in the parent table.
  • The foreign key constraint prevents actions that would destroy links between the child and parent tables.

Q52. What do you mean by data integrity?

Data Integrity defines the accuracy as well as the consistency of the data stored in a database. It also defines integrity constraints to enforce business rules on the data when it is entered into an application or a database.

Q53. What is the difference between clustered and non-clustered index in SQL?

The differences between the clustered and non clustered index in SQL are :

  1. Clustered index is used for easy retrieval of data from the database and its faster whereas reading from non clustered index is relatively slower.
  2. Clustered index alters the way records are stored in a database as it sorts out rows by the column which is set to be clustered index whereas in a non clustered index, it does not alter the way it was stored but it creates a separate object within a table which points back to the original table rows after searching.
  3. One table can only have one clustered index whereas it can have many non clustered index.

Q54. Write a SQL query to display the current date?

In SQL, there is a built-in function called GetDate() which helps to return the current timestamp/date.

Q55. What do you understand by query optimization?

The phase that identifies a plan for evaluation query which has the least estimated cost is known as query optimization.

The advantages of query optimization are as follows:

  • The output is provided faster
  • A larger number of queries can be executed in less time
  • Reduces time and space complexity

Q56. What do you mean by Denormalization?

Denormalization refers to a technique which is used to access data from higher to lower forms of a database. It helps the database managers to increase the performance of the entire infrastructure as it introduces redundancy into a table. It adds the redundant data into a table by incorporating database queries that combine data from various tables into a single table.

Q57. What are Entities and Relationships?

Entities :A person, place, or thing in the real world about which data can be stored in a database. Tables store data that represents one type of entity. For example – A bank database has a customer table to store customer information. The customer table stores this information as a set of attributes (columns within the table) for each customer.

Relationships :Relation or links between entities that have something to do with each other. For example – The customer name is related to the customer account number and contact information, which might be in the same table. There can also be relationships between separate tables (for example, customer to accounts).

Let’s move to the next question in this SQL Interview Questions.


Q58. What is an Index?

An index refers to a performance tuning method of allowing faster retrieval of records from the table. An index creates an entry for each value and hence it will be faster to retrieve data.

Q59 . Explain different types of index in SQL.

There are three types of index in SQL namely:

Unique Index:

This index does not allow the field to have duplicate values if the column is unique indexed. If a primary key is defined, a unique index can be applied automatically.

Clustered Index:

This index reorders the physical order of the table and searches based on the basis of key values. Each table can only have one clustered index.

Non-Clustered Index:

Non-Clustered Index does not alter the physical order of the table and maintains a logical order of the data. Each table can have many nonclustered indexes.

Q60. What is Normalization and what are the advantages of it?

Normalization in SQL is the process of organizing data to avoid duplication and redundancy. Some of the advantages are:

  • Better Database organization
  • More Tables with smaller rows
  • Efficient data access
  • Greater Flexibility for Queries
  • Quickly find the information
  • Easier to implement Security
  • Allows easy modification
  • Reduction of redundant and duplicate data
  • More Compact Database
  • Ensure Consistent data after modification

Apart from this SQL Interview Questions Blog, if you want to get trained from professionals on this technology, you can opt for structured training from edureka!

Q61. What is the difference between DROP and TRUNCATE commands?

DROP command removes a table and it cannot be rolled back from the database whereas TRUNCATE command removes all the rows from the table.

Q62. Explain different types of Normalization.

There are many successive levels of normalization. These are called normal forms . Each consecutive normal form depends on the previous one.The first three normal forms are usually adequate.

Normal Forms are used in database tables to remove or decrease duplication. The following are the many forms:

First Normal Form:
When every attribute in a relation is a single-valued attribute, it is said to be in first normal form. The first normal form is broken when a relation has a composite or multi-valued property.

Second Normal Form:

A relation is in second normal form if it meets the first normal form’s requirements and does not contain any partial dependencies. In 2NF, a relation has no partial dependence, which means it has no non-prime attribute that is dependent on any suitable subset of any table candidate key. Often, the problem may be solved by setting a single column Primary Key.

Third Normal Form:
If a relation meets the requirements for the second normal form and there is no transitive dependency, it is said to be in the third normal form.

Q63. What is OLTP?

OLTP, or online transactional processing, allows huge groups of people to execute massive amounts of database transactions in real time, usually via the internet. A database transaction occurs when data in a database is changed, inserted, deleted, or queried.

What are the differences between OLTP and OLAP?

OLTP stands for online transaction processing, whereas OLAP stands for online analytical processing. OLTP is an online database modification system, whereas OLAP is an online database query response system.

Q64. How to create empty tables with the same structure as another table?

To create empty tables:

Using the INTO operator to fetch the records of one table into a new table while setting a WHERE clause to false for all entries, it is possible to create empty tables with the same structure. As a result, SQL creates a new table with a duplicate structure to accept the fetched entries, but nothing is stored into the new table since the WHERE clause is active.

Q65. What is PostgreSQL?

In 1986, a team lead by Computer Science Professor Michael Stonebraker created PostgreSQL under the name Postgres. It was created to aid developers in the development of enterprise-level applications by ensuring data integrity and fault tolerance in systems. PostgreSQL is an enterprise-level, versatile, resilient, open-source, object-relational database management system that supports variable workloads and concurrent users. The international developer community has constantly backed it. PostgreSQL has achieved significant appeal among developers because to its fault-tolerant characteristics.
It’s a very reliable database management system, with more than two decades of community work to thank for its high levels of resiliency, integrity, and accuracy. Many online, mobile, geospatial, and analytics applications utilise PostgreSQL as their primary data storage or data warehouse.

Q66. What are SQL comments?

SQL Comments are used to clarify portions of SQL statements and to prevent SQL statements from being executed. Comments are quite important in many programming languages. The comments are not supported by a Microsoft Access database. As a result, the Microsoft Access database is used in the examples in Mozilla Firefox and Microsoft Edge.
Single Line Comments:It starts with two consecutive hyphens (–).
Multi-line Comments:It starts with /* and ends with */.

Let’s move to the next question in this SQL Interview Questions.

Q67. What is the difference between the RANK() and DENSE_RANK() functions?

The RANK() function in the result set defines the rank of each row within your ordered partition. If both rows have the same rank, the next number in the ranking will be the previous rank plus a number of duplicates. If we have three records at rank 4, for example, the next level indicated is 7.

The DENSE_RANK() function assigns a distinct rank to each row within a partition based on the provided column value, with no gaps. It always indicates a ranking in order of precedence. This function will assign the same rank to the two rows if they have the same rank, with the next rank being the next consecutive number. If we have three records at rank 4, for example, the next level indicated is 5.

Q68. What is SQL Injection?

SQL injection is a sort of flaw in website and web app code that allows attackers to take control of back-end processes and access, retrieve, and delete sensitive data stored in databases. In this approach, malicious SQL statements are entered into a database entry field, and the database becomes exposed to an attacker once they are executed. By utilising data-driven apps, this strategy is widely utilised to get access to sensitive data and execute administrative tasks on databases. SQLi attack is another name for it.

The following are some examples of SQL injection:

  • Getting access to secret data in order to change a SQL query to acquire the desired results.
  • UNION attacks are designed to steal data from several database tables.
  • Examine the database to get information about the database’s version and structure

Q69. How many Aggregate functions are available in SQL?

SQL aggregate functions provide information about a database’s data. AVG, for example, returns the average of a database column’s values.

SQL provides seven (7) aggregate functions, which are given below:

AVG():returns the average value from specified columns.
COUNT():returns the number of table rows, including rows with null values.
MAX():returns the largest value among the group.
MIN():returns the smallest value among the group.
SUM():returns the total summed values(non-null) of the specified column.
FIRST():returns the first value of an expression.
LAST():returns the last value of an expression.

Q70. What is the default ordering of data using the ORDER BY clause? How could it be changed?

The ORDER BY clause in MySQL can be used without the ASC or DESC modifiers. The sort order is preset to ASC or ascending order when this attribute is absent from the ORDER BY clause.

Q71. How do we use the DISTINCT statement? What is its use?

The SQL DISTINCT keyword is combined with the SELECT query to remove all duplicate records and return only unique records. There may be times when a table has several duplicate records.
The DISTINCT clause in SQL is used to eliminate duplicates from a SELECT statement’s result set.

Q72. What are the syntax and use of the COALESCE function?

From a succession of expressions, the COALESCE function returns the first non-NULL value. The expressions are evaluated in the order that they are supplied, and the function’s result is the first non-null value. Only if all of the inputs are null does the COALESCE method return NULL.

The syntax of COALESCE function is COALESCE (exp1, exp2, …. expn)

Q73. What is the ACID property in a database?

ACID stands for Atomicity, Consistency, Isolation, Durability. It is used to ensure that the data transactions are processed reliably in a database system.

  • Atomicity: Atomicity refers to the transactions that are completely done or failed where transaction refers to a single logical operation of a data. इसका अर्थ है कि यदि किसी लेन-देन का एक भाग विफल हो जाता है, तो संपूर्ण लेन-देन विफल हो जाता है और डेटाबेस स्थिति अपरिवर्तित रहती है।
  • Consistency: Consistency ensures that the data must meet all the validation rules. सरल शब्दों में, आप कह सकते हैं कि आपका लेन-देन डेटाबेस को उसकी स्थिति को पूरा किए बिना कभी नहीं छोड़ता है।
  • Isolation: The main goal of isolation is concurrency control.
  • Durability: Durability means that if a transaction has been committed, it will occur whatever may come in between such as power loss, crash or any sort of error.
अपने करियर में आगे बढ़ने के लिए खुद को अपस्किल करना चाहते हैं? Check out this video in this SQL Interview Questions

2022 में सीखने के लिए शीर्ष 10 तकनीकें | एडुरेका

Q74. What do you mean by “Trigger” in SQL?

Trigger in SQL is are a special type of stored procedures that are defined to execute automatically in place or after data modifications. It allows you to execute a batch of code when an insert, update or any other query is executed against a specific table.

Q75. What are the different operators available in SQL?

There are three operators available in SQL, namely:

  1. Arithmetic Operators
  2. Logical Operators
  3. Comparison Operators

Apart from this SQL Interview Questions blog, if you want to get trained from professionals on this technology, you can opt for structured training from edureka!

Q76. Are NULL values same as that of zero or a blank space?

A NULL value is not at all same as that of zero or a blank space. NULL value represents a value which is unavailable, unknown, assigned or not applicable whereas a zero is a number and blank space is a character.

Q77. What is the difference between cross join and natural join?

The cross join produces the cross product or Cartesian product of two tables whereas the natural join is based on all the columns having the same name and data types in both the tables.

Q78. What is subquery in SQL?

एक सबक्वेरी एक अन्य क्वेरी के अंदर एक क्वेरी है जहां डेटाबेस से डेटा या जानकारी को वापस पाने के लिए एक क्वेरी को परिभाषित किया जाता है। एक सबक्वेरी में, बाहरी क्वेरी को मुख्य क्वेरी कहा जाता है जबकि आंतरिक क्वेरी को सबक्वेरी कहा जाता है। उपश्रेणियों को हमेशा पहले क्रियान्वित किया जाता है और उपश्रेणी का परिणाम मुख्य क्वेरी को दिया जाता है। इसे SELECT, UPDATE या किसी अन्य क्वेरी के अंदर नेस्ट किया जा सकता है। एक सबक्वेरी किसी भी तुलना ऑपरेटर जैसे>,<या =का भी उपयोग कर सकती है।

Q79. What are the different types of a subquery?

There are two types of subquery namely, Correlated and Non-Correlated.

Correlated subquery :These are queries which select the data from a table referenced in the outer query. It is not considered as an independent query as it refers to another table and refers the column in a table.

Non-Correlated subquery :This query is an independent query where the output of subquery is substituted in the main query.

Let’s move to the next question in this SQL Interview Questions.

Q80. List the ways to get the count of records in a table?

To count the number of records in a table in SQL, you can use the below commands:

SELECT * FROM table1SELECT COUNT(*) FROM table1SELECT rows FROM sysindexes WHERE id =OBJECT_ID(table1) AND indid <2

Apart from this SQL Interview Questions Blog, if you want to get trained from professionals on this technology, you can opt for structured training from edureka!

Q81. Write a SQL query to find the names of employees that begin with ‘A’?

To display name of the employees that begin with ‘A’, type in the below command:

SELECT * FROM Table_name WHERE EmpName like 'A%'

Q82. Write a SQL query to get the third-highest salary of an employee from employee_table?

सेलेरी एएससी द्वारा एम्पॉर्डर के रूप में शीर्ष 1 वेतन से चुनें(कर्मचारी_टेबल से शीर्ष 3 वेतन का चयन करें) 

Q83. What is the need for group functions in SQL?

Group functions work on the set of rows and return one result per group. Some of the commonly used group functions are:AVG, COUNT, MAX, MIN, SUM, VARIANCE.

Q84. What is a Relationship and what are they?

Relation or links are between entities that have something to do with each other. Relationships are defined as the connection between the tables in a database. There are various relationships, namely:

  • One to One Relationship.
  • One to Many Relationship.
  • Many to One Relationship.
  • Self-Referencing Relationship.

Q85. How can you insert NULL values in a column while inserting the data?

NULL values in SQL can be inserted in the following ways:

  • Implicitly by omitting column from column list.
  • Explicitly by specifying NULL keyword in the VALUES clause

Q86. What is the main difference between ‘BETWEEN’ and ‘IN’ condition operators?

BETWEEN operator is used to display rows based on a range of values in a row whereas the IN condition operator is used to check for values contained in a specific set of values.

Example of BETWEEN:

SELECT * FROM Students where ROLL_NO BETWEEN 10 AND 50;
Example of IN:
SELECT * FROM students where ROLL_NO IN (8,15,25);

Q87. Why are SQL functions used?

SQL functions are used for the following purposes:

  • To perform some calculations on the data
  • To modify individual data items
  • To manipulate the output
  • To format dates and numbers
  • To convert the data types

Q88. What is the need for MERGE statement?

This statement allows conditional update or insertion of data into a table. It performs an UPDATE if a row exists, or an INSERT if the row does not exist.

Q89. What do you mean by recursive stored procedure?

Recursive stored procedure refers to a stored procedure which calls by itself until it reaches some boundary condition. This recursive function or procedure helps the programmers to use the same set of code n number of times.

Q90. What is CLAUSE in SQL?

SQL clause helps to limit the result set by providing a condition to the query. A clause helps to filter the rows from the entire set of records.

For example – WHERE, HAVING clause.

Apart from this SQL Interview Questions Blog, if you want to get trained from professionals on this technology, you can opt for a structured training from edureka! Click below to know more.

Q91. What is the difference between ‘HAVING’ CLAUSE and a ‘WHERE’ CLAUSE?

HAVING clause can be used only with SELECT statement. It is usually used in a GROUP BY clause and whenever GROUP BY is not used, HAVING behaves like a WHERE clause.
Having Clause is only used with the GROUP BY function in a query whereas WHERE Clause is applied to each row before they are a part of the GROUP BY function in a query.

Q92. List the ways in which Dynamic SQL can be executed?

Following are the ways in which dynamic SQL can be executed:

  • Write a query with parameters.
  • Using EXEC.
  • Using sp_executesql.

Q93. What are the various levels of constraints?

Constraints are the representation of a column to enforce data entity and consistency. There are two levels of a constraint, namely:

  • column level constraint
  • table level constraint

Q94. How can you fetch common records from two tables?

You can fetch common records from two tables using INTERSECT. उदाहरण के लिए:


Select studentID from student. INTERSECT Select StudentID from Exam

Q95. List some case manipulation functions in SQL?

There are three case manipulation functions in SQL, namely:

  • LOWER:This function returns the string in lowercase. It takes a string as an argument and returns it by converting it into lower case. Syntax:
 LOWER(‘string’)
  • UPPER:This function returns the string in uppercase. It takes a string as an argument and returns it by converting it into uppercase. Syntax:
UPPER(‘string’)
  • INITCAP:This function returns the string with the first letter in uppercase and rest of the letters in lowercase. Syntax:
 INITCAP(‘string’)

Apart from this SQL Interview Questions blog, if you want to get trained from professionals on this technology, you can opt for a structured training from edureka! Click below to know more.

Q96. What are the different set operators available in SQL?

Some of the available set operators are – Union, Intersect or Minus operators.

Q97. What is an ALIAS command?

ALIAS command in SQL is the name that can be given to any table or a column. This alias name can be referred in WHERE clause to identify a particular table or a column.

For example-

Select emp.empID, dept.Result from employee emp, department as dept where emp.empID=dept.empID

In the above example, emp refers to alias name for employee table and dept refers to alias name for department table.

Let’s move to the next question in this SQL Interview Questions.

Q98. What are aggregate and scalar functions?

Aggregate functions are used to evaluate mathematical calculation and returns a single value. These calculations are done from the columns in a table. For example- max(),count() are calculated with respect to numeric.

Scalar functions return a single value based on the input value. For example – UCASE(), NOW() are calculated with respect to string.

Let’s move to the next question in this SQL Interview Questions.

Q99. How can you fetch alternate records from a table?

You can fetch alternate records i.e both odd and even row numbers. For example- To display even numbers, use the following command:

Select studentId from (Select rowno, studentId from student) where mod(rowno,2)=0

Now, to display odd numbers:

Select studentId from (Select rowno, studentId from student) where mod(rowno,2)=1

Q100. Name the operator which is used in the query for pattern matching?

LIKE operator is used for pattern matching, and it can be used as -.

  1. % – It matches zero or more characters.

For example- select * from students where studentname like ‘a%’

_ (Underscore) – it matches exactly one character.
For example- select * from student where studentname like ‘abc_’

Apart from this SQL Interview Questions Blog, if you want to get trained from professionals on this technology, you can opt for structured training from edureka!

Q101. How can you select unique records from a table?

You can select unique records from a table by using the DISTINCT keyword.

Select DISTINCT studentID from Student

Using this command, it will print unique student id from the table Student.

Q102. How can you fetch first 5 characters of the string?

There are a lot of ways to fetch characters from a string. उदाहरण के लिए:

Select SUBSTRING(StudentName,1,5) as studentname from student

Q103 . What is the main difference between SQL and PL/SQL?

SQL is a query language that allows you to issue a single query or execute a single insert/update/delete whereas PL/SQL is Oracle’s “Procedural Language” SQL, which allows you to write a full program (loops, variables, etc.) to accomplish multiple operations such as selects/inserts/updates/deletes.

Q104. What is a View?

A view is a virtual table which consists of a subset of data contained in a table. Since views are not present, it takes less space to store. View can have data of one or more tables combined and it depends on the relationship.

Let’s move to the next question in this SQL Interview Questions.

Q105. What are Views used for?

A view refers to a logical snapshot based on a table or another view. It is used for the following reasons:

  • Restricting access to data.
  • Making complex queries simple.
  • Ensuring data independence.
  • Providing different views of same data.

Q106. What is a Stored Procedure?

A Stored Procedure is a function which consists of many SQL statements to access the database system. Several SQL statements are consolidated into a stored procedure and execute them whenever and wherever required which saves time and avoid writing code again and again.

Q107. List some advantages and disadvantages of Stored Procedure?

Advantages :

A Stored Procedure can be used as a modular programming which means create once, store and call for several times whenever it is required. This supports faster execution. It also reduces network traffic and provides better security to the data.

Disadvantage :

The only disadvantage of Stored Procedure is that it can be executed only in the database and utilizes more memory in the database server.

Q108. List all the types of user-defined functions?

There are three types of user-defined functions, namely:

  • Scalar Functions
  • Inline Table-valued functions
  • Multi-statement valued functions

Scalar returns the unit, variant defined the return clause. Other two types of defined functions return table.

Let’s move to the next question in this SQL Interview Questions.

Q109. What do you mean by Collation?

Collation is defined as a set of rules that determine how data can be sorted as well as compared. Character data is sorted using the rules that define the correct character sequence along with options for specifying case-sensitivity, character width etc.

Let’s move to the next question in this SQL Interview Questions.

Q110. What are the different types of Collation Sensitivity?

Following are the different types of collation sensitivity:

  • Case Sensitivity:A and a and B and b.
  • Kana Sensitivity:Japanese Kana characters.
  • Width Sensitivity:Single byte character and double-byte character.
  • Accent Sensitivity.

Apart from this SQL Interview Questions Blog, if you want to get trained from professionals on this technology, you can opt for structured training from edureka!

Q111. What are Local and Global variables?

Local variables:

These variables can be used or exist only inside the function. These variables are not used or referred by any other function.

Global variables:

These variables are the variables which can be accessed throughout the program. Global variables cannot be created whenever that function is called.

Q112. What is Auto Increment in SQL?

Autoincrement keyword allows the user to create a unique number to get generated whenever a new record is inserted into the table.
This keyword is usually required whenever PRIMARY KEY in SQL is used.

AUTO INCREMENT keyword can be used in Oracle and IDENTITY keyword can be used in SQL SERVER.

Q113. What is a Datawarehouse?

Datawarehouse refers to a central repository of data where the data is assembled from multiple sources of information. Those data are consolidated, transformed and made available for the mining as well as online processing. Warehouse data also have a subset of data called Data Marts.

Q114. What are the different authentication modes in SQL Server? How can it be changed?

Windows mode and Mixed Mode – SQL and Windows. You can go to the below steps to change authentication mode in SQL Server:

  • Click Start> Programs> Microsoft SQL Server and click SQL Enterprise Manager to run SQL Enterprise Manager from the Microsoft SQL Server program group.
  • Then select the server from the Tools menu.
  • Select SQL Server Configuration Properties, and choose the Security page.

Q115. What are STUFF and REPLACE function?

STUFF Function :This function is used to overwrite existing character or inserts a string into another string. Syntax:
STUFF(string_expression,start, length, replacement_characters)
where,
string_expression :it is the string that will have characters substitutedstart: This refers to the starting position
length :It refers to the number of characters in the string which are substituted.replacement_string :They are the new characters which are injected in the string.

REPLACE function :This function is used to replace the existing characters of all the occurrences. Syntax:
REPLACE (string_expression, search_string, replacement_string)
Here every search_string in the string_expression will be replaced with the replacement_string.

So this brings us to the end of the SQL interview questions blog. I hope this set of SQL Interview Questions will help you ace your job interview. आपके साक्षात्कार के लिए शुभकामनाएं!

Apart from this SQL Interview Questions Blog, if you want to get trained from professionals on SQL, you can opt for a structured training from edureka! Click below to know more.

एक नेटवर्क के साथ एक विश्वसनीय ऑनलाइन शिक्षण कंपनी, एडुरेका द्वारा यह MySQL DBA प्रमाणन प्रशिक्षण देखें of दुनिया भर में फैले 250,000 से अधिक संतुष्ट शिक्षार्थी। यह कोर्स आपको डेटा को प्रबंधित करने और MySQL डेटाबेस को प्रबंधित करने के लिए मूल अवधारणाओं और उन्नत टूल और तकनीकों पर प्रशिक्षित करता है। It includes hands-on learning on concepts like MySQL Workbench, MySQL Server, Data Modeling, MySQL Connector, Database Design, MySQL Command line, MySQL Functions etc. End of the training you will be able to create and administer your own MySQL Database and manage data.

हमारे लिए एक प्रश्न है? Please mention it in the comments section of this “ SQL Interview Questions” blog and we will get back to you as soon as possible.


  1. Database
  2.   
  3. Mysql
  4.   
  5. Oracle
  6.   
  7. Sqlserver
  8.   
  9. PostgreSQL
  10.   
  11. Access
  12.   
  13. SQLite
  14.   
  15. MariaDB
  1. प्रिज्मा में एक अद्वितीय कुंजी के लिए कई क्षेत्रों का उपयोग करना

  2. SQL CURSOR का उपयोग करते समय क्या आप ये गलतियाँ करते हैं?

  3. क्रिस्टल रिपोर्ट्स से सेल्सफोर्स SOQL

  4. सामान्य डेटाबेस इन्फ्रास्ट्रक्चर पैटर्न की तुलना करना

  5. एसक्यूएल देखें