On 10/17/2016 10:32 AM, Daniel Polski wrote:



Den 2016-10-17 kl. 16:03, skrev Igor Tandetnik:
select unit, sum(1 << bit_position) from table1 where val group by unit;

Wow!!

Thanks alot!

Alot accepts expressions of gratitude but wonders why they are being addressed to it:
http://hyperboleandahalf.blogspot.com/2010/04/alot-is-better-than-you-at-everything.html

--
Igor Tandetnik

_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to