セクション 1. 章 33
single
Challenge: Find Users by City
メニューを表示するにはスワイプしてください
タスク
スワイプしてコーディングを開始
Write a query to find users whose address city in the profile_data JSONB column is 'New York' using PostgreSQL JSON operators.
- Query the
user_profilestable. - Use PostgreSQL JSON operators (
->and->>) to access the nestedcityfield inside theaddressobject in theprofile_datacolumn. - Filter for rows where the
address.cityvalue is'Springfield'. - Return the
user_idandprofile_datacolumns for all matching users.
解答
すべて明確でしたか?
フィードバックありがとうございます!
セクション 1. 章 33
single
AIに質問する
AIに質問する
何でも質問するか、提案された質問の1つを試してチャットを始めてください