change sqlite create and query SQL