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 use of procedure in mysql?

0 Answers  


How to extract a unit value from a date and time?

0 Answers  


How to get a version of mysql?

0 Answers  


What is meant by mysql database?

1 Answers  


What is the difference between now() and current_date()?

0 Answers  






Can you tell how many values can set the function of mysql to consider?

0 Answers  


What is MySQL Stored Procedure?

1 Answers  


What are the functions in mysql?

0 Answers  


Can u give the example by taking an unnormalized table and make that 1nf and then 25nf, and then 3 nf?

0 Answers  


What is index length in mysql?

0 Answers  


I want to find out all databases starting with ‘test’, I have access to?

0 Answers  


How to write after insert event update trigger on the same table in mysql?

0 Answers  


Categories