you can do something like this:
select ID, Name from tblItems union all select 'ALL', 'SHOW ALL'
If you always wanted it to appear below, you would have to get a little complicated.
In the comments, I realized that Access does not support the SELECT
without the FROM
, which is annoying. A tblAll
would be to create the tblAll
table (the syntax may require a change):
create table tblAll(ID varchar(15), Name varchar(30)); insert into tblAll(ID, Name) values ('ALL', 'SHOW ALL');
then you can do:
select ID, Name from tblAll union all select str(ID) as ID, Name from tblItems
source share