When creating a mysql dump containing the structure of my database, one of the tables shows the following:
CREATE TABLE `completedTransactions` ( `paymentId` i
Yes, the KEY keyword is just an alias for the INDEX keyword.
KEY
INDEX
CREATE [TEMPORARY] TABLE [IF NOT EXISTS] tbl_name ... {INDEX|KEY} [index_name] [index_type] (index_col_name,...) [index_option] ...
Source: MySQL Documentation: CREATE TABLE