MySql Select Database

Suppose you have created database, to use it , write query: Syntax

If we want to select ebhor database then use following query

with the help of this query you can work on your created database.

MySql Create New Database

To create database use following query: Syntax

To create a database with name ebhor use following query

This query will create a new database.

MySql Show all databases

To see all the created  databases we use show database query Syntax


It will show all the databases created in mysql.

First Program Hello Everyone!

All c statemtns are written inside main() it is the starting point of execution. To represent start and ent of main() we use curly breces{}. To display text in output window we use printf() Example