Hi!
I’m doing one Project in vb.net 2008 using mysql .In that
Project have the following Issues..
1.if one Employee getting Salary 1.2 lacs / annum means ..
After he getting 1st month Salary i want to show remaining
11 month salary.. How can i Create Trigger for this Problem
& How can i use it..
Answer Posted / ram gopal verma
select * from employee where empdate BETWEEN DATE_FORMAT(NOW(), '%Y-01-%d') AND DATE_FORMAT(NOW() ,'%Y-05-%d')
Note- I u want (%Y-01-%d) means show February month to (%Y-05-%d) June months.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is save point in mysql?
How to connect html form to mysql database using php?
Do while loop in mysql procedure?
Does mysql use sql?
What are the 5 r's of managing behaviors?
In mysql, what is the default storage engine?
What is the use of mysql workbench?
How can you move the master database
What happens if null values are involved in expressions?
What is the maximum no of columns a table can have?
How can you count the total number of records of any table?
How to calculate expressions with sql statements?
how to search second maximum(second highest) salary value(integer)from table employee (field salary)in the manner so that mysql gets less load?
What is dblink?
How do I add a column to a table in mysql?