I have the following:
TABLE A
- Amount
- Date
TABLE B
- Amount
Table B has a list of amounts which really should have Today as Date
how do I create a union query in order to do that?
I guess I need something like:
select amount, date from A
union select amount, today() from B
however I haven't managed to find out what the exact syntax is
thanks in advance
smeco
TABLE A
- Amount
- Date
TABLE B
- Amount
Table B has a list of amounts which really should have Today as Date
how do I create a union query in order to do that?
I guess I need something like:
select amount, date from A
union select amount, today() from B
however I haven't managed to find out what the exact syntax is
thanks in advance
smeco