Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MySQL index key which one is the right way?
Message
From
11/05/2012 06:46:23
Hee Lim Wang
Fantasy Software Enterprise
Malaysia
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
MySQL index key which one is the right way?
Miscellaneous
Thread ID:
01543457
Message ID:
01543457
Views:
73
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
Map
View

Click here to load this message in the networking platform