【发布时间】:2017-10-02 22:44:08
【问题描述】:
我计划参加 DataStax Cassandra 开发人员认证。我最近参加了模拟考试,我在 100 分中获得了 94% 的分数,其中 1 个答案被标记为错误。问题是:
Given the following table, which of the following statements is an example of
Data Modification Language (DML) in CQL? CREATE TABLE comics ( title text,
issueNumber int, originalPriceDollars float, PRIMARY KEY ( title, issueNumber
) );
SELECT * FROM comics;
ALTER TABLE comics ADD currentPriceDollars float;
DROP KEYSPACE test;
None of the other answers are DML.
我选择了 ALTER TABLE 漫画选项,根据 DataStax,这个答案是错误的。那么 Cassandra 中的 DML 是什么。这句话不是在修改数据吗?而且,正确答案是无。
谢谢。
【问题讨论】: