<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Allstate Solut interview questions and answers - Wikitechy</title>
	<atom:link href="https://www.wikitechy.com/interview-questions/tag/allstate-solut-interview-questions-and-answers/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.wikitechy.com/interview-questions/tag/allstate-solut-interview-questions-and-answers/</link>
	<description>Interview Questions</description>
	<lastBuildDate>Thu, 09 Sep 2021 09:59:57 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://www.wikitechy.com/interview-questions/wp-content/uploads/2025/10/cropped-wikitechy-icon-32x32.png</url>
	<title>Allstate Solut interview questions and answers - Wikitechy</title>
	<link>https://www.wikitechy.com/interview-questions/tag/allstate-solut-interview-questions-and-answers/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Lazy writer in Memory ?</title>
		<link>https://www.wikitechy.com/interview-questions/sql/lazy-writer-in-memory/</link>
					<comments>https://www.wikitechy.com/interview-questions/sql/lazy-writer-in-memory/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Sun, 18 Jul 2021 20:31:13 +0000</pubDate>
				<category><![CDATA[SQL]]></category>
		<category><![CDATA[Accenture interview questions and answers]]></category>
		<category><![CDATA[Allstate Solut interview questions and answers]]></category>
		<category><![CDATA[Capgemini interview questions and answers]]></category>
		<category><![CDATA[CASTING NETWORKS INDIA PVT LIMITED interview questions and answers]]></category>
		<category><![CDATA[CGI Group Inc interview questions and answers]]></category>
		<category><![CDATA[Chetu interview questions and answers]]></category>
		<category><![CDATA[Collabera Technologies interview questions and answers]]></category>
		<category><![CDATA[Conduent interview questions and answers]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[difference between checkpoint and lazy writer in sql server]]></category>
		<category><![CDATA[FIS Global Business Solutions India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Flipkart interview questions and answers]]></category>
		<category><![CDATA[Genpact interview questions and answers]]></category>
		<category><![CDATA[IBM interview questions and answers]]></category>
		<category><![CDATA[Indecomm Global Services interview questions and answers]]></category>
		<category><![CDATA[L&T Infotech interview questions and answers]]></category>
		<category><![CDATA[lazy server]]></category>
		<category><![CDATA[lazy spool sql server 2008]]></category>
		<category><![CDATA[lazy writer in sql server]]></category>
		<category><![CDATA[lazy writer in sql server 2008]]></category>
		<category><![CDATA[lazy writer in sql server 2008 r2]]></category>
		<category><![CDATA[lazy writer in sql server 2012]]></category>
		<category><![CDATA[lazy writing]]></category>
		<category><![CDATA[Mindtree interview questions and answers]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[Oracle Corporation interview questions and answers]]></category>
		<category><![CDATA[Persistent Systems interview questions and answers]]></category>
		<category><![CDATA[Prokarma Softech Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[R Systems interview questions and answers]]></category>
		<category><![CDATA[SAP Labs India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[sql lazy writer]]></category>
		<category><![CDATA[sql server lazywriter]]></category>
		<category><![CDATA[Tata Consultancy Service interview questions and answers]]></category>
		<category><![CDATA[Tech Mahindra interview questions and answers]]></category>
		<category><![CDATA[UnitedHealth Group interview questions and answers]]></category>
		<category><![CDATA[ValueLabs interview questions and answers]]></category>
		<category><![CDATA[Virtusa Consulting Services Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Wells Fargo interview questions and answers]]></category>
		<category><![CDATA[what is lazy writer in sql server 2008]]></category>
		<category><![CDATA[Xoriant Solutions Pvt Ltd interview questions and answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=970</guid>

					<description><![CDATA[Answer : Lazy write is an effect caused by the use of a write-back cache...]]></description>
										<content:encoded><![CDATA[<div class="TextHeading">
<div class="hddn">
<h2 id="lazy-write" class="color-pink" style="text-align: justify;"><span style="font-family: inherit; font-size: 2rem;">Lazy write</span></h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>Lazy write is an effect caused by the use of a write-back <a href="https://forums.wikitechy.com/question/what-is-the-difference-between-cache-and-persist/" target="_blank" rel="noopener">cache</a>. In a write-back cache, data is first written to the cache and then is later (during a particular time such as an idle machine cycle) is written to the disk or memory.</li>
<li>This type of cache is more complex to implement, due to the need to track each locations that have been written over and what needs to be marked as dirty to fix later.</li>
</ul>
</div>
</div>
<div class="text-center row" style="text-align: justify;"></div>
<div class="Content">
<div class="hddn">
<h2 id="lazy-writer-in-memory" class="color-green" style="text-align: justify;">Lazy writer in Memory</h2>
<ul>
<li style="text-align: justify;">Lazy writer is a thread which is present for each NUMA node (and every instance has at least one) that scans through the buffer cache associated with that node.</li>
<li style="text-align: justify;">The lazy writer thread sleeps for a specific interval of time, and when it wakes up, it examines the size of the free buffer list.</li>
<li style="text-align: justify;">If the list is below a certain threshold, which depends on the total size of the buffer pool, the lazy writer thread scans the buffer pool to repopulate the free list.</li>
<li style="text-align: justify;">As buffers are added to the free list, they are also written to disk if they are dirty.</li>
<li style="text-align: justify;">So if there is no memory pressure and memory notification is stable it sleeps</li>
<li style="text-align: justify;">The sole purpose of Lazy Writer is to maintain some free buffers in the <a href="https://www.wikitechy.com/tutorials/sql/subquery-in-sql-server" target="_blank" rel="noopener">SQL Server</a> Buffer Pool.</li>
<li style="text-align: justify;">Lazy writer runs periodically and check which buffers can be flushed and returned to the free pool.</li>
<li style="text-align: justify;">So even SQL Server is not under memory pressure, it will also work regularly.</li>
</ul>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/sql/lazy-writer-in-memory/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>What is the difference between the SubQuery and Corelated SubQuery ?</title>
		<link>https://www.wikitechy.com/interview-questions/sql/what-is-the-difference-between-the-subquery-and-corelated-subquery/</link>
					<comments>https://www.wikitechy.com/interview-questions/sql/what-is-the-difference-between-the-subquery-and-corelated-subquery/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Sun, 18 Jul 2021 20:30:02 +0000</pubDate>
				<category><![CDATA[SQL]]></category>
		<category><![CDATA[Accenture interview questions and answers]]></category>
		<category><![CDATA[Allstate Solut interview questions and answers]]></category>
		<category><![CDATA[Capgemini interview questions and answers]]></category>
		<category><![CDATA[CASTING NETWORKS INDIA PVT LIMITED interview questions and answers]]></category>
		<category><![CDATA[CGI Group Inc interview questions and answers]]></category>
		<category><![CDATA[Chetu interview questions and answers]]></category>
		<category><![CDATA[Collabera Technologies interview questions and answers]]></category>
		<category><![CDATA[Conduent interview questions and answers]]></category>
		<category><![CDATA[correlated subquery and nested subquery]]></category>
		<category><![CDATA[correlated subquery example]]></category>
		<category><![CDATA[correlated subquery example in oracle]]></category>
		<category><![CDATA[correlated subquery example in sql servernon correlated subquery]]></category>
		<category><![CDATA[correlated subquery in oracle 10g example]]></category>
		<category><![CDATA[correlated subquery in sql server]]></category>
		<category><![CDATA[correlated subquery questions]]></category>
		<category><![CDATA[correlated subquery tutorial]]></category>
		<category><![CDATA[correlated subquery tutorialspoint]]></category>
		<category><![CDATA[correlated subquery vs non correlated subquery]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[difference between subquery and correlated subquery in oracle]]></category>
		<category><![CDATA[example of correlated subquery]]></category>
		<category><![CDATA[FIS Global Business Solutions India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Flipkart interview questions and answers]]></category>
		<category><![CDATA[Genpact interview questions and answers]]></category>
		<category><![CDATA[IBM interview questions and answers]]></category>
		<category><![CDATA[Indecomm Global Services interview questions and answers]]></category>
		<category><![CDATA[L&T Infotech interview questions and answers]]></category>
		<category><![CDATA[Mindtree interview questions and answers]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[non correlated subquery example in oracle]]></category>
		<category><![CDATA[Oracle Corporation interview questions and answers]]></category>
		<category><![CDATA[oracle correlated subquery in from clause]]></category>
		<category><![CDATA[oracle correlated subquery in select clause]]></category>
		<category><![CDATA[Persistent Systems interview questions and answers]]></category>
		<category><![CDATA[Prokarma Softech Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[R Systems interview questions and answers]]></category>
		<category><![CDATA[SAP Labs India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[subquery vs correlated subquery]]></category>
		<category><![CDATA[Tata Consultancy Service interview questions and answers]]></category>
		<category><![CDATA[Tech Mahindra interview questions and answers]]></category>
		<category><![CDATA[UnitedHealth Group interview questions and answers]]></category>
		<category><![CDATA[ValueLabs interview questions and answers]]></category>
		<category><![CDATA[Virtusa Consulting Services Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Wells Fargo interview questions and answers]]></category>
		<category><![CDATA[when to use correlated subquery]]></category>
		<category><![CDATA[xenosoft interview questions and answers]]></category>
		<category><![CDATA[Xoriant Solutions Pvt Ltd interview questions and answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=969</guid>

					<description><![CDATA[Answer : The inner query is executed only once...]]></description>
										<content:encoded><![CDATA[<div class="TextHeading">
<div class="hddn">
<h2 id="subquery" class="color-pink" style="text-align: justify;"><span style="font-family: inherit; font-size: 2rem;">Subquery</span></h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>The inner query is executed only once.</li>
<li>The inner query will get executed first and the output of the inner query used by the outer query.</li>
<li>The inner query is not dependent on outer query.</li>
</ul>
</div>
</div>
<div class="CodeContent" style="text-align: justify;">
<div class="hddn">
<figure class="highlight">
<pre><code id="code1" class="hljs" data-lang=""><span class="nt">SELECT Employee_name, dept_no 
FROM Employee 
WHERE Employee_name IN (SELECT Employee_name FROM Customer);</span></code></pre>
</figure>
</div>
</div>
<div class="TextHeading" style="text-align: justify;">
<div class="hddn">
<h2 id="correlated-subquery" class="color-blue">Correlated SubQuery</h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>The outer query will get executed first and for every row of outer query, inner query will get executed.</li>
<li>So the inner query will get executed as many times as number of rows in result of the outer query.</li>
<li>The outer query output can use the inner query output for comparison. This means inner query and outer query dependent on each other.</li>
</ul>
<div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-sql code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-sql code-embed-code">SELECT Employee_name,dept_id <br/>FROM Employee<br/>WHERE Employee_name IN (SELECT Employee_name FROM dept WHERE Employee.dept_id=dept.dept_id);</code></pre> </div>
</div>
</div>
<div class="CodeContent" style="text-align: justify;">
<div class="hddn"></div>
</div>
<div class="ImageContent">
<div class="hddn" style="text-align: justify;"><img fetchpriority="high" decoding="async" class="aligncenter size-medium" src="https://cdn.wikitechy.com/interview-questions/sql/what-is-the-difference-between-the-subquery-and-corelated-subquery.png" alt="Subquery and Corelated Subquery" width="411" height="140" /></div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/sql/what-is-the-difference-between-the-subquery-and-corelated-subquery/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>What is the Difference between join and union ?</title>
		<link>https://www.wikitechy.com/interview-questions/sql/what-is-the-difference-between-join-and-union/</link>
					<comments>https://www.wikitechy.com/interview-questions/sql/what-is-the-difference-between-join-and-union/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Sun, 18 Jul 2021 20:27:46 +0000</pubDate>
				<category><![CDATA[SQL]]></category>
		<category><![CDATA[Accenture interview questions and answers]]></category>
		<category><![CDATA[Allstate Solut interview questions and answers]]></category>
		<category><![CDATA[Capgemini interview questions and answers]]></category>
		<category><![CDATA[CASTING NETWORKS INDIA PVT LIMITED interview questions and answers]]></category>
		<category><![CDATA[CGI Group Inc interview questions and answers]]></category>
		<category><![CDATA[Chetu interview questions and answers]]></category>
		<category><![CDATA[Collabera Technologies interview questions and answers]]></category>
		<category><![CDATA[Conduent interview questions and answers]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[difference between cartesian product and union]]></category>
		<category><![CDATA[difference between join and union]]></category>
		<category><![CDATA[difference between join and union with example]]></category>
		<category><![CDATA[difference between or and union in sql]]></category>
		<category><![CDATA[difference between union all and union]]></category>
		<category><![CDATA[difference between union and full outer joinfull outer join vs union all performance]]></category>
		<category><![CDATA[FIS Global Business Solutions India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Flipkart interview questions and answers]]></category>
		<category><![CDATA[full outer join]]></category>
		<category><![CDATA[Genpact interview questions and answers]]></category>
		<category><![CDATA[IBM interview questions and answers]]></category>
		<category><![CDATA[Indecomm Global Services interview questions and answers]]></category>
		<category><![CDATA[inner join]]></category>
		<category><![CDATA[join]]></category>
		<category><![CDATA[joins]]></category>
		<category><![CDATA[L&T Infotech interview questions and answers]]></category>
		<category><![CDATA[left join]]></category>
		<category><![CDATA[left outer join]]></category>
		<category><![CDATA[Mindtree interview questions and answers]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[mysql inner join]]></category>
		<category><![CDATA[mysql join]]></category>
		<category><![CDATA[mysql union]]></category>
		<category><![CDATA[mysql union example]]></category>
		<category><![CDATA[mysql union join difference]]></category>
		<category><![CDATA[natural join in sql]]></category>
		<category><![CDATA[Oracle Corporation interview questions and answers]]></category>
		<category><![CDATA[oracle sql union]]></category>
		<category><![CDATA[outer join]]></category>
		<category><![CDATA[outer join in sql]]></category>
		<category><![CDATA[Persistent Systems interview questions and answers]]></category>
		<category><![CDATA[Prokarma Softech Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[R Systems interview questions and answers]]></category>
		<category><![CDATA[SAP Labs India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[self join in sql]]></category>
		<category><![CDATA[sql full join]]></category>
		<category><![CDATA[sql inner join]]></category>
		<category><![CDATA[sql inner join where]]></category>
		<category><![CDATA[sql join]]></category>
		<category><![CDATA[sql join 3 tables]]></category>
		<category><![CDATA[sql join types]]></category>
		<category><![CDATA[sql left join]]></category>
		<category><![CDATA[sql left outer join]]></category>
		<category><![CDATA[sql multiple joins]]></category>
		<category><![CDATA[sql outer join]]></category>
		<category><![CDATA[sql union]]></category>
		<category><![CDATA[sql union all]]></category>
		<category><![CDATA[sql union all example]]></category>
		<category><![CDATA[sql union distinct]]></category>
		<category><![CDATA[sql union order by]]></category>
		<category><![CDATA[sql union vs join]]></category>
		<category><![CDATA[sql union vs union all]]></category>
		<category><![CDATA[Tata Consultancy Service interview questions and answers]]></category>
		<category><![CDATA[Tech Mahindra interview questions and answers]]></category>
		<category><![CDATA[trade union]]></category>
		<category><![CDATA[union all]]></category>
		<category><![CDATA[union and join together in sql]]></category>
		<category><![CDATA[union in sql server]]></category>
		<category><![CDATA[union vs join performance]]></category>
		<category><![CDATA[unions]]></category>
		<category><![CDATA[UnitedHealth Group interview questions and answers]]></category>
		<category><![CDATA[ValueLabs interview questions and answers]]></category>
		<category><![CDATA[Virtusa Consulting Services Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Wells Fargo interview questions and answers]]></category>
		<category><![CDATA[what is a union]]></category>
		<category><![CDATA[workers union]]></category>
		<category><![CDATA[Xoriant Solutions Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[xt global interview questions and answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=968</guid>

					<description><![CDATA[Answer : The union operator combines the results of two or more queries into a single result set...]]></description>
										<content:encoded><![CDATA[<div class="TextHeading">
<div class="hddn">
<h2 id="union" class="color-pink" style="text-align: justify;"><span style="font-family: inherit; font-size: 2rem;">Union</span></h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li style="list-style-type: none;">
<ul>
<li>The union operator combines the results of two or more queries into a single result set. But no.of columns must match in both/all the queries (and also the order) which are used for union.</li>
<li>We can union two tables irrespective of common field.</li>
<li>The UNION set operator is used for combining data from two tables which have columns with the same datatype.
<ul>
<li>Union &#8211; Returns with no duplicate rows.</li>
<li>Union all &#8211; Retruns with duplicate rows (No. of rows returned = No. of rows in Query1 + No. of rows in Query 2).</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="ImageContent">
<div class="hddn"><img decoding="async" class="alignnone size-medium aligncenter" src="https://cdn.wikitechy.com/interview-questions/sql/union-unionall-except-intersect.jpg" alt="Union unionall except intersect" width="781" height="156" /></div>
</div>
<ul>
<li>We cannot use the union operator within a create view statement.</li>
<li>We cannot use the union operator on text and image columns.</li>
</ul>
</div>
</div>
<div class="ImageContent" style="text-align: justify;">
<div class="hddn"><img decoding="async" class="alignnone size-medium aligncenter" src="https://cdn.wikitechy.com/interview-questions/sql/union-command-sql.gif" alt="Union in SQL" width="345" height="225" /></div>
</div>
<div class="TextHeading" style="text-align: justify;">
<div class="hddn">
<h2 id="syntax" class="color-blue">Syntax</h2>
<div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-sql code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-sql code-embed-code">SELECT expression1, expression2, ... expression_n<br/>FROM tables<br/>[WHERE conditions]<br/>UNION<br/>SELECT expression1, expression2, ... expression_n<br/>FROM tables<br/>[WHERE conditions];</code></pre> </div>
</div>
</div>
<div class="TextHeading" style="text-align: justify;">
<div class="hddn">
<h2 id="join" class="color-blue">Join</h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>Joins are used to extract information from more than one table based on the related column/coloums (PK and RFK) any no. of rows can be retrived based on matching colums.</li>
<li>We can join two tables by &#8216;join&#8217; if they have common field.</li>
<li>A Join is used for displaying columns with the same or different names from different tables.</li>
<li>Different types of joins are Inner join=equi join=join , <a href="https://www.wikitechy.com/tutorials/sql/outer-join-in-sql">outer join</a> (Right outer join/right join, <a href="https://www.wikitechy.com/tutorials/sql/left-outer-join-in-sql">Left outer join</a> / left join), <a href="https://www.wikitechy.com/tutorials/sql/cross-join">Cross join</a> , and full outer join/outer join.</li>
<li>We can use join operator within a create view statement.</li>
<li>We can use the join operator on text and image columns.</li>
</ul>
</div>
</div>
<div class="ImageContent" style="text-align: justify;">
<div class="hddn"><img loading="lazy" decoding="async" class="alignnone size-medium aligncenter" src="https://cdn.wikitechy.com/interview-questions/sql/cross-join.png" alt="Cross Join" width="341" height="213" /></div>
</div>
<div class="TextHeading" style="text-align: justify;">
<div class="hddn">
<h2 id="syntax-2" class="color-blue">Syntax</h2>
<div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-sql code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-sql code-embed-code">SELECT column-names<br/>FROM table-name1 JOIN table-name2 <br/>ON column-name1 = column-name2<br/>WHERE condition</code></pre> </div>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/sql/what-is-the-difference-between-join-and-union/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>What is the SQLCode -501 ?</title>
		<link>https://www.wikitechy.com/interview-questions/sql/what-is-the-sqlcode-501/</link>
					<comments>https://www.wikitechy.com/interview-questions/sql/what-is-the-sqlcode-501/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Sun, 18 Jul 2021 20:24:32 +0000</pubDate>
				<category><![CDATA[SQL]]></category>
		<category><![CDATA[Accenture interview questions and answers]]></category>
		<category><![CDATA[Allstate Solut interview questions and answers]]></category>
		<category><![CDATA[Capgemini interview questions and answers]]></category>
		<category><![CDATA[CASTING NETWORKS INDIA PVT LIMITED interview questions and answers]]></category>
		<category><![CDATA[CGI Group Inc interview questions and answers]]></category>
		<category><![CDATA[Chetu interview questions and answers]]></category>
		<category><![CDATA[Collabera Technologies interview questions and answers]]></category>
		<category><![CDATA[Conduent interview questions and answers]]></category>
		<category><![CDATA[db2 sql code]]></category>
		<category><![CDATA[db2 sql error sqlcode=-805]]></category>
		<category><![CDATA[db2 sql error sqlcode=-904]]></category>
		<category><![CDATA[db2 sqlcode 180]]></category>
		<category><![CDATA[db2 sqlcode=-904]]></category>
		<category><![CDATA[db2 sqlcode=-911]]></category>
		<category><![CDATA[db2 sqlcode=-913]]></category>
		<category><![CDATA[db2 sqlcode=-922]]></category>
		<category><![CDATA[db2 sqlcode=-991]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[FIS Global Business Solutions India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Flipkart interview questions and answers]]></category>
		<category><![CDATA[Genpact interview questions and answers]]></category>
		<category><![CDATA[how to resolve sqlcode]]></category>
		<category><![CDATA[how to resolve sqlcode 911]]></category>
		<category><![CDATA[how to resolve sqlcode in db2]]></category>
		<category><![CDATA[IBM interview questions and answers]]></category>
		<category><![CDATA[Indecomm Global Services interview questions and answers]]></category>
		<category><![CDATA[L&T Infotech interview questions and answers]]></category>
		<category><![CDATA[Mindtree interview questions and answers]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[Oracle Corporation interview questions and answers]]></category>
		<category><![CDATA[Persistent Systems interview questions and answers]]></category>
		<category><![CDATA[Prokarma Softech Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[R Systems interview questions and answers]]></category>
		<category><![CDATA[SAP Labs India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[sql code 924]]></category>
		<category><![CDATA[sqlcode]]></category>
		<category><![CDATA[sqlcode -204 sqlstate 42704]]></category>
		<category><![CDATA[sqlcode 805]]></category>
		<category><![CDATA[sqlcode 913]]></category>
		<category><![CDATA[sqlcode meaning]]></category>
		<category><![CDATA[sqlcode: -530]]></category>
		<category><![CDATA[sqlcode=-911]]></category>
		<category><![CDATA[sqlerrmc=2sqlcode 911 mainframe]]></category>
		<category><![CDATA[sqlstate: 23503]]></category>
		<category><![CDATA[sqlstate=40001]]></category>
		<category><![CDATA[Tata Consultancy Service interview questions and answers]]></category>
		<category><![CDATA[Tech Mahindra interview questions and answers]]></category>
		<category><![CDATA[UnitedHealth Group interview questions and answers]]></category>
		<category><![CDATA[ValueLabs interview questions and answers]]></category>
		<category><![CDATA[Virtusa Consulting Services Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Wells Fargo interview questions and answers]]></category>
		<category><![CDATA[Xoriant Solutions Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[zeus interview questions and answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=967</guid>

					<description><![CDATA[Answer : sqlcode -501 pops up to show...]]></description>
										<content:encoded><![CDATA[<div class="TextHeading">
<div class="hddn">
<h2 id="what-is-the-sqlcode-501" class="color-pink" style="text-align: justify;">What is the SQLcode -501 ?</h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>SQLcode -501 pops up to show that , the Cursor identified in fetch or close statement is not opened.</li>
</ul>
</div>
</div>
<div class="Content">
<div class="hddn">
<ul>
<li>SQL error code means it return codes that are preceded by a minus sign (-) indicate that the SQL statement execution was unsuccessful.
<ul>
<li style="text-align: justify;">If SQLCODE = 0, execution was successful.</li>
<li style="text-align: justify;">If SQLCODE &gt; 0, execution was successful with a warning.</li>
<li style="text-align: justify;">If SQLCODE &lt; 0, execution was not successful.</li>
<li style="text-align: justify;">SQLCODE = 100, &#8220;no data&#8221; was found.</li>
</ul>
</li>
</ul>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/sql/what-is-the-sqlcode-501/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>What is the difference between a HAVING CLAUSE and a WHERE CLAUSE ?</title>
		<link>https://www.wikitechy.com/interview-questions/sql/what-is-the-difference-between-a-having-clause-and-a-where-clause/</link>
					<comments>https://www.wikitechy.com/interview-questions/sql/what-is-the-difference-between-a-having-clause-and-a-where-clause/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Sun, 18 Jul 2021 20:21:49 +0000</pubDate>
				<category><![CDATA[SQL]]></category>
		<category><![CDATA[Accenture interview questions and answers]]></category>
		<category><![CDATA[Allstate Solut interview questions and answers]]></category>
		<category><![CDATA[Capgemini interview questions and answers]]></category>
		<category><![CDATA[case in where clause]]></category>
		<category><![CDATA[CASTING NETWORKS INDIA PVT LIMITED interview questions and answers]]></category>
		<category><![CDATA[CGI Group Inc interview questions and answers]]></category>
		<category><![CDATA[Chetu interview questions and answers]]></category>
		<category><![CDATA[clause]]></category>
		<category><![CDATA[clause examples]]></category>
		<category><![CDATA[Collabera Technologies interview questions and answers]]></category>
		<category><![CDATA[conditional clauses]]></category>
		<category><![CDATA[Conduent interview questions and answers]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[difference between groupby and orderby in sql]]></category>
		<category><![CDATA[difference between having and group by]]></category>
		<category><![CDATA[difference between where and having clause]]></category>
		<category><![CDATA[difference between where and having clause in oracle]]></category>
		<category><![CDATA[difference between where and having clause in sql server]]></category>
		<category><![CDATA[difference between where and having clause in tabular form]]></category>
		<category><![CDATA[FIS Global Business Solutions India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Flipkart interview questions and answers]]></category>
		<category><![CDATA[Genpact interview questions and answers]]></category>
		<category><![CDATA[group by clause]]></category>
		<category><![CDATA[group by clause in sql]]></category>
		<category><![CDATA[group by sql]]></category>
		<category><![CDATA[having clause]]></category>
		<category><![CDATA[having clause in sql]]></category>
		<category><![CDATA[having clause in sql stackoverflow]]></category>
		<category><![CDATA[having vs where performance]]></category>
		<category><![CDATA[IBM interview questions and answers]]></category>
		<category><![CDATA[Indecomm Global Services interview questions and answers]]></category>
		<category><![CDATA[L&T Infotech interview questions and answers]]></category>
		<category><![CDATA[main difference between having and wheremy]]></category>
		<category><![CDATA[Mindtree interview questions and answers]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[mysql in clause]]></category>
		<category><![CDATA[Oracle Corporation interview questions and answers]]></category>
		<category><![CDATA[oracle with clause]]></category>
		<category><![CDATA[order by clause]]></category>
		<category><![CDATA[order by clause in sql]]></category>
		<category><![CDATA[Persistent Systems interview questions and answers]]></category>
		<category><![CDATA[Prokarma Softech Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[R Systems interview questions and answers]]></category>
		<category><![CDATA[SAP Labs India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[sql case in where clause]]></category>
		<category><![CDATA[sql having count]]></category>
		<category><![CDATA[sql having vs where]]></category>
		<category><![CDATA[sql join]]></category>
		<category><![CDATA[sql where clause]]></category>
		<category><![CDATA[sql with clause]]></category>
		<category><![CDATA[table]]></category>
		<category><![CDATA[Tata Consultancy Service interview questions and answers]]></category>
		<category><![CDATA[Tech Mahindra interview questions and answers]]></category>
		<category><![CDATA[UnitedHealth Group interview questions and answers]]></category>
		<category><![CDATA[ValueLabs interview questions and answers]]></category>
		<category><![CDATA[Virtusa Consulting Services Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Wells Fargo interview questions and answers]]></category>
		<category><![CDATA[what is a clause]]></category>
		<category><![CDATA[where clause]]></category>
		<category><![CDATA[where clause in sql]]></category>
		<category><![CDATA[Xoriant Solutions Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[yardi software interview questions and answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=966</guid>

					<description><![CDATA[Answer : The HAVING clause sets conditions on the GROUP BY...]]></description>
										<content:encoded><![CDATA[<div class="TextHeading">
<div class="hddn">
<h2 id="" class="color-pink" style="text-align: justify;"></h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<table class="table-bordered table-striped table table-responsive">
<tbody>
<tr>
<th>Where Clause</th>
<th>Having Clause</th>
</tr>
<tr>
<td class="text-leftalign">WHERE clause can be used with &#8211; Select, Insert, and<br />
Update statements.</td>
<td class="text-leftalign">HAVING clause can only be used with the Select statement.</td>
</tr>
<tr>
<td class="text-leftalign">The WHERE search condition is applied before the<br />
grouping operation occurs.</td>
<td class="text-leftalign">The HAVING search condition is applied after the grouping operation occurs.</td>
</tr>
<tr>
<td class="text-leftalign">Aggregate functions cannot be used in the WHERE clause,<br />
unless it is in a sub query contained in a HAVING clause.</td>
<td class="text-leftalign">Aggregate functions can be used in Having clause.</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="TextHeading" style="text-align: justify;">
<div class="hddn">
<h2 id="example-of-where-and-having-clause" class="color-green">Example of WHERE and HAVING clause</h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>We have two tables Wikitechy_Employee and Department. Wikitechy_Employee contains details of employees e.g. id, name, age, salary and department id, while Department contains id and department name.</li>
<li>In order to show, which employee works for which department we need to join two tables on DEPT_ID to get the the department name.</li>
<li>Our requirement is to find how many employees are working in each department and average salary of department.</li>
<li>In order to use WHERE clause, we will only include employees who are earning more than 5000.</li>
<li>Before executing our query which contains WHERE, HAVING, and GROUP BY clause, let see data from Wikitechy_Employee and Department table:</li>
</ul>
</div>
</div>
<div class="text-center row" style="text-align: justify;"></div>
<div class="subheading" style="text-align: justify;">
<h2 id="select-from-wikitechy_employee">SELECT * FROM Wikitechy_Employee;</h2>
<table class="table-bordered table-striped table table-responsive">
<tbody>
<tr>
<th>EMP_ID</th>
<th>EMP_NAME</th>
<th>EMP_AGE</th>
<th>EMP_SALARY</th>
<th>DEPT_ID</th>
</tr>
<tr>
<td class="text-leftalign">1</td>
<td class="text-leftalign">George Orwell</td>
<td class="text-leftalign">23</td>
<td class="text-leftalign">10000</td>
<td class="text-leftalign">1</td>
</tr>
<tr>
<td class="text-leftalign">2</td>
<td class="text-leftalign">J.K. Rowling</td>
<td class="text-leftalign">24</td>
<td class="text-leftalign">7000</td>
<td class="text-leftalign">2</td>
</tr>
<tr>
<td class="text-leftalign">3</td>
<td class="text-leftalign">Kurt Vonnegut</td>
<td class="text-leftalign">25</td>
<td class="text-leftalign">8000</td>
<td class="text-leftalign">3</td>
</tr>
<tr>
<td class="text-leftalign">4</td>
<td class="text-leftalign">Virginia Woolf</td>
<td class="text-leftalign">27</td>
<td class="text-leftalign">6000</td>
<td class="text-leftalign">1</td>
</tr>
<tr>
<td class="text-leftalign">5</td>
<td class="text-leftalign">Ernest Hemingway</td>
<td class="text-leftalign">28</td>
<td class="text-leftalign">5000</td>
<td class="text-leftalign">2</td>
</tr>
</tbody>
</table>
</div>
<div class="subheading" style="text-align: justify;">
<h2 id="select-from-department">SELECT * FROM Department;</h2>
<table class="table-bordered table-striped table table-responsive">
<tbody>
<tr>
<th>DEPT_ID</th>
<th>DEPT_NAME</th>
</tr>
<tr>
<td class="text-leftalign">1</td>
<td class="text-leftalign">Accounting</td>
</tr>
<tr>
<td class="text-leftalign">2</td>
<td class="text-leftalign">Marketing</td>
</tr>
<tr>
<td class="text-leftalign">3</td>
<td class="text-leftalign">Sales</td>
</tr>
</tbody>
</table>
</div>
<div class="TextHeading" style="text-align: justify;">
<div class="hddn">
<h2 id="sample-code" class="color-green">Sample Code</h2>
</div>
</div>
<div class="CodeContent" style="text-align: justify;">
<div class="hddn">
<figure class="highlight"><div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-sql code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-sql code-embed-code">SELECT d.DEPT_NAME,<br/>count(e.EMP_NAME) as NUM_EMPLOYEE, <br/>avg(e.EMP_SALARY) as AVG_SALARY FROM Employee e,<br/>Department d WHERE e.DEPT_ID=d.DEPT_ID AND EMP_SALARY &gt; 5000 GROUP BY d.DEPT_NAME;</code></pre> </div></figure>
</div>
</div>
<div class="TextHeading" style="text-align: justify;">
<div class="hddn">
<h2 id="output" class="color-green">Output</h2>
</div>
</div>
<table class="table-bordered table-striped table table-responsive">
<tbody>
<tr>
<th>DEPT_NAME</th>
<th>NUM_EMPLOYEE AVG_SALARY</th>
<th>AVG_SALARY</th>
</tr>
<tr>
<td class="text-leftalign">Accounting</td>
<td class="text-leftalign">1</td>
<td class="text-leftalign">8000</td>
</tr>
<tr>
<td class="text-leftalign">Marketing</td>
<td class="text-leftalign">1</td>
<td class="text-leftalign">7000</td>
</tr>
<tr>
<td class="text-leftalign">Sales</td>
<td class="text-leftalign">2</td>
<td class="text-leftalign">8000</td>
</tr>
</tbody>
</table>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>From the number of employee (NUM_EMPLOYEE) column you can see that only Vijay who work for Marketing department is not included in result set because his earning 5000.</li>
<li>This example shows that, condition in WHERE clause is used to filter rows before you aggregate them and then HAVING clause comes in picture for final filtering, which is clear from following query, now Marketing department is excluded because it doesn&#8217;t pass condition in HAVING clause i..e AVG_SALARY &gt; 7000</li>
</ul>
</div>
</div>
<div class="TextHeading" style="text-align: justify;">
<div class="hddn">
<h2 id="sample-code-2" class="color-green">Sample Code</h2>
</div>
</div>
<div class="CodeContent" style="text-align: justify;">
<div class="hddn">
<figure class="highlight"><div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-sql code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-sql code-embed-code">SELECT d.DEPT_NAME,<br/>count(e.EMP_NAME) as NUM_EMPLOYEE,<br/>avg(e.EMP_SALARY) as AVG_SALARY FROM Employee e,<br/>Department d WHERE e.DEPT_ID=d.DEPT_ID AND EMP_SALARY &gt; 5000 GROUP BY d.DEPT_NAMEHAVING AVG_SALARY &gt; 7000;</code></pre> </div></figure>
</div>
</div>
<div class="TextHeading" style="text-align: justify;">
<div class="hddn">
<h2 id="output-2" class="color-green">Output</h2>
</div>
</div>
<table class="table-bordered table-striped table table-responsive">
<tbody>
<tr>
<th>DEPT_NAME</th>
<th>NUM_EMPLOYEE</th>
<th>AVG_SALARY</th>
</tr>
<tr>
<td class="text-leftalign">Accounting</td>
<td class="text-leftalign">1</td>
<td class="text-leftalign">8000</td>
</tr>
<tr>
<td class="text-leftalign">Sales</td>
<td class="text-leftalign">2</td>
<td class="text-leftalign">8000</td>
</tr>
</tbody>
</table>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/sql/what-is-the-difference-between-a-having-clause-and-a-where-clause/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Difference between Clustered and Non-clustered index ?</title>
		<link>https://www.wikitechy.com/interview-questions/sql/difference-between-clustered-and-non-clustered-index/</link>
					<comments>https://www.wikitechy.com/interview-questions/sql/difference-between-clustered-and-non-clustered-index/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Sun, 18 Jul 2021 20:18:58 +0000</pubDate>
				<category><![CDATA[SQL]]></category>
		<category><![CDATA[Accenture interview questions and answers]]></category>
		<category><![CDATA[Allstate Solut interview questions and answers]]></category>
		<category><![CDATA[Capgemini interview questions and answers]]></category>
		<category><![CDATA[CASTING NETWORKS INDIA PVT LIMITED interview questions and answers]]></category>
		<category><![CDATA[CGI Group Inc interview questions and answers]]></category>
		<category><![CDATA[Chetu interview questions and answers]]></category>
		<category><![CDATA[cluster]]></category>
		<category><![CDATA[cluster index creation]]></category>
		<category><![CDATA[cluster index in oracle]]></category>
		<category><![CDATA[cluster meaning]]></category>
		<category><![CDATA[clustered and nonclustered index]]></category>
		<category><![CDATA[clustered index]]></category>
		<category><![CDATA[clustered index and non clustered index]]></category>
		<category><![CDATA[clustered index in mysql]]></category>
		<category><![CDATA[clustered index in oracle]]></category>
		<category><![CDATA[clustered index in sql]]></category>
		<category><![CDATA[clustered index in sql server 2008 with example]]></category>
		<category><![CDATA[clustered index mysql]]></category>
		<category><![CDATA[clustered index performance]]></category>
		<category><![CDATA[clustered index vs nonclustered index]]></category>
		<category><![CDATA[clustered vs non]]></category>
		<category><![CDATA[clustered vs nonclustered index]]></category>
		<category><![CDATA[clustering]]></category>
		<category><![CDATA[Collabera Technologies interview questions and answers]]></category>
		<category><![CDATA[Conduent interview questions and answers]]></category>
		<category><![CDATA[create non clustered index multiple columns sql server]]></category>
		<category><![CDATA[create nonclustered index]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[database index]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[difference between clustered and non]]></category>
		<category><![CDATA[difference between clustered and nonclustered index]]></category>
		<category><![CDATA[difference between clustered index and non clustered index]]></category>
		<category><![CDATA[FIS Global Business Solutions India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Flipkart interview questions and answers]]></category>
		<category><![CDATA[Genpact interview questions and answers]]></category>
		<category><![CDATA[how many clustered index in a table]]></category>
		<category><![CDATA[how non clustered index point to the data]]></category>
		<category><![CDATA[how to create clustered index in sql]]></category>
		<category><![CDATA[how to create non clustered index in oracle]]></category>
		<category><![CDATA[how to create non clustered index in sql server]]></category>
		<category><![CDATA[IBM interview questions and answers]]></category>
		<category><![CDATA[Indecomm Global Services interview questions and answers]]></category>
		<category><![CDATA[index]]></category>
		<category><![CDATA[L&T Infotech interview questions and answers]]></category>
		<category><![CDATA[Mindtree interview questions and answers]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[non clustered index]]></category>
		<category><![CDATA[non clustered index example]]></category>
		<category><![CDATA[non clustered index in sql]]></category>
		<category><![CDATA[non clustered index in sql server]]></category>
		<category><![CDATA[Oracle Corporation interview questions and answers]]></category>
		<category><![CDATA[Persistent Systems interview questions and answers]]></category>
		<category><![CDATA[primary key clustered]]></category>
		<category><![CDATA[Prokarma Softech Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[R Systems interview questions and answers]]></category>
		<category><![CDATA[SAP Labs India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[sql cluster]]></category>
		<category><![CDATA[sql create index]]></category>
		<category><![CDATA[SQL Index]]></category>
		<category><![CDATA[sql server]]></category>
		<category><![CDATA[sql server cluster]]></category>
		<category><![CDATA[sql server clustered index]]></category>
		<category><![CDATA[sql server index]]></category>
		<category><![CDATA[Tata Consultancy Service interview questions and answers]]></category>
		<category><![CDATA[Tech Mahindra interview questions and answers]]></category>
		<category><![CDATA[UnitedHealth Group interview questions and answers]]></category>
		<category><![CDATA[ValueLabs interview questions and answers]]></category>
		<category><![CDATA[Virtusa Consulting Services Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Wells Fargo interview questions and answers]]></category>
		<category><![CDATA[when to use non clustered index]]></category>
		<category><![CDATA[which is faster clustered or non]]></category>
		<category><![CDATA[Xoriant Solutions Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[yardi interview questions and answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=965</guid>

					<description><![CDATA[Answer : Cluster index: Clustered index will be created...]]></description>
										<content:encoded><![CDATA[<div class="TextHeading">
<div class="hddn">
<h2 id="difference-between-clustered-and-non-clustered-index" class="color-pink">Difference between Clustered and Non-clustered index ?</h2>
<table class="table-bordered table-striped table table-responsive">
<tbody>
<tr>
<th>Clustered Index</th>
<th>Non-clustered Index</th>
</tr>
<tr>
<td class="text-leftalign">Clustered index will be created by default<br />
when you create primary key on a column.<br />
So we can create one clustered index per table.</td>
<td class="text-leftalign">Non clustered index will be created automatically when you create unique key on a column. A table can have no.of unique keys, so we can create no.of non-clustered indexes per table.</td>
</tr>
<tr>
<td class="text-leftalign">The Leaf Level of a clustered index<br />
is the actual data page.</td>
<td class="text-leftalign">The Leaf Level of a non-clustered index does not consist of the actual data page.</td>
</tr>
<tr>
<td class="text-leftalign">Only one clustered index can be created.</td>
<td class="text-leftalign">Many non clustered index(Numbers depends on the database software) can be created.</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="text-center row">
<div class="col-sm-12">
<div id="bsa-zone_1590522538159-8_123456"></div>
</div>
</div>
<div class="ImageContent">
<div class="hddn"><img loading="lazy" decoding="async" class="aligncenter size-medium" src="https://cdn.wikitechy.com/interview-questions/sql/difference-between-cluster-and-non-cluster-index.png" alt="Cluster and Non Cluster Index" width="541" height="447" /></div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/sql/difference-between-clustered-and-non-clustered-index/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>What is an Index ?</title>
		<link>https://www.wikitechy.com/interview-questions/sql/what-is-an-index/</link>
					<comments>https://www.wikitechy.com/interview-questions/sql/what-is-an-index/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Sun, 18 Jul 2021 20:16:01 +0000</pubDate>
				<category><![CDATA[SQL]]></category>
		<category><![CDATA[Accenture interview questions and answers]]></category>
		<category><![CDATA[Allstate Solut interview questions and answers]]></category>
		<category><![CDATA[Capgemini interview questions and answers]]></category>
		<category><![CDATA[CASTING NETWORKS INDIA PVT LIMITED interview questions and answers]]></category>
		<category><![CDATA[CGI Group Inc interview questions and answers]]></category>
		<category><![CDATA[Chetu interview questions and answers]]></category>
		<category><![CDATA[clustered and non]]></category>
		<category><![CDATA[Clustered and Nonclustered Indexes]]></category>
		<category><![CDATA[clustered and nonclustered indexes in sql]]></category>
		<category><![CDATA[clustered index in sql]]></category>
		<category><![CDATA[clustered index in sql server]]></category>
		<category><![CDATA[clustered indexes in sql]]></category>
		<category><![CDATA[Collabera Technologies interview questions and answers]]></category>
		<category><![CDATA[Conduent interview questions and answers]]></category>
		<category><![CDATA[create clustered index in sql server]]></category>
		<category><![CDATA[create nonclustered index in sql server]]></category>
		<category><![CDATA[database index]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[difference between clustered and non]]></category>
		<category><![CDATA[difference between clustered and nonclustered index in sql]]></category>
		<category><![CDATA[FIS Global Business Solutions India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Flipkart interview questions and answers]]></category>
		<category><![CDATA[Genpact interview questions and answers]]></category>
		<category><![CDATA[how index works in sql]]></category>
		<category><![CDATA[how to use index in select query in sql server]]></category>
		<category><![CDATA[how to use index in sql]]></category>
		<category><![CDATA[how to use index in sql server]]></category>
		<category><![CDATA[IBM interview questions and answers]]></category>
		<category><![CDATA[importance of indexing in database]]></category>
		<category><![CDATA[Indecomm Global Services interview questions and answers]]></category>
		<category><![CDATA[index]]></category>
		<category><![CDATA[index definition]]></category>
		<category><![CDATA[index example]]></category>
		<category><![CDATA[index meaning]]></category>
		<category><![CDATA[indexeddb]]></category>
		<category><![CDATA[Indexes in SQL Server]]></category>
		<category><![CDATA[indexing - What is an index in SQL]]></category>
		<category><![CDATA[L&T Infotech interview questions and answers]]></category>
		<category><![CDATA[Mindtree interview questions and answers]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[mysql index]]></category>
		<category><![CDATA[Oracle Corporation interview questions and answers]]></category>
		<category><![CDATA[Persistent Systems interview questions and answers]]></category>
		<category><![CDATA[Prokarma Softech Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[R Systems interview questions and answers]]></category>
		<category><![CDATA[SAP Labs India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[SQL - What is an Index]]></category>
		<category><![CDATA[sql charindex]]></category>
		<category><![CDATA[sql column index]]></category>
		<category><![CDATA[SQL CREATE INDEX Statement]]></category>
		<category><![CDATA[SQL Index]]></category>
		<category><![CDATA[sql index example]]></category>
		<category><![CDATA[SQL Indexes]]></category>
		<category><![CDATA[sql injection]]></category>
		<category><![CDATA[sql join]]></category>
		<category><![CDATA[sql server]]></category>
		<category><![CDATA[SQL Server Index Basics]]></category>
		<category><![CDATA[sql server indexes tutorial]]></category>
		<category><![CDATA[sql update]]></category>
		<category><![CDATA[stock index]]></category>
		<category><![CDATA[Tata Consultancy Service interview questions and answers]]></category>
		<category><![CDATA[Tech Mahindra interview questions and answers]]></category>
		<category><![CDATA[types of index in sql]]></category>
		<category><![CDATA[types of indexes in sql with examples]]></category>
		<category><![CDATA[UnitedHealth Group interview questions and answers]]></category>
		<category><![CDATA[ValueLabs interview questions and answers]]></category>
		<category><![CDATA[Virtusa Consulting Services Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Wells Fargo interview questions and answers]]></category>
		<category><![CDATA[what is an index]]></category>
		<category><![CDATA[what is an index fund]]></category>
		<category><![CDATA[what is an index in a book]]></category>
		<category><![CDATA[what is an index in math]]></category>
		<category><![CDATA[what is an index in sql]]></category>
		<category><![CDATA[what is an index in stock market]]></category>
		<category><![CDATA[what is index in database]]></category>
		<category><![CDATA[Xoriant Solutions Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[yardi software interview questions and answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=964</guid>

					<description><![CDATA[Answer : Index is a database object which improves the efficiency of the query...]]></description>
										<content:encoded><![CDATA[<div class="TextHeading">
<div class="hddn">
<h2 id="what-is-an-index" class="color-pink">What is an Index ?</h2>
</div>
</div>
<div class="Content">
<div class="hddn">
<ul>
<li>Index is a database object which improves the efficiency of the query. When queries are run against a database, an index on that database basically helps in the way the data is sorted to process the query for faster and data retrievals are much faster when we have an index.</li>
</ul>
</div>
</div>
<div class="text-center row">
<div class="col-sm-12">
<div id="bsa-zone_1590522538159-8_123456"></div>
</div>
</div>
<div class="ImageContent">
<div class="hddn"><img loading="lazy" decoding="async" class="alignnone size-medium aligncenter" src="https://cdn.wikitechy.com/interview-questions/sql/what-is-an-index.png" alt="what is an index" width="732" height="547" /></div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/sql/what-is-an-index/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to find the second highest salary from emp table ?</title>
		<link>https://www.wikitechy.com/interview-questions/sql/how-to-find-the-second-highest-salary-from-emp-table/</link>
					<comments>https://www.wikitechy.com/interview-questions/sql/how-to-find-the-second-highest-salary-from-emp-table/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Sun, 18 Jul 2021 20:12:51 +0000</pubDate>
				<category><![CDATA[SQL]]></category>
		<category><![CDATA[2nd highest salary]]></category>
		<category><![CDATA[2nd highest salary in sql]]></category>
		<category><![CDATA[Accenture interview questions and answers]]></category>
		<category><![CDATA[Allstate Solut interview questions and answers]]></category>
		<category><![CDATA[Capgemini interview questions and answers]]></category>
		<category><![CDATA[CASTING NETWORKS INDIA PVT LIMITED interview questions and answers]]></category>
		<category><![CDATA[CGI Group Inc interview questions and answers]]></category>
		<category><![CDATA[Chetu interview questions and answers]]></category>
		<category><![CDATA[Collabera Technologies interview questions and answers]]></category>
		<category><![CDATA[Conduent interview questions and answers]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[finding highest salary in the table]]></category>
		<category><![CDATA[FIS Global Business Solutions India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Flipkart interview questions and answers]]></category>
		<category><![CDATA[Genpact interview questions and answers]]></category>
		<category><![CDATA[getmax]]></category>
		<category><![CDATA[highest salary]]></category>
		<category><![CDATA[how to find max salary in sql without using max function]]></category>
		<category><![CDATA[how to find nth highest salary in sql server without using subquery]]></category>
		<category><![CDATA[how to find second highest salary in oracle]]></category>
		<category><![CDATA[how to find second highest salary in sql using rank() function]]></category>
		<category><![CDATA[how to find second highest salary in sql using rownum]]></category>
		<category><![CDATA[how to find second highest salary in sql using subquery]]></category>
		<category><![CDATA[how to find second highest salary in sql without using subquery]]></category>
		<category><![CDATA[how to find the second highest salary from emp table]]></category>
		<category><![CDATA[how to find third highest salary in sql]]></category>
		<category><![CDATA[how to find top 3 salary in sql]]></category>
		<category><![CDATA[IBM interview questions and answers]]></category>
		<category><![CDATA[Indecomm Global Services interview questions and answers]]></category>
		<category><![CDATA[L&T Infotech interview questions and answers]]></category>
		<category><![CDATA[max employment]]></category>
		<category><![CDATA[max function]]></category>
		<category><![CDATA[max in]]></category>
		<category><![CDATA[max value]]></category>
		<category><![CDATA[Mindtree interview questions and answers]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[mysql max]]></category>
		<category><![CDATA[mysql select top]]></category>
		<category><![CDATA[nth highest salary in mysql]]></category>
		<category><![CDATA[nth highest salary in oracle using level]]></category>
		<category><![CDATA[nth highest salary in sql server 2008]]></category>
		<category><![CDATA[nth highest salary in sql server using cte]]></category>
		<category><![CDATA[nth highest salary in sql server using row_number]]></category>
		<category><![CDATA[Oracle Corporation interview questions and answers]]></category>
		<category><![CDATA[oracle max]]></category>
		<category><![CDATA[Persistent Systems interview questions and answers]]></category>
		<category><![CDATA[Prokarma Softech Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[R Systems interview questions and answers]]></category>
		<category><![CDATA[SAP Labs India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[second highest salary]]></category>
		<category><![CDATA[second highest salary in mysql]]></category>
		<category><![CDATA[second highest salary in sql]]></category>
		<category><![CDATA[select max]]></category>
		<category><![CDATA[select max sql]]></category>
		<category><![CDATA[select name of employee with max salary]]></category>
		<category><![CDATA[sql find]]></category>
		<category><![CDATA[sql interview questions]]></category>
		<category><![CDATA[sql max]]></category>
		<category><![CDATA[sql max date]]></category>
		<category><![CDATA[sql max function]]></category>
		<category><![CDATA[sql query for nth highest salary]]></category>
		<category><![CDATA[sql query for second highest salary]]></category>
		<category><![CDATA[sql query to find highest salary]]></category>
		<category><![CDATA[sql query to find highest salary of employee in each department]]></category>
		<category><![CDATA[sql query to find nth highest salary]]></category>
		<category><![CDATA[sql query to find second highest salary]]></category>
		<category><![CDATA[sql query to find the second highest salary in the table]]></category>
		<category><![CDATA[sql query to find third highest salary]]></category>
		<category><![CDATA[sql query to get second highest salary]]></category>
		<category><![CDATA[Tata Consultancy Service interview questions and answers]]></category>
		<category><![CDATA[Tech Mahindra interview questions and answers]]></category>
		<category><![CDATA[UnitedHealth Group interview questions and answers]]></category>
		<category><![CDATA[ValueLabs interview questions and answers]]></category>
		<category><![CDATA[Virtusa Consulting Services Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Wells Fargo interview questions and answers]]></category>
		<category><![CDATA[Xoriant Solutions Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[yardi interview questions and answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=955</guid>

					<description><![CDATA[Answer : Select max(sal)...]]></description>
										<content:encoded><![CDATA[<div class="TextHeading">
<div class="hddn">
<h2 id="how-to-find-the-second-highest-salary-from-emp-table" class="color-pink">How to find the second highest salary from emp table ?</h2>
</div>
</div>
<div class="CodeContent">
<div class="hddn">
<figure class="highlight">
<pre><strong><code id="code1" class="hljs scss" data-lang=""><span class="nt"><span class="hljs-tag">Select</span> <span class="hljs-function">max</span>(sal) from table_name where sal&lt;(<span class="hljs-tag">select</span> <span class="hljs-function">max</span>(sal)from table_name)</span></code></strong></pre>
</figure>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/sql/how-to-find-the-second-highest-salary-from-emp-table/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
