我試圖實現以下mysql命令嘗試獲取無null值的行,
這是表tbtext:
id text
1
2 number2
3 number3
4
create table tbtext(
id unsigned int auto_increment primary key,
text char(7)
)
我嘗試了 select * from tbtext where text is not null
,但它返回整行而不返回第3行和第4行。我是mysql的新手,任何人都可以幫助我,謝謝提前。