Menu
Hi,
I am in need of doing some conditional formatting on following.
If we use an SQL UNION to join resultsets of two SQL queries,
once we get resultset of combined resultset,
is there is a way to detect, from which sub query this particular record belongs to.
Say we use,
SELECT * FROM table1 UNION SELECT
Now we get combined resultset, and I want to display records (that part no problem ? ), and make text color red of records belonging to second sub query, that is of table2.
Can it be possible ? Do we at least have an indirect way ?
Thanks and Best Regards