<?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/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=ANJALISATDIVE</id>
		<title>Script | Spoken-Tutorial - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://script.spoken-tutorial.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=ANJALISATDIVE"/>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php/Special:Contributions/ANJALISATDIVE"/>
		<updated>2026-05-03T23:40:04Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.23.17</generator>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php/PostgreSQL-Database/C2/GROUP-BY-and-HAVING-Clause/English</id>
		<title>PostgreSQL-Database/C2/GROUP-BY-and-HAVING-Clause/English</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php/PostgreSQL-Database/C2/GROUP-BY-and-HAVING-Clause/English"/>
				<updated>2026-04-27T10:31:58Z</updated>
		
		<summary type="html">&lt;p&gt;ANJALISATDIVE: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Title of the Script: GROUP BY and HAVING Clause'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Author: Ketki Bhamble / EduPyramids'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Keywords:''' PostgreSQL, pgAdmin 4, query, GROUP BY clause, HAVING clause, aggregate functions, COUNT(*), EduPyramids, Video Tutorial.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border=1&lt;br /&gt;
|- &lt;br /&gt;
| align=center| '''Visual Cue'''&lt;br /&gt;
| align=center| '''Narration'''&lt;br /&gt;
|-&lt;br /&gt;
|| '''Slide 1'''&lt;br /&gt;
&lt;br /&gt;
'''Title Slide'''&lt;br /&gt;
|| Welcome to this Spoken Tutorial on '''GROUP BY and HAVING Clause''' in '''PostgreSQL'''.&lt;br /&gt;
|-&lt;br /&gt;
|| '''Slide 2'''&lt;br /&gt;
&lt;br /&gt;
'''Learning Objectives'''&lt;br /&gt;
|| In this tutorial, we will learn how to &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Use the '''GROUP BY '''clause &lt;br /&gt;
* Apply aggregate functions with '''GROUP''' '''BY''' and&lt;br /&gt;
* Filter grouped results using the '''HAVING''' '''clause'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Slide 3'''&lt;br /&gt;
&lt;br /&gt;
'''System Requirements '''&lt;br /&gt;
&lt;br /&gt;
* '''Ubuntu 24.04 LTS'''&lt;br /&gt;
* '''PostgreSQL version 18.1''', and&lt;br /&gt;
* '''PgAdmin 4 version 9.11'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|| To record this tutorial, I am using the following setup.&lt;br /&gt;
|-&lt;br /&gt;
|| '''Slide 4'''&lt;br /&gt;
&lt;br /&gt;
'''Pre-requisites '''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[https://edupyramids.org/ https://EduPyramids.org] '''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|| To follow this tutorial,&lt;br /&gt;
* Learners should have '''PostgreSQL''' and '''pgAdmin4.'''&lt;br /&gt;
* For the prerequisite '''PostgreSQL''' tutorials, please visit this website. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Slide 5'''&lt;br /&gt;
&lt;br /&gt;
'''Code Files '''&lt;br /&gt;
&lt;br /&gt;
The following code file is required to practice this tutorial:&lt;br /&gt;
&lt;br /&gt;
* '''gh-commands.txt'''&lt;br /&gt;
&lt;br /&gt;
This file is provided in the Code Files link on this tutorial page. &lt;br /&gt;
&lt;br /&gt;
Please download and extract the file.&lt;br /&gt;
&lt;br /&gt;
|| The following '''code file''' is required to practice this tutorial. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This file is provided in the '''Code Files''' link of this tutorial page.&lt;br /&gt;
&lt;br /&gt;
Please download and extract the file.&lt;br /&gt;
|-&lt;br /&gt;
|| &lt;br /&gt;
|| Let us get started.&lt;br /&gt;
&lt;br /&gt;
I have opened the '''pgAdmin4 '''interface and connected to the localhost server.&lt;br /&gt;
|-&lt;br /&gt;
|| Display the students table on the screen&lt;br /&gt;
&lt;br /&gt;
SELECT * FROM students;&lt;br /&gt;
|| We are using the '''students''' table.&lt;br /&gt;
&lt;br /&gt;
It contains '''student ID''', '''name''', '''city,''' '''gender''', date of birth, and '''CGPA'''.&lt;br /&gt;
|-&lt;br /&gt;
|| '''Slide 6'''&lt;br /&gt;
&lt;br /&gt;
'''GROUP BY'''&lt;br /&gt;
|| The '''GROUP BY''' clause groups rows that have the same values into summary rows.&lt;br /&gt;
&lt;br /&gt;
It is used along with aggregate functions to organise results.&lt;br /&gt;
|-&lt;br /&gt;
|| '''Slide 7'''&lt;br /&gt;
&lt;br /&gt;
'''Syntax of GROUP BY'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''SELECT column_name, aggregate_function(column_name)'''&lt;br /&gt;
&lt;br /&gt;
'''FROM table_name'''&lt;br /&gt;
&lt;br /&gt;
'''GROUP BY column_name;'''&lt;br /&gt;
|| This is the syntax of the''' GROUP BY clause'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''GROUP BY clause '''groups rows with the same column values.&lt;br /&gt;
|-&lt;br /&gt;
|| &lt;br /&gt;
|| Let us find the number of students from each city.&lt;br /&gt;
|-&lt;br /&gt;
|| '''Type: '''&lt;br /&gt;
&lt;br /&gt;
'''SELECT city, COUNT(*) '''&lt;br /&gt;
&lt;br /&gt;
'''FROM students'''&lt;br /&gt;
&lt;br /&gt;
'''GROUP BY city;'''&lt;br /&gt;
&lt;br /&gt;
Click the '''Execute query icon.'''&lt;br /&gt;
&lt;br /&gt;
Point to the results.&lt;br /&gt;
|| Type the following query.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It groups rows by city and counts the total number of students in each city.&lt;br /&gt;
&lt;br /&gt;
Let us execute the query.&lt;br /&gt;
&lt;br /&gt;
The result shows each city with the total number of students from that city.&lt;br /&gt;
|-&lt;br /&gt;
|| &lt;br /&gt;
|| Now let us calculate the average '''CGPA''' of students in each city.&lt;br /&gt;
|-&lt;br /&gt;
|| '''Type:'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''SELECT city, ROUND(AVG(cgpa), 2)'''&lt;br /&gt;
&lt;br /&gt;
'''FROM students'''&lt;br /&gt;
&lt;br /&gt;
'''GROUP BY city;'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click the Execute query icon.&lt;br /&gt;
|| Type the following query.&lt;br /&gt;
&lt;br /&gt;
This query groups students by city and calculates the average '''CGPA '''for each group.Let us execute this query.&lt;br /&gt;
|-&lt;br /&gt;
|| &lt;br /&gt;
|| We can also group records using other columns such as gender.&lt;br /&gt;
|-&lt;br /&gt;
|| '''Type: '''&lt;br /&gt;
&lt;br /&gt;
'''SELECT gender, COUNT(*)'''&lt;br /&gt;
&lt;br /&gt;
'''FROM students'''&lt;br /&gt;
&lt;br /&gt;
'''GROUP BY gender;'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click the Execute query icon.&lt;br /&gt;
&lt;br /&gt;
Point to the results in the table.&lt;br /&gt;
|| Type this query.&lt;br /&gt;
&lt;br /&gt;
This query groups students based on gender.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let us execute the query.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The result shows the count of male and female students in the table.&lt;br /&gt;
|-&lt;br /&gt;
|| '''Slide 8'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''HAVING clause'''&lt;br /&gt;
|| The '''HAVING''' clause filters grouped results.&lt;br /&gt;
&lt;br /&gt;
It is used along with the '''GROUP BY''' clause and aggregate functions.&lt;br /&gt;
|-&lt;br /&gt;
|| '''Type: '''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''SELECT city, COUNT(*)'''&lt;br /&gt;
&lt;br /&gt;
'''FROM students'''&lt;br /&gt;
&lt;br /&gt;
'''GROUP BY city'''&lt;br /&gt;
&lt;br /&gt;
'''HAVING COUNT(*) &amp;gt; 2;'''&lt;br /&gt;
&lt;br /&gt;
Click the Execute query icon.&lt;br /&gt;
&lt;br /&gt;
Point to the results in the table.&lt;br /&gt;
|| Type the following query.&lt;br /&gt;
&lt;br /&gt;
This query groups the records by '''city'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let us execute the query.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It displays only those cities where the number of students is greater than 2.&lt;br /&gt;
|-&lt;br /&gt;
|| '''Type: '''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''SELECT city, ROUND(AVG(cgpa), 2)'''&lt;br /&gt;
&lt;br /&gt;
'''FROM students'''&lt;br /&gt;
&lt;br /&gt;
'''GROUP BY city'''&lt;br /&gt;
&lt;br /&gt;
'''HAVING ROUND(AVG(cgpa), 2) &amp;gt; 8.5;'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click the Execute query icon.&lt;br /&gt;
&lt;br /&gt;
Point to the results in the table.&lt;br /&gt;
|| Type the following query.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here the '''HAVING''' clause filters the grouped results.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let us execute the query.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It displays only those cities where the average '''CGPA''' is greater than 8 point 5.&lt;br /&gt;
|-&lt;br /&gt;
|| '''Type: '''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''SELECT city, COUNT(*)'''&lt;br /&gt;
&lt;br /&gt;
'''FROM students'''&lt;br /&gt;
&lt;br /&gt;
'''WHERE cgpa &amp;gt; 8'''&lt;br /&gt;
&lt;br /&gt;
'''GROUP BY city'''&lt;br /&gt;
&lt;br /&gt;
'''HAVING COUNT(*) &amp;gt; 1;'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click the Execute query icon.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Point to the results in the table.&lt;br /&gt;
|| Let us type this query.&lt;br /&gt;
&lt;br /&gt;
In this query, we will analyze student data city-wise.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
First, we filter students with '''CGPA''' greater than 8.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then, we group these students by city.&lt;br /&gt;
&lt;br /&gt;
The '''WHERE''' clause filters rows before grouping. However the''' HAVING '''clause filters groups after aggregation.&lt;br /&gt;
&lt;br /&gt;
Then we will count students in each city.&lt;br /&gt;
&lt;br /&gt;
Let us execute the query.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Output displays only those cities with more than one student.&lt;br /&gt;
|-&lt;br /&gt;
|| &lt;br /&gt;
|| With this we come to the end of this tutorial.&lt;br /&gt;
|-&lt;br /&gt;
|| '''Slide 9'''&lt;br /&gt;
&lt;br /&gt;
'''Summary'''&lt;br /&gt;
&lt;br /&gt;
In this tutorial, we learnt how to:&lt;br /&gt;
&lt;br /&gt;
* Use the GROUP BY clause, &lt;br /&gt;
* Apply aggregate functions with GROUP BY, and &lt;br /&gt;
* Filter grouped results using the HAVING clause.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|| Let us summarize.&lt;br /&gt;
|-&lt;br /&gt;
|| '''Slide 10 + 11'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Assignment'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As an Assignment,&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Find the maximum '''CGPA''' obtained by students in each city.&lt;br /&gt;
* Display the minimum '''CGPA '''for each gender.&lt;br /&gt;
* Find the total '''CGPA''' of students for each city.&lt;br /&gt;
* Display cities where the average '''CGPA''' is less than 8.5.&lt;br /&gt;
* Find genders that have more than 5 students.&lt;br /&gt;
* Display cities where the maximum '''CGPA''' is greater than 9.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|| We encourage you to do this assignment.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Slide 12'''&lt;br /&gt;
&lt;br /&gt;
'''Thank you'''&lt;br /&gt;
&lt;br /&gt;
This '''Spoken''' '''Tutorial''' is brought to you by '''EduPyramids''' Educational Private Limited. SINE IIT Bombay.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Thank you'''&lt;br /&gt;
|| Thank you for joining.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>ANJALISATDIVE</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php/PostgreSQL-Database/C2/Alias-Names/English</id>
		<title>PostgreSQL-Database/C2/Alias-Names/English</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php/PostgreSQL-Database/C2/Alias-Names/English"/>
				<updated>2026-04-27T10:06:32Z</updated>
		
		<summary type="html">&lt;p&gt;ANJALISATDIVE: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Title of the Script: Alias Names&lt;br /&gt;
&lt;br /&gt;
Author: EduPyramids&lt;br /&gt;
&lt;br /&gt;
Keywords: PostgreSQL, pgAdmin 4, alias, AS keyword, space, underscore, double quotes, video tutorial, EduPyramids.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border=1&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;35%&amp;quot; | '''Visual Cue'''&lt;br /&gt;
! width=&amp;quot;65%&amp;quot; | '''Narration'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Title Slide 1'''&lt;br /&gt;
|| Welcome to this Spoken Tutorial on '''Alias Names''' in '''PostgreSQL'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Slide 2''' &lt;br /&gt;
&lt;br /&gt;
'''Learning Objectives'''&lt;br /&gt;
|| In this tutorial, we will learn to,&lt;br /&gt;
&lt;br /&gt;
* Create alias names using:&lt;br /&gt;
* space,&lt;br /&gt;
* AS keyword,&lt;br /&gt;
* underscore and&lt;br /&gt;
* double quotes.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Slide 3'''&lt;br /&gt;
&lt;br /&gt;
'''System Requirements'''&lt;br /&gt;
&lt;br /&gt;
'''To record this tutorial, I am using'''&lt;br /&gt;
&lt;br /&gt;
• '''Ubuntu 24.04 LTS,'''&lt;br /&gt;
&lt;br /&gt;
• '''PostgreSQL version 18.1, and'''&lt;br /&gt;
&lt;br /&gt;
• '''pgAdmin 4 version 9.11.'''&lt;br /&gt;
&lt;br /&gt;
|| To record this tutorial, I am using the following setup.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Slide 4'''&lt;br /&gt;
&lt;br /&gt;
'''Pre-requisites'''&lt;br /&gt;
|| To follow this tutorial,&lt;br /&gt;
* Learners should have '''PostgreSQL''' and '''pgAdmin 4'''&lt;br /&gt;
* For the prerequisite '''PostgreSQL''' tutorials, please visit this website.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Slide 5'''&lt;br /&gt;
&lt;br /&gt;
'''Code Files'''&lt;br /&gt;
&lt;br /&gt;
The following code file is required to practice this tutorial:&lt;br /&gt;
&lt;br /&gt;
• '''an-commands.txt'''&lt;br /&gt;
&lt;br /&gt;
This file is provided in the Code Files link on this tutorial page.&lt;br /&gt;
&lt;br /&gt;
|| The following code file is required to practice this tutorial.&lt;br /&gt;
&lt;br /&gt;
This file is provided in the '''Code Files''' link of this tutorial page.&lt;br /&gt;
&lt;br /&gt;
Please download and extract the file.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| &lt;br /&gt;
|| Let us get started.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Point to the interface.'''&lt;br /&gt;
|| I have opened the '''pgAdmin 4''' interface and connected to the localhost server.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Display the students table&lt;br /&gt;
&lt;br /&gt;
Type: &lt;br /&gt;
&lt;br /&gt;
'''SELECT * FROM students;'''&lt;br /&gt;
&lt;br /&gt;
|| Let us display the student table.&lt;br /&gt;
Type the following query.&lt;br /&gt;
Click on the Execute query icon to run the query.&lt;br /&gt;
Notice the student table with all the records.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Slide 5'''&lt;br /&gt;
'''What is an Alias?'''&lt;br /&gt;
|| Let us see what an alias is?&lt;br /&gt;
An alias is a temporary name given to a column or a table.&lt;br /&gt;
It improves the readability of the output.&lt;br /&gt;
Alias names exist only for the duration of the query.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Type:'''&lt;br /&gt;
&lt;br /&gt;
'''SELECT studentname fullname FROM students;'''&lt;br /&gt;
&lt;br /&gt;
|| Let us create an alias using a '''space'''.&lt;br /&gt;
Type the following query.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Highlight '''studentname fullname'''&lt;br /&gt;
&lt;br /&gt;
|| Here, '''studentname''' is the original column name.&lt;br /&gt;
&lt;br /&gt;
'''fullname''' is the alias given using a '''space'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Click on the execute query button.&lt;br /&gt;
|| Click on the '''Execute query''' button to execute the query.&lt;br /&gt;
The output displays the '''studentname''' column with the new heading '''fullname'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Type:'''&lt;br /&gt;
'''SELECT city AS studentcity FROM students;'''&lt;br /&gt;
|| Now let us create an '''alias''' using the '''as''' keyword.&lt;br /&gt;
Type the following query.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Highlight city AS studentcity'''&lt;br /&gt;
|| Here, '''AS''' keyword explicitly assigns the '''alias''' name '''studentcity''' to the '''city''' column.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Click the '''Execute query''' icon&lt;br /&gt;
Point to the output..&lt;br /&gt;
|| Let us execute the query.&lt;br /&gt;
Observe the output.&lt;br /&gt;
The original column name '''city''' is now replaced with '''studentcity'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Type: &lt;br /&gt;
&lt;br /&gt;
'''SELECT studentid AS student_id FROM students;'''&lt;br /&gt;
|| Now let us use an '''underscore''' in the '''alias''' name.&lt;br /&gt;
Type the following query.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Highlight '''student_id'''&lt;br /&gt;
&lt;br /&gt;
|| Here, '''student_id''' is the '''alias''' name.&lt;br /&gt;
The '''underscore''' is used to separate words for better readability.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Click the Execute query icon.&lt;br /&gt;
|| Let us execute the query.&lt;br /&gt;
The column heading is now changed to '''student_id'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Highlight: SELECT studentid AS student_id FROM students;'''&lt;br /&gt;
'''Type:'''&lt;br /&gt;
&lt;br /&gt;
'''SELECT studentid student_id FROM students;'''&lt;br /&gt;
|| Here the '''AS''' keyword is optional, it means the query runs with or without '''AS'''.&lt;br /&gt;
Let us type this query and execute it.&lt;br /&gt;
Both the queries give the same result.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Type: '''SELECT cgpa AS &amp;quot;Student cgpa&amp;quot; FROM students;'''&lt;br /&gt;
|| Now let us create an alias using double quotes. Type the following query.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Highlight '''&amp;quot;student cgpa&amp;quot;'''&lt;br /&gt;
|| Here double quotes allow us to include spaces in the '''alias''' name.&lt;br /&gt;
Double quotes are required when the '''alias''' contains spaces.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Click the '''Execute query''' icon.&lt;br /&gt;
|| Let us execute the query.&lt;br /&gt;
The column heading '''cpga''' is now changed to  '''student cgpa'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Type:  &lt;br /&gt;
&lt;br /&gt;
'''SELECT * FROM students;'''&lt;br /&gt;
|| '''Alias''' names are temporary and do not modify the actual table structure.&lt;br /&gt;
To check, let us type this query and execute it.&lt;br /&gt;
Observe that the actual table is not modified.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Slide 7'''&lt;br /&gt;
&lt;br /&gt;
'''Summary'''&lt;br /&gt;
&lt;br /&gt;
In this tutorial we have learnt to,&lt;br /&gt;
&lt;br /&gt;
• Create alias names using:&lt;br /&gt;
&lt;br /&gt;
• space,&lt;br /&gt;
&lt;br /&gt;
• AS keyword,&lt;br /&gt;
&lt;br /&gt;
• underscore and&lt;br /&gt;
&lt;br /&gt;
• double quotes.&lt;br /&gt;
&lt;br /&gt;
|| With this we come to the end of this tutorial.&lt;br /&gt;
&lt;br /&gt;
Let us summarise.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Slide 8'''&lt;br /&gt;
&lt;br /&gt;
'''Assignment'''&lt;br /&gt;
&lt;br /&gt;
'''As an assignment,'''&lt;br /&gt;
&lt;br /&gt;
Create alias names for gender and date of birth columns using different methods of  aliasing.&lt;br /&gt;
SELECT * FROM students;&lt;br /&gt;
&lt;br /&gt;
|| As an assignment, please do the following.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Slide 9'''&lt;br /&gt;
'''Thank You'''&lt;br /&gt;
&lt;br /&gt;
This Spoken Tutorial is brought to you by EduPyramids Educational Private Limited, SINE IIT Bombay.&lt;br /&gt;
&lt;br /&gt;
|| Thank you.&lt;br /&gt;
&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>ANJALISATDIVE</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php/PostgreSQL-Database/C2/Alias-Names/English</id>
		<title>PostgreSQL-Database/C2/Alias-Names/English</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php/PostgreSQL-Database/C2/Alias-Names/English"/>
				<updated>2026-04-27T10:06:04Z</updated>
		
		<summary type="html">&lt;p&gt;ANJALISATDIVE: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Title of the Script: Alias Names&lt;br /&gt;
