i need help with indexing on MYSQL plz create indexes (which are B+ trees, under
ID: 3833347 • Letter: I
Question
i need help with indexing on MYSQL plz
create indexes (which are B+ trees, under the hood of MySQL) on the Bird.first_name attribute and Bird.birthdate attribute separately - i.e., create two indexes, one per attribute. Paste your CREATE INDEX statements below.
variety income Peacock bdate Owns first name Bird bname latitude longitude ast locati Cno senti ment Utter Chirp 1 (Original M (Chirper) N (Copy) Parrots About Bird level Listen name N (Listener M interests Topics bsecto date User Topics Listen Watcher Signup date password emai add State country For Bird, Watcher ISA User: picture street Bird AND Watcher COVER User number mailcodeExplanation / Answer
As per the syntax,
The create index statements for the above requirements is
CREATE INDEX bird_birthdate_index ON Bird(birthdate) USING BTREE;
CREATE INDEX bird_firstname_index ON Bird(first_name) USING BTREE;
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.