Join question
- From: tedd@xxxxxxxxxxxx (tedd)
- Date: Thu, 29 Nov 2007 15:41:51 -0500
Hi gang:
I'm trying to understand joins,
Here's the situation. I have two tables (user1, user2) in one database:
The common field between the two tables is "username". I want to take fields "login" and "password" from user2 and populate the same fields in user1.
Currently, the table user1 has 5303 entries, whereas user2 has 5909.
What I want at the end of this is for table user1 to have the same number of entries as table user2.
Now, how do I set up the query?
TIA for any suggestions.
Cheers,
tedd
PS: Side note -- will safe_mode ON cause problems with this?
--
-------
http://sperling.com http://ancientstones.com http://earthstones.com
.
- Follow-Ups:
- Re: [PHP] Join question
- From: Crayon Shin Chan
- Re: [PHP] Join question
- From: Robert Cummings
- Re: [PHP] Join question
- Prev by Date: WSDL Question
- Next by Date: Re: [PHP] Join question
- Previous by thread: WSDL Question
- Next by thread: Re: [PHP] Join question
- Index(es):