sql problem
| From: | Fai | Date: | Tue, 26 Jun 2001 03:54:37 +0000 |
| Subject: | sql problem | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-9818@lists.php.net to get a copy of this message | ||
SELECT @A:=SUM(salary) FROM table1 WHERE type=1;
UPDATE table2 SET summmary=@A WHERE type=1;
What does @A: mean?
Thank you very much!