Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in SQL by (55.6k points)

Can anyone tell me how to create a database in SQL?

1 Answer

0 votes
by (119k points)
edited by

We can create a database in SQL by using the following syntax:

CREATE DATABASE Database_name;

After creating a database, we can check the list of databases using the following syntax:

SHOW DATABASES;

You can check out this SQL tutorial blog by Intellipaat to learn SQL.

Related questions

Browse Categories

...