比如说titles表中。我想找Description列中包括 beers AND ales,并且title_id列等于‘###’的
那是不是就是?
---------------------------------
SELECT title_id, title, ytd_sales
FROM titles
WHERE CONTAINS(Description, ' beers AND ales ' ) and title_id="####"
GO
你CONTAINS( Description, ' beers AND ales ' )
beers AND ales 搜索出来的还是在Description吧
但是我要这样的呢
比如说titles表中。我想找Description列中包括 beers AND ales,并且title_id列等于‘###’的
那是不是就是?
USE pubs
GO
SELECT title_id, title, ytd_sales
FROM titles
WHERE CONTAINS( title, ' cooking AND NOT ("computer*" )' ) and Title="####"
GO