mysql 增 删 改 查

#define SQL_QUERY_SUPE_BOSS_DATA "SELECT  `id`,`species_id`,`hp` FROM `boss` "
#define SQL_INSERT_SUPE_BOSS_DATA "INSERT INTO `boss`(`species_id`,`id`,`hp`) VALUES (%d,%d,%d)"
#define SQL_SELETE_SUPE_BOSS_DATA "DELETE FROM `boss` WHERE `species_id`=%d AND `id`=%d"

#define  SQL_UPDATE_ROLW_MAIL_SUPER "UPDATE  `role_mail` SET `mail_details`='%s' WHERE `role_id`=%d"

posted @ 2012-07-03 17:01  byfei  阅读(177)  评论(0编辑  收藏  举报