Join Bill Weinman for an in-depth discussion in this video Creating a database, part of PostgreSQL 9 with PHP Essential Training.
In order to create a database in Postgres, you will need to have sufficient…permission, and while it's possible to assign sufficient permission to a normal…user or, say, a user that's only logged in from a particular application, it's…generally a bad idea.…So you'll normally need to have superuser permission in order to create a…database. And given that restriction, the easiest way to create a database is to…launch the pgAdmin application, where you have superuser permission by default.…
So here's the pgAdmin application.…I am going to double-click on our database here…so we get logged in, and click on Databases.…You can see here the databases that we've already created when you installed…Postgres, and the Postgres database, which is the default database it's the…administrative database--…you need that in order for the system to work,…so don't ever delete that one.…Now let's go ahead and create a database. This is very easy.…We simply select Databases in the object browser and press the magical "create…
Author
Released
11/10/2011- Installing PostgreSQL
- Understanding database architecture
- Inserting, updating, and deleting data in a table
- Creating a database library
- Indexing ID fields
- Storing numbers, text, and Boolean values
- Reading data
- Using casts to force type
- Using mathematical functions
- Concatenating strings
- Working with date and time functions and operators
- Defining CRUD
- Using PHP to insert, read, update, and delete rows in a database
Skill Level Beginner
Duration
Views
Related Courses
-
Ruby on Rails 4 Essential Training
with Kevin Skoglund12h 41m Beginner -
Git Essential Training
with Kevin Skoglund6h 25m Beginner -
SQL Essential Training
with Bill Weinman3h 27m Beginner
-
Introduction
-
Welcome54s
-
Prerequisites3m 19s
-
Installing PostgreSQL on a Mac14m 49s
-
Installing PostgreSQL on a PC11m 16s
-
Installing XAMPP and SID on a PC13m 34s
-
-
1. Quick Start
-
Creating a database5m 28s
-
Creating a table7m 1s
-
Inserting data into a table8m 25s
-
Getting data from a table4m 37s
-
Updating data in a table4m 29s
-
Creating a database library7m 20s
-
2. Creating a Database
-
Creating a database7m 14s
-
Defining a table in SQL5m 35s
-
Creating a table in PHP6m 41s
-
Creating indexes5m 20s
-
Indexing ID fields3m 26s
-
3. Data Types
-
Understanding data types2m 53s
-
Storing text3m 17s
-
Storing Boolean values2m 11s
-
Storing dates and times4m 49s
-
-
4. Storing and Reading Data
-
Reading data with SELECT5m 24s
-
Reading with JOIN4m 16s
-
5. SQL Expressions
-
Matching patterns with LIKE2m 51s
-
Using casts to force type2m 26s
-
6. Mathematical Functions and Operators
-
Using math functions3m 2s
-
7. String Functions and Operators
-
Concatenating strings1m 34s
-
Trimming and padding strings2m 49s
-
Converting numbers1m 48s
-
8. Date and Time Functions and Operators
-
9. PHP Interfaces
-
Choosing an interface1m 39s
-
Using the PDO interface9m 53s
-
Creating a library11m 19s
-
-
10. Web Applications
-
Defining CRUD4m 18s
-
Managing the database in PHP3m 29s
-
-
Conclusion
-
Goodbye31s
-
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.
CancelTake notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.
Share this video
Embed this video
Video: Creating a database