I tried using STRING functions from SQL (like UCASE, UPPER etc) on various iterations of queries http://quarry.wmflabs.org/query/3671 and http://quarry.wmflabs.org/query/3669 but none of these functions seem to work. Is that a Quarry issue, or am I doing something wrong?
Description
Description
Event Timeline
Comment Actions
This is because the fields are stored as raw bytes in a VARBINARY field. You need to cast the field to an encoding before it MySQL knows that the byte for "t" corresponds to the byte for "T".
See http://quarry.wmflabs.org/query/3919 for an example. :)
Note that converting the type of a VARBINARY column (like titles, names, etc) will make it so that you can no longer use the indexes that were built on it. So, these functions are best used in the SELECT clause right before output (as @Soni did in his example queries).