note
and adds several indexes (ind_note_id, ind_title_description)
at the same timeCREATE TABLE note (
id int AUTO_INCREMENT,
note_id int,
title varchar(50),
description varchar(50),
PRIMARY KEY(id, note_id),
INDEX ind_note_id (note_id),
INDEX ind_title_description (title, description)
);