
Free classes, interview prep and guides.
Join a free masterclass, practise with 20 industry interview sets, and read guides written by our mentors.
Free masterclasses
Live with our mentors. Register free: we email you the joining link and a reminder.


AI-Driven Professional: Skills for the Future of Work
with Nazmus Sakib · CEO & Managing Director, Data Solution 360
AI for Research
with Taslima Khatun · Lead Instructor, Data Solution 360
AI & Data for RMG Professionals | Live Masterclass
with Abdullah Al Noman · Head of Learning Management & Operations, Data Solution 36020 industry sets, in 4 bundles
Read online only. Sample answers are open to everyone; sign in free to read every set.
Rank the distinct order values and pick rank 2. Using DENSE_RANK() handles ties best: if two orders share the top value, the next distinct value still gets rank 2, and every order with that second-highest value is returned. Common trap: ORDER BY order_value DESC LIMIT 1 OFFSET 1 returns the top value again when the highest is tied. Also filter out NULLs, because PostgreSQL sorts NULLs first in DESC order. Table assumed: orders(order_id, order_value). For just the number, SELECT MAX(order_value) FROM orders WHERE order_value < (SELECT MAX(order_value) FROM orders) also works.
Learn by topic
Guides from the blog
Career GuidesData Analyst Salary Guide 2026: What You Can Earn at Every Level8 Aug · Read →
Career GuidesFrom Course Completion to First Job: Why Most Data Learners Get Stuck (And How to Break Through)6 Aug · Read →
Career GuidesHow to Build a Data Analyst Portfolio That Gets You Hired4 Aug · Read →
Career GuidesData Analyst Interview Questions and Answers: The Complete Preparation Guide2 Aug · Read →
AI & Machine LearningHow to Build an AI-Augmented Workflow as a Data Professional31 Jul · Read →
AI & Machine LearningAI Skills Every Professional Needs in 2026 (Beyond the Hype)29 Jul · Read →
AI & Machine LearningWill AI Replace Data Analysts? The Honest Answer27 Jul · Read →
AI & Machine LearningHow to Use ChatGPT and Claude as a Data Analyst: A Practical Guide25 Jul · Read →All free resources
Interview questions, by job and by industry
Pick your job, then practise with the set for the industry you are applying to. Every question has a model answer.
