Skip to content

Conversation

AbualiYousef
Copy link
Owner

No description provided.

@R-abodyak R-abodyak changed the base branch from main to dev April 24, 2024 07:28
Comment on lines +6 to +7
CREATE INDEX idx_loans_dateborrowed ON Loans(DateBorrowed);
CREATE INDEX idx_loans_datereturned ON Loans(DateReturned);
Copy link
Collaborator

@R-abodyak R-abodyak Apr 24, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me , if you have queries that use both DateBorrowed,DateReturned
you may want to create Multicolumn indexes
As MySQL will only ever use one index per table per query.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants