Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re^2: How many different varieties (color, size, etc) of socks do you have in your sock drawer?by chacham (Prior) |
on Oct 07, 2016 at 20:49 UTC ( [id://1173510]=note: print w/replies, xml ) | Need Help?? |
That code makes no sense. LIKE without a wildcard means equals, so the two conditions cancel each other out. Unless sock means color, in which case it would at best tell you what you have a set of. But for that, it would be much clearer to write:
Of course, that completely ignores ids (which sock) and the state of the sock. At the very least, you ought to check for State = 'Washed' or MIN(Times_Worn).
In Section
Past Polls
|
|