Databases Reporting with SQL Working with Text Concatenating Text

I am trouble with the concat function in sql

There must be something wrong with my syntax, but I can not figure it out

Steven Parker
Steven Parker
159,270 Points

Please show your complete query code here to make it possible for someone to help you with it.

Rania Zawawi
Rania Zawawi
Front End Web Development Techdegree Student 20,411 Points

The correct answer for your challenge is select first_name || " " || last_name || " <" || email || ">" as to_field from patrons;

Steven Parker
Steven Parker
159,270 Points

You can still post your code for analysis if you want an explanation instead of a code spoiler, or if your issue is with the other task!

2 Answers

Rania Zawawi
Rania Zawawi
Front End Web Development Techdegree Student 20,411 Points

try this it will work ==> select first_name || " " || last_name || " <" || email || ">" as to_field from patrons;

Joseph Maria Louis
Joseph Maria Louis
2,112 Points

Select first_name||" "||last_name||" "||"<"||email||">" as "to_field" from patrons;