private static String executeCreateTableCommand(DataBaseManager dbManager, Command command) {
        List<String> args = command.getArgs();
        String tableName = args.get(0);
        List<String> columnNames = args.subList(1, args.size());

        String msg = "";
        try {
            boolean result = dbManager.createTable(tableName, columnNames);
            if (result) {
                msg = "table " + tableName + " created successfully";
            } else {
                msg = "table " + tableName + " couldn't be created";
            }
        } catch (DataBaseTableException e) {
            msg = e.getMessage();
        }
        return msg;
    }