CONSTRAINTS IN MYSQL | MYSQL COMMANDS | CBSE CLASS XII | COMPUTER SCIENCE

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

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

  • @Atharv_Tripathi_
    @Atharv_Tripathi_ 4 года назад +5

    Mam MySQL to bilkul easy kar diya aap ne . Thankew so much❤️👍

  • @snehlatajaiswal7366
    @snehlatajaiswal7366 Год назад +2

    Ma'am you have explained everything in detail very nicely thank you so much 😊😊

  • @lusifer5821
    @lusifer5821 3 года назад +2

    mam you are helping us alot thanks to your hard work and dedication

  • @shailjagoyal9569
    @shailjagoyal9569 Год назад +3

    Crystal clear maam thku

  • @finnowen7964
    @finnowen7964 11 месяцев назад +1

    Mam thanks for clearing doubts

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

    Ma'am.. one doubt, primary key does not take null values right? So, while we are applying DESC command then why it is showing the default value of the column in which the primary key constraint is applied as "NULL"?. I hope u understood my query?

  • @ayusharyan6825
    @ayusharyan6825 Год назад +1

    Mam DOUBT: @17:18
    NULL repeat kar skti hai, in UNIQUE constraint?

  • @urpaps
    @urpaps 2 года назад +2

    Chapter done✅

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

    Mam, you haven't covered Foreign key constraint in this video.....Is this topic not in syllabus for CBSE's 2020-2021 session...?!!
    Please reply mam

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

    Thanx for amazing lecture!

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

    Maam please tell how we can set a field as unique after creating table...

    • @SwatiChawlaofficial
      @SwatiChawlaofficial  3 года назад +3

      SYNTAX---
      ALTER TABLE Table_Name ADD UNIQUE (Column_Name);
      Example---
      To apply unique constraint on column Name of table Details:
      ALTER TABLE details ADD UNIQUE (NAME);

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

    Ma'am can you please explain foreign constraints too?

  • @TylerDurden5055
    @TylerDurden5055 2 года назад +2

    Mam Can Unique key have 2 NULL Values in 2 Differnt Rows?

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

      Yes

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

      @@SwatiChawlaofficial Mam One More Q., is ●Mobile Computing and Network Security, Viruses , E-commerce payment and ●Interface python in MySQL are EXCLUEDED From Term 2 syllabus?

  • @rohitnegi6990
    @rohitnegi6990 2 года назад +2

    amazing lecc!!

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

    thanks mam i just had a doubt that after watching complete mysql playlist do i need to study mysql from books like sumita arora or preeti arora. please mam reply....

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

      I've covered all the concepts.. If your concepts are clear..now try to practice more and more questions. By solving questions...ur concepts will get stronger...

  • @Aman-yt5qk
    @Aman-yt5qk 2 года назад +1

    ma'am please conduct mock test again for term ii like term i

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

    What about table constraint mam?
    Is it necessary?

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

    Mam please provide full project of CLASS XII with Screenshot, etc Please please it's a request.

  • @dishikarastogi510
    @dishikarastogi510 2 года назад +2

    Thank you so much mam

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

    Is foreign key constraint deleted from the syllabus mam?

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

    In foreign key constraint even if we give cascade deletion is done only in child table not in parent but updation is done in both

  • @Shefali_world
    @Shefali_world Год назад +1

    Ma'am, you hadn't explain the foreign constraints....
    Please explain it🙏

    • @SwatiChawlaofficial
      @SwatiChawlaofficial  Год назад +4

      A foreign key constraint is a type of database constraint that ensures the values in a column (or a set of columns) of a table must match the values in the corresponding column(s) of another table. It creates a link between two tables and maintains referential integrity, ensuring that the data remains consistent and reliable. In other words, a foreign key ensures that the data in one table references existing data in another table.

    • @snehalsubudhi2883
      @snehalsubudhi2883 Год назад

      Ma'am and the syntax also?@@SwatiChawlaofficial

    • @CooLShooter
      @CooLShooter 11 месяцев назад

      @@SwatiChawlaofficial Mam Please Make A Separate Video So That We Can Understand It Better. Please 🙏

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

    What to do if default constraint is ignored mam?

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

    Is foreign key constraint not needed mam

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

    ma'am u haven't taught how to apply foreign key constraint. pls make a video

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

      Actually uploading the content according to CBSE curriculum,
      cbseacademic.nic.in/web_material/CurriculumMain22/SrSec/Computer_Science_SrSec_2021-22.pdf
      Foreign key concept i have explained in the starting videos of mysql,

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

    Mam Is this come in cbse board exam

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

    mam aao jo padahte hai wo notes kidhr upload krte ho ??
    please tell kl pre board hai mere

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

      Sure..You can enjoy special perks by joining the membership.
      Have a look at this.
      ruclips.net/channel/UC2vH9rqGh-fJELF8acGfBdwjoin

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

    By applying unique constriant, can it have more than one null value?

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

    Is MySQL case sensitive???

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

      No

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

      only in the case of linux. If you use SQL in a linux os then its case sensitive but not in windows or any other os.

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

    thanks ma'am

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

    12.8 revised syllabus deleted know mam plz plz clarify me

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

      ruclips.net/video/4MSy61D485E/видео.html
      Check out this for Revised Syllabus

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

      @@SwatiChawlaofficial mam i dont know hindi creating table with sql constraints is deleted or not

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

      Not Deleted

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

    Mam is this the last video lesson of this chapter? Please Mam reply

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

      MYSQL
      ruclips.net/p/PL5Raijva2y4S2sDeMIMu1kAVjwjgWyvyK
      This is the link of Playlist of MySQL...plz check ..have u watched all..

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

      @@SwatiChawlaofficial thank you mam

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

    Mam please ye bata dijiye ke ye video TERM 2 mai aa rahi hai kya

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

    Using foreign key constraint is not showing any effect on deletion and updation

  • @swetasharma-g9m
    @swetasharma-g9m 11 месяцев назад

    maam ye constrain topic 2023 24 syllabus pr h????plz reply maam......

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

    Ma'am foreign key?

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

      A FOREIGN KEY is a field in one table that refers to the PRIMARY KEY in another table.
      Example:
      CREATE TABLE Orders (
      OrderID int NOT NULL,
      OrderNumber int NOT NULL,
      PersonID int,
      PRIMARY KEY (OrderID),
      FOREIGN KEY (PersonID) REFERENCES
      Persons(PersonID)
      );

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

      @@SwatiChawlaofficial won't there be separate lecture for foreign key?

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

      Check out this..
      ruclips.net/video/adw0ELL-HS0/видео.html

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

    Mam foreign key kasi assign krege

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

      CREATE TABLE Orders (
      OrderID int NOT NULL,
      OrderNumber int NOT NULL,
      PersonID int,
      PRIMARY KEY (OrderID),
      CONSTRAINT FK_PersonOrder FOREIGN KEY (PersonID)
      REFERENCES Persons(PersonID)
      );

  • @RaCoNnBoY0201
    @RaCoNnBoY0201 Месяц назад +1

    Even 2x is slow 😭😭

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

    What does INNODB mean mam?

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

      Timestamp?

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

      @@SwatiChawlaofficial what does it mean mam,?

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

      InnoDB is a storage engine for the database management system MySQL and MariaDB. Since the release of MySQL 5.5.5 in 2010, it replaced MyISAM as MySQL's default table type. It provides the standard ACID-compliant transaction features, along with foreign key support.

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

      @@SwatiChawlaofficial thank you mam

  • @anmoll.rajputt
    @anmoll.rajputt 11 месяцев назад

    foreign key?

    • @SwatiChawlaofficial
      @SwatiChawlaofficial  11 месяцев назад +3

      A FOREIGN KEY is a field (or collection of fields) in one table, that refers to the PRIMARY KEY in another table. The table with the foreign key is called the child table, and the table with the primary key is called the referenced or parent table.

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

    Mam... is foreign key constraint not in syllabus?

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

    Check constraint is not working mam

    • @SwatiChawlaofficial
      @SwatiChawlaofficial  2 года назад +2

      Please check out your syntax carefully... including brackets after check

  • @saisathvik3587
    @saisathvik3587 Год назад

    awarding only 55 to male

  • @satwindersingh7285
    @satwindersingh7285 4 месяца назад

    Thanks you 🤗🤗🤗