Databases and SQL - an introduction

  Рет қаралды 48,778

roughsealtd

roughsealtd

Күн бұрын

Пікірлер: 12
@SureshKumar-jk6fe
@SureshKumar-jk6fe 12 жыл бұрын
primary key is completely different from others, because it will used to sort the coulmn values in order and it is used to get the data in quick manner,moreover it will used in other table by referring as an foreign key....
@SamaC713
@SamaC713 11 жыл бұрын
this was a really great intro for those of us looking for some basic conceptual understanding thanks.
@cimode99
@cimode99 10 жыл бұрын
The primary key is a key selected among keys (called also candidate keys), because it it is more robust and familiar than other keys.
@roughsealtd
@roughsealtd 12 жыл бұрын
What you say about "sort" refers to clustering indexes; it's true with SQL Server and MySQL with InnodDB, not with Oracle for instance. Don't mix implementation and concept. And keys have nothing to do with speed (speed is a by-product of indexes that are used to implement constraints); besides, accessing data exclusively by primary key values is just a (key, value) implementation that has nothing to do with the relational theory. And foreign keys can also reference unique keys.
@roughsealtd
@roughsealtd 12 жыл бұрын
The primary key is a key that is more equal than the others. All keys uniquely identify one row. But there may be several ones. If I had data about you, I could identify you by your first name, mid initial, surname, date and place of birth. Or your SSN. Or your KZbin username. Or a unique number I arbitrarily assign to you. I choose what I find most convenient to refer to you in my tables and call it primary key.
@monaghandavid
@monaghandavid 14 жыл бұрын
The beginning is hilarious, great video!
@cimode99
@cimode99 10 жыл бұрын
A primary key is a logical concept and has nothing to do with order physical concept.
@sowndaryap
@sowndaryap 13 жыл бұрын
great video.....really usefull
@mahmoudiium5499
@mahmoudiium5499 10 жыл бұрын
Good Introduction
@sowndaryap
@sowndaryap 13 жыл бұрын
superbb.......
@bobbyc5854
@bobbyc5854 12 жыл бұрын
well done!
@MemoryDealer
@MemoryDealer 11 жыл бұрын
Rofl wtf
Database Design All-in-One Tutorial Series (8 HOURS!)
8:21:35
Caleb Curry
Рет қаралды 231 М.
Database Sharding and Partitioning
23:53
Arpit Bhayani
Рет қаралды 104 М.
БОЙКАЛАР| bayGUYS | 27 шығарылым
28:49
bayGUYS
Рет қаралды 1,1 МЛН
УНО Реверс в Амонг Ас : игра на выбывание
0:19
Фани Хани
Рет қаралды 1,3 МЛН
SQL Mystery Stories 1
17:05
roughsealtd
Рет қаралды 3 М.
#01 - Relational Model & Algebra (CMU Intro to Database Systems)
1:23:38
CMU Database Group
Рет қаралды 23 М.
SQL Mystery Stories 2
8:59
roughsealtd
Рет қаралды 1,3 М.
Beginner to T-SQL [Full Course]
2:45:54
Pragmatic Works
Рет қаралды 339 М.
7 Database Design Mistakes to Avoid (With Solutions)
11:29
Database Star
Рет қаралды 92 М.
SQL Tutorial for beginners 1/4; SQL Basic database/scripting Introduction @ Portnov
1:04:20
Learn SQL In 60 Minutes
56:24
Web Dev Simplified
Рет қаралды 2,2 МЛН
Introduction to SQL/1
29:42
Data Base Management System - IITKGP
Рет қаралды 148 М.
БОЙКАЛАР| bayGUYS | 27 шығарылым
28:49
bayGUYS
Рет қаралды 1,1 МЛН