Search code examples
sqliteraspberry-pi3

I am new on sqlite3 when I want to create a table on my raspberry,I meet a question insouble this is my code


enter image description here

CREATE TABLE  tempANDhum_data(
    ID INTEGER PRIMARY KEY,
    temperature   NUMERIC NOT NULL,
    humidity  NUMERIC NOT NULL,
);

Solution

  • Remove the last comma within the CREATE TABLE command.