Create var in MySQL Statement