Docsity

MySQL Programming for Beginners, Lecture notes of Electronics engineering

Toggle sidebar
bg1
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
What is a database?
A database is a container that holds tables and other SQL structures related to those tables.
What is a table?
The structure inside your database that contain data, organized in columns and rows.
What is a column?
It is a single set of columns that describes attributes of a single thing.
What is a row?
Steps in Creating a Database
It is a piece of data stored by your table.
CREATING A DATABASE
Page 1
2. Hit CTRL+Return buttons.
Type CREATE DATABASE My_lists; on the query window of MySQL Workbench.1.
Materials:
MySQL Workbench 1.
2. BBEdit/Text Editor/Notepad
3. Computer (I am using Mac)
MySQL
Database
3. Action Output button should be green -> the database creation is successful.
pf2

Partial preview of the text

Download MySQL Programming for Beginners and more Lecture notes Electronics engineering in PDF only on Docsity!

What is a database?

A database is a container that holds tables and other SQL structures related to those tables.

What is a table?

The structure inside your database that contain data, organized in columns and rows.

What is a column?

It is a single set of columns that describes attributes of a single thing.

What is a row?

Steps in Creating a Database

It is a piece of data stored by your table.

CREATING A DATABASE

Page 1

  1. Hit CTRL+Return buttons.
  2. Type CREATE DATABASE My_lists ; on the query window of MySQL Workbench.

Materials:

  1. MySQL Workbench
  2. BBEdit/Text Editor/Notepad
  3. Computer (I am using Mac)

MySQL

Database

  1. Action Output button should be green -> the database creation is successful.

Page 2

  1. Type USE My_Lists; USING THE DATABASE
  2. Action Output button should be green -> the database creation is successful.