|
A database is a collection of organized data. A database is not the same as the Relational Database Management System (RDBMS). An RDBMS can have one or multiple databases, whereas a database can only belong to one RDBMS. On the other hand, a database can contain one or more tables, whereas a table can only belong to a database.
Therefore, the first step to use RDBMS to store data is to create a database. SQL offers the CREATE DATABASE commands, and its syntax is,
CREATE DATABASE "database_name"
If we want to create a database called "holidays", we would type in
CREATE DATABASE holidays
SQL DROP DATABASE >>
Link to this page: If you find this page useful, we encourage you to link to this page. Simply copy and paste the code below to your website, blog, or profile.
Copyright © 2012 1keydata.com All Rights Reserved.
Privacy Policy
|