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..



Hi! I’m doing one Project in vb.net 2008 using mysql .In that Project have the following Issues..

Answer / 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

More MySQL Interview Questions

What is the difference between timestamp and datetime in mysql?

0 Answers  


How do I kill a mysql query?

0 Answers  


Can python connect to mysql?

0 Answers  


What is deterministic in mysql?

0 Answers  


What is mysql protocol?

0 Answers  


How do I edit a trigger in mysql?

0 Answers  


What is the difference between truncate and delete in mysql?

0 Answers  


Can you shard mysql?

0 Answers  


What do I do if I forgot my mysql root password?

0 Answers  


How do I automate a backup in mysql?

0 Answers  


Explain the difference between procedure and function in mysql?

0 Answers  


Is mysql written in c?

0 Answers  


Categories