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?s the default port for MySQL Server?

4 Answers   Yahoo,


Explain the difference between mysql_fetch_array(), mysql_fetch_object()?

0 Answers  


table a has records 1,1,1,1 table b has records 1,1,1,1,1,1 what would be out if perform join for all cases

0 Answers  


What is difference mysql and mysqli?

0 Answers  


What is 'mysqlcheck'?

0 Answers  


how many ways we can get the current date in mysql?

2 Answers  


Explain what is mysql?

0 Answers  


How do I delete a table in mysql workbench?

0 Answers  


Explain advantages of MyISAM over InnoDB?

1 Answers  


How to decrement dates by 1 in mysql?

0 Answers  


Where is the mysql data directory?

0 Answers  


Is mysql free software?

0 Answers  


Categories