Simple table object with only two columns: id and cdate (date created). I need and sql query which would additionally show third column: number of objects created before each object. Simple counting is not an option – I need an explicit date comparison in the query.
Many thanks in advance!
Simple table object with only two columns: id and cdate (date created). I need
Share
Should suck performance-wise, as it has to count that for every row obviously. Doing this in your frontend would be better.