Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Text
Posted by: Marina Lariutina
Added: Oct 25, 2021 6:26 PM
Views: 1593
Tags: create table
  1. qlite_query = ("CREATE TABLE animals ("
  2.                 "Id integer PRIMARY KEY AUTOINCREMENT, "
  3.                 "AnimalType varchar(50) NOT NULL, "
  4.                 "Name varchar(50) NOT NULL DEFAULT 'Noname', "
  5.                 "Sex varchar(50), "
  6.                 "DateOfBirth date,"
  7.                 "Age integer,"
  8.                 "Weight decimal)"
  9.                 )