6. NOT NULL & UNIQUE CONSTRAINTS | sql tutorial
SQL Constraints: NOT NULL & UNIQUE Explained In this video, learn how NOT NULL and UNIQUE constraints work in SQL! ๐ โ NOT NULL: Ensures a column cannot store NULL (empty) values. This guarantees every row has a value in that column. โ UNIQUE: Ensures all values in a column are different. Perfect for fields like email or usernames. Want more similar videos- hit like, comment, share and subscribe โค๏ธDo Like, Share and Comment โค๏ธ โค๏ธ Like Aim 5000 likes! โค๏ธ โโโโโโโโโโโโโ Please like & share the video. โโโโโโโโโโโโโ script create table emp1( id int, email varchar(128) NOT NULL, phone varchar(28) UNIQUE ) SELECT * FROM EMP1 INSERT INTO EMP1 VALUES(1,'[email protected]',123) INSERT INTO EMP1(ID,EMAIL,PHONE) VALUES(3,'DEF',234) โโโโโโโโโโโโโ AWS DATA ENGINEER : https://www.youtube.com/playlist?list=PLOlK8ytA0MghpdMjb0m9zu1v9s_qbRP0q Azure data factory : https://youtube.com/playlist?list=PLOlK8ytA0MgguN5XidtQXbILxwCdJCUJE&si=iEICXHP80zGchUYh Azure data engineer playlist : https://youtube.com/playlist?list=PLOlK8ytA0MghBrzu0i6WlTBdoO1WdwV_e SQL PLAYLIST : https://www.youtube.com/playlist?list=PLOlK8ytA0MggGXIKmbfZ-_Xqcos3JKdV- PYSPARK PLAYLIST - https://www.youtube.com/playlist?list=PLOlK8ytA0MgjvOpd-088NRU_vTYw_aryH โโโโโโโโโโโโโ ๐ฃWant to connect with me? Check out these links:๐ฃ Join telegram to discuss https://t.me/+Cb98j1_fnZs3OTA1 โโโโโโโโโโโโโ what we have covered in this video: โโโโโโโโโโโโโ Hope you liked this video and learned something new :) See you in next video, until then Bye-Bye! โโโโโโโโโโโโโ
Download
0 formatsNo download links available.