题解 | 纠错4

纠错4

https://www.nowcoder.com/practice/bde1451b91084c8cab467387a0e0969c

with a as (
SELECT
    cust_name,
    cust_contact,
    cust_email
FROM
    Customers
WHERE
    cust_state = 'MI'

UNION all
 
SELECT
    cust_name,
    cust_contact,
    cust_email
FROM
    Customers
WHERE
    cust_state = 'IL'
)

select * from a
ORDER BY
    cust_name

全部评论

相关推荐

桌饺1:不是哥们儿,你学校有保研机会吗,这么高的绩点直接保研呗
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

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