English
Open in Telegram

Post 🚀 SQL Project Series #2

21 September 2026
D
Data Analytics Projects - SQL, Excel, Tableau, Python & Power BI Interview Resources
🚀 SQL Project Series #2 E-Commerce Sales Analysis – SQL Business Questions Now that our database is ready, let's solve real-world business problems using SQL. 📊 Business Questions 1. Calculate Total Revenue SELECT SUM(quantity * unit_price) AS total_revenue FROM order_items; 2. Count Total Orders SELECT COUNT(*) AS total_orders FROM orders; 3. Count Total Customers SELECT COUNT(*) AS total_customers FROM customers; 4. Count Total Products SELECT COUNT(*) AS total_products FROM products; 5. Calculate Average Order Value (AOV) SELECT ROUND( SUM(quantity * unit_price) / COUNT(DISTINCT order_id), 2 ) AS average_order_value FROM order_items; 6. Find Top 5 Selling Products SELECT p.product_name, SUM(oi.quantity) AS total_quantity FROM order_items oi JOIN products p ON oi.product_id = p.product_id GROUP BY p.product_name ORDER BY total_quantity DESC LIMIT 5; 7. Find Revenue by Product Category SELECT p.category, SUM(oi.quantity * oi.unit_price) AS revenue FROM order_items oi JOIN products p ON oi.product_id = p.product_id GROUP BY p.category ORDER BY revenue DESC; 8. Find Top 5 Customers by Revenue SELECT c.customer_name, SUM(oi.quantity * oi.unit_price) AS revenue FROM customers c JOIN orders o ON c.customer_id = o.customer_id JOIN order_items oi ON o.order_id = oi.order_id GROUP BY c.customer_name ORDER BY revenue DESC LIMIT 5; 9. Calculate Monthly Revenue SELECT DATE_TRUNC('month', o.order_date) AS month, SUM(oi.quantity * oi.unit_price) AS revenue FROM orders o JOIN order_items oi ON o.order_id = oi.order_id GROUP BY DATE_TRUNC('month', o.order_date) ORDER BY month; 10. Find Revenue by City SELECT c.city, SUM(oi.quantity * oi.unit_price) AS revenue FROM customers c JOIN orders o ON c.customer_id = o.customer_id JOIN order_items oi ON o.order_id = oi.order_id GROUP BY c.city ORDER BY revenue DESC; 🎯 SQL Concepts Practiced: Aggregate Functions, GROUP BY, ORDER BY, INNER JOIN, LIMIT, Date Functions, Business KPI Calculations 💡 Double Tap ❤️ For More!
868 ·

Nearby in the feed

DData Analytics Projects - SQL, Excel, Tableau, Python & Power BI Interview Resources🚀 SQL Project Series #1 E-Commerce Sales Analysis Project 🛒 Build a real-world SQL project from scratch and learn the SQL skills required for Data Analyst interDData Analytics Projects - SQL, Excel, Tableau, Python & Power BI Interview Resources𝗙𝗥𝗘𝗘 𝗔𝗜 𝗖𝗮𝗿𝗲𝗲𝗿 𝗠𝗮𝘀𝘁𝗲𝗿𝗰𝗹𝗮𝘀𝘀 🚀 Join this expert-led masterclass and discover how to become industry-ready for high-growth AI roles. 📅 Date: 24 September 2026 ⏰ Ti
this message
DData Analytics Projects - SQL, Excel, Tableau, Python & Power BI Interview Resources🎓 𝗦𝘁𝗮𝗻𝗳𝗼𝗿𝗱 𝗨𝗻𝗶𝘃𝗲𝗿𝘀𝗶𝘁𝘆 𝗙𝗥𝗘𝗘 𝗢𝗻𝗹𝗶𝗻𝗲 𝗖𝗼𝘂𝗿𝘀𝗲𝘀! 🚀 Explore free online learning opportunities from Stanford University across technology, business and more! 💻 Tech & DData Analytics Projects - SQL, Excel, Tableau, Python & Power BI Interview Resources🚀 𝗧𝗼𝗽 𝟳 𝗙𝗥𝗘𝗘 𝗠𝗶𝗰𝗿𝗼𝘀𝗼𝗳𝘁 𝗖𝗼𝘂𝗿𝘀𝗲𝘀 𝘁𝗼 𝗟𝗲𝗮𝗿𝗻 𝗗𝗮𝘁𝗮 𝗔𝗻𝗮𝗹𝘆𝘁𝗶𝗰𝘀! 📊 Want to start a career in Data Analytics? Explore these 7 free Microsoft-backed learning resources cov
DData Analytics Projects - SQL, Excel, Tableau, Python & Power BI Interview ResourcesData Analytics Projects - SQL, Excel, Tableau, Python & Power BI Interview Resources@sqlproject · channel · Tech
39 664subscribers554average post reach
Venue feed Open in Telegram

An open public feed from the search index ChatCrawler — “Google for public Telegram”; refreshed as the venue is crawled. Times are UTC.

Public content only, official Telegram API. About · FAQ · Index limits · Remove a page · Catalog · Search · How we count