Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 Other SQL Server 2008 Topics
 Need help with SQL query calculation?
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

1 Posts

Posted - 04/23/2013 :  09:27:44  Show Profile  Reply with Quote]" target="_blank">Databases have this form, sir: br / [url=]

1 I have a database like this, the employee's pay is calculated as follows
(luongcoban port number *) * + khenthuong heso - kyluat - tamung
The problem is that the code queries the employees, month and year, let's assume it is manhanvien @ variable, @ @ stairs and turn men away
The next problem is with tiencong table, chamcong, tamung the day, month, and employee code only appears one time simultaneously, but separately, the reward and discipline to be able to reward disciplined several times in 1 month should be to get the total amount of reward and discipline by month and year to be able to enter into payroll formula on the other.

So do not know, this recipe is mixing what type of SQL statement: D
Payrolls it this


sorry for my english is not good!

  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.02 seconds. Powered By: Snitz Forums 2000