Question · SQL and MySQL course · Module 2: Querying data (SELECT)

What the word AS does

What does an alias created with the word AS do, e.g. "SELECT tytul AS Tytul FROM ksiazki;"?

Answer options

  • It changes the column name only in the query result, leaving the data untouched
  • It permanently changes the column name in the table
  • It removes the column from the table
  • It sorts the result by that column
Show the answer

Correct answer:

  • It changes the column name only in the query result, leaving the data untouched