📜  客户使用 hdfc 银行 sql 查询 - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:00.535000             🧑  作者: Mango

代码示例1
select distinct u.name, u.address from users u
join bookingdetails b on b.user_id = u.user_id
where u.user_id not in 
( select user_id from bookingdetails where name='HDFC')
order by u.name;