爷爷奶奶不喜欢孙子:sql问题 like %from1.title%
来源:百度文库 编辑:高考问答 时间:2024/05/09 07:24:39
select * from Minfo,M_movies where Minfo.matching like %M_movies.mtitle%
怎么进行包含查询啊 ..难道不能用字段包含吗?
自己解决了!
'%'+字段 +'%'
怎么进行包含查询啊 ..难道不能用字段包含吗?
自己解决了!
'%'+字段 +'%'
select * from Minfo a,M_movies b where a.matching like %b.mtitle%也不知行不行
直接写SQL语句不行。
自己编个存储过程。
是不可以的
'%'+字段 +'%'