slq select查询显示列标题而不是列中的数据

时间:2018-08-23 12:34:05

标签: mysql

SELECT Week, Date, Male, Female, Children, Total, No_Of_Meetings, Total_Attendance, Visitors, New_Cells_Created, Cells_Closed, No_Of_Leaders, Members_Who_Have_Joined_Cell, Decisions_Made_For_Christ, Pers_Established_In_Local_church, Bible_Study_Groups, Bible_Study_Leaders, Endorsed_By, Designation, contact FROM `Week_Report` WHERE Cellname = 'John'

使用

SELECT * FROM `Week_Report` WHERE Cellname = 'Bibiani'

引用单元名称列标题

2 个答案:

答案 0 :(得分:0)

如果您仅看到标题列作为查询的结果,则表明该查询没有任何结果。

答案 1 :(得分:0)

记录的前后都有空白,因此sql找不到'Bibiani',因为实际记录就像'Bibiani'