DSP-068Product DSSQL📍 maps

Google Maps 餐厅 rating 表(user_id, timestamp, location_name 有重复, location_id, rating 有 null):1) unique users 有多少;2) 只考虑每个用户最新的 rating,每个 restaurant 的 avg rating;3) 排除 null rating 并输出 location name

📋 题目详细背景与场景

一上来先自我介绍,然后walk through project,先是一道sql题,应该是google map里面餐厅的rating data,有user_id, timestamp, location_name (has duplicate values), location_id, rating (has null values) 还有几个不太重要的columns。1. 问unique users有多少个?

📖 对应核心知识点手册:

想用苏格拉底式对话深入理解该考点的第一性原理?

进入破冰推演实验室,模拟考官互动并一步步拆解底层机制与直觉陷阱。

💬 针对本考点破冰 ➔
⚡
Test muscle memory on this topic via 3-Layer Flashcards
Active Recall: Mentally formulate Prompt ➔ Math Derivation ➔ Benchmark Implementation in 3 minutes.
🎯 Drill This Card Now➔