General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
MySQL index key which one is the right way?
Hi all !
in MySQL table index key which one is the right way ?
key (branch)
key (reference)
key (date)
select * from transaction where branch=?m.branch and reference=?m.ref and date=?m.date order by branch,reference,date
or
key (branch,reference,date)
select * from transaction where branch=?m.branch and reference=?m.ref and date=?m.date order by branch
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only