sqlite - SELECT and ADD fields in SQL table -
i have db table created follows :
create table mktdb( mktid number(19) not null, featureid number(20) not null, val varchar(100) not null, primary key (id) );
i want view records along additional field having current date each row in db.
i tried following sqlite query erroneous :
select *, current_date mktdb,date;
don't know sqlite after typing "current date sqllite" in google shows me way https://www.sqlite.org/lang_datefunc.html
and problem:
select *, date('now') mktdb;
p.s: wanted try sql fiddle. here is:
Comments
Post a Comment