Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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 unix timestamps and mysql timestamps?

0 Answers  


Write a query to display current date and time?

0 Answers  


How would you get the current date in mysql?

0 Answers  


What are the security alerts while using mysql?

0 Answers  


In which format data is stored in mysql database?

0 Answers  


What is int mysql?

0 Answers  


How many TRIGGERS are allowed in MySql table?

0 Answers  


Can mysql function return a table?

0 Answers  


How do I connect to mysql database?

0 Answers  


How many mysql connections can handle?

0 Answers  


How do I setup a mysql database?

0 Answers  


How do I delete a row in mysql?

0 Answers  


Categories