DDL, DML, DCL & TCL statements in SQL (Database basics)

Поделиться
HTML-код
  • Опубликовано: 9 сен 2024

Комментарии • 132

  • @SQLwithManoj
    @SQLwithManoj  7 лет назад +11

    Check this playlist for all videos on DBMS & Database basics: ruclips.net/p/PLU9JMEzjCv176mRCXCCijrA5Jl6c9ihMM !!!

  • @imtiaz3114
    @imtiaz3114 3 года назад +18

    0:54 => DDL - Data Definition Language
    - CREATE
    - ALTER
    - DROP
    - TRUNCATE TABLE
    2:42 => DML - Data Manipulation Language
    - SELECT
    - INSERT
    - UPDATE
    - DELETE
    - BULK INSERT
    - MERGE
    5:20 => DCL - Data Control Language
    - GRANT
    - REVOKE
    - EXECUTE AS
    - REVERT
    7:15 => TCL - Transaction Control Language
    - BEGIN TRANSACTION
    - COMMIT TRANSACTION
    - ROLLBACK TRANSACTION
    - SAVE TRANSACTION

  • @rahulsolanki2004
    @rahulsolanki2004 4 года назад +2

    Sir, I am from Mexico, currently living in india, your explanation is very good lot of love from mexico....

  • @jeffreydrhodes
    @jeffreydrhodes 5 лет назад +3

    Why leave a thumbs down? This video was great!!!

  • @habenetsay9448
    @habenetsay9448 4 года назад +1

    I am from ethiopia.thank you for best explanation.

  • @marwahassan6119
    @marwahassan6119 6 лет назад +17

    I'm from Iraq. Thank u sir for this explaning

  • @ezradongijena1772
    @ezradongijena1772 6 лет назад +5

    helpful actually gng to write my exam in an hour's time..

  • @sarikabiwalkar4037
    @sarikabiwalkar4037 7 лет назад +2

    Nice and easy to understand explanation.

  • @sharmiladevi3240
    @sharmiladevi3240 2 года назад +1

    Thank u Sir🤝

  • @tinamclaughlin1991
    @tinamclaughlin1991 5 лет назад +2

    You are knowledgeable and explain plainly so I can understand. I want to drive into this! Thanks Manoj!

  • @vipnirala
    @vipnirala 5 лет назад +1

    Worth watching

  • @saralamuneender
    @saralamuneender 4 года назад +1

    Thank you sir

  • @bigtechmindset
    @bigtechmindset 3 года назад +1

    Thanks for sharing!

  • @ankitsharma5654
    @ankitsharma5654 3 года назад +1

    very helpful video

  • @alexschmidt4371
    @alexschmidt4371 4 года назад +1

    Manoj: "You can drop the views".
    RUclips: "If you say so"

  • @kss2066
    @kss2066 3 года назад +1

    wonderful class

  • @mrigendrapratapsingh7176
    @mrigendrapratapsingh7176 6 лет назад +2

    Nice explanation...

  • @yadwendraray9522
    @yadwendraray9522 3 года назад +1

    Good express

  • @Charly77ify
    @Charly77ify 7 лет назад +6

    Ive suscribed, very useful the tutorial, thank you Manoj!

  • @santoshitarkewadje1564
    @santoshitarkewadje1564 5 лет назад +1

    Ty sir..

  • @adz9010
    @adz9010 5 лет назад +3

    I am from dubai thank you sir f

  • @mahanthwarpujaa3762
    @mahanthwarpujaa3762 7 лет назад +2

    thanks sir this is easy to understand everyone

  • @eldhoseroy6751
    @eldhoseroy6751 5 лет назад +2

    Helpfull

  • @duesalbladesinger7900
    @duesalbladesinger7900 3 года назад

    Thank you for your explanations.

  • @AkashAkash-jq4kn
    @AkashAkash-jq4kn 6 лет назад +1

    very nice sir

  • @nipunsachinda
    @nipunsachinda 5 лет назад +1

    much helpfull

  • @vit6723
    @vit6723 3 года назад

    Thank you manoj from ph

  • @wajoofun1181
    @wajoofun1181 6 лет назад +1

    great sir G.................????

  • @prasannakumarkethi9418
    @prasannakumarkethi9418 6 лет назад +1

    Nice

  • @MomenRashad
    @MomenRashad 8 лет назад +6

    thx ^...^

  • @suriya_619
    @suriya_619 5 лет назад +2

    I am hear for my sem exam🤗😋

  • @kotharavi2516
    @kotharavi2516 6 лет назад +1

    Thanks sir

  • @kavibritto
    @kavibritto 6 лет назад +1

    nyc explanation

  • @saddaramsubbareddy2949
    @saddaramsubbareddy2949 4 года назад +1

    It was osmmmmmmm explanation Sir! Thank you Sir......for ur best and detail explanation

  • @harishchirati2311
    @harishchirati2311 7 лет назад +2

    Thank you sirits good

  • @math260879
    @math260879 4 года назад +1

    make another video please to explain how to use those demonstrated sql statements.

    • @math260879
      @math260879 4 года назад

      With sql server or Mysql for ex

  • @renukateli60
    @renukateli60 6 лет назад +2

    nice

  • @krishnasagarapusanthoshi8106
    @krishnasagarapusanthoshi8106 6 лет назад +1

    will you please give a detailed information about TCL with examples

  • @amitsirauthorandmentormath18
    @amitsirauthorandmentormath18 7 лет назад +3

    good

  • @samchinedu2635
    @samchinedu2635 2 года назад

    Nice one why is truncate And delete different language but does the same function

  • @artforpiece
    @artforpiece 6 лет назад +5

    wonderful !

    • @love-sb2zm
      @love-sb2zm 6 лет назад

      Rakhitha Dassanayake thax

  • @kirankumar-fw7wf
    @kirankumar-fw7wf 7 лет назад +4

    sir explain some examples plzz we know theory but can't understand it so from example we can understand

    • @SQLwithManoj
      @SQLwithManoj  7 лет назад

      Sure Kiran, as soon as I get time, will post a video here. Please subscribe and click on the Bell button so that you will get updates from here.

  • @sandip5346
    @sandip5346 4 года назад +1

    manoj

  • @sanjaypranesh7221
    @sanjaypranesh7221 4 года назад +1

    voice is like gvm

  • @hemlatalalwani5978
    @hemlatalalwani5978 7 лет назад +15

    sir everyone knows theory . explain with same example

    • @SQLwithManoj
      @SQLwithManoj  7 лет назад +2

      Sure Hemlala for your comments, will post new videos with examples :)
      Hope you've subscribed !!!

    • @Rackerintraining
      @Rackerintraining 7 лет назад +13

      Dude, it's an overview and it's free!!!! A little appreciation for the man's generosity and work. There is over 30 videos in this playlist alone, I'm sure there will be plenty of hands on examples

  • @anmolshobhitshukla9305
    @anmolshobhitshukla9305 5 лет назад

    I read somewhere that select keyword is used in Data query language. So what is right?

  • @dvrmurthy001
    @dvrmurthy001 4 года назад +2

    SQL for which Database??
    Is this for Oracle/DB2 or SQL server??

    • @SQLwithManoj
      @SQLwithManoj  4 года назад

      It's mainly for SQL Server, but all these concepts and most basic queries works for all databases.

    • @dvrmurthy001
      @dvrmurthy001 4 года назад

      @@SQLwithManoj
      Thank You Manoj.
      Actually, I am an Oracle DBA with more than 10 Years of experience.
      Now I am going work as a DB2 DBA also.
      Therefore, I need to learn SQL for DB2..
      Could you please suggest SQL for DB2 DATABASE.

  • @shayari_junction_6824
    @shayari_junction_6824 6 лет назад +3

    in a transaction either all the SQL statement be committed or all rolled back
    sir please described that statement .

    • @ManojPandeyManub22
      @ManojPandeyManub22 6 лет назад +1

      For ex: below we are binding 3 inserts in a single transaction by providing BEGIN-COMMIT block:
      BEGIN TRAN
      insert row 1
      insert row 2
      insert row 3
      COMMIT TRAN
      ... here if 2nd insert fails, the 1st insert will also rollback and 3rd insert won't happen.
      But if you don't apply BEGIN-COMMIT block, all 3 inserts will behave as 3 independent transactions.
      Hope this helps :)

  • @sonamnandal8257
    @sonamnandal8257 6 лет назад +4

    sir ..what is the difference between alter command and update command?

    • @ManojPandeyManub22
      @ManojPandeyManub22 6 лет назад +4

      ALTER command is used to change the TABLE schema, like add/remove a column, thus its DDL.
      UPDATE command is used to change the value of row/column in a table, thus its DML.

    • @sonamnandal8257
      @sonamnandal8257 6 лет назад +2

      thank u sir .. well explained

    • @manojk.v
      @manojk.v 6 лет назад

      Are you b c a student

  • @AMJADALI-lj3yo
    @AMJADALI-lj3yo 5 лет назад +1

    What is the difference between MySQL T SQL and No SQL and pl SQL ?????

    • @SQLwithManoj
      @SQLwithManoj  5 лет назад

      check here: sqlwithmanoj.com/2015/05/03/what-is-sql-plsql-t-sql-and-difference-between-them/

  • @vela8909
    @vela8909 2 года назад +1

    From American College

  • @sarojbehera8495
    @sarojbehera8495 6 лет назад +2

    sir explain with project

    • @SQLwithManoj
      @SQLwithManoj  6 лет назад +1

      sure, I'm planning to create a separate video on each of these, please stay tuned.

  • @krasimirarsov9992
    @krasimirarsov9992 5 лет назад +1

    Damn, I hate the Indian pronunciation and i usually click away, but this a very good explanation of the SQL language. Thank you!

  • @tarunchauhan794
    @tarunchauhan794 5 лет назад +1

    Sir everyone knows this all function so plz explain example

  • @jamaicalajot5360
    @jamaicalajot5360 6 лет назад

    sir is that the 4 syntactical veriance of SQL??

  • @ramrackzz7773
    @ramrackzz7773 5 лет назад

    sir, please explain any project

  • @Subho1919
    @Subho1919 7 лет назад +2

    May be you missed "Save Point" in TCL statement list.

  • @adarilokesh7196
    @adarilokesh7196 6 лет назад

    plz send ...mechanical engineering link ..all subjects....

  • @jetendrajha7055
    @jetendrajha7055 6 лет назад

    How to alter and update table

  • @aneeszaide9270
    @aneeszaide9270 6 лет назад +1

    Why like command is case sensitive

    • @SQLwithManoj
      @SQLwithManoj  6 лет назад

      SQL commands are no case sensitive, its your data that is, which is defined by using collation settings while creating table/columns.

  • @ajrkhan258
    @ajrkhan258 4 года назад

    what is the DRL

  • @Sentaur-qd8im
    @Sentaur-qd8im 6 лет назад

    Why didn't you tell us about data selection, query language DQL?... DQL - it includes only one SELECT command.

  • @sasiprakash888
    @sasiprakash888 4 года назад +1

    Voice is low

  • @anjalikayasth3277
    @anjalikayasth3277 7 лет назад +1

    tcl me revoke and grant aata h, aapne ulta bol diya check kro sir

    • @SQLwithManoj
      @SQLwithManoj  7 лет назад

      GRANK & REVOKE fall under DCL, not TCL, check here: en.wikipedia.org/wiki/Data_control_language

  • @zebenebekele2118
    @zebenebekele2118 5 лет назад +1

    10Q

  • @vikrambehera7195
    @vikrambehera7195 4 года назад

    What is data querry language (dql) sir?

  • @Nk_Pandey
    @Nk_Pandey 4 года назад

    Select is dql not dml stammt.data query language

    • @SQLwithManoj
      @SQLwithManoj  4 года назад

      for correct info check here: www.w3schools.in/mysql/ddl-dml-dcl/

  • @aneeszaide9270
    @aneeszaide9270 6 лет назад +1

    Plz anyone tell me on thing
    If the IN commands have 1 lakh values then what will do ..????

    • @SQLwithManoj
      @SQLwithManoj  6 лет назад

      As your SELECT statement within IN() clause is returning 1 lack rows, you should try converting it to EXISTS() clause of JOIN, should work better.

  • @mynameissaipratyush
    @mynameissaipratyush 5 лет назад +1

    Manoj Engineer

  • @jennig.8537
    @jennig.8537 8 лет назад +2

    +10 lince :'v

  • @DevRaj-fk6xx
    @DevRaj-fk6xx 6 лет назад

    Select -DQL

    • @SQLwithManoj
      @SQLwithManoj  6 лет назад

      DQL (Data Query Lang) or DRL (Data Retrival Lang) is a subset of DML, and there is no official reference of these subtypes. Officially SELECT stmt is a DML, check here: docs.microsoft.com/en-us/sql/t-sql/queries/queries

  • @poojawaghmare5563
    @poojawaghmare5563 7 лет назад +3

    sir usko samjakar batiye hindi me

    • @SQLwithManoj
      @SQLwithManoj  7 лет назад

      Pooja, sorry will have to record another video for Hindi. I've put this in simple english, please slow the speed of video from RUclips bar.

  • @RajatSeth6911
    @RajatSeth6911 6 лет назад +1

    Where is DQL

    • @SQLwithManoj
      @SQLwithManoj  6 лет назад +1

      DQL as such is nothing, but the SELECT statement, and you can consider it as part of DML itself.

    • @RajatSeth6911
      @RajatSeth6911 6 лет назад

      Fine sir

  • @keshavgupta8361
    @keshavgupta8361 7 лет назад

    Sound is very low

    • @SQLwithManoj
      @SQLwithManoj  7 лет назад

      sorry Keshav for that. Plz try to increase volume from your system tray.

  • @nakulgunjiyal4876
    @nakulgunjiyal4876 4 года назад

    DCL is dharchual not data control Language ok

  • @saivygandhi9660
    @saivygandhi9660 7 лет назад +1

    give some examples.. don't repeat the theory sir

    • @SQLwithManoj
      @SQLwithManoj  7 лет назад

      sure, plz wait for my next video on this. Subscribe and you will get an email.

  • @KingDriftOriginals
    @KingDriftOriginals 5 лет назад +1

    Bro speak it as S Q L NOT sequel

  • @flashx2630
    @flashx2630 2 года назад +1

    Bhai koi Hind ku nahi bolta hai

    • @SQLwithManoj
      @SQLwithManoj  2 года назад

      ok, will create some videos in Hindi :)

  • @BossManTee
    @BossManTee 7 лет назад +2

    Marry me

  • @soumadykumaran7149
    @soumadykumaran7149 4 года назад

    🤢

  • @AkshayAjith-nc8zw
    @AkshayAjith-nc8zw 7 лет назад +5

    Thank you sir

  • @harshdeepsingh9737
    @harshdeepsingh9737 6 лет назад +2

    very nice sir

  • @balajiks6123
    @balajiks6123 6 лет назад +3

    Thanks you sir

  • @vanaja1498
    @vanaja1498 6 лет назад +2

    Thank you sir