SQL - Stumped on a SELECT - please help!

后端 未结 6 976
悲&欢浪女
悲&欢浪女 2021-01-27 17:52

I\'m trying to achieve the following in SQL Server 2005:

SELECT (IF EITHER EXISTS) usr.username, pro.email
FROM table1 AS usr, table2 AS pro
WHERE usr.username = \'ex         


        
6条回答
  •  太阳男子
    2021-01-27 18:26

    i think you should write Boolean logic for this query....

    refer this post may be it helps you. Boolean logic

提交回复
热议问题