1.

The default index type for MEMORY tables is __________(a) HASH(b) SPATIAL(c) FULLTEXT(d) UNIQUEI had been asked this question in a national level competition.My query is from Creating, Dropping, Indexing and Altering Tables topic in section Using SQL to Manage Data of MySQL

Answer»

The correct option is (a) HASH

The best explanation: The ‘HASH’ index is the default index TYPE for ‘MEMORY’ tables. ‘SPATIAL’ can only be used with ‘MyISAM’ tables for the spatial DATA types. ‘FULLTEXT’ is used for performing full-text searches.



Discussion

No Comment Found

Related InterviewSolutions