Welcome To DBMS: - Database Management System
Welcome To DBMS: - Database Management System
WELCOME TO DBMS
• DATABASE MANAGEMENT SYSTEM
How
How many
many fields areare
there in the table “student”
3
records
6A AYGERIM
there in the
16
table
FEMALE
4 6A KANAT 14 “student”
MALE
5 6A JANDOS 15 MALE
6 7A JANAR 16 MALE
7 7A MARAT 16 MALE
8 7A BAURJAN 17 MALE
9 7A AYGUL 16 FEMALE
10 7A ALIYA 16 FEMALE
11 7A NURGUL 16 FEMALE
12 8A ASEL 18 FEMALE
13 8A SANJAR 19 MALE
14 8A ALIBEK 18 MALE
15 8A JANAR 19 FEMALE
Each column holds data of a particular type
-Integer
-String
-Decimal
-Date
•Start / Run
Install <<Oracle 10g>> on your notebook
1-Open my intranet site
2-Download 10201_database_win32.zip
3-Unzip and run Setup
SQL Basics
SELECT column1,column2,column3
FROM tablename
EXAMPLE :
SELECT * FROM STUDENT;
SELECT name,age FROM STUDENT;
How can you see all tables in a current
database?
SELECT name,age
FROM student
How do you know the data types of all fields in
table “STUDENT” ?
DESC student
How do you see the records as sorted by age
in ascending order?