Can you explain why you use select with count(user_id) as denominator of percentage calculation is their any other way to do the same?
@MdSalman-no1zc2 ай бұрын
Percentage= (Any one event/Total event)*100 🤔
@sheelusaini67107 ай бұрын
ye 2 ke bad ka jo bracket close kiya the wo open hi nhi kiya phir ye divide m hai to count ke sath jo bracket use kiya hai wo 2 ke sath kaise use kr skte hai
@StartPracticing7 ай бұрын
Wo bracket round function ke liye hai jo 2 ke baad close kiye hai
@saipradeep013 ай бұрын
here 208 and 209 and 210 had 100% but why 208 is top why not 209 and 210
@ankitraj41794 ай бұрын
confusing tha..select use samjh nhi aaya
@MdSalman-no1zc2 ай бұрын
Maam q copy paste kr rahi ho "distinct user_id" ka logic batao na
@fari_edu2020Ай бұрын
Distinct keyword is not required here as contest-id and user-id is a composite primary key.
@rupamsingh36912 ай бұрын
There are two tables, so why didn't you use joins?