97213529 郭益銘發表的部落格文章

97213529 郭益銘發表於2008年 12月 9日(週二) 10:22
世界任何人

select dog.Provider_no from provider dog
where dog.Provider_no not in



(select distinct Provider.Provider_no from



(
SELECT Provider.Provider_no,p1.Item_No
FROM Provide p1,Provider
where p1.Provider_no='001' and Provider.Provider_no not in
(SELECT provide.Provider_no FROM Provider INNER JOIN provide ON Provider.Provider_no = provide.Provider_no where p1.Item_no = provide.Item_no)
)



)
標籤: