ERROR :
SELECT * FROM g_d_build LEFT JOIN g_d_company ON bld_cmp = cmp_id WHERE bld_flg = 1 AND cmp_id = AND cmp_flg = 1 ORDER BY RAND() LIMIT 3