#C11780. Generate SQL Update Statement

    ID: 41134 Type: Default 1000ms 256MiB

Generate SQL Update Statement

Generate SQL Update Statement

You are given the task of writing a program that outputs an SQL statement designed to update all usernames in a database table. The SQL statement must convert the usernames to lowercase and remove any leading or trailing whitespace.

Your program should implement the logic by defining a function generate_update_usernames_sql that returns the required SQL statement as a string. The SQL statement to be returned is:

\[ UPDATE users SET username = LOWER(TRIM(username)); \]

Your solution must read from stdin (even if the input is not used) and print the resulting SQL statement to stdout. The output must match exactly.

inputFormat

The program will receive input from stdin. The content of the input is irrelevant to the task; however, you must read from stdin as part of your solution.

outputFormat

The output should be the SQL statement:

\[ UPDATE users SET username = LOWER(TRIM(username)); \]

printed to stdout with no extra characters or whitespace (other than those explicitly specified in the statement if any).

## sample
dummy
UPDATE users SET username = LOWER(TRIM(username));