题解 | #判断其是否有过购买记录#

判断其是否有过购买记录

https://www.nowcoder.com/practice/5cddad8995974b0c915ab89961428ee0

select customer_id
,case
when latest_place_order_date is not null then '1'
when latest_place_order_date is null then '0'
end if_placed_order
from customers_info

全部评论

相关推荐

评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务