&lt;br /&gt;
Author: EduPyramids&lt;br /&gt;
&lt;br /&gt;
Keywords: PostgreSQL, pgAdmin 4, alias, AS keyword, space, underscore, double quotes, video tutorial, EduPyramids.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border=1&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;35%&amp;quot; | '''Visual Cue'''&lt;br /&gt;
! width=&amp;quot;65%&amp;quot; | '''Narration'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Title Slide 1'''&lt;br /&gt;
|| Welcome to this Spoken Tutorial on '''Alias Names''' in '''PostgreSQL'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Slide 2''' &lt;br /&gt;
&lt;br /&gt;
'''Learning Objectives'''&lt;br /&gt;
|| In this tutorial, we will learn to,&lt;br /&gt;
&lt;br /&gt;
* Create alias names using:&lt;br /&gt;
* space,&lt;br /&gt;
* AS keyword,&lt;br /&gt;
* underscore and&lt;br /&gt;
* double quotes.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Slide 3'''&lt;br /&gt;
&lt;br /&gt;
'''System Requirements'''&lt;br /&gt;
&lt;br /&gt;
'''To record this tutorial, I am using'''&lt;br /&gt;
&lt;br /&gt;
• '''Ubuntu 24.04 LTS,'''&lt;br /&gt;
&lt;br /&gt;
• '''PostgreSQL version 18.1, and'''&lt;br /&gt;
&lt;br /&gt;
• '''pgAdmin 4 version 9.11.'''&lt;br /&gt;
&lt;br /&gt;
|| To record this tutorial, I am using the following setup.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Slide 4'''&lt;br /&gt;
&lt;br /&gt;
'''Pre-requisites'''&lt;br /&gt;
|| To follow this tutorial,&lt;br /&gt;
* Learners should have '''PostgreSQL''' and '''pgAdmin 4'''&lt;br /&gt;
* For the prerequisite '''PostgreSQL''' tutorials, please visit this website.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Slide 5'''&lt;br /&gt;
&lt;br /&gt;
'''Code Files'''&lt;br /&gt;
&lt;br /&gt;
The following code file is required to practice this tutorial:&lt;br /&gt;
&lt;br /&gt;
• '''an-commands.txt'''&lt;br /&gt;
&lt;br /&gt;
This file is provided in the Code Files link on this tutorial page.&lt;br /&gt;
&lt;br /&gt;
|| The following code file is required to practice this tutorial.&lt;br /&gt;
&lt;br /&gt;
This file is provided in the '''Code Files''' link of this tutorial page.&lt;br /&gt;
&lt;br /&gt;
Please download and extract the file.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| &lt;br /&gt;
|| Let us get started.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Point to the interface.'''&lt;br /&gt;
|| I have opened the '''pgAdmin 4''' interface and connected to the localhost server.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Display the students table&lt;br /&gt;
&lt;br /&gt;
Type: &lt;br /&gt;
&lt;br /&gt;
'''SELECT * FROM students;'''&lt;br /&gt;
&lt;br /&gt;
|| Let us display the student table.&lt;br /&gt;
Type the following query.&lt;br /&gt;
Click on the Execute query icon to run the query.&lt;br /&gt;
Notice the student table with all the records.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Slide 5'''&lt;br /&gt;
'''What is an Alias?'''&lt;br /&gt;
|| Let us see what an alias is?&lt;br /&gt;
An alias is a temporary name given to a column or a table.&lt;br /&gt;
It improves the readability of the output.&lt;br /&gt;
Alias names exist only for the duration of the query.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Type:'''&lt;br /&gt;
&lt;br /&gt;
'''SELECT studentname fullname FROM students;'''&lt;br /&gt;
&lt;br /&gt;
|| Let us create an alias using a '''space'''.&lt;br /&gt;
Type the following query.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Highlight '''studentname fullname'''&lt;br /&gt;
&lt;br /&gt;
|| Here, '''studentname''' is the original column name.&lt;br /&gt;
&lt;br /&gt;
'''fullname''' is the alias given using a '''space'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Click on the execute query button.&lt;br /&gt;
|| Click on the '''Execute query''' button to execute the query.&lt;br /&gt;
The output displays the '''studentname''' column with the new heading '''fullname'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Type:'''&lt;br /&gt;
'''SELECT city AS studentcity FROM students;'''&lt;br /&gt;
|| Now let us create an '''alias''' using the '''as''' keyword.&lt;br /&gt;
Type the following query.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Highlight city AS studentcity'''&lt;br /&gt;
|| Here, '''AS''' keyword explicitly assigns the '''alias''' name '''studentcity''' to the '''city''' column.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Click the '''Execute query''' icon&lt;br /&gt;
Point to the output..&lt;br /&gt;
|| Let us execute the query.&lt;br /&gt;
Observe the output.&lt;br /&gt;
The original column name '''city''' is now replaced with '''studentcity'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Type: &lt;br /&gt;
&lt;br /&gt;
'''SELECT studentid AS student_id FROM students;'''&lt;br /&gt;
|| Now let us use an '''underscore''' in the '''alias''' name.&lt;br /&gt;
Type the following query.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Highlight '''student_id'''&lt;br /&gt;
&lt;br /&gt;
|| Here, '''student_id''' is the '''alias''' name.&lt;br /&gt;
The '''underscore''' is used to separate words for better readability.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Click the Execute query icon.&lt;br /&gt;
|| Let us execute the query.&lt;br /&gt;
The column heading is now changed to '''student_id'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Highlight: SELECT studentid AS student_id FROM students;'''&lt;br /&gt;
'''Type:'''&lt;br /&gt;
&lt;br /&gt;
'''SELECT studentid student_id FROM students;'''&lt;br /&gt;
|| Here the '''AS''' keyword is optional, it means the query runs with or without '''AS'''.&lt;br /&gt;
Let us type this query and execute it.&lt;br /&gt;
Both the queries give the same result.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Type: '''SELECT cgpa AS &amp;quot;Student cgpa&amp;quot; FROM students;'''&lt;br /&gt;
|| Now let us create an alias using double quotes. Type the following query.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Highlight '''&amp;quot;student cgpa&amp;quot;'''&lt;br /&gt;
|| Here double quotes allow us to include spaces in the '''alias''' name.&lt;br /&gt;
Double quotes are required when the '''alias''' contains spaces.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Click the '''Execute query''' icon.&lt;br /&gt;
|| Let us execute the query.&lt;br /&gt;
The column heading '''cpga''' is now changed to  '''student cgpa'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Type:  &lt;br /&gt;
&lt;br /&gt;
'''SELECT * FROM students;'''&lt;br /&gt;
|| '''Alias''' names are temporary and do not modify the actual table structure.&lt;br /&gt;
To check, let us type this query and execute it.&lt;br /&gt;
Observe that the actual table is not modified.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Slide 7'''&lt;br /&gt;
'''Summary'''&lt;br /&gt;
In this tutorial we have learnt to,&lt;br /&gt;
&lt;br /&gt;
• Create alias names using:&lt;br /&gt;
&lt;br /&gt;
• space,&lt;br /&gt;
&lt;br /&gt;
• AS keyword,&lt;br /&gt;
&lt;br /&gt;
• underscore and&lt;br /&gt;
&lt;br /&gt;
• double quotes.&lt;br /&gt;
&lt;br /&gt;
|| With this we come to the end of this tutorial.&lt;br /&gt;
&lt;br /&gt;
Let us summarise.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Slide 8'''&lt;br /&gt;
'''Assignment'''&lt;br /&gt;
&lt;br /&gt;
'''As an assignment,'''&lt;br /&gt;
&lt;br /&gt;
Create alias names for gender and date of birth columns using different methods of  aliasing.&lt;br /&gt;
SELECT * FROM students;&lt;br /&gt;
&lt;br /&gt;
|| As an assignment, please do the following.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Slide 9'''&lt;br /&gt;
'''Thank You'''&lt;br /&gt;
&lt;br /&gt;
This Spoken Tutorial is brought to you by EduPyramids Educational Private Limited, SINE IIT Bombay.&lt;br /&gt;
&lt;br /&gt;
|| Thank you.&lt;br /&gt;
&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>ANJALISATDIVE</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php/PostgreSQL-Database/C2/Alias-Names/English</id>
		<title>PostgreSQL-Database/C2/Alias-Names/English</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php/PostgreSQL-Database/C2/Alias-Names/English"/>
				<updated>2026-04-27T10:05:41Z</updated>
		
		<summary type="html">&lt;p&gt;ANJALISATDIVE: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Title of the Script: Alias Names&lt;br /&gt;
