| List: | General Discussion | « Previous MessageNext Message » | |
| From: | August Zajonc | Date: | April 23 2000 9:47pm |
| Subject: | UPDATE using values from other table. | ||
| View as plain text | |||
Mysql doesn't like the following: UPDATE ActiveSessions LEFT JOIN Users ON Users.UserID = ActiveSessions.UserID SET ActiveSessions.Status = Users.Status; or UPDATE ActiveSessions, Users SET ActiveSessions.Status = Users.Status WHERE Users.UserID = ActiveSessions.UserID; Is this something that looks like it SHOULD work? AZ
| Thread | ||
|---|---|---|
| • Table Design Question | lkeeton | 20 Apr |
| • undeleting table | Graeme B. Davis | 20 Apr |
| • Re: undeleting table | sinisa | 20 Apr |
| • Re: undeleting table | Thimble Smith | 20 Apr |
| • UPDATE Using values from another table... | August Zajonc | 24 Apr |
| • UPDATE using values from other table. | August Zajonc | 24 Apr |
| • Re: UPDATE using values from other table. | sinisa | 24 Apr |
| • Re: undeleting table | sasha | 20 Apr |
| • RE: undeleting table | Mark D Wolinski | 20 Apr |
| • Re: undeleting table | Thimble Smith | 20 Apr |
| • Re: undeleting table | Jeremy Cole | 20 Apr |
