Separating pk and WHERE
Separating pk and WHERE

adding a space after pk in:

ON tx_pk = pkWHERE color_id = $1

to get:

ON tx_pk = pk WHERE color_id = $1

chromaway/cc-scanner,jeorgen/cc-scanner,chromaway/cc-scanner,jeorgen/cc-scanner