Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.
SELECT assignment.TskCod, task.TskHHP, IF(AssType = 'install', task.TskHHP * task.TskI_Percentage, task.TskHHP * task.TskR_Percentage) AS SubTotal FROM assignment INNER JOIN task ON (assignment.TskCod = task.TskCod) WHERE AssDate >= '2011-01-01' AND AssDate <= '2011-01-31'
Join the community of 500,000 technology professionals and ask your questions.