BitDegree Learn

Code has been added to clipboard!

Home| SQL | SQL Commands| CREATE DATABASE

Creating an SQL Database

Reading time 1 min
Published Aug 9, 2017
Updated Oct 9, 2019

TL;DR – The SQL CREATE DATABASE command is used to produce a new database.

Syntax of SQL CREATE DATABASE

Example
CREATE DATABASE dbname;

Producing a database called testingDB

Example
CREATE DATABASE testingDB;

Related Posts

Learn SQL: Main Concepts and Principles Explained

Learn SQL online: find out what does SQL stand for & learn SQL with many examples and explanations, presented in this complete learn SQL tutorial.

3 min read
Using SQL NOT in Your Database

SQL NOT condition explained: how and when to use it? A complete SQL NOT condition guide and rookie-friendly examples to make using SQL NOT easy.

2 min read
4 examples
Prepared Statements With PHP PDO and MySQLi: Differences and Examples

PHP PDO tutorial: find details on how to easily use PDO PHP in your code. Learn all about PHP Prepared Statements with this PHP PDO guide.

3 min read
2 examples
Learn
  • Programming Languages
  • Get Certified
  • Sitemap
Web Development
  • HTML
  • CSS
  • Javascript
Server Side
  • PHP
  • SQL
Tools
  • Code Editor
  • Color Picker
  • Devtools
  • Git
Education
  • Best Online Learning Platforms
  • Learning Tutorials & Guides
  • Learning Platform Comparison
  • Online Learning Deals
  • Video Courses
  • Learn to Code
Learning Platforms' Reviews
  • DataCamp Review
  • Udacity Review
  • edX Review
  • Coursera Review
  • Udemy Review
Web3 Education
  • Learn & Earn
  • Crypto 101
  • Crypto Prices
  • Crypto Newsletter
  • Crypto Guides
  • Crypto News
  • Crypto Videos
  • Crypto Deals
  • dApp & NFT Tracker
  • Play to Earn App
Web3 Research
  • Best Crypto Exchanges
  • Exchange Comparisons
  • Best Crypto Wallets
AI Research
  • Best AI Tools
  • Best AI Apps
  • AI Tutorials
  • AI News
  • QuillBot AI Review
  • Murf AI Review
  • Descript Review
The company
  • About BitDegree
  • BitDegree Experts
  • Our Analysis Methodology
  • EU Research Projects
  • Referral Program
  • Advertise on BitDegree
  • BitDegree Sponsors
  • Hiring
  • Contact
Follow Us

BitDegree aims to uncover, simplify & share online education with the masses. Join millions, easily understand and discover best online courses, valued certification programs, top online learning platforms & MOOCs in one place.

Copyright © 2025 BitDegree.org | hello@bitdegree.org

SQL
Learn SQL
Introduction
Syntax
Data Types
Server Data Types
Commands
Commands List
Wildcards
Constraints
Aggregate Functions
Date Functions
Date Format
Injection
SQL Server Hosting
Views
Auto-incrementation
SQL Operators and Clauses
SQL Operators
AS
AND & OR
IN
BETWEEN
WHERE
GROUP BY
HAVING
ORDER BY
LIKE
NOT
NOT EQUAL
UNION
NULL
SQL Constraints
NOT NULL
DEFAULT
UNIQUE
FOREIGN KEY
PRIMARY KEY
CHECK
Indexes
SQL Commands
ALTER TABLE
CREATE DATABASE
CREATE TABLE
DELETE
DROP
INSERT INTO SELECT
INSERT INTO
SELECT
SELECT DISTINCT
SELECT INTO
SELECT TOP
UPDATE
SQL Joins
FULL OUTER JOIN
INNER JOIN
JOIN
LEFT JOIN
RIGHT JOIN
SQL Functions
AVG()
COUNT
FIRST
LAST
MAX
MIN()
SUM()
LEN
UCASE
MID
NOW
ROUND
FORMAT
LOWER
CONVERT
ISNULL
  • HTML
  • CSS
  • PHP
  • JavaScript
  • SQL
  • Bootstrap
  • Solidity
  • jQuery
  • Git
  • Chrome DevTools
  • C++
  • Python
  • Other
  • Sign up Free