SELECT p.Name AS title,
p.meta_desc AS description,
p.product_Id AS id,
'new' AS `condition`
FROM products AS p
Du kan kalde det bogstavelige. Betingelse er et reserveret ord, så du skal bruge backticks.
SELECT p.Name AS title,
p.meta_desc AS description,
p.product_Id AS id,
'new' AS `condition`
FROM products AS p
Du kan kalde det bogstavelige. Betingelse er et reserveret ord, så du skal bruge backticks.