SELECT * FROM table WHERE id=$rand