题目
题目
单项选择题

Which of the following is a valid SQL statement?​

选项
A.​CREATE TABLE newname (colA NUMBER, colB DATE);
B.​CREATE TABLE newname as SELECT * FROM books;
C.​CREATE TABLE newname (colA, colB);
D.​CREATE TABLE newname (colA DATE, colB VARCHAR2(3);
查看解析

查看解析

标准答案
Please login to view
思路分析
Question: Which of the following is a valid SQL statement? Option 1: 'CREATE TABLE newname (colA NUMBER, colB DATE);' - This is a standard CREATE TABLE statement that defines a new table named newname with two columns: colA of type NUMBER and colB of type DATE. It follows typical SQL syntax for explicit column definitions, and is valid in many relational databases such as Oracle and PostgreSQL. The parentheses correctly enclose the column definitions and their data types, and there is a semicolon to termina......Login to view full explanation

登录即可查看完整答案

我们收录了全球超50000道考试原题与详细解析,现在登录,立即获得答案。

更多留学生实用工具

加入我们,立即解锁 海量真题独家解析,让复习快人一步!