Join Bill Weinman for an in-depth discussion in this video Creating a database, part of PostgreSQL 9 with PHP Essential Training.
As with most operations in Postgres, databases are created using SQL.…While it's certainly possible to just open up the pgSQL command line interface…and type "Create Database," this is not generally the best way to do it.…Instead we're going to use the pgAdmin III application to create a database.…So I'm just going to double-click here on the Postgres9.1 server and it'll go…ahead and login to that, because we had saved the password here before.…If you haven't saved the password, you might need to type your password.…
And I'm going to select the databases here, and we'll see that we've got these…three databases that we've already created plus the Postgres database, which is…required and will always be there.…You should never delete that.…It's used by the system.…So now to create a database all I do is, with this database is selected here in…the Object browser panel, I just click on this magic button up here, the…"create a new object of the same type" button, and that will bring up the New Database dialog.…
- 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
1. Quick Start
2. Creating a Database
3. Data Types
4. Storing and Reading Data
5. SQL Expressions
6. Mathematical Functions and Operators
Using math functions3m 2s
7. String Functions and Operators
8. Date and Time Functions and Operators
9. PHP Interfaces
10. Web Applications
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
Take 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.