Data Engineers
Free Data Engineering Ebooks & Courses
Ko'proq ko'rsatish📈 Telegram kanali Data Engineers analitikasi
Data Engineers (@sql_engineer) Ingliz til segmentidagi kanali faol ishtirokchi. Hozirda hamjamiyat 10 884 obunachidan iborat bo'lib, Taʼlim toifasida 18 004-o'rinni va Hindiston mintaqasida 35 805-o'rinni egallagan.
📊 Auditoriya ko‘rsatkichlari va dinamika
невідомо sanasidan buyon loyiha tez o‘sib, 10 884 obunachiga ega bo‘ldi.
26 Avgust, 2026 dagi oxirgi ma’lumotlarga ko‘ra kanal barqaror faollikka ega. Oxirgi 30 kunda obunachilar soni 277 ga, so‘nggi 24 soatda esa 8 ga o‘zgardi va umumiy qamrov yuqori darajada qolmoqda.
- Tasdiqlash holati: Tasdiqlanmagan
- Jalb etish (ER): Auditoriya o‘rtacha 11.06% darajada jalb etiladi. Nashrdan keyingi dastlabki 24 soatda kontent odatda umumiy obunachilar sonining 2.83% ini tashkil etuvchi reaksiyalarni to‘playdi.
- Post qamrovi: Har bir post o‘rtacha 1 204 marta ko‘riladi; birinchi sutkada odatda 308 ta ko‘rish yig‘iladi.
- Reaksiyalar va o‘zaro ta’sir: Auditoriya faol: har bir postga o‘rtacha 5 ta reaksiya keladi.
- Tematik yo‘nalishlar: Kontent sql, learning, analytic, engineer, link:- kabi asosiy mavzularga jamlangan.
📝 Tavsif va kontent siyosati
Muallif resursni shaxsiy fikrni ifoda etish maydoni sifatida ta’riflaydi:
“Free Data Engineering Ebooks & Courses”
Yuqori yangilanish chastotasi (oxirgi ma’lumot 27 Avgust, 2026 da olingan) sababli kanal doimo dolzarb va katta qamrovli bo‘lib qoladi. Analitika auditoriya kontent bilan faol hamkorlik qilishini, uni Taʼlim toifasidagi muhim ta’sir nuqtasiga aylantirishini ko‘rsatadi.
MongoDB is a flexible, document-orientated, NoSQL database program that can scale to any enterprise volume without compromising search performance.This Post includes a MongoDB cheat sheet to make it easy for our followers to work with MongoDB. Working with databases Working with rows Working with Documents Querying data from documents Modifying data in documents Searching
netflix_data with the following columns:
- user_id: Unique identifier for each user
- subscription_plan: Type of subscription (e.g., Basic, Standard, Premium)
- genre: Genre of the content the user watched (e.g., Drama, Comedy, Action)
- timestamp: Date and time when the user watched a show
- watch_duration: Length of time (in minutes) a user spent watching
- country: User’s country
The main objective is to figure out how to get insights into user behavior, such as which genres are most popular or how watch duration varies across subscription plans.
---
### Typical Interview Question
> “Using the netflix_data table, find the top 3 genres by average watch duration in each subscription plan, and return both the genre and the average watch duration.”
This question tests your ability to:
1. Filter or group data by subscription plan.
2. Calculate average watch duration within each group.
3. Sort results to find the “top 3” within each group.
4. Handle tie situations or edge cases (e.g., if there are fewer than 3 genres).
---
### Step-by-Step Approach
1. Group and Aggregate
Use the GROUP BY clause to group by subscription_plan and genre. Then, use an aggregate function like AVG(watch_duration) to get the average watch time for each combination.
2. Rank Genres
You can utilize a window function—commonly ROW_NUMBER() or RANK()—to assign a ranking to each genre within its subscription plan, based on the average watch duration. For example:
AVG(watch_duration) OVER (PARTITION BY subscription_plan ORDER BY AVG(watch_duration) DESC)
(Note that in many SQL dialects, you’ll need a subquery because you can’t directly apply an aggregate in the ORDER BY of a window function.)
3. Select Top 3
After ranking rows in each partition (i.e., subscription plan), pick only the top 3 by watch duration. This could look like:
SELECT subscription_plan,
genre,
avg_watch_duration
FROM (
SELECT subscription_plan,
genre,
AVG(watch_duration) AS avg_watch_duration,
ROW_NUMBER() OVER (
PARTITION BY subscription_plan
ORDER BY AVG(watch_duration) DESC
) AS rn
FROM netflix_data
GROUP BY subscription_plan, genre
) ranked
WHERE rn <= 3;
4. Validate Results
- Make sure each subscription plan returns up to 3 genres.
- Check for potential ties. Depending on the question, you might use RANK() or DENSE_RANK() to handle ties differently.
- Confirm the data type and units for watch_duration (minutes, seconds, etc.).
---
### Key Takeaways
- Window Functions: Essential for ranking or partitioning data.
- Aggregations & Grouping: A foundational concept for Analytics Engineers.
- Data Validation: Always confirm you’re interpreting columns (like watch_duration) correctly.
By mastering these techniques, you’ll be better prepared for SQL interview questions that delve into real-world scenarios—especially at a data-driven company like Netflix.