About 670,000 results
Open links in new tab
  1. SQL CREATE TABLE Statement - W3Schools

    SQL CREATE TABLE Example. The following example creates a table called "Persons" that contains five columns: PersonID, LastName, FirstName, Address, and City:

  2. CREATE TABLE SQL Server Syntax Examples

    Mar 15, 2022 · In this tutorial, we learned some of the basics of creating a table in SQL Server. We learned the core elements of a table, a few ways of creating the table, naming conventions …

  3. SQL CREATE TABLE Statement - SQL Tutorial

    To create a new table, you use the CREATE TABLE statement. Here’s the basic syntax of the CREATE TABLE statement. column1 datatype constraint, column2 datatype constraint, ... In …

  4. SQL CREATE TABLE (With Examples) - Programiz

    SQL CREATE TABLE Syntax CREATE TABLE table_name ( column1 datatype, column2 datatype, column3 datatype, .... ); Here, table_name is name of the table you want to create; …

  5. SQL CREATE TABLE - GeeksforGeeks

    Apr 14, 2025 · In SQL, creating a table is one of the most essential tasks for structuring your database. The CREATE TABLE statement defines the structure of the database table, …

  6. Create table - SQL Tutorial

    The basic syntax for creating a table using SQL is as follows: column1 datatype, column2 datatype, column3 datatype, ..... columnN datatype. The CREATE TABLE keyword is followed …

  7. SQL CREATE TABLE Syntax and Examples – The Complete Guide

    Jun 9, 2023 · The syntax for the SQL create table statement is: CREATE [schema_name.]table_name ( column_name data_type [NULL | NOT NULL] [inline_constraint] …

  8. CREATE TABLE (Transact-SQL) - SQL Server | Microsoft Learn

    Simple CREATE TABLE syntax (common if not using options): { database_name.schema_name.table_name | schema_name.table_name | table_name } ( { …

  9. SQL: CREATE TABLE Statement - TechOnTheNet

    This SQL tutorial explains how to use the SQL CREATE TABLE statement with syntax, examples, and practice exercises. The SQL CREATE TABLE statement allows you to create and define a …

  10. SQL Create Table syntax and example - T-SQL Tutorial

    For example, the following SQL creates a table named "employees" with four columns: "id" (INT, primary key), "name" (VARCHAR), "age" (INT), and "salary" (DECIMAL). CREATE TABLE …

  11. Some results have been removed
Refresh