全部版块 我的主页
论坛 站务区 十一区 新手入门区
1247 0
2015-01-23
现在需要frist name, email, attendeeID . ordered by first name.这段code应该如何modify
select a.attendeeid, attendeefirstname, attendeelastname, attendeeemail, c.companyname, c.companycountry, r.eventid, r.ordertypecode
from tblregistrationorders r inner join tblattendees a on r.attendeeid = a.attendeeid
inner join tblcompanies c on c.companyid = a.attendeecompanyid
where eventid like 'RSS%'
and (ordertypecode = 'Paid Attendee' or ordertypecode = 'Speaker' or ordertypecode = 'Sponsor Comp' or ordertypecode = 'Advisor')
and ordercanceldate is null
and (substitutedbyordernum is null or substitutedbyordernum = '0' or substitutedbyordernum = '')


二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群