2 REATE TABLE t1(f1 TINYINT NOT NULL,f2 SMALLINT NOT NULL,f3 INT NOT NULL,f4 BIGINT NOT NULL,f5 CHAR(20) NOT NULL,f6 VARCHAR(30) NOT NULL,f7 FLOAT NOT NULL,f8 DOUBLE NOT NULL,f9 DATE NOT NULL,f10 TIME NOT NULL,f11 TIMESTAMP NOT NULL);Table Name is t1
3 INSERT INTO t1 VALUES(1,11,111,1111,'CSQL1','LAKSHYA1',11.00,1111.00,'2001-01-01','01:01:01','2001-01-01 01:01:01');
4 INSERT INTO t1 VALUES(2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
5 INSERT INTO t1 VALUES(NULL,33,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
6 f1(tinyint)=1 | f2(smallint)=11 | f3(int)=111 | f4(bigint)=1111 | f5(char)=CSQL1 | f6(varchar)=LAKSHYA1 | f7(float)=11.000000 | f8(double)=1111.000000 | f9(date)=2001-01-01 | f10(time)=01:01:01 | f11(timestamp)=2001-1-1 1:1:1 |
8 UPDATE t1 SET f1=NULL WHERE f1=1;
9 UPDATE t1 SET f2=NULL WHERE f1=11;
10 UPDATE t1 SET f3=NULL WHERE f3=111;
11 UPDATE t1 SET f4=NULL WHERE f3=1111;
12 UPDATE t1 SET f5=NULL WHERE f5='CSQL1';
13 UPDATE t1 SET f6=NULL WHERE f6='LAKSHYA1';
14 UPDATE t1 SET f7=NULL WHERE f7=11;
15 UPDATE t1 SET f8=NULL WHERE f8=1111;
16 UPDATE t1 SET f9=NULL WHERE f9='2001-01-01';
17 UPDATE t1 SET f10=NULL WHERE f10='01:01:01';
18 UPDATE t1 SET f11=NULL WHERE f11='2001-01-01 01:01:01';
19 f1(tinyint)=1 | f2(smallint)=11 | f3(int)=111 | f4(bigint)=1111 | f5(char)=CSQL1 | f6(varchar)=LAKSHYA1 | f7(float)=11.000000 | f8(double)=1111.000000 | f9(date)=2001-01-01 | f10(time)=01:01:01 | f11(timestamp)=2001-1-1 1:1:1 |