MySQL变量

set @id=12345;
select * from users where id=@id;