Hi..
Currently I have a sql statement using UNION as follow:
(
SELECT a, b, c
FROM tbl_A, tbl_B
WHERE (some conditions)
)
UNION
(
SELECT a, d AS b, e AS c
FROM tbl_C
WHERE (some conditions)
)
Is there a way to another way to achieve the same result
without using the UNION cos I also want to include some SQL search and sorting statements which the current situation doesn't allow..??
Any help is greatly appreciated.
Cheers,
Jason
Currently I have a sql statement using UNION as follow:
(
SELECT a, b, c
FROM tbl_A, tbl_B
WHERE (some conditions)
)
UNION
(
SELECT a, d AS b, e AS c
FROM tbl_C
WHERE (some conditions)
)
Is there a way to another way to achieve the same result
without using the UNION cos I also want to include some SQL search and sorting statements which the current situation doesn't allow..??
Any help is greatly appreciated.
Cheers,
Jason