Thread
:
IF statement in virtual libraries
View Single Post
11-01-2016, 05:34 AM
#
6
sbin
Voracious reader
Posts: 56
Karma: 14644
Join Date: Oct 2009
Device: Kobo Aura One, Sony PRS T2, iPhone 6, Cybook Orizon, Cybook Gen3
In my custom column "read", a 0 value means an abandoned book, while an unread book has an empty value. So I just had to change 0 with NULL in your query and it worked like I wanted to.
Thank you!
sbin
View Public Profile
Visit sbin's homepage!
Find More Posts by sbin
Track Posts by sbin via RSS