<?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>foreign key in dbms - Wikitechy</title>
	<atom:link href="https://www.wikitechy.com/interview-questions/tag/foreign-key-in-dbms/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.wikitechy.com/interview-questions/tag/foreign-key-in-dbms/</link>
	<description>Interview Questions</description>
	<lastBuildDate>Sat, 04 Jun 2022 07:10:54 +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>foreign key in dbms - Wikitechy</title>
	<link>https://www.wikitechy.com/interview-questions/tag/foreign-key-in-dbms/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Different types of Keys in DBMS</title>
		<link>https://www.wikitechy.com/interview-questions/dbms/different-types-of-keys-in-dbms/</link>
					<comments>https://www.wikitechy.com/interview-questions/dbms/different-types-of-keys-in-dbms/#respond</comments>
		
		<dc:creator><![CDATA[webmaster]]></dc:creator>
		<pubDate>Sat, 04 Jun 2022 07:10:54 +0000</pubDate>
				<category><![CDATA[DBMS]]></category>
		<category><![CDATA[candidate key in dbms]]></category>
		<category><![CDATA[candidate key in dbms with example]]></category>
		<category><![CDATA[DBMS Keys]]></category>
		<category><![CDATA[describe different types of keys in dbms]]></category>
		<category><![CDATA[Different types of Keys in DBMS]]></category>
		<category><![CDATA[different types of keys in dbms with examples]]></category>
		<category><![CDATA[discuss different types of keys in dbms with example]]></category>
		<category><![CDATA[explain different types of keys in dbms]]></category>
		<category><![CDATA[foreign key in dbms]]></category>
		<category><![CDATA[primary key in dbms]]></category>
		<category><![CDATA[super key in dbms]]></category>
		<category><![CDATA[Types of Keys in Database Management System]]></category>
		<category><![CDATA[Types of Keys in DBMS]]></category>
		<category><![CDATA[Types of Keys in Relational Model]]></category>
		<category><![CDATA[unique key in dbms]]></category>
		<category><![CDATA[Various Types of Keys in DBMS]]></category>
		<category><![CDATA[what are keys in dbms list the different types of keys in dbms]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=4472</guid>

					<description><![CDATA[There are 7 keys in DBMS Primary Key Key which is used to identify one and only instance of entity uniquely. An Enity can contains multiple keys, and keys which is most suitable becomes the primary key. For each entity the primary key selection is based on requirements and developers. Candidate Key A key or [&#8230;]]]></description>
										<content:encoded><![CDATA[<p style="text-align: justify;">There are 7 keys in DBMS</p>
<p><img fetchpriority="high" decoding="async" class="alignnone size-full wp-image-4473 aligncenter" src="https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/06/different-kinds-of-keys-in-dbms.jpg" alt="" width="568" height="411" srcset="https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/06/different-kinds-of-keys-in-dbms.jpg 568w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/06/different-kinds-of-keys-in-dbms-300x217.jpg 300w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/06/different-kinds-of-keys-in-dbms-390x282.jpg 390w" sizes="(max-width: 568px) 100vw, 568px" /></p>
<h3 id="primary-key" style="text-align: justify;"><strong>Primary Key</strong></h3>
<ul style="text-align: justify;">
<li>Key which is used to identify one and only instance of entity uniquely. An Enity can contains multiple keys, and keys which is most suitable becomes the primary key.</li>
<li>For each entity the primary key selection is based on requirements and developers.</li>
</ul>
<p><img decoding="async" class="alignnone size-full wp-image-4474 aligncenter" src="https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/06/primary-key.png" alt="" width="923" height="742" srcset="https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/06/primary-key.png 923w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/06/primary-key-300x241.png 300w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/06/primary-key-768x617.png 768w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/06/primary-key-390x314.png 390w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/06/primary-key-820x659.png 820w" sizes="(max-width: 923px) 100vw, 923px" /></p>
<h3 id="candidate-key" style="text-align: justify;"><strong>Candidate Key</strong></h3>
<ul style="text-align: justify;">
<li>A key or an attribute that uniquely identifies a tuple is called Candidate key.</li>
<li>Apart from primary key, other keys are considered as candiate key.</li>
<li>The candidate keys are as strong as the primary key.</li>
</ul>
<p><img decoding="async" class="alignnone size-full wp-image-4475 aligncenter" src="https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/06/candidate-key.png" alt="" width="1017" height="780" srcset="https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/06/candidate-key.png 1017w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/06/candidate-key-300x230.png 300w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/06/candidate-key-768x589.png 768w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/06/candidate-key-390x299.png 390w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/06/candidate-key-820x629.png 820w" sizes="(max-width: 1017px) 100vw, 1017px" /></p>
<h3 id="super-key" style="text-align: justify;"><strong>Super Key</strong></h3>
<ul style="text-align: justify;">
<li>An attribute set that can uniquely identify a tuple is called as Super Key. It is a superset of candidate key.</li>
</ul>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-4476 aligncenter" src="https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/06/super-key.png" alt="" width="626" height="511" srcset="https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/06/super-key.png 626w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/06/super-key-300x245.png 300w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/06/super-key-390x318.png 390w" sizes="(max-width: 626px) 100vw, 626px" /></p>
<h3 id="foreign-key" style="text-align: justify;"><strong>Foreign Key</strong></h3>
<ul style="text-align: justify;">
<li>Column of table that is used to point the primary key of another table is called as Foreign key.</li>
</ul>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-4477 aligncenter" src="https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/06/foreign-key.png" alt="" width="1056" height="904" srcset="https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/06/foreign-key.png 1056w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/06/foreign-key-300x257.png 300w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/06/foreign-key-1024x877.png 1024w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/06/foreign-key-768x657.png 768w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/06/foreign-key-390x334.png 390w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/06/foreign-key-820x702.png 820w" sizes="(max-width: 1056px) 100vw, 1056px" /></p>
<h3 id="alternate-key" style="text-align: justify;"><strong>Alternate Key</strong></h3>
<ul style="text-align: justify;">
<li>One of more attributes or a combination of attributes that uniquely identifies a tuples in a relation is called Alternate Key.</li>
<li>These attributes or combinations of the attributes are called the candidate keys.</li>
<li>One key is chosen as primary key and the other keys remain as candidate keys if they exist and is called as alternate keys.</li>
<li>Total number of alternate keys is the total number of candidate keys minus the primary key.</li>
<li>In a relation if there is only one candidate key alternate keys may or may not exist.</li>
</ul>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-4478 aligncenter" src="https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/06/alternate-key.png" alt="" width="960" height="738" srcset="https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/06/alternate-key.png 960w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/06/alternate-key-300x231.png 300w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/06/alternate-key-768x590.png 768w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/06/alternate-key-390x300.png 390w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/06/alternate-key-820x630.png 820w" sizes="(max-width: 960px) 100vw, 960px" /></p>
<h3 id="composite-key" style="text-align: justify;"><strong>Composite Key</strong></h3>
<ul style="text-align: justify;">
<li>Whenever there is more than one attribute in a primary key, it is known as Composite key or concatenated key.</li>
</ul>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-4479 aligncenter" src="https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/06/composite-key.png" alt="" width="894" height="714" srcset="https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/06/composite-key.png 894w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/06/composite-key-300x240.png 300w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/06/composite-key-768x613.png 768w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/06/composite-key-390x311.png 390w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/06/composite-key-820x655.png 820w" sizes="(max-width: 894px) 100vw, 894px" /></p>
<h3 id="artificial-key" style="text-align: justify;"><strong>Artificial Key</strong></h3>
<ul>
<li style="text-align: justify;">Keys that are created using arbitarily assigned data is known as artificial keys.</li>
<li style="text-align: justify;">When primary key is large and complex and has no relationship with other relations, then the artificial key is created.</li>
<li style="text-align: justify;">Data values of an artificial key are usually numbered in serial order.</li>
</ul>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/dbms/different-types-of-keys-in-dbms/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
