Logo video2dn
  • Сохранить видео с ютуба
  • Категории
    • Музыка
    • Кино и Анимация
    • Автомобили
    • Животные
    • Спорт
    • Путешествия
    • Игры
    • Люди и Блоги
    • Юмор
    • Развлечения
    • Новости и Политика
    • Howto и Стиль
    • Diy своими руками
    • Образование
    • Наука и Технологии
    • Некоммерческие Организации
  • О сайте

Скачать или смотреть 9 DBMS SQL DDL create, alter, drop, truncate, rename DML insert, update, delete3) DCL grant, revoke

  • tech fort
  • 2021-03-23
  • 370
9 DBMS SQL DDL create, alter, drop, truncate, rename DML insert, update, delete3) DCL grant, revoke
dbmsdbms tutorialdatabase management systemsqlsql tutorialsql coursesql for beginnersStructured Query Languagesql course for beginnerslearn sqlfree sql courseweb developmentmysqlmysql tutorialmysql courserdbmsmysql tutorial for beginnerssql tutorial for beginnersmysql insql inmysqlimysqli tutorialmysqli tutorial for beginnersmysql in one videosql in one videostructured query languagecomplete mysql tutorialdatabaselearn
  • ok logo

Скачать 9 DBMS SQL DDL create, alter, drop, truncate, rename DML insert, update, delete3) DCL grant, revoke бесплатно в качестве 4к (2к / 1080p)

У нас вы можете скачать бесплатно 9 DBMS SQL DDL create, alter, drop, truncate, rename DML insert, update, delete3) DCL grant, revoke или посмотреть видео с ютуба в максимальном доступном качестве.

Для скачивания выберите вариант из формы ниже:

  • Информация по загрузке:

Cкачать музыку 9 DBMS SQL DDL create, alter, drop, truncate, rename DML insert, update, delete3) DCL grant, revoke бесплатно в формате MP3:

Если иконки загрузки не отобразились, ПОЖАЛУЙСТА, НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если у вас возникли трудности с загрузкой, пожалуйста, свяжитесь с нами по контактам, указанным в нижней части страницы.
Спасибо за использование сервиса video2dn.com

Описание к видео 9 DBMS SQL DDL create, alter, drop, truncate, rename DML insert, update, delete3) DCL grant, revoke

Types of SQL Commands:
=======================
5 types of sql commands

1) DDL
create, alter, drop, truncate, rename
2) DML
insert, update, delete
3) DCL
grant, revoke
4) TCL
commit, rollback, savepoint
5) DQL
select

1) DDL (Data Definition Language):
----------------------------------
DDL changing the structure of the table : create a table, alter a table, delete a table, drop table, rename

all DDL commands a committed automatically once their TX completes.

create: Create a new table or create a new database
alter: altering command used for adding new column, change size, datatype
drop: drop table
truncate : removes/deletes the data from table
rename: rename a table

Create a database:
------------------
Creating a database using create DDL command

Syntax:
create database [databaseName];
Ex:

Create database EnggcollegeJJM;

1)If not exists:
create database if not exists jjm;

if exists:


create: Create a new table or create a new database
-------------------------------
syntax:
create table tableName(columnName1 Datatype,columnName2 Datatype,......);

create table if not exists tableName(columnName1 Datatype ,columnName2 Datatype,......);

create table tableName(columnName1 Datatype [attributes],columnName2 Datatype,......);

create table student(id int, name varchar(25), email varchar(25),dob date);

create table if not exists student(id int, name varchar(25), email varchar(25),dob date);

Create a table with all datatypes supported by mysql:
----------------------------------------------------

create table employee(eid int autoincrement,name varchar(20), gender varchar(6),dob date, salary float(10,2));

create table dummy(vc varchar(20), tInt tinyint, textual text, dob date, sInt smallInt, mInt Medium
Int, bInt bigInt, salary float(6,2), proValue double(10,3),dt datetime,time12 time, gender char(1), photog
raph blob);

Create a new table using existing table:(copy table struture)

create table newStudent like student;



alter: altering command used for adding new column, change size, datatype
-------------------------------------------------
syntax:
alter table tableName add columnName datatype;

3) truncate : delete the rows/data from the table
-------------------------------------------------
truncate table tablename;

truncate table newStudent;

4) drop: drop table
-------------------
drops the table defintion as well as contents also.

drop table tablename;

drop table newStudent;


5) rename: rename a table
--------------------------

rename table oldTableName to newTableName;
2) DML (Data Manipulation Langugage):
-------------------------------------
manipulating data stored in a table

dml are not auto saved/autocommited, dont saved permanantly,
even programmer can rollback also

insert : add new records/rows to the table
update : updating existing records of the table
delete : remove/deleting specific/all the rows from the table;

insert : add new records/rows to the table
------------------------------------------

insert into tablename(columnames,.......) values(val1,.....);

Or

insert into tablename values(val1,.....); need to provide all column values compulsory

Rules:
Date : yyyy-mm-dd : '2019-08-30'
text,string : single quotes : 'ganesh shankar lord'
numbers : without single quotes

Комментарии

Информация по комментариям в разработке

Похожие видео

  • О нас
  • Контакты
  • Отказ от ответственности - Disclaimer
  • Условия использования сайта - TOS
  • Политика конфиденциальности

video2dn Copyright © 2023 - 2025

Контакты для правообладателей [email protected]