In SQLite, how can I select records where some_column is empty?
Empty counts as both NULL and "".
相关问题
- SQL join to get the cartesian product of 2 columns
- sql execution latency when assign to a variable
- Difference between Types.INTEGER and Types.NULL in
- php PDO::FETCH_ASSOC doesnt detect select after ba
- how to get selected text from iframe with javascri
It looks like you can simply do:
Test case:
Result:
Maybe you mean
but I can't tell since you didn't really ask a question.
There are several ways, like:
or
or
of
You can do this with the following:
This will give you the no of rows where the column value is null or blank.