<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Harsh Lanjewar  on Medium]]></title>
        <description><![CDATA[Stories by Harsh Lanjewar  on Medium]]></description>
        <link>https://medium.com/@lanjewarharsh06?source=rss-d04d839c8b96------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*O8pIN8HZEmbc4HY4</url>
            <title>Stories by Harsh Lanjewar  on Medium</title>
            <link>https://medium.com/@lanjewarharsh06?source=rss-d04d839c8b96------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 07:24:44 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@lanjewarharsh06/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Stock Trend Analysis]]></title>
            <link>https://medium.com/@lanjewarharsh06/stock-trend-analysis-954bb5a64f24?source=rss-d04d839c8b96------2</link>
            <guid isPermaLink="false">https://medium.com/p/954bb5a64f24</guid>
            <dc:creator><![CDATA[Harsh Lanjewar ]]></dc:creator>
            <pubDate>Tue, 13 May 2025 20:01:02 GMT</pubDate>
            <atom:updated>2025-05-13T20:01:02.312Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Stock Trend Analysis</strong></p><p><strong>Introduction :</strong></p><p>Like it is easier to swim along the stream, the odds of winning a trade increase when one is trading in the direction of the trend. Not only the odds, but trading along with the trend also allows one to capture larger moves. Trend analysis is used to identify the prevailing direction of the stock based on its historical movement.</p><p>Traders use many different techniques for trend analysis. Trendlines and Moving averages are some of the most commonly used techniques. Going forward, we shall discuss some simple techniques to analyze and confirm trends.</p><p><strong>What Is Stock Trend Analysis?</strong></p><p>Stock trend analysis is the process of using historical data — primarily price and volume — to forecast future movements. The goal is to determine the direction in which a stock is moving: uptrend, downtrend, or sideways.</p><ul><li>Uptrend: A series of higher highs and higher lows.</li><li>Downtrend: A series of lower highs and lower lows.</li><li>Sideways/Range-bound: No clear upward or downward movement.</li></ul><p><strong>Uptrend V/s Downtrend :</strong></p><p>The below image shows a bullish and bearish trend. A downtrend is characterized by the formation of lower highs and uptrend is characterized by higher lows formation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/754/1*nH_-arL91v6gG0JQff58hA.png" /></figure><p><strong>Trend identification using Trendlines :</strong></p><p>A trendline is a straight line connecting two or more points and projected in the future to find future support and resistance levels. The points that are connected are pivots. Pivots are basically points of reversal.</p><p><strong>Uptrend Line :</strong></p><p>An Uptrend line has a positive slope i.e it is rising in nature. Connecting two or more higher lows forms an uptrend line. An uptrend line acts as a support level. An uptrend line signifies a bullish trend as far as the price remains above the trendline. If the trendline is breached by the price, it suggests that a reversal may happen or at least the current trend might discontinue.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/760/1*gnc0JOE-yvxE_rPVpALnMw.png" /></figure><p><strong>Downtrend Line :</strong></p><p>A downtrend line has a negative slope i.e it is falling in nature. Connecting two or more lower highs. This trendline acts as a resistance level. A bearish trend is said to be intact as far as the price remains below the downtrend line. If the line is breached by the price, it suggests that a reversal may happen or at least the current trend might discontinue.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/752/1*_jPWEL8DW11_GLFvvskzHg.png" /></figure><p><strong>Tools Used in Trend Analysis</strong></p><p>1. Moving Averages (MA)</p><p>A Moving Average is a commonly used technical indicator that smooths out price data by creating a constantly updated average price. The “moving” part means it updates with each new data point (daily, weekly, etc.).</p><p>Types:</p><ul><li>Simple Moving Average (SMA): An average of prices over a specific period (e.g., 50-day SMA).</li><li>Exponential Moving Average (EMA): Gives more weight to recent prices for quicker reaction to price changes.</li></ul><p>Example:<br> A 50-day MA calculates the average closing price of a stock over the past 50 days. If the current price is consistently above the 50-day MA, it’s generally seen as a bullish (positive) signal.</p><p>Use in trend analysis:</p><ul><li>Golden Cross: 50-day MA crosses above 200-day MA → Bullish signal.</li><li>Death Cross: 50-day MA crosses below 200-day MA → Bearish signal.</li></ul><p>2. Relative Strength Index (RSI)</p><p>RSI is a momentum oscillator that measures the speed and change of price movements on a scale of 0 to 100.</p><p>Key levels:</p><ul><li>Above 70: Stock is overbought → may be due for a correction or pullback.</li><li>Below 30: Stock is oversold → may be undervalued or due for a rebound.</li></ul><p>Use in trend analysis:</p><ul><li>Helps identify potential trend reversals.</li><li>Can be used alongside other indicators to confirm buy/sell signals.</li></ul><p>Example:<br> If a stock’s RSI is 80 and price has been rising, traders might expect a reversal or temporary pullback.</p><p>3. MACD (Moving Average Convergence Divergence)</p><p>MACD is a trend-following momentum indicator that shows the relationship between two moving averages of a stock’s price:</p><ul><li>MACD Line = 12-day EMA — 26-day EMA</li><li>Signal Line = 9-day EMA of the MACD Line</li></ul><p>How it’s used:</p><ul><li>MACD crossing above Signal Line: Buy signal</li><li>MACD crossing below Signal Line: Sell signal</li><li>MACD diverging from price: Potential trend reversal</li></ul><p>Use in trend analysis:</p><ul><li>Helps detect shifts in momentum early.</li><li>Provides clear entry and exit points for traders.</li></ul><p>Example:<br> If a stock’s MACD crosses above the signal line while both are below zero, it may signal the start of an uptrend.</p><p>4. Volume Analysis</p><p>Volume is the number of shares traded during a given time period. It indicates market interest and strength behind price movements.</p><p>How it helps in trend analysis:</p><ul><li>High volume + uptrend = Strong trend</li><li>Low volume + uptrend = Weak or unsustainable trend</li><li>Volume spikes can signal the start of new trends or the end of old ones</li></ul><p>Example:<br> If a stock breaks out of a price range and volume surges at the same time, it’s likely a confirmed breakout rather than a false signal.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/813/1*0lBmLJu6bGLZRavSatAT7Q.png" /></figure><p><strong>Why Trend Analysis Matters</strong></p><ul><li>Informed Decisions: Helps investors time their entry and exit points.</li><li>Risk Management: Identifies trend reversals to avoid losses.</li><li>Market Sentiment: Reveals how investors collectively feel about a stock.</li></ul><p><strong>Deep Learning in Financial Data Analysis</strong></p><p>This is where deep learning comes into play. Unlike traditional methods, deep learning models particularly neural networks can identify hidden patterns and correlations in large datasets.</p><p>These models can analyze historical stock prices, financial reports, social media sentiment, and even news articles to make more informed predictions.</p><p>Deep learning isn’t just a buzzword; it’s a proven technique that has shown remarkable success in various fields, including image and speech recognition. Now, it’s making waves in the financial industry.</p><p><strong>The Role of Sentiment Analysis in Stock Market Predictions</strong></p><p>In addition to numerical data, sentiment analysis plays a crucial role in predicting stock market trends.</p><p>Sentiment analysis involves analyzing text data, such as news articles, social media posts, and financial reports, to gauge the overall mood of the market.</p><p><strong>Challenges</strong></p><p>While deep learning offers powerful tools for stock market prediction, it’s important to be aware of the challenges:</p><ol><li>Data Quality: The accuracy of your predictions heavily depends on the quality of the input data. Noisy or incomplete data can lead to poor model performance.</li><li>Overfitting: Deep learning models are prone to overfitting, especially with small datasets. Regularization techniques like dropout can help mitigate this issue.</li><li>Market Volatility: The stock market is influenced by unpredictable events, making it inherently volatile. No model can predict the market with 100% accuracy, so it’s essential to approach predictions with caution.</li></ol><p><strong>Conclusion</strong></p><p>Stock trend analysis is a critical component of successful investing. By learning to read charts, understand indicators, and recognize trends, investors can improve their decision-making and reduce risk. Whether you’re investing for the short term or the long haul, trend analysis can give you a strategic edge in the market.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=954bb5a64f24" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Web Application Security Scanner — Develop a script to scan web applications for vulnerabilities…]]></title>
            <link>https://medium.com/@lanjewarharsh06/web-application-security-scanner-develop-a-script-to-scan-web-applications-for-vulnerabilities-27ee8c1a9105?source=rss-d04d839c8b96------2</link>
            <guid isPermaLink="false">https://medium.com/p/27ee8c1a9105</guid>
            <dc:creator><![CDATA[Harsh Lanjewar ]]></dc:creator>
            <pubDate>Tue, 13 May 2025 07:13:14 GMT</pubDate>
            <atom:updated>2025-05-13T07:13:14.198Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Web Application Security Scanner — Develop a script to scan web applications for vulnerabilities like SQL injection and XSS</strong></p><p><strong>Introduction: The Web Security Challenge</strong></p><p>In today’s digital landscape, web applications are prime targets for cybercriminals. Common threats like <strong>SQL Injection (SQLi)</strong> and <strong>Cross-Site Scripting (XSS)</strong> can compromise sensitive data and damage organizational reputations. However, with rapid development cycles, many web applications are released without thorough security checks.</p><p>To combat this, our team has developed a <strong>custom web vulnerability scanner</strong> that automates the process of identifying SQLi and XSS vulnerabilities — two of the most prevalent attack vectors.</p><p><strong>The Tool: Breach Seeker Web Vulnerability Scanner</strong></p><p>Our tool is built in <strong>Python</strong>, featuring:</p><ul><li>A <strong>modular architecture</strong> for scalability.</li><li>A <strong>user-friendly dashboard</strong> for simplified scanning.</li><li>Simulation of real-world attack payloads to detect vulnerabilities.</li><li>Reporting functionality to classify findings by severity.</li></ul><p>This empowers developers, administrators, and security professionals to proactively secure their web apps — even without deep cybersecurity expertise.</p><p><strong>How It Works: Scanning Mechanics</strong></p><p>The scanner follows a structured process:</p><ol><li><strong>Crawling</strong> — Indexes all web pages and input fields.</li><li><strong>Fuzzing</strong> — Injects malicious inputs to simulate attacks.</li><li><strong>Response Analysis</strong> — Evaluates system behavior and flags vulnerabilities.</li></ol><p>This approach closely mimics attacker behavior, ensuring realistic and thorough vulnerability detection.</p><p><strong>Benchmarking: Comparing with Existing Tools</strong></p><p>We evaluated our scanner against commercial tools like:</p><ul><li><strong>Nmap</strong> — A powerful port scanner.</li><li><strong>Nessus</strong> — A comprehensive vulnerability scanner.</li><li><strong>Acunetix</strong> — Popular for modern JS/AJAX-based apps.</li><li><strong>Nikto</strong> — Open-source CLI-based tool.</li><li><strong>Burp Suite</strong> — Industry-standard proxy-based testing tool.</li></ul><p>While commercial tools are powerful, they often have high false positive rates and require expertise. Our scanner addresses these issues with tailored scanning and a focus on actionable insights.</p><p><strong>Insights from Literature</strong></p><p>Our development was grounded in research. We studied approaches emphasizing:</p><ul><li>Automated detection of input validation flaws.</li><li>Combining <strong>manual testing</strong> with automated tools for accuracy.</li><li>Focusing on OWASP Top Ten vulnerabilities like SQLi and XSS.</li></ul><p>These insights helped refine our detection logic and improve scanner reliability.</p><p><strong>Methodology: Building the Scanner</strong></p><ol><li><strong>Requirements Analysis</strong> — Focused on detecting SQLi and XSS vulnerabilities.</li><li><strong>Design Phase</strong> — Defined system architecture and data flow.</li><li><strong>Implementation</strong> — Developed SQLi and XSS detection modules in Python.</li><li><strong>Integration &amp; Testing</strong> — Unified the modules into a single tool, validated across scenarios.</li><li><strong>Evaluation</strong> — Benchmarked performance against leading tools and real-world conditions.</li></ol><p><strong>Results: What We Achieved</strong></p><p>Our <strong>Breach Seeker Dashboard</strong> provides a visual summary of scan results:</p><ul><li>Clear categorization of vulnerabilities.</li><li>Severity levels for prioritization.</li><li>Easy navigation and interaction for end users.</li></ul><p><strong>Conclusion: Toward Smarter Web Security</strong></p><p>Our web vulnerability scanner proves that a custom-built, user-oriented security tool can effectively detect serious threats like SQLi and XSS. By reducing false positives and improving usability, it offers significant value over many existing solutions.</p><p>As threats evolve, the next step is integrating <strong>AI-powered detection</strong>, <strong>continuous learning</strong>, and <strong>cloud-based updates</strong> to keep pace with emerging vulnerabilities. Our goal is to build a <strong>next-gen, intelligent vulnerability management framework</strong>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=27ee8c1a9105" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Addressing Knowledge Gaps: A Case Study of Stack Overflow]]></title>
            <link>https://medium.com/@lanjewarharsh06/addressing-knowledge-gaps-a-case-study-of-stack-overflow-1e4f7e0b4bdf?source=rss-d04d839c8b96------2</link>
            <guid isPermaLink="false">https://medium.com/p/1e4f7e0b4bdf</guid>
            <dc:creator><![CDATA[Harsh Lanjewar ]]></dc:creator>
            <pubDate>Tue, 23 Apr 2024 07:11:09 GMT</pubDate>
            <atom:updated>2024-04-23T07:11:09.506Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Problem Statement :</strong></p><p>Stack Overflow serves as a vast repository of programming-related questions and answers, but it faces challenges such as maintaining quality content, managing community dynamics, and ensuring inclusivity.</p><p><strong>Aim </strong>:</p><p>This case study aims to analyze the effectiveness of Stack Overflow in addressing developers’ knowledge gaps and to identify areas for improvement.</p><p><strong>Objectives </strong>:</p><p>· Evaluate the impact of Stack Overflow on developers’ problem-solving abilities.</p><p>· Assess the prevalence of common issues and challenges faced by users.</p><p>· Investigate the algorithms and mechanisms employed by Stack Overflow to facilitate knowledge sharing.</p><p>· Analyze the implications of Stack Overflow’s community dynamics on user engagement and satisfaction.</p><p><strong>Introduction :</strong></p><p>The platform operates on a simple but powerful premise: users can ask questions about programming issues they encounter, and other community members provide answers and solutions. Users can also upvote helpful answers, which helps to surface the most accurate and relevant solutions to common programming problems.</p><p>Stack Overflow’s community-driven approach fosters collaboration, learning, and problem-solving among developers worldwide. Besides asking and answering questions, users can contribute to the platform by editing and improving existing posts, commenting on discussions, and participating in meta-discussions about the site’s policies and features.</p><p>In addition to its Q&amp;A platform, Stack Overflow offers various features and tools, including job postings, developer surveys, and community events. These additional resources further enrich the experience for developers seeking career opportunities, industry insights, and networking opportunities within the tech community.</p><p>Overall, Stack Overflow has become an indispensable resource for developers at all skill levels, providing a supportive and knowledge-rich environment where they can learn, share their expertise, and collaborate with peers to solve programming challenges.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/738/1*ZZnmPx6xRvLH22TjXzauyA.png" /><figcaption>Fig.1</figcaption></figure><p><strong>Key Problems :</strong></p><p>· Quality control : Ensuring the accuracy and relevance of content.</p><p>· Toxicity and negativity : Addressing hostile interactions and maintaining a positive environment.</p><p>· Inclusivity : Promoting diversity and accessibility within the community.</p><p><strong>Algorithm Used :</strong></p><p>Stack Overflow employs algorithms such as voting, reputation scoring, and tagging to prioritize and organize content. Additionally, machine learning algorithms may be utilized for content recommendation and moderation purposes.</p><p>Stack Overflow utilizes a combination of machine learning algorithms and traditional information retrieval techniques to provide accurate and relevant content to users. While the exact algorithms and methodologies used by Stack Overflow’s recommendation system are proprietary and not publicly disclosed, they likely employ various approaches common in the field of natural language processing (NLP) and information retrieval.</p><p>· <strong>Keyword Matching</strong>: Simple keyword matching techniques might be used to identify questions and answers that contain terms relevant to the user’s query.</p><p>· <strong>TF-IDF</strong> (Term Frequency-Inverse Document Frequency): TF-IDF is a statistical measure used to evaluate the importance of a term within a document relative to a collection of documents. Stack Overflow could use TF-IDF to rank the relevance of posts based on the frequency of terms in the user’s query compared to the frequency of those terms in the entire corpus of Stack Overflow posts.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*0aml3QtM-QmYOsvH.jpg" /></figure><p>· <strong>Word Embeddings</strong>: Advanced techniques like word embeddings (e.g., Word2Vec) may be utilized to represent words in a continuous vector space. This allows the system to capture semantic relationships between words and improve the understanding of the context of a query and the content of posts</p><p><strong>Analysis :</strong></p><p>· Evaluation of the effectiveness of Stack Overflow’s reputation system in incentivizing contributions.</p><p>· Examination of the impact of moderation policies on user behavior and content quality.</p><p>· Assessment of user satisfaction and perceived value derived from using Stack Overflow.</p><p><strong>Applications :</strong></p><p>· Developers use Stack Overflow to troubleshoot coding issues, learn new concepts, and stay updated on industry trends.</p><p>· Employers may utilize Stack Overflow as a resource for recruiting and assessing technical skills.</p><p>· Educators can incorporate Stack Overflow as a supplementary learning tool in programming courses.</p><p><strong>Current Trend :</strong></p><p>Stack Overflow continues to expand its user base and content repository, catering to diverse programming languages and technologies.</p><p>There is a growing emphasis on community-driven initiatives such as documentation projects and mentorship programs.</p><p><strong>Summary </strong>:</p><p>Stack Overflow plays a pivotal role in addressing developers’ knowledge gaps, but it faces challenges related to content quality, community dynamics, and inclusivity. By leveraging algorithms and community moderation, Stack Overflow strives to maintain its position as a valuable resource for developers worldwide. However, ongoing efforts are required to ensure a positive and inclusive environment conducive to knowledge sharing and collaboration</p><p><strong>References :</strong></p><p>[1] Hossain, Syed Faiz Ahmed, and Abhinav Dhall. “A comprehensive survey of stack overflow usage: Understanding programming knowledge sharing.” IEEE Transactions on Software Engineering 45.5 (2018): 462–490</p><p>[2] Dzubak, Cameron M., et al. “Characterizing and predicting the dynamics of deindividuated interactions on reddit using a hierarchy of detection methods.” Proceedings of the International AAAI Conference on Web and Social Media. Vol. 14. 2020.</p><p>[3] 490Dabbish, Laura, and Robert E. Kraut. “Understanding email use: predicting action on a message.” Proceedings of the SIGCHI conference on Human factors in computing systems. 2006.</p><p>[4] Javaheri, Arash, et al. “An empirical study of C/C++ vulnerability severity and its impact on user satisfaction in Stack Overflow.” Journal of Systems and Software 165 (2020): 110610.</p><p>[5] Korn, Michael, Robert E. Kraut, and Eduard Hovy. “Combining social and technical affordances to support coordination in large-scale collectives.” Proceedings of the ACM 2019 CHI Conference on Human Factors in Computing Systems. 2019.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1e4f7e0b4bdf" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[SET OPERATORS IN SQL]]></title>
            <link>https://medium.com/@lanjewarharsh06/set-operators-in-sql-8769964804f4?source=rss-d04d839c8b96------2</link>
            <guid isPermaLink="false">https://medium.com/p/8769964804f4</guid>
            <dc:creator><![CDATA[Harsh Lanjewar ]]></dc:creator>
            <pubDate>Sat, 19 Nov 2022 14:43:24 GMT</pubDate>
            <atom:updated>2022-11-19T14:43:24.490Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Overview :</strong></p><p>SQL provides set operators to match rows from 2 or a lot of tables or to mix the results obtained from 2 or a lot of queries to get the ultimate result. These operators square measure wont to be part of the results of 2 (or more) choose statements. whereas operating with the SQL, you’ll have to be compelled to question the information from 2 or a lot of tables and rather than connexon these 2 tables, you’ll use set operators that list the results from the given tables to one result or in several rows. which means for a few bunch of the issues, set operators square measure simple to use than connexon information.</p><p>There square measure totally different Set Operators that you simply will use in SQL in step with your desires and people square measure explained during this article.</p><p><strong>Scope :</strong></p><p>• In this text, you’ll study what square measure SQL set operators and</p><p>the way several set operators square measure out there to use in SQL.</p><p>• You’ll find out how to use set operators to realize the required result</p><p>whereas operating with the SQL.</p><p>• This article covers elaborate data regarding the kinds of set operators</p><p>i.e. UNION, UNION ALL, MINUS, INTERSECT.</p><p>• You’ll conjointly study the set victimization be part of.</p><p><strong>How to Use Set Operations in SQL?</strong></p><p>SQL supports set operators which might be performed on the information. These operators square measure wont to get the required results from the table information hold on within the table. The set operators look just like the SQL joins however there’s a giant distinction. SQL joins mix&#39;s the columns from {different totally totally different completely different} tables whereas SQL operators combine rows from different queries.</p><p>There square measure totally different set operators that you simply will use to separate out the desired information betting on your desires and people operators square measure mentioned below with the examples.</p><p>There square measure some rules that you simply got to follow whereas applying set operators in SQL. These square measure mentioned below:</p><p>• The range of the columns within the choose statement on that you</p><p>would like to use the SQL set operators should be an equivalent.</p><p>• The order of the columns should be within the same order.</p><p>• The selected columns should have an equivalent information sort.</p><p>• If you would like to order/sort the results, the ORDER BY clause</p><p>should go at the tip of the last question. You can’t add ORDER BY</p><p>within every choose question before the set operators.</p><p>Let’s see however you’ll use the Set Operators:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/831/1*mmeByhhXQV7k3lqxF99uCg.png" /></figure><p>The higher than example shows 2 choose queries with the set operator within the middle. As mentioned higher than within the rules, if you choose 2 columns within the 1st question then you wish to pick 2 columns within the second question. the information sorts conjointly have to be compelled to be compatible i.e. if you choose 2 character sorts within the 1st question, you wish to try and do an equivalent within the second question conjointly.</p><p><strong>Types of Set Operations :</strong></p><p>There square measure differing types of Set Operators that square measure mentioned below:</p><ul><li>UNION</li><li>UNION ALL</li><li>MINUS</li><li>INTERSECT</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/830/1*hOj39u4xS5BZ7DCsIszkXQ.png" /><figcaption>Fig 1</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/523/1*Ge92ckv4Gk1mJL7kliiucQ.png" /><figcaption>Fig. 2 : set operators</figcaption></figure><p><strong>Union</strong></p><p>The UNION operator may be wont to realize the result-set or combination of 2 or a lot of tables.</p><p>To execute operation of UNION :</p><p>• Each table used at intervals UNION should have an equivalent range</p><p>of columns.</p><p>• The columns should have same information sorts.</p><p>• The columns in every table should be within the same order.</p><p>UNION operator provides solely distinctive values by default. when acting the union operation the duplicate rows are eliminated from the results.</p><p><strong>Syntax for UNION operator :</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/885/1*BNoxeHjLOiJcnZrij33Krg.png" /><figcaption>Fig 3.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/666/1*f9twzAx-lyrSOr_Pz0JR_Q.png" /><figcaption>Fig 4</figcaption></figure><p>Example :</p><p>Consider following 2 tables.</p><p>Table one : lab1 table is as follows.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/449/1*toDyZdWqbHXX967ghhs4zg.png" /><figcaption>Fig.5</figcaption></figure><p>Table two : lab2 table is as follows.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/449/1*DfUcorZvPRU5QyBsx1Q3pg.png" /><figcaption>Fig.6</figcaption></figure><p>Output :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/447/1*zir9zMKDuXzE-t02KzMIgw.png" /><figcaption>Fig.7</figcaption></figure><p><strong>UNION ALL</strong></p><p>The UNION ALL operator may be wont to realize the result-set or combination of 2 or a lot of tables.</p><p>To execute operation of UNION :To execute operation of UNION :</p><p>• Each table used at intervals UNION should have an equivalent range</p><p>of columns.</p><p>• The columns should have same information sorts.</p><p>After acting the union operation the duplicate rows are not eliminated from the results.</p><p><strong>Syntax for UNION All operator :</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/898/1*LEAxPeWJe5tEejjEu4Gwyg.png" /><figcaption>Fig.8</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/702/1*AvIaO8TYE7V_MbVdgWnQOA.png" /><figcaption>Fig.9</figcaption></figure><p>Example :</p><p>Consider following 2 tables.</p><p>Table one : lab1 table is as follows.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/449/1*toDyZdWqbHXX967ghhs4zg.png" /><figcaption>Fig.10</figcaption></figure><p>Table two : lab2 table is as follows.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/449/1*DfUcorZvPRU5QyBsx1Q3pg.png" /><figcaption>Fig.11</figcaption></figure><p>Output :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/451/1*YW9pQ18IiuyJHyLBe-cmTg.png" /><figcaption>Fig.12</figcaption></figure><p><strong>INTERSECT</strong></p><p>The run across clause in SQL is employed to mix 2 choose statements however the dataset came by the run across statement are the intersection of the data-sets of the 2 choose statements. To execute operation of run across:</p><p>• Each table used at intervals run across should have an equivalent</p><p>range of columns.</p><p>• The columns should have same information sorts.</p><p><strong>Syntax for run across operator :</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*THCVjPA_FRdtID080RW6zQ.png" /><figcaption>Fig.13</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/636/1*IHnED-OwoD6DuTuTVtu86Q.png" /><figcaption>Fig.14</figcaption></figure><p><strong>MINUS Operator</strong></p><p>The Minus Operator in SQL is employed with 2 choose statements. The MINUS operator is employed to take off the result set obtained by 1st choose question from the result set obtained by second choose question&#39;s execute operation of MINUS :</p><p>• Each table used at intervals MINUS should have an equivalent range</p><p>of columns.</p><p>• The columns should have same information sorts.</p><p>After acting the minus operation information that aren’t in second choose statement or question is displayed.</p><p><strong>Syntax for MINUS operator :</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/894/1*PdUu9_k98zFTz0LA4zLrug.png" /><figcaption>Fig.15</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/639/1*qTlK8RB_Tui03Ff8doKdqQ.png" /><figcaption>Fig.16</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8769964804f4" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>