Simple SQL Lite table/import question

后端 未结 3 1974
深忆病人
深忆病人 2020-12-15 00:16

I have a simple SQL question. I want to make a 3 column database and I have the following code:

sqlite3 meshdb.db \"create table t1 (t1key INTEGER PRIMARY KE         


        
3条回答
  •  抹茶落季
    2020-12-15 00:55

    Instead of insert use

    create table newtable as select  * from  footmp;
    

    It is better and quicker.

提交回复
热议问题