sitepoint_day3_database design multi-table queries

2
Become a better web developer. Home Products Courses Forums Blogs Podcast Articles Reference Marketplace Help You are logged in as: adminloozer x SitePoint Courses > PHP Live > Database Design: Multi-table Queries Back to the dashboard Lesson 8: Database Design: Multi-table Queries Today and tomorrow you’ll expand your understanding of database design by looking at examples where you’ll need more than one table. Today’s Tasks Watch a video: Welcome to Day 8 1. Download today’s code: day8code.zip (5KB) 2. Read an article: Rule of Thumb: Keep Entities Separate This is a rule of thumb that you should always keep in mind when designing a database: each type of entity (or “thing”) about which you want to be able to store information should be given its own table. 3. Watch a video: SELECT with Multiple Tables 4. Join a Discussion: Challenge: Update joke list to display author info 5. Lessons Week 1 Lesson 1: PHP & MySQL Lesson 2: Your First Database Lesson 3: Introducing PHP Lesson 4: PHP Language Lesson 5: Recorded Q&A Week 2 Lesson 6: Displaying MySQL Content Lesson 7: Adding and Removing Content with PHP Lesson 8: Database Design: Multi-table Queries Lesson 9: Database Design: Complex Relationships Lesson 10: Recorded Q&A Week 3 Lesson 11: Structured PHP Programming Lesson 12: A Content Management System (#1) Lesson 13: A Content Management System (#2) Lesson 14: Sessions and Access Control Lesson 15: Recorded Q&A Back to the dashboard Search this site PHP Live Lesson 8 "Database Design: Multi-table Queries" http://courses.sitepoint.com/php-live/lesson/8 1 sur 2 14/12/2010 16:32

Upload: michel-lecomte

Post on 24-Mar-2016

212 views

Category:

Documents


0 download

DESCRIPTION

Home Products Courses Forums Blogs Podcast Articles Reference Marketplace Help Week 1 Week 2 Week 3 Watch a video: Welcome to Day 8 Download today’s code: day8code.zip (5KB) Watch a video: SELECT with Multiple Tables Read an article: Rule of Thumb: Keep Entities Separate Lessons Join a Discussion: Challenge: Update joke list to display author info Lesson 1: PHP & MySQL Lesson 2: Your First Database Lesson 3: Introducing PHP Lesson 4: PHP Language Lesson 5: Recorded Q&A 1. 2. 3. 4. 5.

TRANSCRIPT

Become a better web developer.

Home Products Courses Forums Blogs Podcast Articles Reference Marketplace Help

You are logged in as:

adminloozer x

SitePoint Courses > PHP Live > Database Design: Multi-table Queries

← Back to the dashboard

Lesson 8: Database Design: Multi-table Queries

Today and tomorrow you’ll expand your understanding of database design by looking atexamples where you’ll need more than one table.

Today’s Tasks

Watch a video: Welcome to Day 81.

Download today’s code: day8code.zip (5KB)2.

Read an article: Rule of Thumb: Keep Entities Separate

This is a rule of thumb that you should always keep in mind when designing adatabase: each type of entity (or “thing”) about which you want to be able to storeinformation should be given its own table.

3.

Watch a video: SELECT with Multiple Tables4.

Join a Discussion: Challenge: Update joke list to display author info5.

Lessons

Week 1Lesson 1: PHP & MySQLLesson 2: Your First DatabaseLesson 3: Introducing PHPLesson 4: PHP LanguageLesson 5: Recorded Q&A

Week 2Lesson 6: Displaying MySQL ContentLesson 7: Adding and RemovingContent with PHPLesson 8: Database Design: Multi-tableQueriesLesson 9: Database Design: ComplexRelationshipsLesson 10: Recorded Q&A

Week 3Lesson 11: Structured PHPProgrammingLesson 12: A Content ManagementSystem (#1)Lesson 13: A Content ManagementSystem (#2)Lesson 14: Sessions and AccessControlLesson 15: Recorded Q&A

Back to the dashboard

Search this site

PHP Live Lesson 8 "Database Design: Multi-table Queries" http://courses.sitepoint.com/php-live/lesson/8

1 sur 2 14/12/2010 16:32

Web Design & Development by SitePoint Solutions, Melbourne, Australia | Logo Design, Web page Design: 99designs.com Back to top

Missing your text editor with today’s database fest? Why not try using your freshly-expanded database structure by updating the joke list example to display theauthor’s name (maybe even linked to their email address) next to each joke? Hint:the last SELECT query we looked at in the previous video will come in handy.

That’s all for Lesson 8! Next up is Database Design: Complex Relationships.

All done for this lesson? Tell the world via Twitter!

I’ve completed this lesson.

Leave more feedback for theinstructor:

Have a question about this lesson?Visit the forum

Need help with your account? Emailthe team

PHP Live Lesson 8 "Database Design: Multi-table Queries" http://courses.sitepoint.com/php-live/lesson/8

2 sur 2 14/12/2010 16:32