mysql>
mysql> SET @t1=0, @t2=1, @t3=2;
Query OK, 0 rows affected (0.00 sec)
mysql>
mysql> select @t1;
+------+
| @t1 |
+------+
| 0 |
+------+
1 row in set (0.00 sec)
mysql> select @t2;
+------+
| @t2 |
+------+
| 1 |
+------+
1 row in set (0.00 sec)
mysql> select @t3;
+------+
| @t3 |
+------+
| 2 |
+------+
1 row in set (0.00 sec)
mysql>
|