Adsense
Popular Posts
- Amazon web serive
- increase mysql query speed
- MySQL workbench -"Could not decrypt password cache"
- git svn conversion
- Unix Utils and wget in Windows
- add comment to table columns in phpMyAdmin
- deposit cheque in TD bank using Mobile phone
- Setup vi syntax for PHP
- Special characters pronunciation link
- Get WAMP running on EC2
Monday, December 15, 2014
MySQL, left join only first row
MySQL, left join only first row:
LEFT JOIN fmcontract_rate_table AS rt
ON rt.ApptCategory =(SELECT ApptCategory FROM fmcontract_rate_table WHERE
ApptCategory=hasRanks.Rank AND offered.Term >=StartTerm
AND offered.Term <EndTerm
ORDER BY rt.StartTerm LIMIT 1
)
Labels:
MySQL
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment