Advertisement
Advertisement

新足迹

 找回密码
 注册
新足迹 门户 IT专业论坛 查看内容

sql 初级问题。 呼唤达人。

2010-10-21 09:17| 发布者: 澳贼 | 查看: 3572| 原文链接

two tables.

table A {account, accountName}

table B {account}

如何一个statement,

select  account, accountName, C(if account in table b, "yes", otherwise, "No") from A
Advertisement
Advertisement


Advertisement
Advertisement
返回顶部