<?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%2FCreate-database-using-PgAdmin%2FEnglish-timed</id>
		<title>RDBMS-PostgreSQL/C2/Create-database-using-PgAdmin/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%2FCreate-database-using-PgAdmin%2FEnglish-timed"/>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=RDBMS-PostgreSQL/C2/Create-database-using-PgAdmin/English-timed&amp;action=history"/>
		<updated>2026-04-28T06:07:14Z</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/Create-database-using-PgAdmin/English-timed&amp;diff=45689&amp;oldid=prev</id>
		<title>Sandhya.np14 at 11:40, 4 February 2019</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=RDBMS-PostgreSQL/C2/Create-database-using-PgAdmin/English-timed&amp;diff=45689&amp;oldid=prev"/>
				<updated>2019-02-04T11:40: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/Create-database-using-PgAdmin/English-timed&amp;amp;diff=45689&amp;amp;oldid=45655&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/Create-database-using-PgAdmin/English-timed&amp;diff=45655&amp;oldid=prev</id>
		<title>PoojaMoolya: Created page with &quot; {| border=1 |  '''Time'''  |  '''Narration'''   |-  | 00:01 | Welcome to the''' Spoken Tutorial''' on''' Create a database using pgAdmin.'''   |-  | 00:07 | In this tutorial...&quot;</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=RDBMS-PostgreSQL/C2/Create-database-using-PgAdmin/English-timed&amp;diff=45655&amp;oldid=prev"/>
				<updated>2019-01-30T10:58:54Z</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; Create a database using pgAdmin.&amp;#039;&amp;#039;&amp;#039;   |-  | 00:07 | In this tutorial...&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''' Create a database using pgAdmin.''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 00:07&lt;br /&gt;
| In this tutorial we will learn about how to connect to the server &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 00:12&lt;br /&gt;
|  '''database''' and its objects &lt;br /&gt;
&lt;br /&gt;
How to create a database &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 00:17&lt;br /&gt;
|  '''Table''' and its '''attributes''' and  how to create a '''table''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 00:23&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:30&lt;br /&gt;
|  '''PostgreSQL 9.3.x''' and  '''pgAdmin 1.18''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 00:38&lt;br /&gt;
| To follow this tutorial, you should have good understanding of basic computer concepts and &lt;br /&gt;
&lt;br /&gt;
working knowledge of any programming language. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 00:48&lt;br /&gt;
| Let us open the '''pgAdmin'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 00:51&lt;br /&gt;
| Click''' Dash Home''' on the top left corner of the computer desktop. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 00:56&lt;br /&gt;
| In the '''Search box''', type''' pgAdmin'''. The '''pgAdmin''' icon appears. Click on it. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|01:05&lt;br /&gt;
| The '''pgAdmin''' interface is opened now. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 01:09&lt;br /&gt;
| Here, on the left hand side we can see the object browser pane. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 01:14&lt;br /&gt;
| The various objects of the database are displayed here. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 01:18&lt;br /&gt;
| The upper right pane shows the relevant properties of each object. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 01:23&lt;br /&gt;
| The lower right pane is the '''SQL''' pane where the script of the currently selected object is displayed. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 01:30&lt;br /&gt;
| Let us see how to connect to the '''server'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 01:33&lt;br /&gt;
| Click on the '''connection icon''' on the top left corner of the tool bar. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 01:39&lt;br /&gt;
| '''New Server Registration''' window appears. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 01:43&lt;br /&gt;
| In the '''Properties tab''', enter '''localhost''' in the '''Name''' field and '''localhost''' in the '''Host '''field. &lt;br /&gt;
&lt;br /&gt;
Keep all the other parameters same. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 01:56&lt;br /&gt;
| The '''database''' name, and the '''Username''' which are shown here are the names given during installation. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 02:03&lt;br /&gt;
| Enter the '''password''' which you gave during installation. &lt;br /&gt;
&lt;br /&gt;
Click on '''Ok''' button. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 02:10&lt;br /&gt;
| Small pop-up windows will appear from time to time. &lt;br /&gt;
&lt;br /&gt;
These give additional information for our understanding. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 02:18&lt;br /&gt;
| Always click on this check box ''''Do not show this hint again'''', before you close these windows. &lt;br /&gt;
&lt;br /&gt;
I won't explicitly mention this. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 02:27&lt;br /&gt;
| Click on '''Ok''' button. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 02:30&lt;br /&gt;
| Here, we can see the connection established to '''localhost'''. &lt;br /&gt;
&lt;br /&gt;
Click on the '''localhost''' node. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 02:38&lt;br /&gt;
| We can see several objects for this particular '''server'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 02:42&lt;br /&gt;
| Now click on the '''Databases''' node. &lt;br /&gt;
&lt;br /&gt;
The default '''database 'postgres'''' that is created during installation is displayed here. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 02:52&lt;br /&gt;
| '''Database''' is a collection of information or data, which is stored in an organized way. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 02:59&lt;br /&gt;
| A '''database''' has objects such as '''tables, views, procedures, functions, etc.''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 03:07&lt;br /&gt;
| We will learn about these objects in the future tutorials in this series. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 03:12&lt;br /&gt;
| We can have multiple '''databases''' depending upon our application requirement. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 03:18&lt;br /&gt;
| Switch back to '''pgAdmin''' interface. &lt;br /&gt;
|- &lt;br /&gt;
| 03:21&lt;br /&gt;
| Now, we will create a new '''database''' for our demonstration purpose. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 03:26&lt;br /&gt;
| Right-click on the '''Databases''' node and select '''New Database.''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 03:31&lt;br /&gt;
| Type '''Sampledb''' as the '''database''' name and click '''Ok'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 03:37&lt;br /&gt;
| Now, we can see the '''database''' is listed under the '''database''' node, which we created just now. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 03:44&lt;br /&gt;
| Next we will add a '''student table''' to this '''sampledb database'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 03:50&lt;br /&gt;
| What is table? In '''RDBMS,''' we store data in database objects called '''tables'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 03:58&lt;br /&gt;
| A '''table''' is a collection of related data that is stored in '''rows''' and '''columns '''format. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 04:04&lt;br /&gt;
| This is an example of a '''STUDENT''' table. &lt;br /&gt;
&lt;br /&gt;
'''Tables''' have columns which are called as '''fields'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 04:11&lt;br /&gt;
| The fields in the '''STUDENT table''' are '''Student ID, student name, address, city, Phone, Date of birth, CGPA etc''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 04:22&lt;br /&gt;
| A column is a set of value of a particular '''data type'''. This is also called as '''attribute'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 04:30&lt;br /&gt;
| Here in the '''STUDENT''' table, '''Student Name''' is one of the '''attribute''' that represents names of students. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 04:37&lt;br /&gt;
| Now switch back to the interface. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 04:41&lt;br /&gt;
| To create a new '''table''' in '''Sampledb database''', click on the '''Sampledb''' node. &lt;br /&gt;
&lt;br /&gt;
Then click '''Schemas''' and then '''Public''' and '''Tables'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 04:53&lt;br /&gt;
| Right-click on the '''table''' node and select '''New Table.''' &lt;br /&gt;
&lt;br /&gt;
Let us give “'''students'''” as '''table''' name. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 05:02&lt;br /&gt;
| Click on the '''Columns''' tab to enter the columns for this '''table'''. &lt;br /&gt;
&lt;br /&gt;
Click on the '''Add''' button. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 05:10&lt;br /&gt;
| In the new window that opens, enter '''Student name''' in the '''Name''' field. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 05:15&lt;br /&gt;
| Select '''character varying''' as '''data type''' from the drop-down list box. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 05:20&lt;br /&gt;
| The '''data type''' specifies what '''type''' of data the field can hold. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 05:25&lt;br /&gt;
| Enter 50 as the length of the field. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 05:29&lt;br /&gt;
| The length specifies the maximum length of the column of the '''table'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 05:34&lt;br /&gt;
| Click '''Ok''' button to add column to the '''table'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 05:39&lt;br /&gt;
| We will see what are the common '''data types''' used in '''PostgreSQL'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 05:44&lt;br /&gt;
| '''Integer, numeric''' represents '''numeric data type'''&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 05:48&lt;br /&gt;
| For example, phone no, age, quantity are of '''numeric data type'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 05:55&lt;br /&gt;
| '''numeric(n,d) - '''is also '''numeric data type''' with decimal places. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 06:01&lt;br /&gt;
| Here n is the total digits and d is the number of digits after the decimal. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 06:07&lt;br /&gt;
| It can be used to represents fields like basic salary, unit price etc. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 06:14&lt;br /&gt;
| '''char''' and '''character varying''' represents '''string data type'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 06:19&lt;br /&gt;
| Fields such as name, address, email are of '''string data type'''. &lt;br /&gt;
&lt;br /&gt;
'''Text''' is a '''string data type''' with unlimited length. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 06:29&lt;br /&gt;
| '''Date''' represents '''date data type.''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 06:33&lt;br /&gt;
| Likewise, I'll add '''City''' column with '''character varying data type''' and length as 40. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 06:41&lt;br /&gt;
| Add the column '''Gender''' as shown. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 06:45&lt;br /&gt;
| Add a '''Date of Birth''' column with '''date data type'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 06:49&lt;br /&gt;
| Next add a '''CGPA''' field. Select the '''data type''' as '''numeric'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 06:56&lt;br /&gt;
| Enter 2 as length and 1 as precision. This is same as the '''decimal data type'''. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 07:03&lt;br /&gt;
| We have entered all the columns for the '''student''' table.  Click on '''Ok''' button. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 07:11&lt;br /&gt;
| A window shows some message about '''Primary keys'''. &lt;br /&gt;
&lt;br /&gt;
We will see the importance of '''Primary keys''' in the future tutorials. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 07:21&lt;br /&gt;
| We can see the '''student table''' is created in the '''sampledb database'''. &lt;br /&gt;
&lt;br /&gt;
Click on it. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|07:28&lt;br /&gt;
| In the '''SQL pane''' we can see the syntax of the '''create table command''' generated automatically. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 07:35&lt;br /&gt;
| With this, we come to the end of this tutorial. Let us summarize. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 07:40&lt;br /&gt;
| In this tutorial, we have learnt -  how to connect to the '''server''' &lt;br /&gt;
&lt;br /&gt;
'''database''' and its objects &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 07:47&lt;br /&gt;
| How to create a '''database''' &lt;br /&gt;
&lt;br /&gt;
'''Table''' and its '''attributes''' and  how to create a '''table''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 07:54&lt;br /&gt;
| As an Assignment, Connect to the '''server''' and check the default available '''database''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 08:00&lt;br /&gt;
| Create a new '''database Organization'''.  In the '''Organization database, '''create a '''table Emp''' with the columns '''Emp name, Address, Date of Birth and Salary.''' &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 08:13&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;
| 08:20&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;
| 08:28&lt;br /&gt;
| Please post your timed queries in this forum. &lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 08:32&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;
| 08:44&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>