About 906,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. SQL CREATE TABLE (With Examples) - Programiz

    The SQL CREATE TABLE statement is used to create a database table. We use this table to store records (data). For example, Example-- create a table named Companies with different columns CREATE TABLE Companies ( id int, name varchar(50), address text, email varchar(50), phone varchar(10) );

  3. SQL sample Database - w3resource

    Aug 19, 2022 · For MySQL, create a database first, select that and then import the given txt file. Download sample database based on MySQL. Check out our 1000+ SQL Exercises with solution and explanation to improve your skills. Follow us on Facebook and Twitter for latest update.

  4. SQL Examples - W3Schools

    Take the SQL exam and become w3schools certified!! Well organized and easy to understand Web building tutorials with lots of examples of how to use HTML, CSS, JavaScript, SQL, Python, PHP, Bootstrap, Java, XML and more.

  5. CREATE TABLE SQL Server Syntax Examples - MSSQLTips.com

    Mar 15, 2022 · In this article we will cover how to create a new table using TSQL. In this SQL tutorial, we will look at a common task of creating a database table. We will look at some do’s and don’ts while creating a simple table as well as adding constraints and schemas.

  6. Create Table Examples Using SQL - All Things SQL

    We show several create table examples to provide several possible ways to create tables in SQL. This includes primary keys, indexes and more.

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

    Jun 9, 2023 · Learn how to create tables, what the syntax is, and see some examples in this article. This guide applies to Oracle, SQL Server, MySQL, and PostgreSQL. What Is The Create Table Command Used For? How Long Can A Table Name Be in SQL? Is There A CREATE TABLE IF NOT EXISTS Command? What Is The Create Table Command Used For?

  8. SQL CREATE TABLE Statement with Practical Examples

    Nov 4, 2022 · The Simple SQL CREATE TABLE Statement: Using simple SQL CREATE TABLE statement we can create table with multiple columns, with each column definition consist of name, data types and optically constrains on that column value. SQL CREATE TABLE ...

  9. Create table - SQL Tutorial

    SQL CREATE TABLE is a statement that is used to create a new table in a database. A table is a collection of data that is organized in rows and columns, similar to a spreadsheet. Each column represents a specific data type, while each row represents a unique record in the table. The basic syntax for creating a table using SQL is as follows:

  10. SQL - Create Table Statement - TutorialsTeacher.com

    The following is the syntax to create a new table in the database. CREATE TABLE table_name( column_name1 data_type [NULL|NOT NULL], column_name2 data_type [NULL|NOT NULL], ... );

  11. Some results have been removed
Refresh