LeetCode SQL 1667 | Fix Names in a Table | UPPER, LOWER & CONCAT
Naval Singh
0:00 / 0:00
LeetCode SQL 1667 | Fix Names in a Table | UPPER, LOWER & CONCAT
5 просмотров · 9 дн. назад
Naval Singh
362 подписчика
5 просмотров · 9 дн. назад
🚀 Welcome to the LeetCode SQL Easy to Hard Interview Series!
In this video, we'll solve LeetCode SQL Problem 1667 - Fix Names in a Table.
In this problem, we need to format each user's name so that the first character is uppercase and all remaining characters are lowercase.
We'll use UPPER(), LOWER(), SUBSTRING(), CONCAT(), and ORDER BY to solve the problem step by step.
📌 LeetCode Problem:
LeetCode 1667 - Fix Names in a Table
🔗 Solve this problem yourself:
https://leetcode.com/problems/fix-nam...
💡 Concepts Covered:
✔ UPPER()
✔ LOWER()
✔ SUBSTRING()
✔ CONCAT()
✔ String Manipulation
✔ String Functions
✔ ORDER BY
✔ SQL Functions
✔ SQL Interview Questions
⏱ Timeline
00:00 Introduction
00:30 Understanding the Problem
01:00 Understanding the Users Table
01:25 Understanding the Example
01:55 Understanding the Required Name Format
02:20 Writing the SQL Query
02:45 Using UPPER()
03:05 Using LOWER()
03:25 Using SUBSTRING()
03:45 Using CONCAT()
04:05 Building the Complete Query
04:30 Running the Query
04:50 Checking the Output
05:10 Adding ORDER BY
05:30 Running the Final Query
05:45 Accepted Solution
05:54 End
🎯 What You'll Learn:
• How to capitalize the first character of a string
• How to convert characters to lowercase
• How SUBSTRING() works in SQL
• How CONCAT() combines strings
• How to manipulate text using SQL functions
• How to sort the final result using ORDER BY
• How to solve SQL string manipulation problems step by step
📚 Complete LeetCode SQL Playlist:
• LeetCode SQL Solutions | Easy to Hard | SQ...
👍 If this video helped you:
✅ Like the video
✅ Subscribe for more SQL interview questions
✅ Try solving the LeetCode problem yourself
✅ Comment your approach below
🔔 Follow the complete LeetCode SQL series from Easy to Hard!
#leetcode #sql #upper #lower #substring #mysql #sqlinterview