I have the following table
+-----+------------------+-------------+
| id | datenum | F1_baro_20_ |
+-----+------------------+-------------+
| 1 | 734152.000000000 | 1005.21 |
| 2 | 734152.006944445 | 1005.26 |
+-----+------------------+-------------+
When I make a selection I want to add one more column.
For example
SELECT id,datenum, F1_baro_20_ FROM test
And I want to add a column, something like this:
SELECT id,datenum, F1_baro_20_, new_column=1 FROM test
+-----+------------------+-------------+------------+
| id | datenum | F1_baro_20_ |new_column |
+-----+------------------+-------------+------------+
| 1 | 734152.000000000 | 1005.21 | 1 |
| 2 | 734152.006944445 | 1005.26 | 1 |
+-----+------------------+-------------+------------+
This even works with more complex expressions, like this: