how to return a default value in sqlite table for non matching rows of a select statement

前端 未结 0 1829
自闭症患者
自闭症患者 2020-12-22 03:30

I have a table like this:

CREATE TABLE count_data(
    date DATE NOT NULL DEFAULT (date(\'now\', \'localtime\')),
    count INTEGER NOT NULL DEFAULT 0
);


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题