http://qs1969.pair.com?node_id=551707


in reply to an efficient program?

I don't think I have a clear idea of your database structure. Is this all in one table? If so, can you give a slightly better idea what this table looks like?

Usually I try to put as much of the logic in my query as possible. Can you conceive of a way to do most of this work in your SQL?



-----------------
s''limp';@p=split '!','n!h!p!';s,m,s,;$s=y;$c=slice @p1;so brutally;d;$n=reverse;$c=$s**$#p;print(''.$c^chop($n))while($c/=$#p)>=1;