gpt4 book ai didi

java - MySQL 返回空结果

转载 作者:太空宇宙 更新时间:2023-11-03 10:38:13 25 4
gpt4 key购买 nike

大家好,我的数据库中有这些数据

以及我尝试执行此 SQL 命令的位置

SELECT * FROM `adherent` WHERE nom="arfaoui"

它返回这个空结果 enter image description here

谁能帮帮我!!!!

最佳答案

试试这个查询:

SELECT nom, LENGTH(nom)
FROM `adherent`
WHERE nom LIKE "%arfaoui%"

它将返回该行以及字符数。这应该有助于查明它是否包含空格或任何其他字符。

关于java - MySQL 返回空结果,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43665971/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com