{fzw:sql="select top 5 * from sl_history where yonghuming='18381067436' and leixing='视频学习' order by dtime desc" id="p1"}{fzw:p1:laiyuanbianhao/} {/fzw:sql}
{fzw:for:sql="select top 5 * from sl_history where yonghuming='18381067436' and leixing='视频学习' order by dtime desc" id="p1"}
{fzw:for:sql="select * from sl_kecheng where id={fzw:p1:laiyuanbianhao/} order by paixu desc,id desc" id="p2"}