From surenkid, 3 Months ago, written in MySQL.
Embed
  1. SELECT v.nickname 昵称,v.`name` 姓名,v.mobile 手机号,w.`level` 奖项,w.`time` 抽奖时间
  2. FROM `wfx_wheel_record` w
  3. LEFT JOIN wfx_vip v ON w.user_id = v.id
  4. WHERE w.id > 3004