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

    CREATE DATABASE Example. The following SQL statement creates a database called "testDB":

  2. SQL CREATE DATABASE | GeeksforGeeks

    Apr 12, 2025 · The CREATE DATABASE Command is used to create a new database within a SQL based Database Management System (DBMS) such as MySQL, PostgreSQL, or SQL Server. A database acts as a container where all your data tables, views, stored procedures, and more are stored.

  3. SQL CREATE DATABASE Statement (With Examples) - Programiz

    The SQL CREATE DATABASE statement is used to create databases. In this tutorial, you will learn about the SQL CREATE DATABASE statement in SQL with the help of examples. Learn to code solving problems and writing code with our hands-on SQL course.

  4. SQL - CREATE Database: A Beginner's Guide - W3schools

    In SQL, we use the CREATE DATABASE statement to do this. It's like saying, "Hey SQL, I want to build a new digital kingdom!" Here's the basic syntax: CREATE DATABASE database_name; Let's try creating a database for a fictional bookstore: CREATE DATABASE my_bookstore; When you run this command, SQL will create a new database called "my_bookstore".

  5. MySQL CREATE DATABASE Statement - W3Schools

    The MySQL CREATE DATABASE Statement. The CREATE DATABASE statement is used to create a new SQL database. Syntax

  6. T-SQL CREATE DATABASE Examples - Quackit Tutorials

    Here are various code examples for creating a database with Transact-SQL (T-SQL). Basic Code. The following code creates a database called Music.

  7. SQL CREATE DATABASE Statement - Tutorial Republic

    SQL CREATE DATABASE Statement. In this tutorial you will learn how to create database in a relational database management system like, MySQL, SQL Server, etc. using SQL. Creating a Database. Before doing anything with the data we must need to create a database first.

  8. Create a Database in SQL Server (T-SQL)

    Feb 16, 2021 · Below is an example of using T-SQL to create a database in SQL Server. Basic Code CREATE DATABASE Music; This is all the code you need to create a database. In this case, it creates a database called Music. However, that’s all it creates. The database doesn’t contain any tables or other objects. To do that, you must use further statements ...

  9. Free Databases for Beginners: Where to Start? | LearnSQL.com

    Apr 17, 2025 · Then create and use a database by running: CREATE DATABASE mydatabase; USE mydatabase; Create a Table and Insert Data. Run the following SQL commands to create a table and insert sample data: CREATE TABLE users ( id INT AUTO_INCREMENT PRIMARY KEY, name VARCHAR(50), age INT ); INSERT INTO …

  10. SQL Create Database: A How-To Guide - Database Star

    Jun 9, 2023 · How to Create a Database in SQL. The easiest way to create a new database is to use the CREATE DATABASE command: CREATE DATABASE database_name; Add in the name of your database, run the command, and the new database is created. This statement will work on MySQL, SQL Server, and PostgreSQL.

  11. Some results have been removed
Refresh