如何使用where子句根据其中字符的长度获取输出
所以问题是我有以下问题: 显示表服装中的品牌列,其中长度(品牌)=10。
所以我使用了查询: select Brand fromclothing where length(Brand)=10; 这给了我一个空集的输出,所以我检查了我的表,看看它是否真的应该给出一个空集,答案是否定的。 因此,如果有人能够说出出了什么问题,那将会有很大帮助 下面给出了表格的图像和我尝试的输入。 表格图像和我提供的输入
So the thing is that I have the following question:
Display the column Brand from the table clothing where length(Brand)=10.
So I used the query: select Brand from clothing where length(Brand)=10;
This gives me the out put as an empty set, so I checked my table to see if it was actually supposed to give an empty set and the answer was no.
So if anyone would be able to tell what's going wrong then that would be of great help
The images for the table and the input I tried are given below.
Table image and the input I gave
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论