Skip to content

Commit f62e6b9

Browse files
committed
Updated readme
1 parent 30891c0 commit f62e6b9

File tree

1 file changed

+22
-22
lines changed
  • src/main/java/g3301_3400/s3374_first_letter_capitalization_ii

1 file changed

+22
-22
lines changed

src/main/java/g3301_3400/s3374_first_letter_capitalization_ii/readme.md

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ SQL Schema
66

77
Table: `user_content`
88

9-
+-------------+---------+
10-
| Column Name | Type |
11-
+-------------+---------+
12-
| content_id | int |
13-
| content_text| varchar |
14-
+-------------+---------+
9+
+-------------+---------+
10+
| Column Name | Type |
11+
+-------------+---------+
12+
| content_id | int |
13+
| content_text| varchar |
14+
+-------------+---------+
1515
content_id is the unique key for this table. Each row contains a unique ID and the corresponding text content.
1616

1717
Write a solution to transform the text in the `content_text` column by applying the following rules:
@@ -31,25 +31,25 @@ The result format is in the following example.
3131

3232
user\_content table:
3333

34-
+------------+---------------------------------+
35-
| content_id | content_text |
36-
+------------+---------------------------------+
37-
| 1 | hello world of SQL |
38-
| 2 | the QUICK-brown fox |
39-
| 3 | modern-day DATA science |
40-
| 4 | web-based FRONT-end development |
41-
+------------+---------------------------------+
34+
+------------+---------------------------------+
35+
| content_id | content_text |
36+
+------------+---------------------------------+
37+
| 1 | hello world of SQL |
38+
| 2 | the QUICK-brown fox |
39+
| 3 | modern-day DATA science |
40+
| 4 | web-based FRONT-end development |
41+
+------------+---------------------------------+
4242

4343
**Output:**
4444

45-
+------------+---------------------------------+---------------------------------+
46-
| content_id | original_text | converted_text |
47-
+------------+---------------------------------+---------------------------------+
48-
| 1 | hello world of SQL | Hello World Of Sql |
49-
| 2 | the QUICK-brown fox | The Quick-Brown Fox |
50-
| 3 | modern-day DATA science | Modern-Day Data Science |
51-
| 4 | web-based FRONT-end development | Web-Based Front-End Development |
52-
+------------+---------------------------------+---------------------------------+
45+
+------------+---------------------------------+---------------------------------+
46+
| content_id | original_text | converted_text |
47+
+------------+---------------------------------+---------------------------------+
48+
| 1 | hello world of SQL | Hello World Of Sql |
49+
| 2 | the QUICK-brown fox | The Quick-Brown Fox |
50+
| 3 | modern-day DATA science | Modern-Day Data Science |
51+
| 4 | web-based FRONT-end development | Web-Based Front-End Development |
52+
+------------+---------------------------------+---------------------------------+
5353

5454
**Explanation:**
5555

0 commit comments

Comments
 (0)