View Single Post
Old 12-19-2009, 08:28 PM   #3
BaselBimbooooo

Join Date
Oct 2005
Posts
646
Senior Member
Default
I'm curious what results this would return (theoretical tables, since I don't know the structure)

SELECT CAST(COUNT(CASE WHEN Shout LIKE '%drunk%' THEN 1 END) AS FLOAT) / CAST(COUNT(*) AS FLOAT)
FROM Shoutbox WHERE user = 'Goku'

My guess is ~.25
BaselBimbooooo is offline


 

All times are GMT +1. The time now is 09:10 AM.
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Design & Developed by Amodity.com
Copyright© Amodity