A database administrator would like to create a table named XYZ. Which of the following queries should the database administrator use to create the table?
A)
B)
C)
D)
The query that the administrator should use to create the table is option B. This query uses theCREATE TABLEstatement to define a new table namedXYZwith three columns:ID,Name, andAge. Each column has a data type and a constraint, such asNOT NULL,PRIMARY KEY, orCHECK. The other options either have syntax errors, use incorrect keywords, or do not specify the table name or columns correctly.Reference:CompTIA DataSys+ Course Outline, Domain 1.0 Database Fundamentals, Objective 1.1 Given a scenario, identify and apply database structure types.
Limited Time Offer
25%
Off
Currently there are no comments in this discussion, be the first to comment!
Currently there are no comments in this discussion, be the first to comment!