I have a problem to solve where I need to calculate a proportion in SQL (to two decimals). I have a column of ids, and I need the proportion of these ids that meet a certain cri