S
samah
In a sample database, I have the following query.
SELECT Null As Title
FROM tblDummy
UNION ALL SELECT tlkpTitles.Title
FROM tlkpTitles
ORDER BY 1;
tblDummy is a single field table that provides null value to combo boxes
and tlkpTitle is also single field table that stores person's titles
(Mr., Mrs, Ms. etc.). What is the meaning of 1 in the Order by clause?
Even if I remove the Order By clause altogether, the query returns the
same results.
Thank you in advance.
- samah
SELECT Null As Title
FROM tblDummy
UNION ALL SELECT tlkpTitles.Title
FROM tlkpTitles
ORDER BY 1;
tblDummy is a single field table that provides null value to combo boxes
and tlkpTitle is also single field table that stores person's titles
(Mr., Mrs, Ms. etc.). What is the meaning of 1 in the Order by clause?
Even if I remove the Order By clause altogether, the query returns the
same results.
Thank you in advance.
- samah