I have a select statement like this
select field1, field2 from table1
What I want is to have a newfield with only value \"example\".
You mean staticly define a value, like this:
SELECT field1, field2, 'example' AS newfield FROM TABLE1
This will add a column called "newfield" to the output, and its value will always be "example".