<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://script.spoken-tutorial.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://script.spoken-tutorial.org/index.php?action=history&amp;feed=atom&amp;title=RDBMS-PostgreSQL%2FC2%2FUpdating-Data%2FEnglish-timed</id>
		<title>RDBMS-PostgreSQL/C2/Updating-Data/English-timed - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://script.spoken-tutorial.org/index.php?action=history&amp;feed=atom&amp;title=RDBMS-PostgreSQL%2FC2%2FUpdating-Data%2FEnglish-timed"/>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=RDBMS-PostgreSQL/C2/Updating-Data/English-timed&amp;action=history"/>
		<updated>2026-05-13T12:23:43Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.17</generator>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=RDBMS-PostgreSQL/C2/Updating-Data/English-timed&amp;diff=45712&amp;oldid=prev</id>
		<title>Sandhya.np14 at 12:16, 6 February 2019</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=RDBMS-PostgreSQL/C2/Updating-Data/English-timed&amp;diff=45712&amp;oldid=prev"/>
				<updated>2019-02-06T12:16:42Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 12:16, 6 February 2019&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 88:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 88:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|- &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|- &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| 02:10&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| 02:10&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| The existing '''city '''value &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/del&gt;'Chennai&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/del&gt;' will be changed to &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/del&gt;'Bangalore&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/del&gt;' for the '''studentid&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;''' &lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| The existing '''city '''value 'Chennai' will be changed to 'Bangalore' for the '''studentid s008'''. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/del&gt;s008'''. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|- &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|- &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Sandhya.np14</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=RDBMS-PostgreSQL/C2/Updating-Data/English-timed&amp;diff=45711&amp;oldid=prev</id>
		<title>Sandhya.np14 at 12:15, 6 February 2019</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=RDBMS-PostgreSQL/C2/Updating-Data/English-timed&amp;diff=45711&amp;oldid=prev"/>
				<updated>2019-02-06T12:15:36Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 12:15, 6 February 2019&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 88:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 88:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|- &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|- &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| 02:10&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| 02:10&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| The existing '''city '''value ''''Chennai'''' will be changed to ''''Bangalore'''' for the '''studentid &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| The existing '''city '''value ''''Chennai'''' will be changed to ''''Bangalore'''' for the '''studentid&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''' &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;s008'''. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/ins&gt;s008'''. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|- &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|- &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Sandhya.np14</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=RDBMS-PostgreSQL/C2/Updating-Data/English-timed&amp;diff=45710&amp;oldid=prev</id>
		<title>Sandhya.np14 at 12:14, 6 February 2019</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=RDBMS-PostgreSQL/C2/Updating-Data/English-timed&amp;diff=45710&amp;oldid=prev"/>
				<updated>2019-02-06T12:14:17Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;a href=&quot;https://script.spoken-tutorial.org/index.php?title=RDBMS-PostgreSQL/C2/Updating-Data/English-timed&amp;amp;diff=45710&amp;amp;oldid=45664&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>Sandhya.np14</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=RDBMS-PostgreSQL/C2/Updating-Data/English-timed&amp;diff=45664&amp;oldid=prev</id>
		<title>PoojaMoolya: Created page with &quot; {| border=1 | '''Time'''  | '''Narration'''   |-  |00:01 | Welcome to the''' Spoken Tutorial''' on''' Updating Data'''   |-  |00:06 | In this tutorial we will learn about '''...&quot;</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=RDBMS-PostgreSQL/C2/Updating-Data/English-timed&amp;diff=45664&amp;oldid=prev"/>
				<updated>2019-01-30T11:08:48Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot; {| border=1 | &amp;#039;&amp;#039;&amp;#039;Time&amp;#039;&amp;#039;&amp;#039;  | &amp;#039;&amp;#039;&amp;#039;Narration&amp;#039;&amp;#039;&amp;#039;   |-  |00:01 | Welcome to the&amp;#039;&amp;#039;&amp;#039; Spoken Tutorial&amp;#039;&amp;#039;&amp;#039; on&amp;#039;&amp;#039;&amp;#039; Updating Data&amp;#039;&amp;#039;&amp;#039;   |-  |00:06 | In this tutorial we will learn about &amp;#039;&amp;#039;&amp;#039;...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
{| border=1&lt;br /&gt;
| '''Time''' &lt;br /&gt;
| '''Narration''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|00:01&lt;br /&gt;
| Welcome to the''' Spoken Tutorial''' on''' Updating Data''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|00:06&lt;br /&gt;
| In this tutorial we will learn about '''Update statement '''and '''Delete statement''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 00:13&lt;br /&gt;
| To record this tutorial, I am using &lt;br /&gt;
&lt;br /&gt;
'''Ubuntu Linux 14.04''' operating system &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 00:20&lt;br /&gt;
| '''PostgreSQL 9.3.x''' &lt;br /&gt;
&lt;br /&gt;
and  '''pgAdmin 1.18''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 00:28&lt;br /&gt;
| To follow this tutorial, you should have &lt;br /&gt;
&lt;br /&gt;
Basic understanding of '''SELECT statement'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 00:35&lt;br /&gt;
| For more details, refer to the '''RDBMS PostgreSQL''' series on this website. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 00:41&lt;br /&gt;
|  The '''update''' query is used to modify the existing records in a '''table'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 00:47&lt;br /&gt;
| We have to use the '''WHERE clause''' with the '''UPDATE statement''' to update the selected rows. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 00:53&lt;br /&gt;
| The syntax for '''update statement''' is shown here. &lt;br /&gt;
&lt;br /&gt;
The '''columns''' to be modified are to be specified in the '''SET clause'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 01:03&lt;br /&gt;
| '''Column1''' would be assigned the '''value1''' and '''Column2''' would be assigned the '''value2''' and so on. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 01:12&lt;br /&gt;
| Other '''columns''' in the '''table''' will retain their previous values. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 01:17&lt;br /&gt;
| '''WHERE''' clause is used to find the exact row based on the specified '''condition''', to '''update''' it. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 01:24&lt;br /&gt;
| If no '''conditions''' are provided, then all '''records '''in the '''table''' will be updated. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 01:30&lt;br /&gt;
| Let's switch to '''pgAdmin''' main screen. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 01:34&lt;br /&gt;
| Now right-click on '''students''' node, then on '''View data''' and then on '''View''' '''All rows.''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 01:43&lt;br /&gt;
| Notice here - it says the student whose id is ''''s008'''' is from ''''Chennai'''' city. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 01:51&lt;br /&gt;
| Now I want to change the city to ''''Bangalore'''' for this student. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|01:56&lt;br /&gt;
| Now switch to the '''SQL editor''' window and type the '''update statement, '''as shown here. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 02:05&lt;br /&gt;
| This is a simple '''update statement '''which updates a single '''column'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 02:10&lt;br /&gt;
| The existing '''city '''value ''''Chennai'''' will be changed to ''''Bangalore'''' for the '''studentid s008''''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|02:18&lt;br /&gt;
| Execute the query. &lt;br /&gt;
&lt;br /&gt;
We can see a message that the query is successful. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 02:24&lt;br /&gt;
| Let's retrieve the record to see the changes. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 02:28&lt;br /&gt;
| Clear the editor window and type this '''select statement.''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 02:34&lt;br /&gt;
| Now, execute the query to see the output. &lt;br /&gt;
&lt;br /&gt;
Note the updated value in the '''city''' field for student ‘'''s008’.''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 02:45&lt;br /&gt;
|Next we will see how to update multiple '''columns'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 02:50&lt;br /&gt;
| Type the code. We can also update multiple '''columns '''by separating the '''column '''and value pairs, with commas, as shown here. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 03:02&lt;br /&gt;
| Remember, the '''date of birth column '''was '''null''' for the student ''''Ram charan''''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 03:08&lt;br /&gt;
| This will update two '''columns, date of birth '''and '''city,''' with the values given in the '''update statement.''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 03:16&lt;br /&gt;
| What will happen if you forget to give the '''where condition'''? &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 03:20&lt;br /&gt;
| The entire '''students table '''will be updated with the given value. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 03:25&lt;br /&gt;
| Execute the query. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 03:28&lt;br /&gt;
|Let us see the updated value for the student name ‘'''Ram Charan’''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|03:33&lt;br /&gt;
|Type the '''select statement''' as shown here. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|03:37&lt;br /&gt;
|Execute the query. &lt;br /&gt;
&lt;br /&gt;
We can see the '''date of birth column''' and '''city column''' has been updated. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 03:46&lt;br /&gt;
| Next we will learn about the''' delete statement.''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|03:50&lt;br /&gt;
| The syntax for '''delete statement''' is as follows: &lt;br /&gt;
&lt;br /&gt;
'''DELETE FROM table-name ''' &lt;br /&gt;
&lt;br /&gt;
'''[WHERE condition]''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 03:59&lt;br /&gt;
| '''WHERE clause''' is used in the '''delete statement''' to delete specific rows which satisfy a particular '''condition'''. &lt;br /&gt;
 &lt;br /&gt;
|- &lt;br /&gt;
| 04:06&lt;br /&gt;
| All records will be deleted if no '''conditions '''are specified.''' ''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 04:11&lt;br /&gt;
| Let us see an example of the '''delete statement'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 04:15&lt;br /&gt;
|Switch to the '''SQL Editor''' window. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|04:18&lt;br /&gt;
| Type the code as shown here. &lt;br /&gt;
&lt;br /&gt;
This statement will delete the student record whose '''id '''is ''''s014''''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 04:28&lt;br /&gt;
|Let us execute the query. &lt;br /&gt;
&lt;br /&gt;
So one row is deleted now. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 04:34&lt;br /&gt;
| If you want to remove all the rows from the '''students table''', type '''delete from students'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 04:40&lt;br /&gt;
| There is no '''Where''' condition is specified here. &lt;br /&gt;
&lt;br /&gt;
I'll not execute the query, as I don’t want to delete all the record. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 04:50&lt;br /&gt;
| Next let us see an example where we have two '''conditions''' in the '''DELETE statement'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 04:57&lt;br /&gt;
| Type the code as shown here. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 05:01&lt;br /&gt;
| This '''delete statement '''will delete the student details which satisfies two different '''conditions.''' &lt;br /&gt;
&lt;br /&gt;
That is, the '''department''' should be ''''CS'''' and  '''CGPA''' score should be less than 7.5 &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 05:15&lt;br /&gt;
| Let us execute this query. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 05:18&lt;br /&gt;
| In the output, we can see ‘'''0 rows affected'''’. &lt;br /&gt;
 &lt;br /&gt;
This indicates that no records are deleted. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 05:27&lt;br /&gt;
| That means there are no records in the '''student table''' which satisfies both the '''conditions'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 05:34&lt;br /&gt;
| With this we have covered the basics of common '''SQL statements''' such as &lt;br /&gt;
&lt;br /&gt;
'''INSERT''' ,  '''SELECT''' ,  '''DELETE '''  and '''UPDATE '''  in this series. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 05:47&lt;br /&gt;
| These statements are otherwise called as '''Data Manipulation language.''' &lt;br /&gt;
&lt;br /&gt;
'''DML''' is the short form of '''Data Manipulation Language.''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 05:58&lt;br /&gt;
| It includes '''commands''' that are used to manipulate data in a '''database'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 06:04&lt;br /&gt;
| With this we come to the end of this tutorial. &lt;br /&gt;
&lt;br /&gt;
Let us summarize. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|06:10&lt;br /&gt;
| In this tutorial, we have learnt about the -  '''Update statement '''and  '''Delete statement''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 06:17&lt;br /&gt;
| As an assignment, For '''studentid 's013'''', modify the student name from ''''Sharmila'''' to ''''Sharmila Babu'''' in the '''students table ''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 06:28&lt;br /&gt;
| Delete the students whose '''cgpa''' is less than 5 &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|06:33&lt;br /&gt;
| The video at the following link summarises the Spoken Tutorial project. &lt;br /&gt;
&lt;br /&gt;
Please download and watch it. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|06:40&lt;br /&gt;
| The''' Spoken Tutorial Project''' Team &lt;br /&gt;
&lt;br /&gt;
conducts workshops and  gives certificates &lt;br /&gt;
&lt;br /&gt;
For more details, please write to us. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 06:49&lt;br /&gt;
| Please post your timed queries in this forum. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 06:53&lt;br /&gt;
| Spoken Tutorial project is funded by NMEICT, MHRD, Government of India. &lt;br /&gt;
&lt;br /&gt;
More information on this mission is available at this link. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 07:05&lt;br /&gt;
| This is Nirmala Venkat from IIT Bombay, signing off. Thanks for watching. &lt;br /&gt;
&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>PoojaMoolya</name></author>	</entry>

	</feed>