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
Can we create table in stored procedure?
What is max connections in mysql?
Why do we use pragma autonomous transaction?
How to define numeric 9(3) in db2 table without decimal point??
how to get only updated, deleted , inserted records after certain interval time in mysql with out using triggers...
How to install mysql?
How do I disable mysql?
How to convert character strings to dates?
What is trigger in mysql with example?
What is different between sql and mysql?
Is mysqli secure?
Can we store images in mysql database?
Can mysql scale horizontally?
What is the current mysql version?
How can we run batch mode in mysql?