&lt;br /&gt;
Author: EduPyramids&lt;br /&gt;
&lt;br /&gt;
Keywords: PostgreSQL, pgAdmin 4, alias, AS keyword, space, underscore, double quotes, video tutorial, EduPyramids.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border=1&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;35%&amp;quot; | '''Visual Cue'''&lt;br /&gt;
! width=&amp;quot;65%&amp;quot; | '''Narration'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Title Slide 1'''&lt;br /&gt;
|| Welcome to this Spoken Tutorial on '''Alias Names''' in '''PostgreSQL'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Slide 2''' &lt;br /&gt;
&lt;br /&gt;
'''Learning Objectives'''&lt;br /&gt;
|| In this tutorial, we will learn to,&lt;br /&gt;
&lt;br /&gt;
* Create alias names using:&lt;br /&gt;
* space,&lt;br /&gt;
* AS keyword,&lt;br /&gt;
* underscore and&lt;br /&gt;
* double quotes.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Slide 3'''&lt;br /&gt;
&lt;br /&gt;
'''System Requirements'''&lt;br /&gt;
&lt;br /&gt;
'''To record this tutorial, I am using'''&lt;br /&gt;
&lt;br /&gt;
• '''Ubuntu 24.04 LTS,'''&lt;br /&gt;
&lt;br /&gt;
• '''PostgreSQL version 18.1, and'''&lt;br /&gt;
&lt;br /&gt;
• '''pgAdmin 4 version 9.11.'''&lt;br /&gt;
&lt;br /&gt;
|| To record this tutorial, I am using the following setup.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Slide 4'''&lt;br /&gt;
&lt;br /&gt;
'''Pre-requisites'''&lt;br /&gt;
|| To follow this tutorial,&lt;br /&gt;
* Learners should have '''PostgreSQL''' and '''pgAdmin 4'''&lt;br /&gt;
* For the prerequisite '''PostgreSQL''' tutorials, please visit this website.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Slide 5'''&lt;br /&gt;
&lt;br /&gt;
'''Code Files'''&lt;br /&gt;
The following code file is required to practice this tutorial:&lt;br /&gt;
&lt;br /&gt;
• '''an-commands.txt'''&lt;br /&gt;
&lt;br /&gt;
This file is provided in the Code Files link on this tutorial page.&lt;br /&gt;
&lt;br /&gt;
|| The following code file is required to practice this tutorial.&lt;br /&gt;
&lt;br /&gt;
This file is provided in the '''Code Files''' link of this tutorial page.&lt;br /&gt;
&lt;br /&gt;
Please download and extract the file.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| &lt;br /&gt;
|| Let us get started.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Point to the interface.'''&lt;br /&gt;
|| I have opened the '''pgAdmin 4''' interface and connected to the localhost server.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Display the students table&lt;br /&gt;
&lt;br /&gt;
Type: &lt;br /&gt;
&lt;br /&gt;
'''SELECT * FROM students;'''&lt;br /&gt;
&lt;br /&gt;
|| Let us display the student table.&lt;br /&gt;
Type the following query.&lt;br /&gt;
Click on the Execute query icon to run the query.&lt;br /&gt;
Notice the student table with all the records.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Slide 5'''&lt;br /&gt;
'''What is an Alias?'''&lt;br /&gt;
|| Let us see what an alias is?&lt;br /&gt;
An alias is a temporary name given to a column or a table.&lt;br /&gt;
It improves the readability of the output.&lt;br /&gt;
Alias names exist only for the duration of the query.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Type:'''&lt;br /&gt;
&lt;br /&gt;
'''SELECT studentname fullname FROM students;'''&lt;br /&gt;
&lt;br /&gt;
|| Let us create an alias using a '''space'''.&lt;br /&gt;
Type the following query.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Highlight '''studentname fullname'''&lt;br /&gt;
&lt;br /&gt;
|| Here, '''studentname''' is the original column name.&lt;br /&gt;
&lt;br /&gt;
'''fullname''' is the alias given using a '''space'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Click on the execute query button.&lt;br /&gt;
|| Click on the '''Execute query''' button to execute the query.&lt;br /&gt;
The output displays the '''studentname''' column with the new heading '''fullname'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Type:'''&lt;br /&gt;
'''SELECT city AS studentcity FROM students;'''&lt;br /&gt;
|| Now let us create an '''alias''' using the '''as''' keyword.&lt;br /&gt;
Type the following query.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Highlight city AS studentcity'''&lt;br /&gt;
|| Here, '''AS''' keyword explicitly assigns the '''alias''' name '''studentcity''' to the '''city''' column.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Click the '''Execute query''' icon&lt;br /&gt;
Point to the output..&lt;br /&gt;
|| Let us execute the query.&lt;br /&gt;
Observe the output.&lt;br /&gt;
The original column name '''city''' is now replaced with '''studentcity'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Type: &lt;br /&gt;
&lt;br /&gt;
'''SELECT studentid AS student_id FROM students;'''&lt;br /&gt;
|| Now let us use an '''underscore''' in the '''alias''' name.&lt;br /&gt;
Type the following query.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Highlight '''student_id'''&lt;br /&gt;
&lt;br /&gt;
|| Here, '''student_id''' is the '''alias''' name.&lt;br /&gt;
The '''underscore''' is used to separate words for better readability.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Click the Execute query icon.&lt;br /&gt;
|| Let us execute the query.&lt;br /&gt;
The column heading is now changed to '''student_id'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Highlight: SELECT studentid AS student_id FROM students;'''&lt;br /&gt;
'''Type:'''&lt;br /&gt;
&lt;br /&gt;
'''SELECT studentid student_id FROM students;'''&lt;br /&gt;
|| Here the '''AS''' keyword is optional, it means the query runs with or without '''AS'''.&lt;br /&gt;
Let us type this query and execute it.&lt;br /&gt;
Both the queries give the same result.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Type: '''SELECT cgpa AS &amp;quot;Student cgpa&amp;quot; FROM students;'''&lt;br /&gt;
|| Now let us create an alias using double quotes. Type the following query.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Highlight '''&amp;quot;student cgpa&amp;quot;'''&lt;br /&gt;
|| Here double quotes allow us to include spaces in the '''alias''' name.&lt;br /&gt;
Double quotes are required when the '''alias''' contains spaces.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Click the '''Execute query''' icon.&lt;br /&gt;
|| Let us execute the query.&lt;br /&gt;
The column heading '''cpga''' is now changed to  '''student cgpa'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Type:  &lt;br /&gt;
&lt;br /&gt;
'''SELECT * FROM students;'''&lt;br /&gt;
|| '''Alias''' names are temporary and do not modify the actual table structure.&lt;br /&gt;
To check, let us type this query and execute it.&lt;br /&gt;
Observe that the actual table is not modified.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Slide 7'''&lt;br /&gt;
'''Summary'''&lt;br /&gt;
In this tutorial we have learnt to,&lt;br /&gt;
&lt;br /&gt;
• Create alias names using:&lt;br /&gt;
&lt;br /&gt;
• space,&lt;br /&gt;
&lt;br /&gt;
• AS keyword,&lt;br /&gt;
&lt;br /&gt;
• underscore and&lt;br /&gt;
&lt;br /&gt;
• double quotes.&lt;br /&gt;
&lt;br /&gt;
|| With this we come to the end of this tutorial.&lt;br /&gt;
&lt;br /&gt;
Let us summarise.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Slide 8'''&lt;br /&gt;
'''Assignment'''&lt;br /&gt;
&lt;br /&gt;
'''As an assignment,'''&lt;br /&gt;
&lt;br /&gt;
Create alias names for gender and date of birth columns using different methods of  aliasing.&lt;br /&gt;
SELECT * FROM students;&lt;br /&gt;
&lt;br /&gt;
|| As an assignment, please do the following.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Slide 9'''&lt;br /&gt;
'''Thank You'''&lt;br /&gt;
&lt;br /&gt;
This Spoken Tutorial is brought to you by EduPyramids Educational Private Limited, SINE IIT Bombay.&lt;br /&gt;
&lt;br /&gt;
|| Thank you.&lt;br /&gt;
&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>ANJALISATDIVE</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php/PostgreSQL-Database/C2/Alias-Names/English</id>
		<title>PostgreSQL-Database/C2/Alias-Names/English</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php/PostgreSQL-Database/C2/Alias-Names/English"/>
				<updated>2026-04-27T09:54:11Z</updated>
		
		<summary type="html">&lt;p&gt;ANJALISATDIVE: Created page with &amp;quot;Title of the Script: Alias Names  Author: EduPyramids  Keywords: PostgreSQL, pgAdmin 4, alias, AS keyword, space, underscore, double quotes, video tutorial, EduPyramids.   {|...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Title of the Script: Alias Names&lt;br /&gt;
&lt;br /&gt;
Author: EduPyramids&lt;br /&gt;
&lt;br /&gt;
Keywords: PostgreSQL, pgAdmin 4, alias, AS keyword, space, underscore, double quotes, video tutorial, EduPyramids.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border=1&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;35%&amp;quot; | '''Visual Cue'''&lt;br /&gt;
! width=&amp;quot;65%&amp;quot; | '''Narration'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Title Slide 1'''&lt;br /&gt;
|| Welcome to this Spoken Tutorial on '''Alias Names''' in '''PostgreSQL'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Slide 2'''&lt;br /&gt;
'''Learning Objectives'''&lt;br /&gt;
|| In this tutorial, we will learn to,&lt;br /&gt;
&lt;br /&gt;
* Create alias names using:&lt;br /&gt;
* space,&lt;br /&gt;
* AS keyword,&lt;br /&gt;
* underscore and&lt;br /&gt;
* double quotes.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Slide 3'''&lt;br /&gt;
'''System Requirements'''&lt;br /&gt;
&lt;br /&gt;
'''To record this tutorial, I am using'''&lt;br /&gt;
&lt;br /&gt;
• '''Ubuntu 24.04 LTS,'''&lt;br /&gt;
&lt;br /&gt;
• '''PostgreSQL version 18.1, and'''&lt;br /&gt;
&lt;br /&gt;
• '''pgAdmin 4 version 9.11.'''&lt;br /&gt;
&lt;br /&gt;
|| To record this tutorial, I am using the following setup.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Slide 4'''&lt;br /&gt;
'''Pre-requisites'''&lt;br /&gt;
|| To follow this tutorial,&lt;br /&gt;
* Learners should have '''PostgreSQL''' and '''pgAdmin 4'''&lt;br /&gt;
* For the prerequisite '''PostgreSQL''' tutorials, please visit this website.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Slide 5'''&lt;br /&gt;
'''Code Files'''&lt;br /&gt;
The following code file is required to practice this tutorial:&lt;br /&gt;
&lt;br /&gt;
• '''an-commands.txt'''&lt;br /&gt;
&lt;br /&gt;
This file is provided in the Code Files link on this tutorial page.&lt;br /&gt;
&lt;br /&gt;
|| The following code file is required to practice this tutorial.&lt;br /&gt;
&lt;br /&gt;
This file is provided in the '''Code Files''' link of this tutorial page.&lt;br /&gt;
&lt;br /&gt;
Please download and extract the file.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| &lt;br /&gt;
|| Let us get started.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Point to the interface.'''&lt;br /&gt;
|| I have opened the '''pgAdmin 4''' interface and connected to the localhost server.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Display the students table&lt;br /&gt;
Type: **SELECT * FROM students;**&lt;br /&gt;
|| Let us display the student table.&lt;br /&gt;
Type the following query.&lt;br /&gt;
Click on the Execute query icon to run the query.&lt;br /&gt;
Notice the student table with all the records.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Slide 5'''&lt;br /&gt;
'''What is an Alias?'''&lt;br /&gt;
|| Let us see what an alias is?&lt;br /&gt;
An alias is a temporary name given to a column or a table.&lt;br /&gt;
It improves the readability of the output.&lt;br /&gt;
Alias names exist only for the duration of the query.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Type:'''&lt;br /&gt;
'''SELECT studentname fullname FROM students;'''&lt;br /&gt;
|| Let us create an alias using a '''space'''.&lt;br /&gt;
Type the following query.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Highlight '''studentname fullname'''&lt;br /&gt;
|| Here, '''studentname''' is the original column name.&lt;br /&gt;
'''fullname''' is the alias given using a '''space'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Click on the execute query button.&lt;br /&gt;
|| Click on the '''Execute query''' button to execute the query.&lt;br /&gt;
The output displays the '''studentname''' column with the new heading '''fullname'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Type:'''&lt;br /&gt;
'''SELECT city AS studentcity FROM students;'''&lt;br /&gt;
|| Now let us create an '''alias''' using the '''as''' keyword.&lt;br /&gt;
Type the following query.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Highlight city AS studentcity'''&lt;br /&gt;
|| Here, '''AS''' keyword explicitly assigns the '''alias''' name '''studentcity''' to the '''city''' column.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Click the '''Execute query''' icon&lt;br /&gt;
Point to the output..&lt;br /&gt;
|| Let us execute the query.&lt;br /&gt;
Observe the output.&lt;br /&gt;
The original column name '''city''' is now replaced with '''studentcity'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Type: '''SELECT studentid AS student_id FROM students;'''&lt;br /&gt;
|| Now let us use an '''underscore''' in the '''alias''' name.&lt;br /&gt;
Type the following query.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Highlight '''student_id'''&lt;br /&gt;
|| Here, '''student_id''' is the '''alias''' name.&lt;br /&gt;
The '''underscore''' is used to separate words for better readability.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Click the Execute query icon.&lt;br /&gt;
|| Let us execute the query.&lt;br /&gt;
The column heading is now changed to '''student_id'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Highlight:  SELECT studentid AS student_id FROM students;'''&lt;br /&gt;
'''Type:'''&lt;br /&gt;
'''SELECT studentid student_id FROM students;'''&lt;br /&gt;
|| Here the '''AS''' keyword is optional, it means the query runs with or without '''AS'''.&lt;br /&gt;
Let us type this query and execute it.&lt;br /&gt;
Both the queries give the same result.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Type: '''SELECT cgpa AS &amp;quot;Student cgpa&amp;quot; FROM students;'''&lt;br /&gt;
|| Now let us create an alias using double quotes. Type the following query.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Highlight '''&amp;quot;student cgpa&amp;quot;'''&lt;br /&gt;
|| Here double quotes allow us to include spaces in the '''alias''' name.&lt;br /&gt;
Double quotes are required when the '''alias''' contains spaces.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Click the '''Execute query''' icon.&lt;br /&gt;
|| Let us execute the query.&lt;br /&gt;
The column heading '''cpga''' is now changed to  '''student cgpa'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Type:  **SELECT * FROM students;**&lt;br /&gt;
|| '''Alias''' names are temporary and do not modify the actual table structure.&lt;br /&gt;
To check, let us type this query and execute it.&lt;br /&gt;
Observe that the actual table is not modified.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Slide 7'''&lt;br /&gt;
'''Summary'''&lt;br /&gt;
In this tutorial we have learnt to,&lt;br /&gt;
&lt;br /&gt;
• Create alias names using:&lt;br /&gt;
&lt;br /&gt;
• space,&lt;br /&gt;
&lt;br /&gt;
• AS keyword,&lt;br /&gt;
&lt;br /&gt;
• underscore and&lt;br /&gt;
&lt;br /&gt;
• double quotes.&lt;br /&gt;
&lt;br /&gt;
|| With this we come to the end of this tutorial.&lt;br /&gt;
&lt;br /&gt;
Let us summarise.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Slide 8'''&lt;br /&gt;
'''Assignment'''&lt;br /&gt;
&lt;br /&gt;
'''As an assignment,'''&lt;br /&gt;
&lt;br /&gt;
Create alias names for gender and date of birth columns using different methods of  aliasing.&lt;br /&gt;
SELECT * FROM students;&lt;br /&gt;
&lt;br /&gt;
|| As an assignment, please do the following.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Slide 9'''&lt;br /&gt;
'''Thank You'''&lt;br /&gt;
&lt;br /&gt;
This Spoken Tutorial is brought to you by EduPyramids Educational Private Limited, SINE IIT Bombay.&lt;br /&gt;
&lt;br /&gt;
|| Thank you.&lt;br /&gt;
&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>ANJALISATDIVE</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php/PostgreSQL-Database/C2/Aggregate-Functions/English</id>
		<title>PostgreSQL-Database/C2/Aggregate-Functions/English</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php/PostgreSQL-Database/C2/Aggregate-Functions/English"/>
				<updated>2026-04-23T06:41:53Z</updated>
		
		<summary type="html">&lt;p&gt;ANJALISATDIVE: Created page with &amp;quot; '''Title of the script: Aggregate Functions'''  '''Authors:''' EduPyramids.'''  '''Keywords:''' PostgreSQL, pgAdmin 4,  Aggregate Functions, COUNT, AVG(average), SUM, MIN, MA...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
'''Title of the script: Aggregate Functions'''&lt;br /&gt;
&lt;br /&gt;
'''Authors:''' EduPyramids.'''&lt;br /&gt;
&lt;br /&gt;
'''Keywords:''' PostgreSQL, pgAdmin 4,  Aggregate Functions, COUNT, AVG(average), SUM, MIN, MAX,  Null values, COUNT asterisk, ROUND value, EduPyramids, Video Tutorial.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border=1&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;35%&amp;quot; | '''Visual Cue'''&lt;br /&gt;
! width=&amp;quot;65%&amp;quot; | '''Narration'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Title Slide'''&lt;br /&gt;
|| Welcome to this Spoken Tutorial on '''Aggregate Functions'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Slide 2'''&lt;br /&gt;
'''Learning Objectives'''&lt;br /&gt;
|| In this tutorial, we will learn about&lt;br /&gt;
* '''Aggregate Functions'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Slide 3'''&lt;br /&gt;
'''System Requirements'''&lt;br /&gt;
• '''Ubuntu 24.04 LTS'''&lt;br /&gt;
• '''PostgreSQL version 18.1''', and&lt;br /&gt;
• '''PgAdmin 4 version 9.11'''.&lt;br /&gt;
|| To record this tutorial, I am using the following setup.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Slide 4'''&lt;br /&gt;
'''Pre-requisites'''&lt;br /&gt;
|| To follow this tutorial,&lt;br /&gt;
* Learners should have '''Postgres Q L''' and '''p g Admin 4'''&lt;br /&gt;
* For the prerequisite '''Postgres Q L''' tutorials, please visit this website.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Slide 5'''&lt;br /&gt;
'''Code Files'''&lt;br /&gt;
The following code file is required to practice this tutorial:&lt;br /&gt;
'''af-commands.txt'''&lt;br /&gt;
This file is provided in the Code Files link on this tutorial page.&lt;br /&gt;
|| The following code file is required to practice this tutorial.&lt;br /&gt;
This file is provided in the Code Files link of this tutorial page.&lt;br /&gt;
Please download and extract the file.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| &lt;br /&gt;
|| Let us get started.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Slide 6'''&lt;br /&gt;
'''Aggregate Functions'''&lt;br /&gt;
|| '''Aggregate''' functions perform calculations on multiple rows and return a single value.&lt;br /&gt;
Some common aggregate functions are '''COUNT''', '''average''', '''SUM''', '''MIN''', and '''MAX'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| &lt;br /&gt;
|| I have opened the '''p g Admin 4''' interface and connected to the localhost server.&lt;br /&gt;
Let us learn these functions using query examples.&lt;br /&gt;
This is the student table.&lt;br /&gt;
First, we will learn about the '''COUNT''' function.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Type:'''&lt;br /&gt;
SELECT COUNT(*) FROM students;'''&lt;br /&gt;
'''Highlight COUNT(*)&lt;br /&gt;
Click on the Execute Query button.&lt;br /&gt;
|| Let us type the following query.&lt;br /&gt;
The '''COUNT''' asterisk function returns the total number of rows in the table.&lt;br /&gt;
It counts all records including those containing '''NULL''' values.&lt;br /&gt;
Let us execute the query.&lt;br /&gt;
This shows the total number of students stored in the table.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| &lt;br /&gt;
|| Now we will see how '''COUNT''' works when applied to a specific column.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Type:'''&lt;br /&gt;
'''SELECT COUNT(cgpa) FROM students;'''&lt;br /&gt;
'''Highlight:'''&lt;br /&gt;
'''COUNT(cgpa)'''&lt;br /&gt;
Click on the Execute Query button.&lt;br /&gt;
|| Type the query.&lt;br /&gt;
The '''COUNT''' function counts the number of not '''NULL''' values in the '''C G P A''' column.&lt;br /&gt;
Let us execute the query.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Cursor on the output.'''&lt;br /&gt;
|| The output displays the number of students whose '''C G P A''' value is available.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Show both the outputs in different query windows.&lt;br /&gt;
|| Here, '''COUNT asterisk''' returns all the rows.&lt;br /&gt;
However, the COUNT '''column''' counts only '''not NULL''' values of the specified column.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| &lt;br /&gt;
|| Next, we will calculate the average C G P A.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Type:'''&lt;br /&gt;
'''SELECT AVG(cgpa) FROM students;'''&lt;br /&gt;
|| Type the following query.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Highlight:'''&lt;br /&gt;
'''AVG(cgpa)'''&lt;br /&gt;
|| The '''average''' function calculates the average of all cgpa values.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Click on the Execute Query button.&lt;br /&gt;
'''Cursor on the output.'''&lt;br /&gt;
|| Let us execute the query.&lt;br /&gt;
The output displays the average c g p a of all students.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Type this command:&lt;br /&gt;
'''SELECT ROUND(AVG(cgpa), 2)'''&lt;br /&gt;
'''FROM students;'''&lt;br /&gt;
Click on the execute button.&lt;br /&gt;
|| Observe that, using the average keyword we get insignificant digits after the decimal point.&lt;br /&gt;
To reduce the number of insignificant digits after the decimal point, type this query.&lt;br /&gt;
ROUND value 2 limits the result to 2 digits after the decimal point.&lt;br /&gt;
Execute the query.&lt;br /&gt;
The output displays only two digits after the decimal point.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| &lt;br /&gt;
|| Now, let us find the highest C G P A.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Type:'''&lt;br /&gt;
'''SELECT MAX(cgpa) FROM students;'''&lt;br /&gt;
'''Highlight:'''&lt;br /&gt;
MAX(cgpa)&lt;br /&gt;
|| Type the following query.&lt;br /&gt;
The '''MAX''' function returns the largest value in the C G P A column.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Click on the Execute Query button.&lt;br /&gt;
'''Cursor on the output.'''&lt;br /&gt;
|| Execute the query.&lt;br /&gt;
The result displays the highest C G P A recorded in the students table.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| &lt;br /&gt;
|| Next, we will find the lowest C G P A .&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Type:'''&lt;br /&gt;
'''SELECT MIN(cgpa) FROM students;'''&lt;br /&gt;
'''Highlight:'''&lt;br /&gt;
'''MIN(cgpa)'''&lt;br /&gt;
|| Type the following query.&lt;br /&gt;
'''MIN''' returns the smallest value in the column.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Click on the Execute Query button.&lt;br /&gt;
'''Cursor on the output.'''&lt;br /&gt;
|| Execute the query.&lt;br /&gt;
The output displays the lowest C G P A  recorded in the students table.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| &lt;br /&gt;
|| Finally, we will calculate the total C G P A .&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Type:'''&lt;br /&gt;
'''SELECT SUM(cgpa) FROM students;'''&lt;br /&gt;
'''Highlight:'''&lt;br /&gt;
'''SUM(cgpa)'''&lt;br /&gt;
|| Type the following query.&lt;br /&gt;
The '''SUM''' function helps us find the total C G P A  of all students.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Click on the Execute Query button.&lt;br /&gt;
'''Cursor on the output.'''&lt;br /&gt;
|| Execute the query.&lt;br /&gt;
The output displays the sum of all CGPA values.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| &lt;br /&gt;
|| With this, we come to the end of this tutorial.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Slide 10'''&lt;br /&gt;
'''Summary'''&lt;br /&gt;
In this tutorial, we have learnt about&lt;br /&gt;
• '''Aggregate Functions'''&lt;br /&gt;
|| Let us summarise.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Slide 11'''&lt;br /&gt;
'''Assignment'''&lt;br /&gt;
'''As an Assignment,'''&lt;br /&gt;
• Write a query to find how many different cities are present in the students table.&lt;br /&gt;
• Calculate the average CGPA of students born after 1996.&lt;br /&gt;
• Find the highest CGPA among female students.&lt;br /&gt;
• Find the lowest CGPA among male students.&lt;br /&gt;
• Calculate the total CGPA of students from each city.&lt;br /&gt;
|| We encourage you to do this assignment.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| '''Slide 12'''&lt;br /&gt;
This '''Spoken Tutorial''' is brought to you by '''EduPyramids''' Educational Private Limited SINE IIT Bombay.&lt;br /&gt;
'''Thank you'''&lt;br /&gt;
|| Thank you.&lt;br /&gt;
&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>ANJALISATDIVE</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php/PostgreSQL-Database/C2/Filtering-and-Sorting-Data/English</id>
		<title>PostgreSQL-Database/C2/Filtering-and-Sorting-Data/English</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php/PostgreSQL-Database/C2/Filtering-and-Sorting-Data/English"/>
				<updated>2026-02-18T06:25:11Z</updated>
		
		<summary type="html">&lt;p&gt;ANJALISATDIVE: Created page with &amp;quot;Title of the Script: Filtering and Sorting Data   Author: EduPyramids  Keywords: PostgreSQL, pgAdmin 4, WHERE, ORDER BY, data filtering, data sorting,  ascending order, descen...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Title of the Script: Filtering and Sorting Data &lt;br /&gt;
&lt;br /&gt;
Author: EduPyramids&lt;br /&gt;
&lt;br /&gt;
Keywords: PostgreSQL, pgAdmin 4, WHERE, ORDER BY, data filtering, data sorting,  ascending order, descending order, EduPyramids, video tutorial.&lt;/div&gt;</summary>
		<author><name>ANJALISATDIVE</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php/LaTeX/C3/Frame-Pages-and-Colour-Text-Boxes/English</id>
		<title>LaTeX/C3/Frame-Pages-and-Colour-Text-Boxes/English</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php/LaTeX/C3/Frame-Pages-and-Colour-Text-Boxes/English"/>
				<updated>2025-12-01T07:12:47Z</updated>
		
		<summary type="html">&lt;p&gt;ANJALISATDIVE: Created page with &amp;quot;Title of the Script: '''Frame Pages and Colour Text Boxes'''  Author: Ambika Vanchinathan  Keywords: LaTeX, fancybox, fcolorbox, fancypage, thisfancybox, shadowsize, shadowbox...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Title of the Script: '''Frame Pages and Colour Text Boxes'''&lt;br /&gt;
&lt;br /&gt;
Author: Ambika Vanchinathan&lt;br /&gt;
&lt;br /&gt;
Keywords: LaTeX, fancybox, fcolorbox, fancypage, thisfancybox, shadowsize, shadowbox, ovalbox,fboxsep, video tutorial.&lt;br /&gt;
&lt;br /&gt;
'''Pre-requisite: Framing Floats and Lists'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border =1&lt;br /&gt;
|- &lt;br /&gt;
|| '''Visual Cue'''&lt;br /&gt;
|| '''Narration'''&lt;br /&gt;
|- &lt;br /&gt;
|| '''Slide 1'''&lt;br /&gt;
&lt;br /&gt;
'''Title Slide'''&lt;br /&gt;
| Welcome to the spoken tutorial on '''Frame Pages and Colour Text Boxes.'''&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
'''Slide 2'''&lt;br /&gt;
&lt;br /&gt;
'''Learning Objectives'''&lt;br /&gt;
|&lt;br /&gt;
In this tutorial, we will learn to&lt;br /&gt;
&lt;br /&gt;
*Add coloured boxes with fcolorbox &lt;br /&gt;
*Customize box spacing&lt;br /&gt;
*Frame pages with different boxes&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
'''Slide 3'''&lt;br /&gt;
&lt;br /&gt;
'''System Requirements'''&lt;br /&gt;
&lt;br /&gt;
To record this tutorial, I am using:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Linux Mint OS version 21.3&lt;br /&gt;
Texworks version 0.6.6&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
To record this tutorial I am using the following setup.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
'''Slide 4'''&lt;br /&gt;
&lt;br /&gt;
'''Pre-requisites'''&lt;br /&gt;
| To follow this tutorial, learners should have basic knowledge of LaTeX.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
'''Slide 5'''&lt;br /&gt;
&lt;br /&gt;
'''Code files'''&lt;br /&gt;
&lt;br /&gt;
The following code files are required to practice this tutorial:&lt;br /&gt;
&lt;br /&gt;
1. fancybox-eg.tex&lt;br /&gt;
&lt;br /&gt;
2. Free-Stock-Photos.jpg&lt;br /&gt;
&lt;br /&gt;
These files are provided in the Code Files link of this tutorial page.&lt;br /&gt;
|&lt;br /&gt;
The following code files are required to practice this tutorial.&lt;br /&gt;
&lt;br /&gt;
These files are provided in the '''Code Files''' link of this tutorial page.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
Comment line 139&lt;br /&gt;
&lt;br /&gt;
Click the green Typeset button and show the output&lt;br /&gt;
|&lt;br /&gt;
Let us get started&lt;br /&gt;
&lt;br /&gt;
Comment line 139.&lt;br /&gt;
&lt;br /&gt;
Click the green '''Typeset''' button to run the code.&lt;br /&gt;
&lt;br /&gt;
Here is the output.&lt;br /&gt;
&lt;br /&gt;
We see text in a two coloured box.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
'''Highlight:'''&lt;br /&gt;
&lt;br /&gt;
line 141&lt;br /&gt;
&lt;br /&gt;
And point to the box in the output&lt;br /&gt;
|&lt;br /&gt;
'''\fcolorbox{red}{green}''' specifies the frame and filler colours of the box.&lt;br /&gt;
&lt;br /&gt;
Here the '''frame''' is red and the '''filler''' is green.&lt;br /&gt;
&lt;br /&gt;
Note that we have loaded the '''color''' package.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
'''Highlight'''&lt;br /&gt;
&lt;br /&gt;
line 147&lt;br /&gt;
&lt;br /&gt;
And point to the box in the output&lt;br /&gt;
&lt;br /&gt;
Zoom the output to show the box clearly.&lt;br /&gt;
| Here the '''frame''' is green and the '''filler''' is white.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
Comment line 20&lt;br /&gt;
&lt;br /&gt;
Click the green Typeset button and show the output&lt;br /&gt;
&lt;br /&gt;
'''Show all the boxes from top to bottom.'''&lt;br /&gt;
|&lt;br /&gt;
Comment line 20.&lt;br /&gt;
&lt;br /&gt;
Run the code.&lt;br /&gt;
&lt;br /&gt;
Here is the output.&lt;br /&gt;
&lt;br /&gt;
Observe that all the boxes have no space around the text.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
Uncomment line 20&lt;br /&gt;
&lt;br /&gt;
Click the green Typeset button and show the output&lt;br /&gt;
|&lt;br /&gt;
Let us fill the box with some space around the text.&lt;br /&gt;
&lt;br /&gt;
Uncomment line 20.&lt;br /&gt;
&lt;br /&gt;
Run the code.&lt;br /&gt;
&lt;br /&gt;
Here is the output.&lt;br /&gt;
&lt;br /&gt;
Now there is space around the text inside all the boxes.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
'''Highlight :'''&lt;br /&gt;
&lt;br /&gt;
line 20&lt;br /&gt;
| '''\fboxsep''' command specifies the gap amount between the text and the box.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
Uncomment line 7,8,9,10&lt;br /&gt;
&lt;br /&gt;
Click the green Typeset button and show the output&lt;br /&gt;
&lt;br /&gt;
Point to the shadow box of the complete first page&lt;br /&gt;
|&lt;br /&gt;
Uncomment lines 7, 8, 9 and 10.&lt;br /&gt;
&lt;br /&gt;
Run the code.&lt;br /&gt;
&lt;br /&gt;
Here is the output.&lt;br /&gt;
&lt;br /&gt;
The complete first page is in a shadow box.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
'''Highlight :'''&lt;br /&gt;
&lt;br /&gt;
lines 7 to 10&lt;br /&gt;
&lt;br /&gt;
Point to the first page with shadow.&lt;br /&gt;
|&lt;br /&gt;
'''\thisfancypage''' command, defines the shadow for the current page only.&lt;br /&gt;
&lt;br /&gt;
The first page is now shown within a shadow box.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
Uncomment line 13, 14, 15, 16&lt;br /&gt;
&lt;br /&gt;
Click the green Typeset button and show the output&lt;br /&gt;
&lt;br /&gt;
Point to the shadow box of all the pages in output&lt;br /&gt;
|&lt;br /&gt;
Uncomment lines 13, 14, 15, and 16.&lt;br /&gt;
&lt;br /&gt;
Run the code.&lt;br /&gt;
&lt;br /&gt;
Here is the output&lt;br /&gt;
&lt;br /&gt;
All pages are displayed inside a shadow box.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
'''Highlight :'''&lt;br /&gt;
&lt;br /&gt;
lines 13 to 16&lt;br /&gt;
|&lt;br /&gt;
'''\fancypage''' defines a shadow box for&lt;br /&gt;
&lt;br /&gt;
all the pages.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
Comment line 7,8,9,10 and 16&lt;br /&gt;
&lt;br /&gt;
Uncomment line 17&lt;br /&gt;
&lt;br /&gt;
Click the green Typeset button and show the output&lt;br /&gt;
&lt;br /&gt;
Point to the '''oval box''' in the output&lt;br /&gt;
|&lt;br /&gt;
Comment lines 7, 8, 9, 10 and 16.&lt;br /&gt;
&lt;br /&gt;
Uncomment line 17.&lt;br /&gt;
&lt;br /&gt;
Run the code&lt;br /&gt;
&lt;br /&gt;
Here is the output&lt;br /&gt;
&lt;br /&gt;
All the pages are enclosed within an oval box.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
'''Highlight:'''&lt;br /&gt;
&lt;br /&gt;
lines 13 to 17&lt;br /&gt;
| '''\fancypage''' command defines all the pages to be in '''oval box''' here&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
'''Slide 6'''&lt;br /&gt;
&lt;br /&gt;
'''Summary'''&lt;br /&gt;
&lt;br /&gt;
In this tutorial, we have learnt to&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Add coloured boxes with '''fcolorbox'''&lt;br /&gt;
Customize box spacing&lt;br /&gt;
Frame pages with different boxes&lt;br /&gt;
|&lt;br /&gt;
With this we come to the end of this tutorial.&lt;br /&gt;
&lt;br /&gt;
Let us summarise.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
'''Slide 7'''&lt;br /&gt;
&lt;br /&gt;
'''Assignment'''&lt;br /&gt;
|&lt;br /&gt;
As an '''Assignment'''&lt;br /&gt;
&lt;br /&gt;
Create question and answer with&lt;br /&gt;
&lt;br /&gt;
answer enclosed in a blue box&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
'''Slide 8'''&lt;br /&gt;
&lt;br /&gt;
'''Thank you'''&lt;br /&gt;
| Thank you for joining&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>ANJALISATDIVE</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php/LaTeX/C3/Adding-Line-Numbers-in-LaTeX/English</id>
		<title>LaTeX/C3/Adding-Line-Numbers-in-LaTeX/English</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php/LaTeX/C3/Adding-Line-Numbers-in-LaTeX/English"/>
				<updated>2025-12-01T06:21:58Z</updated>
		
		<summary type="html">&lt;p&gt;ANJALISATDIVE: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Title of the Script: '''Adding line numbers in LaTeX'''&lt;br /&gt;
&lt;br /&gt;
Author: Ambika Vanchinathan&lt;br /&gt;
&lt;br /&gt;
Keywords: LaTeX, lineno package, line numbers, math environments, linelabel, modulolinenumbers, mathlines, video tutorial.&lt;br /&gt;
&lt;br /&gt;
'''Pre-requisite: Writing Style Files in LaTeX'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border =1&lt;br /&gt;
|- &lt;br /&gt;
|| '''Visual Cue'''&lt;br /&gt;
|| '''Narration'''&lt;br /&gt;
|- &lt;br /&gt;
|| '''Slide 1'''&lt;br /&gt;
&lt;br /&gt;
'''Title Slide'''&lt;br /&gt;
|| Welcome to the spoken tutorial on '''Adding Line Numbers '''in '''LaTeX.'''&lt;br /&gt;
|- &lt;br /&gt;
|| '''Slide 2'''&lt;br /&gt;
&lt;br /&gt;
'''Learning Objectives'''&lt;br /&gt;
&lt;br /&gt;
|| In this tutorial, we will learn to&lt;br /&gt;
* Add line numbers to a document&lt;br /&gt;
* Enable line numbers in math environment&lt;br /&gt;
* Label and cross reference a line number&lt;br /&gt;
* Enable line numbering in steps and change its font size&lt;br /&gt;
|- &lt;br /&gt;
|| '''Slide 3'''&lt;br /&gt;
&lt;br /&gt;
'''System Requirements'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Linux Mint OS version 21.3&lt;br /&gt;
* TeXworks Editor version 0.6.6&lt;br /&gt;
&lt;br /&gt;
|| To record this tutorial, I am using the following setup.&lt;br /&gt;
|- &lt;br /&gt;
|| '''Slide 4'''&lt;br /&gt;
&lt;br /&gt;
'''Pre-requisites'''&lt;br /&gt;
&lt;br /&gt;
|| To follow this tutorial, learners should have basic knowledge of ''' LaTeX'''.&lt;br /&gt;
|- &lt;br /&gt;
|| '''Slide 5: '''&lt;br /&gt;
&lt;br /&gt;
'''Code files'''&lt;br /&gt;
&lt;br /&gt;
The following code files are required to practice this tutorial:&lt;br /&gt;
&lt;br /&gt;
1. lineno-eg.tex&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These files are provided in the Code Files link of this tutorial page.&lt;br /&gt;
|| The following code file is required to practice this tutorial.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This file is provided in the '''Code Files''' link of this tutorial page.&lt;br /&gt;
|- &lt;br /&gt;
|| &lt;br /&gt;
|| Let us get started.&lt;br /&gt;
|- &lt;br /&gt;
|| '''Highlight:'''&lt;br /&gt;
&lt;br /&gt;
\usepackage{lineno}&lt;br /&gt;
&lt;br /&gt;
|| This command loads the line number package.&lt;br /&gt;
&lt;br /&gt;
It is recommended to keep the installation up to date.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If any issue arises, please update the packages by downloading them from [http://ctan.org/ ctan.org].&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| '''Highlight:'''&lt;br /&gt;
&lt;br /&gt;
\linenumbers&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click the green Typeset button and show the output&lt;br /&gt;
&lt;br /&gt;
|| '''\linenumbers '''command enables printing line numbers on the document.&lt;br /&gt;
&lt;br /&gt;
Click the green '''Typeset''' button to run the code.&lt;br /&gt;
&lt;br /&gt;
Output shows the line numbers printed on all lines except the math equations.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
||  Comment line 5&lt;br /&gt;
&lt;br /&gt;
Uncomment line 7&lt;br /&gt;
&lt;br /&gt;
Click the green Typeset button and show the output&lt;br /&gt;
&lt;br /&gt;
|| Comment line 5&lt;br /&gt;
&lt;br /&gt;
Uncomment line 7&lt;br /&gt;
&lt;br /&gt;
Run the code to see the output.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Observe the line numbers in math equations.&lt;br /&gt;
|-&lt;br /&gt;
|| '''Highlight:'''&lt;br /&gt;
&lt;br /&gt;
line 7&lt;br /&gt;
|| Option '''[mathlines, displaymath] '''with''' '''&lt;br /&gt;
&lt;br /&gt;
'''\usepackage{lineno}, '''enables line numbers in math environments.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This applies to both numbered and unnumbered equations.&lt;br /&gt;
|- &lt;br /&gt;
||  Uncomment lines 23, 49&lt;br /&gt;
&lt;br /&gt;
Click the green Typeset button and show the output&lt;br /&gt;
&lt;br /&gt;
|| Uncomment lines 23 and 49.&lt;br /&gt;
&lt;br /&gt;
Run the code &lt;br /&gt;
&lt;br /&gt;
Here we must compile the code twice.&lt;br /&gt;
&lt;br /&gt;
In the first run we see question marks.&lt;br /&gt;
&lt;br /&gt;
That is, the first run assigns line numbers. &lt;br /&gt;
&lt;br /&gt;
The second run fixes the references.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Like cross-references, line numbers need, two compilations to appear correctly.&lt;br /&gt;
&lt;br /&gt;
Let us compile again.&lt;br /&gt;
&lt;br /&gt;
Here is the output after the second compilation.&lt;br /&gt;
&lt;br /&gt;
Observe the line number and page number reference''' '''at the end of the document.&lt;br /&gt;
|-&lt;br /&gt;
|| '''Highlight:'''&lt;br /&gt;
&lt;br /&gt;
line 23, 49&lt;br /&gt;
|| '''\linelabel '''command labels the line number.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''\ref '''and '''\pageref '''generate''' '''the line number and page number of a text in a line.&lt;br /&gt;
|-&lt;br /&gt;
|| Uncomment line 17&lt;br /&gt;
&lt;br /&gt;
Click the Typeset button and show the output&lt;br /&gt;
|| Uncomment line 17.&lt;br /&gt;
&lt;br /&gt;
Run the code&lt;br /&gt;
&lt;br /&gt;
Here is the output.&lt;br /&gt;
&lt;br /&gt;
We see that line numbers are printed after every 5 lines.&lt;br /&gt;
|-&lt;br /&gt;
|| '''Highlight:'''&lt;br /&gt;
&lt;br /&gt;
line 17&lt;br /&gt;
|| Command '''\modulolinenumbers[5]'''&lt;br /&gt;
&lt;br /&gt;
enables line numbering in steps of 5.&lt;br /&gt;
&lt;br /&gt;
We can change the number 5 to reset to a required jump.&lt;br /&gt;
|-&lt;br /&gt;
|| Uncomment line 14&lt;br /&gt;
&lt;br /&gt;
Click the Typeset button and show the output&lt;br /&gt;
|| Uncomment the line 14.&lt;br /&gt;
&lt;br /&gt;
Run the code.&lt;br /&gt;
&lt;br /&gt;
Here is the output.&lt;br /&gt;
|-&lt;br /&gt;
|| '''Highlight:'''&lt;br /&gt;
&lt;br /&gt;
line 14&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
||  We can see that the font color and size of the line numbers have changed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The command '''\linenumberfont '''resets, line numbers to red and font to script size.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that, we have also loaded the color package to get the colours.&lt;br /&gt;
|- &lt;br /&gt;
|| '''Slide 6'''&lt;br /&gt;
&lt;br /&gt;
'''Summary'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In this tutorial, we have learnt to&lt;br /&gt;
* Add line numbers to a document&lt;br /&gt;
* Enable line numbers in math environment&lt;br /&gt;
* Label and cross reference a line &lt;br /&gt;
* Enable line numbering in steps and change its font size&lt;br /&gt;
&lt;br /&gt;
|| With this we come to the end of this tutorial.&lt;br /&gt;
&lt;br /&gt;
Let us summarise.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| '''Slide 7'''&lt;br /&gt;
&lt;br /&gt;
'''Assignment'''&lt;br /&gt;
|| As an '''Assignment,'''&lt;br /&gt;
&lt;br /&gt;
Print line numbers after every 3 lines in blue colour.&lt;br /&gt;
|- &lt;br /&gt;
|| '''Slide 8'''&lt;br /&gt;
&lt;br /&gt;
'''Thank you'''&lt;br /&gt;
&lt;br /&gt;
||  Thank you for joining&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>ANJALISATDIVE</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php/LaTeX/C3/Adding-Line-Numbers-in-LaTeX/English</id>
		<title>LaTeX/C3/Adding-Line-Numbers-in-LaTeX/English</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php/LaTeX/C3/Adding-Line-Numbers-in-LaTeX/English"/>
				<updated>2025-12-01T06:20:47Z</updated>
		
		<summary type="html">&lt;p&gt;ANJALISATDIVE: Created page with &amp;quot;{| border =1 |-  || '''Visual Cue''' || '''Narration''' |-  || '''Slide 1'''  '''Title Slide''' || Welcome to the spoken tutorial on '''Adding Line Numbers '''in '''LaTeX.'''...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| border =1&lt;br /&gt;
|- &lt;br /&gt;
|| '''Visual Cue'''&lt;br /&gt;
|| '''Narration'''&lt;br /&gt;
|- &lt;br /&gt;
|| '''Slide 1'''&lt;br /&gt;
&lt;br /&gt;
'''Title Slide'''&lt;br /&gt;
|| Welcome to the spoken tutorial on '''Adding Line Numbers '''in '''LaTeX.'''&lt;br /&gt;
|- &lt;br /&gt;
|| '''Slide 2'''&lt;br /&gt;
&lt;br /&gt;
'''Learning Objectives'''&lt;br /&gt;
&lt;br /&gt;
|| In this tutorial, we will learn to&lt;br /&gt;
* Add line numbers to a document&lt;br /&gt;
* Enable line numbers in math environment&lt;br /&gt;
* Label and cross reference a line number&lt;br /&gt;
* Enable line numbering in steps and change its font size&lt;br /&gt;
|- &lt;br /&gt;
|| '''Slide 3'''&lt;br /&gt;
&lt;br /&gt;
'''System Requirements'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Linux Mint OS version 21.3&lt;br /&gt;
* TeXworks Editor version 0.6.6&lt;br /&gt;
&lt;br /&gt;
|| To record this tutorial, I am using the following setup.&lt;br /&gt;
|- &lt;br /&gt;
|| '''Slide 4'''&lt;br /&gt;
&lt;br /&gt;
'''Pre-requisites'''&lt;br /&gt;
&lt;br /&gt;
|| To follow this tutorial, learners should have basic knowledge of ''' LaTeX'''.&lt;br /&gt;
|- &lt;br /&gt;
|| '''Slide 5: '''&lt;br /&gt;
&lt;br /&gt;
'''Code files'''&lt;br /&gt;
&lt;br /&gt;
The following code files are required to practice this tutorial:&lt;br /&gt;
&lt;br /&gt;
1. lineno-eg.tex&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These files are provided in the Code Files link of this tutorial page.&lt;br /&gt;
|| The following code file is required to practice this tutorial.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This file is provided in the '''Code Files''' link of this tutorial page.&lt;br /&gt;
|- &lt;br /&gt;
|| &lt;br /&gt;
|| Let us get started.&lt;br /&gt;
|- &lt;br /&gt;
|| '''Highlight:'''&lt;br /&gt;
&lt;br /&gt;
\usepackage{lineno}&lt;br /&gt;
&lt;br /&gt;
|| This command loads the line number package.&lt;br /&gt;
&lt;br /&gt;
It is recommended to keep the installation up to date.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If any issue arises, please update the packages by downloading them from [http://ctan.org/ ctan.org].&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| '''Highlight:'''&lt;br /&gt;
&lt;br /&gt;
\linenumbers&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click the green Typeset button and show the output&lt;br /&gt;
&lt;br /&gt;
|| '''\linenumbers '''command enables printing line numbers on the document.&lt;br /&gt;
&lt;br /&gt;
Click the green '''Typeset''' button to run the code.&lt;br /&gt;
&lt;br /&gt;
Output shows the line numbers printed on all lines except the math equations.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
||  Comment line 5&lt;br /&gt;
&lt;br /&gt;
Uncomment line 7&lt;br /&gt;
&lt;br /&gt;
Click the green Typeset button and show the output&lt;br /&gt;
&lt;br /&gt;
|| Comment line 5&lt;br /&gt;
&lt;br /&gt;
Uncomment line 7&lt;br /&gt;
&lt;br /&gt;
Run the code to see the output.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Observe the line numbers in math equations.&lt;br /&gt;
|-&lt;br /&gt;
|| '''Highlight:'''&lt;br /&gt;
&lt;br /&gt;
line 7&lt;br /&gt;
|| Option '''[mathlines, displaymath] '''with''' '''&lt;br /&gt;
&lt;br /&gt;
'''\usepackage{lineno}, '''enables line numbers in math environments.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This applies to both numbered and unnumbered equations.&lt;br /&gt;
|- &lt;br /&gt;
||  Uncomment lines 23, 49&lt;br /&gt;
&lt;br /&gt;
Click the green Typeset button and show the output&lt;br /&gt;
&lt;br /&gt;
|| Uncomment lines 23 and 49.&lt;br /&gt;
&lt;br /&gt;
Run the code &lt;br /&gt;
&lt;br /&gt;
Here we must compile the code twice.&lt;br /&gt;
&lt;br /&gt;
In the first run we see question marks.&lt;br /&gt;
&lt;br /&gt;
That is, the first run assigns line numbers. &lt;br /&gt;
&lt;br /&gt;
The second run fixes the references.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Like cross-references, line numbers need, two compilations to appear correctly.&lt;br /&gt;
&lt;br /&gt;
Let us compile again.&lt;br /&gt;
&lt;br /&gt;
Here is the output after the second compilation.&lt;br /&gt;
&lt;br /&gt;
Observe the line number and page number reference''' '''at the end of the document.&lt;br /&gt;
|-&lt;br /&gt;
|| '''Highlight:'''&lt;br /&gt;
&lt;br /&gt;
line 23, 49&lt;br /&gt;
|| '''\linelabel '''command labels the line number.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''\ref '''and '''\pageref '''generate''' '''the line number and page number of a text in a line.&lt;br /&gt;
|-&lt;br /&gt;
|| Uncomment line 17&lt;br /&gt;
&lt;br /&gt;
Click the Typeset button and show the output&lt;br /&gt;
|| Uncomment line 17.&lt;br /&gt;
&lt;br /&gt;
Run the code&lt;br /&gt;
&lt;br /&gt;
Here is the output.&lt;br /&gt;
&lt;br /&gt;
We see that line numbers are printed after every 5 lines.&lt;br /&gt;
|-&lt;br /&gt;
|| '''Highlight:'''&lt;br /&gt;
&lt;br /&gt;
line 17&lt;br /&gt;
|| Command '''\modulolinenumbers[5]'''&lt;br /&gt;
&lt;br /&gt;
enables line numbering in steps of 5.&lt;br /&gt;
&lt;br /&gt;
We can change the number 5 to reset to a required jump.&lt;br /&gt;
|-&lt;br /&gt;
|| Uncomment line 14&lt;br /&gt;
&lt;br /&gt;
Click the Typeset button and show the output&lt;br /&gt;
|| Uncomment the line 14.&lt;br /&gt;
&lt;br /&gt;
Run the code.&lt;br /&gt;
&lt;br /&gt;
Here is the output.&lt;br /&gt;
|-&lt;br /&gt;
|| '''Highlight:'''&lt;br /&gt;
&lt;br /&gt;
line 14&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
||  We can see that the font color and size of the line numbers have changed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The command '''\linenumberfont '''resets, line numbers to red and font to script size.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that, we have also loaded the color package to get the colours.&lt;br /&gt;
|- &lt;br /&gt;
|| '''Slide 6'''&lt;br /&gt;
&lt;br /&gt;
'''Summary'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In this tutorial, we have learnt to&lt;br /&gt;
* Add line numbers to a document&lt;br /&gt;
* Enable line numbers in math environment&lt;br /&gt;
* Label and cross reference a line &lt;br /&gt;
* Enable line numbering in steps and change its font size&lt;br /&gt;
&lt;br /&gt;
|| With this we come to the end of this tutorial.&lt;br /&gt;
&lt;br /&gt;
Let us summarise.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| '''Slide 7'''&lt;br /&gt;
&lt;br /&gt;
'''Assignment'''&lt;br /&gt;
|| As an '''Assignment,'''&lt;br /&gt;
&lt;br /&gt;
Print line numbers after every 3 lines in blue colour.&lt;br /&gt;
|- &lt;br /&gt;
|| '''Slide 8'''&lt;br /&gt;
&lt;br /&gt;
'''Thank you'''&lt;br /&gt;
&lt;br /&gt;
||  Thank you for joining&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>ANJALISATDIVE</name></author>	</entry>

	</feed>