Skip to content

Commit 4f2e28d

Browse files
committed
islam has updated basic join problems
1 parent 0f8f586 commit 4f2e28d

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

Basic Joins/05- Average Time of Process per Machine/README.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,10 @@ Let's rephrase the problem statement to make our life easier.
3939
<br>
4040
For every <code>machine</code> evaluate the following
4141

42-
![equation](https://latex.codecogs.com/gif.latex?round%28%20%5Cfrac%7B%28timestamp_%7Bend%7D%29%20-%20sum%28timestamp_%7Bstart%7D%29%7D%7Bcount%28process%29%7D%20%2C%203%29)
42+
$$
43+
round( \frac{(timestamp_{end}) - sum(timestamp_{start})}{count(process)} , 3)
44+
$$
45+
4346
<br>
4447
The easiest way is to solve this problem is to use aggregation functions.
4548
<br>

Basic Joins/09- Confirmation Rate/README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@ Let's rephrase the problem statement to make our life easier.
4040
<br>
4141
for each user divide the number of confirmed message with the total requested messages.
4242

43-
![equation](https://latex.codecogs.com/gif.latex?round%28%5Cfrac%7Bcount%28confirmed_messages%29%7D%7Bcount%28messages%29%7D%20%2C%202%29)
43+
$$
44+
round(\frac{count(confirmed_messages)}{count(messages)} , 2)
45+
$$
4446
<br>
4547
First, count the total requested messages for each user. we can use <code>COUNT()</code> function to evaluate this easily.
4648
<br>

0 commit comments

Comments
 (0)