61.What is the usage of ENUMs in MySQL?ENUM is a string object used to specify set of predefined values and that can be used during table creation.
62.Define REGEXP?REGEXP is a pattern match in which matches pattern anywhere in the search value. 63.Difference between CHAR and VARCHAR?Following are the differences between CHAR and VARCHAR:
64.Give string types available for column?The string types are:
65.How to get current MySQL version?1 SELECT VERSION (); 66.What storage engines are used in MySQL?Storage engines are called table types and data is stored in files using various techniques.
67.What are the drivers in MySQL?Following are the drivers available in MySQL:
68.What does a TIMESTAMP do on UPDATE CURRENT_TIMESTAMP data type?TIMESTAMP column is updated with Zero when the table is created. UPDATE CURRENT_TIMESTAMP modifier updates the timestamp field to current time whenever there is a change in other fields of the table. 69.What is the difference between primary key and candidate key?Every row of a table is identified uniquely by primary key. There is only one primary key for a table. 70.How do you login to MySql using Unix shell?We can login through this command: 71.What does myisamchk do?It compress the MyISAM tables, which reduces their disk or memory usage. 72.How do you control the max size of a HEAP table?Maximum size of Heal table can be controlled by MySQL config variable called max_heap_table_size. 73.What is the difference between MyISAM Static and MyISAM Dynamic?In MyISAM static all the fields will have fixed width. The Dynamic MyISAM table will have fields like TEXT, BLOB, etc. to accommodate the data types with various lengths. 74.What are federated tables?Federated tables which allow access to the tables located on other databases on other servers. 75.What, if a table has one column defined as TIMESTAMP?Timestamp field gets the current timestamp whenever the row gets altered. 76.What happens when the column is set to AUTO INCREMENT and if you reach maximum value in the table?It stops incrementing. Any further inserts are going to produce an error, since the key has been used already. 77.How can we find out which auto increment was assigned on Last insert?LAST_INSERT_ID will return the last value assigned by Auto_increment and it is not required to specify the table name. 78. How can you see all indexes defined for a table?Indexes are defined for the table by: 79.What do you mean by % and _ in the LIKE statement?% corresponds to 0 or more characters, _ is exactly one character in the LIKE statement. 80.How can we convert between Unix & MySQL timestamps?UNIX_TIMESTAMP is the command which converts from MySQL timestamp to Unix timestamp |