Ace Learns Logo Ace Learns
  • Home
  • History
  • Geography
  • Astronomy
  • Physics
  • Chemistry
  • Biology
  • Agriculture
  • Sports
  • Computer Science
  • Articles
  • Contact Us
MCQ Categories
  • Articles
  • Home
  • Contact Us
  • Home
  • »
  • Computer Science
  • »
  • Databases
  • »
  • SQL in DBMS
  • »
  • In SQL, which command is used to create a new table?

Databases

unfold_more
  • double_arrow ER Model in DBMS
  • double_arrow Functional Dependencies in DBMS
  • double_arrow Integrity Constraints in DBMS
  • double_arrow Normalization in DBMS
  • double_arrow Relational Algebra in DBMS
  • double_arrow Relational Calculus in DBMS
  • double_arrow SQL in DBMS
  • double_arrow Transactions in DBMS

In SQL, which command is used to create a new table?

The SQL CREATE TABLE command creates a new table in a database.
Here’s the syntax:

CREATE TABLE TableName (
column1 datatype1,
column2 datatype2,
…
columnN datatypeN,
CONSTRAINT constraint_name PRIMARY KEY (column_name)
);

Quick Links

  • Biology
    • chevron_right Cell Biology
    • chevron_right Plants
    • chevron_right Essential Nutrients
    • chevron_right Human Diseases
  • Physics
    • chevron_right Dynamics
    • chevron_right Thermodynamics
    • chevron_right Waves and Optics
    • chevron_right Electricity and Magnetism
  • History
    • chevron_right Ancient Civilizations
    • chevron_right Medieval World History
    • chevron_right Revolution and Counter-Revolution
    • chevron_right Enlightenment and Modern ideas
  • Computer Science
    • chevron_right Operating System
    • chevron_right Computer Networks
    • chevron_right Cryptography
    • chevron_right Computer Organization

Ace Learns Logo Ace Learns © 2025 Ace Learns. All rights reserved.
  • Contact Us
  • Copyright
  • Privacy Policy