> 3. Ezután az eredmény:
> mysql> select length(concat(o1,o2,o3,o4,o5)) \
> - length(replace(concat(o1,o2,o3,o4,o5),'1','')) \
> as 1_elofordulas from jegyek;
Talán jelen esetben
mysql> select 5 - length(replace(concat(o1,o2,o3,o4,o5),'1','')) \
as 1_elofordulas from jegyek;
SzTZs
_______________________________________________
Techinfo mailing list
[email protected]
Fel- és leiratkozás: http://lista.sulinet.hu/mailman/listinfo/techinfo
Illemtan: http://www.szag.hu/illemtan.html
Ügyfélszolgálat FAQ: http://sulinet.niif.hu/