I'm a beginner with sqlite coming from mysql. maybe my question is dumb but I can't find the equivalent of the "AS" in mysql for example.
Example: "SELECT firstName || ' ' || lastName AS fullName FROM myTable;"
Is it possible?
Thanks in advance!
SQLite also supports using AS
, as shown in this diagram from the page Syntax Diagrams for SQLite:
result-column:
Why do I want to use a "AS"?
Because it allows you to give a descriptive name to each column in your result set. You can use this name to refer to the column when you read the results.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With