我的codeigniter模型内容是mysql select_max查询。我想选择我的pro_id列最大值。SELECT MAX(prop_id) AS `maxid` FROM `tble_proposal`')->row()->maxid;但如果使用select_max函数,则无法得到最大值作为数字prop_id');
=(选择title from cpg15x_albums aid =(从pid=中选择援助(从pid=选择最大值(Pid)从cpg15x_pictures) );更新famgallery.tmp_1SET pid =(从cpg15x_pictures选择最大值(Pid));更新cpg15x_pictures f,tmp_1 t SET pid= f.user1,其中=;液滴表tmp_1;
问题在于试图将其迁移到FROM cpg15x_albums WHERE aid =(从cpg1
我有一个表userInteret,我想在用户之间的公共互连上选择最大值。nomInteretUser) FROM `userInteret` 但我想要这个数的最大值nomInteretUser))FROM userInteret
WHERE nomInteretUser IN('piano','flute',&