<?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%2FSelect-statement%2FEnglish-timed</id>
		<title>RDBMS-PostgreSQL/C2/Select-statement/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%2FSelect-statement%2FEnglish-timed"/>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=RDBMS-PostgreSQL/C2/Select-statement/English-timed&amp;action=history"/>
		<updated>2026-04-17T08:40:17Z</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/Select-statement/English-timed&amp;diff=45702&amp;oldid=prev</id>
		<title>Sandhya.np14 at 11:13, 5 February 2019</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=RDBMS-PostgreSQL/C2/Select-statement/English-timed&amp;diff=45702&amp;oldid=prev"/>
				<updated>2019-02-05T11:13:32Z</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/Select-statement/English-timed&amp;amp;diff=45702&amp;amp;oldid=45695&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/Select-statement/English-timed&amp;diff=45695&amp;oldid=prev</id>
		<title>Sandhya.np14 at 10:15, 5 February 2019</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=RDBMS-PostgreSQL/C2/Select-statement/English-timed&amp;diff=45695&amp;oldid=prev"/>
				<updated>2019-02-05T10:15:13Z</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/Select-statement/English-timed&amp;amp;diff=45695&amp;amp;oldid=45658&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/Select-statement/English-timed&amp;diff=45658&amp;oldid=prev</id>
		<title>PoojaMoolya: Created page with &quot; {| border=1 | '''Time'''  | '''Narration'''   |-  | 00:01 | Welcome to the''' Spoken Tutorial''' on''' Select statement.'''   |-  | 00:06 | In this tutorial we will learn abo...&quot;</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=RDBMS-PostgreSQL/C2/Select-statement/English-timed&amp;diff=45658&amp;oldid=prev"/>
				<updated>2019-01-30T11:02:17Z</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; Select statement.&amp;#039;&amp;#039;&amp;#039;   |-  | 00:06 | In this tutorial we will learn abo...&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''' Select statement.''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 00:06&lt;br /&gt;
| In this tutorial we will learn about &lt;br /&gt;
&lt;br /&gt;
Basic '''Select statement''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 00:12&lt;br /&gt;
|  '''Select''' with '''WHERE clause''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 00:15&lt;br /&gt;
|  '''Select''' with '''relational operators''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 00:18&lt;br /&gt;
|  '''Select''' with '''logical operators''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 00:21&lt;br /&gt;
|  '''Alias''' for column names &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 00:24&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:31&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:39&lt;br /&gt;
| To follow this tutorial, you should have &lt;br /&gt;
&lt;br /&gt;
Basic understanding of '''database''' and '''tables'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 00:46&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:53&lt;br /&gt;
| Let us open '''pgAdmin'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 00:56&lt;br /&gt;
| Right-click on the '''students table''' and select '''View Data''' and then '''View All Rows.''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 01:04&lt;br /&gt;
| We can see the '''students table''' with the 4 records that we inserted earlier. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 01:10&lt;br /&gt;
| I'll show how to insert records in the ''' Edit Data''' window. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 01:19&lt;br /&gt;
| Click on the save icon on the top left of the toolbar to save the changes. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 01:25&lt;br /&gt;
| We can insert records either in this '''Edit data '''window or through the '''Insert statement.''' &lt;br /&gt;
&lt;br /&gt;
Close this window. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 01:33&lt;br /&gt;
| I’ll insert some more records for demonstration purpose. &lt;br /&gt;
&lt;br /&gt;
I’ll open the SQL editor window and type the insert statement shown here. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 01:43&lt;br /&gt;
| Note that, I have entered ‘NULL’ value in the '''date of birth''' column for '''student id ‘s012’.''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 01:51&lt;br /&gt;
| In '''PostgreSQL''', the term '''NULL''' is used to represent a missing value or an unknown value. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 01:59&lt;br /&gt;
| A field with a '''NULL''' value represents no value. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 02:03&lt;br /&gt;
| Execute the query. &lt;br /&gt;
&lt;br /&gt;
Retrieve the data from the table to see the output. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 02:09&lt;br /&gt;
| So far we have inserted 14 records. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 02:13&lt;br /&gt;
| A '''NULL''' value field appears to be blank. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 02:17&lt;br /&gt;
| Null is not the same as a zero value or space value. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 02:22&lt;br /&gt;
| It implies that a database field value has not been stored. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 02:27&lt;br /&gt;
| Pause the tutorial and do this assignment. &lt;br /&gt;
&lt;br /&gt;
Insert 10 records into the '''students table'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 02:35&lt;br /&gt;
| Next, we will see about how to use '''SELECT''' statement with many clauses. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|02:41&lt;br /&gt;
| The '''SELECT statement '''retrieves data from a '''database'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 02:45&lt;br /&gt;
|  The data is returned in rows and columns format i.e. in a tabular format. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 02:51&lt;br /&gt;
| It has many clauses that we can combine to form a powerful query. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 02:57&lt;br /&gt;
| The basic syntax of the '''SELECT '''statement is:''' ''' &lt;br /&gt;
&lt;br /&gt;
'''Select column-names from table-name;''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 03:05&lt;br /&gt;
| Now let us learn to write queries using '''Select statements'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 03:10&lt;br /&gt;
| Switch back to the '''PgAdmin''' main screen. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 03:14&lt;br /&gt;
| Right-click on '''students''' node, and select '''Scripts''' and then click on '''SELECT script.''' &lt;br /&gt;
 &lt;br /&gt;
|- &lt;br /&gt;
| 03:21&lt;br /&gt;
| This is a simple '''Select statement '''which retrieves data from the '''students table'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 03:26&lt;br /&gt;
| You can specify the column names as shown here or use ''''asterisk'''' to select all the columns. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 03:34&lt;br /&gt;
| I want the details of certain columns only. &lt;br /&gt;
&lt;br /&gt;
So, type the code as shown here with specific column names. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 03:43&lt;br /&gt;
| The '''SQL statement '''will display -  the '''student id, student name, city '''and '''cgpa '''columns &lt;br /&gt;
&lt;br /&gt;
from the '''Students table'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 03:54&lt;br /&gt;
| Now, let’s execute the query to see the output. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 03:58&lt;br /&gt;
| The expected rows and columns are displayed. &lt;br /&gt;
&lt;br /&gt;
Let’s move ahead. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|04:04&lt;br /&gt;
| '''SELECT with WHERE clause''' is used,  To filter the rows which match the criteria that is specified and  To limit the number of rows &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|04:14&lt;br /&gt;
| The syntax of this '''statement''' is, '''SELECT column-names FROM table-name WHERE condition''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 04:23&lt;br /&gt;
| Records that satisfy the specified '''condition '''will be displayed on executing this '''statement.''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 04:30&lt;br /&gt;
| Let’s switch back to the '''pgAdmin SQL Editor.''' &lt;br /&gt;
 &lt;br /&gt;
|- &lt;br /&gt;
| 04:34&lt;br /&gt;
| Type, '''SELECT ''' studentid, studentname, city, cgpa''' from students where city ='Mumbai'.''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 04:43&lt;br /&gt;
| Now, execute this query. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 04:46&lt;br /&gt;
| It will retrieve the rows from the '''students table '''and display students from '''Mumbai''' city. &lt;br /&gt;
&lt;br /&gt;
'''WHERE''' is followed by a condition that returns either '''true''' or '''false'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 04:57&lt;br /&gt;
| Here the '''City''' is the column name and ''''Mumbai'''' is the value to filter. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 05:03&lt;br /&gt;
| Now let’s change the city value to ' '''Bangalore'''' and execute the query. &lt;br /&gt;
&lt;br /&gt;
We can see that there are no records retrieved. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 05:12&lt;br /&gt;
| This is because the '''condition '''returns '''false '''on execution. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 05:17&lt;br /&gt;
| Which means there are no records that match with the given '''condition'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 05:21&lt;br /&gt;
| Next, we will see how to use '''comparison '''or '''relational operators '''in the '''WHERE clause.''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 05:28&lt;br /&gt;
| '''Relational operators '''listed here, can also be used within the '''WHERE clause.''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 05:34&lt;br /&gt;
| Switch back to the '''pgAdmin SQL Editor.''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 05:37&lt;br /&gt;
| Type, '''Select studentid, studentname, city, cgpa from students where cgpa &amp;gt; 8.5''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 05:49&lt;br /&gt;
| Execute the query. &lt;br /&gt;
 &lt;br /&gt;
|- &lt;br /&gt;
| 05:51&lt;br /&gt;
| The output shows details of students who have '''cgpa '''greater than '''8.5''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 05:57&lt;br /&gt;
| Let us type another query to retrieve the student details who are not from '''Mumbai''' city. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 06:04&lt;br /&gt;
|Note the ''''Not equal to'''' operator. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 06:07&lt;br /&gt;
| It is symbolised by an '''open '''and '''close angular bracket'''. &lt;br /&gt;
&lt;br /&gt;
Execute the query. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 06:14&lt;br /&gt;
| Likewise, we can use '''relational operators '''to filter data depending upon our requirement. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 06:21&lt;br /&gt;
| Next let’s learn how to use '''arithmetic operators''' in the '''Select statement'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 06:27&lt;br /&gt;
|  When we need to do calculations within '''SQL statements''', we can use '''arithmetic '''expressions. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 06:33&lt;br /&gt;
|  '''Arithmetic''' expressions contain column names, arithmetic operators and numeric values. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 06:40&lt;br /&gt;
|  '''Arithmetic operators '''will however, not work for '''character data type '''columns. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 06:47&lt;br /&gt;
| Let’s do a simple arithmetic calculation using some '''operators'''. &lt;br /&gt;
&lt;br /&gt;
Clear the screen. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 06:54&lt;br /&gt;
| Type '''Select 2+15+98+45;''' &lt;br /&gt;
&lt;br /&gt;
Execute to see the output. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 07:03&lt;br /&gt;
| Type''' Select 230 divided by 5;''' &lt;br /&gt;
&lt;br /&gt;
Again execute the query to see the output. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 07:11&lt;br /&gt;
| Let us see how to use '''arithmetic operators''' with a column of the '''table'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 07:16&lt;br /&gt;
| We have a column called '''cgpa ''' with '''numeric data type'''. &lt;br /&gt;
&lt;br /&gt;
'''CGPA''' stands for '''Cumulative Grade Point Average.''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 07:26&lt;br /&gt;
| Let us calculate the percentage from '''cgpa''' score. &lt;br /&gt;
&lt;br /&gt;
Switch back to SQL Editor window. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 07:33&lt;br /&gt;
| Type the query as shown here. &lt;br /&gt;
&lt;br /&gt;
What we want to do is multiply the '''cgpa''' with '''9.5 '''to get the actual percentage. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 07:44&lt;br /&gt;
| Here, we are using the '''multiplication operator asterix '''to calculate the percentage. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 07:50&lt;br /&gt;
| Let’s execute the query now. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 07:53&lt;br /&gt;
| Percentage is calculated and displayed in a new column, as shown here. &lt;br /&gt;
&lt;br /&gt;
But there is no specific column name for this column. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 08:02&lt;br /&gt;
| This percentage data is not stored in the '''database'''. It only displays the calculation. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 08:09&lt;br /&gt;
| Now I want to give a name to this column, so that it is more meaningful. &lt;br /&gt;
&lt;br /&gt;
For that, we can use an '''alias '''name. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 08:18&lt;br /&gt;
|  An '''alias''' is used to rename a column temporarily. &lt;br /&gt;
|- &lt;br /&gt;
| 08:23&lt;br /&gt;
|It appears as a heading in the output of the query. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 08:27&lt;br /&gt;
|Use column '''alias''' if the original column name is not meaningful or &lt;br /&gt;
&lt;br /&gt;
when there is a column name conflict. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 08:35&lt;br /&gt;
| Here add the text as '''Percentage '''after the calculation column. &lt;br /&gt;
&lt;br /&gt;
Execute the query to see the output. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 08:44&lt;br /&gt;
| We can also specify in capital letters as '''“PERCENTAGE” '''within double quotes. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 08:51&lt;br /&gt;
| Please note, Column names which are mixed-case or uppercase have to be within double quotes in '''postgresql'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 08:59&lt;br /&gt;
| Execute the query. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|09:01&lt;br /&gt;
| We can see the column name has changed to '''PERCENTAGE''' in capital letters. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 09:07&lt;br /&gt;
| Next we will see how to use '''logical operators''' within the '''Select statement.''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 09:13&lt;br /&gt;
| '''Logical operators '''are used where more than one condition needs to be checked. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 09:18&lt;br /&gt;
| Or Using '''logical operators, '''we can combine two or more '''conditions'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 09:25&lt;br /&gt;
| The most commonly used '''logical operators''' are: &lt;br /&gt;
&lt;br /&gt;
'''AND''': This joins two or more '''conditions '''and returns results only when all the '''conditions '''are '''true'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 09:38&lt;br /&gt;
| '''OR''': This joins two or more '''conditions''' and returns results when at least one of the '''conditions '''is '''true'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 09:47&lt;br /&gt;
| '''NOT''': This operator results in the reverse of a '''condition'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 09:53&lt;br /&gt;
| Switch back to '''PgAdmin''' interface. &lt;br /&gt;
&lt;br /&gt;
Let us see few examples for logical operators. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 10:00&lt;br /&gt;
| Type the code as shown. &lt;br /&gt;
&lt;br /&gt;
Here we are checking for two '''conditions''' ie. Students who are from '''Pune''' city whose gender is '''Female'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 10:11&lt;br /&gt;
| It will return the output when both the '''conditions''' are '''true'''. &lt;br /&gt;
&lt;br /&gt;
Notice how the ''''AND' logical operator '''is written. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 10:20&lt;br /&gt;
| Execute the query to see the output. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 10:23&lt;br /&gt;
| Next, let’s change the ''''AND'''' to ''''OR' logical operator '''and see the output. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 10:29&lt;br /&gt;
| The records are retrieved if either one of the '''conditions''' is '''true'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 10:34&lt;br /&gt;
| That is either the student is from Pune city or gender is ‘Female’ &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 10:40&lt;br /&gt;
| This query will display students who are not from Mumbai or Chennai. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 10:46&lt;br /&gt;
| Here we have used the '''NOT''' and '''AND operators''' together. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 10:52&lt;br /&gt;
| Execute the query and see the output. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 10:55&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;
| 11:01&lt;br /&gt;
| In this tutorial, we have learnt about &lt;br /&gt;
&lt;br /&gt;
Basic '''Select statement''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 11:05&lt;br /&gt;
|  '''Select''' with '''WHERE clause''' &lt;br /&gt;
&lt;br /&gt;
'''Select''' with '''relational operators''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 11:10&lt;br /&gt;
|  '''Select''' with''' logical operators''' and &lt;br /&gt;
&lt;br /&gt;
'''Alias''' for column names &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 11:15&lt;br /&gt;
| As an assignment, write a '''Select statement '''to  Display all columns from '''students table '''for the student name ''''Ram'''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 11:24&lt;br /&gt;
|  Display '''studentid, studentname, dob '''of students''' '''whose   '''cgpa '''is '''greater than '''8 and '''less than '''9.5 &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 11:34&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;
| 11: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;
| 11:49&lt;br /&gt;
| Please post your timed queries in this forum. &lt;br /&gt;
 &lt;br /&gt;
|- &lt;br /&gt;
| 11: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;
| 12:04&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>