Advertisements
Advertisements
Question
Write suitable SQL query for the following:
To display the data from the column (attribute) username
in the Users
table, after eliminating any leading and trailing spaces.
Code Writing
Solution
SELECT TRIM(username) FROM Users;
shaalaa.com
Is there an error in this question or solution?
2024-2025 (March) Board Sample Paper