select left (content,1) as abstract ,id from tiku_items_options where item_id = “28606”
本人想这样写
select left (content,1) as abstract ,id from tiku_items_options where item_id = “28606” where abstract = “A”;
但是不行。
问一下一下有什么办法可以筛选吗?
本人想这样写
select left (content,1) as abstract ,id from tiku_items_options where item_id = “28606” where abstract = “A”;
但是不行。
问一下一下有什么办法可以筛选吗?
解决方案
10
select left (content,1) as abstract ,id from tiku_items_options where item_id = “28606” where left (content,1)= “A”;
10
select left (content,1) as abstract ,id from tiku_items_options where item_id = “28606” where left (content,1) = “A”;